@alphakits/ui 2.0.1 → 2.0.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/__internal/utils/getDataTestId.d.ts +1 -1
- package/dist/amount/component.d.ts +2 -2
- package/dist/amount/index.module.css +1 -1
- package/dist/amount/index.module.css.js +6 -6
- package/dist/amount-input/component.d.ts +2 -2
- package/dist/amount-input/index.module.css +1 -1
- package/dist/amount-input/index.module.css.js +10 -10
- package/dist/avatar/component.d.ts +1 -1
- package/dist/avatar/component.js +1 -1
- package/dist/avatar/component.js.map +1 -1
- package/dist/avatar/index.module.css +1 -1
- package/dist/avatar/index.module.css.js +6 -6
- package/dist/back-button/component.d.ts +1 -1
- package/dist/back-button/index.module.css +1 -1
- package/dist/back-button/index.module.css.js +1 -1
- package/dist/badge/component.js +18 -18
- package/dist/badge/component.js.map +1 -1
- package/dist/badge/index.module.css +1 -1
- package/dist/badge/index.module.css.js +32 -32
- package/dist/base-card/index.module.css +1 -1
- package/dist/base-card/index.module.css.js +26 -26
- package/dist/bottom-sheet/component.d.ts +1 -1
- package/dist/bottom-sheet/index.module.css +1 -1
- package/dist/bottom-sheet/index.module.css.js +2 -2
- package/dist/box/component.d.ts +1 -1
- package/dist/box/index.module.css +1 -1
- package/dist/box/index.module.css.js +36 -36
- package/dist/button/component.d.ts +3 -3
- package/dist/button/index.module.css +1 -1
- package/dist/button/index.module.css.js +40 -40
- package/dist/button-arrow/component.d.ts +2 -2
- package/dist/button-arrow/component.js +31 -21
- package/dist/button-arrow/component.js.map +1 -1
- package/dist/button-arrow/index.module.css +1 -1
- package/dist/button-arrow/index.module.css.js +10 -10
- package/dist/calendar/component.d.ts +2 -2
- package/dist/calendar/component.js +55 -49
- package/dist/calendar/component.js.map +1 -1
- package/dist/calendar/components/days-table/component.d.ts +1 -1
- package/dist/calendar/components/days-table/component.js +10 -10
- package/dist/calendar/components/days-table/component.js.map +1 -1
- package/dist/calendar/components/days-table/index.module.css +1 -1
- package/dist/calendar/components/days-table/index.module.css.js +54 -54
- package/dist/calendar/components/header/index.module.css +1 -1
- package/dist/calendar/components/header/index.module.css.js +12 -12
- package/dist/calendar/components/header//321/201omponent.d.ts +1 -1
- package/dist/calendar/components/header//321/201omponent.js +23 -23
- package/dist/calendar/components/header//321/201omponent.js.map +1 -1
- package/dist/calendar/components/months-table/index.module.css +1 -1
- package/dist/calendar/components/months-table/index.module.css.js +4 -4
- package/dist/calendar/components/months-table//321/201omponent.d.ts +1 -1
- package/dist/calendar/components/months-table//321/201omponent.js +1 -1
- package/dist/calendar/components/months-table//321/201omponent.js.map +1 -1
- package/dist/calendar/components/select-button/index.module.css +1 -1
- package/dist/calendar/components/select-button/index.module.css.js +8 -8
- package/dist/calendar/components/select-button//321/201omponent.d.ts +1 -1
- package/dist/calendar/components/years-table/index.module.css +1 -1
- package/dist/calendar/components/years-table/index.module.css.js +6 -6
- package/dist/calendar/components/years-table//321/201omponent.d.ts +1 -1
- package/dist/calendar/index.module.css +1 -1
- package/dist/calendar/index.module.css.js +5 -5
- package/dist/calendar/typings.d.ts +6 -6
- package/dist/calendar/use-calendar.d.ts +2 -2
- package/dist/calendar/use-period.d.ts +4 -4
- package/dist/calendar-input/component.d.ts +2 -2
- package/dist/calendar-input/index.module.css +1 -1
- package/dist/calendar-input/index.module.css.js +10 -10
- package/dist/card/images/index.module.css +1 -1
- package/dist/card/images/index.module.css.js +10 -10
- package/dist/card/index.module.css +1 -1
- package/dist/card/index.module.css.js +6 -6
- package/dist/cell/base/component.d.ts +1 -1
- package/dist/cell/base/index.module.css +1 -1
- package/dist/cell/base/index.module.css.js +10 -10
- package/dist/cell/pure/component.d.ts +2 -2
- package/dist/cell/pure/index.module.css +1 -1
- package/dist/cell/pure/index.module.css.js +22 -22
- package/dist/checkbox/component.d.ts +4 -4
- package/dist/checkbox/index.module.css +1 -1
- package/dist/checkbox/index.module.css.js +30 -30
- package/dist/checkbox-group/component.d.ts +2 -2
- package/dist/checkbox-group/index.module.css +1 -1
- package/dist/checkbox-group/index.module.css.js +1 -1
- package/dist/checkbox-lists/component.d.ts +2 -2
- package/dist/checkbox-lists/index.module.css +1 -1
- package/dist/checkbox-lists/index.module.css.js +6 -6
- package/dist/collapsable-row/component.d.ts +1 -1
- package/dist/collapsable-row/index.module.css +1 -1
- package/dist/collapsable-row/index.module.css.js +10 -10
- package/dist/collapse/component.d.ts +1 -1
- package/dist/collapse/component.js +4 -2
- package/dist/collapse/component.js.map +1 -1
- package/dist/collapse/index.module.css +1 -1
- package/dist/collapse/index.module.css.js +6 -6
- package/dist/copy-button/component.d.ts +1 -1
- package/dist/copy-button/index.module.css +1 -1
- package/dist/copy-button/index.module.css.js +2 -2
- package/dist/date-switcher/index.module.css +1 -1
- package/dist/date-switcher/index.module.css.js +8 -8
- package/dist/decorated-item/index.module.css +1 -1
- package/dist/decorated-item/index.module.css.js +2 -2
- package/dist/divider/component.d.ts +1 -1
- package/dist/divider/index.module.css +1 -1
- package/dist/divider/index.module.css.js +10 -10
- package/dist/dot/component.d.ts +1 -1
- package/dist/dot/index.module.css +1 -1
- package/dist/dot/index.module.css.js +20 -20
- package/dist/empty-page/component.d.ts +1 -1
- package/dist/empty-page/index.module.css +1 -1
- package/dist/empty-page/index.module.css.js +8 -8
- package/dist/flex/component.d.ts +1 -1
- package/dist/flex/index.module.css +1 -1
- package/dist/flex/index.module.css.js +38 -38
- package/dist/flex-columns/index.module.css +1 -1
- package/dist/flex-columns/index.module.css.js +2 -2
- package/dist/footer/index.module.css +1 -1
- package/dist/footer/index.module.css.js +20 -20
- package/dist/form/components/form-loading/index.module.css +1 -1
- package/dist/form/components/form-loading/index.module.css.js +10 -10
- package/dist/form/templates/base-form/index.d.ts +1 -1
- package/dist/form/templates/filters-form/index.d.ts +2 -2
- package/dist/form/templates/rest-form/form.d.ts +1 -1
- package/dist/form/templates/rest-form/index.d.ts +1 -1
- package/dist/form-control/component.d.ts +1 -1
- package/dist/form-control/index.module.css +1 -1
- package/dist/form-control/index.module.css.js +46 -46
- package/dist/grid/col/component.d.ts +1 -1
- package/dist/grid/col/index.module.css +1 -1
- package/dist/grid/col/index.module.css.js +512 -512
- package/dist/grid/gutters.module.css +1 -1
- package/dist/grid/gutters.module.css.js +45 -45
- package/dist/grid/row/component.d.ts +1 -1
- package/dist/grid/row/index.module.css +1 -1
- package/dist/grid/row/index.module.css.js +14 -14
- package/dist/grid/typings.d.ts +6 -6
- package/dist/header-search/component.d.ts +1 -1
- package/dist/header-search/index.module.css +1 -1
- package/dist/header-search/index.module.css.js +1 -1
- package/dist/hooks/use-crud-form-requests/index.d.ts +1 -1
- package/dist/hooks/useFocus/index.d.ts +1 -1
- package/dist/icon-button/component.d.ts +1 -1
- package/dist/icon-button/index.module.css +1 -1
- package/dist/icon-button/index.module.css.js +12 -12
- package/dist/image/image-base.d.ts +1 -1
- package/dist/image/index.module.css +1 -1
- package/dist/image/index.module.css.js +69 -69
- package/dist/image/types.d.ts +3 -3
- package/dist/image/use-image-render-component.d.ts +1 -1
- package/dist/image-gallery/component.d.ts +1 -1
- package/dist/image-uploader/component.d.ts +1 -1
- package/dist/image-uploader/index.module.css +1 -1
- package/dist/image-uploader/index.module.css.js +6 -6
- package/dist/index.js +254 -248
- package/dist/index.js.map +1 -1
- package/dist/info-block-header/index.module.css +1 -1
- package/dist/info-block-header/index.module.css.js +4 -4
- package/dist/info-block-item/index.module.css +1 -1
- package/dist/info-block-item/index.module.css.js +10 -10
- package/dist/info-block-wrapper/index.module.css +1 -1
- package/dist/info-block-wrapper/index.module.css.js +6 -6
- package/dist/input/component.d.ts +2 -2
- package/dist/input/index.module.css +1 -1
- package/dist/input/index.module.css.js +10 -10
- package/dist/input-autocomplete/autocomplete-field/index.d.ts +2 -2
- package/dist/input-autocomplete/autocomplete-field/index.js.map +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.module.css +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.module.css.js +1 -1
- package/dist/input-autocomplete/component.d.ts +3 -3
- package/dist/input-ghost/index.module.css +1 -1
- package/dist/input-ghost/index.module.css.js +12 -12
- package/dist/link/component.d.ts +2 -2
- package/dist/link/index.module.css +1 -1
- package/dist/link/index.module.css.js +23 -23
- package/dist/list-allert/component.d.ts +1 -1
- package/dist/list-allert/index.module.css +1 -1
- package/dist/list-allert/index.module.css.js +5 -5
- package/dist/loader/component.d.ts +1 -1
- package/dist/loader/index.module.css +1 -1
- package/dist/loader/index.module.css.js +1 -1
- package/dist/masked-input/component.d.ts +2 -2
- package/dist/masked-input/index.module.css +1 -1
- package/dist/masked-input/index.module.css.js +4 -4
- package/dist/menu/component.d.ts +2 -2
- package/dist/menu/components/content-header/index.d.ts +1 -1
- package/dist/menu/components/content-header/index.module.css +1 -1
- package/dist/menu/components/content-header/index.module.css.js +1 -1
- package/dist/menu/components/menu-avatar/index.d.ts +1 -1
- package/dist/menu/components/menu-avatar/index.module.css +1 -1
- package/dist/menu/components/menu-avatar/index.module.css.js +2 -2
- package/dist/menu/components/menu-back-button/index.d.ts +1 -1
- package/dist/menu/components/menu-back-button/index.module.css +1 -1
- package/dist/menu/components/menu-back-button/index.module.css.js +6 -6
- package/dist/menu/components/menu-button/index.module.css +1 -1
- package/dist/menu/components/menu-button/index.module.css.js +13 -13
- package/dist/menu/components/menu-buttons-list/index.d.ts +1 -1
- package/dist/menu/components/menu-buttons-list/index.module.css +1 -1
- package/dist/menu/components/menu-buttons-list/index.module.css.js +1 -1
- package/dist/menu/components/user-button/index.d.ts +1 -1
- package/dist/menu/components/user-button/index.module.css +1 -1
- package/dist/menu/components/user-button/index.module.css.js +4 -4
- package/dist/menu/index.module.css +1 -1
- package/dist/menu/index.module.css.js +12 -12
- package/dist/message/component.d.ts +1 -1
- package/dist/message/index.module.css +1 -1
- package/dist/message/index.module.css.js +6 -6
- package/dist/modal/components/modals/index.d.ts +1 -1
- package/dist/modal/components/modals/index.module.css +1 -1
- package/dist/modal/components/modals/index.module.css.js +16 -16
- package/dist/modal/components/modals/modal.d.ts +1 -1
- package/dist/modal/hooks/use-modal.d.ts +1 -1
- package/dist/modal/types.d.ts +6 -6
- package/dist/mq/component.d.ts +1 -1
- package/dist/mq/mq-list.d.ts +19 -0
- package/dist/mq/{mq.json.js → mq-list.js} +1 -1
- package/dist/mq/mq-list.js.map +1 -0
- package/dist/mq/utils.d.ts +2 -2
- package/dist/mq/utils.js +22 -15
- package/dist/mq/utils.js.map +1 -1
- package/dist/notification/component.d.ts +4 -4
- package/dist/notification/index.module.css +1 -1
- package/dist/notification/index.module.css.js +7 -7
- package/dist/page-container/component.d.ts +2 -2
- package/dist/page-container/index.module.css +1 -1
- package/dist/page-container/index.module.css.js +6 -6
- package/dist/page-loading/index.module.css +1 -1
- package/dist/page-loading/index.module.css.js +1 -1
- package/dist/page-with-controls/component.d.ts +3 -3
- package/dist/picker-button/common/labeled-button/index.d.ts +1 -1
- package/dist/picker-button/common/labeled-button/index.module.css +1 -1
- package/dist/picker-button/common/labeled-button/index.module.css.js +4 -4
- package/dist/picker-button/component.d.ts +3 -3
- package/dist/picker-button/field/Component.d.ts +2 -2
- package/dist/picker-button/field/Component.js.map +1 -1
- package/dist/picker-button/field/index.module.css +1 -1
- package/dist/picker-button/field/index.module.css.js +1 -1
- package/dist/picker-button/index.module.css +1 -1
- package/dist/picker-button/index.module.css.js +2 -2
- package/dist/popover/component.d.ts +5 -5
- package/dist/popover/component.js +108 -73
- package/dist/popover/component.js.map +1 -1
- package/dist/popover/index.module.css +1 -1
- package/dist/popover/index.module.css.js +6 -6
- package/dist/portal/component.d.ts +1 -1
- package/dist/progress-bar/component.d.ts +1 -1
- package/dist/progress-bar/index.module.css +1 -1
- package/dist/progress-bar/index.module.css.js +24 -24
- package/dist/progress-index/component.d.ts +1 -1
- package/dist/progress-index/index.module.css +1 -1
- package/dist/progress-index/index.module.css.js +1 -1
- package/dist/radio/component.d.ts +4 -4
- package/dist/radio/index.module.css +1 -1
- package/dist/radio/index.module.css.js +28 -28
- package/dist/radio-group/component.d.ts +1 -1
- package/dist/radio-group/index.module.css +1 -1
- package/dist/radio-group/index.module.css.js +14 -14
- package/dist/radio-groups/component.d.ts +2 -2
- package/dist/radio-groups/index.module.css +1 -1
- package/dist/radio-groups/index.module.css.js +6 -6
- package/dist/section-wrapper/index.module.css +1 -1
- package/dist/section-wrapper/index.module.css.js +4 -4
- package/dist/select/component.d.ts +2 -2
- package/dist/select/component.js +11 -11
- package/dist/select/component.js.map +1 -1
- package/dist/select/components/arrow/index.module.css +1 -1
- package/dist/select/components/arrow/index.module.css.js +4 -4
- package/dist/select/components/base-select/index.module.css +1 -1
- package/dist/select/components/base-select/index.module.css.js +5 -5
- package/dist/select/components/checkmark/index.module.css +1 -1
- package/dist/select/components/checkmark/index.module.css.js +2 -2
- package/dist/select/components/field/component.d.ts +2 -2
- package/dist/select/components/field/component.js +14 -14
- package/dist/select/components/field/component.js.map +1 -1
- package/dist/select/components/field/index.js +2 -2
- package/dist/select/components/field/index.module.css +1 -1
- package/dist/select/components/field/index.module.css.js +14 -14
- package/dist/select/components/index.js +8 -8
- package/dist/select/components/native-select/component.d.ts +1 -1
- package/dist/select/components/optgroup/index.module.css +1 -1
- package/dist/select/components/optgroup/index.module.css.js +6 -6
- package/dist/select/components/option/index.module.css +1 -1
- package/dist/select/components/option/index.module.css.js +18 -18
- package/dist/select/components/options-list/index.module.css +1 -1
- package/dist/select/components/options-list/index.module.css.js +8 -8
- package/dist/select/components/select-search/index.d.ts +3 -3
- package/dist/select/components/select-search/index.js +58 -73
- package/dist/select/components/select-search/index.js.map +1 -1
- package/dist/select/components/select-search/index.module.css +1 -1
- package/dist/select/components/select-search/index.module.css.js +2 -2
- package/dist/select/components/virtual-options-list/component.d.ts +1 -1
- package/dist/select/components/virtual-options-list/index.module.css +1 -1
- package/dist/select/components/virtual-options-list/index.module.css.js +8 -8
- package/dist/select/index.js +10 -10
- package/dist/select/presets/use-lazy-loading/index.d.ts +2 -2
- package/dist/select/presets/use-select-with-loading/hook.d.ts +1 -1
- package/dist/select/presets/use-select-with-loading/index.module.css +1 -1
- package/dist/select/presets/use-select-with-loading/index.module.css.js +2 -2
- package/dist/select/typings.d.ts +10 -10
- package/dist/select/utils.d.ts +5 -5
- package/dist/sidepanel/component.d.ts +2 -2
- package/dist/sidepanel/index.module.css +1 -1
- package/dist/sidepanel/index.module.css.js +10 -10
- package/dist/sidepanel-header/component.d.ts +2 -2
- package/dist/sidepanel-header/index.module.css +1 -1
- package/dist/sidepanel-header/index.module.css.js +12 -12
- package/dist/skeleton/component.d.ts +1 -1
- package/dist/skeleton/index.module.css +1 -1
- package/dist/skeleton/index.module.css.js +3 -3
- package/dist/space/component.d.ts +1 -1
- package/dist/space/index.module.css +1 -1
- package/dist/space/index.module.css.js +10 -10
- package/dist/space/utils.d.ts +3 -3
- package/dist/spinner/component.d.ts +1 -1
- package/dist/spinner/index.module.css +1 -1
- package/dist/spinner/index.module.css.js +21 -21
- package/dist/stack/component.d.ts +1 -1
- package/dist/status/component.d.ts +1 -1
- package/dist/status/index.module.css +1 -1
- package/dist/status/index.module.css.js +26 -26
- package/dist/stepped-progress-bar/components/step-bar.d.ts +2 -2
- package/dist/stepped-progress-bar/index.d.ts +2 -2
- package/dist/stepped-progress-bar/index.module.css +1 -1
- package/dist/stepped-progress-bar/index.module.css.js +24 -24
- package/dist/sticker/index.module.css +1 -1
- package/dist/sticker/index.module.css.js +6 -6
- package/dist/suffix-input/component.d.ts +2 -2
- package/dist/suffix-input/index.module.css +1 -1
- package/dist/suffix-input/index.module.css.js +10 -10
- package/dist/super-list-header/index.module.css +1 -1
- package/dist/super-list-header/index.module.css.js +10 -10
- package/dist/super-list-item/index.module.css +1 -1
- package/dist/super-list-item/index.module.css.js +9 -9
- package/dist/switch/component.d.ts +3 -3
- package/dist/switch/index.module.css +1 -1
- package/dist/switch/index.module.css.js +23 -23
- package/dist/table/columns.d.ts +1 -1
- package/dist/table/components/cell/component.d.ts +1 -1
- package/dist/table/components/cell/index.module.css +1 -1
- package/dist/table/components/cell/index.module.css.js +10 -10
- package/dist/table/components/cells/index.d.ts +2 -3
- package/dist/table/components/cells/index.js +45 -49
- package/dist/table/components/cells/index.js.map +1 -1
- package/dist/table/components/cells/index.module.css +1 -1
- package/dist/table/components/cells/index.module.css.js +18 -18
- package/dist/table/components/empty-list/index.module.css +1 -1
- package/dist/table/components/empty-list/index.module.css.js +2 -2
- package/dist/table/components/error/index.module.css +1 -1
- package/dist/table/components/error/index.module.css.js +2 -2
- package/dist/table/components/loading/index.d.ts +1 -1
- package/dist/table/components/loading/index.module.css +1 -1
- package/dist/table/components/loading/index.module.css.js +4 -4
- package/dist/table/components/pagination/index.d.ts +1 -1
- package/dist/table/components/pagination/index.module.css +1 -1
- package/dist/table/components/pagination/index.module.css.js +18 -18
- package/dist/table/components/table-header/index.d.ts +1 -1
- package/dist/table/components/table-header/index.module.css +1 -1
- package/dist/table/components/table-header/index.module.css.js +11 -11
- package/dist/table/hooks/use-table-data.d.ts +3 -3
- package/dist/table/index.module.css +1 -1
- package/dist/table/index.module.css.js +8 -8
- package/dist/table/table.d.ts +5 -10
- package/dist/table/table.js +110 -214
- package/dist/table/table.js.map +1 -1
- package/dist/table/types.d.ts +10 -10
- package/dist/table/utils/get-tags.d.ts +1 -1
- package/dist/table/utils/prepare-rows.d.ts +1 -1
- package/dist/table-status/component.d.ts +1 -1
- package/dist/table-status/index.module.css +1 -1
- package/dist/table-status/index.module.css.js +4 -4
- package/dist/tag/component.d.ts +1 -1
- package/dist/tag/index.module.css +1 -1
- package/dist/tag/index.module.css.js +15 -15
- package/dist/tags-list/component.d.ts +1 -1
- package/dist/tags-list/index.module.css +1 -1
- package/dist/tags-list/index.module.css.js +1 -1
- package/dist/textarea/component.d.ts +3 -3
- package/dist/textarea/component.js +63 -62
- package/dist/textarea/component.js.map +1 -1
- package/dist/textarea/index.module.css +1 -1
- package/dist/textarea/index.module.css.js +14 -14
- package/dist/theme-provider/component.d.ts +1 -1
- package/dist/theme-provider/default-themes.d.ts +3 -3
- package/dist/toast/component.d.ts +1 -1
- package/dist/toast/index.module.css +1 -1
- package/dist/toast/index.module.css.js +15 -15
- package/dist/toast-notifier/component.d.ts +1 -1
- package/dist/toast-notifier/index.module.css +1 -1
- package/dist/toast-notifier/index.module.css.js +10 -10
- package/dist/toast-plate/component.d.ts +2 -2
- package/dist/toast-plate/index.module.css +1 -1
- package/dist/toast-plate/index.module.css.js +29 -29
- package/dist/tooltip/component.d.ts +2 -2
- package/dist/tooltip/index.module.css +1 -1
- package/dist/tooltip/index.module.css.js +6 -6
- package/dist/typings/api.d.ts +7 -7
- package/dist/typography/colors.d.ts +1 -1
- package/dist/typography/colors.module.css +1 -1
- package/dist/typography/colors.module.css.js +23 -23
- package/dist/typography/text/component.d.ts +1 -1
- package/dist/typography/text/index.module.css +1 -1
- package/dist/typography/text/index.module.css.js +22 -22
- package/dist/typography/title/common.module.css +1 -1
- package/dist/typography/title/common.module.css.js +4 -4
- package/dist/typography/title/component.d.ts +2 -2
- package/dist/typography/title/index.module.css +1 -1
- package/dist/typography/title/index.module.css.js +17 -17
- package/dist/utils/data/currency-codes.d.ts +1 -1
- package/dist/utils/date/index.d.ts +1 -1
- package/dist/utils/debounce.d.ts +8 -0
- package/dist/utils/debounce.js +15 -0
- package/dist/utils/debounce.js.map +1 -0
- package/dist/utils/format-amount/util.d.ts +1 -1
- package/dist/utils/format-date/index.d.ts +1 -1
- package/dist/utils/get-currency-symbol/util.d.ts +2 -1
- package/dist/utils/get-service-error/index.d.ts +2 -2
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +43 -37
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/safe-stringify.d.ts +2 -0
- package/dist/utils/safe-stringify.js +20 -0
- package/dist/utils/safe-stringify.js.map +1 -0
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +7 -0
- package/dist/utils/string.js.map +1 -0
- package/dist/welcome-layout/component.d.ts +1 -1
- package/dist/welcome-layout/index.module.css +1 -1
- package/dist/welcome-layout/index.module.css.js +13 -13
- package/dist/with-suffix/component.d.ts +2 -2
- package/dist/with-suffix/index.module.css +1 -1
- package/dist/with-suffix/index.module.css.js +14 -14
- package/package.json +5 -11
- package/dist/checkbox-lists/mock.d.ts +0 -81
- package/dist/checkbox-lists/mock.js +0 -208
- package/dist/checkbox-lists/mock.js.map +0 -1
- package/dist/collapsable-row/fixtures.d.ts +0 -99
- package/dist/collapsable-row/fixtures.js +0 -182
- package/dist/collapsable-row/fixtures.js.map +0 -1
- package/dist/mq/mq.json.js.map +0 -1
- package/dist/radio-groups/mock.d.ts +0 -9
- package/dist/radio-groups/mock.js +0 -83
- package/dist/radio-groups/mock.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.layout_wrapper_amEh{width:100%;height:100%;position:relative}.left_menu_N5dg{position:absolute;left:0;top:0;bottom:0;width:88px;background-color:var(--color-bg-secondary);transition:all .3s ease-in-out;z-index:10;overflow:hidden;display:flex;flex-direction:column}.menu_static_FNEj{width:296px}.hidden_menu_opened_X0hF{width:296px;background-color:var(--color-bg-secondary);box-shadow:var(--shadow-s-hard)}.content_header_WlsJ{padding:28px 32px 23px 44px;display:flex;align-items:center;justify-content:space-between}.content_header_WlsJ>div{display:flex;align-items:center}.header_buttons_rckN>*:not(:last-child){margin-right:16px}.header_buttons_rckN>*:last-child{margin-right:0}.content_wrapper_6MsO{margin-left:88px;height:100%;transition:margin .3s ease-in-out;display:flex;flex-direction:column}.content_offseted_wo5X{margin-left:296px}.calendar_view_PeL0{margin-right:296px}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "layout_wrapper_amEh", n = "left_menu_N5dg", t = "menu_static_FNEj", _ = "hidden_menu_opened_X0hF", o = "content_header_WlsJ", a = "content_wrapper_6MsO", c = "content_offseted_wo5X", d = "calendar_view_PeL0", s = {
|
|
3
3
|
layout_wrapper: e,
|
|
4
4
|
left_menu: n,
|
|
5
|
-
menu_static:
|
|
6
|
-
hidden_menu_opened:
|
|
5
|
+
menu_static: t,
|
|
6
|
+
hidden_menu_opened: _,
|
|
7
7
|
content_header: o,
|
|
8
|
-
content_wrapper:
|
|
9
|
-
content_offseted:
|
|
10
|
-
calendar_view:
|
|
8
|
+
content_wrapper: a,
|
|
9
|
+
content_offseted: c,
|
|
10
|
+
calendar_view: d
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
d as calendar_view,
|
|
14
14
|
o as content_header,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
c as content_offseted,
|
|
16
|
+
a as content_wrapper,
|
|
17
|
+
s as default,
|
|
18
|
+
_ as hidden_menu_opened,
|
|
19
19
|
e as layout_wrapper,
|
|
20
20
|
n as left_menu,
|
|
21
|
-
|
|
21
|
+
t as menu_static
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.topRow_IFW6{display:flex;align-items:center;justify-content:space-between;max-width:100%;width:100%}.answer_tTLU{border-left:2px solid var(--color-border-secondary);padding-left:16px;display:block;padding-top:4px}.leftSide_vZvX{display:flex;align-items:center;max-width:80%}.leftSide_vZvX>span{white-space:nowrap}.leftSide_vZvX>*{margin-right:var(--gap-m)}:is(.leftSide_vZvX>*):last-child{margin-right:0}.title_9s63{overflow:hidden;text-overflow:ellipsis}.rightAddons_fhvS{display:flex;align-items:center}.rightAddons_fhvS>*{margin-left:var(--gap-xs)}:is(.rightAddons_fhvS>*):first-child{margin-left:var(--gap-xl)}.text_U4-9{padding-left:48px}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "topRow_IFW6", e = "answer_tTLU", o = "leftSide_vZvX", s = "title_9s63", n = "rightAddons_fhvS", d = "text_U4-9", i = {
|
|
3
3
|
topRow: t,
|
|
4
4
|
answer: e,
|
|
5
5
|
leftSide: o,
|
|
6
|
-
title:
|
|
6
|
+
title: s,
|
|
7
7
|
rightAddons: n,
|
|
8
|
-
text:
|
|
8
|
+
text: d
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
11
|
e as answer,
|
|
12
|
-
|
|
12
|
+
i as default,
|
|
13
13
|
o as leftSide,
|
|
14
14
|
n as rightAddons,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
d as text,
|
|
16
|
+
s as title,
|
|
17
17
|
t as topRow
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.container_WE0K{position:fixed;inset:0;display:flex;align-items:center;justify-content:center}.content_p1kc{background:var(--color-bg-primary);box-shadow:0 0 10px #0003}@media print{.content_p1kc{width:100%!important}}.button_js2W{position:absolute!important;top:36px;right:32px;z-index:999}.button_js2W.doubleModal_1ZTt{right:384px}.inner_Zsdb{height:100%;box-sizing:border-box;overflow:auto}.right_e065{position:fixed;top:0;right:0;bottom:0;transition:width .2s,opacity .2s,right .2s;transition-delay:width .1s;transition-timing-function:ease-in}.bg_8ZfP{transition:opacity .2s;background:#00000080;position:fixed;display:block;border:0;inset:0}@media screen and (max-width:823px){.right_e065,.center_nguy{max-width:100%!important;inset:0!important}.content_p1kc{width:100%!important;height:100%!important;max-height:100%!important;box-shadow:none!important;margin:0!important;border-radius:0!important}.button_js2W{top:24px!important;right:16px!important}}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
container:
|
|
4
|
-
content:
|
|
5
|
-
button:
|
|
6
|
-
doubleModal:
|
|
7
|
-
inner:
|
|
8
|
-
right:
|
|
9
|
-
bg:
|
|
2
|
+
const t = "container_WE0K", n = "content_p1kc", o = "button_js2W", e = "doubleModal_1ZTt", c = "inner_Zsdb", s = "right_e065", b = "bg_8ZfP", r = {
|
|
3
|
+
container: t,
|
|
4
|
+
content: n,
|
|
5
|
+
button: o,
|
|
6
|
+
doubleModal: e,
|
|
7
|
+
inner: c,
|
|
8
|
+
right: s,
|
|
9
|
+
bg: b
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
b as bg,
|
|
13
|
+
o as button,
|
|
14
|
+
t as container,
|
|
15
|
+
n as content,
|
|
16
|
+
r as default,
|
|
17
|
+
e as doubleModal,
|
|
18
|
+
c as inner,
|
|
19
|
+
s as right
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ModalObject, ModalSize, OwnModalProps, TFunction } from '../types';
|
|
3
3
|
export declare const useModal: (t: TFunction) => {
|
|
4
|
-
openModal: <T extends unknown>(modal: React.FC<T>, size?: ModalSize, isDouble?: boolean
|
|
4
|
+
openModal: <T extends unknown>(modal: React.FC<T>, size?: ModalSize, isDouble?: boolean) => (props?: OwnModalProps<T>, closeCallback?: () => void) => void;
|
|
5
5
|
modals: ModalObject[];
|
|
6
6
|
setModalDirty: (id: string, isDirty: boolean) => void;
|
|
7
7
|
currentModalId: string;
|
package/dist/modal/types.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
type ModalProps = {
|
|
3
3
|
closeCallback: () => void;
|
|
4
4
|
close: () => void;
|
|
5
5
|
size: ModalSize;
|
|
6
6
|
isDouble?: boolean;
|
|
7
7
|
t: TFunction;
|
|
8
8
|
} & unknown;
|
|
9
|
-
export
|
|
9
|
+
export type TFunction = (field: string, options?: {
|
|
10
10
|
count: number;
|
|
11
11
|
returnObjects: boolean;
|
|
12
12
|
[optionName: string]: any;
|
|
13
13
|
}) => string;
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type ModalSize = 's' | 'm' | 'full';
|
|
15
|
+
export type OwnModalProps<T> = Omit<T, 'close' | 't'>;
|
|
16
|
+
export type ModalObject = {
|
|
17
17
|
modal: React.FC<ModalProps>;
|
|
18
18
|
id: string;
|
|
19
19
|
props: ModalProps;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type ContextProps = {
|
|
22
22
|
openModal: <T>(modal: React.FC<T>, size?: ModalSize, isDouble?: boolean) => (props?: OwnModalProps<T>, closeCallback?: () => void) => void;
|
|
23
23
|
modals: ModalObject[];
|
|
24
24
|
currentModalId: ModalObject['id'];
|
package/dist/mq/component.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Named media queries (same keys as legacy `mq.json`). */
|
|
2
|
+
declare const mqList: {
|
|
3
|
+
readonly '--mobile-s': "(min-width: 320px)";
|
|
4
|
+
readonly '--mobile-m': "(min-width: 375px)";
|
|
5
|
+
readonly '--mobile-l': "(min-width: 412px)";
|
|
6
|
+
readonly '--mobile': "(max-width: 599px)";
|
|
7
|
+
readonly '--tablet-s': "(min-width: 600px)";
|
|
8
|
+
readonly '--tablet-m': "(min-width: 768px)";
|
|
9
|
+
readonly '--tablet': "(min-width: 600px) and (max-width: 1023px)";
|
|
10
|
+
readonly '--desktop-s': "(min-width: 1024px)";
|
|
11
|
+
readonly '--desktop-m': "(min-width: 1280px)";
|
|
12
|
+
readonly '--desktop-l': "(min-width: 1440px)";
|
|
13
|
+
readonly '--desktop-xl': "(min-width: 1920px)";
|
|
14
|
+
readonly '--desktop': "(min-width: 1024px)";
|
|
15
|
+
readonly '--landing-mobile': "(min-width: 320px) and (max-width: 767px)";
|
|
16
|
+
readonly '--landing-tablet': "(min-width: 768px) and (max-width: 1023px)";
|
|
17
|
+
readonly '--landing-desktop': "(min-width: 1024px)";
|
|
18
|
+
};
|
|
19
|
+
export default mqList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mq-list.js","sources":["../../src/mq/mq-list.ts"],"sourcesContent":["/** Named media queries (same keys as legacy `mq.json`). */\nconst mqList = {\n '--mobile-s': '(min-width: 320px)',\n '--mobile-m': '(min-width: 375px)',\n '--mobile-l': '(min-width: 412px)',\n '--mobile': '(max-width: 599px)',\n '--tablet-s': '(min-width: 600px)',\n '--tablet-m': '(min-width: 768px)',\n '--tablet': '(min-width: 600px) and (max-width: 1023px)',\n '--desktop-s': '(min-width: 1024px)',\n '--desktop-m': '(min-width: 1280px)',\n '--desktop-l': '(min-width: 1440px)',\n '--desktop-xl': '(min-width: 1920px)',\n '--desktop': '(min-width: 1024px)',\n '--landing-mobile': '(min-width: 320px) and (max-width: 767px)',\n '--landing-tablet': '(min-width: 768px) and (max-width: 1023px)',\n '--landing-desktop': '(min-width: 1024px)',\n} as const;\n\nexport default mqList;\n"],"names":["mqList"],"mappings":"AACA,MAAMA,IAAS;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,qBAAqB;AACzB;"}
|
package/dist/mq/utils.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Возвращает MediaQueryList для заданного media-выражения.
|
|
3
3
|
*
|
|
4
|
-
* @param queryProp media выражение или кастомный
|
|
4
|
+
* @param queryProp media выражение или кастомный ключ из `mq-list`, например `--mobile`.
|
|
5
5
|
*/
|
|
6
6
|
export declare function getMatchMedia(queryProp: string): MediaQueryList;
|
|
7
7
|
/**
|
|
8
8
|
* Удаляет MediaQueryList.
|
|
9
9
|
*
|
|
10
|
-
* @param queryProp media выражение или кастомный
|
|
10
|
+
* @param queryProp media выражение или кастомный ключ из `mq-list`, например `--mobile`.
|
|
11
11
|
*/
|
|
12
12
|
export declare function releaseMatchMedia(queryProp: string): void;
|
|
13
13
|
/**
|
package/dist/mq/utils.js
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
3
|
-
function a(t) {
|
|
4
|
-
const n = e[t] || t;
|
|
5
|
-
return o[n] ? i[n] += 1 : (o[n] = window.matchMedia(n), i[n] = 1), o[n];
|
|
6
|
-
}
|
|
1
|
+
import i from "./mq-list.js";
|
|
2
|
+
const e = {}, o = {};
|
|
7
3
|
function s(t) {
|
|
8
|
-
const n =
|
|
9
|
-
|
|
4
|
+
const n = i[t] || t;
|
|
5
|
+
return e[n] ? o[n] += 1 : (e[n] = window.matchMedia(n), o[n] = 1), e[n];
|
|
10
6
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
7
|
+
function a(t) {
|
|
8
|
+
const n = i[t] || t;
|
|
9
|
+
o[n] -= 1, e[n] && o[n] === 0 && (delete e[n], delete o[n]);
|
|
13
10
|
}
|
|
14
11
|
function d() {
|
|
15
|
-
|
|
12
|
+
if (typeof window == "undefined")
|
|
13
|
+
return !1;
|
|
14
|
+
const t = window.navigator;
|
|
15
|
+
return "PointerEvent" in window || "msPointerEnabled" in t;
|
|
16
|
+
}
|
|
17
|
+
function u() {
|
|
18
|
+
var n;
|
|
19
|
+
if (typeof window == "undefined")
|
|
20
|
+
return !1;
|
|
21
|
+
const t = window.navigator;
|
|
22
|
+
return "ontouchstart" in window || t.maxTouchPoints > 0 || ((n = t.msMaxTouchPoints) != null ? n : 0) > 0;
|
|
16
23
|
}
|
|
17
24
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
s as getMatchMedia,
|
|
26
|
+
d as isPointerEventsSupported,
|
|
27
|
+
u as isTouchSupported,
|
|
28
|
+
a as releaseMatchMedia
|
|
22
29
|
};
|
|
23
30
|
//# sourceMappingURL=utils.js.map
|
package/dist/mq/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../src/mq/utils.ts"],"sourcesContent":["import MqList from './mq
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../src/mq/utils.ts"],"sourcesContent":["import MqList from './mq-list';\n\n/** IE / legacy Chromium touch / pointer flags missing from standard `Navigator`. */\ntype NavigatorCompat = Navigator & {\n msMaxTouchPoints?: number;\n msPointerEnabled?: boolean;\n};\n\ntype AvailableMediaQueries = keyof typeof MqList;\n\ntype QueriesPool = Record<string, MediaQueryList>;\n\ntype Counters = Record<string, number>;\n\n// TODO: перенести в alfalab/utils\nconst pool: QueriesPool = {};\nconst refCounters: Counters = {};\n\n/**\n * Возвращает MediaQueryList для заданного media-выражения.\n *\n * @param queryProp media выражение или кастомный ключ из `mq-list`, например `--mobile`.\n */\nexport function getMatchMedia(queryProp: string): MediaQueryList {\n const query = MqList[queryProp as AvailableMediaQueries] || queryProp;\n\n if (pool[query]) {\n refCounters[query] += 1;\n } else {\n pool[query] = window.matchMedia(query);\n refCounters[query] = 1;\n }\n\n return pool[query];\n}\n\n/**\n * Удаляет MediaQueryList.\n *\n * @param queryProp media выражение или кастомный ключ из `mq-list`, например `--mobile`.\n */\nexport function releaseMatchMedia(queryProp: string): void {\n const query = MqList[queryProp as AvailableMediaQueries] || queryProp;\n\n refCounters[query] -= 1;\n\n if (pool[query] && refCounters[query] === 0) {\n delete pool[query];\n delete refCounters[query];\n }\n}\n\n/**\n * Возвращает `true`, если есть поддержка `Pointer Events`\n */\nexport function isPointerEventsSupported() {\n if (typeof window === 'undefined') {\n return false;\n }\n\n const nav = window.navigator as NavigatorCompat;\n\n return 'PointerEvent' in window || 'msPointerEnabled' in nav;\n}\n\n/**\n * Возвращает `true`, если есть поддержка `Touch Events`\n */\nexport function isTouchSupported() {\n if (typeof window === 'undefined') {\n return false;\n }\n\n const nav = window.navigator as NavigatorCompat;\n\n return (\n 'ontouchstart' in window ||\n nav.maxTouchPoints > 0 ||\n (nav.msMaxTouchPoints ?? 0) > 0\n );\n}\n"],"names":["pool","refCounters","getMatchMedia","queryProp","query","MqList","releaseMatchMedia","isPointerEventsSupported","nav","isTouchSupported","_a"],"mappings":";AAeA,MAAMA,IAAoB,CAAA,GACpBC,IAAwB,CAAA;AAOvB,SAASC,EAAcC,GAAmC;AAC7D,QAAMC,IAAQC,EAAOF,CAAkC,KAAKA;AAE5D,SAAIH,EAAKI,CAAK,IACVH,EAAYG,CAAK,KAAK,KAEtBJ,EAAKI,CAAK,IAAI,OAAO,WAAWA,CAAK,GACrCH,EAAYG,CAAK,IAAI,IAGlBJ,EAAKI,CAAK;AACrB;AAOO,SAASE,EAAkBH,GAAyB;AACvD,QAAMC,IAAQC,EAAOF,CAAkC,KAAKA;AAE5D,EAAAF,EAAYG,CAAK,KAAK,GAElBJ,EAAKI,CAAK,KAAKH,EAAYG,CAAK,MAAM,MACtC,OAAOJ,EAAKI,CAAK,GACjB,OAAOH,EAAYG,CAAK;AAEhC;AAKO,SAASG,IAA2B;AACvC,MAAI,OAAO,UAAW;AAClB,WAAO;AAGX,QAAMC,IAAM,OAAO;AAEnB,SAAO,kBAAkB,UAAU,sBAAsBA;AAC7D;AAKO,SAASC,IAAmB;;AAC/B,MAAI,OAAO,UAAW;AAClB,WAAO;AAGX,QAAMD,IAAM,OAAO;AAEnB,SACI,kBAAkB,UAClBA,EAAI,iBAAiB,OACpBE,IAAAF,EAAI,qBAAJ,OAAAE,IAAwB,KAAK;AAEtC;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, MouseEvent } from 'react';
|
|
2
2
|
import { ToastPlateProps } from '../toast-plate';
|
|
3
|
-
export
|
|
3
|
+
export type NotificationProps = ToastPlateProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Управление видимостью компонента
|
|
6
6
|
*/
|
|
@@ -62,13 +62,13 @@ export declare const Notification: React.ForwardRefExoticComponent<React.HTMLAtt
|
|
|
62
62
|
/**
|
|
63
63
|
* Обработчик события наведения курсора на компонент
|
|
64
64
|
*/
|
|
65
|
-
onMouseEnter?: ((event?:
|
|
65
|
+
onMouseEnter?: ((event?: MouseEvent<HTMLDivElement>) => void) | undefined;
|
|
66
66
|
/**
|
|
67
67
|
* Обработчик события снятия курсора с компонента
|
|
68
68
|
*/
|
|
69
|
-
onMouseLeave?: ((event?:
|
|
69
|
+
onMouseLeave?: ((event?: MouseEvent<HTMLDivElement>) => void) | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* Обработчик клика вне компонента
|
|
72
72
|
*/
|
|
73
|
-
onClickOutside?: ((event?:
|
|
73
|
+
onClickOutside?: ((event?: MouseEvent<any>) => void) | undefined;
|
|
74
74
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--text-primary-color: var(--color-text-primary);--text-secondary-color: var(--color-text-secondary);--text-tertiary-color: var(--color-text-tertiary);--border-radius: 4px;--focus-color: var(--color-border-link);--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;--disabled-cursor: not-allowed;--arrow-transform: rotate(180deg)}:root{--notification-desktop-content-width: 278px}.
|
|
1
|
+
:root{--text-primary-color: var(--color-text-primary);--text-secondary-color: var(--color-text-secondary);--text-tertiary-color: var(--color-text-tertiary);--border-radius: 4px;--focus-color: var(--color-border-link);--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;--disabled-cursor: not-allowed;--arrow-transform: rotate(180deg)}:root{--notification-desktop-content-width: 278px}.notificationComponent_khhk{visibility:hidden;position:fixed;right:var(--gap-s);transform:translateY(-500px);display:inline-flex;width:calc(100% - var(--gap-xl));max-width:calc(100vw - var(--gap-xl));-webkit-user-select:none;user-select:none;z-index:9999;transition:transform .2s ease-out}@media screen and (min-width:600px){.notificationComponent_khhk{right:var(--gap-4xl);width:auto;transform:translate(var(--notification-desktop-content-width))}}.notificationComponent_khhk.isVisible_snkQ{visibility:visible;transform:translate(0)}.notificationComponent_khhk.isClosing_wPaV{transition:transform .1s ease-out;transform:translate(100vw)}@media screen and (min-width:600px){.notificationComponent_khhk.isClosing_wPaV{transform:translate(calc(var(--notification-desktop-content-width) + var(--gap-4xl)))}}@media screen and (min-width:600px){.toastContent_gDwu{width:var(--notification-desktop-content-width)}}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
notificationComponent:
|
|
4
|
-
isVisible:
|
|
5
|
-
isClosing:
|
|
2
|
+
const t = "notificationComponent_khhk", n = "isVisible_snkQ", o = "isClosing_wPaV", i = "toastContent_gDwu", s = {
|
|
3
|
+
notificationComponent: t,
|
|
4
|
+
isVisible: n,
|
|
5
|
+
isClosing: o,
|
|
6
6
|
toastContent: i
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
s as default,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
o as isClosing,
|
|
11
|
+
n as isVisible,
|
|
12
|
+
t as notificationComponent,
|
|
13
13
|
i as toastContent
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
type ImageProps = {
|
|
3
3
|
image: string;
|
|
4
4
|
imageDescription: string;
|
|
5
5
|
} | {
|
|
6
6
|
image?: never;
|
|
7
7
|
imageDescription?: never;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type Props = {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
color: string;
|
|
12
12
|
} & ImageProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.pageContainer_GxW3{position:relative}.pageContainer_GxW3>div{position:relative;z-index:3;margin:0 auto;max-width:1240px}.image_-yy-,.bg_p3-N{position:absolute;width:100%;height:100%;top:0;left:0}.image_-yy-{fit-content:"cover"}.bg_p3-N{background:#25252799}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "pageContainer_GxW3", a = "image_-yy-", n = "bg_p3-N", t = {
|
|
3
3
|
pageContainer: e,
|
|
4
|
-
image:
|
|
5
|
-
bg:
|
|
4
|
+
image: a,
|
|
5
|
+
bg: n
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
n as bg,
|
|
9
|
+
t as default,
|
|
10
|
+
a as image,
|
|
11
11
|
e as pageContainer
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component_8H4i{width:100%;height:100%;display:flex;justify-content:center;align-items:center}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
type ImageProps = {
|
|
3
3
|
image: string;
|
|
4
4
|
imageDescription: string;
|
|
5
5
|
} | {
|
|
6
6
|
image?: never;
|
|
7
7
|
imageDescription?: never;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type ButtonProps = {
|
|
10
10
|
href?: string;
|
|
11
11
|
leftAddons: ReactNode;
|
|
12
12
|
disabled?: boolean;
|
|
@@ -14,7 +14,7 @@ declare type ButtonProps = {
|
|
|
14
14
|
onClick?: () => void;
|
|
15
15
|
text: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type Props = {
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
buttons: ButtonProps[];
|
|
20
20
|
} & ImageProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.wrapper_Y-b0{display:flex;flex-direction:column;align-items:flex-start;background:none;padding:0;cursor:pointer;border:none;outline:none}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
wrapper:
|
|
2
|
+
const p = "wrapper_Y-b0", r = {
|
|
3
|
+
wrapper: p
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
r as default,
|
|
7
|
+
p as wrapper
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ButtonProps } from '../button';
|
|
3
3
|
import { BaseSelectProps } from '../select';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PickerButtonSize = 's' | 'm' | 'l' | 'xs';
|
|
5
|
+
export type PickerButtonProps = Omit<BaseSelectProps, 'placeholder' | 'Arrow' | 'autocomplete' | 'size' | 'onFocus' | 'selected' | 'closeOnSelect' | 'multiple' | 'fieldProps' | 'hint' | 'allowUnselect'> & Pick<ButtonProps, 'view' | 'loading' | 'leftAddons'> & {
|
|
6
6
|
/**
|
|
7
7
|
* Размер кнопки
|
|
8
8
|
*/
|
|
@@ -10,7 +10,7 @@ export declare type PickerButtonProps = Omit<BaseSelectProps, 'placeholder' | 'A
|
|
|
10
10
|
icon?: React.ReactNode;
|
|
11
11
|
fieldComponent?: 'button' | 'iconButton';
|
|
12
12
|
};
|
|
13
|
-
export declare const PickerButton: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "
|
|
13
|
+
export declare const PickerButton: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "placeholder" | "onFocus" | "size" | "hint" | "multiple" | "selected" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "fieldProps" | "Arrow"> & Pick<ButtonProps, "view" | "leftAddons" | "loading"> & {
|
|
14
14
|
/**
|
|
15
15
|
* Размер кнопки
|
|
16
16
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '../../button';
|
|
2
|
-
import {
|
|
2
|
+
import { SelectFieldProps as BaseFieldProps } from '../../select';
|
|
3
3
|
import { PickerButtonSize } from '..';
|
|
4
|
-
|
|
4
|
+
type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
|
|
5
5
|
buttonSize?: PickerButtonSize;
|
|
6
6
|
icon?: any;
|
|
7
7
|
fieldComponent?: 'button' | 'iconButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../../../src/picker-button/field/Component.tsx"],"sourcesContent":["import React, { ButtonHTMLAttributes } from 'react';\nimport cn from 'classnames';\n\nimport { Button, ButtonProps } from '../../button';\nimport { IconButton } from '../../icon-button';\nimport {
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../../src/picker-button/field/Component.tsx"],"sourcesContent":["import React, { ButtonHTMLAttributes } from 'react';\nimport cn from 'classnames';\n\nimport { Button, ButtonProps } from '../../button';\nimport { IconButton } from '../../icon-button';\nimport { SelectFieldProps as BaseFieldProps } from '../../select';\nimport { PickerButtonSize } from '..';\n\n// import { ArrowDownMIcon } from '@alfalab/icons-classic/ArrowDownMIcon';\n// import { ArrowDownSIcon } from '@alfalab/icons-classic/ArrowDownSIcon';\nimport styles from './index.module.css';\n\ntype FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> &\nButtonProps & {\n buttonSize?: PickerButtonSize;\n icon?: any;\n fieldComponent?: 'button' | 'iconButton';\n};\n\nexport const Field = ({\n buttonSize = 'm',\n view,\n label,\n open,\n multiple,\n rightAddons,\n Arrow,\n innerProps,\n className,\n selected,\n selectedMultiple,\n valueRenderer,\n fieldComponent,\n ...restProps\n}: FieldProps) => {\n // const Icon: FC<SVGProps<SVGSVGElement>> = buttonSize === 'xs' ? ArrowDownSIcon : ArrowDownMIcon;\n\n const buttonProps = {\n ...restProps,\n ...innerProps,\n } as ButtonHTMLAttributes<HTMLButtonElement>;\n\n return fieldComponent === 'button' ? (\n <Button\n { ...buttonProps }\n rightAddons={\n restProps.icon ? (\n <span className={ cn(styles.iconContainer, open && styles.open) }>\n { /* <Icon data-test-id='picker-button-icon' /> */ }\n { restProps.icon }\n </span>\n ) : null\n }\n block={ true }\n view={ view }\n size={ buttonSize }\n className={ cn(styles.component, view === 'primary' && styles.primary, className) }\n >\n { label }\n </Button>\n ) : (\n <IconButton\n { ...buttonProps }\n icon={ restProps.icon }\n view={ view === 'secondary' ? 'secondary' : 'ghost' }\n size={ buttonSize === 'xs' ? 's' : buttonSize }\n // className={ cn(styles.component, view === 'primary' && styles.primary, className) }\n />\n );\n};\n"],"names":["Field","buttonSize","view","label","open","multiple","rightAddons","Arrow","innerProps","className","selected","selectedMultiple","valueRenderer","fieldComponent","restProps","buttonProps","jsx","Button","cn","styles","IconButton"],"mappings":";;;;;AAmBO,MAAMA,IAAQ,CAAC;AAAA,EAClB,YAAAC,IAAa;AAAA,EACb,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,eAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,GAAGC;AACP,MAAkB;AAGd,QAAMC,IAAc;AAAA,IAChB,GAAGD;AAAA,IACH,GAAGN;AAAA,EAAA;AAGP,SAAOK,MAAmB,WACtB,gBAAAG;AAAA,IAACC;AAAA,IAAA;AAAA,MACK,GAAGF;AAAA,MACL,aACID,EAAU,OACN,gBAAAE,EAAC,UAAK,WAAYE,EAAGC,EAAO,eAAef,KAAQe,EAAO,IAAI,GAExD,UAAAL,EAAU,MAChB,IACA;AAAA,MAER,OAAQ;AAAA,MACR,MAAAZ;AAAA,MACA,MAAOD;AAAA,MACP,WAAYiB,EAAGC,EAAO,WAAWjB,MAAS,aAAaiB,EAAO,SAASV,CAAS;AAAA,MAE9E,UAAAN;AAAA,IAAA;AAAA,EAAA,IAGN,gBAAAa;AAAA,IAACI;AAAA,IAAA;AAAA,MACK,GAAGL;AAAA,MACL,MAAOD,EAAU;AAAA,MACjB,MAAOZ,MAAS,cAAc,cAAc;AAAA,MAC5C,MAAOD,MAAe,OAAO,MAAMA;AAAA,IAAA;AAAA,EAAA;AAI/C;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.iconContainer_XeDr{display:flex;transition:transform .15s ease-in-out}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.container_cXs3{min-width:auto}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React, CSSProperties, MutableRefObject } from 'react';
|
|
2
|
+
import { Placement } from '@floating-ui/react-dom';
|
|
2
3
|
import { CSSTransitionProps } from 'react-transition-group/CSSTransition';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
export declare type PopoverProps = {
|
|
4
|
+
export type Position = Placement;
|
|
5
|
+
export type PopoverProps = {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* Управление состоянием поповера (открыт/закрыт)
|
|
@@ -27,8 +27,8 @@ export declare type PopoverProps = {
|
|
|
27
27
|
withArrow?: boolean;
|
|
28
28
|
/**
|
|
29
29
|
* Смещение поповера.
|
|
30
|
-
* Если позиционирование top, bottom, то [x, y].
|
|
31
|
-
* Если позиционирование left, right то [y, x].
|
|
30
|
+
* Если позиционирование top, bottom, то [crossAxis, mainAxis] (как раньше [x, y]).
|
|
31
|
+
* Если позиционирование left, right — то же порядок [crossAxis, mainAxis] ([y, x] в старых терминах).
|
|
32
32
|
*/
|
|
33
33
|
offset?: [number, number];
|
|
34
34
|
/**
|