@kazee-ds/vue 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Accessible Kazee Vue components, including Toast, built on Reka UI and native controls. Requires Vue 3.4+ and ESM.
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
Version 0.5.3 ignores Toast shortcut events with missing or non-string keys. Normal shortcuts and scoped Escape dismissal remain available.
|
|
7
|
+
|
|
5
8
|
## Install
|
|
6
9
|
|
|
7
10
|
Public npm installation requires no read token or login. Preserve the application's package manager and lockfile.
|
|
8
11
|
|
|
9
12
|
```sh
|
|
10
|
-
npm install --save-exact @kazee-ds/vue@0.5.
|
|
13
|
+
npm install --save-exact @kazee-ds/vue@0.5.4 @kazee-ds/styles@0.5.4
|
|
11
14
|
```
|
|
12
15
|
|
|
13
16
|
## Use
|
|
@@ -23,8 +26,8 @@ import '@kazee-ds/styles/index.css';
|
|
|
23
26
|
</template>
|
|
24
27
|
```
|
|
25
28
|
|
|
26
|
-
Import the stylesheet once globally.
|
|
29
|
+
Import the stylesheet once globally. Check the [version matrix](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/versions.md) for release availability. Read installed public types before using an API from a newer Storybook or MCP catalog.
|
|
27
30
|
|
|
28
|
-
[Installation](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/installation.md)
|
|
31
|
+
[Installation](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/installation.md) | [Public Storybook](https://kazee-design-system-023417.gitlab.io) | [Consumer lint](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/consumer-lint.md)
|
|
29
32
|
|
|
30
33
|
License: UNLICENSED. Public distribution does not grant an open-source license.
|
package/dist/index.js
CHANGED
|
@@ -3380,7 +3380,7 @@ var ToastProvider_default = /* @__PURE__ */ defineComponent({
|
|
|
3380
3380
|
"metaKey",
|
|
3381
3381
|
"shiftKey"
|
|
3382
3382
|
];
|
|
3383
|
-
if (!props.hotkey.every((key) => modifiers.includes(key) ? event[key] : event.code === key || event.key.toLowerCase() === key.toLowerCase()) || modifiers.some((key) => event[key] !== props.hotkey.includes(key))) return;
|
|
3383
|
+
if (!props.hotkey.every((key) => modifiers.includes(key) ? event[key] : event.code === key || typeof event.key === "string" && event.key.toLowerCase() === key.toLowerCase()) || modifiers.some((key) => event[key] !== props.hotkey.includes(key))) return;
|
|
3384
3384
|
previousFocus = document.activeElement instanceof HTMLElement ? document.activeElement : void 0;
|
|
3385
3385
|
list()?.focus({ preventScroll: true });
|
|
3386
3386
|
event.preventDefault();
|