@nurihaus/web-design-system 3.9.2 → 3.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/.storybook/migration.d.ts +1 -0
- package/dist/.storybook/preview.d.ts +49 -0
- package/dist/.storybook/usage.d.ts +23 -0
- package/dist/agreement.js +1110 -0
- package/dist/ai/components.md +4159 -335
- package/dist/ai/motion.md +209 -135
- package/dist/ai/tokens.md +331 -145
- package/dist/alphabet-keypad.js +446 -0
- package/dist/asset.js +370 -0
- package/dist/avatar.js +251 -34
- package/dist/bar-chart.js +478 -0
- package/dist/board-row.js +379 -0
- package/dist/border.js +223 -0
- package/dist/bottom-cta.js +378 -0
- package/dist/bottom-info.js +253 -0
- package/dist/bottom-nav.js +33 -5
- package/dist/bottom-sheet.js +608 -0
- package/dist/breadcrumb.js +6 -3
- package/dist/card.js +5 -2
- package/dist/check-box.js +43 -140
- package/dist/chip-group.js +50 -12
- package/dist/chunk-1563.js +42 -18
- package/dist/chunk-1657.js +7 -3
- package/dist/{chunk-9387.js → chunk-1768.js} +2 -2
- package/dist/chunk-1983.js +136 -0
- package/dist/chunk-2046.js +73 -0
- package/dist/chunk-2060.js +34 -0
- package/dist/chunk-2308.js +184 -0
- package/dist/chunk-2777.js +1 -0
- package/dist/chunk-3091.js +54 -0
- package/dist/chunk-3297.js +130 -0
- package/dist/chunk-3640.js +94 -0
- package/dist/chunk-4109.js +115 -0
- package/dist/chunk-4205.js +47 -0
- package/dist/chunk-4324.js +109 -0
- package/dist/chunk-4328.js +69 -0
- package/dist/chunk-4558.js +18 -118
- package/dist/chunk-4577.js +35 -0
- package/dist/chunk-4917.js +1 -1
- package/dist/chunk-5302.js +111 -0
- package/dist/chunk-5670.js +94 -0
- package/dist/chunk-6096.js +176 -0
- package/dist/chunk-6302.js +10 -10
- package/dist/chunk-6478.js +155 -0
- package/dist/chunk-6499.js +39 -0
- package/dist/{chunk-5226.js → chunk-6616.js} +47 -42
- package/dist/chunk-6706.js +64 -0
- package/dist/chunk-674.js +133 -0
- package/dist/chunk-7024.js +152 -0
- package/dist/chunk-7232.js +122 -0
- package/dist/chunk-7298.js +1 -1
- package/dist/chunk-7302.js +66 -0
- package/dist/chunk-7460.js +204 -0
- package/dist/chunk-7589.js +40 -0
- package/dist/chunk-7593.js +85 -0
- package/dist/chunk-7653.js +16 -0
- package/dist/chunk-7737.js +21 -0
- package/dist/chunk-7739.js +1 -5
- package/dist/chunk-829.js +38 -0
- package/dist/chunk-8491.js +43 -0
- package/dist/chunk-8734.js +33 -0
- package/dist/chunk-8787.js +80 -0
- package/dist/chunk-8933.js +14 -2
- package/dist/chunk-8982.js +186 -0
- package/dist/chunk-910.js +82 -27
- package/dist/chunk-948.js +166 -0
- package/dist/chunk-9497.js +11 -1
- package/dist/collapsible-menu.js +39 -14
- package/dist/components/agreement/agreement-props.d.ts +44 -0
- package/dist/components/agreement/agreement-type.d.ts +107 -0
- package/dist/components/agreement/agreement.d.ts +26 -0
- package/dist/components/agreement/agreement.stories.d.ts +72 -0
- package/dist/components/agreement/base-agreement.d.ts +40 -0
- package/dist/components/asset/asset-props.d.ts +43 -0
- package/dist/components/asset/asset-type.d.ts +71 -0
- package/dist/components/asset/asset.d.ts +23 -0
- package/dist/components/asset/asset.stories.d.ts +71 -0
- package/dist/components/asset/base-asset.d.ts +11 -0
- package/dist/components/avatar/avatar-props.d.ts +1 -0
- package/dist/components/avatar/avatar-type.d.ts +6 -4
- package/dist/components/avatar/avatar.stories.d.ts +10 -0
- package/dist/components/badge/badge-type.d.ts +10 -4
- package/dist/components/badge/badge.stories.d.ts +15 -0
- package/dist/components/bar-chart/bar-chart-fill.d.ts +6 -0
- package/dist/components/bar-chart/bar-chart-props.d.ts +17 -0
- package/dist/components/bar-chart/bar-chart-type.d.ts +52 -0
- package/dist/components/bar-chart/bar-chart.d.ts +4 -0
- package/dist/components/bar-chart/bar-chart.stories.d.ts +65 -0
- package/dist/components/bar-chart/base-bar-chart.d.ts +17 -0
- package/dist/components/board-row/base-board-row.d.ts +13 -0
- package/dist/components/board-row/board-row-props.d.ts +2 -0
- package/dist/components/board-row/board-row-type.d.ts +22 -0
- package/dist/components/board-row/board-row.d.ts +8 -0
- package/dist/components/board-row/board-row.stories.d.ts +32 -0
- package/dist/components/border/base-border.d.ts +4 -0
- package/dist/components/border/border-props.d.ts +10 -0
- package/dist/components/border/border-type.d.ts +7 -0
- package/dist/components/border/border.d.ts +5 -0
- package/dist/components/border/border.stories.d.ts +19 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +12 -5
- package/dist/components/bottom-cta/base-bottom-cta.d.ts +4 -0
- package/dist/components/bottom-cta/bottom-cta-props.d.ts +10 -0
- package/dist/components/bottom-cta/bottom-cta-type.d.ts +39 -0
- package/dist/components/bottom-cta/bottom-cta.d.ts +35 -0
- package/dist/components/bottom-cta/bottom-cta.stories.d.ts +79 -0
- package/dist/components/bottom-info/base-bottom-info.d.ts +4 -0
- package/dist/components/bottom-info/bottom-info-props.d.ts +1 -0
- package/dist/components/bottom-info/bottom-info-type.d.ts +6 -0
- package/dist/components/bottom-info/bottom-info.d.ts +4 -0
- package/dist/components/bottom-info/bottom-info.stories.d.ts +22 -0
- package/dist/components/bottom-nav/bottom-nav-type.d.ts +2 -1
- package/dist/components/bottom-nav/bottom-nav.stories.d.ts +16 -1
- package/dist/components/bottom-sheet/base-bottom-sheet.d.ts +17 -0
- package/dist/components/bottom-sheet/bottom-sheet-props.d.ts +1 -0
- package/dist/components/bottom-sheet/bottom-sheet-snap.d.ts +15 -0
- package/dist/components/bottom-sheet/bottom-sheet-type.d.ts +55 -0
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +4 -0
- package/dist/components/bottom-sheet/bottom-sheet.stories.d.ts +47 -0
- package/dist/components/breadcrumb/breadcrumb-type.d.ts +2 -1
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +15 -0
- package/dist/components/button/button-appearance.d.ts +50 -0
- package/dist/components/button/button-props.d.ts +12 -3
- package/dist/components/button/button-type.d.ts +14 -4
- package/dist/components/button/button.stories.d.ts +34 -3
- package/dist/components/button/cta-button.d.ts +1 -1
- package/dist/components/callout/callout.stories.d.ts +11 -0
- package/dist/components/card/card-type.d.ts +2 -1
- package/dist/components/card/card.stories.d.ts +9 -0
- package/dist/components/check-box/check-box-props.d.ts +8 -0
- package/dist/components/check-box/check-box-type.d.ts +10 -3
- package/dist/components/check-box/check-box.stories.d.ts +32 -1
- package/dist/components/chip-group/chip-group-props.d.ts +13 -1
- package/dist/components/chip-group/chip-group-type.d.ts +5 -1
- package/dist/components/chip-group/chip-group.stories.d.ts +30 -0
- package/dist/components/collapsible-menu/collapsible-menu-type.d.ts +6 -2
- package/dist/components/collapsible-menu/collapsible-menu.stories.d.ts +12 -0
- package/dist/components/core/composer/index.d.ts +2 -0
- package/dist/components/description-list/description-list.stories.d.ts +7 -0
- package/dist/components/drawer/base-drawer.d.ts +2 -4
- package/dist/components/drawer/drawer-type.d.ts +17 -2
- package/dist/components/drawer/drawer.stories.d.ts +21 -0
- package/dist/components/drop-down/drop-down-type.d.ts +4 -2
- package/dist/components/drop-down/drop-down.stories.d.ts +16 -0
- package/dist/components/elements/text/text-props.d.ts +4 -3
- package/dist/components/elements/text/text-type.d.ts +3 -2
- package/dist/components/elements/text/text.stories.d.ts +13 -1
- package/dist/components/empty-state/empty-state-props.d.ts +5 -3
- package/dist/components/empty-state/empty-state-type.d.ts +17 -5
- package/dist/components/empty-state/empty-state.d.ts +8 -3
- package/dist/components/empty-state/empty-state.stories.d.ts +328 -11
- package/dist/components/grid-list/base-grid-list.d.ts +10 -0
- package/dist/components/grid-list/grid-list-props.d.ts +11 -0
- package/dist/components/grid-list/grid-list-type.d.ts +24 -0
- package/dist/components/grid-list/grid-list.d.ts +6 -0
- package/dist/components/grid-list/grid-list.stories.d.ts +30 -0
- package/dist/components/highlight/base-highlight.d.ts +14 -0
- package/dist/components/highlight/highlight-props.d.ts +2 -0
- package/dist/components/highlight/highlight-type.d.ts +42 -0
- package/dist/components/highlight/highlight.d.ts +4 -0
- package/dist/components/highlight/highlight.stories.d.ts +31 -0
- package/dist/components/icon/icon-paths.d.ts +16 -0
- package/dist/components/icon/icon.stories.d.ts +11 -1
- package/dist/components/icon-button/icon-button-type.d.ts +4 -1
- package/dist/components/icon-button/icon-button.stories.d.ts +11 -0
- package/dist/components/keypad/alphabet-keypad.d.ts +4 -0
- package/dist/components/keypad/alphabet-keypad.stories.d.ts +24 -0
- package/dist/components/keypad/base-keypad.d.ts +6 -0
- package/dist/components/keypad/full-secure-keypad.d.ts +4 -0
- package/dist/components/keypad/full-secure-keypad.stories.d.ts +26 -0
- package/dist/components/keypad/keypad-layout.d.ts +16 -0
- package/dist/components/keypad/keypad-props.d.ts +16 -0
- package/dist/components/keypad/keypad-type.d.ts +66 -0
- package/dist/components/keypad/number-keypad.d.ts +4 -0
- package/dist/components/keypad/number-keypad.stories.d.ts +26 -0
- package/dist/components/keypad/use-keypad-decoys.d.ts +10 -0
- package/dist/components/list/base-list.d.ts +3 -0
- package/dist/components/list/list-footer.d.ts +5 -0
- package/dist/components/list/list-footer.stories.d.ts +304 -0
- package/dist/components/list/list-group.d.ts +1 -1
- package/dist/components/list/list-group.stories.d.ts +9 -0
- package/dist/components/list/list-header.d.ts +5 -0
- package/dist/components/list/list-header.stories.d.ts +302 -0
- package/dist/components/list/list-props.d.ts +33 -1
- package/dist/components/list/list-row.d.ts +5 -4
- package/dist/components/list/list-row.stories.d.ts +33 -9
- package/dist/components/list/list-type.d.ts +46 -3
- package/dist/components/loading/index.d.ts +4 -0
- package/dist/components/loading/inline-loading/base-inline-loading.d.ts +3 -2
- package/dist/components/loading/inline-loading/inline-loading-props.d.ts +3 -0
- package/dist/components/loading/inline-loading/inline-loading-type.d.ts +6 -6
- package/dist/components/loading/inline-loading/inline-loading.stories.d.ts +28 -2
- package/dist/components/loading/loading-dots/base-loading-dots.d.ts +4 -0
- package/dist/components/loading/loading-dots/loading-dots-props.d.ts +4 -0
- package/dist/components/loading/loading-dots/loading-dots-type.d.ts +6 -0
- package/dist/components/loading/loading-dots/loading-dots.d.ts +4 -0
- package/dist/components/loading/loading-dots/loading-dots.stories.d.ts +37 -0
- package/dist/components/loading/loading-props.d.ts +9 -0
- package/dist/components/loading/loading-type.d.ts +9 -0
- package/dist/components/loading/loading.stories.d.ts +15 -0
- package/dist/components/loading/overlay-loading/overlay-loading-type.d.ts +4 -0
- package/dist/components/loading/overlay-loading/overlay-loading.stories.d.ts +17 -0
- package/dist/components/loading/progress-bar/base-progress-bar.d.ts +3 -0
- package/dist/components/loading/progress-bar/progress-bar-props.d.ts +4 -0
- package/dist/components/loading/progress-bar/progress-bar-type.d.ts +19 -0
- package/dist/components/loading/progress-bar/progress-bar.d.ts +4 -0
- package/dist/components/loading/progress-bar/progress-bar.stories.d.ts +63 -0
- package/dist/components/loading/spinner/spinner-props.d.ts +4 -1
- package/dist/components/loading/spinner/spinner-type.d.ts +3 -1
- package/dist/components/loading/spinner/spinner.d.ts +2 -1
- package/dist/components/loading/spinner/spinner.stories.d.ts +30 -4
- package/dist/components/logging/logging-type.d.ts +1 -1
- package/dist/components/logging/logging.stories.d.ts +5 -0
- package/dist/components/media/media-thumbnail.stories.d.ts +9 -0
- package/dist/components/media/media-type.d.ts +2 -1
- package/dist/components/media/media-viewer.stories.d.ts +7 -0
- package/dist/components/menu/base-menu.d.ts +21 -0
- package/dist/components/menu/menu-props.d.ts +2 -0
- package/dist/components/menu/menu-type.d.ts +70 -0
- package/dist/components/menu/menu.d.ts +8 -0
- package/dist/components/menu/menu.stories.d.ts +54 -0
- package/dist/components/message/message.stories.d.ts +16 -9
- package/dist/components/message-composer/message-composer-type.d.ts +2 -1
- package/dist/components/message-composer/message-composer.stories.d.ts +10 -0
- package/dist/components/modal/modal-type.d.ts +22 -3
- package/dist/components/modal/modal-with-double-button.stories.d.ts +15 -0
- package/dist/components/modal/modal.stories.d.ts +16 -0
- package/dist/components/motion/motion.stories.d.ts +7 -0
- package/dist/components/notice/notice-type.d.ts +1 -1
- package/dist/components/notice/notice.stories.d.ts +12 -5
- package/dist/components/numeric-spinner/base-numeric-spinner.d.ts +8 -0
- package/dist/components/numeric-spinner/numeric-spinner-props.d.ts +5 -0
- package/dist/components/numeric-spinner/numeric-spinner-type.d.ts +29 -0
- package/dist/components/numeric-spinner/numeric-spinner.d.ts +4 -0
- package/dist/components/numeric-spinner/numeric-spinner.stories.d.ts +36 -0
- package/dist/components/overlay/overlay-context.d.ts +44 -0
- package/dist/components/overlay/overlay-provider.d.ts +6 -0
- package/dist/components/overlay/overlay-type.d.ts +68 -0
- package/dist/components/overlay/overlay.d.ts +5 -0
- package/dist/components/overlay/overlay.stories.d.ts +36 -0
- package/dist/components/overlay/use-bottom-sheet.d.ts +3 -0
- package/dist/components/overlay/use-dialog.d.ts +3 -0
- package/dist/components/overlay/use-toast.d.ts +3 -0
- package/dist/components/pagination/pagination-type.d.ts +2 -1
- package/dist/components/pagination/pagination.stories.d.ts +15 -0
- package/dist/components/paragraph/base-paragraph.d.ts +14 -0
- package/dist/components/paragraph/paragraph-props.d.ts +25 -0
- package/dist/components/paragraph/paragraph-type.d.ts +33 -0
- package/dist/components/paragraph/paragraph.d.ts +9 -0
- package/dist/components/paragraph/paragraph.stories.d.ts +54 -0
- package/dist/components/post/base-post.d.ts +19 -0
- package/dist/components/post/post-props.d.ts +31 -0
- package/dist/components/post/post-type.d.ts +34 -0
- package/dist/components/post/post.d.ts +16 -0
- package/dist/components/post/post.stories.d.ts +35 -0
- package/dist/components/radio/base-radio.d.ts +5 -2
- package/dist/components/radio/radio-type.d.ts +11 -3
- package/dist/components/radio/radio.stories.d.ts +20 -2
- package/dist/components/rating/base-rating.d.ts +11 -0
- package/dist/components/rating/rating-props.d.ts +11 -0
- package/dist/components/rating/rating-type.d.ts +46 -0
- package/dist/components/rating/rating.d.ts +4 -0
- package/dist/components/rating/rating.stories.d.ts +35 -0
- package/dist/components/search-field/base-search-field.d.ts +4 -0
- package/dist/components/search-field/search-field-props.d.ts +2 -0
- package/dist/components/search-field/search-field-type.d.ts +25 -0
- package/dist/components/search-field/search-field.d.ts +8 -0
- package/dist/components/search-field/search-field.stories.d.ts +39 -0
- package/dist/components/segmented-control/base-segmented-control.d.ts +8 -0
- package/dist/components/segmented-control/segmented-control-props.d.ts +5 -0
- package/dist/components/segmented-control/segmented-control-type.d.ts +31 -0
- package/dist/components/segmented-control/segmented-control.d.ts +4 -0
- package/dist/components/segmented-control/segmented-control.stories.d.ts +39 -0
- package/dist/components/skeleton/base-skeleton.d.ts +7 -3
- package/dist/components/skeleton/skeleton-group-props.d.ts +4 -0
- package/dist/components/skeleton/skeleton-group-type.d.ts +47 -0
- package/dist/components/skeleton/skeleton-group.d.ts +4 -0
- package/dist/components/skeleton/skeleton-group.stories.d.ts +57 -0
- package/dist/components/skeleton/skeleton-type.d.ts +1 -0
- package/dist/components/skeleton/skeleton.stories.d.ts +18 -7
- package/dist/components/slider/base-slider.d.ts +13 -0
- package/dist/components/slider/slider-props.d.ts +10 -0
- package/dist/components/slider/slider-type.d.ts +46 -0
- package/dist/components/slider/slider.d.ts +4 -0
- package/dist/components/slider/slider.stories.d.ts +38 -0
- package/dist/components/split-text-field/base-split-text-field.d.ts +4 -0
- package/dist/components/split-text-field/split-text-field-props.d.ts +23 -0
- package/dist/components/split-text-field/split-text-field-type.d.ts +46 -0
- package/dist/components/split-text-field/split-text-field.d.ts +7 -0
- package/dist/components/split-text-field/split-text-field.stories.d.ts +38 -0
- package/dist/components/step-progress/step-progress-props.d.ts +10 -0
- package/dist/components/step-progress/step-progress-type.d.ts +22 -3
- package/dist/components/step-progress/step-progress.d.ts +1 -1
- package/dist/components/step-progress/step-progress.stories.d.ts +40 -0
- package/dist/components/switch/base-switch.d.ts +2 -4
- package/dist/components/switch/switch-type.d.ts +5 -2
- package/dist/components/switch/switch.stories.d.ts +22 -0
- package/dist/components/table/table-type.d.ts +2 -1
- package/dist/components/table/table.stories.d.ts +23 -0
- package/dist/components/table-row/base-table-row.d.ts +4 -0
- package/dist/components/table-row/table-row-props.d.ts +14 -0
- package/dist/components/table-row/table-row-type.d.ts +13 -0
- package/dist/components/table-row/table-row.d.ts +5 -0
- package/dist/components/table-row/table-row.stories.d.ts +24 -0
- package/dist/components/tabs/tabs-type.d.ts +4 -1
- package/dist/components/tabs/tabs.stories.d.ts +17 -0
- package/dist/components/tag/tag-type.d.ts +2 -1
- package/dist/components/tag/tag.stories.d.ts +9 -0
- package/dist/components/text-area/base-text-area.d.ts +2 -1
- package/dist/components/text-area/text-area-type.d.ts +11 -3
- package/dist/components/text-area/text-area.stories.d.ts +15 -0
- package/dist/components/text-button/base-text-button.d.ts +3 -0
- package/dist/components/text-button/text-button-props.d.ts +19 -0
- package/dist/components/text-button/text-button-type.d.ts +17 -0
- package/dist/components/text-button/text-button.d.ts +5 -0
- package/dist/components/text-button/text-button.stories.d.ts +47 -0
- package/dist/components/text-field/base-text-field.d.ts +12 -6
- package/dist/components/text-field/text-field-type.d.ts +39 -7
- package/dist/components/text-field/text-field.stories.d.ts +32 -5
- package/dist/components/toast/toast-type.d.ts +4 -1
- package/dist/components/toast/toast.stories.d.ts +22 -7
- package/dist/components/tooltip/tooltip-type.d.ts +4 -1
- package/dist/components/tooltip/tooltip.stories.d.ts +11 -0
- package/dist/components/top/base-top.d.ts +4 -0
- package/dist/components/top/top-props.d.ts +12 -0
- package/dist/components/top/top-type.d.ts +20 -0
- package/dist/components/top/top.d.ts +5 -0
- package/dist/components/top/top.stories.d.ts +320 -0
- package/dist/components.css +4192 -860
- package/dist/cta-button.js +96 -33
- package/dist/data-table.js +5 -3
- package/dist/drawer.js +90 -119
- package/dist/drop-down.js +19 -11
- package/dist/empty-state.js +16 -7
- package/dist/full-secure-keypad.js +524 -0
- package/dist/grid-list.js +378 -0
- package/dist/helpers/hooks/useCloseOnBackEvent.d.ts +12 -0
- package/dist/helpers/hooks/useFieldClear.d.ts +21 -0
- package/dist/helpers/hooks/useIndicatorPosition.d.ts +7 -0
- package/dist/helpers/hooks/useKeyboardInset.d.ts +5 -0
- package/dist/helpers/hooks/useReturnFocus.d.ts +9 -0
- package/dist/helpers/hooks/useScrollStart.d.ts +9 -0
- package/dist/helpers/motion/appear.d.ts +3 -0
- package/dist/helpers/motion/effects.d.ts +9 -0
- package/dist/helpers/motion/motion-props.d.ts +35 -0
- package/dist/helpers/motion/stagger.d.ts +3 -0
- package/dist/helpers/motion/use-appear.d.ts +12 -0
- package/dist/helpers/motion/use-attention-handle.d.ts +7 -0
- package/dist/helpers/motion/use-confirm-spring.d.ts +7 -0
- package/dist/helpers/motion/use-effect-trigger.d.ts +11 -0
- package/dist/helpers/motion/use-hide-on-scroll.d.ts +12 -0
- package/dist/helpers/motion/use-presence-callbacks.d.ts +13 -0
- package/dist/helpers/motion/use-reveal-children.d.ts +6 -0
- package/dist/helpers/types/propsDef.d.ts +4 -2
- package/dist/highlight.js +492 -0
- package/dist/icon-button.js +55 -96
- package/dist/icon-text-badge.js +29 -17
- package/dist/icon-text-option-badge.js +21 -13
- package/dist/index.d.ts +60 -5
- package/dist/index.js +15039 -5437
- package/dist/list-footer.js +339 -0
- package/dist/list-group.js +61 -18
- package/dist/list-header.js +293 -0
- package/dist/list-row.js +246 -26
- package/dist/loading.js +203 -40
- package/dist/media-thumbnail.js +11 -7
- package/dist/menu.js +527 -0
- package/dist/message-composer.js +15 -11
- package/dist/modal-with-double-button.js +76 -54
- package/dist/modal.js +97 -29
- package/dist/notice.js +19 -11
- package/dist/number-keypad.js +436 -0
- package/dist/numeric-spinner.js +396 -0
- package/dist/option-badge.js +29 -17
- package/dist/overlay.js +1747 -0
- package/dist/pagination.js +13 -9
- package/dist/paragraph.js +286 -0
- package/dist/post.js +568 -0
- package/dist/radio.js +119 -21
- package/dist/rating.js +437 -0
- package/dist/scripts/usage-doc.d.mts +83 -0
- package/dist/search-field.js +516 -0
- package/dist/segmented-control.js +409 -0
- package/dist/skeleton-group.js +322 -0
- package/dist/skeleton.js +26 -112
- package/dist/slider.js +419 -0
- package/dist/split-text-field.js +498 -0
- package/dist/step-progress.js +125 -16
- package/dist/styles.css +4063 -838
- package/dist/switch.js +91 -17
- package/dist/table-row.js +284 -0
- package/dist/tabs.js +62 -64
- package/dist/tag.js +4 -2
- package/dist/text-area.js +83 -31
- package/dist/text-button.js +357 -0
- package/dist/text-field.js +126 -156
- package/dist/text.js +5 -7
- package/dist/toast.js +100 -241
- package/dist/tokens/generated/motion.d.ts +21 -4
- package/dist/tokens/generated/semantic-admin.d.ts +103 -46
- package/dist/tokens/generated/semantic-app.d.ts +164 -16
- package/dist/tokens.css +636 -105
- package/dist/tokens.js +293 -71
- package/dist/tooltip.js +50 -22
- package/dist/top.js +312 -0
- package/package.json +120 -2
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
|
|
4
|
+
/******/ var __webpack_modules__ = ({
|
|
5
|
+
|
|
6
|
+
/***/ 2829
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
|
|
13
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
|
|
14
|
+
/* harmony import */ var _helpers_hooks_useTrack__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(4560);
|
|
15
|
+
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(3274);
|
|
16
|
+
/* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(7335);
|
|
17
|
+
/* harmony import */ var _icon_icon__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(3547);
|
|
18
|
+
/* harmony import */ var _loading_loading_dots_loading_dots__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(5302);
|
|
19
|
+
/* harmony import */ var _base_list__WEBPACK_IMPORTED_MODULE_7__ = __nuri_require__(9497);
|
|
20
|
+
/* harmony import */ var _list_props__WEBPACK_IMPORTED_MODULE_8__ = __nuri_require__(1212);
|
|
21
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
22
|
+
__assign = Object.assign || function (t) {
|
|
23
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
24
|
+
s = arguments[i];
|
|
25
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
26
|
+
}
|
|
27
|
+
return t;
|
|
28
|
+
};
|
|
29
|
+
return __assign.apply(this, arguments);
|
|
30
|
+
};
|
|
31
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
32
|
+
var t = {};
|
|
33
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
34
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
35
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/** 목록 끝의 "더 보기" 줄. onClick 이면 button, asChild 면 넘긴 링크가 줄이 된다. 둘 다 없으면 div 다 */
|
|
49
|
+
var ListFooter = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
50
|
+
var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_4__/* .getMergedProps */ .p)(props, _list_props__WEBPACK_IMPORTED_MODULE_8__/* .listFooterProps */ .qE),
|
|
51
|
+
className = _a.className,
|
|
52
|
+
children = _a.children,
|
|
53
|
+
_b = _a.icon,
|
|
54
|
+
icon = _b === void 0 ? 'caret-down' : _b,
|
|
55
|
+
asChild = _a.asChild,
|
|
56
|
+
onClick = _a.onClick,
|
|
57
|
+
_c = _a.loading,
|
|
58
|
+
loading = _c === void 0 ? false : _c,
|
|
59
|
+
_d = _a.pressEffect,
|
|
60
|
+
pressEffect = _d === void 0 ? true : _d,
|
|
61
|
+
track = _a.track,
|
|
62
|
+
trackProps = _a.trackProps,
|
|
63
|
+
restProps = __rest(_a, ["className", "children", "icon", "asChild", "onClick", "loading", "pressEffect", "track", "trackProps"]);
|
|
64
|
+
var emit = (0,_helpers_hooks_useTrack__WEBPACK_IMPORTED_MODULE_2__/* .useTrack */ .n)('ListFooter', {
|
|
65
|
+
track: track,
|
|
66
|
+
trackProps: trackProps
|
|
67
|
+
});
|
|
68
|
+
// asChild 면 링크가 자기 글자를 갖고 온다. 그 글자를 꺼내 아이콘과 함께 다시 채운다
|
|
69
|
+
var linkChild = asChild && /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)(children) ? children : null;
|
|
70
|
+
var text = linkChild ? linkChild.props.children : children;
|
|
71
|
+
var content = loading ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_loading_loading_dots_loading_dots__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A, {
|
|
72
|
+
className: 'list-footer-indicator',
|
|
73
|
+
size: 's',
|
|
74
|
+
delay: false
|
|
75
|
+
}) : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
|
|
76
|
+
children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", {
|
|
77
|
+
className: 'list-footer-text',
|
|
78
|
+
children: text
|
|
79
|
+
}), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_icon_icon__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A, {
|
|
80
|
+
className: 'list-footer-icon',
|
|
81
|
+
name: icon,
|
|
82
|
+
size: 's'
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
85
|
+
var buttonRow = onClick ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", {
|
|
86
|
+
type: 'button',
|
|
87
|
+
children: content
|
|
88
|
+
}) : null;
|
|
89
|
+
var rowElement = linkChild ? /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(linkChild, undefined, content) : buttonRow;
|
|
90
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_base_list__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A.Row, __assign({
|
|
91
|
+
ref: ref,
|
|
92
|
+
// 폭이 꽉 찬 줄이라 눌림은 딤만 쓴다(press form dim). 보기만 하는 줄과 불러오는 동안은 받지 않는다
|
|
93
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)(className, 'list-footer', pressEffect && rowElement && !loading && 'motion-press-dim'),
|
|
94
|
+
asChild: rowElement !== null,
|
|
95
|
+
"aria-busy": loading || undefined,
|
|
96
|
+
onClick: rowElement ? function (event) {
|
|
97
|
+
if (loading) {
|
|
98
|
+
event.preventDefault();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
emit(linkChild ? 'navigate' : 'click');
|
|
102
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
103
|
+
} : undefined
|
|
104
|
+
}, restProps, {
|
|
105
|
+
children: rowElement !== null && rowElement !== void 0 ? rowElement : content
|
|
106
|
+
}));
|
|
107
|
+
});
|
|
108
|
+
ListFooter.displayName = 'ListFooter';
|
|
109
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListFooter);
|
|
110
|
+
|
|
111
|
+
/***/ },
|
|
112
|
+
|
|
113
|
+
/***/ 1212
|
|
114
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
115
|
+
|
|
116
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
117
|
+
/* harmony export */ qE: () => (/* binding */ listFooterProps)
|
|
118
|
+
/* harmony export */ });
|
|
119
|
+
/* unused harmony exports sizes, border, footerBorder, descriptionPosition, rightAlign, listGroupProps, listRowProps, listHeaderProps */
|
|
120
|
+
/* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(7298);
|
|
121
|
+
|
|
122
|
+
/** 행 높이. px 은 styles/token/size.css 의 --list-row-height-* */
|
|
123
|
+
var sizes = ['s', 'm', 'l'];
|
|
124
|
+
/** 이 행과 다음 행 사이의 선. indented 는 왼쪽을 안쪽 여백만큼 띄운다 */
|
|
125
|
+
var border = ['indented', 'full', 'none'];
|
|
126
|
+
/** ListFooter 위쪽 선 */
|
|
127
|
+
var footerBorder = ['full', 'indented', 'none'];
|
|
128
|
+
var descriptionPosition = (/* unused pure expression or super */ null && (['top', 'bottom']));
|
|
129
|
+
var rightAlign = ['center', 'bottom'];
|
|
130
|
+
var listGroupProps = {};
|
|
131
|
+
var listRowProps = {
|
|
132
|
+
size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'm'),
|
|
133
|
+
border: {
|
|
134
|
+
type: 'className',
|
|
135
|
+
className: 'border',
|
|
136
|
+
values: border,
|
|
137
|
+
"default": 'indented'
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
var listHeaderProps = {
|
|
141
|
+
rightAlign: {
|
|
142
|
+
type: 'className',
|
|
143
|
+
className: 'right-align',
|
|
144
|
+
values: rightAlign,
|
|
145
|
+
"default": 'center'
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
var listFooterProps = {
|
|
149
|
+
border: {
|
|
150
|
+
type: 'className',
|
|
151
|
+
className: 'border',
|
|
152
|
+
values: footerBorder,
|
|
153
|
+
"default": 'full'
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/***/ },
|
|
158
|
+
|
|
159
|
+
/***/ 1041
|
|
160
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
161
|
+
|
|
162
|
+
var x = (y) => {
|
|
163
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
164
|
+
}
|
|
165
|
+
var y = (x) => (() => (x))
|
|
166
|
+
module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["createContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.createContext), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useCallback"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useCallback), ["useContext"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useContext), ["useRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useRef) });
|
|
167
|
+
|
|
168
|
+
/***/ },
|
|
169
|
+
|
|
170
|
+
/***/ 612
|
|
171
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
172
|
+
|
|
173
|
+
var x = (y) => {
|
|
174
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
175
|
+
}
|
|
176
|
+
var y = (x) => (() => (x))
|
|
177
|
+
module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.Fragment), ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
178
|
+
|
|
179
|
+
/***/ }
|
|
180
|
+
|
|
181
|
+
/******/ });
|
|
182
|
+
/************************************************************************/
|
|
183
|
+
/******/ // The module cache
|
|
184
|
+
/******/ var __webpack_module_cache__ = {};
|
|
185
|
+
/******/
|
|
186
|
+
/******/ // The require function
|
|
187
|
+
/******/ function __nuri_require__(moduleId) {
|
|
188
|
+
/******/ // Check if module is in cache
|
|
189
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
190
|
+
/******/ if (cachedModule !== undefined) {
|
|
191
|
+
/******/ return cachedModule.exports;
|
|
192
|
+
/******/ }
|
|
193
|
+
/******/ // Create a new module (and put it into the cache)
|
|
194
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
195
|
+
/******/ // no module.id needed
|
|
196
|
+
/******/ // no module.loaded needed
|
|
197
|
+
/******/ exports: {}
|
|
198
|
+
/******/ };
|
|
199
|
+
/******/
|
|
200
|
+
/******/ // Execute the module function
|
|
201
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
202
|
+
/******/
|
|
203
|
+
/******/ // Return the exports of the module
|
|
204
|
+
/******/ return module.exports;
|
|
205
|
+
/******/ }
|
|
206
|
+
/******/
|
|
207
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
208
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
209
|
+
/******/
|
|
210
|
+
/************************************************************************/
|
|
211
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
212
|
+
/******/ (() => {
|
|
213
|
+
/******/ var deferred = [];
|
|
214
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
215
|
+
/******/ if(chunkIds) {
|
|
216
|
+
/******/ priority = priority || 0;
|
|
217
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
218
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
219
|
+
/******/ return;
|
|
220
|
+
/******/ }
|
|
221
|
+
/******/ var notFulfilled = Infinity;
|
|
222
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
223
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
224
|
+
/******/ var fulfilled = true;
|
|
225
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
226
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
227
|
+
/******/ chunkIds.splice(j--, 1);
|
|
228
|
+
/******/ } else {
|
|
229
|
+
/******/ fulfilled = false;
|
|
230
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
231
|
+
/******/ }
|
|
232
|
+
/******/ }
|
|
233
|
+
/******/ if(fulfilled) {
|
|
234
|
+
/******/ deferred.splice(i--, 1)
|
|
235
|
+
/******/ var r = fn();
|
|
236
|
+
/******/ if (r !== undefined) result = r;
|
|
237
|
+
/******/ }
|
|
238
|
+
/******/ }
|
|
239
|
+
/******/ return result;
|
|
240
|
+
/******/ };
|
|
241
|
+
/******/ })();
|
|
242
|
+
/******/
|
|
243
|
+
/******/ /* webpack/runtime/define property getters */
|
|
244
|
+
/******/ (() => {
|
|
245
|
+
/******/ // define getter functions for harmony exports
|
|
246
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
247
|
+
/******/ for(var key in definition) {
|
|
248
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
249
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
250
|
+
/******/ }
|
|
251
|
+
/******/ }
|
|
252
|
+
/******/ };
|
|
253
|
+
/******/ })();
|
|
254
|
+
/******/
|
|
255
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
256
|
+
/******/ (() => {
|
|
257
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
258
|
+
/******/ })();
|
|
259
|
+
/******/
|
|
260
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
261
|
+
/******/ export { __nuri_require__ };
|
|
262
|
+
/******/
|
|
263
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
264
|
+
/******/ (() => {
|
|
265
|
+
/******/ // no baseURI
|
|
266
|
+
/******/
|
|
267
|
+
/******/ // object to store loaded and loading chunks
|
|
268
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
269
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
270
|
+
/******/ var installedChunks = {
|
|
271
|
+
/******/ 6973: 0
|
|
272
|
+
/******/ };
|
|
273
|
+
/******/
|
|
274
|
+
/******/ var installChunk = (data) => {
|
|
275
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
276
|
+
/******/ // add "modules" to the modules object,
|
|
277
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
278
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
279
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
280
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
281
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
282
|
+
/******/ }
|
|
283
|
+
/******/ }
|
|
284
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
285
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
286
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
287
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
288
|
+
/******/ installedChunks[chunkId][0]();
|
|
289
|
+
/******/ }
|
|
290
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
291
|
+
/******/ }
|
|
292
|
+
/******/ __nuri_require__.O();
|
|
293
|
+
/******/ }
|
|
294
|
+
/******/
|
|
295
|
+
/******/ // no chunk on demand loading
|
|
296
|
+
/******/
|
|
297
|
+
/******/ // no prefetching
|
|
298
|
+
/******/
|
|
299
|
+
/******/ // no preloaded
|
|
300
|
+
/******/
|
|
301
|
+
/******/ __nuri_require__.C = installChunk;
|
|
302
|
+
/******/
|
|
303
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
304
|
+
/******/ // no HMR
|
|
305
|
+
/******/
|
|
306
|
+
/******/ // no HMR manifest
|
|
307
|
+
/******/ })();
|
|
308
|
+
/******/
|
|
309
|
+
/************************************************************************/
|
|
310
|
+
/******/
|
|
311
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-3274.js";
|
|
312
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
313
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
314
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
315
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-4560.js";
|
|
316
|
+
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
317
|
+
/******/ import * as __webpack_chunk_4__ from "./chunk-7298.js";
|
|
318
|
+
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
319
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-7653.js";
|
|
320
|
+
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
321
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-3547.js";
|
|
322
|
+
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
323
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-2777.js";
|
|
324
|
+
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
325
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-8734.js";
|
|
326
|
+
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
327
|
+
/******/ import * as __webpack_chunk_9__ from "./chunk-5302.js";
|
|
328
|
+
/******/ __nuri_require__.C(__webpack_chunk_9__);
|
|
329
|
+
/******/ import * as __webpack_chunk_10__ from "./chunk-9497.js";
|
|
330
|
+
/******/ __nuri_require__.C(__webpack_chunk_10__);
|
|
331
|
+
/******/
|
|
332
|
+
/******/ // startup
|
|
333
|
+
/******/ // Load entry module and return exports
|
|
334
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
335
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,7653,3547,2777,8734,5302,9497], () => (__nuri_require__(2829)))
|
|
336
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
337
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
338
|
+
/******/ export { __webpack_exports__default as default };
|
|
339
|
+
/******/
|
package/dist/list-group.js
CHANGED
|
@@ -11,10 +11,11 @@ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/j
|
|
|
11
11
|
/* harmony export */ });
|
|
12
12
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
|
|
13
13
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(1041);
|
|
14
|
-
/* harmony import */ var
|
|
15
|
-
/* harmony import */ var
|
|
16
|
-
/* harmony import */ var
|
|
17
|
-
/* harmony import */ var
|
|
14
|
+
/* harmony import */ var _helpers_motion_use_reveal_children__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(3091);
|
|
15
|
+
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(3274);
|
|
16
|
+
/* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(7335);
|
|
17
|
+
/* harmony import */ var _base_list__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(9497);
|
|
18
|
+
/* harmony import */ var _list_props__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(1212);
|
|
18
19
|
var __assign = undefined && undefined.__assign || function () {
|
|
19
20
|
__assign = Object.assign || function (t) {
|
|
20
21
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -39,18 +40,21 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
|
|
44
|
+
/** ListRow 를 흰 면 하나에 묶는다. label 을 주면 면 위에 작은 제목을 달고 그룹 이름으로 쓴다. stagger 면 행이 차례로 나타난다 */
|
|
43
45
|
var ListGroup = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
44
|
-
var _a = (0,
|
|
46
|
+
var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_4__/* .getMergedProps */ .p)(props, _list_props__WEBPACK_IMPORTED_MODULE_6__/* .listGroupProps */ .eX),
|
|
45
47
|
className = _a.className,
|
|
46
48
|
label = _a.label,
|
|
49
|
+
stagger = _a.stagger,
|
|
47
50
|
children = _a.children,
|
|
48
|
-
restProps = __rest(_a, ["className", "label", "children"]);
|
|
51
|
+
restProps = __rest(_a, ["className", "label", "stagger", "children"]);
|
|
52
|
+
var rows = (0,_helpers_motion_use_reveal_children__WEBPACK_IMPORTED_MODULE_2__/* .useRevealChildren */ .O)(children, stagger);
|
|
49
53
|
var labelId = (0,react__WEBPACK_IMPORTED_MODULE_1__.useId)();
|
|
50
54
|
var hasLabel = label !== undefined && label !== null;
|
|
51
|
-
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(
|
|
55
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_base_list__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A, __assign({
|
|
52
56
|
ref: ref,
|
|
53
|
-
className: (0,
|
|
57
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_3__/* .classNames */ .x)(className, 'list-group'),
|
|
54
58
|
role: hasLabel ? 'group' : undefined,
|
|
55
59
|
"aria-labelledby": hasLabel ? labelId : undefined
|
|
56
60
|
}, restProps, {
|
|
@@ -60,7 +64,7 @@ var ListGroup = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
|
60
64
|
children: label
|
|
61
65
|
}) : null, (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
|
|
62
66
|
className: 'list-group-surface',
|
|
63
|
-
children:
|
|
67
|
+
children: rows
|
|
64
68
|
})]
|
|
65
69
|
}));
|
|
66
70
|
});
|
|
@@ -73,12 +77,45 @@ ListGroup.displayName = 'ListGroup';
|
|
|
73
77
|
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
74
78
|
|
|
75
79
|
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
76
|
-
/* harmony export */
|
|
80
|
+
/* harmony export */ eX: () => (/* binding */ listGroupProps)
|
|
77
81
|
/* harmony export */ });
|
|
78
|
-
/* unused harmony
|
|
79
|
-
|
|
82
|
+
/* unused harmony exports sizes, border, footerBorder, descriptionPosition, rightAlign, listRowProps, listHeaderProps, listFooterProps */
|
|
83
|
+
/* harmony import */ var _helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(7298);
|
|
84
|
+
|
|
85
|
+
/** 행 높이. px 은 styles/token/size.css 의 --list-row-height-* */
|
|
86
|
+
var sizes = ['s', 'm', 'l'];
|
|
87
|
+
/** 이 행과 다음 행 사이의 선. indented 는 왼쪽을 안쪽 여백만큼 띄운다 */
|
|
88
|
+
var border = ['indented', 'full', 'none'];
|
|
89
|
+
/** ListFooter 위쪽 선 */
|
|
90
|
+
var footerBorder = ['full', 'indented', 'none'];
|
|
91
|
+
var descriptionPosition = (/* unused pure expression or super */ null && (['top', 'bottom']));
|
|
92
|
+
var rightAlign = ['center', 'bottom'];
|
|
80
93
|
var listGroupProps = {};
|
|
81
|
-
var listRowProps = {
|
|
94
|
+
var listRowProps = {
|
|
95
|
+
size: (0,_helpers_props_common_props__WEBPACK_IMPORTED_MODULE_0__/* .sizeProp */ .lw)(sizes, 'm'),
|
|
96
|
+
border: {
|
|
97
|
+
type: 'className',
|
|
98
|
+
className: 'border',
|
|
99
|
+
values: border,
|
|
100
|
+
"default": 'indented'
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var listHeaderProps = {
|
|
104
|
+
rightAlign: {
|
|
105
|
+
type: 'className',
|
|
106
|
+
className: 'right-align',
|
|
107
|
+
values: rightAlign,
|
|
108
|
+
"default": 'center'
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
var listFooterProps = {
|
|
112
|
+
border: {
|
|
113
|
+
type: 'className',
|
|
114
|
+
className: 'border',
|
|
115
|
+
values: footerBorder,
|
|
116
|
+
"default": 'full'
|
|
117
|
+
}
|
|
118
|
+
};
|
|
82
119
|
|
|
83
120
|
/***/ },
|
|
84
121
|
|
|
@@ -89,7 +126,7 @@ var x = (y) => {
|
|
|
89
126
|
var x = {}; __nuri_require__.d(x, y); return x
|
|
90
127
|
}
|
|
91
128
|
var y = (x) => (() => (x))
|
|
92
|
-
module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useId"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useId) });
|
|
129
|
+
module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement), ["useId"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useId), ["useState"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.useState) });
|
|
93
130
|
|
|
94
131
|
/***/ },
|
|
95
132
|
|
|
@@ -238,15 +275,21 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
238
275
|
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
239
276
|
/******/ import * as __webpack_chunk_2__ from "./chunk-7335.js";
|
|
240
277
|
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
241
|
-
/******/ import * as __webpack_chunk_3__ from "./chunk-
|
|
278
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-7298.js";
|
|
242
279
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
243
|
-
/******/ import * as __webpack_chunk_4__ from "./chunk-
|
|
280
|
+
/******/ import * as __webpack_chunk_4__ from "./chunk-2777.js";
|
|
244
281
|
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
282
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-4577.js";
|
|
283
|
+
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
284
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-9497.js";
|
|
285
|
+
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
286
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-3091.js";
|
|
287
|
+
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
245
288
|
/******/
|
|
246
289
|
/******/ // startup
|
|
247
290
|
/******/ // Load entry module and return exports
|
|
248
291
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
249
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,2777,9497], () => (__nuri_require__(2779)))
|
|
292
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,7298,2777,4577,9497,3091], () => (__nuri_require__(2779)))
|
|
250
293
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
251
294
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
252
295
|
/******/ export { __webpack_exports__default as default };
|