@doist/reactist 28.7.0 → 28.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reactist.cjs.development.js +2093 -3829
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/avatar/avatar.js +35 -30
- package/es/avatar/avatar.js.map +1 -1
- package/es/avatar/utils.js +19 -22
- package/es/avatar/utils.js.map +1 -1
- package/es/badge/badge.js +5 -16
- package/es/badge/badge.js.map +1 -1
- package/es/banner/banner.js +39 -115
- package/es/banner/banner.js.map +1 -1
- package/es/banner/banner.module.css.js +1 -1
- package/es/base-field/base-field.js +80 -162
- package/es/base-field/base-field.js.map +1 -1
- package/es/base-field/base-field.module.css.js +1 -1
- package/es/box/box.js +61 -139
- package/es/box/box.js.map +1 -1
- package/es/button/button.js +42 -95
- package/es/button/button.js.map +1 -1
- package/es/checkbox-field/checkbox-field.js +46 -75
- package/es/checkbox-field/checkbox-field.js.map +1 -1
- package/es/checkbox-field/checkbox-field.module.css.js +1 -1
- package/es/checkbox-field/checkbox-icon.js +28 -55
- package/es/checkbox-field/checkbox-icon.js.map +1 -1
- package/es/checkbox-field/use-fork-ref.js +29 -25
- package/es/checkbox-field/use-fork-ref.js.map +1 -1
- package/es/columns/columns.js +22 -46
- package/es/columns/columns.js.map +1 -1
- package/es/columns/columns.module.css.js +1 -1
- package/es/components/color-picker/color-picker.js +45 -66
- package/es/components/color-picker/color-picker.js.map +1 -1
- package/es/components/deprecated-button/deprecated-button.js +11 -34
- package/es/components/deprecated-button/deprecated-button.js.map +1 -1
- package/es/components/deprecated-dropdown/dropdown.js +136 -197
- package/es/components/deprecated-dropdown/dropdown.js.map +1 -1
- package/es/components/deprecated-input/input.js +6 -10
- package/es/components/deprecated-input/input.js.map +1 -1
- package/es/components/deprecated-select/select.js +7 -31
- package/es/components/deprecated-select/select.js.map +1 -1
- package/es/components/key-capturer/key-capturer.js +130 -171
- package/es/components/key-capturer/key-capturer.js.map +1 -1
- package/es/components/keyboard-shortcut/keyboard-shortcut.js +48 -79
- package/es/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/es/components/progress-bar/progress-bar.js +8 -20
- package/es/components/progress-bar/progress-bar.js.map +1 -1
- package/es/components/time/time-utils.js +52 -64
- package/es/components/time/time-utils.js.map +1 -1
- package/es/components/time/time.js +90 -114
- package/es/components/time/time.js.map +1 -1
- package/es/divider/divider.js +4 -13
- package/es/divider/divider.js.map +1 -1
- package/es/heading/heading.js +19 -28
- package/es/heading/heading.js.map +1 -1
- package/es/hidden/hidden.js +36 -45
- package/es/hidden/hidden.js.map +1 -1
- package/es/hidden-visually/hidden-visually.js +7 -13
- package/es/hidden-visually/hidden-visually.js.map +1 -1
- package/es/icons/alert-icon.js +18 -64
- package/es/icons/alert-icon.js.map +1 -1
- package/es/icons/banner-icon.js +25 -97
- package/es/icons/banner-icon.js.map +1 -1
- package/es/icons/close-icon.js +3 -9
- package/es/icons/close-icon.js.map +1 -1
- package/es/icons/password-hidden-icon.js +6 -23
- package/es/icons/password-hidden-icon.js.map +1 -1
- package/es/icons/password-visible-icon.js +5 -16
- package/es/icons/password-visible-icon.js.map +1 -1
- package/es/inline/inline.js +8 -23
- package/es/inline/inline.js.map +1 -1
- package/es/loading/loading.js +17 -30
- package/es/loading/loading.js.map +1 -1
- package/es/menu/menu.js +127 -260
- package/es/menu/menu.js.map +1 -1
- package/es/modal/modal.js +143 -272
- package/es/modal/modal.js.map +1 -1
- package/es/modal/modal.module.css.js +1 -1
- package/es/notice/notice.js +8 -21
- package/es/notice/notice.js.map +1 -1
- package/es/notice/notice.module.css.js +1 -1
- package/es/password-field/password-field.js +10 -24
- package/es/password-field/password-field.js.map +1 -1
- package/es/prose/prose.js +10 -15
- package/es/prose/prose.js.map +1 -1
- package/es/select-field/select-field.js +14 -51
- package/es/select-field/select-field.js.map +1 -1
- package/es/spinner/spinner.js +6 -20
- package/es/spinner/spinner.js.map +1 -1
- package/es/stack/stack.js +15 -27
- package/es/stack/stack.js.map +1 -1
- package/es/switch-field/switch-field.js +38 -75
- package/es/switch-field/switch-field.js.map +1 -1
- package/es/switch-field/switch-field.module.css.js +1 -1
- package/es/tabs/tabs.js +120 -211
- package/es/tabs/tabs.js.map +1 -1
- package/es/text/text.js +16 -25
- package/es/text/text.js.map +1 -1
- package/es/text-area/text-area.js +54 -111
- package/es/text-area/text-area.js.map +1 -1
- package/es/text-field/text-field.js +30 -84
- package/es/text-field/text-field.js.map +1 -1
- package/es/text-link/text-link.js +9 -20
- package/es/text-link/text-link.js.map +1 -1
- package/es/text-link/text-link.module.css.js +1 -1
- package/es/toast/static-toast.js +35 -70
- package/es/toast/static-toast.js.map +1 -1
- package/es/toast/toast-animation.js +121 -159
- package/es/toast/toast-animation.js.map +1 -1
- package/es/toast/use-toasts.js +134 -201
- package/es/toast/use-toasts.js.map +1 -1
- package/es/tooltip/tooltip.js +31 -69
- package/es/tooltip/tooltip.js.map +1 -1
- package/es/utils/common-helpers.js +9 -13
- package/es/utils/common-helpers.js.map +1 -1
- package/es/utils/polymorphism.js +7 -8
- package/es/utils/polymorphism.js.map +1 -1
- package/es/utils/responsive-props.js +57 -66
- package/es/utils/responsive-props.js.map +1 -1
- package/lib/avatar/avatar.d.ts +21 -21
- package/lib/avatar/avatar.js +69 -1
- package/lib/avatar/avatar.js.map +1 -1
- package/lib/avatar/avatar.module.css.js +7 -1
- package/lib/avatar/avatar.module.css.js.map +1 -1
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/utils.d.ts +3 -3
- package/lib/avatar/utils.js +30 -1
- package/lib/avatar/utils.js.map +1 -1
- package/lib/badge/badge.d.ts +15 -15
- package/lib/badge/badge.js +36 -1
- package/lib/badge/badge.js.map +1 -1
- package/lib/badge/badge.module.css.js +7 -1
- package/lib/badge/badge.module.css.js.map +1 -1
- package/lib/badge/index.d.ts +1 -1
- package/lib/banner/banner.d.ts +87 -87
- package/lib/banner/banner.js +79 -1
- package/lib/banner/banner.js.map +1 -1
- package/lib/banner/banner.module.css.js +7 -1
- package/lib/banner/banner.module.css.js.map +1 -1
- package/lib/banner/index.d.ts +2 -2
- package/lib/banner/story-promo-image.d.ts +4 -4
- package/lib/base-field/base-field.d.ts +139 -139
- package/lib/base-field/base-field.js +127 -1
- package/lib/base-field/base-field.js.map +1 -1
- package/lib/base-field/base-field.module.css.js +7 -1
- package/lib/base-field/base-field.module.css.js.map +1 -1
- package/lib/base-field/index.d.ts +1 -1
- package/lib/box/box.d.ts +73 -73
- package/lib/box/box.js +103 -1
- package/lib/box/box.js.map +1 -1
- package/lib/box/box.module.css.js +7 -1
- package/lib/box/box.module.css.js.map +1 -1
- package/lib/box/gap.module.css.js +7 -1
- package/lib/box/gap.module.css.js.map +1 -1
- package/lib/box/index.d.ts +1 -1
- package/lib/box/margin.module.css.js +7 -1
- package/lib/box/margin.module.css.js.map +1 -1
- package/lib/box/padding.module.css.js +7 -1
- package/lib/box/padding.module.css.js.map +1 -1
- package/lib/box/width.module.css.js +7 -1
- package/lib/box/width.module.css.js.map +1 -1
- package/lib/button/button.d.ts +127 -127
- package/lib/button/button.js +86 -1
- package/lib/button/button.js.map +1 -1
- package/lib/button/button.module.css.js +7 -1
- package/lib/button/button.module.css.js.map +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/checkbox-field/checkbox-field.d.ts +40 -40
- package/lib/checkbox-field/checkbox-field.js +82 -1
- package/lib/checkbox-field/checkbox-field.js.map +1 -1
- package/lib/checkbox-field/checkbox-field.module.css.js +7 -1
- package/lib/checkbox-field/checkbox-field.module.css.js.map +1 -1
- package/lib/checkbox-field/checkbox-icon.d.ts +8 -8
- package/lib/checkbox-field/checkbox-icon.js +59 -1
- package/lib/checkbox-field/checkbox-icon.js.map +1 -1
- package/lib/checkbox-field/index.d.ts +1 -1
- package/lib/checkbox-field/use-fork-ref.d.ts +11 -11
- package/lib/checkbox-field/use-fork-ref.js +42 -1
- package/lib/checkbox-field/use-fork-ref.js.map +1 -1
- package/lib/columns/columns.d.ts +20 -20
- package/lib/columns/columns.js +57 -1
- package/lib/columns/columns.js.map +1 -1
- package/lib/columns/columns.module.css.js +7 -1
- package/lib/columns/columns.module.css.js.map +1 -1
- package/lib/columns/index.d.ts +1 -1
- package/lib/components/color-picker/color-picker.d.ts +29 -29
- package/lib/components/color-picker/color-picker.js +86 -1
- package/lib/components/color-picker/color-picker.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +3 -3
- package/lib/components/color-picker/index.js +11 -1
- package/lib/components/color-picker/index.js.map +1 -1
- package/lib/components/deprecated-button/deprecated-button.d.ts +54 -54
- package/lib/components/deprecated-button/deprecated-button.js +49 -1
- package/lib/components/deprecated-button/deprecated-button.js.map +1 -1
- package/lib/components/deprecated-button/index.d.ts +4 -4
- package/lib/components/deprecated-button/index.js +9 -1
- package/lib/components/deprecated-button/index.js.map +1 -1
- package/lib/components/deprecated-dropdown/dropdown.d.ts +55 -55
- package/lib/components/deprecated-dropdown/dropdown.js +182 -1
- package/lib/components/deprecated-dropdown/dropdown.js.map +1 -1
- package/lib/components/deprecated-dropdown/index.d.ts +2 -2
- package/lib/components/deprecated-dropdown/index.js +9 -1
- package/lib/components/deprecated-dropdown/index.js.map +1 -1
- package/lib/components/deprecated-input/index.d.ts +2 -2
- package/lib/components/deprecated-input/index.js +9 -1
- package/lib/components/deprecated-input/index.js.map +1 -1
- package/lib/components/deprecated-input/input.d.ts +10 -10
- package/lib/components/deprecated-input/input.js +41 -1
- package/lib/components/deprecated-input/input.js.map +1 -1
- package/lib/components/deprecated-select/index.d.ts +2 -2
- package/lib/components/deprecated-select/index.js +9 -1
- package/lib/components/deprecated-select/index.js.map +1 -1
- package/lib/components/deprecated-select/select.d.ts +33 -33
- package/lib/components/deprecated-select/select.js +43 -1
- package/lib/components/deprecated-select/select.js.map +1 -1
- package/lib/components/icons/CloseIcon.svg.d.ts +3 -3
- package/lib/components/icons/ThinQuestionMarkIcon.svg.d.ts +3 -3
- package/lib/components/icons/ThreeDotsIcon.svg.d.ts +12 -12
- package/lib/components/key-capturer/index.d.ts +3 -3
- package/lib/components/key-capturer/index.js +11 -1
- package/lib/components/key-capturer/index.js.map +1 -1
- package/lib/components/key-capturer/key-capturer.d.ts +40 -40
- package/lib/components/key-capturer/key-capturer.js +171 -1
- package/lib/components/key-capturer/key-capturer.js.map +1 -1
- package/lib/components/keyboard-shortcut/index.d.ts +2 -2
- package/lib/components/keyboard-shortcut/index.js +9 -1
- package/lib/components/keyboard-shortcut/index.js.map +1 -1
- package/lib/components/keyboard-shortcut/keyboard-shortcut.d.ts +44 -44
- package/lib/components/keyboard-shortcut/keyboard-shortcut.js +97 -1
- package/lib/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/lib/components/progress-bar/index.d.ts +2 -2
- package/lib/components/progress-bar/index.js +9 -1
- package/lib/components/progress-bar/index.js.map +1 -1
- package/lib/components/progress-bar/progress-bar.d.ts +14 -14
- package/lib/components/progress-bar/progress-bar.js +44 -1
- package/lib/components/progress-bar/progress-bar.js.map +1 -1
- package/lib/components/progress-bar/progress-bar.module.css.js +7 -1
- package/lib/components/progress-bar/progress-bar.module.css.js.map +1 -1
- package/lib/components/time/index.d.ts +2 -2
- package/lib/components/time/index.js +9 -1
- package/lib/components/time/index.js.map +1 -1
- package/lib/components/time/time-utils.d.ts +19 -19
- package/lib/components/time/time-utils.js +69 -1
- package/lib/components/time/time-utils.js.map +1 -1
- package/lib/components/time/time.d.ts +39 -39
- package/lib/components/time/time.js +124 -1
- package/lib/components/time/time.js.map +1 -1
- package/lib/divider/divider.d.ts +8 -8
- package/lib/divider/divider.js +36 -1
- package/lib/divider/divider.js.map +1 -1
- package/lib/divider/divider.module.css.js +7 -1
- package/lib/divider/divider.module.css.js.map +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/heading/heading.d.ts +112 -112
- package/lib/heading/heading.js +51 -1
- package/lib/heading/heading.js.map +1 -1
- package/lib/heading/heading.module.css.js +7 -1
- package/lib/heading/heading.module.css.js.map +1 -1
- package/lib/heading/index.d.ts +1 -1
- package/lib/hidden/hidden.d.ts +49 -49
- package/lib/hidden/hidden.js +70 -1
- package/lib/hidden/hidden.js.map +1 -1
- package/lib/hidden/hidden.module.css.js +7 -1
- package/lib/hidden/hidden.module.css.js.map +1 -1
- package/lib/hidden/index.d.ts +1 -1
- package/lib/hidden-visually/hidden-visually.d.ts +11 -11
- package/lib/hidden-visually/hidden-visually.js +40 -1
- package/lib/hidden-visually/hidden-visually.js.map +1 -1
- package/lib/hidden-visually/hidden-visually.module.css.js +7 -1
- package/lib/hidden-visually/hidden-visually.module.css.js.map +1 -1
- package/lib/hidden-visually/index.d.ts +1 -1
- package/lib/hooks/use-previous/index.d.ts +1 -1
- package/lib/hooks/use-previous/use-previous.d.ts +15 -15
- package/lib/icons/alert-icon.d.ts +6 -6
- package/lib/icons/alert-icon.js +56 -1
- package/lib/icons/alert-icon.js.map +1 -1
- package/lib/icons/banner-icon.d.ts +6 -6
- package/lib/icons/banner-icon.js +68 -1
- package/lib/icons/banner-icon.js.map +1 -1
- package/lib/icons/banner-icon.module.css.js +7 -1
- package/lib/icons/banner-icon.module.css.js.map +1 -1
- package/lib/icons/close-icon.d.ts +3 -3
- package/lib/icons/close-icon.js +33 -1
- package/lib/icons/close-icon.js.map +1 -1
- package/lib/icons/password-hidden-icon.d.ts +3 -3
- package/lib/icons/password-hidden-icon.js +36 -1
- package/lib/icons/password-hidden-icon.js.map +1 -1
- package/lib/icons/password-visible-icon.d.ts +3 -3
- package/lib/icons/password-visible-icon.js +35 -1
- package/lib/icons/password-visible-icon.js.map +1 -1
- package/lib/index.d.ts +38 -38
- package/lib/index.js +106 -1
- package/lib/index.js.map +1 -1
- package/lib/inline/index.d.ts +1 -1
- package/lib/inline/inline.d.ts +12 -12
- package/lib/inline/inline.js +40 -1
- package/lib/inline/inline.js.map +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/loading/loading.d.ts +26 -26
- package/lib/loading/loading.js +49 -1
- package/lib/loading/loading.js.map +1 -1
- package/lib/menu/index.d.ts +2 -2
- package/lib/menu/menu.d.ts +128 -128
- package/lib/menu/menu.js +179 -1
- package/lib/menu/menu.js.map +1 -1
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/modal-stories-components.d.ts +47 -47
- package/lib/modal/modal.d.ts +185 -185
- package/lib/modal/modal.js +209 -1
- package/lib/modal/modal.js.map +1 -1
- package/lib/modal/modal.module.css.js +7 -1
- package/lib/modal/modal.module.css.js.map +1 -1
- package/lib/notice/index.d.ts +1 -1
- package/lib/notice/notice.d.ts +10 -10
- package/lib/notice/notice.js +42 -1
- package/lib/notice/notice.js.map +1 -1
- package/lib/notice/notice.module.css.js +7 -1
- package/lib/notice/notice.module.css.js.map +1 -1
- package/lib/password-field/index.d.ts +1 -1
- package/lib/password-field/password-field.d.ts +10 -10
- package/lib/password-field/password-field.js +43 -1
- package/lib/password-field/password-field.js.map +1 -1
- package/lib/prose/index.d.ts +2 -2
- package/lib/prose/prose-example.d.ts +1 -1
- package/lib/prose/prose.d.ts +44 -44
- package/lib/prose/prose.js +42 -1
- package/lib/prose/prose.js.map +1 -1
- package/lib/prose/prose.module.css.js +7 -1
- package/lib/prose/prose.module.css.js.map +1 -1
- package/lib/select-field/index.d.ts +1 -1
- package/lib/select-field/select-field.d.ts +7 -7
- package/lib/select-field/select-field.js +48 -1
- package/lib/select-field/select-field.js.map +1 -1
- package/lib/select-field/select-field.module.css.js +7 -1
- package/lib/select-field/select-field.module.css.js.map +1 -1
- package/lib/spinner/index.d.ts +1 -1
- package/lib/spinner/spinner.d.ts +5 -5
- package/lib/spinner/spinner.js +36 -1
- package/lib/spinner/spinner.js.map +1 -1
- package/lib/spinner/spinner.module.css.js +7 -1
- package/lib/spinner/spinner.module.css.js.map +1 -1
- package/lib/stack/index.d.ts +1 -1
- package/lib/stack/stack.d.ts +15 -15
- package/lib/stack/stack.js +52 -1
- package/lib/stack/stack.js.map +1 -1
- package/lib/switch-field/index.d.ts +1 -1
- package/lib/switch-field/switch-field.d.ts +19 -19
- package/lib/switch-field/switch-field.js +74 -1
- package/lib/switch-field/switch-field.js.map +1 -1
- package/lib/switch-field/switch-field.module.css.js +7 -1
- package/lib/switch-field/switch-field.module.css.js.map +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/tabs.d.ts +125 -125
- package/lib/tabs/tabs.js +177 -1
- package/lib/tabs/tabs.js.map +1 -1
- package/lib/tabs/tabs.module.css.js +7 -1
- package/lib/tabs/tabs.module.css.js.map +1 -1
- package/lib/text/index.d.ts +1 -1
- package/lib/text/text.d.ts +47 -47
- package/lib/text/text.js +49 -1
- package/lib/text/text.js.map +1 -1
- package/lib/text/text.module.css.js +7 -1
- package/lib/text/text.module.css.js.map +1 -1
- package/lib/text-area/index.d.ts +1 -1
- package/lib/text-area/text-area.d.ts +39 -39
- package/lib/text-area/text-area.js +92 -1
- package/lib/text-area/text-area.js.map +1 -1
- package/lib/text-area/text-area.module.css.js +7 -1
- package/lib/text-area/text-area.module.css.js.map +1 -1
- package/lib/text-field/index.d.ts +1 -1
- package/lib/text-field/text-field.d.ts +18 -18
- package/lib/text-field/text-field.js +63 -1
- package/lib/text-field/text-field.js.map +1 -1
- package/lib/text-field/text-field.module.css.js +7 -1
- package/lib/text-field/text-field.module.css.js.map +1 -1
- package/lib/text-link/index.d.ts +1 -1
- package/lib/text-link/text-link.d.ts +9 -9
- package/lib/text-link/text-link.js +41 -1
- package/lib/text-link/text-link.js.map +1 -1
- package/lib/text-link/text-link.module.css.js +7 -1
- package/lib/text-link/text-link.module.css.js.map +1 -1
- package/lib/toast/index.d.ts +4 -4
- package/lib/toast/static-toast.d.ts +63 -63
- package/lib/toast/static-toast.js +59 -1
- package/lib/toast/static-toast.js.map +1 -1
- package/lib/toast/toast-animation.d.ts +50 -50
- package/lib/toast/toast-animation.js +141 -1
- package/lib/toast/toast-animation.js.map +1 -1
- package/lib/toast/toast.module.css.js +7 -1
- package/lib/toast/toast.module.css.js.map +1 -1
- package/lib/toast/use-toasts.d.ts +132 -132
- package/lib/toast/use-toasts.js +166 -1
- package/lib/toast/use-toasts.js.map +1 -1
- package/lib/tooltip/index.d.ts +2 -2
- package/lib/tooltip/tooltip.d.ts +72 -72
- package/lib/tooltip/tooltip.js +67 -1
- package/lib/tooltip/tooltip.js.map +1 -1
- package/lib/tooltip/tooltip.module.css.js +7 -1
- package/lib/tooltip/tooltip.module.css.js.map +1 -1
- package/lib/utils/common-helpers.d.ts +2 -2
- package/lib/utils/common-helpers.js +44 -1
- package/lib/utils/common-helpers.js.map +1 -1
- package/lib/utils/common-types.d.ts +42 -42
- package/lib/utils/polymorphism.d.ts +135 -135
- package/lib/utils/polymorphism.js +39 -1
- package/lib/utils/polymorphism.js.map +1 -1
- package/lib/utils/responsive-props.d.ts +44 -44
- package/lib/utils/responsive-props.js +70 -1
- package/lib/utils/responsive-props.js.map +1 -1
- package/lib/utils/storybook-helper.d.ts +55 -0
- package/lib/utils/test-helpers.d.ts +22 -22
- package/package.json +16 -23
- package/styles/avatar.css +3 -3
- package/styles/avatar.module.css.css +1 -1
- package/styles/badge.css +3 -3
- package/styles/badge.module.css.css +1 -1
- package/styles/banner.css +7 -7
- package/styles/banner.module.css.css +1 -1
- package/styles/base-field.css +5 -5
- package/styles/base-field.module.css.css +1 -1
- package/styles/box.css +2 -2
- package/styles/box.module.css.css +1 -1
- package/styles/button.css +5 -5
- package/styles/button.module.css.css +1 -1
- package/styles/checkbox-field.css +4 -4
- package/styles/checkbox-field.module.css.css +1 -1
- package/styles/columns.css +2 -2
- package/styles/divider.css +2 -2
- package/styles/heading.css +3 -3
- package/styles/heading.module.css.css +1 -1
- package/styles/hidden-visually.css +3 -3
- package/styles/hidden-visually.module.css.css +1 -1
- package/styles/hidden.css +2 -2
- package/styles/index.css +5 -5
- package/styles/loading.css +3 -3
- package/styles/menu.css +1 -1
- package/styles/modal.css +6 -6
- package/styles/modal.module.css.css +1 -1
- package/styles/notice.css +2 -2
- package/styles/password-field.css +8 -8
- package/styles/progress-bar.module.css.css +1 -1
- package/styles/prose.css +3 -3
- package/styles/prose.module.css.css +1 -1
- package/styles/reactist.css +31 -31
- package/styles/select-field.css +6 -6
- package/styles/select-field.module.css.css +1 -1
- package/styles/spinner.css +1 -1
- package/styles/static-toast.css +7 -7
- package/styles/switch-field.css +7 -7
- package/styles/switch-field.module.css.css +1 -1
- package/styles/tabs.css +3 -3
- package/styles/tabs.module.css.css +1 -1
- package/styles/text-area.css +6 -6
- package/styles/text-area.module.css.css +1 -1
- package/styles/text-field.css +6 -6
- package/styles/text-field.module.css.css +1 -1
- package/styles/text-link.css +3 -3
- package/styles/text-link.module.css.css +1 -1
- package/styles/text.css +3 -3
- package/styles/text.module.css.css +1 -1
- package/styles/toast.module.css.css +1 -1
- package/styles/tooltip.css +3 -3
- package/styles/tooltip.module.css.css +1 -1
- package/styles/use-toasts.css +7 -7
- package/styles/width.module.css.css +1 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +0 -91
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +0 -1
- package/lib/_virtual/_rollupPluginBabelHelpers.js +0 -2
- package/lib/_virtual/_rollupPluginBabelHelpers.js.map +0 -1
|
@@ -1,2 +1,83 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var box = require('../box/box.js');
|
|
8
|
+
var text = require('../text/text.js');
|
|
9
|
+
var checkboxIcon = require('./checkbox-icon.js');
|
|
10
|
+
var checkboxField_module = require('./checkbox-field.module.css.js');
|
|
11
|
+
var useForkRef = require('./use-fork-ref.js');
|
|
12
|
+
|
|
13
|
+
function _interopNamespace(e) {
|
|
14
|
+
if (e && e.__esModule) return e;
|
|
15
|
+
var n = Object.create(null);
|
|
16
|
+
if (e) {
|
|
17
|
+
Object.keys(e).forEach(function (k) {
|
|
18
|
+
if (k !== 'default') {
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
20
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return e[k]; }
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
n["default"] = e;
|
|
28
|
+
return Object.freeze(n);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
32
|
+
|
|
33
|
+
var CheckboxField = React__namespace.forwardRef(function CheckboxField(_a, ref) {
|
|
34
|
+
var _b, _c, _d;
|
|
35
|
+
var label = _a.label, icon = _a.icon, disabled = _a.disabled, indeterminate = _a.indeterminate, defaultChecked = _a.defaultChecked, onChange = _a.onChange, props = tslib.__rest(_a, ["label", "icon", "disabled", "indeterminate", "defaultChecked", "onChange"]);
|
|
36
|
+
var isControlledComponent = typeof props.checked === 'boolean';
|
|
37
|
+
if (typeof indeterminate === 'boolean' && !isControlledComponent) {
|
|
38
|
+
// eslint-disable-next-line no-console
|
|
39
|
+
console.warn('Cannot use indeterminate on an uncontrolled checkbox');
|
|
40
|
+
indeterminate = undefined;
|
|
41
|
+
}
|
|
42
|
+
if (!label && !props['aria-label'] && !props['aria-labelledby']) {
|
|
43
|
+
// eslint-disable-next-line no-console
|
|
44
|
+
console.warn('A Checkbox needs a label');
|
|
45
|
+
}
|
|
46
|
+
var _e = React__namespace.useState(false), keyFocused = _e[0], setKeyFocused = _e[1];
|
|
47
|
+
var _f = React__namespace.useState((_c = (_b = props.checked) !== null && _b !== void 0 ? _b : defaultChecked) !== null && _c !== void 0 ? _c : false), checkedState = _f[0], setChecked = _f[1];
|
|
48
|
+
var isChecked = (_d = props.checked) !== null && _d !== void 0 ? _d : checkedState;
|
|
49
|
+
var internalRef = React__namespace.useRef(null);
|
|
50
|
+
var combinedRef = useForkRef.useForkRef(internalRef, ref);
|
|
51
|
+
React__namespace.useEffect(function setIndeterminate() {
|
|
52
|
+
if (internalRef.current && typeof indeterminate === 'boolean') {
|
|
53
|
+
internalRef.current.indeterminate = indeterminate;
|
|
54
|
+
}
|
|
55
|
+
}, [indeterminate]);
|
|
56
|
+
return (React__namespace.createElement(box.Box, { as: "label", display: "flex", alignItems: "center", className: [
|
|
57
|
+
checkboxField_module["default"].container,
|
|
58
|
+
disabled ? checkboxField_module["default"].disabled : null,
|
|
59
|
+
isChecked ? checkboxField_module["default"].checked : null,
|
|
60
|
+
keyFocused ? checkboxField_module["default"].keyFocused : null,
|
|
61
|
+
] },
|
|
62
|
+
React__namespace.createElement("input", tslib.__assign({}, props, { ref: combinedRef, type: "checkbox", "aria-checked": indeterminate ? 'mixed' : isChecked, checked: isChecked, disabled: disabled, onChange: function (event) {
|
|
63
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(event);
|
|
64
|
+
if (!event.defaultPrevented) {
|
|
65
|
+
setChecked(event.currentTarget.checked);
|
|
66
|
+
}
|
|
67
|
+
}, onBlur: function (event) {
|
|
68
|
+
var _a;
|
|
69
|
+
setKeyFocused(false);
|
|
70
|
+
(_a = props === null || props === void 0 ? void 0 : props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, event);
|
|
71
|
+
}, onKeyUp: function (event) {
|
|
72
|
+
var _a;
|
|
73
|
+
setKeyFocused(true);
|
|
74
|
+
(_a = props === null || props === void 0 ? void 0 : props.onKeyUp) === null || _a === void 0 ? void 0 : _a.call(props, event);
|
|
75
|
+
} })),
|
|
76
|
+
React__namespace.createElement(checkboxIcon.CheckboxIcon, { checked: isChecked, disabled: disabled, indeterminate: indeterminate, "aria-hidden": true }),
|
|
77
|
+
icon ? (React__namespace.createElement(box.Box, { display: "flex", className: checkboxField_module["default"].icon, "aria-hidden": true }, icon)) : null,
|
|
78
|
+
label ? (React__namespace.createElement(box.Box, { display: "flex", className: checkboxField_module["default"].label },
|
|
79
|
+
React__namespace.createElement(text.Text, null, label))) : null));
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
exports.CheckboxField = CheckboxField;
|
|
2
83
|
//# sourceMappingURL=checkbox-field.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-field.js","sources":["../../src/checkbox-field/checkbox-field.tsx"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"checkbox-field.js","sources":["../../src/checkbox-field/checkbox-field.tsx"],"sourcesContent":[null],"names":["React","__rest","useForkRef","Box","styles","__assign","CheckboxIcon","Text"],"mappings":"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"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var modules_664a6a80 = {"disabled":"_131a2ca4","checked":"_95b1556d","keyFocused":"_49de7ebd","icon":"_6b4b1851","label":"_9047f3bd","container":"_84dfdb83"};
|
|
6
|
+
|
|
7
|
+
exports["default"] = modules_664a6a80;
|
|
2
8
|
//# sourceMappingURL=checkbox-field.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-field.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"checkbox-field.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type Props = React.SVGProps<SVGSVGElement> & {
|
|
3
|
-
checked?: boolean;
|
|
4
|
-
indeterminate?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare function CheckboxIcon({ checked, indeterminate, disabled, ...props }: Props): React.JSX.Element;
|
|
8
|
-
export { CheckboxIcon };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type Props = React.SVGProps<SVGSVGElement> & {
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
indeterminate?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare function CheckboxIcon({ checked, indeterminate, disabled, ...props }: Props): React.JSX.Element;
|
|
8
|
+
export { CheckboxIcon };
|
|
@@ -1,2 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n["default"] = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
var svgPath = {
|
|
29
|
+
checked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z',
|
|
30
|
+
unchecked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z',
|
|
31
|
+
mixed: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2 7H8a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2z',
|
|
32
|
+
filled: 'M6 4H18C19.1046 4 20 4.89543 20 6V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V6C4 4.89543 4.89543 4 6 4Z'
|
|
33
|
+
};
|
|
34
|
+
function getPathKey(_a) {
|
|
35
|
+
var checked = _a.checked, indeterminate = _a.indeterminate, disabled = _a.disabled;
|
|
36
|
+
if (indeterminate) {
|
|
37
|
+
return 'mixed'; // indeterminate, when true, overrides the checked state
|
|
38
|
+
}
|
|
39
|
+
if (checked) {
|
|
40
|
+
return 'checked';
|
|
41
|
+
}
|
|
42
|
+
// We only used 'filled' when unchecked AND disabled, because the default unchecked icon
|
|
43
|
+
// is not enough to convey the disabled state with opacity alone. For all other cases
|
|
44
|
+
// above, when disabled, we use the same icon the corresponds to that state, and the
|
|
45
|
+
// opacity conveys the fact that the checkbox is disabled.
|
|
46
|
+
// See https://twist.com/a/1585/ch/414345/t/2257308/c/65201390
|
|
47
|
+
if (disabled) {
|
|
48
|
+
return 'filled';
|
|
49
|
+
}
|
|
50
|
+
return 'unchecked';
|
|
51
|
+
}
|
|
52
|
+
function CheckboxIcon(_a) {
|
|
53
|
+
var checked = _a.checked, indeterminate = _a.indeterminate, disabled = _a.disabled, props = tslib.__rest(_a, ["checked", "indeterminate", "disabled"]);
|
|
54
|
+
var pathKey = getPathKey({ checked: checked, indeterminate: indeterminate, disabled: disabled });
|
|
55
|
+
return (React__namespace.createElement("svg", tslib.__assign({ xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24" }, props),
|
|
56
|
+
React__namespace.createElement("path", { fill: "currentColor", fillRule: "nonzero", d: svgPath[pathKey] })));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
exports.CheckboxIcon = CheckboxIcon;
|
|
2
60
|
//# sourceMappingURL=checkbox-icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-icon.js","sources":["../../src/checkbox-field/checkbox-icon.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"checkbox-icon.js","sources":["../../src/checkbox-field/checkbox-icon.tsx"],"sourcesContent":[null],"names":["__rest","React","__assign"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAM,OAAO,GAAG;AACZ,IAAA,OAAO,EACH,2LAA2L;AAC/L,IAAA,SAAS,EACL,iJAAiJ;AACrJ,IAAA,KAAK,EACD,gHAAgH;AACpH,IAAA,MAAM,EACF,yHAAyH;CACvH,CAAA;AAQV,SAAS,UAAU,CAAC,EAA2C,EAAA;AAAzC,IAAA,IAAA,OAAO,aAAA,EAAE,aAAa,GAAA,EAAA,CAAA,aAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,QAAA,CAAA;AAClD,IAAA,IAAI,aAAa,EAAE;QACf,OAAO,OAAO,CAAA;AACjB,KAAA;AAED,IAAA,IAAI,OAAO,EAAE;AACT,QAAA,OAAO,SAAS,CAAA;AACnB,KAAA;;;;;;AAOD,IAAA,IAAI,QAAQ,EAAE;AACV,QAAA,OAAO,QAAQ,CAAA;AAClB,KAAA;AAED,IAAA,OAAO,WAAW,CAAA;AACtB,CAAC;AAED,SAAS,YAAY,CAAC,EAAqD,EAAA;AAAnD,IAAA,IAAA,OAAO,GAAA,EAAA,CAAA,OAAA,EAAE,aAAa,GAAA,EAAA,CAAA,aAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAK,KAAK,GAA5CA,YAAA,CAAA,EAAA,EAAA,CAAA,SAAA,EAAA,eAAA,EAAA,UAAA,CAA8C,CAAF,CAAA;AAC9D,IAAA,IAAM,OAAO,GAAG,UAAU,CAAC,EAAE,OAAO,EAAA,OAAA,EAAE,aAAa,eAAA,EAAE,QAAQ,EAAA,QAAA,EAAE,CAAC,CAAA;AAChE,IAAA,QACIC,gBACI,CAAA,aAAA,CAAA,KAAA,EAAAC,cAAA,CAAA,EAAA,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,IACf,KAAK,CAAA;AAET,QAAAD,gBAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,cAAc,EAAC,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAI,CAAA,CAClE,EACT;AACL;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './checkbox-field';
|
|
1
|
+
export * from './checkbox-field';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Merges React Refs into a single memoized function ref so you can pass it to an element.
|
|
4
|
-
* @example
|
|
5
|
-
* const Component = React.forwardRef((props, ref) => {
|
|
6
|
-
* const internalRef = React.useRef();
|
|
7
|
-
* return <div {...props} ref={useForkRef(internalRef, ref)} />;
|
|
8
|
-
* });
|
|
9
|
-
*/
|
|
10
|
-
declare function useForkRef(...refs: Array<React.Ref<unknown> | undefined>): ((value: unknown) => void) | undefined;
|
|
11
|
-
export { useForkRef };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Merges React Refs into a single memoized function ref so you can pass it to an element.
|
|
4
|
+
* @example
|
|
5
|
+
* const Component = React.forwardRef((props, ref) => {
|
|
6
|
+
* const internalRef = React.useRef();
|
|
7
|
+
* return <div {...props} ref={useForkRef(internalRef, ref)} />;
|
|
8
|
+
* });
|
|
9
|
+
*/
|
|
10
|
+
declare function useForkRef(...refs: Array<React.Ref<unknown> | undefined>): ((value: unknown) => void) | undefined;
|
|
11
|
+
export { useForkRef };
|
|
@@ -1,2 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Sets both a function and object React ref.
|
|
9
|
+
*/
|
|
10
|
+
function setRef(ref, value) {
|
|
11
|
+
if (typeof ref === 'function') {
|
|
12
|
+
ref(value);
|
|
13
|
+
}
|
|
14
|
+
else if (ref) {
|
|
15
|
+
ref.current = value;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Merges React Refs into a single memoized function ref so you can pass it to an element.
|
|
20
|
+
* @example
|
|
21
|
+
* const Component = React.forwardRef((props, ref) => {
|
|
22
|
+
* const internalRef = React.useRef();
|
|
23
|
+
* return <div {...props} ref={useForkRef(internalRef, ref)} />;
|
|
24
|
+
* });
|
|
25
|
+
*/
|
|
26
|
+
function useForkRef() {
|
|
27
|
+
var refs = [];
|
|
28
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
29
|
+
refs[_i] = arguments[_i];
|
|
30
|
+
}
|
|
31
|
+
return React.useMemo(function () {
|
|
32
|
+
if (!refs.some(Boolean))
|
|
33
|
+
return;
|
|
34
|
+
return function (value) {
|
|
35
|
+
refs.forEach(function (ref) { return setRef(ref, value); });
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
39
|
+
refs);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.useForkRef = useForkRef;
|
|
2
43
|
//# sourceMappingURL=use-fork-ref.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-fork-ref.js","sources":["../../src/checkbox-field/use-fork-ref.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"use-fork-ref.js","sources":["../../src/checkbox-field/use-fork-ref.ts"],"sourcesContent":[null],"names":["useMemo"],"mappings":";;;;;;AAEA;;AAEG;AACH,SAAS,MAAM,CACX,GAAwE,EACxE,KAAQ,EAAA;AAER,IAAA,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;QAC3B,GAAG,CAAC,KAAK,CAAC,CAAA;AACb,KAAA;AAAM,SAAA,IAAI,GAAG,EAAE;AACZ,QAAA,GAAG,CAAC,OAAO,GAAG,KAAK,CAAA;AACtB,KAAA;AACL,CAAC;AAED;;;;;;;AAOG;AACH,SAAS,UAAU,GAAA;IAAC,IAA8C,IAAA,GAAA,EAAA,CAAA;SAA9C,IAA8C,EAAA,GAAA,CAAA,EAA9C,EAA8C,GAAA,SAAA,CAAA,MAAA,EAA9C,EAA8C,EAAA,EAAA;QAA9C,IAA8C,CAAA,EAAA,CAAA,GAAA,SAAA,CAAA,EAAA,CAAA,CAAA;;AAC9D,IAAA,OAAOA,aAAO,CACV,YAAA;AACI,QAAA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,OAAM;AAC/B,QAAA,OAAO,UAAC,KAAc,EAAA;AAClB,YAAA,IAAI,CAAC,OAAO,CAAC,UAAC,GAAG,IAAK,OAAA,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAlB,EAAkB,CAAC,CAAA;AAC7C,SAAC,CAAA;KACJ;;AAED,IAAA,IAAI,CACP,CAAA;AACL;;;;"}
|
package/lib/columns/columns.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { ResponsiveProp, ResponsiveBreakpoints } from '../utils/responsive-props';
|
|
2
|
-
import type { Space } from '../utils/common-types';
|
|
3
|
-
import type { ReusableBoxProps } from '../box';
|
|
4
|
-
type ColumnWidth = 'auto' | 'content' | '1/2' | '1/3' | '2/3' | '1/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5';
|
|
5
|
-
interface ColumnProps {
|
|
6
|
-
width?: ColumnWidth;
|
|
7
|
-
}
|
|
8
|
-
declare const Column: import("../utils/polymorphism").PolymorphicComponent<"div", ColumnProps, "obfuscateClassName">;
|
|
9
|
-
type ColumnsHorizontalAlignment = 'left' | 'center' | 'right';
|
|
10
|
-
type ColumnsVerticalAlignment = 'top' | 'center' | 'bottom' | 'baseline';
|
|
11
|
-
type ColumnsCollapseBelow = Exclude<ResponsiveBreakpoints, 'mobile'>;
|
|
12
|
-
interface ColumnsProps extends ReusableBoxProps {
|
|
13
|
-
space?: ResponsiveProp<Space>;
|
|
14
|
-
align?: ResponsiveProp<ColumnsHorizontalAlignment>;
|
|
15
|
-
alignY?: ResponsiveProp<ColumnsVerticalAlignment>;
|
|
16
|
-
collapseBelow?: ResponsiveBreakpoints;
|
|
17
|
-
}
|
|
18
|
-
declare const Columns: import("../utils/polymorphism").PolymorphicComponent<"div", ColumnsProps, "obfuscateClassName">;
|
|
19
|
-
export type { ColumnProps, ColumnsProps, ColumnWidth, ColumnsCollapseBelow, ColumnsHorizontalAlignment, ColumnsVerticalAlignment, };
|
|
20
|
-
export { Column, Columns };
|
|
1
|
+
import type { ResponsiveProp, ResponsiveBreakpoints } from '../utils/responsive-props';
|
|
2
|
+
import type { Space } from '../utils/common-types';
|
|
3
|
+
import type { ReusableBoxProps } from '../box';
|
|
4
|
+
type ColumnWidth = 'auto' | 'content' | '1/2' | '1/3' | '2/3' | '1/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5';
|
|
5
|
+
interface ColumnProps {
|
|
6
|
+
width?: ColumnWidth;
|
|
7
|
+
}
|
|
8
|
+
declare const Column: import("../utils/polymorphism").PolymorphicComponent<"div", ColumnProps, "obfuscateClassName">;
|
|
9
|
+
type ColumnsHorizontalAlignment = 'left' | 'center' | 'right';
|
|
10
|
+
type ColumnsVerticalAlignment = 'top' | 'center' | 'bottom' | 'baseline';
|
|
11
|
+
type ColumnsCollapseBelow = Exclude<ResponsiveBreakpoints, 'mobile'>;
|
|
12
|
+
interface ColumnsProps extends ReusableBoxProps {
|
|
13
|
+
space?: ResponsiveProp<Space>;
|
|
14
|
+
align?: ResponsiveProp<ColumnsHorizontalAlignment>;
|
|
15
|
+
alignY?: ResponsiveProp<ColumnsVerticalAlignment>;
|
|
16
|
+
collapseBelow?: ResponsiveBreakpoints;
|
|
17
|
+
}
|
|
18
|
+
declare const Columns: import("../utils/polymorphism").PolymorphicComponent<"div", ColumnsProps, "obfuscateClassName">;
|
|
19
|
+
export type { ColumnProps, ColumnsProps, ColumnWidth, ColumnsCollapseBelow, ColumnsHorizontalAlignment, ColumnsVerticalAlignment, };
|
|
20
|
+
export { Column, Columns };
|
package/lib/columns/columns.js
CHANGED
|
@@ -1,2 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib = require('tslib');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var polymorphism = require('../utils/polymorphism.js');
|
|
8
|
+
var responsiveProps = require('../utils/responsive-props.js');
|
|
9
|
+
var box = require('../box/box.js');
|
|
10
|
+
var columns_module = require('./columns.module.css.js');
|
|
11
|
+
|
|
12
|
+
function _interopNamespace(e) {
|
|
13
|
+
if (e && e.__esModule) return e;
|
|
14
|
+
var n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
Object.keys(e).forEach(function (k) {
|
|
17
|
+
if (k !== 'default') {
|
|
18
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return e[k]; }
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
n["default"] = e;
|
|
27
|
+
return Object.freeze(n);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
31
|
+
|
|
32
|
+
var Column = polymorphism.polymorphicComponent(function Column(_a, ref) {
|
|
33
|
+
var _b = _a.width, width = _b === void 0 ? 'auto' : _b, children = _a.children, exceptionallySetClassName = _a.exceptionallySetClassName, props = tslib.__rest(_a, ["width", "children", "exceptionallySetClassName"]);
|
|
34
|
+
return (React__namespace.createElement(box.Box, tslib.__assign({}, props, { className: [
|
|
35
|
+
exceptionallySetClassName,
|
|
36
|
+
responsiveProps.getClassNames(columns_module["default"], 'columnWidth', width.replace('/', '-')),
|
|
37
|
+
], minWidth: 0, height: "full", flexShrink: width === 'content' ? 0 : undefined, flexGrow: width === 'auto' ? 1 : 0, ref: ref }), children));
|
|
38
|
+
});
|
|
39
|
+
var Columns = polymorphism.polymorphicComponent(function Columns(_a, ref) {
|
|
40
|
+
var space = _a.space, _b = _a.align, align = _b === void 0 ? 'left' : _b, _c = _a.alignY, alignY = _c === void 0 ? 'top' : _c, collapseBelow = _a.collapseBelow, children = _a.children, exceptionallySetClassName = _a.exceptionallySetClassName, props = tslib.__rest(_a, ["space", "align", "alignY", "collapseBelow", "children", "exceptionallySetClassName"]);
|
|
41
|
+
return (React__namespace.createElement(box.Box, tslib.__assign({}, props, { className: [
|
|
42
|
+
exceptionallySetClassName,
|
|
43
|
+
columns_module["default"].container,
|
|
44
|
+
responsiveProps.getClassNames(columns_module["default"], 'container', space),
|
|
45
|
+
], display: "flex", gap: space, flexDirection: collapseBelow === 'desktop'
|
|
46
|
+
? { mobile: 'column', tablet: 'column', desktop: 'row' }
|
|
47
|
+
: collapseBelow === 'tablet'
|
|
48
|
+
? { mobile: 'column', tablet: 'row' }
|
|
49
|
+
: 'row', alignItems: responsiveProps.mapResponsiveProp(alignY, function (alignY) {
|
|
50
|
+
return alignY === 'top' ? 'flexStart' : alignY === 'bottom' ? 'flexEnd' : alignY;
|
|
51
|
+
}), justifyContent: responsiveProps.mapResponsiveProp(align, function (align) {
|
|
52
|
+
return align === 'left' ? 'flexStart' : align === 'right' ? 'flexEnd' : align;
|
|
53
|
+
}), ref: ref }), children));
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
exports.Column = Column;
|
|
57
|
+
exports.Columns = Columns;
|
|
2
58
|
//# sourceMappingURL=columns.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.js","sources":["../../src/columns/columns.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"columns.js","sources":["../../src/columns/columns.tsx"],"sourcesContent":[null],"names":["polymorphicComponent","__rest","React","Box","getClassNames","styles","mapResponsiveProp"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BM,IAAA,MAAM,GAAGA,iCAAoB,CAAqB,SAAS,MAAM,CACnE,EAAiE,EACjE,GAAG,EAAA;AADD,IAAA,IAAA,aAAc,EAAd,KAAK,GAAG,EAAA,KAAA,KAAA,CAAA,GAAA,MAAM,KAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAE,yBAAyB,GAAA,EAAA,CAAA,yBAAA,EAAK,KAAK,GAAAC,YAAA,CAAA,EAAA,EAA/D,kDAAiE,CAAF,CAAA;AAG/D,IAAA,QACIC,gBAAC,CAAA,aAAA,CAAAC,OAAG,qBACI,KAAK,EAAA,EACT,SAAS,EAAE;YACP,yBAAyB;AACzB,YAAAC,6BAAa,CAACC,yBAAM,EAAE,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAChE,SAAA,EACD,QAAQ,EAAE,CAAC,EACX,MAAM,EAAC,MAAM,EACb,UAAU,EAAE,KAAK,KAAK,SAAS,GAAG,CAAC,GAAG,SAAS,EAC/C,QAAQ,EAAE,KAAK,KAAK,MAAM,GAAG,CAAC,GAAG,CAAC,EAClC,GAAG,EAAE,GAAG,KAEP,QAAQ,CACP,EACT;AACL,CAAC,EAAC;AAaI,IAAA,OAAO,GAAGL,iCAAoB,CAAsB,SAAS,OAAO,CACtE,EAQC,EACD,GAAG,EAAA;AARC,IAAA,IAAA,KAAK,GAAA,EAAA,CAAA,KAAA,EACL,EAAA,GAAA,EAAA,CAAA,KAAc,EAAd,KAAK,GAAG,EAAA,KAAA,KAAA,CAAA,GAAA,MAAM,GAAA,EAAA,EACd,EAAc,GAAA,EAAA,CAAA,MAAA,EAAd,MAAM,GAAA,EAAA,KAAA,KAAA,CAAA,GAAG,KAAK,GAAA,EAAA,EACd,aAAa,GAAA,EAAA,CAAA,aAAA,EACb,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,yBAAyB,GAAA,EAAA,CAAA,yBAAA,EACtB,KAAK,GAAAC,YAAA,CAAA,EAAA,EAPZ,sFAQC,CADW,CAAA;AAIZ,IAAA,QACIC,gBAAC,CAAA,aAAA,CAAAC,OAAG,qBACI,KAAK,EAAA,EACT,SAAS,EAAE;YACP,yBAAyB;AACzB,YAAAE,yBAAM,CAAC,SAAS;AAChB,YAAAD,6BAAa,CAACC,yBAAM,EAAE,WAAW,EAAE,KAAK,CAAC;AAC5C,SAAA,EACD,OAAO,EAAC,MAAM,EACd,GAAG,EAAE,KAAK,EACV,aAAa,EACT,aAAa,KAAK,SAAS;AACvB,cAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE;cACtD,aAAa,KAAK,QAAQ;kBAC1B,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;kBACnC,KAAK,EAEf,UAAU,EAAEC,iCAAiB,CAAC,MAAM,EAAE,UAAC,MAAM,EAAA;YACzC,OAAA,MAAM,KAAK,KAAK,GAAG,WAAW,GAAG,MAAM,KAAK,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;SAAA,CAC5E,EACD,cAAc,EAAEA,iCAAiB,CAAC,KAAK,EAAE,UAAC,KAAK,EAAA;YAC3C,OAAA,KAAK,KAAK,MAAM,GAAG,WAAW,GAAG,KAAK,KAAK,OAAO,GAAG,SAAS,GAAG,KAAK,CAAA;SAAA,CACzE,EACD,GAAG,EAAE,GAAG,EAEP,CAAA,EAAA,QAAQ,CACP,EACT;AACL,CAAC;;;;;"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var modules_67f2d07a = {"container-xsmall":"_9b4012c9","container-small":"e35e0320","container-medium":"_0703e67f","container-large":"_1cf15621","container-xlarge":"_1c7dff67","container-xxlarge":"_25bee9b6","columnWidth-content":"_4bb9987d","columnWidth-auto":"_9dd31975","columnWidth-1-2":"_38d11c0e","columnWidth-1-3":"_7ac225c6","columnWidth-2-3":"_9c340680","columnWidth-1-4":"_81cb99d2","columnWidth-3-4":"_10fd355f","columnWidth-1-5":"_3ee66520","columnWidth-2-5":"df1201a5","columnWidth-3-5":"f772e0b2","columnWidth-4-5":"_880cbbb1","container":"eae3d34f"};
|
|
6
|
+
|
|
7
|
+
exports["default"] = modules_67f2d07a;
|
|
2
8
|
//# sourceMappingURL=columns.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"columns.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/lib/columns/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './columns';
|
|
1
|
+
export * from './columns';
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './color-picker.less';
|
|
3
|
-
type NamedColor = {
|
|
4
|
-
name: string;
|
|
5
|
-
color: string;
|
|
6
|
-
};
|
|
7
|
-
declare const COLORS: string[];
|
|
8
|
-
type Props = {
|
|
9
|
-
small?: boolean;
|
|
10
|
-
color?: number;
|
|
11
|
-
onChange?: (color: number) => void;
|
|
12
|
-
colorList?: (string | NamedColor)[];
|
|
13
|
-
};
|
|
14
|
-
declare function ColorPicker({ color, small, onChange, colorList }: Props): React.JSX.Element;
|
|
15
|
-
declare namespace ColorPicker {
|
|
16
|
-
var displayName: string;
|
|
17
|
-
}
|
|
18
|
-
type ColorItemProps = {
|
|
19
|
-
color: string;
|
|
20
|
-
colorIndex: number;
|
|
21
|
-
isActive?: boolean;
|
|
22
|
-
onClick?: (colorIndex: number) => void;
|
|
23
|
-
tooltip?: React.ReactNode;
|
|
24
|
-
};
|
|
25
|
-
declare function ColorItem({ color, colorIndex, isActive, onClick, tooltip }: ColorItemProps): React.JSX.Element;
|
|
26
|
-
declare namespace ColorItem {
|
|
27
|
-
var displayName: string;
|
|
28
|
-
}
|
|
29
|
-
export { ColorPicker, ColorItem, COLORS };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './color-picker.less';
|
|
3
|
+
type NamedColor = {
|
|
4
|
+
name: string;
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
declare const COLORS: string[];
|
|
8
|
+
type Props = {
|
|
9
|
+
small?: boolean;
|
|
10
|
+
color?: number;
|
|
11
|
+
onChange?: (color: number) => void;
|
|
12
|
+
colorList?: (string | NamedColor)[];
|
|
13
|
+
};
|
|
14
|
+
declare function ColorPicker({ color, small, onChange, colorList }: Props): React.JSX.Element;
|
|
15
|
+
declare namespace ColorPicker {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
18
|
+
type ColorItemProps = {
|
|
19
|
+
color: string;
|
|
20
|
+
colorIndex: number;
|
|
21
|
+
isActive?: boolean;
|
|
22
|
+
onClick?: (colorIndex: number) => void;
|
|
23
|
+
tooltip?: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
declare function ColorItem({ color, colorIndex, isActive, onClick, tooltip }: ColorItemProps): React.JSX.Element;
|
|
26
|
+
declare namespace ColorItem {
|
|
27
|
+
var displayName: string;
|
|
28
|
+
}
|
|
29
|
+
export { ColorPicker, ColorItem, COLORS };
|