@nurihaus/web-design-system 3.11.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 +12 -0
- 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 +183 -10
- package/dist/ai/patterns.md +2899 -0
- package/dist/ai/tokens.md +10 -0
- package/dist/chunk-6459.js +3 -1
- 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/chip-group.stories.d.ts +1 -0
- 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 +8 -8
- package/dist/components/list/list-header.stories.d.ts +5 -5
- package/dist/components/list/list-row.stories.d.ts +9 -9
- 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 +6 -6
- 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.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +7 -7
- 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 +273 -18
- 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 +108 -68
- 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.css +243 -17
- package/dist/text-field.js +3 -3
- package/dist/tokens/generated/primitive.d.ts +4 -0
- package/dist/tokens.css +3 -0
- package/dist/tokens.js +4 -0
- package/package.json +7 -4
- package/dist/.storybook/migration.d.ts +0 -1
package/dist/ai/tokens.md
CHANGED
|
@@ -403,6 +403,15 @@
|
|
|
403
403
|
| `--radius-20` | `20px` |
|
|
404
404
|
| `--radius-full` | `9999px` |
|
|
405
405
|
|
|
406
|
+
## 브레이크포인트
|
|
407
|
+
|
|
408
|
+
값은 그 구간이 시작하는 화면 폭이다. CSS `@media` 조건에는 `var()` 를 못 쓰므로 숫자로 적는다(`@media (width < 768px)`). JS 는 `primitive.breakpoint.m` 을 읽는다.
|
|
409
|
+
|
|
410
|
+
| 변수 | 값 |
|
|
411
|
+
| --- | --- |
|
|
412
|
+
| `--breakpoint-s` | `360px` |
|
|
413
|
+
| `--breakpoint-m` | `768px` |
|
|
414
|
+
|
|
406
415
|
## 크기 · 레이어 · 모션
|
|
407
416
|
|
|
408
417
|
`styles/token/size.css` 에서 온다. 컴포넌트 높이·간격·z-index·모션은 이 변수를 쓴다. size 이름 `xs · s · m · l · xl` 의 실제 값이 여기 있다.
|
|
@@ -470,6 +479,7 @@
|
|
|
470
479
|
| `--drawer-height-s` | `320px` | 폭 |
|
|
471
480
|
| `--drawer-height-m` | `400px` | 폭 |
|
|
472
481
|
| `--drawer-height-l` | `520px` | 폭 |
|
|
482
|
+
| `--drawer-edge-gap` | `56px` | 폭 |
|
|
473
483
|
| `--toast-width` | `360px` | 폭 |
|
|
474
484
|
| `--modal-width-s` | `400px` | 폭 |
|
|
475
485
|
| `--modal-width-m` | `450px` | 폭 |
|
package/dist/chunk-6459.js
CHANGED
|
@@ -61,8 +61,10 @@ MediaViewerTrigger.displayName = 'MediaViewerTrigger';
|
|
|
61
61
|
// Portal 과 Overlay 를 같이 그린다. 화면 전체를 덮는 Dialog.Content 가 ref 를 받는다.
|
|
62
62
|
var MediaViewerContent = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
63
63
|
var className = props.className,
|
|
64
|
-
|
|
64
|
+
portalContainer = props.portalContainer,
|
|
65
|
+
restProps = __rest(props, ["className", "portalContainer"]);
|
|
65
66
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Portal, {
|
|
67
|
+
container: portalContainer,
|
|
66
68
|
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Overlay, {
|
|
67
69
|
className: 'nuri-theme base-media overlay'
|
|
68
70
|
}), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(radix_ui__WEBPACK_IMPORTED_MODULE_2__.Dialog.Content, __assign({
|
package/dist/chunk-7653.js
CHANGED
|
@@ -194,6 +194,10 @@ var iconPaths = {
|
|
|
194
194
|
regular: ['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'],
|
|
195
195
|
fill: ['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']
|
|
196
196
|
},
|
|
197
|
+
'eye-slash': {
|
|
198
|
+
regular: ['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'],
|
|
199
|
+
fill: ['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']
|
|
200
|
+
},
|
|
197
201
|
'sliders-horizontal': {
|
|
198
202
|
regular: ['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'],
|
|
199
203
|
fill: ['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']
|
|
@@ -5,13 +5,13 @@ declare const Asset: {
|
|
|
5
5
|
size?: import("./asset-type").AssetFrameSize<"square">;
|
|
6
6
|
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
7
7
|
shape: "circle";
|
|
8
|
-
size?: "s" | "
|
|
9
|
-
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
10
|
-
shape: "squircle";
|
|
11
|
-
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
8
|
+
size?: "s" | "l" | "xl" | "m" | undefined;
|
|
12
9
|
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
13
10
|
shape: "card";
|
|
14
|
-
size?: "
|
|
11
|
+
size?: "l" | "xl" | "m" | undefined;
|
|
12
|
+
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
13
|
+
shape: "squircle";
|
|
14
|
+
size?: "s" | "l" | "xl" | "m" | undefined;
|
|
15
15
|
}, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
|
|
16
16
|
Icon: import("react").ForwardRefExoticComponent<Omit<AssetIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
17
|
Image: import("react").ForwardRefExoticComponent<Omit<AssetImageProps, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
|
|
@@ -13,13 +13,13 @@ declare const meta: {
|
|
|
13
13
|
size?: import("./asset-type").AssetFrameSize<"square">;
|
|
14
14
|
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
15
15
|
shape: "circle";
|
|
16
|
-
size?: "s" | "
|
|
17
|
-
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
18
|
-
shape: "squircle";
|
|
19
|
-
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
16
|
+
size?: "s" | "l" | "xl" | "m" | undefined;
|
|
20
17
|
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
21
18
|
shape: "card";
|
|
22
|
-
size?: "
|
|
19
|
+
size?: "l" | "xl" | "m" | undefined;
|
|
20
|
+
}, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
|
|
21
|
+
shape: "squircle";
|
|
22
|
+
size?: "s" | "l" | "xl" | "m" | undefined;
|
|
23
23
|
}, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
|
|
24
24
|
argTypes: {
|
|
25
25
|
shape: {
|
|
@@ -12,9 +12,10 @@ declare const meta: {
|
|
|
12
12
|
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;
|
|
13
13
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
14
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
15
|
-
|
|
15
|
+
slot?: string | undefined | undefined;
|
|
16
16
|
style?: import("react").CSSProperties | undefined;
|
|
17
|
-
|
|
17
|
+
title?: string | undefined | undefined;
|
|
18
|
+
key?: import("react").Key | null | undefined;
|
|
18
19
|
defaultChecked?: boolean | undefined | undefined;
|
|
19
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
20
21
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -22,6 +23,7 @@ declare const meta: {
|
|
|
22
23
|
accessKey?: string | undefined | undefined;
|
|
23
24
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
24
25
|
autoFocus?: boolean | undefined | undefined;
|
|
26
|
+
className?: string | undefined | undefined;
|
|
25
27
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
26
28
|
contextMenu?: string | undefined | undefined;
|
|
27
29
|
dir?: string | undefined | undefined;
|
|
@@ -31,10 +33,8 @@ declare const meta: {
|
|
|
31
33
|
id?: string | undefined | undefined;
|
|
32
34
|
lang?: string | undefined | undefined;
|
|
33
35
|
nonce?: string | undefined | undefined;
|
|
34
|
-
slot?: string | undefined | undefined;
|
|
35
36
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
36
37
|
tabIndex?: number | undefined | undefined;
|
|
37
|
-
title?: string | undefined | undefined;
|
|
38
38
|
translate?: "yes" | "no" | undefined | undefined;
|
|
39
39
|
radioGroup?: string | undefined | undefined;
|
|
40
40
|
role?: import("react").AriaRole | undefined;
|
|
@@ -117,6 +117,7 @@ declare const meta: {
|
|
|
117
117
|
"aria-valuemin"?: number | undefined | undefined;
|
|
118
118
|
"aria-valuenow"?: number | undefined | undefined;
|
|
119
119
|
"aria-valuetext"?: string | undefined | undefined;
|
|
120
|
+
children?: import("react").ReactNode;
|
|
120
121
|
dangerouslySetInnerHTML?: {
|
|
121
122
|
__html: string | TrustedHTML;
|
|
122
123
|
} | undefined | undefined;
|
|
@@ -278,7 +279,6 @@ declare const meta: {
|
|
|
278
279
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
279
280
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
280
281
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
|
-
key?: import("react").Key | null | undefined;
|
|
282
282
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
283
283
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
284
284
|
};
|
|
@@ -58,3 +58,4 @@ export declare const InCard: Story;
|
|
|
58
58
|
export declare const MotionPress: Story;
|
|
59
59
|
/** 여러 개 고르기(multiple). 프로필 카테고리처럼 3개까지 고르는 시트 안 입력이다. 다 차면 안 고른 칩이 잠기고, 고른 칩을 다시 누르면 풀린다. 칩은 줄을 바꿔 늘어놓는다. */
|
|
60
60
|
export declare const Multiple: Story;
|
|
61
|
+
export declare const Mobile: Story;
|
|
@@ -30,6 +30,8 @@ declare const meta: {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
args: {
|
|
33
|
+
onEntered: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
34
|
+
onExited: import("@vitest/spy").Mock<(...args: any[]) => any>;
|
|
33
35
|
title: string;
|
|
34
36
|
children: string;
|
|
35
37
|
trigger: import("react/jsx-runtime").JSX.Element;
|
|
@@ -61,3 +63,4 @@ export declare const MotionStrength: Story;
|
|
|
61
63
|
export declare const MotionCloseOnOverlayClick: Story;
|
|
62
64
|
/** 열고 닫으면 애니메이션이 끝난 뒤 onEntered·onExited 가 불린다. */
|
|
63
65
|
export declare const MotionEnterExit: Story;
|
|
66
|
+
export declare const Mobile: Story;
|
|
@@ -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
|
-
border?: (typeof footerBorder)[number] | undefined;
|
|
288
288
|
asChild?: boolean | undefined;
|
|
289
289
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
290
290
|
pressEffect?: boolean | undefined;
|
|
291
|
-
|
|
291
|
+
border?: (typeof footerBorder)[number] | 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,13 +285,11 @@ 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;
|
|
289
|
-
border?: import("./list-type").ListRowBorder | undefined;
|
|
288
|
+
size?: import("./list-type").ListRowSize | undefined;
|
|
290
289
|
asChild?: boolean | undefined;
|
|
291
290
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
292
291
|
pressEffect?: boolean | undefined;
|
|
292
|
+
border?: import("./list-type").ListRowBorder | undefined;
|
|
293
293
|
effectRef?: import("react").Ref<AttentionHandle> | undefined;
|
|
294
294
|
description?: import("react").ReactNode;
|
|
295
295
|
chevron?: 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,12 +299,8 @@ 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
|
-
media?: import("react").ReactNode;
|
|
301
|
-
name?: import("react").ReactNode;
|
|
302
302
|
motion?: (typeof motion)[number] | undefined;
|
|
303
|
-
|
|
303
|
+
media?: import("react").ReactNode;
|
|
304
304
|
side?: (typeof side)[number] | undefined;
|
|
305
305
|
dateTime?: string | undefined;
|
|
306
306
|
ref?: import("react").LegacyRef<HTMLLIElement> | undefined;
|
|
@@ -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;
|