@nurihaus/web-design-system 3.10.0 → 3.12.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 +16 -4
- package/dist/.storybook/patterns.d.ts +36 -0
- package/dist/.storybook/preview.d.ts +12 -0
- package/dist/.storybook/story-kit.d.ts +20 -2
- package/dist/ai/components.md +214 -14
- package/dist/ai/patterns.md +2899 -0
- package/dist/ai/tokens.md +42 -30
- package/dist/chip-group.js +110 -24
- package/dist/chunk-6459.js +3 -1
- package/dist/chunk-7232.js +2 -2
- package/dist/chunk-7653.js +4 -0
- package/dist/components/asset/asset.d.ts +5 -5
- package/dist/components/asset/asset.stories.d.ts +5 -5
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +5 -5
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +1 -0
- package/dist/components/button/button.stories.d.ts +1 -0
- package/dist/components/check-box/check-box.stories.d.ts +1 -0
- package/dist/components/chip-group/base-chip-group.d.ts +2 -2
- package/dist/components/chip-group/chip-group-type.d.ts +29 -5
- package/dist/components/chip-group/chip-group.stories.d.ts +5 -1
- package/dist/components/drawer/drawer.stories.d.ts +3 -0
- package/dist/components/drop-down/drop-down.stories.d.ts +1 -0
- package/dist/components/empty-state/empty-state.stories.d.ts +12 -12
- package/dist/components/icon/icon-paths.d.ts +4 -0
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/list/list-footer.stories.d.ts +7 -7
- package/dist/components/list/list-header.stories.d.ts +5 -5
- package/dist/components/list/list-row.stories.d.ts +8 -8
- package/dist/components/media/base-media.d.ts +2 -4
- package/dist/components/media/media-type.d.ts +6 -1
- package/dist/components/message/message.stories.d.ts +9 -9
- package/dist/components/modal/modal-with-double-button.stories.d.ts +1 -0
- package/dist/components/modal/modal.stories.d.ts +3 -0
- package/dist/components/notice/notice.stories.d.ts +5 -5
- package/dist/components/numeric-spinner/numeric-spinner.stories.d.ts +1 -0
- package/dist/components/overlay/overlay.stories.d.ts +1 -1
- package/dist/components/pagination/pagination.stories.d.ts +1 -0
- package/dist/components/radio/radio.stories.d.ts +1 -0
- package/dist/components/rating/rating.stories.d.ts +1 -0
- package/dist/components/segmented-control/segmented-control.stories.d.ts +1 -0
- package/dist/components/skeleton/skeleton-group-type.d.ts +1 -1
- package/dist/components/skeleton/skeleton-group.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +6 -6
- package/dist/components/slider/slider.stories.d.ts +1 -0
- package/dist/components/switch/switch.stories.d.ts +1 -0
- package/dist/components/table/table.stories.d.ts +20 -0
- package/dist/components/tabs/tabs.stories.d.ts +1 -0
- package/dist/components/text-field/text-field.stories.d.ts +1 -1
- package/dist/components/toast/toast.stories.d.ts +9 -6
- package/dist/components/tooltip/tooltip.stories.d.ts +2 -0
- package/dist/components/top/top.stories.d.ts +4 -4
- package/dist/components.css +282 -20
- package/dist/data-table.js +60 -56
- package/dist/docs/patterns/desktop/admin-bulk.stories.d.ts +17 -0
- package/dist/docs/patterns/desktop/admin-dashboard.stories.d.ts +16 -0
- package/dist/docs/patterns/desktop/admin-detail.stories.d.ts +13 -0
- package/dist/docs/patterns/desktop/admin-form.stories.d.ts +16 -0
- package/dist/docs/patterns/desktop/admin-list.stories.d.ts +13 -0
- package/dist/docs/patterns/desktop/admin-login.stories.d.ts +16 -0
- package/dist/docs/patterns/desktop/admin-messages.stories.d.ts +17 -0
- package/dist/docs/patterns/desktop/admin-report.stories.d.ts +17 -0
- package/dist/docs/patterns/desktop/admin-review.stories.d.ts +16 -0
- package/dist/docs/patterns/desktop/admin-settings.stories.d.ts +16 -0
- package/dist/docs/patterns/desktop/admin-states.stories.d.ts +18 -0
- package/dist/docs/patterns/desktop/admin-wizard.stories.d.ts +17 -0
- package/dist/docs/patterns/mobile/chat.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/confirm.stories.d.ts +13 -0
- package/dist/docs/patterns/mobile/detail.stories.d.ts +13 -0
- package/dist/docs/patterns/mobile/empty.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/feed.stories.d.ts +17 -0
- package/dist/docs/patterns/mobile/filter-sheet.stories.d.ts +17 -0
- package/dist/docs/patterns/mobile/form.stories.d.ts +13 -0
- package/dist/docs/patterns/mobile/home.stories.d.ts +13 -0
- package/dist/docs/patterns/mobile/list.stories.d.ts +13 -0
- package/dist/docs/patterns/mobile/loading.stories.d.ts +18 -0
- package/dist/docs/patterns/mobile/login.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/media.stories.d.ts +16 -0
- package/dist/docs/patterns/mobile/notifications.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/profile.stories.d.ts +13 -0
- package/dist/docs/patterns/mobile/result.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/review-write.stories.d.ts +17 -0
- package/dist/docs/patterns/mobile/rewards.stories.d.ts +19 -0
- package/dist/docs/patterns/mobile/search.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/secure-input.stories.d.ts +18 -0
- package/dist/docs/patterns/mobile/settings.stories.d.ts +15 -0
- package/dist/docs/patterns/mobile/wizard.stories.d.ts +15 -0
- package/dist/eslint/README.md +79 -0
- package/dist/eslint/index.js +36 -0
- package/dist/eslint/lib/ds-jsx.js +203 -0
- package/dist/eslint/rules/no-cta-in-list-row.js +18 -0
- package/dist/eslint/rules/no-fill-in-card.js +22 -0
- package/dist/eslint/rules/no-fill-in-empty-state.js +21 -0
- package/dist/eslint/rules/no-nav-with-cta.js +25 -0
- package/dist/eslint/rules/no-nested-card.js +18 -0
- package/dist/eslint/rules/no-raw-color.js +26 -0
- package/dist/eslint/rules/no-raw-radius.js +26 -0
- package/dist/eslint/rules/no-sheet-in-modal.js +23 -0
- package/dist/eslint/rules/one-primary-fill.js +20 -0
- package/dist/eslint/rules/single-top.js +20 -0
- package/dist/index.js +244 -116
- package/dist/media-thumbnail.js +2 -0
- package/dist/media-viewer.js +2 -0
- package/dist/pagination.js +32 -8
- package/dist/scripts/patterns-doc.d.mts +26 -0
- package/dist/search-field.js +3 -3
- package/dist/styles/token/colors.d.ts +1 -1
- package/dist/styles.css +283 -50
- package/dist/text-field.js +3 -3
- package/dist/tokens/generated/colors.d.ts +1 -1
- package/dist/tokens/generated/primitive.d.ts +7 -1
- package/dist/tokens/generated/semantic-app.d.ts +19 -19
- package/dist/tokens.css +36 -31
- package/dist/tokens.js +32 -26
- package/package.json +7 -4
- package/dist/.storybook/migration.d.ts +0 -1
|
@@ -37,8 +37,11 @@ declare const meta: {
|
|
|
37
37
|
description: string;
|
|
38
38
|
};
|
|
39
39
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
40
|
-
|
|
40
|
+
figure?: never | undefined;
|
|
41
|
+
slot?: string | undefined | undefined;
|
|
41
42
|
style?: import("react").CSSProperties | undefined;
|
|
43
|
+
title: import("react").ReactNode;
|
|
44
|
+
key?: import("react").Key | null | undefined;
|
|
42
45
|
defaultChecked?: boolean | undefined | undefined;
|
|
43
46
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
44
47
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -46,6 +49,7 @@ declare const meta: {
|
|
|
46
49
|
accessKey?: string | undefined | undefined;
|
|
47
50
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
48
51
|
autoFocus?: boolean | undefined | undefined;
|
|
52
|
+
className?: string | undefined | undefined;
|
|
49
53
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
50
54
|
contextMenu?: string | undefined | undefined;
|
|
51
55
|
dir?: string | undefined | undefined;
|
|
@@ -55,10 +59,8 @@ declare const meta: {
|
|
|
55
59
|
id?: string | undefined | undefined;
|
|
56
60
|
lang?: string | undefined | undefined;
|
|
57
61
|
nonce?: string | undefined | undefined;
|
|
58
|
-
slot?: string | undefined | undefined;
|
|
59
62
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
60
63
|
tabIndex?: number | undefined | undefined;
|
|
61
|
-
title: import("react").ReactNode;
|
|
62
64
|
translate?: "yes" | "no" | undefined | undefined;
|
|
63
65
|
radioGroup?: string | undefined | undefined;
|
|
64
66
|
role?: import("react").AriaRole | undefined;
|
|
@@ -302,17 +304,18 @@ declare const meta: {
|
|
|
302
304
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
303
305
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
304
306
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
305
|
-
figure?: never | undefined;
|
|
306
|
-
key?: import("react").Key | null | undefined;
|
|
307
|
-
variant?: (typeof variant)[number] | undefined;
|
|
308
307
|
icon: import("../..").IconName;
|
|
308
|
+
variant?: (typeof variant)[number] | undefined;
|
|
309
309
|
action?: import("react").ReactNode;
|
|
310
310
|
description?: import("react").ReactNode;
|
|
311
311
|
titleAs?: (typeof titleAs)[number] | undefined;
|
|
312
312
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
313
313
|
} | {
|
|
314
|
-
|
|
314
|
+
figure: import("react").ReactNode;
|
|
315
|
+
slot?: string | undefined | undefined;
|
|
315
316
|
style?: import("react").CSSProperties | undefined;
|
|
317
|
+
title: import("react").ReactNode;
|
|
318
|
+
key?: import("react").Key | null | undefined;
|
|
316
319
|
defaultChecked?: boolean | undefined | undefined;
|
|
317
320
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
318
321
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -320,6 +323,7 @@ declare const meta: {
|
|
|
320
323
|
accessKey?: string | undefined | undefined;
|
|
321
324
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
322
325
|
autoFocus?: boolean | undefined | undefined;
|
|
326
|
+
className?: string | undefined | undefined;
|
|
323
327
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
324
328
|
contextMenu?: string | undefined | undefined;
|
|
325
329
|
dir?: string | undefined | undefined;
|
|
@@ -329,10 +333,8 @@ declare const meta: {
|
|
|
329
333
|
id?: string | undefined | undefined;
|
|
330
334
|
lang?: string | undefined | undefined;
|
|
331
335
|
nonce?: string | undefined | undefined;
|
|
332
|
-
slot?: string | undefined | undefined;
|
|
333
336
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
334
337
|
tabIndex?: number | undefined | undefined;
|
|
335
|
-
title: import("react").ReactNode;
|
|
336
338
|
translate?: "yes" | "no" | undefined | undefined;
|
|
337
339
|
radioGroup?: string | undefined | undefined;
|
|
338
340
|
role?: import("react").AriaRole | undefined;
|
|
@@ -576,10 +578,8 @@ declare const meta: {
|
|
|
576
578
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
577
579
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
578
580
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
579
|
-
figure: import("react").ReactNode;
|
|
580
|
-
key?: import("react").Key | null | undefined;
|
|
581
|
-
variant?: (typeof variant)[number] | undefined;
|
|
582
581
|
icon?: never | undefined;
|
|
582
|
+
variant?: (typeof variant)[number] | undefined;
|
|
583
583
|
action?: import("react").ReactNode;
|
|
584
584
|
description?: import("react").ReactNode;
|
|
585
585
|
titleAs?: (typeof titleAs)[number] | undefined;
|
|
@@ -171,6 +171,10 @@ export declare const iconPaths: {
|
|
|
171
171
|
readonly regular: readonly ["M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"];
|
|
172
172
|
readonly fill: readonly ["M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"];
|
|
173
173
|
};
|
|
174
|
+
readonly 'eye-slash': {
|
|
175
|
+
readonly regular: readonly ["M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"];
|
|
176
|
+
readonly fill: readonly ["M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"];
|
|
177
|
+
};
|
|
174
178
|
readonly 'sliders-horizontal': {
|
|
175
179
|
readonly regular: readonly ["M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"];
|
|
176
180
|
readonly fill: readonly ["M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z"];
|
|
@@ -14,7 +14,7 @@ declare const meta: {
|
|
|
14
14
|
control: {
|
|
15
15
|
type: "select";
|
|
16
16
|
};
|
|
17
|
-
options: ("
|
|
17
|
+
options: ("link" | "circle" | "image" | "x" | "house" | "megaphone-simple" | "chats-circle" | "user-circle" | "bell" | "caret-left" | "magnifying-glass" | "dots-three" | "gear-six" | "chat-circle" | "paper-plane-tilt" | "plus" | "minus" | "camera" | "video-camera" | "play" | "upload-simple" | "calendar-blank" | "clock" | "map-pin" | "truck" | "ticket" | "qr-code" | "sparkle" | "gift" | "wallet" | "bank" | "credit-card" | "check-circle" | "check" | "warning" | "info" | "question" | "lock" | "pencil-simple" | "trash" | "copy" | "share-network" | "eye" | "eye-slash" | "sliders-horizontal" | "heart" | "star" | "globe" | "sign-out" | "caret-right" | "caret-down" | "arrow-right" | "dots-six-vertical" | "envelope-simple" | "phone" | "backspace" | "arrow-fat-up" | "instagram-logo" | "tiktok-logo" | "youtube-logo" | "whatsapp-logo" | "telegram-logo")[];
|
|
18
18
|
};
|
|
19
19
|
weight: {
|
|
20
20
|
control: {
|
|
@@ -15,9 +15,11 @@ declare const meta: {
|
|
|
15
15
|
onClick: () => void;
|
|
16
16
|
};
|
|
17
17
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
18
|
-
|
|
18
|
+
slot?: string | undefined | undefined;
|
|
19
19
|
style?: import("react").CSSProperties | undefined;
|
|
20
|
-
|
|
20
|
+
title?: string | undefined | undefined;
|
|
21
|
+
track?: string | undefined;
|
|
22
|
+
key?: import("react").Key | null | undefined;
|
|
21
23
|
defaultChecked?: boolean | undefined | undefined;
|
|
22
24
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
23
25
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -25,6 +27,7 @@ declare const meta: {
|
|
|
25
27
|
accessKey?: string | undefined | undefined;
|
|
26
28
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
27
29
|
autoFocus?: boolean | undefined | undefined;
|
|
30
|
+
className?: string | undefined | undefined;
|
|
28
31
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
29
32
|
contextMenu?: string | undefined | undefined;
|
|
30
33
|
dir?: string | undefined | undefined;
|
|
@@ -34,10 +37,8 @@ declare const meta: {
|
|
|
34
37
|
id?: string | undefined | undefined;
|
|
35
38
|
lang?: string | undefined | undefined;
|
|
36
39
|
nonce?: string | undefined | undefined;
|
|
37
|
-
slot?: string | undefined | undefined;
|
|
38
40
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
39
41
|
tabIndex?: number | undefined | undefined;
|
|
40
|
-
title?: string | undefined | undefined;
|
|
41
42
|
translate?: "yes" | "no" | undefined | undefined;
|
|
42
43
|
radioGroup?: string | undefined | undefined;
|
|
43
44
|
role?: import("react").AriaRole | undefined;
|
|
@@ -120,6 +121,7 @@ declare const meta: {
|
|
|
120
121
|
"aria-valuemin"?: number | undefined | undefined;
|
|
121
122
|
"aria-valuenow"?: number | undefined | undefined;
|
|
122
123
|
"aria-valuetext"?: string | undefined | undefined;
|
|
124
|
+
children: import("react").ReactNode;
|
|
123
125
|
dangerouslySetInnerHTML?: {
|
|
124
126
|
__html: string | TrustedHTML;
|
|
125
127
|
} | undefined | undefined;
|
|
@@ -281,14 +283,12 @@ declare const meta: {
|
|
|
281
283
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
282
284
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
283
285
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
|
-
|
|
285
|
-
key?: import("react").Key | null | undefined;
|
|
286
|
+
icon?: import("../..").IconName | undefined;
|
|
286
287
|
loading?: boolean | undefined;
|
|
287
288
|
asChild?: boolean | undefined;
|
|
288
289
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
289
290
|
pressEffect?: boolean | undefined;
|
|
290
291
|
border?: (typeof footerBorder)[number] | undefined;
|
|
291
|
-
icon?: import("../..").IconName | undefined;
|
|
292
292
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
293
293
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
294
294
|
};
|
|
@@ -15,9 +15,10 @@ declare const meta: {
|
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
17
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
18
|
-
|
|
18
|
+
slot?: string | undefined | undefined;
|
|
19
19
|
style?: import("react").CSSProperties | undefined;
|
|
20
|
-
|
|
20
|
+
title: import("react").ReactNode;
|
|
21
|
+
key?: import("react").Key | null | undefined;
|
|
21
22
|
defaultChecked?: boolean | undefined | undefined;
|
|
22
23
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
23
24
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -25,6 +26,7 @@ declare const meta: {
|
|
|
25
26
|
accessKey?: string | undefined | undefined;
|
|
26
27
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
27
28
|
autoFocus?: boolean | undefined | undefined;
|
|
29
|
+
className?: string | undefined | undefined;
|
|
28
30
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
29
31
|
contextMenu?: string | undefined | undefined;
|
|
30
32
|
dir?: string | undefined | undefined;
|
|
@@ -34,10 +36,8 @@ declare const meta: {
|
|
|
34
36
|
id?: string | undefined | undefined;
|
|
35
37
|
lang?: string | undefined | undefined;
|
|
36
38
|
nonce?: string | undefined | undefined;
|
|
37
|
-
slot?: string | undefined | undefined;
|
|
38
39
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
39
40
|
tabIndex?: number | undefined | undefined;
|
|
40
|
-
title: import("react").ReactNode;
|
|
41
41
|
translate?: "yes" | "no" | undefined | undefined;
|
|
42
42
|
radioGroup?: string | undefined | undefined;
|
|
43
43
|
role?: import("react").AriaRole | undefined;
|
|
@@ -120,6 +120,7 @@ declare const meta: {
|
|
|
120
120
|
"aria-valuemin"?: number | undefined | undefined;
|
|
121
121
|
"aria-valuenow"?: number | undefined | undefined;
|
|
122
122
|
"aria-valuetext"?: string | undefined | undefined;
|
|
123
|
+
children?: import("react").ReactNode;
|
|
123
124
|
dangerouslySetInnerHTML?: {
|
|
124
125
|
__html: string | TrustedHTML;
|
|
125
126
|
} | undefined | undefined;
|
|
@@ -281,7 +282,6 @@ declare const meta: {
|
|
|
281
282
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
282
283
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
283
284
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
|
-
key?: import("react").Key | null | undefined;
|
|
285
285
|
right?: import("react").ReactNode;
|
|
286
286
|
description?: import("react").ReactNode;
|
|
287
287
|
descriptionPosition?: (typeof descriptionPosition)[number] | undefined;
|
|
@@ -16,10 +16,12 @@ declare const meta: {
|
|
|
16
16
|
label: string;
|
|
17
17
|
};
|
|
18
18
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
label: import("react").ReactNode;
|
|
20
|
+
slot?: string | undefined | undefined;
|
|
21
21
|
style?: import("react").CSSProperties | undefined;
|
|
22
|
-
|
|
22
|
+
title?: string | undefined | undefined;
|
|
23
|
+
track?: string | undefined;
|
|
24
|
+
key?: import("react").Key | null | undefined;
|
|
23
25
|
defaultChecked?: boolean | undefined | undefined;
|
|
24
26
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
25
27
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -27,6 +29,7 @@ declare const meta: {
|
|
|
27
29
|
accessKey?: string | undefined | undefined;
|
|
28
30
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
29
31
|
autoFocus?: boolean | undefined | undefined;
|
|
32
|
+
className?: string | undefined | undefined;
|
|
30
33
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
31
34
|
contextMenu?: string | undefined | undefined;
|
|
32
35
|
dir?: string | undefined | undefined;
|
|
@@ -36,10 +39,8 @@ declare const meta: {
|
|
|
36
39
|
id?: string | undefined | undefined;
|
|
37
40
|
lang?: string | undefined | undefined;
|
|
38
41
|
nonce?: string | undefined | undefined;
|
|
39
|
-
slot?: string | undefined | undefined;
|
|
40
42
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
41
43
|
tabIndex?: number | undefined | undefined;
|
|
42
|
-
title?: string | undefined | undefined;
|
|
43
44
|
translate?: "yes" | "no" | undefined | undefined;
|
|
44
45
|
radioGroup?: string | undefined | undefined;
|
|
45
46
|
role?: import("react").AriaRole | undefined;
|
|
@@ -122,6 +123,7 @@ declare const meta: {
|
|
|
122
123
|
"aria-valuemin"?: number | undefined | undefined;
|
|
123
124
|
"aria-valuenow"?: number | undefined | undefined;
|
|
124
125
|
"aria-valuetext"?: string | undefined | undefined;
|
|
126
|
+
children?: import("react").ReactNode;
|
|
125
127
|
dangerouslySetInnerHTML?: {
|
|
126
128
|
__html: string | TrustedHTML;
|
|
127
129
|
} | undefined | undefined;
|
|
@@ -283,9 +285,7 @@ declare const meta: {
|
|
|
283
285
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
284
286
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
285
287
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
286
|
-
|
|
287
|
-
track?: string | undefined;
|
|
288
|
-
key?: import("react").Key | null | undefined;
|
|
288
|
+
size?: import("./list-type").ListRowSize | undefined;
|
|
289
289
|
asChild?: boolean | undefined;
|
|
290
290
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
291
291
|
pressEffect?: boolean | undefined;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { MediaViewerCloseProps, MediaViewerRootProps, MediaViewerTriggerProps } from './media-type';
|
|
2
|
+
import { MediaViewerCloseProps, MediaViewerContentProps, MediaViewerRootProps, MediaViewerTriggerProps } from './media-type';
|
|
3
3
|
declare const MediaViewerRoot: {
|
|
4
4
|
(props: PropsWithChildren<MediaViewerRootProps>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
} & {
|
|
7
7
|
Trigger: import("react").ForwardRefExoticComponent<Omit<MediaViewerTriggerProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
Content: import("react").ForwardRefExoticComponent<Omit<
|
|
9
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Content: import("react").ForwardRefExoticComponent<Omit<MediaViewerContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
9
|
Title: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
12
10
|
ref?: ((instance: HTMLHeadingElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
|
|
13
11
|
}, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -10,7 +10,10 @@ export interface MediaViewerRootProps {
|
|
|
10
10
|
}
|
|
11
11
|
export interface MediaViewerTriggerProps extends ComponentPropsWithRef<'button'>, AsChildProps {
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export interface MediaViewerContentProps extends ComponentPropsWithRef<'div'> {
|
|
14
|
+
/** 뷰어를 그릴 요소. Radix `Dialog.Portal` 의 container. 없으면 document.body */
|
|
15
|
+
portalContainer?: HTMLElement;
|
|
16
|
+
}
|
|
14
17
|
export type MediaViewerTitleProps = ComponentPropsWithRef<'h2'>;
|
|
15
18
|
export interface MediaViewerCloseProps extends ComponentPropsWithRef<'button'>, AsChildProps {
|
|
16
19
|
}
|
|
@@ -27,6 +30,8 @@ export interface MediaViewerProps extends MediaViewerRootProps, MediaSourceProps
|
|
|
27
30
|
trigger?: ReactElement;
|
|
28
31
|
/** 뷰어의 접근성 이름. 화면에는 안 보인다. 없으면 alt 를 쓴다 */
|
|
29
32
|
title?: string;
|
|
33
|
+
/** 뷰어를 그릴 요소. 없으면 document.body */
|
|
34
|
+
portalContainer?: HTMLElement;
|
|
30
35
|
}
|
|
31
36
|
export interface MediaThumbnailProps extends MediaSourceProps, StyleProps, TrackProps, PressEffectProps {
|
|
32
37
|
size?: (typeof sizes)[number];
|
|
@@ -29,9 +29,13 @@ declare const meta: {
|
|
|
29
29
|
time: string;
|
|
30
30
|
};
|
|
31
31
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
32
|
-
|
|
32
|
+
slot?: string | undefined | undefined;
|
|
33
33
|
style?: import("react").CSSProperties | undefined;
|
|
34
|
-
|
|
34
|
+
time?: import("react").ReactNode;
|
|
35
|
+
title?: string | undefined | undefined;
|
|
36
|
+
key?: import("react").Key | null | undefined;
|
|
37
|
+
name?: import("react").ReactNode;
|
|
38
|
+
value?: string | number | readonly string[] | undefined;
|
|
35
39
|
defaultChecked?: boolean | undefined | undefined;
|
|
36
40
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
37
41
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -39,6 +43,7 @@ declare const meta: {
|
|
|
39
43
|
accessKey?: string | undefined | undefined;
|
|
40
44
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
41
45
|
autoFocus?: boolean | undefined | undefined;
|
|
46
|
+
className?: string | undefined | undefined;
|
|
42
47
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
43
48
|
contextMenu?: string | undefined | undefined;
|
|
44
49
|
dir?: string | undefined | undefined;
|
|
@@ -48,10 +53,8 @@ declare const meta: {
|
|
|
48
53
|
id?: string | undefined | undefined;
|
|
49
54
|
lang?: string | undefined | undefined;
|
|
50
55
|
nonce?: string | undefined | undefined;
|
|
51
|
-
slot?: string | undefined | undefined;
|
|
52
56
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
53
57
|
tabIndex?: number | undefined | undefined;
|
|
54
|
-
title?: string | undefined | undefined;
|
|
55
58
|
translate?: "yes" | "no" | undefined | undefined;
|
|
56
59
|
radioGroup?: string | undefined | undefined;
|
|
57
60
|
role?: import("react").AriaRole | undefined;
|
|
@@ -134,6 +137,7 @@ declare const meta: {
|
|
|
134
137
|
"aria-valuemin"?: number | undefined | undefined;
|
|
135
138
|
"aria-valuenow"?: number | undefined | undefined;
|
|
136
139
|
"aria-valuetext"?: string | undefined | undefined;
|
|
140
|
+
children?: import("react").ReactNode;
|
|
137
141
|
dangerouslySetInnerHTML?: {
|
|
138
142
|
__html: string | TrustedHTML;
|
|
139
143
|
} | undefined | undefined;
|
|
@@ -295,14 +299,10 @@ declare const meta: {
|
|
|
295
299
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
296
300
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
297
301
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
298
|
-
time?: import("react").ReactNode;
|
|
299
|
-
key?: import("react").Key | null | undefined;
|
|
300
|
-
name?: import("react").ReactNode;
|
|
301
|
-
value?: string | number | readonly string[] | undefined;
|
|
302
302
|
motion?: (typeof motion)[number] | undefined;
|
|
303
303
|
media?: import("react").ReactNode;
|
|
304
|
-
dateTime?: string | undefined;
|
|
305
304
|
side?: (typeof side)[number] | undefined;
|
|
305
|
+
dateTime?: string | undefined;
|
|
306
306
|
ref?: import("react").LegacyRef<HTMLLIElement> | undefined;
|
|
307
307
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
308
308
|
};
|
|
@@ -18,6 +18,8 @@ declare const meta: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
args: {
|
|
21
|
+
onEntered: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
22
|
+
onExited: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
21
23
|
title: string;
|
|
22
24
|
description: string;
|
|
23
25
|
children: string;
|
|
@@ -41,3 +43,4 @@ export declare const LongContent: Story;
|
|
|
41
43
|
export declare const MotionEnterExit: Story;
|
|
42
44
|
/** 바깥을 눌러도 닫히지 않고 창이 좌우로 흔들린다. Esc 도 막았다. 닫기는 버튼으로만 한다. */
|
|
43
45
|
export declare const MotionCloseOnOverlayClick: Story;
|
|
46
|
+
export declare const Mobile: Story;
|
|
@@ -34,9 +34,10 @@ declare const meta: {
|
|
|
34
34
|
children: string;
|
|
35
35
|
};
|
|
36
36
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
37
|
-
|
|
37
|
+
slot?: string | undefined | undefined;
|
|
38
38
|
style?: import("react").CSSProperties | undefined;
|
|
39
|
-
|
|
39
|
+
title?: import("react").ReactNode;
|
|
40
|
+
key?: import("react").Key | null | undefined;
|
|
40
41
|
defaultChecked?: boolean | undefined | undefined;
|
|
41
42
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
42
43
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -44,6 +45,7 @@ declare const meta: {
|
|
|
44
45
|
accessKey?: string | undefined | undefined;
|
|
45
46
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
46
47
|
autoFocus?: boolean | undefined | undefined;
|
|
48
|
+
className?: string | undefined | undefined;
|
|
47
49
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
48
50
|
contextMenu?: string | undefined | undefined;
|
|
49
51
|
dir?: string | undefined | undefined;
|
|
@@ -53,10 +55,8 @@ declare const meta: {
|
|
|
53
55
|
id?: string | undefined | undefined;
|
|
54
56
|
lang?: string | undefined | undefined;
|
|
55
57
|
nonce?: string | undefined | undefined;
|
|
56
|
-
slot?: string | undefined | undefined;
|
|
57
58
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
58
59
|
tabIndex?: number | undefined | undefined;
|
|
59
|
-
title?: import("react").ReactNode;
|
|
60
60
|
translate?: "yes" | "no" | undefined | undefined;
|
|
61
61
|
radioGroup?: string | undefined | undefined;
|
|
62
62
|
role?: import("react").AriaRole | undefined;
|
|
@@ -139,6 +139,7 @@ declare const meta: {
|
|
|
139
139
|
"aria-valuemin"?: number | undefined | undefined;
|
|
140
140
|
"aria-valuenow"?: number | undefined | undefined;
|
|
141
141
|
"aria-valuetext"?: string | undefined | undefined;
|
|
142
|
+
children: import("react").ReactNode;
|
|
142
143
|
dangerouslySetInnerHTML?: {
|
|
143
144
|
__html: string | TrustedHTML;
|
|
144
145
|
} | undefined | undefined;
|
|
@@ -300,7 +301,6 @@ declare const meta: {
|
|
|
300
301
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
301
302
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
302
303
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
303
|
-
key?: import("react").Key | null | undefined;
|
|
304
304
|
variant?: (typeof variant)[number] | undefined;
|
|
305
305
|
motion?: (typeof motion)[number] | undefined;
|
|
306
306
|
action?: import("./notice-type").NoticeAction | undefined;
|
|
@@ -18,8 +18,8 @@ declare const meta: {
|
|
|
18
18
|
};
|
|
19
19
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
20
20
|
portalContainer?: HTMLElement | undefined;
|
|
21
|
-
children: import("react").ReactNode;
|
|
22
21
|
label?: string | undefined;
|
|
22
|
+
children: import("react").ReactNode;
|
|
23
23
|
position?: typeof import("../toast/toast-props").positions[number] | undefined;
|
|
24
24
|
duration?: number | undefined;
|
|
25
25
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StyleProps } from '../../helpers/types/common-props';
|
|
2
2
|
import type { PrimitiveTokens } from '../../tokens/generated';
|
|
3
3
|
import type { patterns } from './skeleton-group-props';
|
|
4
|
-
/** --spacing-* 의 이름. tokens/
|
|
4
|
+
/** --spacing-* 의 이름. tokens/tokens.json 에서 생성된 primitive.spacing 의 키다 */
|
|
5
5
|
export type SpacingToken = keyof PrimitiveTokens['spacing'];
|
|
6
6
|
export type SkeletonPattern = (typeof patterns)[number];
|
|
7
7
|
/** 묶음이 그리는 블록 하나. row 는 블록을 가로로 놓는다 */
|
|
@@ -35,8 +35,8 @@ declare const meta: {
|
|
|
35
35
|
animated: true;
|
|
36
36
|
};
|
|
37
37
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
38
|
-
repeat?: number | undefined;
|
|
39
38
|
'aria-label'?: string | undefined;
|
|
39
|
+
repeat?: number | undefined;
|
|
40
40
|
animated?: boolean | undefined;
|
|
41
41
|
pattern?: SkeletonPattern | undefined;
|
|
42
42
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -45,9 +45,10 @@ declare const meta: {
|
|
|
45
45
|
animated: true;
|
|
46
46
|
};
|
|
47
47
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
48
|
-
|
|
48
|
+
slot?: string | undefined | undefined;
|
|
49
49
|
style?: import("react").CSSProperties | undefined;
|
|
50
|
-
|
|
50
|
+
title?: string | undefined | undefined;
|
|
51
|
+
key?: import("react").Key | null | undefined;
|
|
51
52
|
defaultChecked?: boolean | undefined | undefined;
|
|
52
53
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
53
54
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -55,6 +56,7 @@ declare const meta: {
|
|
|
55
56
|
accessKey?: string | undefined | undefined;
|
|
56
57
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
57
58
|
autoFocus?: boolean | undefined | undefined;
|
|
59
|
+
className?: string | undefined | undefined;
|
|
58
60
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
59
61
|
contextMenu?: string | undefined | undefined;
|
|
60
62
|
dir?: string | undefined | undefined;
|
|
@@ -64,10 +66,8 @@ declare const meta: {
|
|
|
64
66
|
id?: string | undefined | undefined;
|
|
65
67
|
lang?: string | undefined | undefined;
|
|
66
68
|
nonce?: string | undefined | undefined;
|
|
67
|
-
slot?: string | undefined | undefined;
|
|
68
69
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
69
70
|
tabIndex?: number | undefined | undefined;
|
|
70
|
-
title?: string | undefined | undefined;
|
|
71
71
|
translate?: "yes" | "no" | undefined | undefined;
|
|
72
72
|
radioGroup?: string | undefined | undefined;
|
|
73
73
|
role?: import("react").AriaRole | undefined;
|
|
@@ -150,6 +150,7 @@ declare const meta: {
|
|
|
150
150
|
"aria-valuemin"?: number | undefined | undefined;
|
|
151
151
|
"aria-valuenow"?: number | undefined | undefined;
|
|
152
152
|
"aria-valuetext"?: string | undefined | undefined;
|
|
153
|
+
children?: import("react").ReactNode;
|
|
153
154
|
dangerouslySetInnerHTML?: {
|
|
154
155
|
__html: string | TrustedHTML;
|
|
155
156
|
} | undefined | undefined;
|
|
@@ -311,12 +312,11 @@ declare const meta: {
|
|
|
311
312
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
312
313
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
313
314
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
314
|
-
key?: import("react").Key | null | undefined;
|
|
315
315
|
height?: number | string | undefined;
|
|
316
316
|
width?: number | string | undefined;
|
|
317
|
-
shape?: (typeof shapes)[number] | undefined;
|
|
318
317
|
animated?: boolean | undefined;
|
|
319
318
|
lines?: number | undefined;
|
|
319
|
+
shape?: (typeof shapes)[number] | undefined;
|
|
320
320
|
ref?: import("react").LegacyRef<HTMLSpanElement> | undefined;
|
|
321
321
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
322
322
|
};
|
|
@@ -117,3 +117,23 @@ declare const pressRows: readonly [{
|
|
|
117
117
|
}];
|
|
118
118
|
/** onClickRow 가 있는 헤더 칸(Name)과 onClickCell 이 있는 셀(ID·Status)만 누르는 동안 어두워진다 */
|
|
119
119
|
export declare const MotionPress: StoryObj<DataTableProps<typeof pressRows>>;
|
|
120
|
+
declare const mobileRows: readonly [{
|
|
121
|
+
readonly id: "name";
|
|
122
|
+
readonly value: import("react/jsx-runtime").JSX.Element;
|
|
123
|
+
}, {
|
|
124
|
+
readonly id: "status";
|
|
125
|
+
readonly value: import("react/jsx-runtime").JSX.Element;
|
|
126
|
+
}, {
|
|
127
|
+
readonly id: "channel";
|
|
128
|
+
readonly value: import("react/jsx-runtime").JSX.Element;
|
|
129
|
+
}, {
|
|
130
|
+
readonly id: "followers";
|
|
131
|
+
readonly value: import("react/jsx-runtime").JSX.Element;
|
|
132
|
+
}, {
|
|
133
|
+
readonly id: "date";
|
|
134
|
+
readonly value: import("react/jsx-runtime").JSX.Element;
|
|
135
|
+
}, {
|
|
136
|
+
readonly id: "email";
|
|
137
|
+
readonly value: import("react/jsx-runtime").JSX.Element;
|
|
138
|
+
}];
|
|
139
|
+
export declare const Mobile: StoryObj<DataTableProps<typeof mobileRows>>;
|
|
@@ -39,7 +39,7 @@ export declare const CharacterCount: Story;
|
|
|
39
39
|
export declare const Format: Story;
|
|
40
40
|
/** clearable 이면 값이 있고 포커스가 안에 있을 때 오른쪽에 지우기 버튼이 뜬다. 눌러도 포커스는 input 에 남는다. */
|
|
41
41
|
export declare const Clearable: Story;
|
|
42
|
-
/** type='password' 에 passwordToggle 을 주면 보기·숨기기 버튼이 붙는다.
|
|
42
|
+
/** type='password' 에 passwordToggle 을 주면 보기·숨기기 버튼이 붙는다. 아이콘은 지금 상태를 보인다 — 숨김이면 사선 눈, 보이면 눈. */
|
|
43
43
|
export declare const PasswordToggle: Story;
|
|
44
44
|
/** prefix·suffix 는 input 안쪽 앞뒤에 붙는 고정 글이다. 입력값에는 들어가지 않는다. */
|
|
45
45
|
export declare const PrefixSuffix: Story;
|