@alfalab/core-components 46.0.0-beta.5 → 46.0.0-beta.7
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/amount-input/@alfalab/core-components-shared/package.json +23 -0
- package/amount-input/Component.js +2 -1
- package/amount-input/cssm/Component.js +2 -1
- package/amount-input/esm/Component.js +2 -1
- package/amount-input/esm/index.js +1 -0
- package/amount-input/modern/Component.js +2 -1
- package/amount-input/modern/index.js +1 -0
- package/bottom-sheet/component.js +3 -9
- package/bottom-sheet/cssm/component.js +3 -9
- package/bottom-sheet/esm/component.js +4 -10
- package/bottom-sheet/modern/component.js +4 -9
- package/button/Component.responsive.js +2 -1
- package/button/cssm/Component.responsive.js +2 -1
- package/button/esm/Component.responsive.js +2 -2
- package/button/esm/index.js +1 -1
- package/button/modern/Component.responsive.js +2 -2
- package/button/modern/index.js +1 -1
- package/calendar/Component.responsive.js +2 -1
- package/calendar/cssm/Component.responsive.js +2 -1
- package/calendar/esm/Component.responsive.js +2 -2
- package/calendar/esm/index.js +1 -1
- package/calendar/modern/Component.responsive.js +2 -2
- package/calendar/modern/index.js +1 -1
- package/calendar-input/@alfalab/core-components-shared/package.json +23 -0
- package/calendar-input/Component.responsive.js +2 -1
- package/calendar-input/cssm/Component.responsive.js +2 -1
- package/calendar-input/esm/Component.responsive.js +2 -1
- package/calendar-input/esm/index.js +1 -0
- package/calendar-input/modern/Component.responsive.js +2 -1
- package/calendar-input/modern/index.js +1 -0
- package/checkbox-group/@alfalab/core-components-shared/package.json +23 -0
- package/checkbox-group/Component.responsive.js +2 -1
- package/checkbox-group/cssm/Component.responsive.js +2 -1
- package/checkbox-group/esm/Component.responsive.js +2 -1
- package/checkbox-group/esm/index.js +1 -0
- package/checkbox-group/modern/Component.responsive.js +2 -1
- package/checkbox-group/modern/index.js +1 -0
- package/code-input/@alfalab/core-components-shared/package.json +23 -0
- package/code-input/Component.responsive.js +2 -1
- package/code-input/cssm/Component.responsive.js +2 -1
- package/code-input/esm/Component.responsive.js +2 -1
- package/code-input/esm/index.js +1 -0
- package/code-input/modern/Component.responsive.js +2 -1
- package/code-input/modern/index.js +1 -0
- package/confirmation/@alfalab/core-components-shared/package.json +23 -0
- package/confirmation/component.responsive.js +2 -1
- package/confirmation/components/base-confirmation/component.js +2 -1
- package/confirmation/cssm/component.responsive.js +2 -1
- package/confirmation/cssm/components/base-confirmation/component.js +2 -1
- package/confirmation/esm/component.responsive.js +2 -1
- package/confirmation/esm/components/base-confirmation/component.js +2 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -0
- package/confirmation/esm/desktop/component.desktop.js +1 -0
- package/confirmation/esm/desktop/index.js +1 -0
- package/confirmation/esm/index.js +1 -0
- package/confirmation/esm/mobile/component.mobile.js +1 -0
- package/confirmation/esm/mobile/index.js +1 -0
- package/confirmation/modern/component.responsive.js +2 -1
- package/confirmation/modern/components/base-confirmation/component.js +2 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -0
- package/confirmation/modern/desktop/component.desktop.js +1 -0
- package/confirmation/modern/desktop/index.js +1 -0
- package/confirmation/modern/index.js +1 -0
- package/confirmation/modern/mobile/component.mobile.js +1 -0
- package/confirmation/modern/mobile/index.js +1 -0
- package/custom-picker-button/@alfalab/core-components-shared/package.json +23 -0
- package/custom-picker-button/Component.responsive.js +2 -1
- package/custom-picker-button/cssm/Component.responsive.js +2 -1
- package/custom-picker-button/esm/Component.responsive.js +2 -1
- package/custom-picker-button/esm/index.js +1 -0
- package/custom-picker-button/modern/Component.responsive.js +2 -1
- package/custom-picker-button/modern/index.js +1 -0
- package/date-range-input/@alfalab/core-components-shared/package.json +23 -0
- package/date-range-input/Component.responsive.js +2 -1
- package/date-range-input/cssm/Component.responsive.js +2 -1
- package/date-range-input/esm/Component.responsive.js +2 -1
- package/date-range-input/esm/index.js +1 -0
- package/date-range-input/modern/Component.responsive.js +2 -1
- package/date-range-input/modern/index.js +1 -0
- package/date-time-input/@alfalab/core-components-shared/package.json +23 -0
- package/date-time-input/Component.responsive.js +2 -1
- package/date-time-input/cssm/Component.responsive.js +2 -1
- package/date-time-input/esm/Component.responsive.js +2 -1
- package/date-time-input/esm/index.js +1 -0
- package/date-time-input/modern/Component.responsive.js +2 -1
- package/date-time-input/modern/index.js +1 -0
- package/filter-tag/@alfalab/core-components-shared/package.json +23 -0
- package/filter-tag/Component.responsive.js +2 -1
- package/filter-tag/cssm/Component.responsive.js +2 -1
- package/filter-tag/esm/Component.responsive.js +2 -1
- package/filter-tag/esm/index.js +1 -0
- package/filter-tag/modern/Component.responsive.js +2 -1
- package/filter-tag/modern/index.js +1 -0
- package/form-control/Component.responsive.js +2 -1
- package/form-control/cssm/Component.responsive.js +2 -1
- package/form-control/esm/Component.responsive.js +2 -2
- package/form-control/esm/index.js +1 -1
- package/form-control/modern/Component.responsive.js +2 -2
- package/form-control/modern/index.js +1 -1
- package/icon-button/Component.d.ts +10 -0
- package/icon-button/Component.js +4 -3
- package/icon-button/cssm/Component.d.ts +10 -0
- package/icon-button/cssm/Component.js +2 -1
- package/icon-button/cssm/default.module.css +35 -3
- package/icon-button/cssm/inverted.module.css +35 -3
- package/icon-button/default.css +35 -3
- package/icon-button/esm/Component.d.ts +10 -0
- package/icon-button/esm/Component.js +4 -3
- package/icon-button/esm/default.css +35 -3
- package/icon-button/esm/inverted.css +35 -3
- package/icon-button/inverted.css +35 -3
- package/icon-button/modern/Component.d.ts +10 -0
- package/icon-button/modern/Component.js +4 -3
- package/icon-button/modern/default.css +35 -3
- package/icon-button/modern/inverted.css +35 -3
- package/input/Component.responsive.js +2 -1
- package/input/cssm/Component.responsive.js +2 -1
- package/input/esm/Component.responsive.js +2 -2
- package/input/esm/index.js +1 -1
- package/input/modern/Component.responsive.js +2 -2
- package/input/modern/index.js +1 -1
- package/input-autocomplete/Component.responsive.js +2 -1
- package/input-autocomplete/cssm/Component.responsive.js +2 -1
- package/input-autocomplete/esm/Component.responsive.js +2 -2
- package/input-autocomplete/esm/index.js +1 -1
- package/input-autocomplete/modern/Component.responsive.js +2 -2
- package/input-autocomplete/modern/index.js +1 -1
- package/international-phone-input/Component.responsive.js +2 -1
- package/international-phone-input/cssm/Component.responsive.js +2 -1
- package/international-phone-input/cssm/typings-1fe708ea.d.ts +6 -0
- package/international-phone-input/esm/Component.responsive.js +2 -2
- package/international-phone-input/esm/index.js +1 -1
- package/international-phone-input/esm/typings-1fe708ea.d.ts +6 -0
- package/international-phone-input/modern/Component.responsive.js +2 -2
- package/international-phone-input/modern/index.js +1 -1
- package/international-phone-input/modern/typings-1fe708ea.d.ts +6 -0
- package/international-phone-input/typings-1fe708ea.d.ts +6 -0
- package/markdown/Component.responsive.js +1 -1
- package/markdown/cssm/Component.responsive.js +1 -1
- package/markdown/esm/Component.responsive.js +2 -2
- package/markdown/modern/Component.responsive.js +2 -2
- package/modal/Component.responsive.js +2 -1
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/cssm/Component.responsive.js +2 -1
- package/modal/esm/Component.responsive.js +3 -3
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +2 -2
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +3 -3
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +2 -2
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/number-input/Component.responsive.js +2 -1
- package/number-input/cssm/Component.responsive.js +2 -1
- package/number-input/esm/Component.responsive.js +2 -2
- package/number-input/esm/index.js +1 -1
- package/number-input/modern/Component.responsive.js +2 -2
- package/number-input/modern/index.js +1 -1
- package/package.json +1 -1
- package/pattern-lock/Component.responsive.js +2 -1
- package/pattern-lock/cssm/Component.responsive.js +2 -1
- package/pattern-lock/esm/Component.responsive.js +2 -2
- package/pattern-lock/esm/index.js +1 -1
- package/pattern-lock/modern/Component.responsive.js +2 -2
- package/pattern-lock/modern/index.js +1 -1
- package/picker-button/@alfalab/core-components-shared/package.json +23 -0
- package/picker-button/Component.responsive.js +2 -1
- package/picker-button/cssm/Component.responsive.js +2 -1
- package/picker-button/cssm/mobile/Component.mobile.js +2 -1
- package/picker-button/cssm/typings-1fe708ea.d.ts +415 -10
- package/picker-button/esm/Component.responsive.js +2 -1
- package/picker-button/esm/index.js +1 -0
- package/picker-button/esm/mobile/Component.mobile.js +2 -1
- package/picker-button/esm/mobile/index.js +1 -0
- package/picker-button/esm/typings-1fe708ea.d.ts +415 -10
- package/picker-button/mobile/Component.mobile.js +2 -1
- package/picker-button/modern/Component.responsive.js +2 -1
- package/picker-button/modern/index.js +1 -0
- package/picker-button/modern/mobile/Component.mobile.js +2 -1
- package/picker-button/modern/mobile/index.js +1 -0
- package/picker-button/modern/typings-1fe708ea.d.ts +415 -10
- package/picker-button/typings-1fe708ea.d.ts +415 -10
- package/plate/Component.responsive.js +17 -1
- package/plate/cssm/Component.responsive.js +17 -1
- package/plate/esm/Component.responsive.js +17 -2
- package/plate/esm/index.js +1 -1
- package/plate/modern/Component.responsive.js +18 -2
- package/plate/modern/index.js +1 -1
- package/radio-group/@alfalab/core-components-shared/package.json +23 -0
- package/radio-group/Component.responsive.js +2 -1
- package/radio-group/cssm/Component.responsive.js +2 -1
- package/radio-group/esm/Component.responsive.js +2 -1
- package/radio-group/esm/index.js +1 -0
- package/radio-group/modern/Component.responsive.js +2 -1
- package/radio-group/modern/index.js +1 -0
- package/select/Component.responsive.js +2 -1
- package/select/cssm/Component.responsive.js +2 -1
- package/select/esm/Component.responsive.js +3 -3
- package/select/esm/index.js +2 -2
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +3 -3
- package/select/modern/index.js +2 -2
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/select-with-tags/@alfalab/core-components-shared/package.json +23 -0
- package/select-with-tags/Component.responsive.js +2 -1
- package/select-with-tags/cssm/Component.responsive.js +2 -1
- package/select-with-tags/esm/Component.responsive.js +2 -1
- package/select-with-tags/esm/index.js +1 -0
- package/select-with-tags/modern/Component.responsive.js +2 -1
- package/select-with-tags/modern/index.js +1 -0
- package/shared/cssm/getComponentBreakpoint/getComponentBreakpoint.d.ts +2 -0
- package/shared/cssm/getComponentBreakpoint/getComponentBreakpoint.js +18 -0
- package/shared/cssm/getComponentBreakpoint/index.d.ts +1 -0
- package/shared/cssm/getComponentBreakpoint/index.js +7 -0
- package/shared/cssm/index.d.ts +1 -0
- package/shared/cssm/index.js +2 -0
- package/shared/esm/getComponentBreakpoint/getComponentBreakpoint.d.ts +2 -0
- package/shared/esm/getComponentBreakpoint/getComponentBreakpoint.js +16 -0
- package/shared/esm/getComponentBreakpoint/index.d.ts +1 -0
- package/shared/esm/getComponentBreakpoint/index.js +1 -0
- package/shared/esm/index.d.ts +1 -0
- package/shared/esm/index.js +1 -0
- package/shared/getComponentBreakpoint/getComponentBreakpoint.d.ts +2 -0
- package/shared/getComponentBreakpoint/getComponentBreakpoint.js +18 -0
- package/shared/getComponentBreakpoint/index.d.ts +1 -0
- package/shared/getComponentBreakpoint/index.js +7 -0
- package/shared/index.d.ts +1 -0
- package/shared/index.js +2 -0
- package/shared/modern/getComponentBreakpoint/getComponentBreakpoint.d.ts +2 -0
- package/shared/modern/getComponentBreakpoint/getComponentBreakpoint.js +17 -0
- package/shared/modern/getComponentBreakpoint/index.d.ts +1 -0
- package/shared/modern/getComponentBreakpoint/index.js +1 -0
- package/shared/modern/index.d.ts +1 -0
- package/shared/modern/index.js +1 -0
- package/side-panel/Component.responsive.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/cssm/Component.responsive.js +1 -1
- package/side-panel/esm/Component.responsive.js +3 -3
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +3 -3
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/status/Component.d.ts +2 -1
- package/status/Component.js +2 -2
- package/status/cssm/Component.d.ts +2 -1
- package/status/cssm/Component.js +1 -1
- package/status/cssm/index.module.css +74 -29
- package/status/esm/Component.d.ts +2 -1
- package/status/esm/Component.js +2 -2
- package/status/esm/index.css +55 -27
- package/status/index.css +55 -27
- package/status/modern/Component.d.ts +2 -1
- package/status/modern/Component.js +2 -2
- package/status/modern/index.css +55 -27
- package/system-message/Components.responsive.js +1 -1
- package/system-message/cssm/Components.responsive.js +1 -1
- package/system-message/esm/Components.responsive.js +2 -2
- package/system-message/modern/Components.responsive.js +2 -2
- package/tabs/components/primary-tablist/Component.collapsible.js +2 -1
- package/tabs/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/components/secondary-tablist/Component.responsive.js +2 -1
- package/tabs/components/tabs/Component.js +2 -1
- package/tabs/cssm/components/primary-tablist/Component.collapsible.js +2 -1
- package/tabs/cssm/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/cssm/components/secondary-tablist/Component.responsive.js +2 -1
- package/tabs/cssm/components/tabs/Component.js +2 -1
- package/tabs/esm/collapsible/index.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
- package/tabs/esm/components/tabs/Component.js +2 -1
- package/tabs/esm/components/tabs/Component.responsive.js +1 -1
- package/tabs/esm/index.js +1 -1
- package/tabs/modern/collapsible/index.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
- package/tabs/modern/components/tabs/Component.js +2 -1
- package/tabs/modern/components/tabs/Component.responsive.js +1 -1
- package/tabs/modern/index.js +1 -1
- package/tag/@alfalab/core-components-shared/package.json +23 -0
- package/tag/Component.responsive.js +2 -1
- package/tag/components/base-tag/Component.d.ts +1 -1
- package/tag/cssm/Component.responsive.js +2 -1
- package/tag/cssm/components/base-tag/Component.d.ts +1 -1
- package/tag/esm/Component.responsive.js +2 -1
- package/tag/esm/components/base-tag/Component.d.ts +1 -1
- package/tag/esm/index.js +1 -0
- package/tag/modern/Component.responsive.js +2 -1
- package/tag/modern/components/base-tag/Component.d.ts +1 -1
- package/tag/modern/index.js +1 -0
- package/themes/breakpoints/breakpoint-768.css +3 -0
- package/themes/compiled/mobile-dark-bluetint.css +79 -58
- package/toast/@alfalab/core-components-shared/package.json +23 -0
- package/toast/Component.responsive.js +2 -1
- package/toast/cssm/Component.responsive.js +2 -1
- package/toast/esm/Component.responsive.js +2 -1
- package/toast/esm/index.js +1 -0
- package/toast/modern/Component.responsive.js +2 -1
- package/toast/modern/index.js +1 -0
- package/toast-plate/@alfalab/core-components-shared/package.json +23 -0
- package/toast-plate/Component.responsive.js +2 -1
- package/toast-plate/components/base-toast-plate/component.js +3 -4
- package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.js +2 -5
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +3 -5
- package/toast-plate/cssm/Component.responsive.js +2 -1
- package/toast-plate/cssm/components/base-toast-plate/component.js +3 -4
- package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.js +2 -5
- package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +3 -5
- package/toast-plate/esm/Component.responsive.js +2 -3
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -2
- package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.js +1 -4
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -2
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -3
- package/toast-plate/esm/desktop/Component.desktop.js +1 -2
- package/toast-plate/esm/desktop/index.js +1 -2
- package/toast-plate/esm/index.js +1 -2
- package/toast-plate/esm/mobile/Component.mobile.js +1 -2
- package/toast-plate/esm/mobile/index.js +1 -2
- package/toast-plate/modern/Component.responsive.js +2 -3
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -2
- package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.js +1 -4
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -2
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -3
- package/toast-plate/modern/desktop/Component.desktop.js +1 -2
- package/toast-plate/modern/desktop/index.js +1 -2
- package/toast-plate/modern/index.js +1 -2
- package/toast-plate/modern/mobile/Component.mobile.js +1 -2
- package/toast-plate/modern/mobile/index.js +1 -2
- package/tooltip/@alfalab/core-components-shared/package.json +23 -0
- package/tooltip/Component.responsive.js +2 -1
- package/tooltip/cssm/Component.responsive.js +2 -1
- package/tooltip/esm/Component.responsive.js +2 -1
- package/tooltip/esm/index.js +1 -0
- package/tooltip/modern/Component.responsive.js +2 -1
- package/tooltip/modern/index.js +1 -0
- package/universal-date-input/Component.responsive.js +2 -1
- package/universal-date-input/cssm/Component.responsive.js +2 -1
- package/universal-date-input/esm/Component.responsive.js +2 -2
- package/universal-date-input/esm/index.js +1 -1
- package/universal-date-input/modern/Component.responsive.js +2 -2
- package/universal-date-input/modern/index.js +1 -1
- package/picker-button/Component-307da6d7.d.ts +0 -168
- package/picker-button/Context-c2e6f1b2.d.ts +0 -4
- package/picker-button/cssm/Component-307da6d7.d.ts +0 -168
- package/picker-button/cssm/Context-c2e6f1b2.d.ts +0 -4
- package/picker-button/cssm/index-064acd29.d.ts +0 -13
- package/picker-button/cssm/index-307da6d7.d.ts +0 -67
- package/picker-button/cssm/types-a870d1f8.d.ts +0 -117
- package/picker-button/esm/Component-307da6d7.d.ts +0 -168
- package/picker-button/esm/Context-c2e6f1b2.d.ts +0 -4
- package/picker-button/esm/index-064acd29.d.ts +0 -13
- package/picker-button/esm/index-307da6d7.d.ts +0 -67
- package/picker-button/esm/types-a870d1f8.d.ts +0 -117
- package/picker-button/index-064acd29.d.ts +0 -13
- package/picker-button/index-307da6d7.d.ts +0 -67
- package/picker-button/modern/Component-307da6d7.d.ts +0 -168
- package/picker-button/modern/Context-c2e6f1b2.d.ts +0 -4
- package/picker-button/modern/index-064acd29.d.ts +0 -13
- package/picker-button/modern/index-307da6d7.d.ts +0 -67
- package/picker-button/modern/types-a870d1f8.d.ts +0 -117
- package/picker-button/types-a870d1f8.d.ts +0 -117
- package/toast-plate/browser-a216f694.d.ts +0 -6
- package/toast-plate/cssm/browser-a216f694.d.ts +0 -6
- package/toast-plate/cssm/getDataTestId-73ea38f8.d.ts +0 -3
- package/toast-plate/cssm/getDataTestId-73ea38f8.js +0 -6
- package/toast-plate/cssm/index-307da6d7.d.ts +0 -71
- package/toast-plate/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/toast-plate/esm/browser-a216f694.d.ts +0 -6
- package/toast-plate/esm/getDataTestId-f4dc32c7.d.ts +0 -3
- package/toast-plate/esm/getDataTestId-f4dc32c7.js +0 -6
- package/toast-plate/esm/index-307da6d7.d.ts +0 -71
- package/toast-plate/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/toast-plate/getDataTestId-442368bd.d.ts +0 -3
- package/toast-plate/getDataTestId-442368bd.js +0 -6
- package/toast-plate/index-307da6d7.d.ts +0 -71
- package/toast-plate/modern/browser-a216f694.d.ts +0 -6
- package/toast-plate/modern/getDataTestId-16038735.d.ts +0 -3
- package/toast-plate/modern/getDataTestId-16038735.js +0 -6
- package/toast-plate/modern/index-307da6d7.d.ts +0 -71
- package/toast-plate/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/toast-plate/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- /package/modal/esm/{layout.module-ed84e654.js → layout.module-8c2ad581.js} +0 -0
- /package/modal/{layout.module-74d56d9e.js → layout.module-9c7f42a7.js} +0 -0
- /package/modal/modern/{layout.module-169c9cd4.js → layout.module-7b9f84d6.js} +0 -0
- /package/{picker-button → plate}/browser-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/cssm/browser-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/esm/browser-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/modern/browser-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/{picker-button → plate}/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/select/esm/{hook-43f97773.d.ts → hook-cdd6fd77.d.ts} +0 -0
- /package/select/esm/{hook-43f97773.js → hook-cdd6fd77.js} +0 -0
- /package/select/{hook-47df637e.d.ts → hook-504cecce.d.ts} +0 -0
- /package/select/{hook-47df637e.js → hook-504cecce.js} +0 -0
- /package/select/modern/{hook-72d63281.d.ts → hook-f45c958e.d.ts} +0 -0
- /package/select/modern/{hook-72d63281.js → hook-f45c958e.js} +0 -0
- /package/side-panel/esm/{layout.module-72cc1a7a.js → layout.module-85dc8854.js} +0 -0
- /package/side-panel/{layout.module-cfb65ab1.js → layout.module-7feda991.js} +0 -0
- /package/side-panel/modern/{layout.module-3503b091.js → layout.module-3ff83598.js} +0 -0
package/modal/esm/index.js
CHANGED
|
@@ -2,15 +2,15 @@ export { ModalResponsive as Modal } from './Component.responsive.js';
|
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../mq/esm';
|
|
5
|
+
import '../../shared/esm';
|
|
5
6
|
import './components/content/Component.js';
|
|
6
7
|
import 'classnames';
|
|
7
|
-
import '../../shared/esm';
|
|
8
8
|
import './consts.js';
|
|
9
9
|
import './Context.js';
|
|
10
10
|
import '../../base-modal/esm';
|
|
11
11
|
import './ResponsiveContext.js';
|
|
12
12
|
import './components/controls/Component.js';
|
|
13
|
-
import './layout.module-
|
|
13
|
+
import './layout.module-8c2ad581.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import './components/header/Component.js';
|
|
16
16
|
import '../../navigation-bar-private/esm';
|
|
@@ -12,7 +12,7 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../../../shared/esm';
|
|
14
14
|
import '../Context.js';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-8c2ad581.js';
|
|
16
16
|
import '../../../navigation-bar-private/esm';
|
|
17
17
|
|
|
18
18
|
var ModalMobileComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'mobile' }))); });
|
|
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
|
|
|
11
11
|
import '../../../shared/esm';
|
|
12
12
|
import '../Context.js';
|
|
13
13
|
import '../components/controls/Component.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-8c2ad581.js';
|
|
15
15
|
import '../components/footer/Component.js';
|
|
16
16
|
import '../components/header/Component.js';
|
|
17
17
|
import '../../../navigation-bar-private/esm';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { useMatchMedia } from '../../mq/modern';
|
|
3
|
+
import { getComponentBreakpoint } from '../../shared/modern';
|
|
3
4
|
import { Content } from './components/content/Component.js';
|
|
4
5
|
import { Controls } from './components/controls/Component.js';
|
|
5
6
|
import { Footer } from './components/footer/Component.js';
|
|
6
7
|
import { Header } from './components/header/Component.js';
|
|
7
8
|
import { Modal } from './Component.js';
|
|
8
9
|
import 'classnames';
|
|
9
|
-
import '../../shared/modern';
|
|
10
10
|
import './consts.js';
|
|
11
11
|
import './Context.js';
|
|
12
12
|
import '../../base-modal/modern';
|
|
13
13
|
import './ResponsiveContext.js';
|
|
14
|
-
import './layout.module-
|
|
14
|
+
import './layout.module-7b9f84d6.js';
|
|
15
15
|
import '../../navigation-bar-private/modern';
|
|
16
16
|
import 'react-merge-refs';
|
|
17
17
|
|
|
18
|
-
const ModalResponsiveComponent = forwardRef(({ children, breakpoint =
|
|
18
|
+
const ModalResponsiveComponent = forwardRef(({ children, breakpoint = getComponentBreakpoint(), defaultMatchMediaValue = true, ...restProps }, ref) => {
|
|
19
19
|
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, defaultMatchMediaValue);
|
|
20
20
|
return (React.createElement(Modal, { ref: ref, ...restProps, view: isDesktop ? 'desktop' : 'mobile' }, children));
|
|
21
21
|
});
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/modern';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
|
|
6
6
|
|
|
7
7
|
const styles = {"component":"modal__component_6629a"};
|
|
8
8
|
require('./index.css');
|
|
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/modern';
|
|
|
4
4
|
import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
7
|
+
import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
|
|
8
8
|
import '../../../../base-modal/modern';
|
|
9
9
|
|
|
10
10
|
const desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-7b9f84d6.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
|
|
17
17
|
const ModalDesktopComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'desktop' })));
|
|
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
|
|
|
10
10
|
import '../../../shared/modern';
|
|
11
11
|
import '../Context.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-7b9f84d6.js';
|
|
14
14
|
import '../components/footer/Component.js';
|
|
15
15
|
import '../components/header/Component.js';
|
|
16
16
|
import '../../../navigation-bar-private/modern';
|
package/modal/modern/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { ModalResponsive as Modal } from './Component.responsive.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../mq/modern';
|
|
4
|
+
import '../../shared/modern';
|
|
4
5
|
import './components/content/Component.js';
|
|
5
6
|
import 'classnames';
|
|
6
|
-
import '../../shared/modern';
|
|
7
7
|
import './consts.js';
|
|
8
8
|
import './Context.js';
|
|
9
9
|
import '../../base-modal/modern';
|
|
10
10
|
import './ResponsiveContext.js';
|
|
11
11
|
import './components/controls/Component.js';
|
|
12
|
-
import './layout.module-
|
|
12
|
+
import './layout.module-7b9f84d6.js';
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/header/Component.js';
|
|
15
15
|
import '../../navigation-bar-private/modern';
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-7b9f84d6.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
|
|
17
17
|
const ModalMobileComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'mobile' })));
|
|
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
|
|
|
10
10
|
import '../../../shared/modern';
|
|
11
11
|
import '../Context.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-7b9f84d6.js';
|
|
14
14
|
import '../components/footer/Component.js';
|
|
15
15
|
import '../components/header/Component.js';
|
|
16
16
|
import '../../../navigation-bar-private/modern';
|
|
@@ -4,6 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsInput = require('../input');
|
|
6
6
|
var coreComponentsMq = require('../mq');
|
|
7
|
+
var coreComponentsShared = require('../shared');
|
|
7
8
|
var components_numberInput_Component = require('./components/number-input/Component.js');
|
|
8
9
|
|
|
9
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -11,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
|
|
13
14
|
var NumberInputResponsive = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
16
|
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
16
17
|
return (React__default.default.createElement(components_numberInput_Component.NumberInput, tslib.__assign({}, restProps, { Input: coreComponentsInput.Input, ref: ref, view: isDesktop ? 'desktop' : 'mobile', breakpoint: breakpoint, defaultMatchMediaValue: defaultMatchMediaValue })));
|
|
17
18
|
});
|
|
@@ -4,6 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsInput = require('../../input/cssm');
|
|
6
6
|
var coreComponentsMq = require('../../mq/cssm');
|
|
7
|
+
var coreComponentsShared = require('../../shared/cssm');
|
|
7
8
|
var components_numberInput_Component = require('./components/number-input/Component.js');
|
|
8
9
|
|
|
9
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -11,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
|
|
13
14
|
var NumberInputResponsive = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
16
|
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
16
17
|
return (React__default.default.createElement(components_numberInput_Component.NumberInput, tslib.__assign({}, restProps, { Input: coreComponentsInput.Input, ref: ref, view: isDesktop ? 'desktop' : 'mobile', breakpoint: breakpoint, defaultMatchMediaValue: defaultMatchMediaValue })));
|
|
17
18
|
});
|
|
@@ -2,12 +2,12 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { Input } from '../../input/esm';
|
|
4
4
|
import { useMatchMedia } from '../../mq/esm';
|
|
5
|
+
import { getComponentBreakpoint } from '../../shared/esm';
|
|
5
6
|
import { NumberInput } from './components/number-input/Component.js';
|
|
6
7
|
import 'react-merge-refs';
|
|
7
8
|
import '@maskito/core';
|
|
8
9
|
import '@maskito/react';
|
|
9
10
|
import 'classnames';
|
|
10
|
-
import '../../shared/esm';
|
|
11
11
|
import './utils.js';
|
|
12
12
|
import './components/steppers/Component.js';
|
|
13
13
|
import '../../icon-button/esm';
|
|
@@ -15,7 +15,7 @@ import '@alfalab/icons-glyph/MinusMIcon';
|
|
|
15
15
|
import '@alfalab/icons-glyph/PlusMediumMIcon';
|
|
16
16
|
|
|
17
17
|
var NumberInputResponsive = forwardRef(function (_a, ref) {
|
|
18
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
18
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? getComponentBreakpoint() : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = __rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
19
19
|
var isDesktop = useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
20
20
|
return (React.createElement(NumberInput, __assign({}, restProps, { Input: Input, ref: ref, view: isDesktop ? 'desktop' : 'mobile', breakpoint: breakpoint, defaultMatchMediaValue: defaultMatchMediaValue })));
|
|
21
21
|
});
|
|
@@ -3,12 +3,12 @@ import 'tslib';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../input/esm';
|
|
5
5
|
import '../../mq/esm';
|
|
6
|
+
import '../../shared/esm';
|
|
6
7
|
import './components/number-input/Component.js';
|
|
7
8
|
import 'react-merge-refs';
|
|
8
9
|
import '@maskito/core';
|
|
9
10
|
import '@maskito/react';
|
|
10
11
|
import 'classnames';
|
|
11
|
-
import '../../shared/esm';
|
|
12
12
|
import './utils.js';
|
|
13
13
|
import './components/steppers/Component.js';
|
|
14
14
|
import '../../icon-button/esm';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { Input } from '../../input/modern';
|
|
3
3
|
import { useMatchMedia } from '../../mq/modern';
|
|
4
|
+
import { getComponentBreakpoint } from '../../shared/modern';
|
|
4
5
|
import { NumberInput } from './components/number-input/Component.js';
|
|
5
6
|
import 'react-merge-refs';
|
|
6
7
|
import '@maskito/core';
|
|
7
8
|
import '@maskito/react';
|
|
8
9
|
import 'classnames';
|
|
9
|
-
import '../../shared/modern';
|
|
10
10
|
import './utils.js';
|
|
11
11
|
import './components/steppers/Component.js';
|
|
12
12
|
import '../../icon-button/modern';
|
|
13
13
|
import '@alfalab/icons-glyph/MinusMIcon';
|
|
14
14
|
import '@alfalab/icons-glyph/PlusMediumMIcon';
|
|
15
15
|
|
|
16
|
-
const NumberInputResponsive = forwardRef(({ breakpoint =
|
|
16
|
+
const NumberInputResponsive = forwardRef(({ breakpoint = getComponentBreakpoint(), defaultMatchMediaValue, ...restProps }, ref) => {
|
|
17
17
|
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, defaultMatchMediaValue);
|
|
18
18
|
return (React.createElement(NumberInput, { ...restProps, Input: Input, ref: ref, view: isDesktop ? 'desktop' : 'mobile', breakpoint: breakpoint, defaultMatchMediaValue: defaultMatchMediaValue }));
|
|
19
19
|
});
|
|
@@ -2,12 +2,12 @@ export { NumberInputResponsive as NumberInput } from './Component.responsive.js'
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../input/modern';
|
|
4
4
|
import '../../mq/modern';
|
|
5
|
+
import '../../shared/modern';
|
|
5
6
|
import './components/number-input/Component.js';
|
|
6
7
|
import 'react-merge-refs';
|
|
7
8
|
import '@maskito/core';
|
|
8
9
|
import '@maskito/react';
|
|
9
10
|
import 'classnames';
|
|
10
|
-
import '../../shared/modern';
|
|
11
11
|
import './utils.js';
|
|
12
12
|
import './components/steppers/Component.js';
|
|
13
13
|
import '../../icon-button/modern';
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsMq = require('../mq');
|
|
6
|
+
var coreComponentsShared = require('../shared');
|
|
6
7
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
7
8
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
8
9
|
|
|
@@ -11,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
|
|
13
14
|
var PatternLock = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
15
16
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
16
17
|
var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
|
|
17
18
|
var Component = isDesktop ? desktop_Component_desktop.PatternLockDesktop : mobile_Component_mobile.PatternLockMobile;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsMq = require('../../mq/cssm');
|
|
6
|
+
var coreComponentsShared = require('../../shared/cssm');
|
|
6
7
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
7
8
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
8
9
|
|
|
@@ -11,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
|
|
13
14
|
var PatternLock = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
15
16
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
16
17
|
var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
|
|
17
18
|
var Component = isDesktop ? desktop_Component_desktop.PatternLockDesktop : mobile_Component_mobile.PatternLockMobile;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { useMatchMedia } from '../../mq/esm';
|
|
4
|
+
import { getComponentBreakpoint } from '../../shared/esm';
|
|
4
5
|
import { PatternLockDesktop } from './desktop/Component.desktop.js';
|
|
5
6
|
import { PatternLockMobile } from './mobile/Component.mobile.js';
|
|
6
7
|
import './components/base-pattern-lock/Component.js';
|
|
7
8
|
import 'react-canvas-pattern-lock';
|
|
8
9
|
import 'classnames';
|
|
9
10
|
import '../../button/esm/mobile';
|
|
10
|
-
import '../../shared/esm';
|
|
11
11
|
import './consts.js';
|
|
12
12
|
import './utils.js';
|
|
13
13
|
|
|
14
14
|
var PatternLock = forwardRef(function (_a, ref) {
|
|
15
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? getComponentBreakpoint() : _b, restProps = __rest(_a, ["breakpoint"]);
|
|
16
16
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
17
17
|
var isDesktop = useMatchMedia(query)[0];
|
|
18
18
|
var Component = isDesktop ? PatternLockDesktop : PatternLockMobile;
|
|
@@ -3,11 +3,11 @@ export { THEME_STATE } from './consts.js';
|
|
|
3
3
|
import 'tslib';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../../mq/esm';
|
|
6
|
+
import '../../shared/esm';
|
|
6
7
|
import './desktop/Component.desktop.js';
|
|
7
8
|
import './components/base-pattern-lock/Component.js';
|
|
8
9
|
import 'react-canvas-pattern-lock';
|
|
9
10
|
import 'classnames';
|
|
10
11
|
import '../../button/esm/mobile';
|
|
11
|
-
import '../../shared/esm';
|
|
12
12
|
import './utils.js';
|
|
13
13
|
import './mobile/Component.mobile.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { useMatchMedia } from '../../mq/modern';
|
|
3
|
+
import { getComponentBreakpoint } from '../../shared/modern';
|
|
3
4
|
import { PatternLockDesktop } from './desktop/Component.desktop.js';
|
|
4
5
|
import { PatternLockMobile } from './mobile/Component.mobile.js';
|
|
5
6
|
import './components/base-pattern-lock/Component.js';
|
|
6
7
|
import 'react-canvas-pattern-lock';
|
|
7
8
|
import 'classnames';
|
|
8
9
|
import '../../button/modern/mobile';
|
|
9
|
-
import '../../shared/modern';
|
|
10
10
|
import './consts.js';
|
|
11
11
|
import './utils.js';
|
|
12
12
|
|
|
13
|
-
const PatternLock = forwardRef(({ breakpoint =
|
|
13
|
+
const PatternLock = forwardRef(({ breakpoint = getComponentBreakpoint(), ...restProps }, ref) => {
|
|
14
14
|
const query = `(min-width: ${breakpoint}px)`;
|
|
15
15
|
const [isDesktop] = useMatchMedia(query);
|
|
16
16
|
const Component = isDesktop ? PatternLockDesktop : PatternLockMobile;
|
|
@@ -2,11 +2,11 @@ export { PatternLock } from './Component.responsive.js';
|
|
|
2
2
|
export { THEME_STATE } from './consts.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../mq/modern';
|
|
5
|
+
import '../../shared/modern';
|
|
5
6
|
import './desktop/Component.desktop.js';
|
|
6
7
|
import './components/base-pattern-lock/Component.js';
|
|
7
8
|
import 'react-canvas-pattern-lock';
|
|
8
9
|
import 'classnames';
|
|
9
10
|
import '../../button/modern/mobile';
|
|
10
|
-
import '../../shared/modern';
|
|
11
11
|
import './utils.js';
|
|
12
12
|
import './mobile/Component.mobile.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alfalab/core-components-shared",
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "Shared package for core-components",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"module": "./esm/index.js",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"directory": "dist"
|
|
12
|
+
},
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"react": ">=16.8.0"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@alfalab/hooks": "^1.13.0",
|
|
18
|
+
"tslib": "^2.4.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@maskito/core": "^1.7.0"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var coreComponentsShared = require('../shared');
|
|
5
6
|
var hooks = require('@alfalab/hooks');
|
|
6
7
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
7
8
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
@@ -11,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
|
|
13
14
|
var PickerButtonResponsive = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
|
|
15
16
|
var view = hooks.useMedia([
|
|
16
17
|
['mobile', "(max-width: ".concat(breakpoint - 1, "px)")],
|
|
17
18
|
['desktop', "(min-width: ".concat(breakpoint, "px)")],
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var coreComponentsShared = require('../../shared/cssm');
|
|
5
6
|
var hooks = require('@alfalab/hooks');
|
|
6
7
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
7
8
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
@@ -11,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
|
|
13
14
|
var PickerButtonResponsive = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
15
|
+
var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
|
|
15
16
|
var view = hooks.useMedia([
|
|
16
17
|
['mobile', "(max-width: ".concat(breakpoint - 1, "px)")],
|
|
17
18
|
['desktop', "(min-width: ".concat(breakpoint, "px)")],
|
|
@@ -4,6 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var mobile = require('../../../select/cssm/mobile');
|
|
6
6
|
var shared = require('../../../select/cssm/shared');
|
|
7
|
+
var coreComponentsShared = require('../../../shared/cssm');
|
|
7
8
|
var field_Component = require('../field/Component.js');
|
|
8
9
|
var option_Component = require('../option/Component.js');
|
|
9
10
|
|
|
@@ -12,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
14
|
|
|
14
15
|
var PickerButtonMobile = React.forwardRef(function (_a, ref) {
|
|
15
|
-
var options = _a.options, label = _a.label, _b = _a.Option, Option = _b === void 0 ? option_Component.Option : _b, _c = _a.Optgroup, Optgroup = _c === void 0 ? shared.Optgroup : _c, view = _a.view, loading = _a.loading, _d = _a.variant, variant = _d === void 0 ? 'default' : _d, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, size = _a.size, bottomSheetProps = _a.bottomSheetProps, showArrow = _a.showArrow, _e = _a.Field, Field = _e === void 0 ? field_Component.Field : _e, _f = _a.fieldProps, fieldProps = _f === void 0 ? {} : _f, icon = _a.icon, _g = _a.breakpoint, breakpoint = _g === void 0 ?
|
|
16
|
+
var options = _a.options, label = _a.label, _b = _a.Option, Option = _b === void 0 ? option_Component.Option : _b, _c = _a.Optgroup, Optgroup = _c === void 0 ? shared.Optgroup : _c, view = _a.view, loading = _a.loading, _d = _a.variant, variant = _d === void 0 ? 'default' : _d, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, size = _a.size, bottomSheetProps = _a.bottomSheetProps, showArrow = _a.showArrow, _e = _a.Field, Field = _e === void 0 ? field_Component.Field : _e, _f = _a.fieldProps, fieldProps = _f === void 0 ? {} : _f, icon = _a.icon, _g = _a.breakpoint, breakpoint = _g === void 0 ? coreComponentsShared.getComponentBreakpoint() : _g, restProps = tslib.__rest(_a, ["options", "label", "Option", "Optgroup", "view", "loading", "variant", "leftAddons", "rightAddons", "size", "bottomSheetProps", "showArrow", "Field", "fieldProps", "icon", "breakpoint"]);
|
|
16
17
|
var fieldDefaultProps = {
|
|
17
18
|
view: view,
|
|
18
19
|
loading: loading,
|