@namuna-nur/ui-kit 1.9.1 → 1.9.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/lib/shared/Avatar.tokens.js +692 -688
- package/lib/shared/CardProgress.tokens.js +5585 -5598
- package/lib/src/atoms/Select/Select.d.ts +1 -1
- package/lib/src/atoms/Select/Select.stories.d.ts +2 -0
- package/lib/src/atoms/Select/Select.tokens.d.ts +1 -0
- package/lib/src/atoms/Select/Select.types.d.ts +1 -0
- package/lib/src/molecules/SelectList/SelectList.tokens.d.ts +1 -0
- package/lib/src/molecules/SelectList/SelectList.types.d.ts +5 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SelectProps } from '..';
|
|
2
|
-
export declare const Select: ({ classNames, disabled, status, onChange, options, placeholder, value, isDotable, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Select: ({ classNames, disabled, status, onChange, options, placeholder, value, isDotable, loading, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,6 +4,8 @@ type Story = StoryObj<typeof Select>;
|
|
|
4
4
|
declare const meta: Meta<typeof Select>;
|
|
5
5
|
export declare const Default: Story;
|
|
6
6
|
export declare const Selected: Story;
|
|
7
|
+
export declare const Loading: Story;
|
|
8
|
+
export declare const Empty: Story;
|
|
7
9
|
export declare const Disabled: Story;
|
|
8
10
|
export declare const Danger: Story;
|
|
9
11
|
export declare const Success: Story;
|
|
@@ -17,4 +17,9 @@ export type SelectListProps = {
|
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
isDotable?: boolean;
|
|
19
19
|
label?: string;
|
|
20
|
+
title?: string;
|
|
21
|
+
handleCreateItem: (value: string) => void;
|
|
22
|
+
onSaveEdit?: (value: string, oldValue: string) => void;
|
|
23
|
+
options: SelectListOption[];
|
|
24
|
+
handleDeleteItem: (value: string) => void;
|
|
20
25
|
};
|