musae 1.3.1-beta.2 → 1.3.1-beta.3
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 +2 -51
- 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 +9 -44
- 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 +4 -11
- package/dist/components/bottom-sheet/bottom-sheet.mjs +7 -14
- 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/styles.cjs +101 -97
- package/dist/components/button/styles.d.ts +7 -7
- package/dist/components/button/styles.mjs +101 -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 +8 -46
- 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/styles.cjs +262 -246
- package/dist/components/card/styles.mjs +262 -246
- package/dist/components/cascader/cascader.cjs +3 -3
- package/dist/components/cascader/cascader.mjs +5 -5
- 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/styles.cjs +50 -46
- package/dist/components/checkbox/styles.mjs +50 -46
- 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 +4 -41
- 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/date-picker.cjs +4 -5
- package/dist/components/date-picker/date-picker.mjs +4 -5
- 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 +4 -6
- package/dist/components/date-range-picker/date-range-picker.mjs +6 -8
- 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/layout.cjs +4 -23
- package/dist/components/form/field/layout.mjs +4 -23
- package/dist/components/form/field/styles.cjs +46 -0
- package/dist/components/form/field/styles.d.ts +35 -0
- package/dist/components/form/field/styles.mjs +42 -0
- 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/styles.cjs +21 -0
- package/dist/components/form/styles.d.ts +12 -0
- package/dist/components/form/styles.mjs +17 -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/icons/mock/styles.cjs +8 -0
- package/dist/components/icon/icons/mock/styles.d.ts +9 -0
- package/dist/components/icon/icons/mock/styles.mjs +4 -0
- package/dist/components/icon/styles.cjs +19 -0
- package/dist/components/icon/styles.d.ts +12 -0
- package/dist/components/icon/styles.mjs +15 -0
- package/dist/components/icon-button/icon-button.cjs +2 -38
- package/dist/components/icon-button/icon-button.mjs +1 -37
- 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/preview/styles.cjs +67 -0
- package/dist/components/image/preview/styles.d.ts +56 -0
- package/dist/components/image/preview/styles.mjs +63 -0
- package/dist/components/image/styles.cjs +53 -0
- package/dist/components/image/styles.d.ts +40 -0
- package/dist/components/image/styles.mjs +49 -0
- package/dist/components/input/index.d.ts +2 -1
- package/dist/components/input/input.cjs +3 -51
- package/dist/components/input/input.d.ts +0 -46
- package/dist/components/input/input.mjs +4 -51
- package/dist/components/input/styles.cjs +53 -0
- package/dist/components/input/styles.d.ts +47 -0
- package/dist/components/input/styles.mjs +48 -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/group.cjs +3 -42
- package/dist/components/menu/group.mjs +1 -40
- package/dist/components/menu/hooks.cjs +5 -14
- package/dist/components/menu/hooks.mjs +5 -14
- package/dist/components/menu/item.cjs +6 -103
- package/dist/components/menu/item.mjs +6 -103
- 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 +4 -56
- 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/item.cjs +3 -3
- package/dist/components/pagination/item.mjs +3 -3
- package/dist/components/pagination/pagination.cjs +4 -6
- package/dist/components/pagination/pagination.mjs +4 -6
- package/dist/components/pagination/styles.cjs +34 -0
- package/dist/components/pagination/styles.d.ts +36 -0
- package/dist/components/pagination/styles.mjs +30 -0
- package/dist/components/password-input/password-input.cjs +3 -3
- package/dist/components/password-input/password-input.mjs +5 -5
- package/dist/components/password-input/styles.cjs +16 -0
- package/dist/components/password-input/styles.d.ts +14 -0
- package/dist/components/password-input/styles.mjs +12 -0
- package/dist/components/picker/picker.cjs +4 -5
- package/dist/components/picker/picker.mjs +4 -5
- package/dist/components/picker/styles.cjs +12 -0
- package/dist/components/picker/styles.d.ts +6 -0
- package/dist/components/picker/styles.mjs +8 -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 +4 -19
- 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/dropdown.cjs +5 -19
- package/dist/components/popper/dropdown.d.ts +1 -1
- package/dist/components/popper/dropdown.mjs +7 -21
- 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/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 +3 -42
- 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/nodes/styles.cjs +16 -0
- package/dist/components/rich-text-editor/nodes/styles.d.ts +10 -0
- package/dist/components/rich-text-editor/nodes/styles.mjs +12 -0
- 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/floating-link-editor/styles.cjs +12 -0
- package/dist/components/rich-text-editor/plugins/floating-link-editor/styles.d.ts +6 -0
- package/dist/components/rich-text-editor/plugins/floating-link-editor/styles.mjs +8 -0
- 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/plugins/toolbar/styles.cjs +21 -0
- package/dist/components/rich-text-editor/plugins/toolbar/styles.d.ts +15 -0
- package/dist/components/rich-text-editor/plugins/toolbar/styles.mjs +17 -0
- 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 +154 -0
- package/dist/components/rich-text-editor/styles.d.ts +125 -0
- package/dist/components/rich-text-editor/styles.mjs +150 -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/styles.cjs +89 -84
- package/dist/components/search/styles.mjs +89 -84
- package/dist/components/select/select.cjs +4 -6
- package/dist/components/select/select.mjs +4 -6
- package/dist/components/select/selector.cjs +4 -17
- package/dist/components/select/selector.d.ts +1 -1
- package/dist/components/select/selector.mjs +4 -17
- package/dist/components/select/styles.cjs +40 -0
- package/dist/components/select/styles.d.ts +29 -0
- package/dist/components/select/styles.mjs +36 -0
- package/dist/components/sheet/sheet.cjs +6 -96
- package/dist/components/sheet/sheet.mjs +6 -96
- package/dist/components/sheet/styles.cjs +99 -0
- package/dist/components/sheet/styles.d.ts +80 -0
- package/dist/components/sheet/styles.mjs +95 -0
- 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 +1 -61
- 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 +4 -68
- 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 +3 -3
- package/dist/components/table/header/cell.mjs +3 -3
- package/dist/components/table/header/header.cjs +2 -2
- package/dist/components/table/header/header.mjs +2 -2
- package/dist/components/table/header/styles.cjs +75 -0
- package/dist/components/table/header/styles.d.ts +61 -0
- package/dist/components/table/header/styles.mjs +71 -0
- package/dist/components/table/styles.cjs +27 -89
- package/dist/components/table/styles.d.ts +2 -60
- package/dist/components/table/styles.mjs +27 -89
- package/dist/components/table/table.cjs +1 -1
- package/dist/components/table/table.mjs +1 -1
- package/dist/components/tabs/navigation.cjs +5 -45
- package/dist/components/tabs/navigation.mjs +4 -44
- 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 +1 -53
- 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/tokens.stylex.d.ts +4 -4
- 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 +2 -2
- package/dist/components/time-picker/time-picker.mjs +2 -2
- package/dist/components/timeline/item.cjs +7 -81
- package/dist/components/timeline/item.mjs +4 -78
- 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 +47 -0
- package/dist/components/upload/styles.d.ts +34 -0
- package/dist/components/upload/styles.mjs +43 -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 +2 -12
- 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-item/styles.cjs +42 -0
- package/dist/components/upload/uploaded-item/styles.d.ts +30 -0
- package/dist/components/upload/uploaded-item/styles.mjs +38 -0
- 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/styles.css +4 -0
- package/dist/types/form.d.ts +12 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
6
6
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
7
|
+
var styles = require('./styles.cjs');
|
|
7
8
|
var React = require('react');
|
|
8
9
|
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
9
10
|
var className = require('@aiszlab/relax/class-name');
|
|
@@ -15,48 +16,6 @@ var useThemeColorVars = require('../../hooks/use-theme-color-vars.cjs');
|
|
|
15
16
|
var theme = require('../theme/theme.cjs');
|
|
16
17
|
var context = require('./context.cjs');
|
|
17
18
|
|
|
18
|
-
/**
|
|
19
|
-
* @zh ActionSheet 专用样式:面板背景、拖拽手柄、操作项和取消按钮的样式。
|
|
20
|
-
* @en ActionSheet-specific styles: panel background, drag handle, action items and cancel button.
|
|
21
|
-
*/
|
|
22
|
-
var styles = {
|
|
23
|
-
title: {
|
|
24
|
-
kg3NbH: "musaex-1v4gb6w",
|
|
25
|
-
kLKAdn: "musaex-3nylsr",
|
|
26
|
-
k9WMMc: "musaex-2b8uid",
|
|
27
|
-
$$css: true
|
|
28
|
-
},
|
|
29
|
-
description: {
|
|
30
|
-
kg3NbH: "musaex-1v4gb6w",
|
|
31
|
-
kLKAdn: "musaex-3nylsr",
|
|
32
|
-
k9WMMc: "musaex-2b8uid",
|
|
33
|
-
$$css: true
|
|
34
|
-
},
|
|
35
|
-
actionText: {
|
|
36
|
-
k9WMMc: "musaex-2b8uid",
|
|
37
|
-
$$css: true
|
|
38
|
-
},
|
|
39
|
-
actionDesc: {
|
|
40
|
-
k9WMMc: "musaex-2b8uid",
|
|
41
|
-
keoZOQ: "musaex-1khtc51",
|
|
42
|
-
$$css: true
|
|
43
|
-
},
|
|
44
|
-
cancel: {
|
|
45
|
-
k1xSpc: "musaex-78zum5",
|
|
46
|
-
kGNEyG: "musaex-6s0dn4",
|
|
47
|
-
kjj79g: "musaex-l56j7k",
|
|
48
|
-
k8WAf4: "musaex-1aur8i7",
|
|
49
|
-
kg3NbH: "musaex-1v4gb6w",
|
|
50
|
-
kkrTdU: "musaex-1ypdohk",
|
|
51
|
-
kAzted: "musaex-qi4gqz",
|
|
52
|
-
kEafiO: "musaex-2k45e9",
|
|
53
|
-
kPef9Z: "musaex-13fuv20",
|
|
54
|
-
kVAM5u: "musaex-axmpxa",
|
|
55
|
-
keoZOQ: "musaex-1eodh35",
|
|
56
|
-
kfSwDN: "musaex-87ps6o",
|
|
57
|
-
$$css: true
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
19
|
/**
|
|
61
20
|
* @zh ActionSheet 组件。基于 Sheet 的移动端底部操作面板,
|
|
62
21
|
* 支持操作列表和二次确认场景,同时提供声明式和指令式 API。
|
|
@@ -79,26 +38,16 @@ var ActionSheet = function ActionSheet(_ref) {
|
|
|
79
38
|
locale = _useLocale2[0];
|
|
80
39
|
var themeColorVars = useThemeColorVars.useThemeColorVars(["on-surface-variant", "surface-container", "outline-variant"]);
|
|
81
40
|
var styled = {
|
|
82
|
-
handle:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
description: stylex.props(styles.description, theme.$body.medium),
|
|
93
|
-
actions: {
|
|
94
|
-
className: "musaex-ltmd5o"
|
|
95
|
-
},
|
|
96
|
-
action: {
|
|
97
|
-
className: "musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-l56j7k musaex-1aur8i7 musaex-1v4gb6w musaex-1ypdohk musaex-qi4gqz musaex-uvson1 musaex-13fuv20 musaex-axmpxa musaex-87ps6o"
|
|
98
|
-
},
|
|
99
|
-
actionText: stylex.props(styles.actionText, theme.$body.large),
|
|
100
|
-
actionDesc: stylex.props(styles.actionDesc, theme.$body.small),
|
|
101
|
-
cancel: stylex.props(styles.cancel, theme.$label.large)
|
|
41
|
+
handle: stylex.props(styles.default.handle),
|
|
42
|
+
panel: stylex.props(styles.default.panel),
|
|
43
|
+
header: stylex.props(styles.default.header),
|
|
44
|
+
title: stylex.props(styles.default.title, theme.$title.medium),
|
|
45
|
+
description: stylex.props(styles.default.description, theme.$body.medium),
|
|
46
|
+
actions: stylex.props(styles.default.actions),
|
|
47
|
+
action: stylex.props(styles.default.action),
|
|
48
|
+
actionText: stylex.props(styles.default.actionText, theme.$body.large),
|
|
49
|
+
actionDesc: stylex.props(styles.default.actionDesc, theme.$body.small),
|
|
50
|
+
cancel: stylex.props(styles.default.cancel, theme.$label.large)
|
|
102
51
|
};
|
|
103
52
|
/**
|
|
104
53
|
* @zh 处理操作项点击:先执行回调,再关闭面板。
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
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 { stringify } from '@aiszlab/relax/class-name';
|
|
@@ -11,48 +12,6 @@ import { useThemeColorVars } from '../../hooks/use-theme-color-vars.mjs';
|
|
|
11
12
|
import { $label, $body, $title } from '../theme/theme.mjs';
|
|
12
13
|
import { CLASS_NAMES } from './context.mjs';
|
|
13
14
|
|
|
14
|
-
/**
|
|
15
|
-
* @zh ActionSheet 专用样式:面板背景、拖拽手柄、操作项和取消按钮的样式。
|
|
16
|
-
* @en ActionSheet-specific styles: panel background, drag handle, action items and cancel button.
|
|
17
|
-
*/
|
|
18
|
-
var styles = {
|
|
19
|
-
title: {
|
|
20
|
-
kg3NbH: "musaex-1v4gb6w",
|
|
21
|
-
kLKAdn: "musaex-3nylsr",
|
|
22
|
-
k9WMMc: "musaex-2b8uid",
|
|
23
|
-
$$css: true
|
|
24
|
-
},
|
|
25
|
-
description: {
|
|
26
|
-
kg3NbH: "musaex-1v4gb6w",
|
|
27
|
-
kLKAdn: "musaex-3nylsr",
|
|
28
|
-
k9WMMc: "musaex-2b8uid",
|
|
29
|
-
$$css: true
|
|
30
|
-
},
|
|
31
|
-
actionText: {
|
|
32
|
-
k9WMMc: "musaex-2b8uid",
|
|
33
|
-
$$css: true
|
|
34
|
-
},
|
|
35
|
-
actionDesc: {
|
|
36
|
-
k9WMMc: "musaex-2b8uid",
|
|
37
|
-
keoZOQ: "musaex-1khtc51",
|
|
38
|
-
$$css: true
|
|
39
|
-
},
|
|
40
|
-
cancel: {
|
|
41
|
-
k1xSpc: "musaex-78zum5",
|
|
42
|
-
kGNEyG: "musaex-6s0dn4",
|
|
43
|
-
kjj79g: "musaex-l56j7k",
|
|
44
|
-
k8WAf4: "musaex-1aur8i7",
|
|
45
|
-
kg3NbH: "musaex-1v4gb6w",
|
|
46
|
-
kkrTdU: "musaex-1ypdohk",
|
|
47
|
-
kAzted: "musaex-qi4gqz",
|
|
48
|
-
kEafiO: "musaex-2k45e9",
|
|
49
|
-
kPef9Z: "musaex-13fuv20",
|
|
50
|
-
kVAM5u: "musaex-axmpxa",
|
|
51
|
-
keoZOQ: "musaex-1eodh35",
|
|
52
|
-
kfSwDN: "musaex-87ps6o",
|
|
53
|
-
$$css: true
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
15
|
/**
|
|
57
16
|
* @zh ActionSheet 组件。基于 Sheet 的移动端底部操作面板,
|
|
58
17
|
* 支持操作列表和二次确认场景,同时提供声明式和指令式 API。
|
|
@@ -75,23 +34,13 @@ var ActionSheet = function ActionSheet(_ref) {
|
|
|
75
34
|
locale = _useLocale2[0];
|
|
76
35
|
var themeColorVars = useThemeColorVars(["on-surface-variant", "surface-container", "outline-variant"]);
|
|
77
36
|
var styled = {
|
|
78
|
-
handle:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
panel: {
|
|
82
|
-
className: "musaex-17o6occ musaex-zbxit7 musaex-1ei9pc5 musaex-15q9lfd"
|
|
83
|
-
},
|
|
84
|
-
header: {
|
|
85
|
-
className: "musaex-1b38e8b musaex-7gss4w"
|
|
86
|
-
},
|
|
37
|
+
handle: props(styles.handle),
|
|
38
|
+
panel: props(styles.panel),
|
|
39
|
+
header: props(styles.header),
|
|
87
40
|
title: props(styles.title, $title.medium),
|
|
88
41
|
description: props(styles.description, $body.medium),
|
|
89
|
-
actions:
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
action: {
|
|
93
|
-
className: "musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-l56j7k musaex-1aur8i7 musaex-1v4gb6w musaex-1ypdohk musaex-qi4gqz musaex-uvson1 musaex-13fuv20 musaex-axmpxa musaex-87ps6o"
|
|
94
|
-
},
|
|
42
|
+
actions: props(styles.actions),
|
|
43
|
+
action: props(styles.action),
|
|
95
44
|
actionText: props(styles.actionText, $body.large),
|
|
96
45
|
actionDesc: props(styles.actionDesc, $body.small),
|
|
97
46
|
cancel: props(styles.cancel, $label.large)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @zh ActionSheet 专用样式:面板背景、拖拽手柄、操作项和取消按钮的样式。
|
|
7
|
+
* @en ActionSheet-specific styles: panel background, drag handle, action items and cancel button.
|
|
8
|
+
*/
|
|
9
|
+
var styles = {
|
|
10
|
+
handle: {
|
|
11
|
+
kzqmXN: "musaex-1po6ib",
|
|
12
|
+
kZKoxP: "musaex-rntz3j",
|
|
13
|
+
kaIpWk: "musaex-1xa9b2s",
|
|
14
|
+
kWkggS: "musaex-9ip8r5",
|
|
15
|
+
keoZOQ: "musaex-1eodh35",
|
|
16
|
+
k1K539: "musaex-19i5tse",
|
|
17
|
+
kUOVxO: "musaex-vueqy4",
|
|
18
|
+
kmuXW: "musaex-2lah0s",
|
|
19
|
+
$$css: true
|
|
20
|
+
},
|
|
21
|
+
panel: {
|
|
22
|
+
kWkggS: "musaex-17o6occ",
|
|
23
|
+
kIxVMA: "musaex-zbxit7",
|
|
24
|
+
ksF3WI: "musaex-1ei9pc5",
|
|
25
|
+
kskxy: "musaex-15q9lfd",
|
|
26
|
+
$$css: true
|
|
27
|
+
},
|
|
28
|
+
header: {
|
|
29
|
+
kLKAdn: "musaex-1b38e8b",
|
|
30
|
+
kGO01o: "musaex-7gss4w",
|
|
31
|
+
$$css: true
|
|
32
|
+
},
|
|
33
|
+
title: {
|
|
34
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
35
|
+
kLKAdn: "musaex-3nylsr",
|
|
36
|
+
k9WMMc: "musaex-2b8uid",
|
|
37
|
+
$$css: true
|
|
38
|
+
},
|
|
39
|
+
description: {
|
|
40
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
41
|
+
kLKAdn: "musaex-3nylsr",
|
|
42
|
+
k9WMMc: "musaex-2b8uid",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
actions: {
|
|
46
|
+
kLKAdn: "musaex-ltmd5o",
|
|
47
|
+
$$css: true
|
|
48
|
+
},
|
|
49
|
+
action: {
|
|
50
|
+
k1xSpc: "musaex-78zum5",
|
|
51
|
+
kXwgrk: "musaex-dt5ytf",
|
|
52
|
+
kGNEyG: "musaex-6s0dn4",
|
|
53
|
+
kjj79g: "musaex-l56j7k",
|
|
54
|
+
k8WAf4: "musaex-1aur8i7",
|
|
55
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
56
|
+
kkrTdU: "musaex-1ypdohk",
|
|
57
|
+
kAzted: "musaex-qi4gqz",
|
|
58
|
+
kEafiO: "musaex-uvson1",
|
|
59
|
+
kPef9Z: "musaex-13fuv20",
|
|
60
|
+
kVAM5u: "musaex-axmpxa",
|
|
61
|
+
kfSwDN: "musaex-87ps6o",
|
|
62
|
+
$$css: true
|
|
63
|
+
},
|
|
64
|
+
actionText: {
|
|
65
|
+
k9WMMc: "musaex-2b8uid",
|
|
66
|
+
$$css: true
|
|
67
|
+
},
|
|
68
|
+
actionDesc: {
|
|
69
|
+
k9WMMc: "musaex-2b8uid",
|
|
70
|
+
keoZOQ: "musaex-1khtc51",
|
|
71
|
+
$$css: true
|
|
72
|
+
},
|
|
73
|
+
cancel: {
|
|
74
|
+
k1xSpc: "musaex-78zum5",
|
|
75
|
+
kGNEyG: "musaex-6s0dn4",
|
|
76
|
+
kjj79g: "musaex-l56j7k",
|
|
77
|
+
k8WAf4: "musaex-1aur8i7",
|
|
78
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
79
|
+
kkrTdU: "musaex-1ypdohk",
|
|
80
|
+
kAzted: "musaex-qi4gqz",
|
|
81
|
+
kEafiO: "musaex-2k45e9",
|
|
82
|
+
kPef9Z: "musaex-13fuv20",
|
|
83
|
+
kVAM5u: "musaex-axmpxa",
|
|
84
|
+
keoZOQ: "musaex-1eodh35",
|
|
85
|
+
kfSwDN: "musaex-87ps6o",
|
|
86
|
+
$$css: true
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
exports.default = styles;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zh ActionSheet 专用样式:面板背景、拖拽手柄、操作项和取消按钮的样式。
|
|
3
|
+
* @en ActionSheet-specific styles: panel background, drag handle, action items and cancel button.
|
|
4
|
+
*/
|
|
5
|
+
declare const styles: Readonly<{
|
|
6
|
+
readonly handle: 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
|
+
readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-on-surface-variant)">;
|
|
11
|
+
readonly marginTop: import("@stylexjs/stylex").StyleXClassNameFor<"marginTop", string>;
|
|
12
|
+
readonly marginBottom: import("@stylexjs/stylex").StyleXClassNameFor<"marginBottom", string>;
|
|
13
|
+
readonly marginInline: import("@stylexjs/stylex").StyleXClassNameFor<"marginInline", "auto">;
|
|
14
|
+
readonly flexShrink: import("@stylexjs/stylex").StyleXClassNameFor<"flexShrink", 0>;
|
|
15
|
+
}>;
|
|
16
|
+
readonly panel: Readonly<{
|
|
17
|
+
readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-surface-container)">;
|
|
18
|
+
readonly borderTopLeftRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopLeftRadius", string>;
|
|
19
|
+
readonly borderTopRightRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopRightRadius", string>;
|
|
20
|
+
readonly maxHeight: import("@stylexjs/stylex").StyleXClassNameFor<"maxHeight", string>;
|
|
21
|
+
}>;
|
|
22
|
+
readonly header: Readonly<{
|
|
23
|
+
readonly paddingTop: import("@stylexjs/stylex").StyleXClassNameFor<"paddingTop", string>;
|
|
24
|
+
readonly paddingBottom: import("@stylexjs/stylex").StyleXClassNameFor<"paddingBottom", string>;
|
|
25
|
+
}>;
|
|
26
|
+
readonly title: Readonly<{
|
|
27
|
+
readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
|
|
28
|
+
readonly paddingTop: import("@stylexjs/stylex").StyleXClassNameFor<"paddingTop", string>;
|
|
29
|
+
readonly textAlign: import("@stylexjs/stylex").StyleXClassNameFor<"textAlign", "center">;
|
|
30
|
+
}>;
|
|
31
|
+
readonly description: Readonly<{
|
|
32
|
+
readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
|
|
33
|
+
readonly paddingTop: import("@stylexjs/stylex").StyleXClassNameFor<"paddingTop", string>;
|
|
34
|
+
readonly textAlign: import("@stylexjs/stylex").StyleXClassNameFor<"textAlign", "center">;
|
|
35
|
+
}>;
|
|
36
|
+
readonly actions: Readonly<{
|
|
37
|
+
readonly paddingTop: import("@stylexjs/stylex").StyleXClassNameFor<"paddingTop", string>;
|
|
38
|
+
}>;
|
|
39
|
+
readonly action: Readonly<{
|
|
40
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
41
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
|
|
42
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
43
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
|
|
44
|
+
readonly paddingBlock: import("@stylexjs/stylex").StyleXClassNameFor<"paddingBlock", string>;
|
|
45
|
+
readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
|
|
46
|
+
readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "pointer">;
|
|
47
|
+
readonly minHeight: import("@stylexjs/stylex").StyleXClassNameFor<"minHeight", string>;
|
|
48
|
+
readonly borderTopWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopWidth", string>;
|
|
49
|
+
readonly borderTopStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopStyle", "solid">;
|
|
50
|
+
readonly borderColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderColor", "var(--color-outline-variant)">;
|
|
51
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
52
|
+
}>;
|
|
53
|
+
readonly actionText: Readonly<{
|
|
54
|
+
readonly textAlign: import("@stylexjs/stylex").StyleXClassNameFor<"textAlign", "center">;
|
|
55
|
+
}>;
|
|
56
|
+
readonly actionDesc: Readonly<{
|
|
57
|
+
readonly textAlign: import("@stylexjs/stylex").StyleXClassNameFor<"textAlign", "center">;
|
|
58
|
+
readonly marginTop: import("@stylexjs/stylex").StyleXClassNameFor<"marginTop", string>;
|
|
59
|
+
}>;
|
|
60
|
+
readonly cancel: Readonly<{
|
|
61
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
62
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
63
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
|
|
64
|
+
readonly paddingBlock: import("@stylexjs/stylex").StyleXClassNameFor<"paddingBlock", string>;
|
|
65
|
+
readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
|
|
66
|
+
readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "pointer">;
|
|
67
|
+
readonly minHeight: import("@stylexjs/stylex").StyleXClassNameFor<"minHeight", string>;
|
|
68
|
+
readonly borderTopWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopWidth", string>;
|
|
69
|
+
readonly borderTopStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopStyle", "solid">;
|
|
70
|
+
readonly borderColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderColor", "var(--color-outline-variant)">;
|
|
71
|
+
readonly marginTop: import("@stylexjs/stylex").StyleXClassNameFor<"marginTop", string>;
|
|
72
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
73
|
+
}>;
|
|
74
|
+
}>;
|
|
75
|
+
export default styles;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @zh ActionSheet 专用样式:面板背景、拖拽手柄、操作项和取消按钮的样式。
|
|
3
|
+
* @en ActionSheet-specific styles: panel background, drag handle, action items and cancel button.
|
|
4
|
+
*/
|
|
5
|
+
var styles = {
|
|
6
|
+
handle: {
|
|
7
|
+
kzqmXN: "musaex-1po6ib",
|
|
8
|
+
kZKoxP: "musaex-rntz3j",
|
|
9
|
+
kaIpWk: "musaex-1xa9b2s",
|
|
10
|
+
kWkggS: "musaex-9ip8r5",
|
|
11
|
+
keoZOQ: "musaex-1eodh35",
|
|
12
|
+
k1K539: "musaex-19i5tse",
|
|
13
|
+
kUOVxO: "musaex-vueqy4",
|
|
14
|
+
kmuXW: "musaex-2lah0s",
|
|
15
|
+
$$css: true
|
|
16
|
+
},
|
|
17
|
+
panel: {
|
|
18
|
+
kWkggS: "musaex-17o6occ",
|
|
19
|
+
kIxVMA: "musaex-zbxit7",
|
|
20
|
+
ksF3WI: "musaex-1ei9pc5",
|
|
21
|
+
kskxy: "musaex-15q9lfd",
|
|
22
|
+
$$css: true
|
|
23
|
+
},
|
|
24
|
+
header: {
|
|
25
|
+
kLKAdn: "musaex-1b38e8b",
|
|
26
|
+
kGO01o: "musaex-7gss4w",
|
|
27
|
+
$$css: true
|
|
28
|
+
},
|
|
29
|
+
title: {
|
|
30
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
31
|
+
kLKAdn: "musaex-3nylsr",
|
|
32
|
+
k9WMMc: "musaex-2b8uid",
|
|
33
|
+
$$css: true
|
|
34
|
+
},
|
|
35
|
+
description: {
|
|
36
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
37
|
+
kLKAdn: "musaex-3nylsr",
|
|
38
|
+
k9WMMc: "musaex-2b8uid",
|
|
39
|
+
$$css: true
|
|
40
|
+
},
|
|
41
|
+
actions: {
|
|
42
|
+
kLKAdn: "musaex-ltmd5o",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
action: {
|
|
46
|
+
k1xSpc: "musaex-78zum5",
|
|
47
|
+
kXwgrk: "musaex-dt5ytf",
|
|
48
|
+
kGNEyG: "musaex-6s0dn4",
|
|
49
|
+
kjj79g: "musaex-l56j7k",
|
|
50
|
+
k8WAf4: "musaex-1aur8i7",
|
|
51
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
52
|
+
kkrTdU: "musaex-1ypdohk",
|
|
53
|
+
kAzted: "musaex-qi4gqz",
|
|
54
|
+
kEafiO: "musaex-uvson1",
|
|
55
|
+
kPef9Z: "musaex-13fuv20",
|
|
56
|
+
kVAM5u: "musaex-axmpxa",
|
|
57
|
+
kfSwDN: "musaex-87ps6o",
|
|
58
|
+
$$css: true
|
|
59
|
+
},
|
|
60
|
+
actionText: {
|
|
61
|
+
k9WMMc: "musaex-2b8uid",
|
|
62
|
+
$$css: true
|
|
63
|
+
},
|
|
64
|
+
actionDesc: {
|
|
65
|
+
k9WMMc: "musaex-2b8uid",
|
|
66
|
+
keoZOQ: "musaex-1khtc51",
|
|
67
|
+
$$css: true
|
|
68
|
+
},
|
|
69
|
+
cancel: {
|
|
70
|
+
k1xSpc: "musaex-78zum5",
|
|
71
|
+
kGNEyG: "musaex-6s0dn4",
|
|
72
|
+
kjj79g: "musaex-l56j7k",
|
|
73
|
+
k8WAf4: "musaex-1aur8i7",
|
|
74
|
+
kg3NbH: "musaex-1v4gb6w",
|
|
75
|
+
kkrTdU: "musaex-1ypdohk",
|
|
76
|
+
kAzted: "musaex-qi4gqz",
|
|
77
|
+
kEafiO: "musaex-2k45e9",
|
|
78
|
+
kPef9Z: "musaex-13fuv20",
|
|
79
|
+
kVAM5u: "musaex-axmpxa",
|
|
80
|
+
keoZOQ: "musaex-1eodh35",
|
|
81
|
+
kfSwDN: "musaex-87ps6o",
|
|
82
|
+
$$css: true
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export { styles as default };
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
6
6
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
|
+
var styles = require('./styles.cjs');
|
|
7
8
|
var React = require('react');
|
|
8
9
|
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
9
10
|
var context = require('./context.cjs');
|
|
@@ -15,62 +16,6 @@ var skeleton = require('../skeleton/skeleton.cjs');
|
|
|
15
16
|
var useClassNames = require('../../hooks/use-class-names.cjs');
|
|
16
17
|
|
|
17
18
|
var _excluded = ["src", "alt", "shape", "size", "className", "style", "crossOrigin", "referrerPolicy"];
|
|
18
|
-
var styles = {
|
|
19
|
-
avatar: {
|
|
20
|
-
kMzoRj: "musaex-1iyq3db",
|
|
21
|
-
ksu8eU: "musaex-1y0btm7",
|
|
22
|
-
kVAM5u: "musaex-9r1u3d",
|
|
23
|
-
kB7OPa: "musaex-9f619",
|
|
24
|
-
kWkggS: "musaex-1ncffr6",
|
|
25
|
-
kMwMTN: "musaex-14qql8p",
|
|
26
|
-
kGNEyG: "musaex-6s0dn4",
|
|
27
|
-
kjj79g: "musaex-l56j7k",
|
|
28
|
-
kfSwDN: "musaex-87ps6o",
|
|
29
|
-
k1xSpc: "musaex-3nfvp2",
|
|
30
|
-
kXLuUW: "musaex-xymvpz",
|
|
31
|
-
kmuXW: "musaex-2lah0s",
|
|
32
|
-
$$css: true
|
|
33
|
-
},
|
|
34
|
-
loading: {
|
|
35
|
-
k1xSpc: "musaex-1rg5ohu",
|
|
36
|
-
kXLuUW: "musaex-xymvpz",
|
|
37
|
-
$$css: true
|
|
38
|
-
},
|
|
39
|
-
image: {
|
|
40
|
-
kVIFPx: "musaex-l1xv1r",
|
|
41
|
-
kYDvB4: "musaex-1s8dy9j",
|
|
42
|
-
kaIpWk: "musaex-1pjcqnp",
|
|
43
|
-
$$css: true
|
|
44
|
-
},
|
|
45
|
-
overlapping: {
|
|
46
|
-
kgxsog: "musaex-e1706l",
|
|
47
|
-
kVAM5u: "musaex-o3pef4",
|
|
48
|
-
$$css: true
|
|
49
|
-
},
|
|
50
|
-
circular: {
|
|
51
|
-
kaIpWk: "musaex-shxsqp",
|
|
52
|
-
$$css: true
|
|
53
|
-
},
|
|
54
|
-
squared: {
|
|
55
|
-
kaIpWk: "musaex-db68te",
|
|
56
|
-
$$css: true
|
|
57
|
-
},
|
|
58
|
-
small: {
|
|
59
|
-
kzqmXN: "musaex-t4hhhd",
|
|
60
|
-
kZKoxP: "musaex-pvxov6",
|
|
61
|
-
$$css: true
|
|
62
|
-
},
|
|
63
|
-
medium: {
|
|
64
|
-
kzqmXN: "musaex-1po6ib",
|
|
65
|
-
kZKoxP: "musaex-1si1pn3",
|
|
66
|
-
$$css: true
|
|
67
|
-
},
|
|
68
|
-
large: {
|
|
69
|
-
kzqmXN: "musaex-19dbm5w",
|
|
70
|
-
kZKoxP: "musaex-12ez60q",
|
|
71
|
-
$$css: true
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
19
|
/**
|
|
75
20
|
* @description
|
|
76
21
|
* `Avatar`
|
|
@@ -100,9 +45,9 @@ var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
100
45
|
referrerPolicy: referrerPolicy
|
|
101
46
|
});
|
|
102
47
|
var styled = {
|
|
103
|
-
avatar: stylex.props(theme.$label[size], styles.avatar, styles[size], styles[shape], isInGroup && styles.overlapping),
|
|
104
|
-
loading: stylex.props(theme.$label[size], styles.loading, styles[size], styles[shape], isInGroup && styles.overlapping),
|
|
105
|
-
image: stylex.props(styles.image, styles[size])
|
|
48
|
+
avatar: stylex.props(theme.$label[size], styles.default.avatar["default"], styles.default.avatar[size], styles.default.avatar[shape], isInGroup && styles.default.avatar.overlapping),
|
|
49
|
+
loading: stylex.props(theme.$label[size], styles.default.loading["default"], styles.default.avatar[size], styles.default.avatar[shape], isInGroup && styles.default.avatar.overlapping),
|
|
50
|
+
image: stylex.props(styles.default.image["default"], styles.default.avatar[size])
|
|
106
51
|
};
|
|
107
52
|
if (loadStatus === "loading") {
|
|
108
53
|
return /*#__PURE__*/React.createElement(skeleton.default, {
|
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
|
6
6
|
declare const Avatar: React.ForwardRefExoticComponent<import("../../types/element").ComponentProps & Pick<import("../../types/image").ImageProps, "crossOrigin" | "referrerPolicy"> & {
|
|
7
7
|
src?: string;
|
|
8
8
|
alt?: string;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "medium" | "small" | "large";
|
|
10
10
|
shape?: "circular" | "squared";
|
|
11
11
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
12
12
|
export default Avatar;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
+
import styles from './styles.mjs';
|
|
3
4
|
import React, { forwardRef, useContext } from 'react';
|
|
4
5
|
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
5
6
|
import Context, { CLASS_NAMES } from './context.mjs';
|
|
@@ -11,62 +12,6 @@ import Skeleton from '../skeleton/skeleton.mjs';
|
|
|
11
12
|
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
12
13
|
|
|
13
14
|
var _excluded = ["src", "alt", "shape", "size", "className", "style", "crossOrigin", "referrerPolicy"];
|
|
14
|
-
var styles = {
|
|
15
|
-
avatar: {
|
|
16
|
-
kMzoRj: "musaex-1iyq3db",
|
|
17
|
-
ksu8eU: "musaex-1y0btm7",
|
|
18
|
-
kVAM5u: "musaex-9r1u3d",
|
|
19
|
-
kB7OPa: "musaex-9f619",
|
|
20
|
-
kWkggS: "musaex-1ncffr6",
|
|
21
|
-
kMwMTN: "musaex-14qql8p",
|
|
22
|
-
kGNEyG: "musaex-6s0dn4",
|
|
23
|
-
kjj79g: "musaex-l56j7k",
|
|
24
|
-
kfSwDN: "musaex-87ps6o",
|
|
25
|
-
k1xSpc: "musaex-3nfvp2",
|
|
26
|
-
kXLuUW: "musaex-xymvpz",
|
|
27
|
-
kmuXW: "musaex-2lah0s",
|
|
28
|
-
$$css: true
|
|
29
|
-
},
|
|
30
|
-
loading: {
|
|
31
|
-
k1xSpc: "musaex-1rg5ohu",
|
|
32
|
-
kXLuUW: "musaex-xymvpz",
|
|
33
|
-
$$css: true
|
|
34
|
-
},
|
|
35
|
-
image: {
|
|
36
|
-
kVIFPx: "musaex-l1xv1r",
|
|
37
|
-
kYDvB4: "musaex-1s8dy9j",
|
|
38
|
-
kaIpWk: "musaex-1pjcqnp",
|
|
39
|
-
$$css: true
|
|
40
|
-
},
|
|
41
|
-
overlapping: {
|
|
42
|
-
kgxsog: "musaex-e1706l",
|
|
43
|
-
kVAM5u: "musaex-o3pef4",
|
|
44
|
-
$$css: true
|
|
45
|
-
},
|
|
46
|
-
circular: {
|
|
47
|
-
kaIpWk: "musaex-shxsqp",
|
|
48
|
-
$$css: true
|
|
49
|
-
},
|
|
50
|
-
squared: {
|
|
51
|
-
kaIpWk: "musaex-db68te",
|
|
52
|
-
$$css: true
|
|
53
|
-
},
|
|
54
|
-
small: {
|
|
55
|
-
kzqmXN: "musaex-t4hhhd",
|
|
56
|
-
kZKoxP: "musaex-pvxov6",
|
|
57
|
-
$$css: true
|
|
58
|
-
},
|
|
59
|
-
medium: {
|
|
60
|
-
kzqmXN: "musaex-1po6ib",
|
|
61
|
-
kZKoxP: "musaex-1si1pn3",
|
|
62
|
-
$$css: true
|
|
63
|
-
},
|
|
64
|
-
large: {
|
|
65
|
-
kzqmXN: "musaex-19dbm5w",
|
|
66
|
-
kZKoxP: "musaex-12ez60q",
|
|
67
|
-
$$css: true
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
15
|
/**
|
|
71
16
|
* @description
|
|
72
17
|
* `Avatar`
|
|
@@ -96,9 +41,9 @@ var Avatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
96
41
|
referrerPolicy: referrerPolicy
|
|
97
42
|
});
|
|
98
43
|
var styled = {
|
|
99
|
-
avatar: props($label[size], styles.avatar, styles[size], styles[shape], isInGroup && styles.overlapping),
|
|
100
|
-
loading: props($label[size], styles.loading, styles[size], styles[shape], isInGroup && styles.overlapping),
|
|
101
|
-
image: props(styles.image, styles[size])
|
|
44
|
+
avatar: props($label[size], styles.avatar["default"], styles.avatar[size], styles.avatar[shape], isInGroup && styles.avatar.overlapping),
|
|
45
|
+
loading: props($label[size], styles.loading["default"], styles.avatar[size], styles.avatar[shape], isInGroup && styles.avatar.overlapping),
|
|
46
|
+
image: props(styles.image["default"], styles.avatar[size])
|
|
102
47
|
};
|
|
103
48
|
if (loadStatus === "loading") {
|
|
104
49
|
return /*#__PURE__*/React.createElement(Skeleton, {
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
6
|
+
var styles = require('./styles.cjs');
|
|
6
7
|
var React = require('react');
|
|
8
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
9
|
var context = require('./context.cjs');
|
|
8
10
|
var popover = require('../popover/popover.cjs');
|
|
9
11
|
var avatar = require('./avatar.cjs');
|
|
@@ -19,9 +21,7 @@ var _Group = function Group(_ref) {
|
|
|
19
21
|
_ref$max = _ref.max,
|
|
20
22
|
max = _ref$max === void 0 ? 3 : _ref$max;
|
|
21
23
|
var classNames = useClassNames.useClassNames(context.CLASS_NAMES);
|
|
22
|
-
var styled =
|
|
23
|
-
className: "musaex-3nfvp2 musaex-87ps6o"
|
|
24
|
-
};
|
|
24
|
+
var styled = stylex.props(styles.default.group["default"]);
|
|
25
25
|
var children = React.useMemo(function () {
|
|
26
26
|
var _Children$toArray$red = React.Children.toArray(_children).reduce(function (prev, child, index) {
|
|
27
27
|
var _child = /*#__PURE__*/ /*#__PURE__*/React.isValidElement(child) ? /*#__PURE__*/React.cloneElement(child, {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
+
import styles from './styles.mjs';
|
|
2
3
|
import React, { useMemo, Children, isValidElement, cloneElement } from 'react';
|
|
4
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
5
|
import Context, { CLASS_NAMES } from './context.mjs';
|
|
4
6
|
import Popover from '../popover/popover.mjs';
|
|
5
7
|
import Avatar from './avatar.mjs';
|
|
@@ -15,9 +17,7 @@ var _Group = function Group(_ref) {
|
|
|
15
17
|
_ref$max = _ref.max,
|
|
16
18
|
max = _ref$max === void 0 ? 3 : _ref$max;
|
|
17
19
|
var classNames = useClassNames(CLASS_NAMES);
|
|
18
|
-
var styled =
|
|
19
|
-
className: "musaex-3nfvp2 musaex-87ps6o"
|
|
20
|
-
};
|
|
20
|
+
var styled = props(styles.group["default"]);
|
|
21
21
|
var children = useMemo(function () {
|
|
22
22
|
var _Children$toArray$red = Children.toArray(_children).reduce(function (prev, child, index) {
|
|
23
23
|
var _child = /*#__PURE__*/ /*#__PURE__*/isValidElement(child) ? /*#__PURE__*/cloneElement(child, {
|