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,79 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var group = {
|
|
6
|
+
base: {
|
|
7
|
+
k1xSpc: "musaex-3nfvp2",
|
|
8
|
+
kfSwDN: "musaex-87ps6o",
|
|
9
|
+
$$css: true
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
var avatar = {
|
|
13
|
+
base: {
|
|
14
|
+
kMzoRj: "musaex-1iyq3db",
|
|
15
|
+
ksu8eU: "musaex-1y0btm7",
|
|
16
|
+
kVAM5u: "musaex-9r1u3d",
|
|
17
|
+
kB7OPa: "musaex-9f619",
|
|
18
|
+
kWkggS: "musaex-1ncffr6",
|
|
19
|
+
kMwMTN: "musaex-14qql8p",
|
|
20
|
+
kGNEyG: "musaex-6s0dn4",
|
|
21
|
+
kjj79g: "musaex-l56j7k",
|
|
22
|
+
kfSwDN: "musaex-87ps6o",
|
|
23
|
+
k1xSpc: "musaex-3nfvp2",
|
|
24
|
+
kXLuUW: "musaex-xymvpz",
|
|
25
|
+
kmuXW: "musaex-2lah0s",
|
|
26
|
+
$$css: true
|
|
27
|
+
},
|
|
28
|
+
overlapping: {
|
|
29
|
+
kgxsog: "musaex-e1706l",
|
|
30
|
+
kVAM5u: "musaex-o3pef4",
|
|
31
|
+
$$css: true
|
|
32
|
+
},
|
|
33
|
+
circular: {
|
|
34
|
+
kaIpWk: "musaex-shxsqp",
|
|
35
|
+
$$css: true
|
|
36
|
+
},
|
|
37
|
+
squared: {
|
|
38
|
+
kaIpWk: "musaex-db68te",
|
|
39
|
+
$$css: true
|
|
40
|
+
},
|
|
41
|
+
small: {
|
|
42
|
+
kzqmXN: "musaex-t4hhhd",
|
|
43
|
+
kZKoxP: "musaex-pvxov6",
|
|
44
|
+
$$css: true
|
|
45
|
+
},
|
|
46
|
+
medium: {
|
|
47
|
+
kzqmXN: "musaex-1po6ib",
|
|
48
|
+
kZKoxP: "musaex-1si1pn3",
|
|
49
|
+
$$css: true
|
|
50
|
+
},
|
|
51
|
+
large: {
|
|
52
|
+
kzqmXN: "musaex-19dbm5w",
|
|
53
|
+
kZKoxP: "musaex-12ez60q",
|
|
54
|
+
$$css: true
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var loading = {
|
|
58
|
+
base: {
|
|
59
|
+
k1xSpc: "musaex-1rg5ohu",
|
|
60
|
+
kXLuUW: "musaex-xymvpz",
|
|
61
|
+
$$css: true
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
var image = {
|
|
65
|
+
base: {
|
|
66
|
+
kVIFPx: "musaex-l1xv1r",
|
|
67
|
+
kYDvB4: "musaex-1s8dy9j",
|
|
68
|
+
kaIpWk: "musaex-1pjcqnp",
|
|
69
|
+
$$css: true
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var styles = {
|
|
73
|
+
group: group,
|
|
74
|
+
avatar: avatar,
|
|
75
|
+
loading: loading,
|
|
76
|
+
image: image
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
exports.default = styles;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
group: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "inline-flex">;
|
|
5
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
6
|
+
}>;
|
|
7
|
+
}>;
|
|
8
|
+
avatar: Readonly<{
|
|
9
|
+
readonly base: Readonly<{
|
|
10
|
+
readonly borderWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderWidth", string>;
|
|
11
|
+
readonly borderStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderStyle", "solid">;
|
|
12
|
+
readonly borderColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderColor", "transparent">;
|
|
13
|
+
readonly boxSizing: import("@stylexjs/stylex").StyleXClassNameFor<"boxSizing", "border-box">;
|
|
14
|
+
readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-primary-container)">;
|
|
15
|
+
readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-primary)">;
|
|
16
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
17
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
|
|
18
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
19
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "inline-flex">;
|
|
20
|
+
readonly verticalAlign: import("@stylexjs/stylex").StyleXClassNameFor<"verticalAlign", "middle">;
|
|
21
|
+
readonly flexShrink: import("@stylexjs/stylex").StyleXClassNameFor<"flexShrink", 0>;
|
|
22
|
+
}>;
|
|
23
|
+
readonly overlapping: Readonly<{
|
|
24
|
+
readonly ":not(:first-child)": import("@stylexjs/stylex").StyleXClassNameFor<":not(:first-child)", {
|
|
25
|
+
readonly marginInlineStart: `calc(${import("@stylexjs/stylex").StyleXVar<string>} * -1)`;
|
|
26
|
+
}>;
|
|
27
|
+
readonly borderColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderColor", "var(--color-on-primary)">;
|
|
28
|
+
}>;
|
|
29
|
+
readonly circular: Readonly<{
|
|
30
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
31
|
+
}>;
|
|
32
|
+
readonly squared: Readonly<{
|
|
33
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
34
|
+
}>;
|
|
35
|
+
readonly small: Readonly<{
|
|
36
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
37
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
38
|
+
}>;
|
|
39
|
+
readonly medium: Readonly<{
|
|
40
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
41
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
42
|
+
}>;
|
|
43
|
+
readonly large: Readonly<{
|
|
44
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
45
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
46
|
+
}>;
|
|
47
|
+
}>;
|
|
48
|
+
loading: Readonly<{
|
|
49
|
+
readonly base: Readonly<{
|
|
50
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "inline-block">;
|
|
51
|
+
readonly verticalAlign: import("@stylexjs/stylex").StyleXClassNameFor<"verticalAlign", "middle">;
|
|
52
|
+
}>;
|
|
53
|
+
}>;
|
|
54
|
+
image: Readonly<{
|
|
55
|
+
readonly base: Readonly<{
|
|
56
|
+
readonly objectFit: import("@stylexjs/stylex").StyleXClassNameFor<"objectFit", "cover">;
|
|
57
|
+
readonly objectPosition: import("@stylexjs/stylex").StyleXClassNameFor<"objectPosition", "center center">;
|
|
58
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", "inherit">;
|
|
59
|
+
}>;
|
|
60
|
+
}>;
|
|
61
|
+
};
|
|
62
|
+
export default styles;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var group = {
|
|
2
|
+
base: {
|
|
3
|
+
k1xSpc: "musaex-3nfvp2",
|
|
4
|
+
kfSwDN: "musaex-87ps6o",
|
|
5
|
+
$$css: true
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
var avatar = {
|
|
9
|
+
base: {
|
|
10
|
+
kMzoRj: "musaex-1iyq3db",
|
|
11
|
+
ksu8eU: "musaex-1y0btm7",
|
|
12
|
+
kVAM5u: "musaex-9r1u3d",
|
|
13
|
+
kB7OPa: "musaex-9f619",
|
|
14
|
+
kWkggS: "musaex-1ncffr6",
|
|
15
|
+
kMwMTN: "musaex-14qql8p",
|
|
16
|
+
kGNEyG: "musaex-6s0dn4",
|
|
17
|
+
kjj79g: "musaex-l56j7k",
|
|
18
|
+
kfSwDN: "musaex-87ps6o",
|
|
19
|
+
k1xSpc: "musaex-3nfvp2",
|
|
20
|
+
kXLuUW: "musaex-xymvpz",
|
|
21
|
+
kmuXW: "musaex-2lah0s",
|
|
22
|
+
$$css: true
|
|
23
|
+
},
|
|
24
|
+
overlapping: {
|
|
25
|
+
kgxsog: "musaex-e1706l",
|
|
26
|
+
kVAM5u: "musaex-o3pef4",
|
|
27
|
+
$$css: true
|
|
28
|
+
},
|
|
29
|
+
circular: {
|
|
30
|
+
kaIpWk: "musaex-shxsqp",
|
|
31
|
+
$$css: true
|
|
32
|
+
},
|
|
33
|
+
squared: {
|
|
34
|
+
kaIpWk: "musaex-db68te",
|
|
35
|
+
$$css: true
|
|
36
|
+
},
|
|
37
|
+
small: {
|
|
38
|
+
kzqmXN: "musaex-t4hhhd",
|
|
39
|
+
kZKoxP: "musaex-pvxov6",
|
|
40
|
+
$$css: true
|
|
41
|
+
},
|
|
42
|
+
medium: {
|
|
43
|
+
kzqmXN: "musaex-1po6ib",
|
|
44
|
+
kZKoxP: "musaex-1si1pn3",
|
|
45
|
+
$$css: true
|
|
46
|
+
},
|
|
47
|
+
large: {
|
|
48
|
+
kzqmXN: "musaex-19dbm5w",
|
|
49
|
+
kZKoxP: "musaex-12ez60q",
|
|
50
|
+
$$css: true
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var loading = {
|
|
54
|
+
base: {
|
|
55
|
+
k1xSpc: "musaex-1rg5ohu",
|
|
56
|
+
kXLuUW: "musaex-xymvpz",
|
|
57
|
+
$$css: true
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
var image = {
|
|
61
|
+
base: {
|
|
62
|
+
kVIFPx: "musaex-l1xv1r",
|
|
63
|
+
kYDvB4: "musaex-1s8dy9j",
|
|
64
|
+
kaIpWk: "musaex-1pjcqnp",
|
|
65
|
+
$$css: true
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
var styles = {
|
|
69
|
+
group: group,
|
|
70
|
+
avatar: avatar,
|
|
71
|
+
loading: loading,
|
|
72
|
+
image: image
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export { styles as default };
|
|
@@ -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 useClassNames = require('../../hooks/use-class-names.cjs');
|
|
8
9
|
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
@@ -12,54 +13,6 @@ var relax = require('@aiszlab/relax');
|
|
|
12
13
|
var className = require('@aiszlab/relax/class-name');
|
|
13
14
|
var context = require('./context.cjs');
|
|
14
15
|
|
|
15
|
-
var styles = {
|
|
16
|
-
tail: {
|
|
17
|
-
"default": {
|
|
18
|
-
kVAEAm: "musaex-10l6tqk",
|
|
19
|
-
kaIpWk: "musaex-shxsqp",
|
|
20
|
-
k7Eaqz: "musaex-d9398k",
|
|
21
|
-
k9WMMc: "musaex-2b8uid",
|
|
22
|
-
kGVxlE: "musaex-bxw2on",
|
|
23
|
-
kWkggS: "musaex-19fix8x",
|
|
24
|
-
kMwMTN: "musaex-1szb5uh",
|
|
25
|
-
$$css: true
|
|
26
|
-
},
|
|
27
|
-
dot: {
|
|
28
|
-
k7Eaqz: null,
|
|
29
|
-
kzqmXN: "musaex-11mouiv",
|
|
30
|
-
kZKoxP: "musaex-1svyby3",
|
|
31
|
-
$$css: true
|
|
32
|
-
},
|
|
33
|
-
invisible: {
|
|
34
|
-
k1xSpc: "musaex-1s85apg",
|
|
35
|
-
$$css: true
|
|
36
|
-
},
|
|
37
|
-
"top-right": {
|
|
38
|
-
k87sOh: "musaex-13vifvy",
|
|
39
|
-
kCIrl2: "musaex-3m8u43",
|
|
40
|
-
k3aq6I: "musaex-rycbv3",
|
|
41
|
-
$$css: true
|
|
42
|
-
},
|
|
43
|
-
"top-left": {
|
|
44
|
-
k87sOh: "musaex-13vifvy",
|
|
45
|
-
kbCHJM: "musaex-u96u03",
|
|
46
|
-
k3aq6I: "musaex-1i3z1r0",
|
|
47
|
-
$$css: true
|
|
48
|
-
},
|
|
49
|
-
"bottom-right": {
|
|
50
|
-
krVfgx: "musaex-1ey2m1c",
|
|
51
|
-
kCIrl2: "musaex-3m8u43",
|
|
52
|
-
k3aq6I: "musaex-1vfo23u",
|
|
53
|
-
$$css: true
|
|
54
|
-
},
|
|
55
|
-
"bottom-left": {
|
|
56
|
-
krVfgx: "musaex-1ey2m1c",
|
|
57
|
-
kbCHJM: "musaex-u96u03",
|
|
58
|
-
k3aq6I: "musaex-itovws",
|
|
59
|
-
$$css: true
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
16
|
var Badge = function Badge(_ref) {
|
|
64
17
|
var className$1 = _ref.className,
|
|
65
18
|
style = _ref.style,
|
|
@@ -73,10 +26,8 @@ var Badge = function Badge(_ref) {
|
|
|
73
26
|
var theme$1 = hooks.useTheme();
|
|
74
27
|
var isDot = relax.isVoid(content);
|
|
75
28
|
var styled = {
|
|
76
|
-
badge:
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
tail: stylex.props(styles.tail["default"], isDot && styles.tail.dot, theme.$label.small, invisible && styles.tail.invisible, styles.tail[placement])
|
|
29
|
+
badge: stylex.props(styles.default.badge.base),
|
|
30
|
+
tail: stylex.props(styles.default.tail.base, isDot && styles.default.tail.dot, theme.$label.small, invisible && styles.default.tail.invisible, styles.default.tail[placement])
|
|
80
31
|
};
|
|
81
32
|
return /*#__PURE__*/React.createElement("span", {
|
|
82
33
|
className: className.stringify(classNames.badge, className$1, styled.badge.className),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
|
+
import styles from './styles.mjs';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
4
5
|
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
@@ -8,54 +9,6 @@ import { isVoid } from '@aiszlab/relax';
|
|
|
8
9
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
9
10
|
import { CLASS_NAMES } from './context.mjs';
|
|
10
11
|
|
|
11
|
-
var styles = {
|
|
12
|
-
tail: {
|
|
13
|
-
"default": {
|
|
14
|
-
kVAEAm: "musaex-10l6tqk",
|
|
15
|
-
kaIpWk: "musaex-shxsqp",
|
|
16
|
-
k7Eaqz: "musaex-d9398k",
|
|
17
|
-
k9WMMc: "musaex-2b8uid",
|
|
18
|
-
kGVxlE: "musaex-bxw2on",
|
|
19
|
-
kWkggS: "musaex-19fix8x",
|
|
20
|
-
kMwMTN: "musaex-1szb5uh",
|
|
21
|
-
$$css: true
|
|
22
|
-
},
|
|
23
|
-
dot: {
|
|
24
|
-
k7Eaqz: null,
|
|
25
|
-
kzqmXN: "musaex-11mouiv",
|
|
26
|
-
kZKoxP: "musaex-1svyby3",
|
|
27
|
-
$$css: true
|
|
28
|
-
},
|
|
29
|
-
invisible: {
|
|
30
|
-
k1xSpc: "musaex-1s85apg",
|
|
31
|
-
$$css: true
|
|
32
|
-
},
|
|
33
|
-
"top-right": {
|
|
34
|
-
k87sOh: "musaex-13vifvy",
|
|
35
|
-
kCIrl2: "musaex-3m8u43",
|
|
36
|
-
k3aq6I: "musaex-rycbv3",
|
|
37
|
-
$$css: true
|
|
38
|
-
},
|
|
39
|
-
"top-left": {
|
|
40
|
-
k87sOh: "musaex-13vifvy",
|
|
41
|
-
kbCHJM: "musaex-u96u03",
|
|
42
|
-
k3aq6I: "musaex-1i3z1r0",
|
|
43
|
-
$$css: true
|
|
44
|
-
},
|
|
45
|
-
"bottom-right": {
|
|
46
|
-
krVfgx: "musaex-1ey2m1c",
|
|
47
|
-
kCIrl2: "musaex-3m8u43",
|
|
48
|
-
k3aq6I: "musaex-1vfo23u",
|
|
49
|
-
$$css: true
|
|
50
|
-
},
|
|
51
|
-
"bottom-left": {
|
|
52
|
-
krVfgx: "musaex-1ey2m1c",
|
|
53
|
-
kbCHJM: "musaex-u96u03",
|
|
54
|
-
k3aq6I: "musaex-itovws",
|
|
55
|
-
$$css: true
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
12
|
var Badge = function Badge(_ref) {
|
|
60
13
|
var className = _ref.className,
|
|
61
14
|
style = _ref.style,
|
|
@@ -69,10 +22,8 @@ var Badge = function Badge(_ref) {
|
|
|
69
22
|
var theme = useTheme();
|
|
70
23
|
var isDot = isVoid(content);
|
|
71
24
|
var styled = {
|
|
72
|
-
badge:
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
tail: props(styles.tail["default"], isDot && styles.tail.dot, $label.small, invisible && styles.tail.invisible, styles.tail[placement])
|
|
25
|
+
badge: props(styles.badge.base),
|
|
26
|
+
tail: props(styles.tail.base, isDot && styles.tail.dot, $label.small, invisible && styles.tail.invisible, styles.tail[placement])
|
|
76
27
|
};
|
|
77
28
|
return /*#__PURE__*/React.createElement("span", {
|
|
78
29
|
className: stringify(classNames.badge, className, styled.badge.className),
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var badge = {
|
|
6
|
+
base: {
|
|
7
|
+
kVAEAm: "musaex-1n2onr6",
|
|
8
|
+
k1xSpc: "musaex-3nfvp2",
|
|
9
|
+
$$css: true
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
var tail = {
|
|
13
|
+
base: {
|
|
14
|
+
kVAEAm: "musaex-10l6tqk",
|
|
15
|
+
kaIpWk: "musaex-shxsqp",
|
|
16
|
+
k7Eaqz: "musaex-d9398k",
|
|
17
|
+
k9WMMc: "musaex-2b8uid",
|
|
18
|
+
kGVxlE: "musaex-bxw2on",
|
|
19
|
+
kWkggS: "musaex-19fix8x",
|
|
20
|
+
kMwMTN: "musaex-1szb5uh",
|
|
21
|
+
$$css: true
|
|
22
|
+
},
|
|
23
|
+
dot: {
|
|
24
|
+
k7Eaqz: null,
|
|
25
|
+
kzqmXN: "musaex-11mouiv",
|
|
26
|
+
kZKoxP: "musaex-1svyby3",
|
|
27
|
+
$$css: true
|
|
28
|
+
},
|
|
29
|
+
invisible: {
|
|
30
|
+
k1xSpc: "musaex-1s85apg",
|
|
31
|
+
$$css: true
|
|
32
|
+
},
|
|
33
|
+
"top-right": {
|
|
34
|
+
k87sOh: "musaex-13vifvy",
|
|
35
|
+
kCIrl2: "musaex-3m8u43",
|
|
36
|
+
k3aq6I: "musaex-rycbv3",
|
|
37
|
+
$$css: true
|
|
38
|
+
},
|
|
39
|
+
"top-left": {
|
|
40
|
+
k87sOh: "musaex-13vifvy",
|
|
41
|
+
kbCHJM: "musaex-u96u03",
|
|
42
|
+
k3aq6I: "musaex-1i3z1r0",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
"bottom-right": {
|
|
46
|
+
krVfgx: "musaex-1ey2m1c",
|
|
47
|
+
kCIrl2: "musaex-3m8u43",
|
|
48
|
+
k3aq6I: "musaex-1vfo23u",
|
|
49
|
+
$$css: true
|
|
50
|
+
},
|
|
51
|
+
"bottom-left": {
|
|
52
|
+
krVfgx: "musaex-1ey2m1c",
|
|
53
|
+
kbCHJM: "musaex-u96u03",
|
|
54
|
+
k3aq6I: "musaex-itovws",
|
|
55
|
+
$$css: true
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var styles = {
|
|
59
|
+
badge: badge,
|
|
60
|
+
tail: tail
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
exports.default = styles;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
badge: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
|
|
5
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "inline-flex">;
|
|
6
|
+
}>;
|
|
7
|
+
}>;
|
|
8
|
+
tail: Readonly<{
|
|
9
|
+
readonly base: Readonly<{
|
|
10
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "absolute">;
|
|
11
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
12
|
+
readonly minWidth: import("@stylexjs/stylex").StyleXClassNameFor<"minWidth", string>;
|
|
13
|
+
readonly textAlign: import("@stylexjs/stylex").StyleXClassNameFor<"textAlign", "center">;
|
|
14
|
+
readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", `0 0 0 ${import("@stylexjs/stylex").StyleXVar<string>} var(--color-on-primary)`>;
|
|
15
|
+
readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-primary)">;
|
|
16
|
+
readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-primary)">;
|
|
17
|
+
}>;
|
|
18
|
+
readonly dot: Readonly<{
|
|
19
|
+
readonly minWidth: import("@stylexjs/stylex").StyleXClassNameFor<"minWidth", null>;
|
|
20
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
21
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
22
|
+
}>;
|
|
23
|
+
readonly invisible: Readonly<{
|
|
24
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "none">;
|
|
25
|
+
}>;
|
|
26
|
+
readonly "top-right": Readonly<{
|
|
27
|
+
readonly top: import("@stylexjs/stylex").StyleXClassNameFor<"top", 0>;
|
|
28
|
+
readonly right: import("@stylexjs/stylex").StyleXClassNameFor<"right", 0>;
|
|
29
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translateX(50%) translateY(-50%)">;
|
|
30
|
+
}>;
|
|
31
|
+
readonly "top-left": Readonly<{
|
|
32
|
+
readonly top: import("@stylexjs/stylex").StyleXClassNameFor<"top", 0>;
|
|
33
|
+
readonly left: import("@stylexjs/stylex").StyleXClassNameFor<"left", 0>;
|
|
34
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translateX(-50%) translateY(-50%)">;
|
|
35
|
+
}>;
|
|
36
|
+
readonly "bottom-right": Readonly<{
|
|
37
|
+
readonly bottom: import("@stylexjs/stylex").StyleXClassNameFor<"bottom", 0>;
|
|
38
|
+
readonly right: import("@stylexjs/stylex").StyleXClassNameFor<"right", 0>;
|
|
39
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translateX(50%) translateY(50%)">;
|
|
40
|
+
}>;
|
|
41
|
+
readonly "bottom-left": Readonly<{
|
|
42
|
+
readonly bottom: import("@stylexjs/stylex").StyleXClassNameFor<"bottom", 0>;
|
|
43
|
+
readonly left: import("@stylexjs/stylex").StyleXClassNameFor<"left", 0>;
|
|
44
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translateX(-50%) translateY(50%)">;
|
|
45
|
+
}>;
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
48
|
+
export default styles;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var badge = {
|
|
2
|
+
base: {
|
|
3
|
+
kVAEAm: "musaex-1n2onr6",
|
|
4
|
+
k1xSpc: "musaex-3nfvp2",
|
|
5
|
+
$$css: true
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
var tail = {
|
|
9
|
+
base: {
|
|
10
|
+
kVAEAm: "musaex-10l6tqk",
|
|
11
|
+
kaIpWk: "musaex-shxsqp",
|
|
12
|
+
k7Eaqz: "musaex-d9398k",
|
|
13
|
+
k9WMMc: "musaex-2b8uid",
|
|
14
|
+
kGVxlE: "musaex-bxw2on",
|
|
15
|
+
kWkggS: "musaex-19fix8x",
|
|
16
|
+
kMwMTN: "musaex-1szb5uh",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
dot: {
|
|
20
|
+
k7Eaqz: null,
|
|
21
|
+
kzqmXN: "musaex-11mouiv",
|
|
22
|
+
kZKoxP: "musaex-1svyby3",
|
|
23
|
+
$$css: true
|
|
24
|
+
},
|
|
25
|
+
invisible: {
|
|
26
|
+
k1xSpc: "musaex-1s85apg",
|
|
27
|
+
$$css: true
|
|
28
|
+
},
|
|
29
|
+
"top-right": {
|
|
30
|
+
k87sOh: "musaex-13vifvy",
|
|
31
|
+
kCIrl2: "musaex-3m8u43",
|
|
32
|
+
k3aq6I: "musaex-rycbv3",
|
|
33
|
+
$$css: true
|
|
34
|
+
},
|
|
35
|
+
"top-left": {
|
|
36
|
+
k87sOh: "musaex-13vifvy",
|
|
37
|
+
kbCHJM: "musaex-u96u03",
|
|
38
|
+
k3aq6I: "musaex-1i3z1r0",
|
|
39
|
+
$$css: true
|
|
40
|
+
},
|
|
41
|
+
"bottom-right": {
|
|
42
|
+
krVfgx: "musaex-1ey2m1c",
|
|
43
|
+
kCIrl2: "musaex-3m8u43",
|
|
44
|
+
k3aq6I: "musaex-1vfo23u",
|
|
45
|
+
$$css: true
|
|
46
|
+
},
|
|
47
|
+
"bottom-left": {
|
|
48
|
+
krVfgx: "musaex-1ey2m1c",
|
|
49
|
+
kbCHJM: "musaex-u96u03",
|
|
50
|
+
k3aq6I: "musaex-itovws",
|
|
51
|
+
$$css: true
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var styles = {
|
|
55
|
+
badge: badge,
|
|
56
|
+
tail: tail
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export { styles as default };
|
|
@@ -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 stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
8
9
|
var hooks = require('./hooks.cjs');
|
|
@@ -16,17 +17,6 @@ var index = require('../layout/index.cjs');
|
|
|
16
17
|
var menuOpen = require('../icon/icons/navigation/menu-open.cjs');
|
|
17
18
|
var menu$1 = require('../icon/icons/navigation/menu.cjs');
|
|
18
19
|
|
|
19
|
-
var styles = {
|
|
20
|
-
heading: {
|
|
21
|
-
"default": {
|
|
22
|
-
$$css: true
|
|
23
|
-
},
|
|
24
|
-
collapsed: {
|
|
25
|
-
kjj79g: "musaex-l56j7k",
|
|
26
|
-
kg3NbH: "musaex-2961ne",
|
|
27
|
-
$$css: true
|
|
28
|
-
}
|
|
29
|
-
}};
|
|
30
20
|
var Bench = function Bench(_ref) {
|
|
31
21
|
var children = _ref.children,
|
|
32
22
|
title = _ref.title,
|
|
@@ -74,40 +64,15 @@ var Bench = function Bench(_ref) {
|
|
|
74
64
|
sidebarMenuItems = _useMenuItems.sidebar,
|
|
75
65
|
hasSidebar = _useMenuItems.hasSidebar;
|
|
76
66
|
var styled = {
|
|
77
|
-
bench:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
header: {},
|
|
87
|
-
sidebar: {
|
|
88
|
-
0: {},
|
|
89
|
-
1: {
|
|
90
|
-
className: "musaex-2961ne musaex-5jv616 musaex-1nxu92g musaex-78zum5 musaex-dt5ytf musaex-6s0dn4"
|
|
91
|
-
}
|
|
92
|
-
}[!!isCollapsed << 0],
|
|
93
|
-
menu: {
|
|
94
|
-
0: {
|
|
95
|
-
className: "musaex-b3r6kr"
|
|
96
|
-
},
|
|
97
|
-
1: {
|
|
98
|
-
className: "musaex-b3r6kr musaex-eq5yr9"
|
|
99
|
-
}
|
|
100
|
-
}[!!isCollapsed << 0],
|
|
101
|
-
trailing: {
|
|
102
|
-
className: "musaex-78zum5 musaex-1wm2zkp musaex-3qhtz4"
|
|
103
|
-
},
|
|
104
|
-
main: {},
|
|
105
|
-
collapser: {
|
|
106
|
-
className: "musaex-vc5jky"
|
|
107
|
-
},
|
|
108
|
-
expander: {
|
|
109
|
-
className: "musaex-1pultth musaex-92755x musaex-78zum5 musaex-l56j7k musaex-g98ter musaex-1r8uzkf musaex-k59kd musaex-uvson1 musaex-1y0btm7 musaex-axmpxa"
|
|
110
|
-
},
|
|
67
|
+
bench: stylex.props(styles.default.bench.base, isCollapsed && styles.default.bench.collapsed),
|
|
68
|
+
heading: stylex.props(theme.$title.large, styles.default.heading.base, isCollapsed && styles.default.heading.collapsed),
|
|
69
|
+
header: stylex.props(styles.default.header.base),
|
|
70
|
+
sidebar: stylex.props(styles.default.sidebar.base, isCollapsed && styles.default.sidebar.collapsed),
|
|
71
|
+
menu: stylex.props(styles.default.menu.base, isCollapsed && styles.default.menu.collapsed),
|
|
72
|
+
trailing: stylex.props(styles.default.trailing.base),
|
|
73
|
+
main: stylex.props(styles.default.main.base),
|
|
74
|
+
collapser: stylex.props(styles.default.collapser.base),
|
|
75
|
+
expander: stylex.props(styles.default.expander.base),
|
|
111
76
|
title: stylex.props(theme.$title.large)
|
|
112
77
|
};
|
|
113
78
|
return /*#__PURE__*/React.createElement(index.Layout, {
|