musae 1.3.1-beta.2 → 1.3.1-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/action-sheet/action-sheet.cjs +11 -62
- package/dist/components/action-sheet/action-sheet.mjs +6 -57
- package/dist/components/action-sheet/styles.cjs +90 -0
- package/dist/components/action-sheet/styles.d.ts +75 -0
- package/dist/components/action-sheet/styles.mjs +86 -0
- package/dist/components/avatar/avatar.cjs +4 -59
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.mjs +4 -59
- package/dist/components/avatar/group.cjs +3 -3
- package/dist/components/avatar/group.mjs +3 -3
- package/dist/components/avatar/styles.cjs +79 -0
- package/dist/components/avatar/styles.d.ts +62 -0
- package/dist/components/avatar/styles.mjs +75 -0
- package/dist/components/badge/badge.cjs +3 -52
- package/dist/components/badge/badge.mjs +3 -52
- package/dist/components/badge/styles.cjs +63 -0
- package/dist/components/badge/styles.d.ts +48 -0
- package/dist/components/badge/styles.mjs +59 -0
- package/dist/components/bench/bench.cjs +10 -45
- package/dist/components/bench/bench.mjs +10 -45
- package/dist/components/bench/styles.cjs +106 -0
- package/dist/components/bench/styles.d.ts +75 -0
- package/dist/components/bench/styles.mjs +102 -0
- package/dist/components/bottom-sheet/bottom-sheet.cjs +18 -19
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.mjs +18 -19
- package/dist/components/bottom-sheet/styles.cjs +30 -0
- package/dist/components/bottom-sheet/styles.d.ts +23 -0
- package/dist/components/bottom-sheet/styles.mjs +26 -0
- package/dist/components/breadcrumb/breadcrumb.cjs +3 -10
- package/dist/components/breadcrumb/breadcrumb.mjs +3 -10
- package/dist/components/breadcrumb/item.cjs +5 -14
- package/dist/components/breadcrumb/item.mjs +5 -14
- package/dist/components/breadcrumb/styles.cjs +54 -0
- package/dist/components/breadcrumb/styles.d.ts +45 -0
- package/dist/components/breadcrumb/styles.mjs +50 -0
- package/dist/components/button/button.cjs +1 -1
- package/dist/components/button/button.mjs +1 -1
- package/dist/components/button/styles.cjs +100 -97
- package/dist/components/button/styles.d.ts +14 -15
- package/dist/components/button/styles.mjs +100 -97
- package/dist/components/calendar/calendar.cjs +5 -24
- package/dist/components/calendar/calendar.mjs +5 -24
- package/dist/components/calendar/contribution.cjs +12 -50
- package/dist/components/calendar/contribution.mjs +9 -47
- package/dist/components/calendar/hooks.cjs +4 -45
- package/dist/components/calendar/hooks.mjs +4 -45
- package/dist/components/calendar/styles.cjs +161 -0
- package/dist/components/calendar/styles.d.ts +133 -0
- package/dist/components/calendar/styles.mjs +157 -0
- package/dist/components/card/actions.cjs +1 -1
- package/dist/components/card/actions.mjs +1 -1
- package/dist/components/card/body.cjs +1 -1
- package/dist/components/card/body.mjs +1 -1
- package/dist/components/card/card.cjs +1 -1
- package/dist/components/card/card.mjs +1 -1
- package/dist/components/card/content.cjs +1 -1
- package/dist/components/card/content.mjs +1 -1
- package/dist/components/card/header.cjs +6 -6
- package/dist/components/card/header.mjs +6 -6
- package/dist/components/card/headline.cjs +1 -1
- package/dist/components/card/headline.mjs +1 -1
- package/dist/components/card/media.cjs +1 -1
- package/dist/components/card/media.mjs +1 -1
- package/dist/components/card/styles.cjs +262 -246
- package/dist/components/card/styles.d.ts +15 -15
- package/dist/components/card/styles.mjs +262 -246
- package/dist/components/card/subhead.cjs +1 -1
- package/dist/components/card/subhead.mjs +1 -1
- package/dist/components/card/title.cjs +1 -1
- package/dist/components/card/title.mjs +1 -1
- package/dist/components/cascader/cascader.cjs +36 -26
- package/dist/components/cascader/cascader.mjs +38 -28
- package/dist/components/cascader/hooks.cjs +8 -9
- package/dist/components/cascader/hooks.d.ts +6 -6
- package/dist/components/cascader/hooks.mjs +8 -9
- package/dist/components/cascader/styles.cjs +14 -0
- package/dist/components/cascader/styles.d.ts +8 -0
- package/dist/components/cascader/styles.mjs +10 -0
- package/dist/components/chat/chat.cjs +4 -15
- package/dist/components/chat/chat.mjs +4 -15
- package/dist/components/chat/item.cjs +5 -14
- package/dist/components/chat/item.mjs +5 -14
- package/dist/components/chat/styles.cjs +69 -0
- package/dist/components/chat/styles.d.ts +57 -0
- package/dist/components/chat/styles.mjs +65 -0
- package/dist/components/checkbox/checkbox.cjs +6 -6
- package/dist/components/checkbox/checkbox.mjs +6 -6
- package/dist/components/checkbox/styles.cjs +57 -53
- package/dist/components/checkbox/styles.d.ts +11 -11
- package/dist/components/checkbox/styles.mjs +57 -53
- package/dist/components/clock/clock.cjs +3 -3
- package/dist/components/clock/clock.mjs +3 -3
- package/dist/components/clock/column.cjs +3 -13
- package/dist/components/clock/column.mjs +3 -13
- package/dist/components/clock/styles.cjs +33 -0
- package/dist/components/clock/styles.d.ts +25 -0
- package/dist/components/clock/styles.mjs +29 -0
- package/dist/components/collapse/collapse.cjs +3 -3
- package/dist/components/collapse/collapse.mjs +3 -3
- package/dist/components/collapse/item.cjs +6 -43
- package/dist/components/collapse/item.mjs +6 -43
- package/dist/components/collapse/styles.cjs +75 -0
- package/dist/components/collapse/styles.d.ts +58 -0
- package/dist/components/collapse/styles.mjs +71 -0
- package/dist/components/date-picker/context.cjs +1 -2
- package/dist/components/date-picker/context.d.ts +0 -1
- package/dist/components/date-picker/context.mjs +1 -2
- package/dist/components/date-picker/date-picker.cjs +30 -23
- package/dist/components/date-picker/date-picker.mjs +31 -24
- package/dist/components/date-picker/hooks.cjs +7 -10
- package/dist/components/date-picker/hooks.d.ts +3 -6
- package/dist/components/date-picker/hooks.mjs +7 -10
- package/dist/components/date-picker/styles.cjs +12 -0
- package/dist/components/date-picker/styles.d.ts +6 -0
- package/dist/components/date-picker/styles.mjs +8 -0
- package/dist/components/date-range-picker/date-range-picker.cjs +38 -25
- package/dist/components/date-range-picker/date-range-picker.mjs +41 -28
- package/dist/components/date-range-picker/hooks/use-date-range-state.cjs +6 -6
- package/dist/components/date-range-picker/hooks/use-date-range-state.d.ts +5 -8
- package/dist/components/date-range-picker/hooks/use-date-range-state.mjs +6 -6
- package/dist/components/date-range-picker/styles.cjs +26 -0
- package/dist/components/date-range-picker/styles.d.ts +19 -0
- package/dist/components/date-range-picker/styles.mjs +22 -0
- package/dist/components/dialog/popup.cjs +7 -27
- package/dist/components/dialog/popup.mjs +5 -25
- package/dist/components/dialog/styles.cjs +66 -0
- package/dist/components/dialog/styles.d.ts +55 -0
- package/dist/components/dialog/styles.mjs +62 -0
- package/dist/components/divider/divider.cjs +3 -74
- package/dist/components/divider/divider.mjs +1 -72
- package/dist/components/divider/styles.cjs +82 -0
- package/dist/components/divider/styles.d.ts +73 -0
- package/dist/components/divider/styles.mjs +78 -0
- package/dist/components/drawer/styles.d.ts +23 -0
- package/dist/components/ellipsis/ellipsis.cjs +4 -6
- package/dist/components/ellipsis/ellipsis.mjs +4 -6
- package/dist/components/ellipsis/styles.cjs +17 -0
- package/dist/components/ellipsis/styles.d.ts +10 -0
- package/dist/components/ellipsis/styles.mjs +13 -0
- package/dist/components/empty/empty.cjs +3 -10
- package/dist/components/empty/empty.mjs +2 -9
- package/dist/components/empty/styles.cjs +21 -0
- package/dist/components/empty/styles.d.ts +14 -0
- package/dist/components/empty/styles.mjs +17 -0
- package/dist/components/fab/fab.cjs +4 -11
- package/dist/components/fab/fab.mjs +6 -13
- package/dist/components/fab/styles.cjs +29 -0
- package/dist/components/fab/styles.d.ts +23 -0
- package/dist/components/fab/styles.mjs +25 -0
- package/dist/components/form/__test__/index.test.d.ts +1 -0
- package/dist/components/form/field/error.cjs +3 -3
- package/dist/components/form/field/error.mjs +3 -3
- package/dist/components/form/field/field.cjs +3 -2
- package/dist/components/form/field/field.mjs +3 -2
- package/dist/components/form/field/layout.cjs +4 -23
- package/dist/components/form/field/layout.mjs +4 -23
- package/dist/components/form/field/supporting.cjs +3 -3
- package/dist/components/form/field/supporting.mjs +3 -3
- package/dist/components/form/form.cjs +8 -3
- package/dist/components/form/form.d.ts +1 -1
- package/dist/components/form/form.mjs +8 -3
- package/dist/components/form/item.cjs +2 -1
- package/dist/components/form/item.mjs +2 -1
- package/dist/components/form/styles.cjs +59 -0
- package/dist/components/form/styles.d.ts +44 -0
- package/dist/components/form/styles.mjs +55 -0
- package/dist/components/grid/col.cjs +3 -3
- package/dist/components/grid/col.mjs +3 -3
- package/dist/components/grid/row.cjs +3 -3
- package/dist/components/grid/row.mjs +3 -3
- package/dist/components/grid/styles.cjs +29 -0
- package/dist/components/grid/styles.d.ts +20 -0
- package/dist/components/grid/styles.mjs +25 -0
- package/dist/components/guideline/styles.d.ts +31 -0
- package/dist/components/highlight/highlight.cjs +3 -3
- package/dist/components/highlight/highlight.mjs +3 -3
- package/dist/components/highlight/styles.cjs +12 -0
- package/dist/components/highlight/styles.d.ts +6 -0
- package/dist/components/highlight/styles.mjs +8 -0
- package/dist/components/icon/icon.cjs +3 -8
- package/dist/components/icon/icon.mjs +5 -10
- package/dist/components/icon/icons/mock/loading.cjs +3 -3
- package/dist/components/icon/icons/mock/loading.mjs +6 -6
- package/dist/components/icon/styles.cjs +26 -0
- package/dist/components/icon/styles.d.ts +18 -0
- package/dist/components/icon/styles.mjs +22 -0
- package/dist/components/icon-button/icon-button.cjs +2 -38
- package/dist/components/icon-button/icon-button.mjs +2 -38
- package/dist/components/icon-button/styles.cjs +43 -0
- package/dist/components/icon-button/styles.d.ts +34 -0
- package/dist/components/icon-button/styles.mjs +39 -0
- package/dist/components/image/image.cjs +6 -23
- package/dist/components/image/image.mjs +6 -23
- package/dist/components/image/preview/operations.cjs +7 -15
- package/dist/components/image/preview/operations.mjs +7 -15
- package/dist/components/image/preview/preview.cjs +3 -3
- package/dist/components/image/preview/preview.mjs +3 -3
- package/dist/components/image/styles.cjs +112 -0
- package/dist/components/image/styles.d.ts +93 -0
- package/dist/components/image/styles.mjs +108 -0
- package/dist/components/input/__test__/input-appearance.test.d.ts +1 -0
- package/dist/components/input/__test__/input.test.d.ts +1 -0
- package/dist/components/input/__test__/style-consumers.test.d.ts +1 -0
- package/dist/components/input/__test__/style-contract.test.d.ts +1 -0
- package/dist/components/input/context.cjs +9 -3
- package/dist/components/input/context.d.ts +8 -2
- package/dist/components/input/context.mjs +9 -3
- package/dist/components/input/hooks.cjs +0 -16
- package/dist/components/input/hooks.d.ts +1 -11
- package/dist/components/input/hooks.mjs +1 -16
- package/dist/components/input/index.d.ts +2 -1
- package/dist/components/input/input.cjs +81 -78
- package/dist/components/input/input.d.ts +2 -49
- package/dist/components/input/input.mjs +84 -80
- package/dist/components/input/styles.stylex.cjs +237 -0
- package/dist/components/input/styles.stylex.d.ts +218 -0
- package/dist/components/input/styles.stylex.mjs +232 -0
- package/dist/components/layout/footer.cjs +3 -3
- package/dist/components/layout/footer.mjs +3 -3
- package/dist/components/layout/header.cjs +3 -3
- package/dist/components/layout/header.mjs +3 -3
- package/dist/components/layout/heading.cjs +3 -3
- package/dist/components/layout/heading.mjs +3 -3
- package/dist/components/layout/layout.cjs +3 -3
- package/dist/components/layout/layout.mjs +5 -5
- package/dist/components/layout/main.cjs +3 -3
- package/dist/components/layout/main.mjs +3 -3
- package/dist/components/layout/sidebar.cjs +3 -3
- package/dist/components/layout/sidebar.mjs +3 -3
- package/dist/components/layout/styles.cjs +81 -0
- package/dist/components/layout/styles.d.ts +68 -0
- package/dist/components/layout/styles.mjs +77 -0
- package/dist/components/loading/loading.cjs +9 -96
- package/dist/components/loading/loading.mjs +8 -95
- package/dist/components/loading/styles.cjs +77 -0
- package/dist/components/loading/styles.d.ts +61 -0
- package/dist/components/loading/styles.mjs +73 -0
- package/dist/components/markdown/loading.cjs +7 -15
- package/dist/components/markdown/loading.mjs +7 -15
- package/dist/components/markdown/markdown.cjs +2 -10
- package/dist/components/markdown/markdown.mjs +2 -10
- package/dist/components/markdown/styles.cjs +49 -0
- package/dist/components/markdown/styles.d.ts +38 -0
- package/dist/components/markdown/styles.mjs +45 -0
- package/dist/components/menu/__test__/index.test.d.ts +1 -0
- package/dist/components/menu/group.cjs +5 -43
- package/dist/components/menu/group.mjs +4 -42
- package/dist/components/menu/hooks.cjs +16 -25
- package/dist/components/menu/hooks.d.ts +5 -5
- package/dist/components/menu/hooks.mjs +17 -26
- package/dist/components/menu/item.cjs +12 -109
- package/dist/components/menu/item.d.ts +0 -1
- package/dist/components/menu/item.mjs +12 -109
- package/dist/components/menu/menu.cjs +3 -3
- package/dist/components/menu/menu.mjs +3 -3
- package/dist/components/menu/styles.cjs +192 -0
- package/dist/components/menu/styles.d.ts +162 -0
- package/dist/components/menu/styles.mjs +188 -0
- package/dist/components/notification/holder.cjs +2 -45
- package/dist/components/notification/holder.mjs +2 -45
- package/dist/components/notification/notification.cjs +6 -58
- package/dist/components/notification/notification.mjs +6 -58
- package/dist/components/notification/styles.cjs +133 -0
- package/dist/components/notification/styles.d.ts +105 -0
- package/dist/components/notification/styles.mjs +129 -0
- package/dist/components/otp-input/otp-input.cjs +4 -6
- package/dist/components/otp-input/otp-input.mjs +4 -6
- package/dist/components/otp-input/styles.cjs +18 -0
- package/dist/components/otp-input/styles.d.ts +13 -0
- package/dist/components/otp-input/styles.mjs +14 -0
- package/dist/components/pagination/__test__/item.test.d.ts +1 -0
- package/dist/components/pagination/item.cjs +6 -4
- package/dist/components/pagination/item.mjs +6 -4
- package/dist/components/pagination/pagination.cjs +4 -6
- package/dist/components/pagination/pagination.mjs +4 -6
- package/dist/components/pagination/styles.cjs +35 -0
- package/dist/components/pagination/styles.d.ts +37 -0
- package/dist/components/pagination/styles.mjs +31 -0
- package/dist/components/password-input/__test__/password-input.test.d.ts +1 -0
- package/dist/components/password-input/password-input.cjs +9 -9
- package/dist/components/password-input/password-input.mjs +11 -11
- package/dist/components/password-input/styles.cjs +20 -0
- package/dist/components/password-input/styles.d.ts +19 -0
- package/dist/components/password-input/styles.mjs +16 -0
- package/dist/components/picker/context.cjs +0 -11
- package/dist/components/picker/context.d.ts +0 -5
- package/dist/components/picker/context.mjs +1 -11
- package/dist/components/picker/index.d.ts +1 -2
- package/dist/components/picker/picker.cjs +23 -73
- package/dist/components/picker/picker.d.ts +3 -2
- package/dist/components/picker/picker.mjs +25 -75
- package/dist/components/picker/styles.cjs +13 -0
- package/dist/components/picker/styles.d.ts +7 -0
- package/dist/components/picker/styles.mjs +9 -0
- package/dist/components/popconfirm/popconfirm.cjs +6 -26
- package/dist/components/popconfirm/popconfirm.mjs +4 -24
- package/dist/components/popconfirm/styles.cjs +40 -0
- package/dist/components/popconfirm/styles.d.ts +29 -0
- package/dist/components/popconfirm/styles.mjs +36 -0
- package/dist/components/popover/popover.cjs +3 -18
- package/dist/components/popover/popover.mjs +5 -20
- package/dist/components/popover/styles.cjs +30 -0
- package/dist/components/popover/styles.d.ts +20 -0
- package/dist/components/popover/styles.mjs +26 -0
- package/dist/components/popper/__test__/dropdown.test.d.ts +1 -0
- package/dist/components/popper/dropdown.cjs +11 -26
- package/dist/components/popper/dropdown.d.ts +1 -1
- package/dist/components/popper/dropdown.mjs +11 -26
- package/dist/components/popper/hooks.cjs +3 -7
- package/dist/components/popper/hooks.mjs +5 -9
- package/dist/components/popper/styles.cjs +56 -0
- package/dist/components/popper/styles.d.ts +43 -0
- package/dist/components/popper/styles.mjs +52 -0
- package/dist/components/portal/__test__/portal.test.d.ts +1 -0
- package/dist/components/progress/circular.cjs +5 -9
- package/dist/components/progress/circular.mjs +5 -9
- package/dist/components/progress/linear.cjs +4 -6
- package/dist/components/progress/linear.mjs +4 -6
- package/dist/components/progress/styles.cjs +45 -0
- package/dist/components/progress/styles.d.ts +33 -0
- package/dist/components/progress/styles.mjs +41 -0
- package/dist/components/radio/radio.cjs +4 -43
- package/dist/components/radio/radio.mjs +4 -43
- package/dist/components/radio/styles.cjs +76 -0
- package/dist/components/radio/styles.d.ts +71 -0
- package/dist/components/radio/styles.mjs +72 -0
- package/dist/components/rate/rate.cjs +3 -3
- package/dist/components/rate/rate.mjs +6 -6
- package/dist/components/rate/star.cjs +5 -24
- package/dist/components/rate/star.mjs +5 -24
- package/dist/components/rate/styles.cjs +67 -0
- package/dist/components/rate/styles.d.ts +59 -0
- package/dist/components/rate/styles.mjs +63 -0
- package/dist/components/rich-text-editor/dropdown.cjs +3 -3
- package/dist/components/rich-text-editor/dropdown.mjs +3 -3
- package/dist/components/rich-text-editor/index.cjs +3 -3
- package/dist/components/rich-text-editor/index.mjs +5 -5
- package/dist/components/rich-text-editor/nodes/checkbox.cjs +3 -3
- package/dist/components/rich-text-editor/nodes/checkbox.mjs +3 -3
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.cjs +3 -3
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.mjs +3 -3
- package/dist/components/rich-text-editor/plugins/toolbar/index.cjs +3 -3
- package/dist/components/rich-text-editor/plugins/toolbar/index.mjs +3 -3
- package/dist/components/rich-text-editor/rich-text-editor.cjs +3 -18
- package/dist/components/rich-text-editor/rich-text-editor.mjs +3 -18
- package/dist/components/rich-text-editor/styles.cjs +188 -0
- package/dist/components/rich-text-editor/styles.d.ts +153 -0
- package/dist/components/rich-text-editor/styles.mjs +184 -0
- package/dist/components/rich-text-editor/utils.cjs +16 -85
- package/dist/components/rich-text-editor/utils.mjs +16 -85
- package/dist/components/ripple/ripple.cjs +3 -3
- package/dist/components/ripple/ripple.mjs +3 -3
- package/dist/components/ripple/styles.cjs +26 -0
- package/dist/components/ripple/styles.d.ts +18 -0
- package/dist/components/ripple/styles.mjs +22 -0
- package/dist/components/search/__test__/hooks.test.d.ts +1 -0
- package/dist/components/search/__test__/style-contract.test.d.ts +1 -0
- package/dist/components/search/bar.cjs +82 -0
- package/dist/components/search/bar.d.ts +18 -0
- package/dist/components/search/bar.mjs +78 -0
- package/dist/components/search/context.cjs +16 -0
- package/dist/components/search/context.d.ts +16 -0
- package/dist/components/search/context.mjs +16 -0
- package/dist/components/search/field.cjs +64 -0
- package/dist/components/search/field.d.ts +19 -0
- package/dist/components/search/field.mjs +60 -0
- package/dist/components/search/hooks.cjs +50 -0
- package/dist/components/search/hooks.d.ts +12 -0
- package/dist/components/search/hooks.mjs +47 -0
- package/dist/components/search/index.d.ts +1 -1
- package/dist/components/search/result-list.cjs +84 -0
- package/dist/components/search/result-list.d.ts +16 -0
- package/dist/components/search/result-list.mjs +80 -0
- package/dist/components/search/search.cjs +164 -44
- package/dist/components/search/search.d.ts +11 -1
- package/dist/components/search/search.mjs +166 -46
- package/dist/components/search/styles.cjs +267 -84
- package/dist/components/search/styles.d.ts +185 -41
- package/dist/components/search/styles.mjs +267 -84
- package/dist/components/search/view.cjs +108 -0
- package/dist/components/search/view.d.ts +22 -0
- package/dist/components/search/view.mjs +104 -0
- package/dist/components/select/__test__/select.test.d.ts +1 -0
- package/dist/components/select/hooks/use-options.cjs +3 -3
- package/dist/components/select/hooks/use-options.d.ts +2 -2
- package/dist/components/select/hooks/use-options.mjs +3 -3
- package/dist/components/select/hooks/use-selected-value.cjs +3 -4
- package/dist/components/select/hooks/use-selected-value.d.ts +2 -3
- package/dist/components/select/hooks/use-selected-value.mjs +3 -4
- package/dist/components/select/select.cjs +48 -49
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.mjs +49 -50
- package/dist/components/select/selections.cjs +2 -4
- package/dist/components/select/selections.d.ts +1 -1
- package/dist/components/select/selections.mjs +3 -5
- package/dist/components/select/selector.cjs +54 -84
- package/dist/components/select/selector.d.ts +6 -3
- package/dist/components/select/selector.mjs +56 -86
- package/dist/components/select/styles.cjs +23 -0
- package/dist/components/select/styles.d.ts +14 -0
- package/dist/components/select/styles.mjs +19 -0
- package/dist/components/sheet/sheet.cjs +8 -101
- package/dist/components/sheet/sheet.d.ts +1 -1
- package/dist/components/sheet/sheet.mjs +8 -101
- package/dist/components/sheet/styles.cjs +81 -0
- package/dist/components/sheet/styles.d.ts +63 -0
- package/dist/components/sheet/styles.mjs +77 -0
- package/dist/components/side-sheet/context.cjs +2 -1
- package/dist/components/side-sheet/context.d.ts +1 -0
- package/dist/components/side-sheet/context.mjs +2 -1
- package/dist/components/side-sheet/side-sheet.cjs +22 -18
- package/dist/components/side-sheet/side-sheet.mjs +22 -18
- package/dist/components/side-sheet/styles.cjs +21 -19
- package/dist/components/side-sheet/styles.d.ts +12 -11
- package/dist/components/side-sheet/styles.mjs +21 -19
- package/dist/components/skeleton/skeleton.cjs +3 -8
- package/dist/components/skeleton/skeleton.mjs +3 -8
- package/dist/components/skeleton/styles.cjs +11 -0
- package/dist/components/skeleton/styles.d.ts +15 -0
- package/dist/components/skeleton/styles.mjs +7 -0
- package/dist/components/slider/styles.d.ts +30 -0
- package/dist/components/space/space.cjs +2 -19
- package/dist/components/space/space.mjs +1 -18
- package/dist/components/space/styles.cjs +24 -0
- package/dist/components/space/styles.d.ts +16 -0
- package/dist/components/space/styles.mjs +20 -0
- package/dist/components/split-panel/divider.cjs +3 -63
- package/dist/components/split-panel/divider.mjs +3 -63
- package/dist/components/split-panel/panel.cjs +3 -26
- package/dist/components/split-panel/panel.mjs +3 -26
- package/dist/components/split-panel/split-panel.cjs +2 -22
- package/dist/components/split-panel/split-panel.mjs +2 -22
- package/dist/components/split-panel/styles.cjs +113 -0
- package/dist/components/split-panel/styles.d.ts +103 -0
- package/dist/components/split-panel/styles.mjs +109 -0
- package/dist/components/steps/item.cjs +6 -70
- package/dist/components/steps/item.mjs +6 -70
- package/dist/components/steps/steps.cjs +2 -17
- package/dist/components/steps/steps.mjs +2 -17
- package/dist/components/steps/styles.cjs +117 -0
- package/dist/components/steps/styles.d.ts +96 -0
- package/dist/components/steps/styles.mjs +113 -0
- package/dist/components/switch/styles.cjs +156 -0
- package/dist/components/switch/styles.d.ts +132 -0
- package/dist/components/switch/styles.mjs +152 -0
- package/dist/components/switch/switch.cjs +7 -100
- package/dist/components/switch/switch.mjs +7 -100
- package/dist/components/table/body.cjs +3 -3
- package/dist/components/table/body.mjs +3 -3
- package/dist/components/table/header/cell.cjs +4 -4
- package/dist/components/table/header/cell.mjs +4 -4
- package/dist/components/table/header/header.cjs +2 -2
- package/dist/components/table/header/header.mjs +2 -2
- package/dist/components/table/styles.cjs +92 -87
- package/dist/components/table/styles.d.ts +34 -34
- package/dist/components/table/styles.mjs +92 -87
- package/dist/components/table/table.cjs +2 -2
- package/dist/components/table/table.mjs +2 -2
- package/dist/components/tabs/navigation.cjs +5 -45
- package/dist/components/tabs/navigation.mjs +5 -45
- package/dist/components/tabs/panels.cjs +4 -12
- package/dist/components/tabs/panels.mjs +4 -12
- package/dist/components/tabs/styles.cjs +99 -0
- package/dist/components/tabs/styles.d.ts +81 -0
- package/dist/components/tabs/styles.mjs +95 -0
- package/dist/components/tabs/tab.cjs +3 -3
- package/dist/components/tabs/tab.mjs +3 -3
- package/dist/components/tag/styles.cjs +62 -0
- package/dist/components/tag/styles.d.ts +48 -0
- package/dist/components/tag/styles.mjs +58 -0
- package/dist/components/tag/tag.cjs +2 -54
- package/dist/components/tag/tag.mjs +2 -54
- package/dist/components/textarea/styles.cjs +40 -0
- package/dist/components/textarea/styles.d.ts +29 -0
- package/dist/components/textarea/styles.mjs +36 -0
- package/dist/components/textarea/textarea.cjs +4 -24
- package/dist/components/textarea/textarea.mjs +4 -24
- package/dist/components/theme/theme.cjs +1 -6
- package/dist/components/theme/theme.mjs +1 -6
- package/dist/components/theme/tokens.stylex.cjs +8 -0
- package/dist/components/theme/tokens.stylex.d.ts +18 -4
- package/dist/components/theme/tokens.stylex.mjs +8 -1
- package/dist/components/time-picker/context.cjs +0 -1
- package/dist/components/time-picker/context.d.ts +0 -2
- package/dist/components/time-picker/context.mjs +0 -1
- package/dist/components/time-picker/hooks.cjs +5 -8
- package/dist/components/time-picker/hooks.d.ts +3 -6
- package/dist/components/time-picker/hooks.mjs +5 -8
- package/dist/components/time-picker/panel.cjs +4 -6
- package/dist/components/time-picker/panel.mjs +9 -11
- package/dist/components/time-picker/styles.cjs +24 -0
- package/dist/components/time-picker/styles.d.ts +17 -0
- package/dist/components/time-picker/styles.mjs +20 -0
- package/dist/components/time-picker/time-picker.cjs +26 -24
- package/dist/components/time-picker/time-picker.mjs +29 -27
- package/dist/components/timeline/item.cjs +7 -81
- package/dist/components/timeline/item.mjs +7 -81
- package/dist/components/timeline/styles.cjs +124 -0
- package/dist/components/timeline/styles.d.ts +96 -0
- package/dist/components/timeline/styles.mjs +120 -0
- package/dist/components/timeline/timeline.cjs +3 -3
- package/dist/components/timeline/timeline.mjs +3 -3
- package/dist/components/tour/spotlight.cjs +3 -3
- package/dist/components/tour/spotlight.mjs +3 -3
- package/dist/components/tour/styles.cjs +56 -0
- package/dist/components/tour/styles.d.ts +43 -0
- package/dist/components/tour/styles.mjs +52 -0
- package/dist/components/tour/tour.cjs +6 -23
- package/dist/components/tour/tour.mjs +6 -23
- package/dist/components/transfer/item.cjs +3 -3
- package/dist/components/transfer/item.mjs +3 -3
- package/dist/components/transfer/list.cjs +5 -41
- package/dist/components/transfer/list.mjs +5 -41
- package/dist/components/transfer/styles.cjs +78 -0
- package/dist/components/transfer/styles.d.ts +63 -0
- package/dist/components/transfer/styles.mjs +74 -0
- package/dist/components/transfer/transfer.cjs +4 -6
- package/dist/components/transfer/transfer.mjs +4 -6
- package/dist/components/tree/list.cjs +3 -8
- package/dist/components/tree/list.mjs +3 -8
- package/dist/components/tree/node.cjs +5 -25
- package/dist/components/tree/node.mjs +7 -27
- package/dist/components/tree/styles.cjs +69 -0
- package/dist/components/tree/styles.d.ts +56 -0
- package/dist/components/tree/styles.mjs +65 -0
- package/dist/components/upload/styles.cjs +81 -0
- package/dist/components/upload/styles.d.ts +61 -0
- package/dist/components/upload/styles.mjs +77 -0
- package/dist/components/upload/upload.cjs +5 -9
- package/dist/components/upload/upload.mjs +5 -9
- package/dist/components/upload/uploaded-item/index.cjs +3 -13
- package/dist/components/upload/uploaded-item/index.mjs +3 -13
- package/dist/components/upload/uploaded-item/picture.cjs +4 -6
- package/dist/components/upload/uploaded-item/picture.mjs +4 -6
- package/dist/components/upload/uploaded-list.cjs +5 -12
- package/dist/components/upload/uploaded-list.mjs +5 -12
- package/dist/components/visually-hidden/styles.cjs +17 -0
- package/dist/components/visually-hidden/styles.d.ts +11 -0
- package/dist/components/visually-hidden/styles.mjs +13 -0
- package/dist/components/visually-hidden/visually-hidden.cjs +3 -3
- package/dist/components/visually-hidden/visually-hidden.mjs +5 -5
- package/dist/components/waterfall/sequential.cjs +3 -3
- package/dist/components/waterfall/sequential.mjs +3 -3
- package/dist/components/waterfall/styles.cjs +45 -0
- package/dist/components/waterfall/styles.d.ts +34 -0
- package/dist/components/waterfall/styles.mjs +41 -0
- package/dist/components/waterfall/waterfall.cjs +4 -11
- package/dist/components/waterfall/waterfall.mjs +4 -11
- package/dist/components/watermark/styles.cjs +18 -0
- package/dist/components/watermark/styles.d.ts +11 -0
- package/dist/components/watermark/styles.mjs +14 -0
- package/dist/components/watermark/watermark.cjs +5 -3
- package/dist/components/watermark/watermark.mjs +5 -3
- package/dist/index.d.ts +1 -0
- package/dist/styles.css +218 -96
- package/dist/types/bottom-sheet.d.ts +30 -16
- package/dist/types/form.d.ts +74 -36
- package/dist/types/input.d.ts +40 -47
- package/dist/types/menu.d.ts +9 -9
- package/dist/types/picker.d.ts +36 -95
- package/dist/types/popper.d.ts +3 -2
- package/dist/types/search.d.ts +84 -1
- package/dist/types/select.d.ts +37 -28
- package/dist/utils/react.cjs +2 -2
- package/dist/utils/react.d.ts +2 -2
- package/dist/utils/react.mjs +2 -2
- package/package.json +3 -3
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
splitPanel: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
5
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
6
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
7
|
+
readonly flexWrap: import("@stylexjs/stylex").StyleXClassNameFor<"flexWrap", "nowrap">;
|
|
8
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "stretch">;
|
|
9
|
+
readonly boxSizing: import("@stylexjs/stylex").StyleXClassNameFor<"boxSizing", "border-box">;
|
|
10
|
+
readonly margin: import("@stylexjs/stylex").StyleXClassNameFor<"margin", string>;
|
|
11
|
+
readonly padding: import("@stylexjs/stylex").StyleXClassNameFor<"padding", string>;
|
|
12
|
+
}>;
|
|
13
|
+
readonly horizontal: Readonly<{
|
|
14
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "row">;
|
|
15
|
+
}>;
|
|
16
|
+
readonly vertical: Readonly<{
|
|
17
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
|
|
18
|
+
}>;
|
|
19
|
+
}>;
|
|
20
|
+
divider: Readonly<{
|
|
21
|
+
readonly base: Readonly<{
|
|
22
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
|
|
23
|
+
}>;
|
|
24
|
+
readonly horizontal: Readonly<{
|
|
25
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
26
|
+
}>;
|
|
27
|
+
readonly vertical: Readonly<{
|
|
28
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
dragger: Readonly<{
|
|
32
|
+
readonly base: Readonly<{
|
|
33
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "absolute">;
|
|
34
|
+
readonly "::before": import("@stylexjs/stylex").StyleXClassNameFor<"::before", {
|
|
35
|
+
readonly content: "''";
|
|
36
|
+
readonly display: "block";
|
|
37
|
+
readonly position: "absolute";
|
|
38
|
+
readonly backgroundColor: "var(--color-outline-variant)";
|
|
39
|
+
}>;
|
|
40
|
+
readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
|
|
41
|
+
readonly content: "''";
|
|
42
|
+
readonly display: "block";
|
|
43
|
+
readonly position: "absolute";
|
|
44
|
+
readonly backgroundColor: "var(--color-outline)";
|
|
45
|
+
readonly insetInlineStart: import("@stylexjs/stylex").StyleXVar<string>;
|
|
46
|
+
readonly insetBlockStart: import("@stylexjs/stylex").StyleXVar<string>;
|
|
47
|
+
readonly transform: "translate(-50%, -50%)";
|
|
48
|
+
}>;
|
|
49
|
+
}>;
|
|
50
|
+
readonly horizontal: Readonly<{
|
|
51
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
52
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
53
|
+
readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "col-resize">;
|
|
54
|
+
readonly insetInlineStart: import("@stylexjs/stylex").StyleXClassNameFor<"insetInlineStart", string>;
|
|
55
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translateX(-50%)">;
|
|
56
|
+
readonly "::before": import("@stylexjs/stylex").StyleXClassNameFor<"::before", {
|
|
57
|
+
readonly width: import("@stylexjs/stylex").StyleXVar<string>;
|
|
58
|
+
readonly height: import("@stylexjs/stylex").StyleXVar<string>;
|
|
59
|
+
readonly insetInlineStart: import("@stylexjs/stylex").StyleXVar<string>;
|
|
60
|
+
readonly transform: "translateX(-50%)";
|
|
61
|
+
}>;
|
|
62
|
+
readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
|
|
63
|
+
readonly width: import("@stylexjs/stylex").StyleXVar<string>;
|
|
64
|
+
readonly height: import("@stylexjs/stylex").StyleXVar<string>;
|
|
65
|
+
}>;
|
|
66
|
+
}>;
|
|
67
|
+
readonly vertical: Readonly<{
|
|
68
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
69
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
70
|
+
readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "row-resize">;
|
|
71
|
+
readonly insetBlockStart: import("@stylexjs/stylex").StyleXClassNameFor<"insetBlockStart", string>;
|
|
72
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translateY(-50%)">;
|
|
73
|
+
readonly "::before": import("@stylexjs/stylex").StyleXClassNameFor<"::before", {
|
|
74
|
+
readonly width: import("@stylexjs/stylex").StyleXVar<string>;
|
|
75
|
+
readonly height: import("@stylexjs/stylex").StyleXVar<string>;
|
|
76
|
+
readonly insetBlockStart: import("@stylexjs/stylex").StyleXVar<string>;
|
|
77
|
+
readonly transform: "translateY(-50%)";
|
|
78
|
+
}>;
|
|
79
|
+
readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
|
|
80
|
+
readonly width: import("@stylexjs/stylex").StyleXVar<string>;
|
|
81
|
+
readonly height: import("@stylexjs/stylex").StyleXVar<string>;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
}>;
|
|
85
|
+
panel: Readonly<{
|
|
86
|
+
readonly base: Readonly<{
|
|
87
|
+
readonly flexGrow: import("@stylexjs/stylex").StyleXClassNameFor<"flexGrow", 0>;
|
|
88
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
89
|
+
readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
|
|
90
|
+
}>;
|
|
91
|
+
readonly unsized: Readonly<{
|
|
92
|
+
readonly flexBasis: import("@stylexjs/stylex").StyleXClassNameFor<"flexBasis", "calc(var(--unsized-item-space) + var(--offset))">;
|
|
93
|
+
}>;
|
|
94
|
+
readonly sized: Readonly<{
|
|
95
|
+
readonly flexBasis: import("@stylexjs/stylex").StyleXClassNameFor<"flexBasis", "calc(var(--item-space) + var(--offset))">;
|
|
96
|
+
}>;
|
|
97
|
+
readonly last: Readonly<{
|
|
98
|
+
readonly flexBasis: import("@stylexjs/stylex").StyleXClassNameFor<"flexBasis", "0%">;
|
|
99
|
+
readonly flexGrow: import("@stylexjs/stylex").StyleXClassNameFor<"flexGrow", 1>;
|
|
100
|
+
}>;
|
|
101
|
+
}>;
|
|
102
|
+
};
|
|
103
|
+
export default styles;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
var splitPanel = {
|
|
2
|
+
base: {
|
|
3
|
+
kzqmXN: "musaex-92755x",
|
|
4
|
+
kZKoxP: "musaex-qg7gut",
|
|
5
|
+
k1xSpc: "musaex-78zum5",
|
|
6
|
+
kwnvtZ: "musaex-ozqiw3",
|
|
7
|
+
kGNEyG: "musaex-1qjc9v5",
|
|
8
|
+
kB7OPa: "musaex-9f619",
|
|
9
|
+
kogj98: "musaex-q3gua8",
|
|
10
|
+
kmVPX3: "musaex-1n775ky",
|
|
11
|
+
$$css: true
|
|
12
|
+
},
|
|
13
|
+
horizontal: {
|
|
14
|
+
kXwgrk: "musaex-1q0g3np",
|
|
15
|
+
$$css: true
|
|
16
|
+
},
|
|
17
|
+
vertical: {
|
|
18
|
+
kXwgrk: "musaex-dt5ytf",
|
|
19
|
+
$$css: true
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
var divider = {
|
|
23
|
+
base: {
|
|
24
|
+
kVAEAm: "musaex-1n2onr6",
|
|
25
|
+
$$css: true
|
|
26
|
+
},
|
|
27
|
+
horizontal: {
|
|
28
|
+
kzqmXN: "musaex-16zkgz4",
|
|
29
|
+
$$css: true
|
|
30
|
+
},
|
|
31
|
+
vertical: {
|
|
32
|
+
kZKoxP: "musaex-zajs1x",
|
|
33
|
+
$$css: true
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
var dragger = {
|
|
37
|
+
base: {
|
|
38
|
+
kVAEAm: "musaex-10l6tqk",
|
|
39
|
+
kgeoSG: "musaex-10tli2e",
|
|
40
|
+
kP1sEF: "musaex-1fgarty",
|
|
41
|
+
kEoFBp: "musaex-1hmns74",
|
|
42
|
+
kLkRvE: "musaex-qk7imu",
|
|
43
|
+
k5JduY: "musaex-100rkj9",
|
|
44
|
+
kc3QkE: "musaex-hkezso",
|
|
45
|
+
kwXMNM: "musaex-1j6awrg",
|
|
46
|
+
ks3ayO: "musaex-jyh6yh",
|
|
47
|
+
kc1e00: "musaex-1stqopg",
|
|
48
|
+
k3foIR: "musaex-14dfumk",
|
|
49
|
+
kLigFv: "musaex-128ww4c",
|
|
50
|
+
$$css: true
|
|
51
|
+
},
|
|
52
|
+
horizontal: {
|
|
53
|
+
kzqmXN: "musaex-11mouiv",
|
|
54
|
+
kZKoxP: "musaex-qg7gut",
|
|
55
|
+
kkrTdU: "musaex-icojor",
|
|
56
|
+
kLqNvP: "musaex-1n7v8v2",
|
|
57
|
+
k3aq6I: "musaex-uuh30",
|
|
58
|
+
kOlAkY: "musaex-163qq49",
|
|
59
|
+
kgzTxl: "musaex-atc8tx",
|
|
60
|
+
kSJ0CW: "musaex-bres09",
|
|
61
|
+
kcTAPf: "musaex-nyzbwf",
|
|
62
|
+
kkgrvl: "musaex-8ipizo",
|
|
63
|
+
k4zj60: "musaex-1jbt50s",
|
|
64
|
+
$$css: true
|
|
65
|
+
},
|
|
66
|
+
vertical: {
|
|
67
|
+
kzqmXN: "musaex-92755x",
|
|
68
|
+
kZKoxP: "musaex-1svyby3",
|
|
69
|
+
kkrTdU: "musaex-yozgr7",
|
|
70
|
+
k87sOh: "musaex-nnicmn",
|
|
71
|
+
k3aq6I: "musaex-1cb1t30",
|
|
72
|
+
kOlAkY: "musaex-s82aw2",
|
|
73
|
+
kgzTxl: "musaex-se9a64",
|
|
74
|
+
k96MEf: "musaex-q23ts0",
|
|
75
|
+
kcTAPf: "musaex-kjykve",
|
|
76
|
+
kkgrvl: "musaex-aosh1c",
|
|
77
|
+
k4zj60: "musaex-f19iu1",
|
|
78
|
+
$$css: true
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
var panel = {
|
|
82
|
+
base: {
|
|
83
|
+
kzQI83: "musaex-1c4vz4f",
|
|
84
|
+
kfSwDN: "musaex-87ps6o",
|
|
85
|
+
kVQacm: "musaex-b3r6kr",
|
|
86
|
+
$$css: true
|
|
87
|
+
},
|
|
88
|
+
unsized: {
|
|
89
|
+
kCS8Yb: "musaex-18ocijn",
|
|
90
|
+
$$css: true
|
|
91
|
+
},
|
|
92
|
+
sized: {
|
|
93
|
+
kCS8Yb: "musaex-1figg9h",
|
|
94
|
+
$$css: true
|
|
95
|
+
},
|
|
96
|
+
last: {
|
|
97
|
+
kCS8Yb: "musaex-1t1x2f9",
|
|
98
|
+
kzQI83: "musaex-1iyjqo2",
|
|
99
|
+
$$css: true
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
var styles = {
|
|
103
|
+
splitPanel: splitPanel,
|
|
104
|
+
divider: divider,
|
|
105
|
+
dragger: dragger,
|
|
106
|
+
panel: panel
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export { styles as default };
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
|
+
var styles = require('./styles.cjs');
|
|
7
8
|
var React = require('react');
|
|
8
9
|
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
9
10
|
var relax = require('@aiszlab/relax');
|
|
@@ -12,32 +13,6 @@ var className = require('@aiszlab/relax/class-name');
|
|
|
12
13
|
var theme = require('../theme/theme.cjs');
|
|
13
14
|
var done = require('../icon/icons/action/done.cjs');
|
|
14
15
|
|
|
15
|
-
var styles = {
|
|
16
|
-
title: {
|
|
17
|
-
"default": {
|
|
18
|
-
kJuA4N: "musaex-nyuz70",
|
|
19
|
-
kGNEyG: "musaex-6s0dn4",
|
|
20
|
-
$$css: true
|
|
21
|
-
},
|
|
22
|
-
tail: {
|
|
23
|
-
kVAEAm: "musaex-1n2onr6",
|
|
24
|
-
k5JduY: "musaex-100rkj9",
|
|
25
|
-
kwXMNM: "musaex-1j6awrg",
|
|
26
|
-
k4zj60: "musaex-1uvvyix",
|
|
27
|
-
kkgrvl: "musaex-1oca1jw",
|
|
28
|
-
ks3ayO: "musaex-gc2np",
|
|
29
|
-
kJfJEs: "musaex-1qu101n",
|
|
30
|
-
k3foIR: "musaex-1rud92j",
|
|
31
|
-
$$css: true
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
description: {
|
|
35
|
-
"default": {
|
|
36
|
-
kJuA4N: "musaex-19tbii3",
|
|
37
|
-
$$css: true
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
16
|
var Item = function Item(_ref) {
|
|
42
17
|
var leading = _ref.leading,
|
|
43
18
|
title = _ref.title,
|
|
@@ -56,50 +31,11 @@ var Item = function Item(_ref) {
|
|
|
56
31
|
var isVertical = type === "vertical";
|
|
57
32
|
var isMax = value === max;
|
|
58
33
|
var styled = {
|
|
59
|
-
step:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
className: "musaex-98rzlu musaex-rvj5dj musaex-6s0dn4 musaex-1rxfirf musaex-b3r6kr musaex-1tdxyq7 musaex-1pmbctz musaex-1ypdohk"
|
|
65
|
-
}
|
|
66
|
-
}[!!isClickable << 0],
|
|
67
|
-
leading: {
|
|
68
|
-
0: {
|
|
69
|
-
className: "musaex-1kxrqrs"
|
|
70
|
-
},
|
|
71
|
-
1: {
|
|
72
|
-
className: "musaex-1kxrqrs musaex-1n2onr6 musaex-100rkj9 musaex-1j6awrg musaex-1nohuj4 musaex-1qndy6a musaex-gc2np musaex-1srwf7z musaex-avoipq musaex-1tkvk9y"
|
|
73
|
-
}
|
|
74
|
-
}[!!(isVertical && !isMax) << 0],
|
|
75
|
-
sign: {
|
|
76
|
-
0: {
|
|
77
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh"
|
|
78
|
-
},
|
|
79
|
-
4: {
|
|
80
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-19fix8x musaex-1szb5uh"
|
|
81
|
-
},
|
|
82
|
-
2: {
|
|
83
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1ncffr6 musaex-cm04b4"
|
|
84
|
-
},
|
|
85
|
-
6: {
|
|
86
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1ncffr6 musaex-cm04b4"
|
|
87
|
-
},
|
|
88
|
-
1: {
|
|
89
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
90
|
-
},
|
|
91
|
-
5: {
|
|
92
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
93
|
-
},
|
|
94
|
-
3: {
|
|
95
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
96
|
-
},
|
|
97
|
-
7: {
|
|
98
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
99
|
-
}
|
|
100
|
-
}[!!(status === "doing") << 2 | !!(status === "done") << 1 | !!(status === "todo") << 0],
|
|
101
|
-
title: stylex.props(theme.$title.medium, styles.title["default"], isHorizontal && !isMax && styles.title.tail),
|
|
102
|
-
description: stylex.props(theme.$body.medium, styles.description["default"])
|
|
34
|
+
step: stylex.props(styles.default.step.base, isClickable && styles.default.step.clickable),
|
|
35
|
+
leading: stylex.props(styles.default.leading.base, isVertical && !isMax && styles.default.leading.tail),
|
|
36
|
+
sign: stylex.props(styles.default.sign.base, status === "doing" && styles.default.sign.doing, status === "done" && styles.default.sign.done, status === "todo" && styles.default.sign.todo),
|
|
37
|
+
title: stylex.props(theme.$title.medium, styles.default.title.base, isHorizontal && !isMax && styles.default.title.tail),
|
|
38
|
+
description: stylex.props(theme.$body.medium, styles.default.description.base)
|
|
103
39
|
};
|
|
104
40
|
var click = relax.useEvent(function () {
|
|
105
41
|
onChange === null || onChange === void 0 || onChange(value);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
|
+
import styles from './styles.mjs';
|
|
3
4
|
import React, { useContext } from 'react';
|
|
4
5
|
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
5
6
|
import { useEvent, isNumber } from '@aiszlab/relax';
|
|
@@ -8,32 +9,6 @@ import { stringify } from '@aiszlab/relax/class-name';
|
|
|
8
9
|
import { $body, $title } from '../theme/theme.mjs';
|
|
9
10
|
import IconDone from '../icon/icons/action/done.mjs';
|
|
10
11
|
|
|
11
|
-
var styles = {
|
|
12
|
-
title: {
|
|
13
|
-
"default": {
|
|
14
|
-
kJuA4N: "musaex-nyuz70",
|
|
15
|
-
kGNEyG: "musaex-6s0dn4",
|
|
16
|
-
$$css: true
|
|
17
|
-
},
|
|
18
|
-
tail: {
|
|
19
|
-
kVAEAm: "musaex-1n2onr6",
|
|
20
|
-
k5JduY: "musaex-100rkj9",
|
|
21
|
-
kwXMNM: "musaex-1j6awrg",
|
|
22
|
-
k4zj60: "musaex-1uvvyix",
|
|
23
|
-
kkgrvl: "musaex-1oca1jw",
|
|
24
|
-
ks3ayO: "musaex-gc2np",
|
|
25
|
-
kJfJEs: "musaex-1qu101n",
|
|
26
|
-
k3foIR: "musaex-1rud92j",
|
|
27
|
-
$$css: true
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
description: {
|
|
31
|
-
"default": {
|
|
32
|
-
kJuA4N: "musaex-19tbii3",
|
|
33
|
-
$$css: true
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
12
|
var Item = function Item(_ref) {
|
|
38
13
|
var leading = _ref.leading,
|
|
39
14
|
title = _ref.title,
|
|
@@ -52,50 +27,11 @@ var Item = function Item(_ref) {
|
|
|
52
27
|
var isVertical = type === "vertical";
|
|
53
28
|
var isMax = value === max;
|
|
54
29
|
var styled = {
|
|
55
|
-
step:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
className: "musaex-98rzlu musaex-rvj5dj musaex-6s0dn4 musaex-1rxfirf musaex-b3r6kr musaex-1tdxyq7 musaex-1pmbctz musaex-1ypdohk"
|
|
61
|
-
}
|
|
62
|
-
}[!!isClickable << 0],
|
|
63
|
-
leading: {
|
|
64
|
-
0: {
|
|
65
|
-
className: "musaex-1kxrqrs"
|
|
66
|
-
},
|
|
67
|
-
1: {
|
|
68
|
-
className: "musaex-1kxrqrs musaex-1n2onr6 musaex-100rkj9 musaex-1j6awrg musaex-1nohuj4 musaex-1qndy6a musaex-gc2np musaex-1srwf7z musaex-avoipq musaex-1tkvk9y"
|
|
69
|
-
}
|
|
70
|
-
}[!!(isVertical && !isMax) << 0],
|
|
71
|
-
sign: {
|
|
72
|
-
0: {
|
|
73
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh"
|
|
74
|
-
},
|
|
75
|
-
4: {
|
|
76
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-19fix8x musaex-1szb5uh"
|
|
77
|
-
},
|
|
78
|
-
2: {
|
|
79
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1ncffr6 musaex-cm04b4"
|
|
80
|
-
},
|
|
81
|
-
6: {
|
|
82
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1ncffr6 musaex-cm04b4"
|
|
83
|
-
},
|
|
84
|
-
1: {
|
|
85
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
86
|
-
},
|
|
87
|
-
5: {
|
|
88
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
89
|
-
},
|
|
90
|
-
3: {
|
|
91
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
92
|
-
},
|
|
93
|
-
7: {
|
|
94
|
-
className: "musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-shxsqp musaex-b3r6kr musaex-1d3rvb1 musaex-1e69kxh musaex-1e1ffwq musaex-1lg5hlj"
|
|
95
|
-
}
|
|
96
|
-
}[!!(status === "doing") << 2 | !!(status === "done") << 1 | !!(status === "todo") << 0],
|
|
97
|
-
title: props($title.medium, styles.title["default"], isHorizontal && !isMax && styles.title.tail),
|
|
98
|
-
description: props($body.medium, styles.description["default"])
|
|
30
|
+
step: props(styles.step.base, isClickable && styles.step.clickable),
|
|
31
|
+
leading: props(styles.leading.base, isVertical && !isMax && styles.leading.tail),
|
|
32
|
+
sign: props(styles.sign.base, status === "doing" && styles.sign.doing, status === "done" && styles.sign.done, status === "todo" && styles.sign.todo),
|
|
33
|
+
title: props($title.medium, styles.title.base, isHorizontal && !isMax && styles.title.tail),
|
|
34
|
+
description: props($body.medium, styles.description.base)
|
|
99
35
|
};
|
|
100
36
|
var click = useEvent(function () {
|
|
101
37
|
onChange === null || onChange === void 0 || onChange(value);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
6
|
+
var styles = require('./styles.cjs');
|
|
6
7
|
var React = require('react');
|
|
7
8
|
var item = require('./item.cjs');
|
|
8
9
|
var useClassNames = require('../../hooks/use-class-names.cjs');
|
|
@@ -11,22 +12,6 @@ var className = require('@aiszlab/relax/class-name');
|
|
|
11
12
|
var context = require('./context.cjs');
|
|
12
13
|
var hooks = require('../theme/hooks.cjs');
|
|
13
14
|
|
|
14
|
-
var styles = {
|
|
15
|
-
steps: {
|
|
16
|
-
k1xSpc: "musaex-78zum5",
|
|
17
|
-
kGNEyG: "musaex-1cy8zhl",
|
|
18
|
-
kOIVth: "musaex-1wm2zkp",
|
|
19
|
-
$$css: true
|
|
20
|
-
},
|
|
21
|
-
horizontal: {
|
|
22
|
-
kXwgrk: "musaex-1q0g3np",
|
|
23
|
-
$$css: true
|
|
24
|
-
},
|
|
25
|
-
vertical: {
|
|
26
|
-
kXwgrk: "musaex-dt5ytf",
|
|
27
|
-
$$css: true
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
15
|
/**
|
|
31
16
|
* @description
|
|
32
17
|
* `Steps` component
|
|
@@ -48,7 +33,7 @@ var Steps = function Steps(_ref) {
|
|
|
48
33
|
var classNames = useClassNames.useClassNames(context.CLASS_NAMES);
|
|
49
34
|
var theme = hooks.useTheme();
|
|
50
35
|
var styled = {
|
|
51
|
-
steps: stylex.props(styles.steps, styles[type])
|
|
36
|
+
steps: stylex.props(styles.default.steps.base, styles.default.steps[type])
|
|
52
37
|
};
|
|
53
38
|
var contextValue = React.useMemo(function () {
|
|
54
39
|
return {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
|
+
import styles from './styles.mjs';
|
|
2
3
|
import React, { useMemo } from 'react';
|
|
3
4
|
import Item from './item.mjs';
|
|
4
5
|
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
@@ -7,22 +8,6 @@ import { stringify } from '@aiszlab/relax/class-name';
|
|
|
7
8
|
import { Context, CLASS_NAMES } from './context.mjs';
|
|
8
9
|
import { useTheme } from '../theme/hooks.mjs';
|
|
9
10
|
|
|
10
|
-
var styles = {
|
|
11
|
-
steps: {
|
|
12
|
-
k1xSpc: "musaex-78zum5",
|
|
13
|
-
kGNEyG: "musaex-1cy8zhl",
|
|
14
|
-
kOIVth: "musaex-1wm2zkp",
|
|
15
|
-
$$css: true
|
|
16
|
-
},
|
|
17
|
-
horizontal: {
|
|
18
|
-
kXwgrk: "musaex-1q0g3np",
|
|
19
|
-
$$css: true
|
|
20
|
-
},
|
|
21
|
-
vertical: {
|
|
22
|
-
kXwgrk: "musaex-dt5ytf",
|
|
23
|
-
$$css: true
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
11
|
/**
|
|
27
12
|
* @description
|
|
28
13
|
* `Steps` component
|
|
@@ -44,7 +29,7 @@ var Steps = function Steps(_ref) {
|
|
|
44
29
|
var classNames = useClassNames(CLASS_NAMES);
|
|
45
30
|
var theme = useTheme();
|
|
46
31
|
var styled = {
|
|
47
|
-
steps: props(styles.steps, styles[type])
|
|
32
|
+
steps: props(styles.steps.base, styles.steps[type])
|
|
48
33
|
};
|
|
49
34
|
var contextValue = useMemo(function () {
|
|
50
35
|
return {
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var step = {
|
|
6
|
+
base: {
|
|
7
|
+
kUk6DE: "musaex-98rzlu",
|
|
8
|
+
k1xSpc: "musaex-rvj5dj",
|
|
9
|
+
kGNEyG: "musaex-6s0dn4",
|
|
10
|
+
k1C7PZ: "musaex-1rxfirf",
|
|
11
|
+
kVQacm: "musaex-b3r6kr",
|
|
12
|
+
kfzvcC: "musaex-47corl",
|
|
13
|
+
kC13JO: "musaex-1tdxyq7",
|
|
14
|
+
kumcoG: "musaex-1pmbctz",
|
|
15
|
+
$$css: true
|
|
16
|
+
},
|
|
17
|
+
clickable: {
|
|
18
|
+
kkrTdU: "musaex-1ypdohk",
|
|
19
|
+
kfzvcC: null,
|
|
20
|
+
$$css: true
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
var leading = {
|
|
24
|
+
base: {
|
|
25
|
+
kJuA4N: "musaex-1kxrqrs",
|
|
26
|
+
$$css: true
|
|
27
|
+
},
|
|
28
|
+
tail: {
|
|
29
|
+
kVAEAm: "musaex-1n2onr6",
|
|
30
|
+
k5JduY: "musaex-100rkj9",
|
|
31
|
+
kwXMNM: "musaex-1j6awrg",
|
|
32
|
+
k4zj60: "musaex-1nohuj4",
|
|
33
|
+
kkgrvl: "musaex-1qndy6a",
|
|
34
|
+
ks3ayO: "musaex-gc2np",
|
|
35
|
+
k3foIR: "musaex-1srwf7z",
|
|
36
|
+
kc1e00: "musaex-avoipq",
|
|
37
|
+
kDzuh9: "musaex-1tkvk9y",
|
|
38
|
+
$$css: true
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var sign = {
|
|
42
|
+
base: {
|
|
43
|
+
k1xSpc: "musaex-78zum5",
|
|
44
|
+
kjj79g: "musaex-l56j7k",
|
|
45
|
+
kGNEyG: "musaex-6s0dn4",
|
|
46
|
+
kaIpWk: "musaex-shxsqp",
|
|
47
|
+
kVQacm: "musaex-b3r6kr",
|
|
48
|
+
kzqmXN: "musaex-1d3rvb1",
|
|
49
|
+
kZKoxP: "musaex-1e69kxh",
|
|
50
|
+
$$css: true
|
|
51
|
+
},
|
|
52
|
+
doing: {
|
|
53
|
+
kWkggS: "musaex-19fix8x",
|
|
54
|
+
kMwMTN: "musaex-1szb5uh",
|
|
55
|
+
$$css: true
|
|
56
|
+
},
|
|
57
|
+
done: {
|
|
58
|
+
kWkggS: "musaex-1ncffr6",
|
|
59
|
+
kMwMTN: "musaex-cm04b4",
|
|
60
|
+
$$css: true
|
|
61
|
+
},
|
|
62
|
+
todo: {
|
|
63
|
+
kWkggS: "musaex-1e1ffwq",
|
|
64
|
+
kMwMTN: "musaex-1lg5hlj",
|
|
65
|
+
$$css: true
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
var title = {
|
|
69
|
+
base: {
|
|
70
|
+
kJuA4N: "musaex-nyuz70",
|
|
71
|
+
kGNEyG: "musaex-6s0dn4",
|
|
72
|
+
$$css: true
|
|
73
|
+
},
|
|
74
|
+
tail: {
|
|
75
|
+
kVAEAm: "musaex-1n2onr6",
|
|
76
|
+
k5JduY: "musaex-100rkj9",
|
|
77
|
+
kwXMNM: "musaex-1j6awrg",
|
|
78
|
+
k4zj60: "musaex-1uvvyix",
|
|
79
|
+
kkgrvl: "musaex-1oca1jw",
|
|
80
|
+
ks3ayO: "musaex-gc2np",
|
|
81
|
+
kJfJEs: "musaex-1qu101n",
|
|
82
|
+
k3foIR: "musaex-1rud92j",
|
|
83
|
+
$$css: true
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
var description = {
|
|
87
|
+
base: {
|
|
88
|
+
kJuA4N: "musaex-19tbii3",
|
|
89
|
+
$$css: true
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
var steps = {
|
|
93
|
+
base: {
|
|
94
|
+
k1xSpc: "musaex-78zum5",
|
|
95
|
+
kGNEyG: "musaex-1cy8zhl",
|
|
96
|
+
kOIVth: "musaex-1wm2zkp",
|
|
97
|
+
$$css: true
|
|
98
|
+
},
|
|
99
|
+
horizontal: {
|
|
100
|
+
kXwgrk: "musaex-1q0g3np",
|
|
101
|
+
$$css: true
|
|
102
|
+
},
|
|
103
|
+
vertical: {
|
|
104
|
+
kXwgrk: "musaex-dt5ytf",
|
|
105
|
+
$$css: true
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
var styles = {
|
|
109
|
+
step: step,
|
|
110
|
+
leading: leading,
|
|
111
|
+
sign: sign,
|
|
112
|
+
title: title,
|
|
113
|
+
description: description,
|
|
114
|
+
steps: steps
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
exports.default = styles;
|