@techsio/ui-kit 0.42.0 → 0.44.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/dist/molecules/cascade-select.js +508 -0
- package/dist/molecules/file-upload.js +369 -0
- package/dist/src/molecules/cascade-select.d.ts +231 -0
- package/dist/src/molecules/cascade-select.d.ts.map +1 -0
- package/dist/src/molecules/file-upload.d.ts +84 -0
- package/dist/src/molecules/file-upload.d.ts.map +1 -0
- package/dist/src/types/zag.d.ts +2 -0
- package/dist/src/types/zag.d.ts.map +1 -1
- package/dist/stories/changelog/changelog.stories.d.ts.map +1 -1
- package/dist/stories/molecules/cascade-select.stories.d.ts +254 -0
- package/dist/stories/molecules/cascade-select.stories.d.ts.map +1 -0
- package/dist/stories/molecules/file-upload.stories.d.ts +105 -0
- package/dist/stories/molecules/file-upload.stories.d.ts.map +1 -0
- package/dist/test/cascade-select.behavior.spec.d.ts +2 -0
- package/dist/test/cascade-select.behavior.spec.d.ts.map +1 -0
- package/package.json +3 -1
- package/src/tokens/components/components.css +2 -0
- package/src/tokens/components/molecules/_cascade-select.css +66 -0
- package/src/tokens/components/molecules/_file-upload.css +128 -0
- package/src/tokens/figma/brand-overrides.css +2 -2
- package/src/tokens/figma/business/variables.css +3 -2
- package/src/tokens/figma/dark/variables.css +1 -0
- package/src/tokens/figma/light/variables.css +3 -2
- package/src/tokens/figma/neo/variables.css +3 -2
- package/src/tokens/figma/neo-dark/variables.css +1 -0
- package/src/tokens/figma/variables.css +3 -2
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FileUpload — @techsio/ui-kit molecule.
|
|
3
|
+
*
|
|
4
|
+
* @component FileUpload
|
|
5
|
+
* @componentVersion v1.0.0
|
|
6
|
+
* @skill file-upload-usage
|
|
7
|
+
* @changelog libs/ui/stories/changelog/changelog.stories.tsx
|
|
8
|
+
*
|
|
9
|
+
* Versioning is enforced at commit by scripts/check-skill-sync.mjs: @componentVersion must match
|
|
10
|
+
* the file-upload-usage skill's component_version and a changelog entry. Bump all three together.
|
|
11
|
+
*/
|
|
12
|
+
import { type Api as FileUploadApi, type ItemType as FileUploadItemType, type Props as FileUploadMachineProps } from "@zag-js/file-upload";
|
|
13
|
+
import { type ComponentPropsWithoutRef, type ReactNode, type Ref } from "react";
|
|
14
|
+
import { type IconType } from "../atoms/icon.js";
|
|
15
|
+
import { Label } from "../atoms/label.js";
|
|
16
|
+
type FileUploadRootDomProps = Omit<ComponentPropsWithoutRef<"div">, keyof FileUploadMachineProps>;
|
|
17
|
+
export type FileUploadProps = FileUploadRootDomProps & Omit<FileUploadMachineProps, "id"> & {
|
|
18
|
+
id?: string;
|
|
19
|
+
ref?: Ref<HTMLDivElement>;
|
|
20
|
+
};
|
|
21
|
+
export declare function FileUpload({ accept, acceptedFiles, allowDrop, capture, children, className, defaultAcceptedFiles, dir, directory, disabled, getRootNode, id, ids, invalid, locale, maxFileSize, maxFiles, minFileSize, name, onFileAccept, onFileChange, onFileReject, preventDocumentDrop, readOnly, ref, required, transformFiles, translations, validate, ...props }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare namespace FileUpload {
|
|
23
|
+
var Context: ({ children, }: FileUploadContextProps) => ReactNode;
|
|
24
|
+
var Label: ({ children, className, ref, ...props }: FileUploadLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
var Dropzone: ({ children, className, disableClick, onClick, onKeyDown, ref, ...props }: FileUploadDropzoneProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
var HiddenInput: ({ ref, ...props }: FileUploadHiddenInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
var Trigger: ({ children, className, disabled, icon, onClick, ref, ...props }: FileUploadTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
var ItemGroup: ({ children, className, ref, type, ...props }: FileUploadItemGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
var Item: ({ children, className, file, ref, ...props }: FileUploadItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
var ItemPreview: ({ children, className, ref, ...props }: FileUploadItemPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
var ItemPreviewImage: ({ className, ref, ...props }: FileUploadItemPreviewImageProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
32
|
+
var ItemName: ({ children, className, ref, ...props }: FileUploadItemNameProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
var ItemSizeText: ({ children, className, ref, ...props }: FileUploadItemSizeTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
var ItemDeleteTrigger: ({ className, disabled, icon, onClick, ref, ...props }: FileUploadItemDeleteTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
var ClearTrigger: ({ "aria-label": ariaLabel, className, disabled, icon, onClick, ref, ...props }: FileUploadClearTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
var Root: typeof FileUpload;
|
|
37
|
+
var displayName: string;
|
|
38
|
+
}
|
|
39
|
+
export type FileUploadContextProps = {
|
|
40
|
+
children: (api: FileUploadApi) => ReactNode;
|
|
41
|
+
};
|
|
42
|
+
export type FileUploadLabelProps = Omit<ComponentPropsWithoutRef<typeof Label>, "disabled" | "htmlFor" | "required" | "size"> & {
|
|
43
|
+
ref?: Ref<HTMLLabelElement>;
|
|
44
|
+
};
|
|
45
|
+
export type FileUploadDropzoneProps = ComponentPropsWithoutRef<"div"> & {
|
|
46
|
+
disableClick?: boolean;
|
|
47
|
+
ref?: Ref<HTMLDivElement>;
|
|
48
|
+
};
|
|
49
|
+
type MachineOwnedInputProps = "accept" | "aria-hidden" | "autoFocus" | "capture" | "defaultValue" | "disabled" | "files" | "id" | "multiple" | "name" | "required" | "style" | "tabIndex" | "type" | "value" | "webkitdirectory";
|
|
50
|
+
export type FileUploadHiddenInputProps = Omit<ComponentPropsWithoutRef<"input">, MachineOwnedInputProps> & {
|
|
51
|
+
ref?: Ref<HTMLInputElement>;
|
|
52
|
+
};
|
|
53
|
+
export type FileUploadTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "type"> & {
|
|
54
|
+
icon?: IconType;
|
|
55
|
+
ref?: Ref<HTMLButtonElement>;
|
|
56
|
+
};
|
|
57
|
+
export type FileUploadItemGroupProps = ComponentPropsWithoutRef<"ul"> & {
|
|
58
|
+
ref?: Ref<HTMLUListElement>;
|
|
59
|
+
type?: FileUploadItemType;
|
|
60
|
+
};
|
|
61
|
+
export type FileUploadItemProps = ComponentPropsWithoutRef<"li"> & {
|
|
62
|
+
file: File;
|
|
63
|
+
ref?: Ref<HTMLLIElement>;
|
|
64
|
+
};
|
|
65
|
+
export type FileUploadItemPreviewProps = ComponentPropsWithoutRef<"div"> & {
|
|
66
|
+
ref?: Ref<HTMLDivElement>;
|
|
67
|
+
};
|
|
68
|
+
export type FileUploadItemPreviewImageProps = Omit<ComponentPropsWithoutRef<"img">, "alt" | "src"> & {
|
|
69
|
+
ref?: Ref<HTMLImageElement>;
|
|
70
|
+
};
|
|
71
|
+
export type FileUploadItemNameProps = ComponentPropsWithoutRef<"span"> & {
|
|
72
|
+
ref?: Ref<HTMLSpanElement>;
|
|
73
|
+
};
|
|
74
|
+
export type FileUploadItemSizeTextProps = ComponentPropsWithoutRef<"span"> & {
|
|
75
|
+
ref?: Ref<HTMLSpanElement>;
|
|
76
|
+
};
|
|
77
|
+
type FileUploadActionIconProps = Omit<ComponentPropsWithoutRef<"button">, "children" | "type"> & {
|
|
78
|
+
icon?: IconType;
|
|
79
|
+
ref?: Ref<HTMLButtonElement>;
|
|
80
|
+
};
|
|
81
|
+
export type FileUploadItemDeleteTriggerProps = FileUploadActionIconProps;
|
|
82
|
+
export type FileUploadClearTriggerProps = FileUploadActionIconProps;
|
|
83
|
+
export {};
|
|
84
|
+
//# sourceMappingURL=file-upload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-upload.d.ts","s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
|
1
1
|
export type * as Accordion from "@zag-js/accordion";
|
|
2
2
|
export type * as Carousel from "@zag-js/carousel";
|
|
3
|
+
export type * as CascadeSelect from "@zag-js/cascade-select";
|
|
3
4
|
export type * as Checkbox from "@zag-js/checkbox";
|
|
4
5
|
export type * as Combobox from "@zag-js/combobox";
|
|
5
6
|
export type * as Dialog from "@zag-js/dialog";
|
|
6
7
|
export type * as Drawer from "@zag-js/drawer";
|
|
8
|
+
export type * as FileUpload from "@zag-js/file-upload";
|
|
7
9
|
export type * as Menu from "@zag-js/menu";
|
|
8
10
|
export type * as NumberInput from "@zag-js/number-input";
|
|
9
11
|
export type * as Pagination from "@zag-js/pagination";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zag.d.ts","sourceRoot":"","sources":["../../../src/types/zag.ts"],"names":[],"mappings":"AAAA,YAAY,KAAK,SAAS,MAAM,mBAAmB,CAAA;AACnD,YAAY,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AACjD,YAAY,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AACjD,YAAY,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AACjD,YAAY,KAAK,MAAM,MAAM,gBAAgB,CAAA;AAC7C,YAAY,KAAK,MAAM,MAAM,gBAAgB,CAAA;AAC7C,YAAY,KAAK,IAAI,MAAM,cAAc,CAAA;AACzC,YAAY,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACxD,YAAY,KAAK,UAAU,MAAM,oBAAoB,CAAA;AACrD,YAAY,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAC/C,YAAY,KAAK,UAAU,MAAM,qBAAqB,CAAA;AACtD,YAAY,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACxD,YAAY,KAAK,MAAM,MAAM,gBAAgB,CAAA;AAC7C,YAAY,KAAK,MAAM,MAAM,gBAAgB,CAAA;AAC7C,YAAY,KAAK,KAAK,MAAM,eAAe,CAAA;AAC3C,YAAY,KAAK,MAAM,MAAM,gBAAgB,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MAAM,mBAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.stories.d.ts","sourceRoot":"","sources":["../../../stories/changelog/changelog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"changelog.stories.d.ts","sourceRoot":"","sources":["../../../stories/changelog/changelog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AA+LtD,iBAAS,SAAS,4CAUjB;AAED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAKhC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,SAAS,CAAM,CAAA"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { CascadeSelect } from "../../src/molecules/cascade-select.js";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CascadeSelect;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
docs: {
|
|
9
|
+
description: {
|
|
10
|
+
component: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
tags: string[];
|
|
15
|
+
argTypes: {
|
|
16
|
+
size: {
|
|
17
|
+
control: "select";
|
|
18
|
+
options: string[];
|
|
19
|
+
description: string;
|
|
20
|
+
table: {
|
|
21
|
+
defaultValue: {
|
|
22
|
+
summary: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
validateStatus: {
|
|
27
|
+
control: "select";
|
|
28
|
+
options: string[];
|
|
29
|
+
description: string;
|
|
30
|
+
table: {
|
|
31
|
+
defaultValue: {
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
control: "boolean";
|
|
38
|
+
};
|
|
39
|
+
readOnly: {
|
|
40
|
+
control: "boolean";
|
|
41
|
+
};
|
|
42
|
+
required: {
|
|
43
|
+
control: "boolean";
|
|
44
|
+
};
|
|
45
|
+
multiple: {
|
|
46
|
+
control: "boolean";
|
|
47
|
+
};
|
|
48
|
+
highlightTrigger: {
|
|
49
|
+
control: "inline-radio";
|
|
50
|
+
options: string[];
|
|
51
|
+
};
|
|
52
|
+
closeOnSelect: {
|
|
53
|
+
control: "boolean";
|
|
54
|
+
};
|
|
55
|
+
allowParentSelection: {
|
|
56
|
+
control: "boolean";
|
|
57
|
+
};
|
|
58
|
+
loopFocus: {
|
|
59
|
+
control: "boolean";
|
|
60
|
+
};
|
|
61
|
+
dir: {
|
|
62
|
+
control: "inline-radio";
|
|
63
|
+
options: string[];
|
|
64
|
+
};
|
|
65
|
+
children: {
|
|
66
|
+
readonly control: false;
|
|
67
|
+
readonly table: {
|
|
68
|
+
readonly disable: true;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
className: {
|
|
72
|
+
readonly control: false;
|
|
73
|
+
readonly table: {
|
|
74
|
+
readonly disable: true;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
id: {
|
|
78
|
+
readonly control: false;
|
|
79
|
+
readonly table: {
|
|
80
|
+
readonly disable: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
ref: {
|
|
84
|
+
readonly control: false;
|
|
85
|
+
readonly table: {
|
|
86
|
+
readonly disable: true;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
items: {
|
|
90
|
+
readonly control: false;
|
|
91
|
+
readonly table: {
|
|
92
|
+
readonly disable: true;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
value: {
|
|
96
|
+
readonly control: false;
|
|
97
|
+
readonly table: {
|
|
98
|
+
readonly disable: true;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
defaultValue: {
|
|
102
|
+
readonly control: false;
|
|
103
|
+
readonly table: {
|
|
104
|
+
readonly disable: true;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
open: {
|
|
108
|
+
readonly control: false;
|
|
109
|
+
readonly table: {
|
|
110
|
+
readonly disable: true;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
defaultOpen: {
|
|
114
|
+
readonly control: false;
|
|
115
|
+
readonly table: {
|
|
116
|
+
readonly disable: true;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
highlightedValue: {
|
|
120
|
+
readonly control: false;
|
|
121
|
+
readonly table: {
|
|
122
|
+
readonly disable: true;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
defaultHighlightedValue: {
|
|
126
|
+
readonly control: false;
|
|
127
|
+
readonly table: {
|
|
128
|
+
readonly disable: true;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
positioning: {
|
|
132
|
+
readonly control: false;
|
|
133
|
+
readonly table: {
|
|
134
|
+
readonly disable: true;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
formatValue: {
|
|
138
|
+
readonly control: false;
|
|
139
|
+
readonly table: {
|
|
140
|
+
readonly disable: true;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
name: {
|
|
144
|
+
readonly control: false;
|
|
145
|
+
readonly table: {
|
|
146
|
+
readonly disable: true;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
form: {
|
|
150
|
+
readonly control: false;
|
|
151
|
+
readonly table: {
|
|
152
|
+
readonly disable: true;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
ids: {
|
|
156
|
+
readonly control: false;
|
|
157
|
+
readonly table: {
|
|
158
|
+
readonly disable: true;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
getRootNode: {
|
|
162
|
+
readonly control: false;
|
|
163
|
+
readonly table: {
|
|
164
|
+
readonly disable: true;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
scrollToIndexFn: {
|
|
168
|
+
readonly control: false;
|
|
169
|
+
readonly table: {
|
|
170
|
+
readonly disable: true;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
onFocusOutside: {
|
|
174
|
+
readonly control: false;
|
|
175
|
+
readonly table: {
|
|
176
|
+
readonly disable: true;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
onInteractOutside: {
|
|
180
|
+
readonly control: false;
|
|
181
|
+
readonly table: {
|
|
182
|
+
readonly disable: true;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
onPointerDownOutside: {
|
|
186
|
+
readonly control: false;
|
|
187
|
+
readonly table: {
|
|
188
|
+
readonly disable: true;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
onValueChange: {
|
|
192
|
+
readonly control: false;
|
|
193
|
+
readonly table: {
|
|
194
|
+
readonly disable: true;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
onOpenChange: {
|
|
198
|
+
readonly control: false;
|
|
199
|
+
readonly table: {
|
|
200
|
+
readonly disable: true;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
onHighlightChange: {
|
|
204
|
+
readonly control: false;
|
|
205
|
+
readonly table: {
|
|
206
|
+
readonly disable: true;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
args: {
|
|
211
|
+
children: null;
|
|
212
|
+
items: {
|
|
213
|
+
label: string;
|
|
214
|
+
value: string;
|
|
215
|
+
children: ({
|
|
216
|
+
label: string;
|
|
217
|
+
value: string;
|
|
218
|
+
disabled?: undefined;
|
|
219
|
+
} | {
|
|
220
|
+
label: string;
|
|
221
|
+
value: string;
|
|
222
|
+
disabled: true;
|
|
223
|
+
})[];
|
|
224
|
+
}[];
|
|
225
|
+
size: "md";
|
|
226
|
+
validateStatus: "default";
|
|
227
|
+
disabled: false;
|
|
228
|
+
readOnly: false;
|
|
229
|
+
required: false;
|
|
230
|
+
multiple: false;
|
|
231
|
+
highlightTrigger: "click";
|
|
232
|
+
closeOnSelect: true;
|
|
233
|
+
allowParentSelection: false;
|
|
234
|
+
loopFocus: false;
|
|
235
|
+
dir: "ltr";
|
|
236
|
+
onValueChange: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
237
|
+
onOpenChange: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
238
|
+
onHighlightChange: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
export default meta;
|
|
242
|
+
type Story = StoryObj<typeof meta>;
|
|
243
|
+
export declare const Playground: Story;
|
|
244
|
+
export declare const Sizes: Story;
|
|
245
|
+
export declare const States: Story;
|
|
246
|
+
export declare const OpenHierarchy: Story;
|
|
247
|
+
export declare const NavigationModes: Story;
|
|
248
|
+
export declare const MultipleSelection: Story;
|
|
249
|
+
export declare const ParentSelection: Story;
|
|
250
|
+
export declare const Controlled: Story;
|
|
251
|
+
export declare const WithinForm: Story;
|
|
252
|
+
export declare const AccessibleStatusText: Story;
|
|
253
|
+
export declare const CustomValueFormatting: Story;
|
|
254
|
+
//# sourceMappingURL=cascade-select.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cascade-select.stories.d.ts","sourceRoot":"","sources":["../../../stories/molecules/cascade-select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAKtD,OAAO,EACL,aAAa,EAEd,MAAM,oCAAoC,CAAA;AAwK3C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiF4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,UAAU,EAAE,KASxB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAqCnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAwDpB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAqB7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAe/B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAExB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAExB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAUlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAgBnC,CAAA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { FileUpload } from "../../src/molecules/file-upload.js";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof FileUpload;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
controls: {
|
|
10
|
+
include: string[];
|
|
11
|
+
};
|
|
12
|
+
docs: {
|
|
13
|
+
description: {
|
|
14
|
+
component: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
argTypes: {
|
|
19
|
+
accept: {
|
|
20
|
+
control: "object";
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
allowDrop: {
|
|
24
|
+
control: "boolean";
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
control: "boolean";
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
invalid: {
|
|
32
|
+
control: "boolean";
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
maxFileSize: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "number";
|
|
38
|
+
min: number;
|
|
39
|
+
step: number;
|
|
40
|
+
};
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
maxFiles: {
|
|
44
|
+
control: {
|
|
45
|
+
type: "number";
|
|
46
|
+
min: number;
|
|
47
|
+
step: number;
|
|
48
|
+
};
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
minFileSize: {
|
|
52
|
+
control: {
|
|
53
|
+
type: "number";
|
|
54
|
+
min: number;
|
|
55
|
+
step: number;
|
|
56
|
+
};
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
readOnly: {
|
|
60
|
+
control: "boolean";
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
required: {
|
|
64
|
+
control: "boolean";
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
args: {
|
|
69
|
+
accept: {
|
|
70
|
+
"image/*": string[];
|
|
71
|
+
};
|
|
72
|
+
allowDrop: true;
|
|
73
|
+
disabled: false;
|
|
74
|
+
invalid: false;
|
|
75
|
+
maxFileSize: number;
|
|
76
|
+
maxFiles: number;
|
|
77
|
+
minFileSize: number;
|
|
78
|
+
onFileAccept: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
79
|
+
onFileChange: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
80
|
+
onFileReject: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
81
|
+
readOnly: false;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export default meta;
|
|
86
|
+
type Story = StoryObj<typeof meta>;
|
|
87
|
+
export declare const Playground: Story;
|
|
88
|
+
export declare const States: Story;
|
|
89
|
+
export declare const Basic: Story;
|
|
90
|
+
export declare const AcceptedFiles: Story;
|
|
91
|
+
export declare const Multiple: Story;
|
|
92
|
+
export declare const Dropzone: Story;
|
|
93
|
+
export declare const DropzoneStates: Story;
|
|
94
|
+
export declare const ConditionalDropzone: Story;
|
|
95
|
+
export declare const CustomPreview: Story;
|
|
96
|
+
export declare const RejectedFiles: Story;
|
|
97
|
+
export declare const Directory: Story;
|
|
98
|
+
export declare const MediaCapture: Story;
|
|
99
|
+
export declare const ProgrammaticOpen: Story;
|
|
100
|
+
export declare const InputLike: Story;
|
|
101
|
+
export declare const Clearable: Story;
|
|
102
|
+
export declare const Clipboard: Story;
|
|
103
|
+
export declare const Controlled: Story;
|
|
104
|
+
export declare const Form: Story;
|
|
105
|
+
//# sourceMappingURL=file-upload.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-upload.stories.d.ts","sourceRoot":"","sources":["../../../stories/molecules/file-upload.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAgBtD,OAAO,EACL,UAAU,EAEX,MAAM,iCAAiC,CAAA;AAExC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EyB,CAAA;AAEnC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAuPlC,eAAO,MAAM,UAAU,EAAE,KAExB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAqDpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAwB3B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAwBtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAgDtB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KA0D5B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KA+BjC,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KA6C3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KA4B3B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAgB1B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAoB9B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAqBvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAyCvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAA;AA4BD,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAA;AAyBD,eAAO,MAAM,IAAI,EAAE,KAkBlB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cascade-select.behavior.spec.d.ts","sourceRoot":"","sources":["../../test/cascade-select.behavior.spec.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techsio/ui-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -100,10 +100,12 @@
|
|
|
100
100
|
"@tanstack/react-virtual": "^3.14.8",
|
|
101
101
|
"@zag-js/accordion": "1.43.3",
|
|
102
102
|
"@zag-js/carousel": "1.43.3",
|
|
103
|
+
"@zag-js/cascade-select": "1.43.3",
|
|
103
104
|
"@zag-js/checkbox": "1.43.3",
|
|
104
105
|
"@zag-js/combobox": "1.43.3",
|
|
105
106
|
"@zag-js/dialog": "1.43.3",
|
|
106
107
|
"@zag-js/drawer": "1.43.3",
|
|
108
|
+
"@zag-js/file-upload": "1.43.3",
|
|
107
109
|
"@zag-js/i18n-utils": "1.43.3",
|
|
108
110
|
"@zag-js/menu": "1.43.3",
|
|
109
111
|
"@zag-js/number-input": "1.43.3",
|
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
@import "./molecules/_accordion.css";
|
|
20
20
|
@import "./molecules/_breadcrumb.css";
|
|
21
21
|
@import "./molecules/_carousel.css";
|
|
22
|
+
@import "./molecules/_cascade-select.css";
|
|
22
23
|
@import "./molecules/_chart.css";
|
|
23
24
|
@import "./molecules/_color-select.css";
|
|
24
25
|
@import "./molecules/_combobox.css";
|
|
25
26
|
@import "./molecules/_dialog.css";
|
|
26
27
|
@import "./molecules/_drawer.css";
|
|
28
|
+
@import "./molecules/_file-upload.css";
|
|
27
29
|
@import "./molecules/_pagination.css";
|
|
28
30
|
@import "./molecules/_popover.css";
|
|
29
31
|
@import "./molecules/_radio-card.css";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* CascadeSelect inherits Select controls and the shared popup contract. */
|
|
2
|
+
@theme static {
|
|
3
|
+
/* === COLORS === */
|
|
4
|
+
--color-cascade-select-trigger-bg-hover: var(--color-select-trigger-bg-hover);
|
|
5
|
+
--color-cascade-select-trigger-fg-base: var(--color-select-trigger-fg-base);
|
|
6
|
+
--color-cascade-select-trigger-fg-hover: var(--color-select-trigger-fg-hover);
|
|
7
|
+
--color-cascade-select-trigger-border: var(--color-select-trigger-border);
|
|
8
|
+
--color-cascade-select-trigger-border-hover: var(
|
|
9
|
+
--color-select-trigger-border-hover
|
|
10
|
+
);
|
|
11
|
+
--color-cascade-select-trigger-border-focus: var(
|
|
12
|
+
--color-select-trigger-border-focus
|
|
13
|
+
);
|
|
14
|
+
--color-cascade-select-bg-disabled: var(--color-select-bg-disabled);
|
|
15
|
+
--color-cascade-select-fg-disabled: var(--color-select-fg-disabled);
|
|
16
|
+
--color-cascade-select-border-disabled: var(--color-select-border-disabled);
|
|
17
|
+
--color-cascade-select-border-error: var(--color-select-border-error);
|
|
18
|
+
--color-cascade-select-border-success: var(--color-select-border-success);
|
|
19
|
+
--color-cascade-select-border-warning: var(--color-select-border-warning);
|
|
20
|
+
--color-cascade-select-placeholder: var(--color-select-placeholder);
|
|
21
|
+
--color-cascade-select-ring: var(--color-select-ring);
|
|
22
|
+
|
|
23
|
+
/* === SPACING === */
|
|
24
|
+
--spacing-cascade-select: var(--spacing-select);
|
|
25
|
+
--spacing-cascade-select-right: var(--spacing-select-right);
|
|
26
|
+
--padding-cascade-select-trigger-sm: var(--padding-select-trigger-sm);
|
|
27
|
+
--padding-cascade-select-trigger-md: var(--padding-select-trigger-md);
|
|
28
|
+
|
|
29
|
+
/* === SIZING === */
|
|
30
|
+
--container-cascade-select-column: var(--container-3xs);
|
|
31
|
+
|
|
32
|
+
/* === TYPOGRAPHY === */
|
|
33
|
+
--text-cascade-select-trigger-xs: var(--text-select-trigger-xs);
|
|
34
|
+
--text-cascade-select-trigger-sm: var(--text-select-trigger-sm);
|
|
35
|
+
--text-cascade-select-trigger-md: var(--text-select-trigger-md);
|
|
36
|
+
--text-cascade-select-trigger-lg: var(--text-select-trigger-lg);
|
|
37
|
+
--text-cascade-select-value-xs: var(--text-select-value-xs);
|
|
38
|
+
--text-cascade-select-value-sm: var(--text-select-value-sm);
|
|
39
|
+
--text-cascade-select-value-md: var(--text-select-value-md);
|
|
40
|
+
--text-cascade-select-value-lg: var(--text-select-value-lg);
|
|
41
|
+
--text-cascade-select-item-xs: var(--text-select-item-xs);
|
|
42
|
+
--text-cascade-select-item-sm: var(--text-select-item-sm);
|
|
43
|
+
--text-cascade-select-item-md: var(--text-select-item-md);
|
|
44
|
+
--text-cascade-select-item-lg: var(--text-select-item-lg);
|
|
45
|
+
|
|
46
|
+
/* === RADIUS === */
|
|
47
|
+
--radius-cascade-select-sm: var(--radius-select-sm);
|
|
48
|
+
--radius-cascade-select-md: var(--radius-select-md);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* === ICONS === */
|
|
52
|
+
@utility token-icon-cascade-select-indicator {
|
|
53
|
+
@apply token-icon-select-indicator;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@utility token-icon-cascade-select-clear {
|
|
57
|
+
@apply token-icon-select-clear;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@utility token-icon-cascade-select-branch {
|
|
61
|
+
@apply token-icon-chevron-right;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@utility token-icon-cascade-select-check {
|
|
65
|
+
@apply token-icon-check;
|
|
66
|
+
}
|