From 583b1d27305829774d2622cb584b086ee6f5ac57 Mon Sep 17 00:00:00 2001 From: Pagebakers Date: Sun, 4 Feb 2024 17:36:48 -0300 Subject: [PATCH] chore(release): 2.5.7 --- apps/palette/CHANGELOG.md | 7 +++++++ apps/palette/package.json | 2 +- apps/website/CHANGELOG.md | 6 ++++++ apps/website/package.json | 2 +- packages/saas-ui-data-table/CHANGELOG.md | 6 ++++++ packages/saas-ui-data-table/package.json | 2 +- packages/saas-ui-hotkeys/CHANGELOG.md | 8 ++++++++ packages/saas-ui-hotkeys/package.json | 2 +- packages/saas-ui-hotkeys/src/index.ts | 7 +++++++ packages/saas-ui-react/CHANGELOG.md | 8 ++++++++ packages/saas-ui-react/package.json | 2 +- packages/saas-ui-use-hotkeys/CHANGELOG.md | 6 ++++++ packages/saas-ui-use-hotkeys/package.json | 2 +- packages/saas-ui-use-hotkeys/src/use-hotkeys-shortcut.ts | 4 ++-- packages/storybook/CHANGELOG.md | 6 ++++++ packages/storybook/package.json | 2 +- tooling/test-utils/CHANGELOG.md | 6 ++++++ tooling/test-utils/package.json | 2 +- 18 files changed, 70 insertions(+), 10 deletions(-) diff --git a/apps/palette/CHANGELOG.md b/apps/palette/CHANGELOG.md index 493383a08..ae21e7af9 100644 --- a/apps/palette/CHANGELOG.md +++ b/apps/palette/CHANGELOG.md @@ -1,5 +1,12 @@ # palette +## 1.4.19 + +### Patch Changes + +- @saas-ui/react@2.5.7 +- @saas-ui/theme-glass@0.5.3 + ## 1.4.18 ### Patch Changes diff --git a/apps/palette/package.json b/apps/palette/package.json index 15fc8f8a3..714eff313 100644 --- a/apps/palette/package.json +++ b/apps/palette/package.json @@ -1,6 +1,6 @@ { "name": "palette-docs", - "version": "1.4.18", + "version": "1.4.19", "private": true, "scripts": { "dev": "next dev", diff --git a/apps/website/CHANGELOG.md b/apps/website/CHANGELOG.md index 5ac153514..2c0dea48b 100644 --- a/apps/website/CHANGELOG.md +++ b/apps/website/CHANGELOG.md @@ -1,5 +1,11 @@ # website +## 2.3.17 + +### Patch Changes + +- @saas-ui/react@2.5.7 + ## 2.3.16 ### Patch Changes diff --git a/apps/website/package.json b/apps/website/package.json index 425ce0a7c..9f97d2837 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "2.3.16", + "version": "2.3.17", "private": true, "author": "Eelco Wiersma ", "scripts": { diff --git a/packages/saas-ui-data-table/CHANGELOG.md b/packages/saas-ui-data-table/CHANGELOG.md index aec9f6ffe..61b0b63b2 100644 --- a/packages/saas-ui-data-table/CHANGELOG.md +++ b/packages/saas-ui-data-table/CHANGELOG.md @@ -1,5 +1,11 @@ # @saas-ui/data-table +## 7.0.7 + +### Patch Changes + +- @saas-ui/react@2.5.7 + ## 7.0.6 ### Patch Changes diff --git a/packages/saas-ui-data-table/package.json b/packages/saas-ui-data-table/package.json index fd995e460..4ff485a5f 100644 --- a/packages/saas-ui-data-table/package.json +++ b/packages/saas-ui-data-table/package.json @@ -1,6 +1,6 @@ { "name": "@saas-ui/data-table", - "version": "7.0.6", + "version": "7.0.7", "description": "Data-table Component", "source": "src/index.ts", "exports": { diff --git a/packages/saas-ui-hotkeys/CHANGELOG.md b/packages/saas-ui-hotkeys/CHANGELOG.md index 51bd2bd10..7e61d9b20 100644 --- a/packages/saas-ui-hotkeys/CHANGELOG.md +++ b/packages/saas-ui-hotkeys/CHANGELOG.md @@ -1,5 +1,13 @@ # @saas-ui/hotkeys +## 2.2.1 + +### Patch Changes + +- Fix backwards compatibility +- Updated dependencies + - @saas-ui/use-hotkeys@1.1.1 + ## 2.2.0 ### Minor Changes diff --git a/packages/saas-ui-hotkeys/package.json b/packages/saas-ui-hotkeys/package.json index cf9ff0f64..d71219127 100644 --- a/packages/saas-ui-hotkeys/package.json +++ b/packages/saas-ui-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@saas-ui/hotkeys", - "version": "2.2.0", + "version": "2.2.1", "description": "Easy manageable keyboard shortcuts for Chakra UI", "source": "src/index.ts", "exports": { diff --git a/packages/saas-ui-hotkeys/src/index.ts b/packages/saas-ui-hotkeys/src/index.ts index a8ce952b9..36672b705 100644 --- a/packages/saas-ui-hotkeys/src/index.ts +++ b/packages/saas-ui-hotkeys/src/index.ts @@ -34,3 +34,10 @@ export type { HotkeysOptions, UseHotkeysListReturn, } from './hotkeys' + +import { HotkeysConfig } from '@saas-ui/use-hotkeys' + +/** + * @deprecated Use `HotkeysConfig` instead. + */ +export type HotkeysListOptions = HotkeysConfig diff --git a/packages/saas-ui-react/CHANGELOG.md b/packages/saas-ui-react/CHANGELOG.md index 5e1bba934..7876ec2c7 100644 --- a/packages/saas-ui-react/CHANGELOG.md +++ b/packages/saas-ui-react/CHANGELOG.md @@ -1,5 +1,13 @@ # @saas-ui/react +## 2.5.7 + +### Patch Changes + +- Updated dependencies + - @saas-ui/hotkeys@2.2.1 + - @saas-ui/data-table@7.0.7 + ## 2.5.6 ### Patch Changes diff --git a/packages/saas-ui-react/package.json b/packages/saas-ui-react/package.json index 9569a5578..b5b2cdf2d 100644 --- a/packages/saas-ui-react/package.json +++ b/packages/saas-ui-react/package.json @@ -1,6 +1,6 @@ { "name": "@saas-ui/react", - "version": "2.5.6", + "version": "2.5.7", "description": "Saas UI - The React component library for startups.", "source": "src/index.ts", "exports": { diff --git a/packages/saas-ui-use-hotkeys/CHANGELOG.md b/packages/saas-ui-use-hotkeys/CHANGELOG.md index 265c28fed..c0eb2bfa1 100644 --- a/packages/saas-ui-use-hotkeys/CHANGELOG.md +++ b/packages/saas-ui-use-hotkeys/CHANGELOG.md @@ -1,5 +1,11 @@ # @saas-ui/use-hotkeys +## 1.1.1 + +### Patch Changes + +- Fix backwards compatibility + ## 1.1.0 ### Minor Changes diff --git a/packages/saas-ui-use-hotkeys/package.json b/packages/saas-ui-use-hotkeys/package.json index c98bd8b76..485a8789d 100644 --- a/packages/saas-ui-use-hotkeys/package.json +++ b/packages/saas-ui-use-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@saas-ui/use-hotkeys", - "version": "1.1.0", + "version": "1.1.1", "description": "Easy to use and scalable keyboard shortcuts for React.", "source": "src/index.ts", "exports": { diff --git a/packages/saas-ui-use-hotkeys/src/use-hotkeys-shortcut.ts b/packages/saas-ui-use-hotkeys/src/use-hotkeys-shortcut.ts index 548c43d31..89d8a86eb 100644 --- a/packages/saas-ui-use-hotkeys/src/use-hotkeys-shortcut.ts +++ b/packages/saas-ui-use-hotkeys/src/use-hotkeys-shortcut.ts @@ -26,7 +26,7 @@ export const useHotkeysShortcut = ( callback: (event: KeyboardEvent) => void, options: UseHotkeysOptions | Array = [], deps?: Array -): string | string[] => { +): string => { const { hotkeys } = useHotkeysContext() let keys = keyOrShortcut @@ -45,5 +45,5 @@ export const useHotkeysShortcut = ( useHotkeys(keys, callback, options, deps) - return keys + return typeof keys === 'string' ? keys : keys[0] } diff --git a/packages/storybook/CHANGELOG.md b/packages/storybook/CHANGELOG.md index cd01b281c..68c4c488a 100644 --- a/packages/storybook/CHANGELOG.md +++ b/packages/storybook/CHANGELOG.md @@ -1,5 +1,11 @@ # saas-ui-storybook +## 1.1.19 + +### Patch Changes + +- @saas-ui/react@2.5.7 + ## 1.1.18 ### Patch Changes diff --git a/packages/storybook/package.json b/packages/storybook/package.json index bf0ac2df9..62c01361d 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -1,7 +1,7 @@ { "name": "saas-ui-storybook", "type": "module", - "version": "1.1.18", + "version": "1.1.19", "scripts": { "dev": "sb dev -p 6006", "build": "sb build --debug --loglevel verbose" diff --git a/tooling/test-utils/CHANGELOG.md b/tooling/test-utils/CHANGELOG.md index 644196da0..83b04547c 100644 --- a/tooling/test-utils/CHANGELOG.md +++ b/tooling/test-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @saas-ui/test-utils +## 3.1.19 + +### Patch Changes + +- @saas-ui/react@2.5.7 + ## 3.1.18 ### Patch Changes diff --git a/tooling/test-utils/package.json b/tooling/test-utils/package.json index 005cbf038..b856a504b 100644 --- a/tooling/test-utils/package.json +++ b/tooling/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@saas-ui/test-utils", - "version": "3.1.18", + "version": "3.1.19", "private": true, "description": "Testing utilities for Chakra UI's components", "keywords": [