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
|
@@ -1,82 +1,12 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
2
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
3
|
+
import styles from './styles.mjs';
|
|
3
4
|
import React 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 { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
6
7
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
7
8
|
import { CLASS_NAMES } from './context.mjs';
|
|
8
9
|
|
|
9
|
-
var styles = {
|
|
10
|
-
circle: {
|
|
11
|
-
k44tkh: "musaex-1c74tu6",
|
|
12
|
-
kyAemX: "musaex-1esw782",
|
|
13
|
-
ko0y90: "musaex-a4qsjk",
|
|
14
|
-
kDwRjp: "musaex-bh8q5q",
|
|
15
|
-
kU5bRw: "musaex-1owpc8m",
|
|
16
|
-
$$css: true
|
|
17
|
-
},
|
|
18
|
-
top: {
|
|
19
|
-
kKVMdj: "musaex-1ygrg12",
|
|
20
|
-
kjVXCG: "musaex-1rd0bzx",
|
|
21
|
-
$$css: true
|
|
22
|
-
},
|
|
23
|
-
bottom: {
|
|
24
|
-
kKVMdj: "musaex-s32ixd",
|
|
25
|
-
kjVXCG: "musaex-1op1030",
|
|
26
|
-
$$css: true
|
|
27
|
-
},
|
|
28
|
-
left: {
|
|
29
|
-
kKVMdj: "musaex-1dxjbsd",
|
|
30
|
-
kjVXCG: "musaex-1pomg4v",
|
|
31
|
-
$$css: true
|
|
32
|
-
},
|
|
33
|
-
right: {
|
|
34
|
-
kKVMdj: "musaex-1dppd5q",
|
|
35
|
-
kjVXCG: "musaex-197s2ti",
|
|
36
|
-
$$css: true
|
|
37
|
-
},
|
|
38
|
-
small: {
|
|
39
|
-
kzqmXN: "musaex-19dbm5w",
|
|
40
|
-
kZKoxP: "musaex-12ez60q",
|
|
41
|
-
$$css: true
|
|
42
|
-
},
|
|
43
|
-
medium: {
|
|
44
|
-
kzqmXN: "musaex-108untq",
|
|
45
|
-
kZKoxP: "musaex-tbkiit",
|
|
46
|
-
$$css: true
|
|
47
|
-
},
|
|
48
|
-
large: {
|
|
49
|
-
kzqmXN: "musaex-170iu1w",
|
|
50
|
-
kZKoxP: "musaex-1x9caio",
|
|
51
|
-
$$css: true
|
|
52
|
-
},
|
|
53
|
-
loading: {
|
|
54
|
-
kVAEAm: "musaex-1n2onr6",
|
|
55
|
-
k7Eaqz: "musaex-193eezx",
|
|
56
|
-
kAzted: "musaex-aumc07",
|
|
57
|
-
$$css: true
|
|
58
|
-
},
|
|
59
|
-
spin: {
|
|
60
|
-
kVAEAm: "musaex-10l6tqk",
|
|
61
|
-
kzqmXN: "musaex-92755x",
|
|
62
|
-
kZKoxP: "musaex-qg7gut",
|
|
63
|
-
k87sOh: "musaex-13vifvy",
|
|
64
|
-
kLqNvP: "musaex-1o0tod",
|
|
65
|
-
k1xSpc: "musaex-78zum5",
|
|
66
|
-
kjj79g: "musaex-l56j7k",
|
|
67
|
-
kGNEyG: "musaex-6s0dn4",
|
|
68
|
-
kY2c9j: "musaex-qgk00j",
|
|
69
|
-
$$css: true
|
|
70
|
-
},
|
|
71
|
-
overlay: {
|
|
72
|
-
kSiTet: "musaex-byyjgo",
|
|
73
|
-
kfSwDN: "musaex-87ps6o",
|
|
74
|
-
kfzvcC: "musaex-47corl",
|
|
75
|
-
k1ekBW: "musaex-19991ni",
|
|
76
|
-
kIyJzY: "musaex-1d8287x",
|
|
77
|
-
$$css: true
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
10
|
var Loading = function Loading(_ref) {
|
|
81
11
|
var _ref$size = _ref.size,
|
|
82
12
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
@@ -89,49 +19,32 @@ var Loading = function Loading(_ref) {
|
|
|
89
19
|
loading = _ref$loading === void 0 ? true : _ref$loading;
|
|
90
20
|
var classNames = useClassNames(CLASS_NAMES);
|
|
91
21
|
var circles = {
|
|
92
|
-
top: _objectSpread(_objectSpread({}, {
|
|
93
|
-
className: "musaex-1c74tu6 musaex-1esw782 musaex-a4qsjk musaex-bh8q5q musaex-1owpc8m musaex-1ygrg12 musaex-1rd0bzx"
|
|
94
|
-
}), {}, {
|
|
22
|
+
top: _objectSpread(_objectSpread({}, props(styles.circle, styles.top)), {}, {
|
|
95
23
|
cx: "120",
|
|
96
24
|
cy: "120",
|
|
97
25
|
r: "105"
|
|
98
26
|
}),
|
|
99
|
-
bottom: _objectSpread(_objectSpread({}, {
|
|
100
|
-
className: "musaex-1c74tu6 musaex-1esw782 musaex-a4qsjk musaex-bh8q5q musaex-1owpc8m musaex-s32ixd musaex-1op1030"
|
|
101
|
-
}), {}, {
|
|
27
|
+
bottom: _objectSpread(_objectSpread({}, props(styles.circle, styles.bottom)), {}, {
|
|
102
28
|
cx: "120",
|
|
103
29
|
cy: "120",
|
|
104
30
|
r: "35"
|
|
105
31
|
}),
|
|
106
|
-
left: _objectSpread(_objectSpread({}, {
|
|
107
|
-
className: "musaex-1c74tu6 musaex-1esw782 musaex-a4qsjk musaex-bh8q5q musaex-1owpc8m musaex-1dxjbsd musaex-1pomg4v"
|
|
108
|
-
}), {}, {
|
|
32
|
+
left: _objectSpread(_objectSpread({}, props(styles.circle, styles.left)), {}, {
|
|
109
33
|
cx: "85",
|
|
110
34
|
cy: "120",
|
|
111
35
|
r: "70"
|
|
112
36
|
}),
|
|
113
|
-
right: _objectSpread(_objectSpread({}, {
|
|
114
|
-
className: "musaex-1c74tu6 musaex-1esw782 musaex-a4qsjk musaex-bh8q5q musaex-1owpc8m musaex-1dppd5q musaex-197s2ti"
|
|
115
|
-
}), {}, {
|
|
37
|
+
right: _objectSpread(_objectSpread({}, props(styles.circle, styles.right)), {}, {
|
|
116
38
|
cx: "155",
|
|
117
39
|
cy: "120",
|
|
118
40
|
r: "70"
|
|
119
41
|
})
|
|
120
42
|
};
|
|
121
43
|
var styled = {
|
|
122
|
-
loading:
|
|
123
|
-
|
|
124
|
-
},
|
|
125
|
-
spin: {
|
|
126
|
-
className: "musaex-10l6tqk musaex-92755x musaex-qg7gut musaex-13vifvy musaex-1o0tod musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-qgk00j"
|
|
127
|
-
},
|
|
44
|
+
loading: props(styles.loading),
|
|
45
|
+
spin: props(styles.spin),
|
|
128
46
|
spinning: props(styles[size]),
|
|
129
|
-
content:
|
|
130
|
-
0: {},
|
|
131
|
-
1: {
|
|
132
|
-
className: "musaex-byyjgo musaex-87ps6o musaex-47corl musaex-19991ni musaex-1d8287x"
|
|
133
|
-
}
|
|
134
|
-
}[!!(loading && overlay) << 0]
|
|
47
|
+
content: props(loading && overlay && styles.overlay)
|
|
135
48
|
};
|
|
136
49
|
return /*#__PURE__*/React.createElement("div", {
|
|
137
50
|
className: stringify(classNames.loading, styled.loading.className),
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {
|
|
6
|
+
circle: {
|
|
7
|
+
k44tkh: "musaex-1c74tu6",
|
|
8
|
+
kyAemX: "musaex-1esw782",
|
|
9
|
+
ko0y90: "musaex-a4qsjk",
|
|
10
|
+
kDwRjp: "musaex-bh8q5q",
|
|
11
|
+
kU5bRw: "musaex-1owpc8m",
|
|
12
|
+
$$css: true
|
|
13
|
+
},
|
|
14
|
+
loading_top: {
|
|
15
|
+
kKVMdj: "musaex-1ygrg12",
|
|
16
|
+
kjVXCG: "musaex-1rd0bzx",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
loading_bottom: {
|
|
20
|
+
kKVMdj: "musaex-s32ixd",
|
|
21
|
+
kjVXCG: "musaex-1op1030",
|
|
22
|
+
$$css: true
|
|
23
|
+
},
|
|
24
|
+
loading_left: {
|
|
25
|
+
kKVMdj: "musaex-1dxjbsd",
|
|
26
|
+
kjVXCG: "musaex-1pomg4v",
|
|
27
|
+
$$css: true
|
|
28
|
+
},
|
|
29
|
+
loading_right: {
|
|
30
|
+
kKVMdj: "musaex-1dppd5q",
|
|
31
|
+
kjVXCG: "musaex-197s2ti",
|
|
32
|
+
$$css: true
|
|
33
|
+
},
|
|
34
|
+
small: {
|
|
35
|
+
kzqmXN: "musaex-19dbm5w",
|
|
36
|
+
kZKoxP: "musaex-12ez60q",
|
|
37
|
+
$$css: true
|
|
38
|
+
},
|
|
39
|
+
medium: {
|
|
40
|
+
kzqmXN: "musaex-108untq",
|
|
41
|
+
kZKoxP: "musaex-tbkiit",
|
|
42
|
+
$$css: true
|
|
43
|
+
},
|
|
44
|
+
large: {
|
|
45
|
+
kzqmXN: "musaex-170iu1w",
|
|
46
|
+
kZKoxP: "musaex-1x9caio",
|
|
47
|
+
$$css: true
|
|
48
|
+
},
|
|
49
|
+
loading: {
|
|
50
|
+
kVAEAm: "musaex-1n2onr6",
|
|
51
|
+
k7Eaqz: "musaex-193eezx",
|
|
52
|
+
kAzted: "musaex-aumc07",
|
|
53
|
+
$$css: true
|
|
54
|
+
},
|
|
55
|
+
spin: {
|
|
56
|
+
kVAEAm: "musaex-10l6tqk",
|
|
57
|
+
kzqmXN: "musaex-92755x",
|
|
58
|
+
kZKoxP: "musaex-qg7gut",
|
|
59
|
+
k87sOh: "musaex-13vifvy",
|
|
60
|
+
kLqNvP: "musaex-1o0tod",
|
|
61
|
+
k1xSpc: "musaex-78zum5",
|
|
62
|
+
kjj79g: "musaex-l56j7k",
|
|
63
|
+
kGNEyG: "musaex-6s0dn4",
|
|
64
|
+
kY2c9j: "musaex-qgk00j",
|
|
65
|
+
$$css: true
|
|
66
|
+
},
|
|
67
|
+
overlay: {
|
|
68
|
+
kSiTet: "musaex-byyjgo",
|
|
69
|
+
kfSwDN: "musaex-87ps6o",
|
|
70
|
+
kfzvcC: "musaex-47corl",
|
|
71
|
+
k1ekBW: "musaex-19991ni",
|
|
72
|
+
kIyJzY: "musaex-1d8287x",
|
|
73
|
+
$$css: true
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
exports.default = styles;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare const styles: Readonly<{
|
|
2
|
+
readonly circle: Readonly<{
|
|
3
|
+
readonly animationDuration: import("@stylexjs/stylex").StyleXClassNameFor<"animationDuration", "2s">;
|
|
4
|
+
readonly animationTimingFunction: import("@stylexjs/stylex").StyleXClassNameFor<"animationTimingFunction", "linear">;
|
|
5
|
+
readonly animationIterationCount: import("@stylexjs/stylex").StyleXClassNameFor<"animationIterationCount", "infinite">;
|
|
6
|
+
readonly fill: import("@stylexjs/stylex").StyleXClassNameFor<"fill", "none">;
|
|
7
|
+
readonly strokeLinecap: import("@stylexjs/stylex").StyleXClassNameFor<"strokeLinecap", "round">;
|
|
8
|
+
}>;
|
|
9
|
+
readonly loading_top: Readonly<{
|
|
10
|
+
readonly animationName: import("@stylexjs/stylex").StyleXClassNameFor<"animationName", string>;
|
|
11
|
+
readonly stroke: import("@stylexjs/stylex").StyleXClassNameFor<"stroke", "#f42f25">;
|
|
12
|
+
}>;
|
|
13
|
+
readonly loading_bottom: Readonly<{
|
|
14
|
+
readonly animationName: import("@stylexjs/stylex").StyleXClassNameFor<"animationName", string>;
|
|
15
|
+
readonly stroke: import("@stylexjs/stylex").StyleXClassNameFor<"stroke", "#f49725">;
|
|
16
|
+
}>;
|
|
17
|
+
readonly loading_left: Readonly<{
|
|
18
|
+
readonly animationName: import("@stylexjs/stylex").StyleXClassNameFor<"animationName", string>;
|
|
19
|
+
readonly stroke: import("@stylexjs/stylex").StyleXClassNameFor<"stroke", "#255ff4">;
|
|
20
|
+
}>;
|
|
21
|
+
readonly loading_right: Readonly<{
|
|
22
|
+
readonly animationName: import("@stylexjs/stylex").StyleXClassNameFor<"animationName", string>;
|
|
23
|
+
readonly stroke: import("@stylexjs/stylex").StyleXClassNameFor<"stroke", "#f42582">;
|
|
24
|
+
}>;
|
|
25
|
+
readonly small: Readonly<{
|
|
26
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
27
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
28
|
+
}>;
|
|
29
|
+
readonly medium: Readonly<{
|
|
30
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
31
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
32
|
+
}>;
|
|
33
|
+
readonly large: Readonly<{
|
|
34
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
35
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
36
|
+
}>;
|
|
37
|
+
readonly loading: Readonly<{
|
|
38
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
|
|
39
|
+
readonly minWidth: import("@stylexjs/stylex").StyleXClassNameFor<"minWidth", string>;
|
|
40
|
+
readonly minHeight: import("@stylexjs/stylex").StyleXClassNameFor<"minHeight", string>;
|
|
41
|
+
}>;
|
|
42
|
+
readonly spin: Readonly<{
|
|
43
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "absolute">;
|
|
44
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
45
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
46
|
+
readonly insetBlockStart: import("@stylexjs/stylex").StyleXClassNameFor<"insetBlockStart", 0>;
|
|
47
|
+
readonly insetInlineStart: import("@stylexjs/stylex").StyleXClassNameFor<"insetInlineStart", 0>;
|
|
48
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
49
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
|
|
50
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
51
|
+
readonly zIndex: import("@stylexjs/stylex").StyleXClassNameFor<"zIndex", string>;
|
|
52
|
+
}>;
|
|
53
|
+
readonly overlay: Readonly<{
|
|
54
|
+
readonly opacity: import("@stylexjs/stylex").StyleXClassNameFor<"opacity", 0.5>;
|
|
55
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
56
|
+
readonly pointerEvents: import("@stylexjs/stylex").StyleXClassNameFor<"pointerEvents", "none">;
|
|
57
|
+
readonly transitionProperty: import("@stylexjs/stylex").StyleXClassNameFor<"transitionProperty", "opacity">;
|
|
58
|
+
readonly transitionDuration: import("@stylexjs/stylex").StyleXClassNameFor<"transitionDuration", "0.3s">;
|
|
59
|
+
}>;
|
|
60
|
+
}>;
|
|
61
|
+
export default styles;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
circle: {
|
|
3
|
+
k44tkh: "musaex-1c74tu6",
|
|
4
|
+
kyAemX: "musaex-1esw782",
|
|
5
|
+
ko0y90: "musaex-a4qsjk",
|
|
6
|
+
kDwRjp: "musaex-bh8q5q",
|
|
7
|
+
kU5bRw: "musaex-1owpc8m",
|
|
8
|
+
$$css: true
|
|
9
|
+
},
|
|
10
|
+
loading_top: {
|
|
11
|
+
kKVMdj: "musaex-1ygrg12",
|
|
12
|
+
kjVXCG: "musaex-1rd0bzx",
|
|
13
|
+
$$css: true
|
|
14
|
+
},
|
|
15
|
+
loading_bottom: {
|
|
16
|
+
kKVMdj: "musaex-s32ixd",
|
|
17
|
+
kjVXCG: "musaex-1op1030",
|
|
18
|
+
$$css: true
|
|
19
|
+
},
|
|
20
|
+
loading_left: {
|
|
21
|
+
kKVMdj: "musaex-1dxjbsd",
|
|
22
|
+
kjVXCG: "musaex-1pomg4v",
|
|
23
|
+
$$css: true
|
|
24
|
+
},
|
|
25
|
+
loading_right: {
|
|
26
|
+
kKVMdj: "musaex-1dppd5q",
|
|
27
|
+
kjVXCG: "musaex-197s2ti",
|
|
28
|
+
$$css: true
|
|
29
|
+
},
|
|
30
|
+
small: {
|
|
31
|
+
kzqmXN: "musaex-19dbm5w",
|
|
32
|
+
kZKoxP: "musaex-12ez60q",
|
|
33
|
+
$$css: true
|
|
34
|
+
},
|
|
35
|
+
medium: {
|
|
36
|
+
kzqmXN: "musaex-108untq",
|
|
37
|
+
kZKoxP: "musaex-tbkiit",
|
|
38
|
+
$$css: true
|
|
39
|
+
},
|
|
40
|
+
large: {
|
|
41
|
+
kzqmXN: "musaex-170iu1w",
|
|
42
|
+
kZKoxP: "musaex-1x9caio",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
loading: {
|
|
46
|
+
kVAEAm: "musaex-1n2onr6",
|
|
47
|
+
k7Eaqz: "musaex-193eezx",
|
|
48
|
+
kAzted: "musaex-aumc07",
|
|
49
|
+
$$css: true
|
|
50
|
+
},
|
|
51
|
+
spin: {
|
|
52
|
+
kVAEAm: "musaex-10l6tqk",
|
|
53
|
+
kzqmXN: "musaex-92755x",
|
|
54
|
+
kZKoxP: "musaex-qg7gut",
|
|
55
|
+
k87sOh: "musaex-13vifvy",
|
|
56
|
+
kLqNvP: "musaex-1o0tod",
|
|
57
|
+
k1xSpc: "musaex-78zum5",
|
|
58
|
+
kjj79g: "musaex-l56j7k",
|
|
59
|
+
kGNEyG: "musaex-6s0dn4",
|
|
60
|
+
kY2c9j: "musaex-qgk00j",
|
|
61
|
+
$$css: true
|
|
62
|
+
},
|
|
63
|
+
overlay: {
|
|
64
|
+
kSiTet: "musaex-byyjgo",
|
|
65
|
+
kfSwDN: "musaex-87ps6o",
|
|
66
|
+
kfzvcC: "musaex-47corl",
|
|
67
|
+
k1ekBW: "musaex-19991ni",
|
|
68
|
+
kIyJzY: "musaex-1d8287x",
|
|
69
|
+
$$css: true
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export { styles as default };
|
|
@@ -3,8 +3,10 @@
|
|
|
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 skeleton = require('../skeleton/skeleton.cjs');
|
|
9
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
8
10
|
var space = require('../space/space.cjs');
|
|
9
11
|
var context = require('./context.cjs');
|
|
10
12
|
var className = require('@aiszlab/relax/class-name');
|
|
@@ -13,21 +15,11 @@ var Loading = function Loading() {
|
|
|
13
15
|
var _useContext = React.useContext(context.default),
|
|
14
16
|
classNames = _useContext.classNames;
|
|
15
17
|
var styled = {
|
|
16
|
-
loading:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
content: {
|
|
23
|
-
className: "musaex-14rvwrp musaex-pvxov6 musaex-m9kfsm"
|
|
24
|
-
},
|
|
25
|
-
newline: {
|
|
26
|
-
className: "musaex-qhwcoo musaex-pvxov6 musaex-m9kfsm"
|
|
27
|
-
},
|
|
28
|
-
footer: {
|
|
29
|
-
className: "musaex-11mck8i musaex-1ksoi14 musaex-m9kfsm"
|
|
30
|
-
}
|
|
18
|
+
loading: stylex.props(styles.default.loading.base),
|
|
19
|
+
heading: stylex.props(styles.default.loading.heading),
|
|
20
|
+
content: stylex.props(styles.default.loading.content),
|
|
21
|
+
newline: stylex.props(styles.default.loading.newline),
|
|
22
|
+
footer: stylex.props(styles.default.loading.footer)
|
|
31
23
|
};
|
|
32
24
|
return /*#__PURE__*/React.createElement(space.default, {
|
|
33
25
|
className: (className.stringify(classNames.loading), styled.loading.className),
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
|
+
import styles from './styles.mjs';
|
|
2
3
|
import React, { useContext } from 'react';
|
|
3
4
|
import Skeleton from '../skeleton/skeleton.mjs';
|
|
5
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
4
6
|
import Space from '../space/space.mjs';
|
|
5
7
|
import Context from './context.mjs';
|
|
6
8
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
@@ -9,21 +11,11 @@ var Loading = function Loading() {
|
|
|
9
11
|
var _useContext = useContext(Context),
|
|
10
12
|
classNames = _useContext.classNames;
|
|
11
13
|
var styled = {
|
|
12
|
-
loading:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
content: {
|
|
19
|
-
className: "musaex-14rvwrp musaex-pvxov6 musaex-m9kfsm"
|
|
20
|
-
},
|
|
21
|
-
newline: {
|
|
22
|
-
className: "musaex-qhwcoo musaex-pvxov6 musaex-m9kfsm"
|
|
23
|
-
},
|
|
24
|
-
footer: {
|
|
25
|
-
className: "musaex-11mck8i musaex-1ksoi14 musaex-m9kfsm"
|
|
26
|
-
}
|
|
14
|
+
loading: props(styles.loading.base),
|
|
15
|
+
heading: props(styles.loading.heading),
|
|
16
|
+
content: props(styles.loading.content),
|
|
17
|
+
newline: props(styles.loading.newline),
|
|
18
|
+
footer: props(styles.loading.footer)
|
|
27
19
|
};
|
|
28
20
|
return /*#__PURE__*/React.createElement(Space, {
|
|
29
21
|
className: (stringify(classNames.loading), styled.loading.className),
|
|
@@ -5,21 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _regenerator = require('@babel/runtime/helpers/regenerator');
|
|
6
6
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
7
7
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
|
+
var styles = require('./styles.cjs');
|
|
8
9
|
var React = require('react');
|
|
9
10
|
var utils = require('./utils.cjs');
|
|
10
11
|
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
11
12
|
var theme = require('../theme/theme.cjs');
|
|
12
13
|
var className = require('@aiszlab/relax/class-name');
|
|
13
14
|
|
|
14
|
-
var styles = {
|
|
15
|
-
markdown: {
|
|
16
|
-
kzqmXN: "musaex-eq5yr9",
|
|
17
|
-
kVQacm: "musaex-ysyzu8",
|
|
18
|
-
k7Eaqz: "musaex-gqtt45",
|
|
19
|
-
kIP73R: "musaex-1h6ixn3",
|
|
20
|
-
$$css: true
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
15
|
var Markdown = /*#__PURE__*/function () {
|
|
24
16
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(_ref) {
|
|
25
17
|
var value, className$1, style, isInClient, _html, styled, _t;
|
|
@@ -41,7 +33,7 @@ var Markdown = /*#__PURE__*/function () {
|
|
|
41
33
|
_t = value;
|
|
42
34
|
case 3:
|
|
43
35
|
_html = _t;
|
|
44
|
-
styled = stylex.props(styles.markdown, theme.$body.medium);
|
|
36
|
+
styled = stylex.props(styles.default.markdown.base, theme.$body.medium);
|
|
45
37
|
return _context.a(2, /*#__PURE__*/React.createElement("div", {
|
|
46
38
|
dangerouslySetInnerHTML: {
|
|
47
39
|
__html: _html
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
import _regenerator from '@babel/runtime/helpers/regenerator';
|
|
2
2
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
3
3
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
4
|
+
import styles from './styles.mjs';
|
|
4
5
|
import React from 'react';
|
|
5
6
|
import { toHtml } from './utils.mjs';
|
|
6
7
|
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
7
8
|
import { $body } from '../theme/theme.mjs';
|
|
8
9
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
9
10
|
|
|
10
|
-
var styles = {
|
|
11
|
-
markdown: {
|
|
12
|
-
kzqmXN: "musaex-eq5yr9",
|
|
13
|
-
kVQacm: "musaex-ysyzu8",
|
|
14
|
-
k7Eaqz: "musaex-gqtt45",
|
|
15
|
-
kIP73R: "musaex-1h6ixn3",
|
|
16
|
-
$$css: true
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
11
|
var Markdown = /*#__PURE__*/function () {
|
|
20
12
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(_ref) {
|
|
21
13
|
var value, className, style, isInClient, _html, styled, _t;
|
|
@@ -37,7 +29,7 @@ var Markdown = /*#__PURE__*/function () {
|
|
|
37
29
|
_t = value;
|
|
38
30
|
case 3:
|
|
39
31
|
_html = _t;
|
|
40
|
-
styled = props(styles.markdown, $body.medium);
|
|
32
|
+
styled = props(styles.markdown.base, $body.medium);
|
|
41
33
|
return _context.a(2, /*#__PURE__*/React.createElement("div", {
|
|
42
34
|
dangerouslySetInnerHTML: {
|
|
43
35
|
__html: _html
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var loading = {
|
|
6
|
+
base: {
|
|
7
|
+
kmVPX3: "musaex-6b7nyu",
|
|
8
|
+
$$css: true
|
|
9
|
+
},
|
|
10
|
+
heading: {
|
|
11
|
+
kzqmXN: "musaex-11mck8i",
|
|
12
|
+
kZKoxP: "musaex-1si1pn3",
|
|
13
|
+
kaIpWk: "musaex-m9kfsm",
|
|
14
|
+
$$css: true
|
|
15
|
+
},
|
|
16
|
+
content: {
|
|
17
|
+
kzqmXN: "musaex-14rvwrp",
|
|
18
|
+
kZKoxP: "musaex-pvxov6",
|
|
19
|
+
kaIpWk: "musaex-m9kfsm",
|
|
20
|
+
$$css: true
|
|
21
|
+
},
|
|
22
|
+
newline: {
|
|
23
|
+
kzqmXN: "musaex-qhwcoo",
|
|
24
|
+
kZKoxP: "musaex-pvxov6",
|
|
25
|
+
kaIpWk: "musaex-m9kfsm",
|
|
26
|
+
$$css: true
|
|
27
|
+
},
|
|
28
|
+
footer: {
|
|
29
|
+
kzqmXN: "musaex-11mck8i",
|
|
30
|
+
kZKoxP: "musaex-1ksoi14",
|
|
31
|
+
kaIpWk: "musaex-m9kfsm",
|
|
32
|
+
$$css: true
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
var markdown = {
|
|
36
|
+
base: {
|
|
37
|
+
kzqmXN: "musaex-eq5yr9",
|
|
38
|
+
kVQacm: "musaex-ysyzu8",
|
|
39
|
+
k7Eaqz: "musaex-gqtt45",
|
|
40
|
+
kIP73R: "musaex-1h6ixn3",
|
|
41
|
+
$$css: true
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var styles = {
|
|
45
|
+
loading: loading,
|
|
46
|
+
markdown: markdown
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
exports.default = styles;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
loading: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly padding: import("@stylexjs/stylex").StyleXClassNameFor<"padding", string>;
|
|
5
|
+
}>;
|
|
6
|
+
readonly heading: Readonly<{
|
|
7
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
8
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
9
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
10
|
+
}>;
|
|
11
|
+
readonly content: Readonly<{
|
|
12
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", 600>;
|
|
13
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
14
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
15
|
+
}>;
|
|
16
|
+
readonly newline: Readonly<{
|
|
17
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
18
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
19
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
20
|
+
}>;
|
|
21
|
+
readonly footer: Readonly<{
|
|
22
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
23
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
24
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
25
|
+
}>;
|
|
26
|
+
}>;
|
|
27
|
+
markdown: Readonly<{
|
|
28
|
+
readonly base: Readonly<{
|
|
29
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", "fit-content">;
|
|
30
|
+
readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "auto">;
|
|
31
|
+
readonly minWidth: import("@stylexjs/stylex").StyleXClassNameFor<"minWidth", "100%">;
|
|
32
|
+
readonly ":not(#\\#) pre": import("@stylexjs/stylex").StyleXClassNameFor<":not(#\\#) pre", {
|
|
33
|
+
readonly padding: import("@stylexjs/stylex").StyleXVar<string>;
|
|
34
|
+
}>;
|
|
35
|
+
}>;
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
38
|
+
export default styles;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var loading = {
|
|
2
|
+
base: {
|
|
3
|
+
kmVPX3: "musaex-6b7nyu",
|
|
4
|
+
$$css: true
|
|
5
|
+
},
|
|
6
|
+
heading: {
|
|
7
|
+
kzqmXN: "musaex-11mck8i",
|
|
8
|
+
kZKoxP: "musaex-1si1pn3",
|
|
9
|
+
kaIpWk: "musaex-m9kfsm",
|
|
10
|
+
$$css: true
|
|
11
|
+
},
|
|
12
|
+
content: {
|
|
13
|
+
kzqmXN: "musaex-14rvwrp",
|
|
14
|
+
kZKoxP: "musaex-pvxov6",
|
|
15
|
+
kaIpWk: "musaex-m9kfsm",
|
|
16
|
+
$$css: true
|
|
17
|
+
},
|
|
18
|
+
newline: {
|
|
19
|
+
kzqmXN: "musaex-qhwcoo",
|
|
20
|
+
kZKoxP: "musaex-pvxov6",
|
|
21
|
+
kaIpWk: "musaex-m9kfsm",
|
|
22
|
+
$$css: true
|
|
23
|
+
},
|
|
24
|
+
footer: {
|
|
25
|
+
kzqmXN: "musaex-11mck8i",
|
|
26
|
+
kZKoxP: "musaex-1ksoi14",
|
|
27
|
+
kaIpWk: "musaex-m9kfsm",
|
|
28
|
+
$$css: true
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var markdown = {
|
|
32
|
+
base: {
|
|
33
|
+
kzqmXN: "musaex-eq5yr9",
|
|
34
|
+
kVQacm: "musaex-ysyzu8",
|
|
35
|
+
k7Eaqz: "musaex-gqtt45",
|
|
36
|
+
kIP73R: "musaex-1h6ixn3",
|
|
37
|
+
$$css: true
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var styles = {
|
|
41
|
+
loading: loading,
|
|
42
|
+
markdown: markdown
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { styles as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|