@kazee-ds/react 0.5.4 → 0.6.0
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 +33 -31
- package/dist/index.js +2457 -620
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.d.ts +20 -4
- package/dist/types/Badge.d.ts +2 -1
- package/dist/types/Breadcrumb.d.ts +24 -2
- package/dist/types/Button.d.ts +3 -2
- package/dist/types/ButtonGroup.d.ts +4 -3
- package/dist/types/Card.d.ts +27 -2
- package/dist/types/Chart.d.ts +13 -2
- package/dist/types/Checkbox.d.ts +11 -2
- package/dist/types/Combobox.d.ts +13 -3
- package/dist/types/DataTable.d.ts +23 -2
- package/dist/types/DateRangePicker.d.ts +20 -2
- package/dist/types/Dialog.d.ts +20 -2
- package/dist/types/DropdownMenu.d.ts +21 -2
- package/dist/types/Empty.d.ts +12 -2
- package/dist/types/FieldComponent.d.ts +3 -2
- package/dist/types/Form.d.ts +3 -2
- package/dist/types/Input.d.ts +12 -2
- package/dist/types/Label.d.ts +4 -3
- package/dist/types/Listbox.d.ts +11 -2
- package/dist/types/NumberField.d.ts +12 -2
- package/dist/types/Pagination.d.ts +29 -2
- package/dist/types/Popover.d.ts +19 -2
- package/dist/types/RadioGroup.d.ts +12 -2
- package/dist/types/Select.d.ts +17 -5
- package/dist/types/SelectGroup.d.ts +3 -2
- package/dist/types/Separator.d.ts +2 -1
- package/dist/types/Sidebar.d.ts +16 -2
- package/dist/types/Skeleton.d.ts +2 -1
- package/dist/types/Spinner.d.ts +3 -2
- package/dist/types/Switch.d.ts +11 -2
- package/dist/types/Table.d.ts +16 -2
- package/dist/types/Tabs.d.ts +36 -3
- package/dist/types/Textarea.d.ts +13 -2
- package/dist/types/Toast.d.ts +31 -7
- package/dist/types/ToggleButton.d.ts +3 -2
- package/dist/types/ToggleButtonGroup.d.ts +2 -1
- package/dist/types/ToggleGroup.d.ts +18 -3
- package/dist/types/Tooltip.d.ts +12 -2
- package/dist/types/choice-composition.d.ts +32 -0
- package/dist/types/combobox-composition.d.ts +22 -0
- package/dist/types/control-composition.d.ts +72 -0
- package/dist/types/date-range-composition.d.ts +46 -0
- package/dist/types/field.d.ts +6 -1
- package/dist/types/index.d.ts +27 -0
- package/dist/types/label-context.d.ts +8 -0
- package/dist/types/layout-parts.d.ts +44 -0
- package/dist/types/number-composition.d.ts +24 -0
- package/dist/types/structural-parts.d.ts +56 -0
- package/dist/types/styling.d.ts +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
# @kazee-ds/react
|
|
2
|
-
|
|
3
|
-
Accessible Kazee React components, including Toast, built on React Aria Components. Requires React/React DOM 19+ and ESM.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
# @kazee-ds/react
|
|
2
|
+
|
|
3
|
+
Accessible Kazee React components, including Toast, built on React Aria Components. Requires React/React DOM 19+ and ESM.
|
|
4
|
+
|
|
5
|
+
Version **0.6.0** adds root className/style, typed classNames maps and compound parts such as Select.Trigger, Card.Header and Tabs.Tab. Verify publication before installing this prepared version; use matching local packed packages for candidate testing. See [composition and migration](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/component-composition.md) and [release status](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/versions.md).
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Version 0.5.3 ignores Toast shortcut events with missing or non-string keys. Normal shortcuts and scoped Escape dismissal remain available.
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
Public npm installation requires no read token or login. Preserve the application's package manager and lockfile.
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install --save-exact @kazee-ds/react@0.6.0 @kazee-ds/styles@0.6.0
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Use
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
import { Button } from '@kazee-ds/react';
|
|
22
|
+
import '@kazee-ds/styles/index.css';
|
|
23
|
+
|
|
24
|
+
export function Example() {
|
|
25
|
+
return <Button onPress={() => console.log('Saved')}>Save</Button>;
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
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.
|
|
30
|
+
|
|
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)
|
|
32
|
+
|
|
33
|
+
License: UNLICENSED. Public distribution does not grant an open-source license.
|