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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var styles = require('../styles.cjs');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var stylex = require('../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
8
|
var relax = require('@aiszlab/relax');
|
|
@@ -15,15 +16,6 @@ var loading = require('../../icon/icons/mock/loading.cjs');
|
|
|
15
16
|
var attachFile = require('../../icon/icons/editor/attach-file.cjs');
|
|
16
17
|
var _delete = require('../../icon/icons/action/delete.cjs');
|
|
17
18
|
|
|
18
|
-
var styles = {
|
|
19
|
-
item: {
|
|
20
|
-
"default": {
|
|
21
|
-
k1xSpc: "musaex-78zum5",
|
|
22
|
-
kGNEyG: "musaex-6s0dn4",
|
|
23
|
-
kOIVth: "musaex-1wm2zkp",
|
|
24
|
-
$$css: true
|
|
25
|
-
}
|
|
26
|
-
}};
|
|
27
19
|
var UploadedItem = function UploadedItem(_ref) {
|
|
28
20
|
var _fileItem$file$name, _fileItem$file, _item$url;
|
|
29
21
|
var item = _ref.item,
|
|
@@ -46,10 +38,8 @@ var UploadedItem = function UploadedItem(_ref) {
|
|
|
46
38
|
var isPicture = renderItem === "picture";
|
|
47
39
|
var isLoading = fileItem.status === "loading";
|
|
48
40
|
var styled = {
|
|
49
|
-
item: stylex.props(styles.item
|
|
50
|
-
filename:
|
|
51
|
-
className: "musaex-98rzlu musaex-b3r6kr musaex-lyipyv"
|
|
52
|
-
}
|
|
41
|
+
item: stylex.props(styles.default.item.base, theme.$body.small),
|
|
42
|
+
filename: stylex.props(styles.default.filename.base)
|
|
53
43
|
};
|
|
54
44
|
var remove = relax.useEvent(function () {
|
|
55
45
|
onRemove(index);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import styles from '../styles.mjs';
|
|
1
2
|
import React, { useContext, useMemo } from 'react';
|
|
2
3
|
import { props } from '../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
4
|
import { useEvent } from '@aiszlab/relax';
|
|
@@ -11,15 +12,6 @@ import IconLoading from '../../icon/icons/mock/loading.mjs';
|
|
|
11
12
|
import IconAttachFile from '../../icon/icons/editor/attach-file.mjs';
|
|
12
13
|
import IconDelete from '../../icon/icons/action/delete.mjs';
|
|
13
14
|
|
|
14
|
-
var styles = {
|
|
15
|
-
item: {
|
|
16
|
-
"default": {
|
|
17
|
-
k1xSpc: "musaex-78zum5",
|
|
18
|
-
kGNEyG: "musaex-6s0dn4",
|
|
19
|
-
kOIVth: "musaex-1wm2zkp",
|
|
20
|
-
$$css: true
|
|
21
|
-
}
|
|
22
|
-
}};
|
|
23
15
|
var UploadedItem = function UploadedItem(_ref) {
|
|
24
16
|
var _fileItem$file$name, _fileItem$file, _item$url;
|
|
25
17
|
var item = _ref.item,
|
|
@@ -42,10 +34,8 @@ var UploadedItem = function UploadedItem(_ref) {
|
|
|
42
34
|
var isPicture = renderItem === "picture";
|
|
43
35
|
var isLoading = fileItem.status === "loading";
|
|
44
36
|
var styled = {
|
|
45
|
-
item: props(styles.item
|
|
46
|
-
filename:
|
|
47
|
-
className: "musaex-98rzlu musaex-b3r6kr musaex-lyipyv"
|
|
48
|
-
}
|
|
37
|
+
item: props(styles.item.base, $body.small),
|
|
38
|
+
filename: props(styles.filename.base)
|
|
49
39
|
};
|
|
50
40
|
var remove = useEvent(function () {
|
|
51
41
|
onRemove(index);
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
6
|
+
var styles = require('../styles.cjs');
|
|
6
7
|
var React = require('react');
|
|
7
8
|
var context$1 = require('../../image/context.cjs');
|
|
8
9
|
var index = require('../../image/index.cjs');
|
|
10
|
+
var stylex = require('../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
9
11
|
var useThemeColorVars = require('../../../hooks/use-theme-color-vars.cjs');
|
|
10
12
|
var className = require('@aiszlab/relax/class-name');
|
|
11
13
|
var context = require('../context.cjs');
|
|
@@ -20,12 +22,8 @@ var UploadedPicture = function UploadedPicture(_ref) {
|
|
|
20
22
|
var _useContext = React.useContext(context.Context),
|
|
21
23
|
classNames = _useContext.classNames;
|
|
22
24
|
var styled = {
|
|
23
|
-
wrapper:
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
image: {
|
|
27
|
-
className: "musaex-11mck8i musaex-10vnh4r"
|
|
28
|
-
}
|
|
25
|
+
wrapper: stylex.props(styles.default.picture.wrapper),
|
|
26
|
+
image: stylex.props(styles.default.picture.base)
|
|
29
27
|
};
|
|
30
28
|
return /*#__PURE__*/React.createElement(context$1.default, {
|
|
31
29
|
value: {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
|
+
import styles from '../styles.mjs';
|
|
2
3
|
import React, { useContext } from 'react';
|
|
3
4
|
import ImageContext from '../../image/context.mjs';
|
|
4
5
|
import { Image } from '../../image/index.mjs';
|
|
6
|
+
import { props } from '../../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
5
7
|
import { useThemeColorVars } from '../../../hooks/use-theme-color-vars.mjs';
|
|
6
8
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
7
9
|
import { Context } from '../context.mjs';
|
|
@@ -16,12 +18,8 @@ var UploadedPicture = function UploadedPicture(_ref) {
|
|
|
16
18
|
var _useContext = useContext(Context),
|
|
17
19
|
classNames = _useContext.classNames;
|
|
18
20
|
var styled = {
|
|
19
|
-
wrapper:
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
image: {
|
|
23
|
-
className: "musaex-11mck8i musaex-10vnh4r"
|
|
24
|
-
}
|
|
21
|
+
wrapper: props(styles.picture.wrapper),
|
|
22
|
+
image: props(styles.picture.base)
|
|
25
23
|
};
|
|
26
24
|
return /*#__PURE__*/React.createElement(ImageContext, {
|
|
27
25
|
value: {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var styles = require('./styles.cjs');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
8
|
var index = require('./uploaded-item/index.cjs');
|
|
@@ -9,14 +10,6 @@ var context = require('./context.cjs');
|
|
|
9
10
|
var className = require('@aiszlab/relax/class-name');
|
|
10
11
|
var theme = require('../theme/theme.cjs');
|
|
11
12
|
|
|
12
|
-
var styles = {
|
|
13
|
-
item: {
|
|
14
|
-
k1xSpc: "musaex-78zum5",
|
|
15
|
-
kGNEyG: "musaex-6s0dn4",
|
|
16
|
-
kOIVth: "musaex-1wm2zkp",
|
|
17
|
-
$$css: true
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
13
|
var UploadedList = function UploadedList(_ref) {
|
|
21
14
|
var value = _ref.value,
|
|
22
15
|
onRemove = _ref.onRemove;
|
|
@@ -29,10 +22,10 @@ var UploadedList = function UploadedList(_ref) {
|
|
|
29
22
|
return null;
|
|
30
23
|
}
|
|
31
24
|
var styled = {
|
|
32
|
-
list:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
list: stylex.props(styles.default.uploadedList.list),
|
|
26
|
+
item: stylex.props(styles.default.uploadedList.item, theme.$body.small),
|
|
27
|
+
filename: stylex.props(styles.default.uploadedList.filename)
|
|
28
|
+
};
|
|
36
29
|
return /*#__PURE__*/React.createElement("div", {
|
|
37
30
|
className: className.stringify(classNames.uploadedList, styled.list.className),
|
|
38
31
|
style: styled.list.style
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import styles from './styles.mjs';
|
|
1
2
|
import React, { useContext } from 'react';
|
|
2
3
|
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
4
|
import UploadedItem from './uploaded-item/index.mjs';
|
|
@@ -5,14 +6,6 @@ import { Context } from './context.mjs';
|
|
|
5
6
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
6
7
|
import { $body } from '../theme/theme.mjs';
|
|
7
8
|
|
|
8
|
-
var styles = {
|
|
9
|
-
item: {
|
|
10
|
-
k1xSpc: "musaex-78zum5",
|
|
11
|
-
kGNEyG: "musaex-6s0dn4",
|
|
12
|
-
kOIVth: "musaex-1wm2zkp",
|
|
13
|
-
$$css: true
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
9
|
var UploadedList = function UploadedList(_ref) {
|
|
17
10
|
var value = _ref.value,
|
|
18
11
|
onRemove = _ref.onRemove;
|
|
@@ -25,10 +18,10 @@ var UploadedList = function UploadedList(_ref) {
|
|
|
25
18
|
return null;
|
|
26
19
|
}
|
|
27
20
|
var styled = {
|
|
28
|
-
list:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
list: props(styles.uploadedList.list),
|
|
22
|
+
item: props(styles.uploadedList.item, $body.small),
|
|
23
|
+
filename: props(styles.uploadedList.filename)
|
|
24
|
+
};
|
|
32
25
|
return /*#__PURE__*/React.createElement("div", {
|
|
33
26
|
className: stringify(classNames.uploadedList, styled.list.className),
|
|
34
27
|
style: styled.list.style
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {
|
|
6
|
+
hidden: {
|
|
7
|
+
kzqmXN: "musaex-1yv54sy",
|
|
8
|
+
kZKoxP: "musaex-12yrczq",
|
|
9
|
+
kogj98: "musaex-1hi0jjc",
|
|
10
|
+
kVAEAm: "musaex-10l6tqk",
|
|
11
|
+
kMcinP: "musaex-zpqnlu",
|
|
12
|
+
kVQacm: "musaex-b3r6kr",
|
|
13
|
+
$$css: true
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
exports.default = styles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const styles: Readonly<{
|
|
2
|
+
readonly hidden: Readonly<{
|
|
3
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
4
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
5
|
+
readonly margin: import("@stylexjs/stylex").StyleXClassNameFor<"margin", string>;
|
|
6
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "absolute">;
|
|
7
|
+
readonly clip: import("@stylexjs/stylex").StyleXClassNameFor<"clip", "rect(0, 0, 0, 0)">;
|
|
8
|
+
readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
|
|
9
|
+
}>;
|
|
10
|
+
}>;
|
|
11
|
+
export default styles;
|
|
@@ -4,6 +4,8 @@ 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');
|
|
8
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
9
|
var React = require('react');
|
|
8
10
|
var className = require('@aiszlab/relax/class-name');
|
|
9
11
|
var useClassNames = require('../../hooks/use-class-names.cjs');
|
|
@@ -14,9 +16,7 @@ var VisuallyHidden = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
14
16
|
var children = _ref.children,
|
|
15
17
|
dangerouslySetInnerHTML = _ref.dangerouslySetInnerHTML,
|
|
16
18
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
-
var styled =
|
|
18
|
-
className: "musaex-1yv54sy musaex-12yrczq musaex-1hi0jjc musaex-10l6tqk musaex-zpqnlu musaex-b3r6kr"
|
|
19
|
-
};
|
|
19
|
+
var styled = stylex.props(styles.default.hidden);
|
|
20
20
|
var classNames = useClassNames.useClassNames(context.CLASS_NAMES);
|
|
21
21
|
return /*#__PURE__*/React.createElement("div", _objectSpread(_objectSpread({}, props), {}, {
|
|
22
22
|
className: className.stringify(classNames.visuallyHidden, styled.className),
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
+
import styles from './styles.mjs';
|
|
4
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
5
|
import React, { forwardRef } from 'react';
|
|
4
6
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
5
7
|
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
@@ -9,12 +11,10 @@ var _excluded = ["children", "dangerouslySetInnerHTML"];
|
|
|
9
11
|
var VisuallyHidden = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
12
|
var children = _ref.children,
|
|
11
13
|
dangerouslySetInnerHTML = _ref.dangerouslySetInnerHTML,
|
|
12
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
var styled =
|
|
14
|
-
className: "musaex-1yv54sy musaex-12yrczq musaex-1hi0jjc musaex-10l6tqk musaex-zpqnlu musaex-b3r6kr"
|
|
15
|
-
};
|
|
14
|
+
props$1 = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
var styled = props(styles.hidden);
|
|
16
16
|
var classNames = useClassNames(CLASS_NAMES);
|
|
17
|
-
return /*#__PURE__*/React.createElement("div", _objectSpread(_objectSpread({}, props), {}, {
|
|
17
|
+
return /*#__PURE__*/React.createElement("div", _objectSpread(_objectSpread({}, props$1), {}, {
|
|
18
18
|
className: stringify(classNames.visuallyHidden, styled.className),
|
|
19
19
|
style: styled.style,
|
|
20
20
|
dangerouslySetInnerHTML: dangerouslySetInnerHTML,
|
|
@@ -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
|
|
|
8
10
|
var Sequential = function Sequential(_ref) {
|
|
9
11
|
var children = _ref.children,
|
|
@@ -29,9 +31,7 @@ var Sequential = function Sequential(_ref) {
|
|
|
29
31
|
return column.length > 0;
|
|
30
32
|
});
|
|
31
33
|
}, [children, columns]);
|
|
32
|
-
var styled =
|
|
33
|
-
className: "musaex-98rzlu musaex-78zum5 musaex-dt5ytf musaex-1wj6dh3 musaex-ysyzu8"
|
|
34
|
-
};
|
|
34
|
+
var styled = stylex.props(styles.default.sequential.column);
|
|
35
35
|
return /*#__PURE__*/React.createElement("div", {
|
|
36
36
|
className: className,
|
|
37
37
|
style: style
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
+
import styles from './styles.mjs';
|
|
2
3
|
import React, { useMemo } from 'react';
|
|
4
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
5
|
|
|
4
6
|
var Sequential = function Sequential(_ref) {
|
|
5
7
|
var children = _ref.children,
|
|
@@ -25,9 +27,7 @@ var Sequential = function Sequential(_ref) {
|
|
|
25
27
|
return column.length > 0;
|
|
26
28
|
});
|
|
27
29
|
}, [children, columns]);
|
|
28
|
-
var styled =
|
|
29
|
-
className: "musaex-98rzlu musaex-78zum5 musaex-dt5ytf musaex-1wj6dh3 musaex-ysyzu8"
|
|
30
|
-
};
|
|
30
|
+
var styled = props(styles.sequential.column);
|
|
31
31
|
return /*#__PURE__*/React.createElement("div", {
|
|
32
32
|
className: className,
|
|
33
33
|
style: style
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var waterfall = {
|
|
6
|
+
base: {
|
|
7
|
+
kzqmXN: "musaex-92755x",
|
|
8
|
+
k1xSpc: "musaex-78zum5",
|
|
9
|
+
kXwgrk: "musaex-1q0g3np",
|
|
10
|
+
kwnvtZ: "musaex-1a02dak",
|
|
11
|
+
kfiyM8: "musaex-8gbvx8",
|
|
12
|
+
kZKoxP: "musaex-g7h5cd",
|
|
13
|
+
k1C7PZ: "musaex-n1rw23",
|
|
14
|
+
khm7nJ: "musaex-1wj6dh3",
|
|
15
|
+
kVQacm: "musaex-b3r6kr",
|
|
16
|
+
$$css: true
|
|
17
|
+
},
|
|
18
|
+
repainted: {
|
|
19
|
+
kXwgrk: "musaex-dt5ytf",
|
|
20
|
+
kZKoxP: "musaex-1evh9kd",
|
|
21
|
+
$$css: true
|
|
22
|
+
},
|
|
23
|
+
item: {
|
|
24
|
+
kayTVb: "musaex-zbmny2",
|
|
25
|
+
kzqmXN: "musaex-o4cs04",
|
|
26
|
+
kZKoxP: "musaex-g7h5cd",
|
|
27
|
+
$$css: true
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var sequential = {
|
|
31
|
+
column: {
|
|
32
|
+
kUk6DE: "musaex-98rzlu",
|
|
33
|
+
k1xSpc: "musaex-78zum5",
|
|
34
|
+
kXwgrk: "musaex-dt5ytf",
|
|
35
|
+
khm7nJ: "musaex-1wj6dh3",
|
|
36
|
+
kVQacm: "musaex-ysyzu8",
|
|
37
|
+
$$css: true
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
var styles = {
|
|
41
|
+
waterfall: waterfall,
|
|
42
|
+
sequential: sequential
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.default = styles;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
waterfall: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
5
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
6
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "row">;
|
|
7
|
+
readonly flexWrap: import("@stylexjs/stylex").StyleXClassNameFor<"flexWrap", "wrap">;
|
|
8
|
+
readonly alignContent: import("@stylexjs/stylex").StyleXClassNameFor<"alignContent", "flex-start">;
|
|
9
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", "fit-content">;
|
|
10
|
+
readonly columnGap: import("@stylexjs/stylex").StyleXClassNameFor<"columnGap", "var(--column-gap)">;
|
|
11
|
+
readonly rowGap: import("@stylexjs/stylex").StyleXClassNameFor<"rowGap", "var(--row-gap)">;
|
|
12
|
+
readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
|
|
13
|
+
}>;
|
|
14
|
+
readonly repainted: Readonly<{
|
|
15
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
|
|
16
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", "var(--max-height)">;
|
|
17
|
+
}>;
|
|
18
|
+
readonly item: Readonly<{
|
|
19
|
+
readonly order: import("@stylexjs/stylex").StyleXClassNameFor<"order", "var(--order)">;
|
|
20
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", "calc((100% - (var(--columns) - 1) * var(--column-gap)) / var(--columns))">;
|
|
21
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", "fit-content">;
|
|
22
|
+
}>;
|
|
23
|
+
}>;
|
|
24
|
+
sequential: Readonly<{
|
|
25
|
+
readonly column: Readonly<{
|
|
26
|
+
readonly flex: import("@stylexjs/stylex").StyleXClassNameFor<"flex", 1>;
|
|
27
|
+
readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
|
|
28
|
+
readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
|
|
29
|
+
readonly rowGap: import("@stylexjs/stylex").StyleXClassNameFor<"rowGap", "var(--row-gap)">;
|
|
30
|
+
readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "auto">;
|
|
31
|
+
}>;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
export default styles;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var waterfall = {
|
|
2
|
+
base: {
|
|
3
|
+
kzqmXN: "musaex-92755x",
|
|
4
|
+
k1xSpc: "musaex-78zum5",
|
|
5
|
+
kXwgrk: "musaex-1q0g3np",
|
|
6
|
+
kwnvtZ: "musaex-1a02dak",
|
|
7
|
+
kfiyM8: "musaex-8gbvx8",
|
|
8
|
+
kZKoxP: "musaex-g7h5cd",
|
|
9
|
+
k1C7PZ: "musaex-n1rw23",
|
|
10
|
+
khm7nJ: "musaex-1wj6dh3",
|
|
11
|
+
kVQacm: "musaex-b3r6kr",
|
|
12
|
+
$$css: true
|
|
13
|
+
},
|
|
14
|
+
repainted: {
|
|
15
|
+
kXwgrk: "musaex-dt5ytf",
|
|
16
|
+
kZKoxP: "musaex-1evh9kd",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
item: {
|
|
20
|
+
kayTVb: "musaex-zbmny2",
|
|
21
|
+
kzqmXN: "musaex-o4cs04",
|
|
22
|
+
kZKoxP: "musaex-g7h5cd",
|
|
23
|
+
$$css: true
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
var sequential = {
|
|
27
|
+
column: {
|
|
28
|
+
kUk6DE: "musaex-98rzlu",
|
|
29
|
+
k1xSpc: "musaex-78zum5",
|
|
30
|
+
kXwgrk: "musaex-dt5ytf",
|
|
31
|
+
khm7nJ: "musaex-1wj6dh3",
|
|
32
|
+
kVQacm: "musaex-ysyzu8",
|
|
33
|
+
$$css: true
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
var styles = {
|
|
37
|
+
waterfall: waterfall,
|
|
38
|
+
sequential: sequential
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export { styles as default };
|
|
@@ -4,6 +4,8 @@ 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');
|
|
8
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
9
|
var React = require('react');
|
|
8
10
|
var hooks = require('./hooks.cjs');
|
|
9
11
|
var useGutters = require('../../hooks/use-gutters.cjs');
|
|
@@ -62,14 +64,7 @@ var Waterfall = function Waterfall(_ref2) {
|
|
|
62
64
|
};
|
|
63
65
|
});
|
|
64
66
|
if (children.length === 0) return null;
|
|
65
|
-
var styled =
|
|
66
|
-
0: {
|
|
67
|
-
className: "musaex-92755x musaex-78zum5 musaex-1q0g3np musaex-1a02dak musaex-8gbvx8 musaex-g7h5cd musaex-n1rw23 musaex-1wj6dh3 musaex-b3r6kr"
|
|
68
|
-
},
|
|
69
|
-
1: {
|
|
70
|
-
className: "musaex-92755x musaex-78zum5 musaex-1a02dak musaex-8gbvx8 musaex-n1rw23 musaex-1wj6dh3 musaex-b3r6kr musaex-dt5ytf musaex-1evh9kd"
|
|
71
|
-
}
|
|
72
|
-
}[!!(!sequential$1 && maxHeight > 0) << 0];
|
|
67
|
+
var styled = stylex.props(styles.default.waterfall.base, !sequential$1 && maxHeight > 0 && styles.default.waterfall.repainted);
|
|
73
68
|
// sequential waterfall
|
|
74
69
|
if (sequential$1) {
|
|
75
70
|
return /*#__PURE__*/React.createElement(sequential.default, {
|
|
@@ -92,9 +87,7 @@ var Waterfall = function Waterfall(_ref2) {
|
|
|
92
87
|
})
|
|
93
88
|
}, children.map(function (item, index) {
|
|
94
89
|
var _order = order(index);
|
|
95
|
-
var _$props =
|
|
96
|
-
className: "musaex-zbmny2 musaex-o4cs04 musaex-g7h5cd"
|
|
97
|
-
},
|
|
90
|
+
var _$props = stylex.props(styles.default.waterfall.item),
|
|
98
91
|
className = _$props.className,
|
|
99
92
|
style = _$props.style;
|
|
100
93
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
|
+
import styles from './styles.mjs';
|
|
4
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
5
|
import React from 'react';
|
|
4
6
|
import { useRepaint } from './hooks.mjs';
|
|
5
7
|
import { useGutters } from '../../hooks/use-gutters.mjs';
|
|
@@ -58,14 +60,7 @@ var Waterfall = function Waterfall(_ref2) {
|
|
|
58
60
|
};
|
|
59
61
|
});
|
|
60
62
|
if (children.length === 0) return null;
|
|
61
|
-
var styled =
|
|
62
|
-
0: {
|
|
63
|
-
className: "musaex-92755x musaex-78zum5 musaex-1q0g3np musaex-1a02dak musaex-8gbvx8 musaex-g7h5cd musaex-n1rw23 musaex-1wj6dh3 musaex-b3r6kr"
|
|
64
|
-
},
|
|
65
|
-
1: {
|
|
66
|
-
className: "musaex-92755x musaex-78zum5 musaex-1a02dak musaex-8gbvx8 musaex-n1rw23 musaex-1wj6dh3 musaex-b3r6kr musaex-dt5ytf musaex-1evh9kd"
|
|
67
|
-
}
|
|
68
|
-
}[!!(!sequential && maxHeight > 0) << 0];
|
|
63
|
+
var styled = props(styles.waterfall.base, !sequential && maxHeight > 0 && styles.waterfall.repainted);
|
|
69
64
|
// sequential waterfall
|
|
70
65
|
if (sequential) {
|
|
71
66
|
return /*#__PURE__*/React.createElement(Sequential, {
|
|
@@ -88,9 +83,7 @@ var Waterfall = function Waterfall(_ref2) {
|
|
|
88
83
|
})
|
|
89
84
|
}, children.map(function (item, index) {
|
|
90
85
|
var _order = order(index);
|
|
91
|
-
var _$props =
|
|
92
|
-
className: "musaex-zbmny2 musaex-o4cs04 musaex-g7h5cd"
|
|
93
|
-
},
|
|
86
|
+
var _$props = props(styles.waterfall.item),
|
|
94
87
|
className = _$props.className,
|
|
95
88
|
style = _$props.style;
|
|
96
89
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {
|
|
6
|
+
watermark: {
|
|
7
|
+
kVAEAm: "musaex-1n2onr6",
|
|
8
|
+
kVQacm: "musaex-b3r6kr",
|
|
9
|
+
$$css: true
|
|
10
|
+
},
|
|
11
|
+
marks: {
|
|
12
|
+
kzqmXN: "musaex-92755x",
|
|
13
|
+
kZKoxP: "musaex-qg7gut",
|
|
14
|
+
$$css: true
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.default = styles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const styles: Readonly<{
|
|
2
|
+
readonly watermark: Readonly<{
|
|
3
|
+
readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
|
|
4
|
+
readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
|
|
5
|
+
}>;
|
|
6
|
+
readonly marks: Readonly<{
|
|
7
|
+
readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
|
|
8
|
+
readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
|
|
9
|
+
}>;
|
|
10
|
+
}>;
|
|
11
|
+
export default styles;
|
|
@@ -4,7 +4,9 @@ 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');
|
|
9
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
8
10
|
var tokens_stylex = require('../theme/tokens.stylex.cjs');
|
|
9
11
|
var relax = require('@aiszlab/relax');
|
|
10
12
|
var hooks = require('./hooks.cjs');
|
|
@@ -36,9 +38,9 @@ var Watermark = function Watermark(_ref) {
|
|
|
36
38
|
add = _useWatermarks.add,
|
|
37
39
|
isWatermarkRewritten = _useWatermarks.isWatermarkRewritten;
|
|
38
40
|
var styled = {
|
|
39
|
-
watermark:
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
watermark: stylex.props(styles.default.watermark),
|
|
42
|
+
marks: stylex.props(styles.default.marks)
|
|
43
|
+
};
|
|
42
44
|
var _useClips = hooks.useClips(),
|
|
43
45
|
draw = _useClips.draw;
|
|
44
46
|
var _React$useState = React.useState(null),
|
|
@@ -1,6 +1,8 @@
|
|
|
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, { useRef, useMemo, useEffect } from 'react';
|
|
5
|
+
import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
4
6
|
import { OPACITY } from '../theme/tokens.stylex.mjs';
|
|
5
7
|
import { useDevicePixelRatio, useRaf, useMutateObserver } from '@aiszlab/relax';
|
|
6
8
|
import { useWatermarks, useClips } from './hooks.mjs';
|
|
@@ -32,9 +34,9 @@ var Watermark = function Watermark(_ref) {
|
|
|
32
34
|
add = _useWatermarks.add,
|
|
33
35
|
isWatermarkRewritten = _useWatermarks.isWatermarkRewritten;
|
|
34
36
|
var styled = {
|
|
35
|
-
watermark:
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
watermark: props(styles.watermark),
|
|
38
|
+
marks: props(styles.marks)
|
|
39
|
+
};
|
|
38
40
|
var _useClips = useClips(),
|
|
39
41
|
draw = _useClips.draw;
|
|
40
42
|
var _React$useState = React.useState(null),
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export { Ellipsis } from "./components/ellipsis";
|
|
|
73
73
|
export { SplitPanel } from "./components/split-panel";
|
|
74
74
|
export { SessionStorage } from "./components/session-storage";
|
|
75
75
|
export { Search } from "./components/search";
|
|
76
|
+
export type { ResolvedSearchView, SearchItem, SearchProps, SearchRef, SearchView, } from "./components/search";
|
|
76
77
|
/**
|
|
77
78
|
* @description
|
|
78
79
|
* hooks
|