musae 1.3.1-beta.2 → 1.3.1-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/action-sheet/action-sheet.cjs +11 -62
- package/dist/components/action-sheet/action-sheet.mjs +6 -57
- package/dist/components/action-sheet/styles.cjs +90 -0
- package/dist/components/action-sheet/styles.d.ts +75 -0
- package/dist/components/action-sheet/styles.mjs +86 -0
- package/dist/components/avatar/avatar.cjs +4 -59
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.mjs +4 -59
- package/dist/components/avatar/group.cjs +3 -3
- package/dist/components/avatar/group.mjs +3 -3
- package/dist/components/avatar/styles.cjs +79 -0
- package/dist/components/avatar/styles.d.ts +62 -0
- package/dist/components/avatar/styles.mjs +75 -0
- package/dist/components/badge/badge.cjs +3 -52
- package/dist/components/badge/badge.mjs +3 -52
- package/dist/components/badge/styles.cjs +63 -0
- package/dist/components/badge/styles.d.ts +48 -0
- package/dist/components/badge/styles.mjs +59 -0
- package/dist/components/bench/bench.cjs +10 -45
- package/dist/components/bench/bench.mjs +10 -45
- package/dist/components/bench/styles.cjs +106 -0
- package/dist/components/bench/styles.d.ts +75 -0
- package/dist/components/bench/styles.mjs +102 -0
- package/dist/components/bottom-sheet/bottom-sheet.cjs +18 -19
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.mjs +18 -19
- package/dist/components/bottom-sheet/styles.cjs +30 -0
- package/dist/components/bottom-sheet/styles.d.ts +23 -0
- package/dist/components/bottom-sheet/styles.mjs +26 -0
- package/dist/components/breadcrumb/breadcrumb.cjs +3 -10
- package/dist/components/breadcrumb/breadcrumb.mjs +3 -10
- package/dist/components/breadcrumb/item.cjs +5 -14
- package/dist/components/breadcrumb/item.mjs +5 -14
- package/dist/components/breadcrumb/styles.cjs +54 -0
- package/dist/components/breadcrumb/styles.d.ts +45 -0
- package/dist/components/breadcrumb/styles.mjs +50 -0
- package/dist/components/button/button.cjs +1 -1
- package/dist/components/button/button.mjs +1 -1
- package/dist/components/button/styles.cjs +100 -97
- package/dist/components/button/styles.d.ts +14 -15
- package/dist/components/button/styles.mjs +100 -97
- package/dist/components/calendar/calendar.cjs +5 -24
- package/dist/components/calendar/calendar.mjs +5 -24
- package/dist/components/calendar/contribution.cjs +12 -50
- package/dist/components/calendar/contribution.mjs +9 -47
- package/dist/components/calendar/hooks.cjs +4 -45
- package/dist/components/calendar/hooks.mjs +4 -45
- package/dist/components/calendar/styles.cjs +161 -0
- package/dist/components/calendar/styles.d.ts +133 -0
- package/dist/components/calendar/styles.mjs +157 -0
- package/dist/components/card/actions.cjs +1 -1
- package/dist/components/card/actions.mjs +1 -1
- package/dist/components/card/body.cjs +1 -1
- package/dist/components/card/body.mjs +1 -1
- package/dist/components/card/card.cjs +1 -1
- package/dist/components/card/card.mjs +1 -1
- package/dist/components/card/content.cjs +1 -1
- package/dist/components/card/content.mjs +1 -1
- package/dist/components/card/header.cjs +6 -6
- package/dist/components/card/header.mjs +6 -6
- package/dist/components/card/headline.cjs +1 -1
- package/dist/components/card/headline.mjs +1 -1
- package/dist/components/card/media.cjs +1 -1
- package/dist/components/card/media.mjs +1 -1
- package/dist/components/card/styles.cjs +262 -246
- package/dist/components/card/styles.d.ts +15 -15
- package/dist/components/card/styles.mjs +262 -246
- package/dist/components/card/subhead.cjs +1 -1
- package/dist/components/card/subhead.mjs +1 -1
- package/dist/components/card/title.cjs +1 -1
- package/dist/components/card/title.mjs +1 -1
- package/dist/components/cascader/cascader.cjs +36 -26
- package/dist/components/cascader/cascader.mjs +38 -28
- package/dist/components/cascader/hooks.cjs +8 -9
- package/dist/components/cascader/hooks.d.ts +6 -6
- package/dist/components/cascader/hooks.mjs +8 -9
- package/dist/components/cascader/styles.cjs +14 -0
- package/dist/components/cascader/styles.d.ts +8 -0
- package/dist/components/cascader/styles.mjs +10 -0
- package/dist/components/chat/chat.cjs +4 -15
- package/dist/components/chat/chat.mjs +4 -15
- package/dist/components/chat/item.cjs +5 -14
- package/dist/components/chat/item.mjs +5 -14
- package/dist/components/chat/styles.cjs +69 -0
- package/dist/components/chat/styles.d.ts +57 -0
- package/dist/components/chat/styles.mjs +65 -0
- package/dist/components/checkbox/checkbox.cjs +6 -6
- package/dist/components/checkbox/checkbox.mjs +6 -6
- package/dist/components/checkbox/styles.cjs +57 -53
- package/dist/components/checkbox/styles.d.ts +11 -11
- package/dist/components/checkbox/styles.mjs +57 -53
- package/dist/components/clock/clock.cjs +3 -3
- package/dist/components/clock/clock.mjs +3 -3
- package/dist/components/clock/column.cjs +3 -13
- package/dist/components/clock/column.mjs +3 -13
- package/dist/components/clock/styles.cjs +33 -0
- package/dist/components/clock/styles.d.ts +25 -0
- package/dist/components/clock/styles.mjs +29 -0
- package/dist/components/collapse/collapse.cjs +3 -3
- package/dist/components/collapse/collapse.mjs +3 -3
- package/dist/components/collapse/item.cjs +6 -43
- package/dist/components/collapse/item.mjs +6 -43
- package/dist/components/collapse/styles.cjs +75 -0
- package/dist/components/collapse/styles.d.ts +58 -0
- package/dist/components/collapse/styles.mjs +71 -0
- package/dist/components/date-picker/context.cjs +1 -2
- package/dist/components/date-picker/context.d.ts +0 -1
- package/dist/components/date-picker/context.mjs +1 -2
- package/dist/components/date-picker/date-picker.cjs +30 -23
- package/dist/components/date-picker/date-picker.mjs +31 -24
- package/dist/components/date-picker/hooks.cjs +7 -10
- package/dist/components/date-picker/hooks.d.ts +3 -6
- package/dist/components/date-picker/hooks.mjs +7 -10
- package/dist/components/date-picker/styles.cjs +12 -0
- package/dist/components/date-picker/styles.d.ts +6 -0
- package/dist/components/date-picker/styles.mjs +8 -0
- package/dist/components/date-range-picker/date-range-picker.cjs +38 -25
- package/dist/components/date-range-picker/date-range-picker.mjs +41 -28
- package/dist/components/date-range-picker/hooks/use-date-range-state.cjs +6 -6
- package/dist/components/date-range-picker/hooks/use-date-range-state.d.ts +5 -8
- package/dist/components/date-range-picker/hooks/use-date-range-state.mjs +6 -6
- package/dist/components/date-range-picker/styles.cjs +26 -0
- package/dist/components/date-range-picker/styles.d.ts +19 -0
- package/dist/components/date-range-picker/styles.mjs +22 -0
- package/dist/components/dialog/popup.cjs +7 -27
- package/dist/components/dialog/popup.mjs +5 -25
- package/dist/components/dialog/styles.cjs +66 -0
- package/dist/components/dialog/styles.d.ts +55 -0
- package/dist/components/dialog/styles.mjs +62 -0
- package/dist/components/divider/divider.cjs +3 -74
- package/dist/components/divider/divider.mjs +1 -72
- package/dist/components/divider/styles.cjs +82 -0
- package/dist/components/divider/styles.d.ts +73 -0
- package/dist/components/divider/styles.mjs +78 -0
- package/dist/components/drawer/styles.d.ts +23 -0
- package/dist/components/ellipsis/ellipsis.cjs +4 -6
- package/dist/components/ellipsis/ellipsis.mjs +4 -6
- package/dist/components/ellipsis/styles.cjs +17 -0
- package/dist/components/ellipsis/styles.d.ts +10 -0
- package/dist/components/ellipsis/styles.mjs +13 -0
- package/dist/components/empty/empty.cjs +3 -10
- package/dist/components/empty/empty.mjs +2 -9
- package/dist/components/empty/styles.cjs +21 -0
- package/dist/components/empty/styles.d.ts +14 -0
- package/dist/components/empty/styles.mjs +17 -0
- package/dist/components/fab/fab.cjs +4 -11
- package/dist/components/fab/fab.mjs +6 -13
- package/dist/components/fab/styles.cjs +29 -0
- package/dist/components/fab/styles.d.ts +23 -0
- package/dist/components/fab/styles.mjs +25 -0
- package/dist/components/form/__test__/index.test.d.ts +1 -0
- package/dist/components/form/field/error.cjs +3 -3
- package/dist/components/form/field/error.mjs +3 -3
- package/dist/components/form/field/field.cjs +3 -2
- package/dist/components/form/field/field.mjs +3 -2
- package/dist/components/form/field/layout.cjs +4 -23
- package/dist/components/form/field/layout.mjs +4 -23
- package/dist/components/form/field/supporting.cjs +3 -3
- package/dist/components/form/field/supporting.mjs +3 -3
- package/dist/components/form/form.cjs +8 -3
- package/dist/components/form/form.d.ts +1 -1
- package/dist/components/form/form.mjs +8 -3
- package/dist/components/form/item.cjs +2 -1
- package/dist/components/form/item.mjs +2 -1
- package/dist/components/form/styles.cjs +59 -0
- package/dist/components/form/styles.d.ts +44 -0
- package/dist/components/form/styles.mjs +55 -0
- package/dist/components/grid/col.cjs +3 -3
- package/dist/components/grid/col.mjs +3 -3
- package/dist/components/grid/row.cjs +3 -3
- package/dist/components/grid/row.mjs +3 -3
- package/dist/components/grid/styles.cjs +29 -0
- package/dist/components/grid/styles.d.ts +20 -0
- package/dist/components/grid/styles.mjs +25 -0
- package/dist/components/guideline/styles.d.ts +31 -0
- package/dist/components/highlight/highlight.cjs +3 -3
- package/dist/components/highlight/highlight.mjs +3 -3
- package/dist/components/highlight/styles.cjs +12 -0
- package/dist/components/highlight/styles.d.ts +6 -0
- package/dist/components/highlight/styles.mjs +8 -0
- package/dist/components/icon/icon.cjs +3 -8
- package/dist/components/icon/icon.mjs +5 -10
- package/dist/components/icon/icons/mock/loading.cjs +3 -3
- package/dist/components/icon/icons/mock/loading.mjs +6 -6
- package/dist/components/icon/styles.cjs +26 -0
- package/dist/components/icon/styles.d.ts +18 -0
- package/dist/components/icon/styles.mjs +22 -0
- package/dist/components/icon-button/icon-button.cjs +2 -38
- package/dist/components/icon-button/icon-button.mjs +2 -38
- package/dist/components/icon-button/styles.cjs +43 -0
- package/dist/components/icon-button/styles.d.ts +34 -0
- package/dist/components/icon-button/styles.mjs +39 -0
- package/dist/components/image/image.cjs +6 -23
- package/dist/components/image/image.mjs +6 -23
- package/dist/components/image/preview/operations.cjs +7 -15
- package/dist/components/image/preview/operations.mjs +7 -15
- package/dist/components/image/preview/preview.cjs +3 -3
- package/dist/components/image/preview/preview.mjs +3 -3
- package/dist/components/image/styles.cjs +112 -0
- package/dist/components/image/styles.d.ts +93 -0
- package/dist/components/image/styles.mjs +108 -0
- package/dist/components/input/__test__/input-appearance.test.d.ts +1 -0
- package/dist/components/input/__test__/input.test.d.ts +1 -0
- package/dist/components/input/__test__/style-consumers.test.d.ts +1 -0
- package/dist/components/input/__test__/style-contract.test.d.ts +1 -0
- package/dist/components/input/context.cjs +9 -3
- package/dist/components/input/context.d.ts +8 -2
- package/dist/components/input/context.mjs +9 -3
- package/dist/components/input/hooks.cjs +0 -16
- package/dist/components/input/hooks.d.ts +1 -11
- package/dist/components/input/hooks.mjs +1 -16
- package/dist/components/input/index.d.ts +2 -1
- package/dist/components/input/input.cjs +81 -78
- package/dist/components/input/input.d.ts +2 -49
- package/dist/components/input/input.mjs +84 -80
- package/dist/components/input/styles.stylex.cjs +237 -0
- package/dist/components/input/styles.stylex.d.ts +218 -0
- package/dist/components/input/styles.stylex.mjs +232 -0
- package/dist/components/layout/footer.cjs +3 -3
- package/dist/components/layout/footer.mjs +3 -3
- package/dist/components/layout/header.cjs +3 -3
- package/dist/components/layout/header.mjs +3 -3
- package/dist/components/layout/heading.cjs +3 -3
- package/dist/components/layout/heading.mjs +3 -3
- package/dist/components/layout/layout.cjs +3 -3
- package/dist/components/layout/layout.mjs +5 -5
- package/dist/components/layout/main.cjs +3 -3
- package/dist/components/layout/main.mjs +3 -3
- package/dist/components/layout/sidebar.cjs +3 -3
- package/dist/components/layout/sidebar.mjs +3 -3
- package/dist/components/layout/styles.cjs +81 -0
- package/dist/components/layout/styles.d.ts +68 -0
- package/dist/components/layout/styles.mjs +77 -0
- package/dist/components/loading/loading.cjs +9 -96
- package/dist/components/loading/loading.mjs +8 -95
- package/dist/components/loading/styles.cjs +77 -0
- package/dist/components/loading/styles.d.ts +61 -0
- package/dist/components/loading/styles.mjs +73 -0
- package/dist/components/markdown/loading.cjs +7 -15
- package/dist/components/markdown/loading.mjs +7 -15
- package/dist/components/markdown/markdown.cjs +2 -10
- package/dist/components/markdown/markdown.mjs +2 -10
- package/dist/components/markdown/styles.cjs +49 -0
- package/dist/components/markdown/styles.d.ts +38 -0
- package/dist/components/markdown/styles.mjs +45 -0
- package/dist/components/menu/__test__/index.test.d.ts +1 -0
- package/dist/components/menu/group.cjs +5 -43
- package/dist/components/menu/group.mjs +4 -42
- package/dist/components/menu/hooks.cjs +16 -25
- package/dist/components/menu/hooks.d.ts +5 -5
- package/dist/components/menu/hooks.mjs +17 -26
- package/dist/components/menu/item.cjs +12 -109
- package/dist/components/menu/item.d.ts +0 -1
- package/dist/components/menu/item.mjs +12 -109
- package/dist/components/menu/menu.cjs +3 -3
- package/dist/components/menu/menu.mjs +3 -3
- package/dist/components/menu/styles.cjs +192 -0
- package/dist/components/menu/styles.d.ts +162 -0
- package/dist/components/menu/styles.mjs +188 -0
- package/dist/components/notification/holder.cjs +2 -45
- package/dist/components/notification/holder.mjs +2 -45
- package/dist/components/notification/notification.cjs +6 -58
- package/dist/components/notification/notification.mjs +6 -58
- package/dist/components/notification/styles.cjs +133 -0
- package/dist/components/notification/styles.d.ts +105 -0
- package/dist/components/notification/styles.mjs +129 -0
- package/dist/components/otp-input/otp-input.cjs +4 -6
- package/dist/components/otp-input/otp-input.mjs +4 -6
- package/dist/components/otp-input/styles.cjs +18 -0
- package/dist/components/otp-input/styles.d.ts +13 -0
- package/dist/components/otp-input/styles.mjs +14 -0
- package/dist/components/pagination/__test__/item.test.d.ts +1 -0
- package/dist/components/pagination/item.cjs +6 -4
- package/dist/components/pagination/item.mjs +6 -4
- package/dist/components/pagination/pagination.cjs +4 -6
- package/dist/components/pagination/pagination.mjs +4 -6
- package/dist/components/pagination/styles.cjs +35 -0
- package/dist/components/pagination/styles.d.ts +37 -0
- package/dist/components/pagination/styles.mjs +31 -0
- package/dist/components/password-input/__test__/password-input.test.d.ts +1 -0
- package/dist/components/password-input/password-input.cjs +9 -9
- package/dist/components/password-input/password-input.mjs +11 -11
- package/dist/components/password-input/styles.cjs +20 -0
- package/dist/components/password-input/styles.d.ts +19 -0
- package/dist/components/password-input/styles.mjs +16 -0
- package/dist/components/picker/context.cjs +0 -11
- package/dist/components/picker/context.d.ts +0 -5
- package/dist/components/picker/context.mjs +1 -11
- package/dist/components/picker/index.d.ts +1 -2
- package/dist/components/picker/picker.cjs +23 -73
- package/dist/components/picker/picker.d.ts +3 -2
- package/dist/components/picker/picker.mjs +25 -75
- package/dist/components/picker/styles.cjs +13 -0
- package/dist/components/picker/styles.d.ts +7 -0
- package/dist/components/picker/styles.mjs +9 -0
- package/dist/components/popconfirm/popconfirm.cjs +6 -26
- package/dist/components/popconfirm/popconfirm.mjs +4 -24
- package/dist/components/popconfirm/styles.cjs +40 -0
- package/dist/components/popconfirm/styles.d.ts +29 -0
- package/dist/components/popconfirm/styles.mjs +36 -0
- package/dist/components/popover/popover.cjs +3 -18
- package/dist/components/popover/popover.mjs +5 -20
- package/dist/components/popover/styles.cjs +30 -0
- package/dist/components/popover/styles.d.ts +20 -0
- package/dist/components/popover/styles.mjs +26 -0
- package/dist/components/popper/__test__/dropdown.test.d.ts +1 -0
- package/dist/components/popper/dropdown.cjs +11 -26
- package/dist/components/popper/dropdown.d.ts +1 -1
- package/dist/components/popper/dropdown.mjs +11 -26
- package/dist/components/popper/hooks.cjs +3 -7
- package/dist/components/popper/hooks.mjs +5 -9
- package/dist/components/popper/styles.cjs +56 -0
- package/dist/components/popper/styles.d.ts +43 -0
- package/dist/components/popper/styles.mjs +52 -0
- package/dist/components/portal/__test__/portal.test.d.ts +1 -0
- package/dist/components/progress/circular.cjs +5 -9
- package/dist/components/progress/circular.mjs +5 -9
- package/dist/components/progress/linear.cjs +4 -6
- package/dist/components/progress/linear.mjs +4 -6
- package/dist/components/progress/styles.cjs +45 -0
- package/dist/components/progress/styles.d.ts +33 -0
- package/dist/components/progress/styles.mjs +41 -0
- package/dist/components/radio/radio.cjs +4 -43
- package/dist/components/radio/radio.mjs +4 -43
- package/dist/components/radio/styles.cjs +76 -0
- package/dist/components/radio/styles.d.ts +71 -0
- package/dist/components/radio/styles.mjs +72 -0
- package/dist/components/rate/rate.cjs +3 -3
- package/dist/components/rate/rate.mjs +6 -6
- package/dist/components/rate/star.cjs +5 -24
- package/dist/components/rate/star.mjs +5 -24
- package/dist/components/rate/styles.cjs +67 -0
- package/dist/components/rate/styles.d.ts +59 -0
- package/dist/components/rate/styles.mjs +63 -0
- package/dist/components/rich-text-editor/dropdown.cjs +3 -3
- package/dist/components/rich-text-editor/dropdown.mjs +3 -3
- package/dist/components/rich-text-editor/index.cjs +3 -3
- package/dist/components/rich-text-editor/index.mjs +5 -5
- package/dist/components/rich-text-editor/nodes/checkbox.cjs +3 -3
- package/dist/components/rich-text-editor/nodes/checkbox.mjs +3 -3
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.cjs +3 -3
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.mjs +3 -3
- package/dist/components/rich-text-editor/plugins/toolbar/index.cjs +3 -3
- package/dist/components/rich-text-editor/plugins/toolbar/index.mjs +3 -3
- package/dist/components/rich-text-editor/rich-text-editor.cjs +3 -18
- package/dist/components/rich-text-editor/rich-text-editor.mjs +3 -18
- package/dist/components/rich-text-editor/styles.cjs +188 -0
- package/dist/components/rich-text-editor/styles.d.ts +153 -0
- package/dist/components/rich-text-editor/styles.mjs +184 -0
- package/dist/components/rich-text-editor/utils.cjs +16 -85
- package/dist/components/rich-text-editor/utils.mjs +16 -85
- package/dist/components/ripple/ripple.cjs +3 -3
- package/dist/components/ripple/ripple.mjs +3 -3
- package/dist/components/ripple/styles.cjs +26 -0
- package/dist/components/ripple/styles.d.ts +18 -0
- package/dist/components/ripple/styles.mjs +22 -0
- package/dist/components/search/__test__/hooks.test.d.ts +1 -0
- package/dist/components/search/__test__/style-contract.test.d.ts +1 -0
- package/dist/components/search/bar.cjs +82 -0
- package/dist/components/search/bar.d.ts +18 -0
- package/dist/components/search/bar.mjs +78 -0
- package/dist/components/search/context.cjs +16 -0
- package/dist/components/search/context.d.ts +16 -0
- package/dist/components/search/context.mjs +16 -0
- package/dist/components/search/field.cjs +64 -0
- package/dist/components/search/field.d.ts +19 -0
- package/dist/components/search/field.mjs +60 -0
- package/dist/components/search/hooks.cjs +50 -0
- package/dist/components/search/hooks.d.ts +12 -0
- package/dist/components/search/hooks.mjs +47 -0
- package/dist/components/search/index.d.ts +1 -1
- package/dist/components/search/result-list.cjs +84 -0
- package/dist/components/search/result-list.d.ts +16 -0
- package/dist/components/search/result-list.mjs +80 -0
- package/dist/components/search/search.cjs +164 -44
- package/dist/components/search/search.d.ts +11 -1
- package/dist/components/search/search.mjs +166 -46
- package/dist/components/search/styles.cjs +267 -84
- package/dist/components/search/styles.d.ts +185 -41
- package/dist/components/search/styles.mjs +267 -84
- package/dist/components/search/view.cjs +108 -0
- package/dist/components/search/view.d.ts +22 -0
- package/dist/components/search/view.mjs +104 -0
- package/dist/components/select/__test__/select.test.d.ts +1 -0
- package/dist/components/select/hooks/use-options.cjs +3 -3
- package/dist/components/select/hooks/use-options.d.ts +2 -2
- package/dist/components/select/hooks/use-options.mjs +3 -3
- package/dist/components/select/hooks/use-selected-value.cjs +3 -4
- package/dist/components/select/hooks/use-selected-value.d.ts +2 -3
- package/dist/components/select/hooks/use-selected-value.mjs +3 -4
- package/dist/components/select/select.cjs +48 -49
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.mjs +49 -50
- package/dist/components/select/selections.cjs +2 -4
- package/dist/components/select/selections.d.ts +1 -1
- package/dist/components/select/selections.mjs +3 -5
- package/dist/components/select/selector.cjs +54 -84
- package/dist/components/select/selector.d.ts +6 -3
- package/dist/components/select/selector.mjs +56 -86
- package/dist/components/select/styles.cjs +23 -0
- package/dist/components/select/styles.d.ts +14 -0
- package/dist/components/select/styles.mjs +19 -0
- package/dist/components/sheet/sheet.cjs +8 -101
- package/dist/components/sheet/sheet.d.ts +1 -1
- package/dist/components/sheet/sheet.mjs +8 -101
- package/dist/components/sheet/styles.cjs +81 -0
- package/dist/components/sheet/styles.d.ts +63 -0
- package/dist/components/sheet/styles.mjs +77 -0
- package/dist/components/side-sheet/context.cjs +2 -1
- package/dist/components/side-sheet/context.d.ts +1 -0
- package/dist/components/side-sheet/context.mjs +2 -1
- package/dist/components/side-sheet/side-sheet.cjs +22 -18
- package/dist/components/side-sheet/side-sheet.mjs +22 -18
- package/dist/components/side-sheet/styles.cjs +21 -19
- package/dist/components/side-sheet/styles.d.ts +12 -11
- package/dist/components/side-sheet/styles.mjs +21 -19
- package/dist/components/skeleton/skeleton.cjs +3 -8
- package/dist/components/skeleton/skeleton.mjs +3 -8
- package/dist/components/skeleton/styles.cjs +11 -0
- package/dist/components/skeleton/styles.d.ts +15 -0
- package/dist/components/skeleton/styles.mjs +7 -0
- package/dist/components/slider/styles.d.ts +30 -0
- package/dist/components/space/space.cjs +2 -19
- package/dist/components/space/space.mjs +1 -18
- package/dist/components/space/styles.cjs +24 -0
- package/dist/components/space/styles.d.ts +16 -0
- package/dist/components/space/styles.mjs +20 -0
- package/dist/components/split-panel/divider.cjs +3 -63
- package/dist/components/split-panel/divider.mjs +3 -63
- package/dist/components/split-panel/panel.cjs +3 -26
- package/dist/components/split-panel/panel.mjs +3 -26
- package/dist/components/split-panel/split-panel.cjs +2 -22
- package/dist/components/split-panel/split-panel.mjs +2 -22
- package/dist/components/split-panel/styles.cjs +113 -0
- package/dist/components/split-panel/styles.d.ts +103 -0
- package/dist/components/split-panel/styles.mjs +109 -0
- package/dist/components/steps/item.cjs +6 -70
- package/dist/components/steps/item.mjs +6 -70
- package/dist/components/steps/steps.cjs +2 -17
- package/dist/components/steps/steps.mjs +2 -17
- package/dist/components/steps/styles.cjs +117 -0
- package/dist/components/steps/styles.d.ts +96 -0
- package/dist/components/steps/styles.mjs +113 -0
- package/dist/components/switch/styles.cjs +156 -0
- package/dist/components/switch/styles.d.ts +132 -0
- package/dist/components/switch/styles.mjs +152 -0
- package/dist/components/switch/switch.cjs +7 -100
- package/dist/components/switch/switch.mjs +7 -100
- package/dist/components/table/body.cjs +3 -3
- package/dist/components/table/body.mjs +3 -3
- package/dist/components/table/header/cell.cjs +4 -4
- package/dist/components/table/header/cell.mjs +4 -4
- package/dist/components/table/header/header.cjs +2 -2
- package/dist/components/table/header/header.mjs +2 -2
- package/dist/components/table/styles.cjs +92 -87
- package/dist/components/table/styles.d.ts +34 -34
- package/dist/components/table/styles.mjs +92 -87
- package/dist/components/table/table.cjs +2 -2
- package/dist/components/table/table.mjs +2 -2
- package/dist/components/tabs/navigation.cjs +5 -45
- package/dist/components/tabs/navigation.mjs +5 -45
- package/dist/components/tabs/panels.cjs +4 -12
- package/dist/components/tabs/panels.mjs +4 -12
- package/dist/components/tabs/styles.cjs +99 -0
- package/dist/components/tabs/styles.d.ts +81 -0
- package/dist/components/tabs/styles.mjs +95 -0
- package/dist/components/tabs/tab.cjs +3 -3
- package/dist/components/tabs/tab.mjs +3 -3
- package/dist/components/tag/styles.cjs +62 -0
- package/dist/components/tag/styles.d.ts +48 -0
- package/dist/components/tag/styles.mjs +58 -0
- package/dist/components/tag/tag.cjs +2 -54
- package/dist/components/tag/tag.mjs +2 -54
- package/dist/components/textarea/styles.cjs +40 -0
- package/dist/components/textarea/styles.d.ts +29 -0
- package/dist/components/textarea/styles.mjs +36 -0
- package/dist/components/textarea/textarea.cjs +4 -24
- package/dist/components/textarea/textarea.mjs +4 -24
- package/dist/components/theme/theme.cjs +1 -6
- package/dist/components/theme/theme.mjs +1 -6
- package/dist/components/theme/tokens.stylex.cjs +8 -0
- package/dist/components/theme/tokens.stylex.d.ts +18 -4
- package/dist/components/theme/tokens.stylex.mjs +8 -1
- package/dist/components/time-picker/context.cjs +0 -1
- package/dist/components/time-picker/context.d.ts +0 -2
- package/dist/components/time-picker/context.mjs +0 -1
- package/dist/components/time-picker/hooks.cjs +5 -8
- package/dist/components/time-picker/hooks.d.ts +3 -6
- package/dist/components/time-picker/hooks.mjs +5 -8
- package/dist/components/time-picker/panel.cjs +4 -6
- package/dist/components/time-picker/panel.mjs +9 -11
- package/dist/components/time-picker/styles.cjs +24 -0
- package/dist/components/time-picker/styles.d.ts +17 -0
- package/dist/components/time-picker/styles.mjs +20 -0
- package/dist/components/time-picker/time-picker.cjs +26 -24
- package/dist/components/time-picker/time-picker.mjs +29 -27
- package/dist/components/timeline/item.cjs +7 -81
- package/dist/components/timeline/item.mjs +7 -81
- package/dist/components/timeline/styles.cjs +124 -0
- package/dist/components/timeline/styles.d.ts +96 -0
- package/dist/components/timeline/styles.mjs +120 -0
- package/dist/components/timeline/timeline.cjs +3 -3
- package/dist/components/timeline/timeline.mjs +3 -3
- package/dist/components/tour/spotlight.cjs +3 -3
- package/dist/components/tour/spotlight.mjs +3 -3
- package/dist/components/tour/styles.cjs +56 -0
- package/dist/components/tour/styles.d.ts +43 -0
- package/dist/components/tour/styles.mjs +52 -0
- package/dist/components/tour/tour.cjs +6 -23
- package/dist/components/tour/tour.mjs +6 -23
- package/dist/components/transfer/item.cjs +3 -3
- package/dist/components/transfer/item.mjs +3 -3
- package/dist/components/transfer/list.cjs +5 -41
- package/dist/components/transfer/list.mjs +5 -41
- package/dist/components/transfer/styles.cjs +78 -0
- package/dist/components/transfer/styles.d.ts +63 -0
- package/dist/components/transfer/styles.mjs +74 -0
- package/dist/components/transfer/transfer.cjs +4 -6
- package/dist/components/transfer/transfer.mjs +4 -6
- package/dist/components/tree/list.cjs +3 -8
- package/dist/components/tree/list.mjs +3 -8
- package/dist/components/tree/node.cjs +5 -25
- package/dist/components/tree/node.mjs +7 -27
- package/dist/components/tree/styles.cjs +69 -0
- package/dist/components/tree/styles.d.ts +56 -0
- package/dist/components/tree/styles.mjs +65 -0
- package/dist/components/upload/styles.cjs +81 -0
- package/dist/components/upload/styles.d.ts +61 -0
- package/dist/components/upload/styles.mjs +77 -0
- package/dist/components/upload/upload.cjs +5 -9
- package/dist/components/upload/upload.mjs +5 -9
- package/dist/components/upload/uploaded-item/index.cjs +3 -13
- package/dist/components/upload/uploaded-item/index.mjs +3 -13
- package/dist/components/upload/uploaded-item/picture.cjs +4 -6
- package/dist/components/upload/uploaded-item/picture.mjs +4 -6
- package/dist/components/upload/uploaded-list.cjs +5 -12
- package/dist/components/upload/uploaded-list.mjs +5 -12
- package/dist/components/visually-hidden/styles.cjs +17 -0
- package/dist/components/visually-hidden/styles.d.ts +11 -0
- package/dist/components/visually-hidden/styles.mjs +13 -0
- package/dist/components/visually-hidden/visually-hidden.cjs +3 -3
- package/dist/components/visually-hidden/visually-hidden.mjs +5 -5
- package/dist/components/waterfall/sequential.cjs +3 -3
- package/dist/components/waterfall/sequential.mjs +3 -3
- package/dist/components/waterfall/styles.cjs +45 -0
- package/dist/components/waterfall/styles.d.ts +34 -0
- package/dist/components/waterfall/styles.mjs +41 -0
- package/dist/components/waterfall/waterfall.cjs +4 -11
- package/dist/components/waterfall/waterfall.mjs +4 -11
- package/dist/components/watermark/styles.cjs +18 -0
- package/dist/components/watermark/styles.d.ts +11 -0
- package/dist/components/watermark/styles.mjs +14 -0
- package/dist/components/watermark/watermark.cjs +5 -3
- package/dist/components/watermark/watermark.mjs +5 -3
- package/dist/index.d.ts +1 -0
- package/dist/styles.css +218 -96
- package/dist/types/bottom-sheet.d.ts +30 -16
- package/dist/types/form.d.ts +74 -36
- package/dist/types/input.d.ts +40 -47
- package/dist/types/menu.d.ts +9 -9
- package/dist/types/picker.d.ts +36 -95
- package/dist/types/popper.d.ts +3 -2
- package/dist/types/search.d.ts +84 -1
- package/dist/types/select.d.ts +37 -28
- package/dist/utils/react.cjs +2 -2
- package/dist/utils/react.d.ts +2 -2
- package/dist/utils/react.mjs +2 -2
- package/package.json +3 -3
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
base: {
|
|
3
|
+
kZglDW: "musaex-hkfzi4",
|
|
4
|
+
kKklSC: "musaex-3e2p9r",
|
|
5
|
+
$$css: true
|
|
6
|
+
},
|
|
7
|
+
xsmall: {
|
|
8
|
+
kzqmXN: "musaex-1po6ib",
|
|
9
|
+
k7Eaqz: "musaex-1mao3ak",
|
|
10
|
+
kZKoxP: "musaex-1si1pn3",
|
|
11
|
+
$$css: true
|
|
12
|
+
},
|
|
13
|
+
small: {
|
|
14
|
+
kzqmXN: "musaex-19dbm5w",
|
|
15
|
+
k7Eaqz: "musaex-14dj9iu",
|
|
16
|
+
kZKoxP: "musaex-12ez60q",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
medium: {
|
|
20
|
+
kzqmXN: "musaex-x7tnyf",
|
|
21
|
+
k7Eaqz: "musaex-pigv26",
|
|
22
|
+
kZKoxP: "musaex-1s2k5h2",
|
|
23
|
+
$$css: true
|
|
24
|
+
},
|
|
25
|
+
large: {
|
|
26
|
+
kzqmXN: "musaex-irjzkq",
|
|
27
|
+
k7Eaqz: "musaex-193eezx",
|
|
28
|
+
kZKoxP: "musaex-1nrwtz4",
|
|
29
|
+
$$css: true
|
|
30
|
+
},
|
|
31
|
+
xlarge: {
|
|
32
|
+
kzqmXN: "musaex-h0ce78",
|
|
33
|
+
k7Eaqz: "musaex-mhg31v",
|
|
34
|
+
kZKoxP: "musaex-1do9ykw",
|
|
35
|
+
$$css: true
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { styles as default };
|
|
@@ -5,10 +5,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
6
6
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
7
7
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
8
|
+
var styles = require('./styles.cjs');
|
|
8
9
|
var React = require('react');
|
|
9
10
|
var preview = require('./preview/preview.cjs');
|
|
10
11
|
var context = require('./preview/context.cjs');
|
|
11
12
|
var relax = require('@aiszlab/relax');
|
|
13
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
12
14
|
var skeleton = require('../skeleton/skeleton.cjs');
|
|
13
15
|
var useClassNames = require('../../hooks/use-class-names.cjs');
|
|
14
16
|
var className = require('@aiszlab/relax/class-name');
|
|
@@ -70,29 +72,10 @@ var Image = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
70
72
|
turnOn();
|
|
71
73
|
});
|
|
72
74
|
var styled = {
|
|
73
|
-
loading:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
className: "musaex-3nfvp2 musaex-1n2onr6 musaex-l56j7k musaex-6s0dn4"
|
|
78
|
-
},
|
|
79
|
-
overlay: {
|
|
80
|
-
0: {
|
|
81
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-1hc1fzr musaex-19991ni musaex-1dg6om"
|
|
82
|
-
},
|
|
83
|
-
2: {
|
|
84
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-19991ni musaex-1dg6om musaex-g01cxk"
|
|
85
|
-
},
|
|
86
|
-
1: {
|
|
87
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-1hc1fzr musaex-19991ni musaex-1dg6om musaex-1ypdohk"
|
|
88
|
-
},
|
|
89
|
-
3: {
|
|
90
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-19991ni musaex-1dg6om musaex-g01cxk musaex-1ypdohk"
|
|
91
|
-
}
|
|
92
|
-
}[!!!isHovered << 1 | !!(actions.size === 1 && actions.has("preview")) << 0],
|
|
93
|
-
img: {
|
|
94
|
-
className: "musaex-92755x musaex-qg7gut musaex-l1xv1r"
|
|
95
|
-
}
|
|
75
|
+
loading: stylex.props(styles.default.image.base),
|
|
76
|
+
image: stylex.props(styles.default.image.base),
|
|
77
|
+
overlay: stylex.props(styles.default.overlay.base, !isHovered && styles.default.overlay.hidden, actions.size === 1 && actions.has("preview") && styles.default.overlay.previewable),
|
|
78
|
+
img: stylex.props(styles.default.img.base)
|
|
96
79
|
};
|
|
97
80
|
React.useImperativeHandle(ref, function () {
|
|
98
81
|
var _imageRef$current;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
|
+
import styles from './styles.mjs';
|
|
4
5
|
import React, { forwardRef, useContext, useRef, useMemo, useImperativeHandle } from 'react';
|
|
5
6
|
import Preview from './preview/preview.mjs';
|
|
6
7
|
import PreviewGroupContext from './preview/context.mjs';
|
|
7
8
|
import { useBoolean, useHover, useImageLoader, useEvent } from '@aiszlab/relax';
|
|
9
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
8
10
|
import Skeleton from '../skeleton/skeleton.mjs';
|
|
9
11
|
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
10
12
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
@@ -66,29 +68,10 @@ var Image = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
66
68
|
turnOn();
|
|
67
69
|
});
|
|
68
70
|
var styled = {
|
|
69
|
-
loading:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
className: "musaex-3nfvp2 musaex-1n2onr6 musaex-l56j7k musaex-6s0dn4"
|
|
74
|
-
},
|
|
75
|
-
overlay: {
|
|
76
|
-
0: {
|
|
77
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-1hc1fzr musaex-19991ni musaex-1dg6om"
|
|
78
|
-
},
|
|
79
|
-
2: {
|
|
80
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-19991ni musaex-1dg6om musaex-g01cxk"
|
|
81
|
-
},
|
|
82
|
-
1: {
|
|
83
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-1hc1fzr musaex-19991ni musaex-1dg6om musaex-1ypdohk"
|
|
84
|
-
},
|
|
85
|
-
3: {
|
|
86
|
-
className: "musaex-10l6tqk musaex-10a8y8t musaex-78zum5 musaex-l56j7k musaex-6s0dn4 musaex-1wm2zkp musaex-72g52x musaex-1szb5uh musaex-87ps6o musaex-19991ni musaex-1dg6om musaex-g01cxk musaex-1ypdohk"
|
|
87
|
-
}
|
|
88
|
-
}[!!!isHovered << 1 | !!(actions.size === 1 && actions.has("preview")) << 0],
|
|
89
|
-
img: {
|
|
90
|
-
className: "musaex-92755x musaex-qg7gut musaex-l1xv1r"
|
|
91
|
-
}
|
|
71
|
+
loading: props(styles.image.base),
|
|
72
|
+
image: props(styles.image.base),
|
|
73
|
+
overlay: props(styles.overlay.base, !isHovered && styles.overlay.hidden, actions.size === 1 && actions.has("preview") && styles.overlay.previewable),
|
|
74
|
+
img: props(styles.img.base)
|
|
92
75
|
};
|
|
93
76
|
useImperativeHandle(ref, function () {
|
|
94
77
|
var _imageRef$current;
|
|
@@ -3,7 +3,9 @@
|
|
|
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');
|
|
8
|
+
var stylex = require('../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
9
|
var portal = require('../../portal/portal.cjs');
|
|
8
10
|
var hooks = require('../../theme/hooks.cjs');
|
|
9
11
|
var hooks$1 = require('../hooks.cjs');
|
|
@@ -24,21 +26,11 @@ var Operations = function Operations(_ref) {
|
|
|
24
26
|
onFlipY = _ref.onFlipY;
|
|
25
27
|
var theme = hooks.useTheme();
|
|
26
28
|
var styled = {
|
|
27
|
-
operations:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
navigations: {
|
|
34
|
-
className: "musaex-ixxii4 musaex-u96u03 musaex-3m8u43 musaex-wa60dl musaex-81lxrv musaex-78zum5 musaex-1q0g3np musaex-1qughib musaex-6s0dn4"
|
|
35
|
-
},
|
|
36
|
-
footer: {
|
|
37
|
-
className: "musaex-ixxii4 musaex-u96u03 musaex-3m8u43 musaex-vktm6t musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-1j14bxn"
|
|
38
|
-
},
|
|
39
|
-
handlers: {
|
|
40
|
-
className: "musaex-78zum5 musaex-1q0g3np musaex-15wobh7 musaex-6s0dn4 musaex-k7eln3 musaex-shxsqp musaex-1pyhihf musaex-11owsmz"
|
|
41
|
-
}
|
|
29
|
+
operations: stylex.props(styles.default.operations.base),
|
|
30
|
+
closer: stylex.props(styles.default.operations.closer),
|
|
31
|
+
navigations: stylex.props(styles.default.operations.navigations),
|
|
32
|
+
footer: stylex.props(styles.default.operations.footer),
|
|
33
|
+
handlers: stylex.props(styles.default.operations.handlers)
|
|
42
34
|
};
|
|
43
35
|
var handlers = hooks$1.useHandlers({
|
|
44
36
|
onFlipX: onFlipX,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
|
+
import styles from '../styles.mjs';
|
|
2
3
|
import React, { useContext } 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 Portal from '../../portal/portal.mjs';
|
|
4
6
|
import { useTheme } from '../../theme/hooks.mjs';
|
|
5
7
|
import { useHandlers } from '../hooks.mjs';
|
|
@@ -20,21 +22,11 @@ var Operations = function Operations(_ref) {
|
|
|
20
22
|
onFlipY = _ref.onFlipY;
|
|
21
23
|
var theme = useTheme();
|
|
22
24
|
var styled = {
|
|
23
|
-
operations:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
navigations: {
|
|
30
|
-
className: "musaex-ixxii4 musaex-u96u03 musaex-3m8u43 musaex-wa60dl musaex-81lxrv musaex-78zum5 musaex-1q0g3np musaex-1qughib musaex-6s0dn4"
|
|
31
|
-
},
|
|
32
|
-
footer: {
|
|
33
|
-
className: "musaex-ixxii4 musaex-u96u03 musaex-3m8u43 musaex-vktm6t musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-1j14bxn"
|
|
34
|
-
},
|
|
35
|
-
handlers: {
|
|
36
|
-
className: "musaex-78zum5 musaex-1q0g3np musaex-15wobh7 musaex-6s0dn4 musaex-k7eln3 musaex-shxsqp musaex-1pyhihf musaex-11owsmz"
|
|
37
|
-
}
|
|
25
|
+
operations: props(styles.operations.base),
|
|
26
|
+
closer: props(styles.operations.closer),
|
|
27
|
+
navigations: props(styles.operations.navigations),
|
|
28
|
+
footer: props(styles.operations.footer),
|
|
29
|
+
handlers: props(styles.operations.handlers)
|
|
38
30
|
};
|
|
39
31
|
var handlers = useHandlers({
|
|
40
32
|
onFlipX: onFlipX,
|
|
@@ -4,9 +4,11 @@ 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 dialog = require('../../dialog/dialog.cjs');
|
|
9
10
|
var operations = require('./operations.cjs');
|
|
11
|
+
var stylex = require('../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
10
12
|
|
|
11
13
|
var DEFAULT_STYLE = {
|
|
12
14
|
scale: 1,
|
|
@@ -72,9 +74,7 @@ var Preview = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
72
74
|
};
|
|
73
75
|
}, []);
|
|
74
76
|
var isSmallest = scale <= 1;
|
|
75
|
-
var styled =
|
|
76
|
-
className: "musaex-1jsi7ff musaex-1so62im musaex-11xpdln musaex-1ptezny musaex-67bb7w"
|
|
77
|
-
};
|
|
77
|
+
var styled = stylex.props(styles.default.preview.image);
|
|
78
78
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(dialog.default, {
|
|
79
79
|
open: true,
|
|
80
80
|
onClose: onClose,
|
|
@@ -1,8 +1,10 @@
|
|
|
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, { forwardRef, useState, useImperativeHandle } from 'react';
|
|
4
5
|
import Dialog from '../../dialog/dialog.mjs';
|
|
5
6
|
import Operations from './operations.mjs';
|
|
7
|
+
import { props } from '../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
6
8
|
|
|
7
9
|
var DEFAULT_STYLE = {
|
|
8
10
|
scale: 1,
|
|
@@ -68,9 +70,7 @@ var Preview = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
68
70
|
};
|
|
69
71
|
}, []);
|
|
70
72
|
var isSmallest = scale <= 1;
|
|
71
|
-
var styled =
|
|
72
|
-
className: "musaex-1jsi7ff musaex-1so62im musaex-11xpdln musaex-1ptezny musaex-67bb7w"
|
|
73
|
-
};
|
|
73
|
+
var styled = props(styles.preview.image);
|
|
74
74
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Dialog, {
|
|
75
75
|
open: true,
|
|
76
76
|
onClose: onClose,
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var image = {
|
|
6
|
+
base: {
|
|
7
|
+
k1xSpc: "musaex-3nfvp2",
|
|
8
|
+
kVAEAm: "musaex-1n2onr6",
|
|
9
|
+
kjj79g: "musaex-l56j7k",
|
|
10
|
+
kGNEyG: "musaex-6s0dn4",
|
|
11
|
+
$$css: true
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
var overlay = {
|
|
15
|
+
base: {
|
|
16
|
+
kVAEAm: "musaex-10l6tqk",
|
|
17
|
+
kpwlN0: "musaex-10a8y8t",
|
|
18
|
+
k1xSpc: "musaex-78zum5",
|
|
19
|
+
kjj79g: "musaex-l56j7k",
|
|
20
|
+
kGNEyG: "musaex-6s0dn4",
|
|
21
|
+
kOIVth: "musaex-1wm2zkp",
|
|
22
|
+
kWkggS: "musaex-72g52x",
|
|
23
|
+
kMwMTN: "musaex-1szb5uh",
|
|
24
|
+
kfSwDN: "musaex-87ps6o",
|
|
25
|
+
kSiTet: "musaex-1hc1fzr",
|
|
26
|
+
k1ekBW: "musaex-19991ni",
|
|
27
|
+
kIyJzY: "musaex-1dg6om",
|
|
28
|
+
$$css: true
|
|
29
|
+
},
|
|
30
|
+
hidden: {
|
|
31
|
+
kSiTet: "musaex-g01cxk",
|
|
32
|
+
$$css: true
|
|
33
|
+
},
|
|
34
|
+
previewable: {
|
|
35
|
+
kkrTdU: "musaex-1ypdohk",
|
|
36
|
+
$$css: true
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var img = {
|
|
40
|
+
base: {
|
|
41
|
+
kzqmXN: "musaex-92755x",
|
|
42
|
+
kZKoxP: "musaex-qg7gut",
|
|
43
|
+
kVIFPx: "musaex-l1xv1r",
|
|
44
|
+
$$css: true
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
var preview = {
|
|
48
|
+
image: {
|
|
49
|
+
k3aq6I: "musaex-1jsi7ff",
|
|
50
|
+
k6sLGO: "musaex-1so62im",
|
|
51
|
+
k1ekBW: "musaex-11xpdln",
|
|
52
|
+
kIyJzY: "musaex-1ptezny",
|
|
53
|
+
kfzvcC: "musaex-67bb7w",
|
|
54
|
+
$$css: true
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var operations = {
|
|
58
|
+
base: {
|
|
59
|
+
kVAEAm: "musaex-ixxii4",
|
|
60
|
+
kY2c9j: "musaex-1dx3pxl",
|
|
61
|
+
$$css: true
|
|
62
|
+
},
|
|
63
|
+
closer: {
|
|
64
|
+
kdh0IS: "musaex-eevl6q",
|
|
65
|
+
kILoXP: "musaex-75f684",
|
|
66
|
+
kTCo9J: "musaex-ob9i47",
|
|
67
|
+
$$css: true
|
|
68
|
+
},
|
|
69
|
+
navigations: {
|
|
70
|
+
kVAEAm: "musaex-ixxii4",
|
|
71
|
+
kbCHJM: "musaex-u96u03",
|
|
72
|
+
kCIrl2: "musaex-3m8u43",
|
|
73
|
+
k87sOh: "musaex-wa60dl",
|
|
74
|
+
kg3NbH: "musaex-81lxrv",
|
|
75
|
+
k1xSpc: "musaex-78zum5",
|
|
76
|
+
kXwgrk: "musaex-1q0g3np",
|
|
77
|
+
kjj79g: "musaex-1qughib",
|
|
78
|
+
kGNEyG: "musaex-6s0dn4",
|
|
79
|
+
$$css: true
|
|
80
|
+
},
|
|
81
|
+
footer: {
|
|
82
|
+
kVAEAm: "musaex-ixxii4",
|
|
83
|
+
kbCHJM: "musaex-u96u03",
|
|
84
|
+
kCIrl2: "musaex-3m8u43",
|
|
85
|
+
krVfgx: "musaex-vktm6t",
|
|
86
|
+
k1xSpc: "musaex-78zum5",
|
|
87
|
+
kXwgrk: "musaex-dt5ytf",
|
|
88
|
+
kGNEyG: "musaex-6s0dn4",
|
|
89
|
+
kMwMTN: "musaex-1j14bxn",
|
|
90
|
+
$$css: true
|
|
91
|
+
},
|
|
92
|
+
handlers: {
|
|
93
|
+
k1xSpc: "musaex-78zum5",
|
|
94
|
+
kXwgrk: "musaex-1q0g3np",
|
|
95
|
+
kOIVth: "musaex-15wobh7",
|
|
96
|
+
kGNEyG: "musaex-6s0dn4",
|
|
97
|
+
kWkggS: "musaex-k7eln3",
|
|
98
|
+
kaIpWk: "musaex-shxsqp",
|
|
99
|
+
kg3NbH: "musaex-1pyhihf",
|
|
100
|
+
k8WAf4: "musaex-11owsmz",
|
|
101
|
+
$$css: true
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
var styles = {
|
|
105
|
+
image: image,
|
|
106
|
+
overlay: overlay,
|
|
107
|
+
img: img,
|
|
108
|
+
preview: preview,
|
|
109
|
+
operations: operations
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
exports.default = styles;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
image: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "inline-flex">;
|
|
5
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
|
|
6
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
|
|
7
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
8
|
+
}>;
|
|
9
|
+
}>;
|
|
10
|
+
overlay: Readonly<{
|
|
11
|
+
readonly base: Readonly<{
|
|
12
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "absolute">;
|
|
13
|
+
readonly inset: import("@stylexjs/stylex").StyleXClassNameFor<"inset", 0>;
|
|
14
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
15
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
|
|
16
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
17
|
+
readonly gap: import("@stylexjs/stylex").StyleXClassNameFor<"gap", string>;
|
|
18
|
+
readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-surface-dim-opacity-90)">;
|
|
19
|
+
readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-primary)">;
|
|
20
|
+
readonly userSelect: import("@stylexjs/stylex").StyleXClassNameFor<"userSelect", "none">;
|
|
21
|
+
readonly opacity: import("@stylexjs/stylex").StyleXClassNameFor<"opacity", 1>;
|
|
22
|
+
readonly transitionProperty: import("@stylexjs/stylex").StyleXClassNameFor<"transitionProperty", "opacity">;
|
|
23
|
+
readonly transitionDuration: import("@stylexjs/stylex").StyleXClassNameFor<"transitionDuration", string>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly hidden: Readonly<{
|
|
26
|
+
readonly opacity: import("@stylexjs/stylex").StyleXClassNameFor<"opacity", 0>;
|
|
27
|
+
}>;
|
|
28
|
+
readonly previewable: Readonly<{
|
|
29
|
+
readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "pointer">;
|
|
30
|
+
}>;
|
|
31
|
+
}>;
|
|
32
|
+
img: Readonly<{
|
|
33
|
+
readonly base: Readonly<{
|
|
34
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
35
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
36
|
+
readonly objectFit: import("@stylexjs/stylex").StyleXClassNameFor<"objectFit", "cover">;
|
|
37
|
+
}>;
|
|
38
|
+
}>;
|
|
39
|
+
preview: Readonly<{
|
|
40
|
+
readonly image: Readonly<{
|
|
41
|
+
readonly transform: import("@stylexjs/stylex").StyleXClassNameFor<"transform", "translate3d(0px, 0px, 0px) scale3d(calc(var(--scale) * var(--flip-x)), calc(var(--scale) * var(--flip-y)), 1) rotate(var(--rotate))">;
|
|
42
|
+
readonly willChange: import("@stylexjs/stylex").StyleXClassNameFor<"willChange", "transform">;
|
|
43
|
+
readonly transitionProperty: import("@stylexjs/stylex").StyleXClassNameFor<"transitionProperty", "transform">;
|
|
44
|
+
readonly transitionDuration: import("@stylexjs/stylex").StyleXClassNameFor<"transitionDuration", string>;
|
|
45
|
+
readonly pointerEvents: import("@stylexjs/stylex").StyleXClassNameFor<"pointerEvents", "auto">;
|
|
46
|
+
}>;
|
|
47
|
+
}>;
|
|
48
|
+
operations: Readonly<{
|
|
49
|
+
readonly base: Readonly<{
|
|
50
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "fixed">;
|
|
51
|
+
readonly zIndex: import("@stylexjs/stylex").StyleXClassNameFor<"zIndex", string>;
|
|
52
|
+
}>;
|
|
53
|
+
readonly closer: Readonly<{
|
|
54
|
+
readonly ":not(#\\#)": import("@stylexjs/stylex").StyleXClassNameFor<":not(#\\#)", {
|
|
55
|
+
readonly top: import("@stylexjs/stylex").StyleXVar<string>;
|
|
56
|
+
readonly right: import("@stylexjs/stylex").StyleXVar<string>;
|
|
57
|
+
readonly position: "fixed";
|
|
58
|
+
}>;
|
|
59
|
+
}>;
|
|
60
|
+
readonly navigations: Readonly<{
|
|
61
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "fixed">;
|
|
62
|
+
readonly left: import("@stylexjs/stylex").StyleXClassNameFor<"left", 0>;
|
|
63
|
+
readonly right: import("@stylexjs/stylex").StyleXClassNameFor<"right", 0>;
|
|
64
|
+
readonly top: import("@stylexjs/stylex").StyleXClassNameFor<"top", "50%">;
|
|
65
|
+
readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
|
|
66
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
67
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "row">;
|
|
68
|
+
readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "space-between">;
|
|
69
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
70
|
+
}>;
|
|
71
|
+
readonly footer: Readonly<{
|
|
72
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "fixed">;
|
|
73
|
+
readonly left: import("@stylexjs/stylex").StyleXClassNameFor<"left", 0>;
|
|
74
|
+
readonly right: import("@stylexjs/stylex").StyleXClassNameFor<"right", 0>;
|
|
75
|
+
readonly bottom: import("@stylexjs/stylex").StyleXClassNameFor<"bottom", string>;
|
|
76
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
77
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
|
|
78
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
79
|
+
readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-surface)">;
|
|
80
|
+
}>;
|
|
81
|
+
readonly handlers: Readonly<{
|
|
82
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
83
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "row">;
|
|
84
|
+
readonly gap: import("@stylexjs/stylex").StyleXClassNameFor<"gap", string>;
|
|
85
|
+
readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
|
|
86
|
+
readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-surface)">;
|
|
87
|
+
readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
|
|
88
|
+
readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
|
|
89
|
+
readonly paddingBlock: import("@stylexjs/stylex").StyleXClassNameFor<"paddingBlock", string>;
|
|
90
|
+
}>;
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
93
|
+
export default styles;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
var image = {
|
|
2
|
+
base: {
|
|
3
|
+
k1xSpc: "musaex-3nfvp2",
|
|
4
|
+
kVAEAm: "musaex-1n2onr6",
|
|
5
|
+
kjj79g: "musaex-l56j7k",
|
|
6
|
+
kGNEyG: "musaex-6s0dn4",
|
|
7
|
+
$$css: true
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var overlay = {
|
|
11
|
+
base: {
|
|
12
|
+
kVAEAm: "musaex-10l6tqk",
|
|
13
|
+
kpwlN0: "musaex-10a8y8t",
|
|
14
|
+
k1xSpc: "musaex-78zum5",
|
|
15
|
+
kjj79g: "musaex-l56j7k",
|
|
16
|
+
kGNEyG: "musaex-6s0dn4",
|
|
17
|
+
kOIVth: "musaex-1wm2zkp",
|
|
18
|
+
kWkggS: "musaex-72g52x",
|
|
19
|
+
kMwMTN: "musaex-1szb5uh",
|
|
20
|
+
kfSwDN: "musaex-87ps6o",
|
|
21
|
+
kSiTet: "musaex-1hc1fzr",
|
|
22
|
+
k1ekBW: "musaex-19991ni",
|
|
23
|
+
kIyJzY: "musaex-1dg6om",
|
|
24
|
+
$$css: true
|
|
25
|
+
},
|
|
26
|
+
hidden: {
|
|
27
|
+
kSiTet: "musaex-g01cxk",
|
|
28
|
+
$$css: true
|
|
29
|
+
},
|
|
30
|
+
previewable: {
|
|
31
|
+
kkrTdU: "musaex-1ypdohk",
|
|
32
|
+
$$css: true
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
var img = {
|
|
36
|
+
base: {
|
|
37
|
+
kzqmXN: "musaex-92755x",
|
|
38
|
+
kZKoxP: "musaex-qg7gut",
|
|
39
|
+
kVIFPx: "musaex-l1xv1r",
|
|
40
|
+
$$css: true
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
var preview = {
|
|
44
|
+
image: {
|
|
45
|
+
k3aq6I: "musaex-1jsi7ff",
|
|
46
|
+
k6sLGO: "musaex-1so62im",
|
|
47
|
+
k1ekBW: "musaex-11xpdln",
|
|
48
|
+
kIyJzY: "musaex-1ptezny",
|
|
49
|
+
kfzvcC: "musaex-67bb7w",
|
|
50
|
+
$$css: true
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var operations = {
|
|
54
|
+
base: {
|
|
55
|
+
kVAEAm: "musaex-ixxii4",
|
|
56
|
+
kY2c9j: "musaex-1dx3pxl",
|
|
57
|
+
$$css: true
|
|
58
|
+
},
|
|
59
|
+
closer: {
|
|
60
|
+
kdh0IS: "musaex-eevl6q",
|
|
61
|
+
kILoXP: "musaex-75f684",
|
|
62
|
+
kTCo9J: "musaex-ob9i47",
|
|
63
|
+
$$css: true
|
|
64
|
+
},
|
|
65
|
+
navigations: {
|
|
66
|
+
kVAEAm: "musaex-ixxii4",
|
|
67
|
+
kbCHJM: "musaex-u96u03",
|
|
68
|
+
kCIrl2: "musaex-3m8u43",
|
|
69
|
+
k87sOh: "musaex-wa60dl",
|
|
70
|
+
kg3NbH: "musaex-81lxrv",
|
|
71
|
+
k1xSpc: "musaex-78zum5",
|
|
72
|
+
kXwgrk: "musaex-1q0g3np",
|
|
73
|
+
kjj79g: "musaex-1qughib",
|
|
74
|
+
kGNEyG: "musaex-6s0dn4",
|
|
75
|
+
$$css: true
|
|
76
|
+
},
|
|
77
|
+
footer: {
|
|
78
|
+
kVAEAm: "musaex-ixxii4",
|
|
79
|
+
kbCHJM: "musaex-u96u03",
|
|
80
|
+
kCIrl2: "musaex-3m8u43",
|
|
81
|
+
krVfgx: "musaex-vktm6t",
|
|
82
|
+
k1xSpc: "musaex-78zum5",
|
|
83
|
+
kXwgrk: "musaex-dt5ytf",
|
|
84
|
+
kGNEyG: "musaex-6s0dn4",
|
|
85
|
+
kMwMTN: "musaex-1j14bxn",
|
|
86
|
+
$$css: true
|
|
87
|
+
},
|
|
88
|
+
handlers: {
|
|
89
|
+
k1xSpc: "musaex-78zum5",
|
|
90
|
+
kXwgrk: "musaex-1q0g3np",
|
|
91
|
+
kOIVth: "musaex-15wobh7",
|
|
92
|
+
kGNEyG: "musaex-6s0dn4",
|
|
93
|
+
kWkggS: "musaex-k7eln3",
|
|
94
|
+
kaIpWk: "musaex-shxsqp",
|
|
95
|
+
kg3NbH: "musaex-1pyhihf",
|
|
96
|
+
k8WAf4: "musaex-11owsmz",
|
|
97
|
+
$$css: true
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
var styles = {
|
|
101
|
+
image: image,
|
|
102
|
+
overlay: overlay,
|
|
103
|
+
img: img,
|
|
104
|
+
preview: preview,
|
|
105
|
+
operations: operations
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export { styles as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
5
|
-
* class names
|
|
4
|
+
* @zh Input 组件类名
|
|
5
|
+
* @en Input component class names
|
|
6
6
|
*/
|
|
7
7
|
var CLASS_NAMES = {
|
|
8
8
|
inputor: "input__inputor",
|
|
9
9
|
input: "input",
|
|
10
|
+
leading: "input__leading",
|
|
11
|
+
trailing: "input__trailing",
|
|
10
12
|
focused: "input__inputor--focused",
|
|
11
|
-
invalid: "input__inputor--invalid"
|
|
13
|
+
invalid: "input__inputor--invalid",
|
|
14
|
+
outline: "notched-outline",
|
|
15
|
+
outlineLeading: "notched-outline__leading",
|
|
16
|
+
outlineNotch: "notched-outline__notch",
|
|
17
|
+
outlineTrailing: "notched-outline__trailing"
|
|
12
18
|
};
|
|
13
19
|
|
|
14
20
|
exports.CLASS_NAMES = CLASS_NAMES;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
3
|
-
* class names
|
|
2
|
+
* @zh Input 组件类名
|
|
3
|
+
* @en Input component class names
|
|
4
4
|
*/
|
|
5
5
|
export declare const CLASS_NAMES: {
|
|
6
6
|
inputor: string;
|
|
7
7
|
input: string;
|
|
8
|
+
leading: string;
|
|
9
|
+
trailing: string;
|
|
8
10
|
focused: string;
|
|
9
11
|
invalid: string;
|
|
12
|
+
outline: string;
|
|
13
|
+
outlineLeading: string;
|
|
14
|
+
outlineNotch: string;
|
|
15
|
+
outlineTrailing: string;
|
|
10
16
|
};
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
3
|
-
* class names
|
|
2
|
+
* @zh Input 组件类名
|
|
3
|
+
* @en Input component class names
|
|
4
4
|
*/
|
|
5
5
|
var CLASS_NAMES = {
|
|
6
6
|
inputor: "input__inputor",
|
|
7
7
|
input: "input",
|
|
8
|
+
leading: "input__leading",
|
|
9
|
+
trailing: "input__trailing",
|
|
8
10
|
focused: "input__inputor--focused",
|
|
9
|
-
invalid: "input__inputor--invalid"
|
|
11
|
+
invalid: "input__inputor--invalid",
|
|
12
|
+
outline: "notched-outline",
|
|
13
|
+
outlineLeading: "notched-outline__leading",
|
|
14
|
+
outlineNotch: "notched-outline__notch",
|
|
15
|
+
outlineTrailing: "notched-outline__trailing"
|
|
10
16
|
};
|
|
11
17
|
|
|
12
18
|
export { CLASS_NAMES };
|