@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
|
-
{"version":3,"file":"component.js","sources":["../../src/collapse/component.tsx"],"sourcesContent":["import React, {\n CSSProperties,\n forwardRef,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport cn from 'classnames';\nimport debounce from '
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../src/collapse/component.tsx"],"sourcesContent":["import React, {\n CSSProperties,\n forwardRef,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport cn from 'classnames';\nimport { debounce } from '../utils/debounce';\nimport { ResizeObserver } from 'resize-observer';\n\n// import { ArrowDownMBlackIcon } from '@alfalab/icons-classic/ArrowDownMBlackIcon';\n// import { ArrowUpMBlackIcon } from '@alfalab/icons-classic/ArrowUpMBlackIcon';\nimport { Link, LinkProps } from '../link';\n\nimport styles from './index.module.css';\n\nexport type CollapseProps = {\n /**\n * состояние компонента\n *\n */\n expanded?: boolean;\n\n /**\n * Первоначальное состояние компонента\n */\n defaultExpanded?: boolean;\n\n /**\n * Текст ссылки в `expanded` состоянии\n *\n */\n collapsedLabel?: string;\n\n /**\n * Текст ссылки в `collapsed` состоянии\n *\n */\n expandedLabel?: string;\n\n /**\n * Дочерние элементы `Collapse`\n */\n children?: React.ReactNode;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Дополнительный класс для коллапс-контейнера\n */\n contentClassName?: string;\n\n /**\n * linkProps - пропсы для компонента ссылки\n */\n linkProps?: Pick<LinkProps, 'view' | 'size'>;\n\n /**\n * Идентификатор компонента в DOM\n */\n id?: string;\n\n /**\n * Обработчик смены состояний `expanded/collapsed`\n */\n onExpandedChange?: (expanded?: boolean) => void;\n\n /**\n * Обработчик события завершения анимации\n */\n onTransitionEnd?: (expanded?: boolean) => void;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const Collapse = forwardRef<HTMLDivElement, CollapseProps>((props: CollapseProps, ref) => {\n const {\n expanded,\n defaultExpanded,\n collapsedLabel,\n expandedLabel,\n children,\n className,\n contentClassName,\n id,\n onExpandedChange,\n onTransitionEnd,\n dataTestId,\n linkProps,\n } = props;\n\n // const contentRef = useRef<HTMLDivElement>(null);\n // const contentCaseRef = useRef<HTMLDivElement>(null);\n // const [isExpanded, setIsExpanded] = useState(expanded);\n\n // useEffect(() => {\n // setIsExpanded(expanded);\n // }, [expanded]);\n\n // const recalculate = useCallback(() => {\n // let contentHeight;\n\n // if (!contentCaseRef.current || !contentRef.current) {\n // return;\n // }\n\n // if (isExpanded) {\n // contentHeight = contentCaseRef.current.offsetHeight;\n // } else {\n // contentHeight = 0;\n // }\n\n // contentRef.current.style.height = `${contentHeight}px`;\n // }, [isExpanded]);\n\n // useEffect(() => {\n // const handleResize = _.debounce(() => recalculate(), 300);\n\n // window.addEventListener('resize', handleResize);\n\n // return () => window.removeEventListener('resize', handleResize);\n // }, [recalculate]);\n\n // useEffect(() => recalculate(), [isExpanded, recalculate]);\n\n // // const ToggledIcon = isExpanded ? ArrowUpMBlackIcon : ArrowDownMBlackIcon; // rightAddons linka\n\n // const handleExpandedChange = useCallback(() => {\n // setIsExpanded(!isExpanded);\n // if (onExpandedChange) onExpandedChange();\n // }, [isExpanded, onExpandedChange]);\n\n const uncontrolled = expanded === undefined;\n\n const contentRef = useRef<HTMLDivElement>(null);\n const contentCaseRef = useRef<HTMLDivElement>(null);\n const [expandedState, setExpandedState] = useState(defaultExpanded || expanded);\n\n const isExpanded = uncontrolled ? expandedState : expanded;\n\n const recalculate = useCallback(() => {\n let contentHeight;\n\n if (!contentCaseRef.current || !contentRef.current) {\n return;\n }\n\n if (isExpanded) {\n contentHeight = contentCaseRef.current.offsetHeight;\n } else {\n contentHeight = 0;\n }\n\n contentRef.current.style.height = `${contentHeight}px`;\n }, [isExpanded]);\n\n const handleTransitionEnd = useCallback(() => {\n if (onTransitionEnd) onTransitionEnd(expanded);\n }, [expanded, onTransitionEnd]);\n\n const handleExpandedChange = useCallback(() => {\n if (uncontrolled) {\n setExpandedState(!isExpanded);\n }\n console.log(isExpanded);\n\n if (onExpandedChange) onExpandedChange();\n }, [isExpanded, onExpandedChange, uncontrolled]);\n\n useEffect(() => {\n const handleResize = debounce(() => recalculate(), 300);\n\n window.addEventListener('resize', handleResize);\n\n return () => {\n handleResize.cancel();\n window.removeEventListener('resize', handleResize);\n };\n }, [recalculate]);\n\n useEffect(() => {\n const observer = new ResizeObserver(recalculate);\n\n if (contentCaseRef.current) {\n observer.observe(contentCaseRef.current);\n }\n\n return () => {\n observer.disconnect();\n };\n }, [recalculate]);\n\n useEffect(() => recalculate(), [isExpanded, recalculate]);\n\n const contentStyles: CSSProperties = useMemo(() => {\n const contentHeight = contentRef.current?.offsetHeight;\n\n return {\n height: isExpanded && !contentHeight ? '0px' : `${contentHeight}px`,\n };\n }, [isExpanded]);\n\n const showLabel = !!expandedLabel || !!collapsedLabel;\n\n return (\n <div\n ref={ ref }\n className={ cn(className, styles.collapse) }\n id={ id }\n data-test-id={ dataTestId }\n >\n <div\n onTransitionEnd={ handleTransitionEnd }\n ref={ contentRef }\n className={ cn(styles.content, contentClassName, {\n [styles.expandedContent]: isExpanded,\n }) }\n style={ contentStyles }\n >\n <div className={ cn(styles.children_wrap) } ref={ contentCaseRef }>\n { children }\n </div>\n </div>\n { showLabel && (\n <Link\n view={ linkProps?.view || 'secondary' }\n size={ linkProps?.size || 'm' }\n pseudo={ true }\n onClick={ handleExpandedChange }\n >\n { isExpanded ? expandedLabel : collapsedLabel }\n </Link>\n ) }\n </div>\n );\n});\n"],"names":["Collapse","forwardRef","props","ref","expanded","defaultExpanded","collapsedLabel","expandedLabel","children","className","contentClassName","id","onExpandedChange","onTransitionEnd","dataTestId","linkProps","uncontrolled","contentRef","useRef","contentCaseRef","expandedState","setExpandedState","useState","isExpanded","recalculate","useCallback","contentHeight","handleTransitionEnd","handleExpandedChange","useEffect","handleResize","debounce","observer","ResizeObserver","contentStyles","useMemo","_a","showLabel","jsxs","cn","styles","jsx","Link"],"mappings":"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"}
|
|
@@ -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)}.
|
|
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)}.collapse_ORa-{font-family:var(--font-family)}.collapse_ORa- *,.collapse_ORa-:before,.collapse_ORa-:after{box-sizing:border-box}.content_UDk-{position:relative;overflow:hidden;visibility:hidden;height:0;transition:height .2s}.expandedContent_iQsz{visibility:visible;height:auto;margin-bottom:15px}.children_wrap_ekYC{display:flex;flex-direction:column}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
collapse:
|
|
4
|
-
content:
|
|
2
|
+
const n = "collapse_ORa-", e = "content_UDk-", t = "expandedContent_iQsz", o = "children_wrap_ekYC", c = {
|
|
3
|
+
collapse: n,
|
|
4
|
+
content: e,
|
|
5
5
|
expandedContent: t,
|
|
6
6
|
children_wrap: o
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
o as children_wrap,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
n as collapse,
|
|
11
|
+
e as content,
|
|
12
|
+
c as default,
|
|
13
13
|
t as expandedContent
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.wrapper_dZRh{display:flex;align-items:center}.link_button_VKWD{margin-left:8px}.link_button_VKWD svg{width:20px}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "wrapper_dZRh", n = "link_button_VKWD", o = {
|
|
3
3
|
wrapper: t,
|
|
4
4
|
link_button: n
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
o as default,
|
|
8
8
|
n as link_button,
|
|
9
9
|
t as wrapper
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.date_switcher_-TXr{display:flex;align-items:center;justify-content:flex-start}.date_switcher_-TXr>*:not(:last-child){margin-right:12px}.date_wrap_Tzlm{display:flex;justify-content:center;align-items:center}.day_HX9Y{min-width:70px}.week_s9uz{min-width:140px}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "date_switcher_-TXr", t = "date_wrap_Tzlm", a = "day_HX9Y", s = "week_s9uz", d = {
|
|
3
3
|
date_switcher: e,
|
|
4
|
-
date_wrap:
|
|
5
|
-
day:
|
|
6
|
-
week:
|
|
4
|
+
date_wrap: t,
|
|
5
|
+
day: a,
|
|
6
|
+
week: s
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
e as date_switcher,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
t as date_wrap,
|
|
11
|
+
a as day,
|
|
12
|
+
d as default,
|
|
13
|
+
s as week
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component_Ixht{display:flex}.component_Ixht>:first-child{margin-right:12px}.textWrap_bCPE{font-size:14px;font-weight:500;padding-bottom:12px;flex:1}.title_Gh4b{display:flex;justify-content:space-between;line-height:24px;color:var(--color-text-primary)}.title_Gh4b span{padding-left:10px;font-weight:700;white-space:nowrap}.description_ZQqt{line-height:20px;color:var(--color-text-accent);padding-top:7px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "component_Ixht", e = "textWrap_bCPE", o = "title_Gh4b", n = "description_ZQqt", c = {
|
|
3
3
|
component: t,
|
|
4
4
|
textWrap: e,
|
|
5
5
|
title: o,
|
|
@@ -7,7 +7,7 @@ const t = "index-module_component__Ixhte", e = "index-module_textWrap__bCPEX", o
|
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
t as component,
|
|
10
|
-
|
|
10
|
+
c as default,
|
|
11
11
|
n as description,
|
|
12
12
|
e as textWrap,
|
|
13
13
|
o as title
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--divider-color: var(--color-border-secondary)}.
|
|
1
|
+
:root{--divider-color: var(--color-border-secondary)}.divider_ZKiT{background:var(--divider-color);margin:0}.s_Iubl{margin:0}.horizontal_KaDB.divider_ZKiT{height:1px;width:100%}.horizontal_KaDB.m_HRxz{margin:var(--gap-s) 0}.horizontal_KaDB.l_Qw-4{margin:var(--gap-xl) 0}.vertical_9k6e.divider_ZKiT{width:1px;height:100%;display:flex;align-self:stretch}.vertical_9k6e.m_HRxz{margin:0 var(--gap-s)}.vertical_9k6e.l_Qw-4{margin:0 var(--gap-xl)}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
divider:
|
|
2
|
+
const t = "divider_ZKiT", o = "s_Iubl", i = "horizontal_KaDB", s = "m_HRxz", l = "l_Qw-4", c = "vertical_9k6e", e = {
|
|
3
|
+
divider: t,
|
|
4
4
|
s: o,
|
|
5
|
-
horizontal:
|
|
6
|
-
m:
|
|
5
|
+
horizontal: i,
|
|
6
|
+
m: s,
|
|
7
7
|
l,
|
|
8
|
-
vertical:
|
|
8
|
+
vertical: c
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
e as default,
|
|
12
|
+
t as divider,
|
|
13
|
+
i as horizontal,
|
|
14
14
|
l,
|
|
15
|
-
|
|
15
|
+
s as m,
|
|
16
16
|
o as s,
|
|
17
|
-
|
|
17
|
+
c as vertical
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=index.module.css.js.map
|
package/dist/dot/component.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.dot_yq5P{border-radius:50%}.dot_yq5P.sm_VWY0{width:4px;height:4px}.dot_yq5P.md_j7DR{width:8px;height:8px}.dot_yq5P.green_XwZ9{background:var(--color-bg-positive)}.dot_yq5P.orange_TT74{background:var(--color-graphic-attention)}.dot_yq5P.red_-zhw{background:var(--color-graphic-negative)}.dot_yq5P.blue_ouTH{background:var(--color-bg-accent)}.dot_yq5P.grey_SLgp{background:var(--color-graphic-thirdly)}.dot_yq5P.purple_8pLy{background:var(--color-status-purple)}.dot_yq5P.teal_5h0I{background:var(--color-status-teal)}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "dot_yq5P", t = "sm_VWY0", o = "md_j7DR", n = "green_XwZ9", s = "orange_TT74", r = "red_-zhw", c = "blue_ouTH", l = "grey_SLgp", d = "purple_8pLy", g = "teal_5h0I", _ = {
|
|
3
3
|
dot: e,
|
|
4
|
-
sm:
|
|
5
|
-
md:
|
|
6
|
-
green:
|
|
7
|
-
orange:
|
|
8
|
-
red:
|
|
9
|
-
blue:
|
|
10
|
-
grey:
|
|
11
|
-
purple:
|
|
12
|
-
teal:
|
|
4
|
+
sm: t,
|
|
5
|
+
md: o,
|
|
6
|
+
green: n,
|
|
7
|
+
orange: s,
|
|
8
|
+
red: r,
|
|
9
|
+
blue: c,
|
|
10
|
+
grey: l,
|
|
11
|
+
purple: d,
|
|
12
|
+
teal: g
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
c as blue,
|
|
16
|
+
_ as default,
|
|
17
17
|
e as dot,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
n as green,
|
|
19
|
+
l as grey,
|
|
20
|
+
o as md,
|
|
21
|
+
s as orange,
|
|
22
|
+
d as purple,
|
|
23
|
+
r as red,
|
|
24
|
+
t as sm,
|
|
25
|
+
g as teal
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.wrapper_X4Vy{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:var(--color-bg-primary);gap:32px;width:100%;height:100%;padding:32px 16px;box-sizing:border-box}.content_xoB7{max-width:400px;text-align:center}.overlay_GChr{position:fixed;inset:0;z-index:99999997}.image_qJIV{width:250px!important;min-width:250px!important}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "wrapper_X4Vy", t = "content_xoB7", o = "overlay_GChr", a = "image_qJIV", n = {
|
|
3
3
|
wrapper: e,
|
|
4
|
-
content:
|
|
5
|
-
overlay:
|
|
6
|
-
image:
|
|
4
|
+
content: t,
|
|
5
|
+
overlay: o,
|
|
6
|
+
image: a
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
t as content,
|
|
10
|
+
n as default,
|
|
11
|
+
a as image,
|
|
12
|
+
o as overlay,
|
|
13
13
|
e as wrapper
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=index.module.css.js.map
|
package/dist/flex/component.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component_f6FB{display:flex;align-items:center;justify-content:space-between}.wrap_pji7{flex-wrap:wrap}.align_center_ADi9{align-items:center}.align_start_aicB{align-items:flex-start}.align_end_SD1-{align-items:flex-end}.align_stretch_DBMh{align-items:stretch}.justify_center_enCY{justify-content:center}.justify_start_TRWG{justify-content:flex-start}.justify_end_7DKq{justify-content:flex-end}.justify_between_rZIJ{justify-content:space-between}.justify_around_1Y35{justify-content:space-around}.direction_row_D1fq{flex-direction:row}.direction_column_X-Fx{flex-direction:column}.gap_xxxs_TC-N{gap:2px}.gap_xxs_8J2W{gap:4px}.gap_xs_n5Jh{gap:8px}.gap_sm_MpYH{gap:12px}.gap_md_hOPN{gap:16px}.gap_l_7SmI{gap:24px}.gap_xl_gxpt{gap:32px}.gap_xxl_0rCI{gap:48px}.marginBottom_xxxs_mSx4{padding:2px}.marginBottom_xxs_H5Lu{padding:4px}.marginBottom_xs_NOZn{padding:8px}.marginBottom_sm_6su9{padding:12px}.marginBottom_md_PxIk{padding:16px}.marginBottom_l_I1OS{padding:24px}.marginBottom_xl_DQlD{padding:32px}.marginBottom_xxl_-7u1{padding:48px}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
component:
|
|
4
|
-
wrap:
|
|
2
|
+
const t = "component_f6FB", _ = "wrap_pji7", n = "align_center_ADi9", o = "align_start_aicB", s = "align_end_SD1-", a = "align_stretch_DBMh", m = "justify_center_enCY", i = "justify_start_TRWG", g = "justify_end_7DKq", x = "justify_between_rZIJ", r = "justify_around_1Y35", c = "direction_row_D1fq", e = "direction_column_X-Fx", l = "gap_xxxs_TC-N", p = "gap_xxs_8J2W", B = "gap_xs_n5Jh", u = "gap_sm_MpYH", d = "gap_md_hOPN", f = "gap_l_7SmI", j = "gap_xl_gxpt", y = "gap_xxl_0rCI", w = "marginBottom_xxxs_mSx4", D = "marginBottom_xxs_H5Lu", h = "marginBottom_xs_NOZn", I = "marginBottom_sm_6su9", S = "marginBottom_md_PxIk", b = "marginBottom_l_I1OS", C = "marginBottom_xl_DQlD", J = "marginBottom_xxl_-7u1", N = {
|
|
3
|
+
component: t,
|
|
4
|
+
wrap: _,
|
|
5
5
|
align_center: n,
|
|
6
6
|
align_start: o,
|
|
7
|
-
align_end:
|
|
8
|
-
align_stretch:
|
|
9
|
-
justify_center:
|
|
10
|
-
justify_start:
|
|
11
|
-
justify_end:
|
|
12
|
-
justify_between:
|
|
13
|
-
justify_around:
|
|
14
|
-
direction_row:
|
|
15
|
-
direction_column:
|
|
16
|
-
gap_xxxs:
|
|
17
|
-
gap_xxs:
|
|
18
|
-
gap_xs:
|
|
19
|
-
gap_sm:
|
|
20
|
-
gap_md:
|
|
7
|
+
align_end: s,
|
|
8
|
+
align_stretch: a,
|
|
9
|
+
justify_center: m,
|
|
10
|
+
justify_start: i,
|
|
11
|
+
justify_end: g,
|
|
12
|
+
justify_between: x,
|
|
13
|
+
justify_around: r,
|
|
14
|
+
direction_row: c,
|
|
15
|
+
direction_column: e,
|
|
16
|
+
gap_xxxs: l,
|
|
17
|
+
gap_xxs: p,
|
|
18
|
+
gap_xs: B,
|
|
19
|
+
gap_sm: u,
|
|
20
|
+
gap_md: d,
|
|
21
21
|
gap_l: f,
|
|
22
22
|
gap_xl: j,
|
|
23
23
|
gap_xxl: y,
|
|
@@ -25,41 +25,41 @@ const _ = "index-module_component__f6FBj", t = "index-module_wrap__pji79", n = "
|
|
|
25
25
|
marginBottom_xxs: D,
|
|
26
26
|
marginBottom_xs: h,
|
|
27
27
|
marginBottom_sm: I,
|
|
28
|
-
marginBottom_md:
|
|
29
|
-
marginBottom_l:
|
|
28
|
+
marginBottom_md: S,
|
|
29
|
+
marginBottom_l: b,
|
|
30
30
|
marginBottom_xl: C,
|
|
31
31
|
marginBottom_xxl: J
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
34
34
|
n as align_center,
|
|
35
|
-
|
|
35
|
+
s as align_end,
|
|
36
36
|
o as align_start,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
a as align_stretch,
|
|
38
|
+
t as component,
|
|
39
|
+
N as default,
|
|
40
|
+
e as direction_column,
|
|
41
|
+
c as direction_row,
|
|
42
42
|
f as gap_l,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
d as gap_md,
|
|
44
|
+
u as gap_sm,
|
|
45
45
|
j as gap_xl,
|
|
46
|
-
|
|
46
|
+
B as gap_xs,
|
|
47
47
|
y as gap_xxl,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
48
|
+
p as gap_xxs,
|
|
49
|
+
l as gap_xxxs,
|
|
50
|
+
r as justify_around,
|
|
51
|
+
x as justify_between,
|
|
52
|
+
m as justify_center,
|
|
53
|
+
g as justify_end,
|
|
54
|
+
i as justify_start,
|
|
55
|
+
b as marginBottom_l,
|
|
56
|
+
S as marginBottom_md,
|
|
57
57
|
I as marginBottom_sm,
|
|
58
58
|
C as marginBottom_xl,
|
|
59
59
|
h as marginBottom_xs,
|
|
60
60
|
J as marginBottom_xxl,
|
|
61
61
|
D as marginBottom_xxs,
|
|
62
62
|
w as marginBottom_xxxs,
|
|
63
|
-
|
|
63
|
+
_ as wrap
|
|
64
64
|
};
|
|
65
65
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.flexColumns_aTLJ{width:100%;display:grid}.flexColumns_aTLJ>*{min-width:100%!important}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.wrapper_Enjf{display:flex;margin:0 auto}@media(max-width:547px){.wrapper_Enjf{flex-direction:column}}.row_wrapper_8067{flex:1}.title_Tgf-{font-weight:700;font-size:14px;line-height:20px;color:var(--color-text-primary-inverted)}.block_rSzc{margin-bottom:19px;display:flex;flex-direction:column;align-items:flex-start}.block_rSzc>.title_Tgf-{font-size:16px;line-height:24px;margin-bottom:25px}.block_rSzc>.link_Oe3C{margin-bottom:21px;text-decoration:none;font-style:normal;font-weight:500;font-size:14px;line-height:24px;color:var(--color-text-primary-inverted)}:is(.block_rSzc>.link_Oe3C):hover{color:var(--color-text-accent)}.text_qVH7{font-weight:500;font-size:12px;line-height:24px;color:var(--color-text-thirdly);display:block;padding-right:8px}.email_h6jh{font-weight:700;font-size:16px;color:var(--color-text-accent)}.buttons_dZl8{display:flex;align-items:center}.buttons_dZl8>*{margin-right:5px}.bottomBlock_fjWw{display:flex;align-items:center;padding-top:40px}.contactBlock_kAr-{display:flex;flex-direction:column;margin-bottom:29px}.contactBlock_kAr->.title_Tgf-{margin-bottom:2px}.contactBlock_kAr->.phone_yts-{font-weight:700;font-size:16px;line-height:20px;color:var(--color-text-primary-inverted);margin-bottom:1px}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
wrapper:
|
|
4
|
-
row_wrapper:
|
|
5
|
-
title:
|
|
2
|
+
const t = "wrapper_Enjf", o = "row_wrapper_8067", c = "title_Tgf-", n = "block_rSzc", e = "link_Oe3C", l = "text_qVH7", s = "email_h6jh", r = "buttons_dZl8", p = "bottomBlock_fjWw", a = "contactBlock_kAr-", _ = "phone_yts-", k = {
|
|
3
|
+
wrapper: t,
|
|
4
|
+
row_wrapper: o,
|
|
5
|
+
title: c,
|
|
6
6
|
block: n,
|
|
7
|
-
link:
|
|
7
|
+
link: e,
|
|
8
8
|
text: l,
|
|
9
|
-
email:
|
|
10
|
-
buttons:
|
|
11
|
-
bottomBlock:
|
|
12
|
-
contactBlock:
|
|
13
|
-
phone:
|
|
9
|
+
email: s,
|
|
10
|
+
buttons: r,
|
|
11
|
+
bottomBlock: p,
|
|
12
|
+
contactBlock: a,
|
|
13
|
+
phone: _
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
n as block,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
p as bottomBlock,
|
|
18
|
+
r as buttons,
|
|
19
|
+
a as contactBlock,
|
|
20
|
+
k as default,
|
|
21
|
+
s as email,
|
|
22
|
+
e as link,
|
|
23
|
+
_ as phone,
|
|
24
|
+
o as row_wrapper,
|
|
25
25
|
l as text,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
c as title,
|
|
27
|
+
t as wrapper
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.header_UtYp{padding:24px 0;display:flex;align-items:center;justify-content:space-between;margin-right:48px}.title_mrNu{width:130px;height:32px}.addon_-bw-{width:32px;height:32px}.input_MEN8{height:60px;min-height:60px;width:100%;margin-bottom:16px}.content_jYVg{padding:16px 32px}@media(max-width:823px){.content_jYVg{padding:16px!important}}.buttons_PtGv{padding:24px 0;display:flex;align-items:center}.button_hWCW{height:44px;width:100px;margin-right:20px}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "header_UtYp", n = "title_mrNu", o = "addon_-bw-", e = "input_MEN8", s = "content_jYVg", c = "buttons_PtGv", u = "button_hWCW", d = {
|
|
3
3
|
header: t,
|
|
4
4
|
title: n,
|
|
5
|
-
addon:
|
|
6
|
-
input:
|
|
7
|
-
content:
|
|
8
|
-
buttons:
|
|
5
|
+
addon: o,
|
|
6
|
+
input: e,
|
|
7
|
+
content: s,
|
|
8
|
+
buttons: c,
|
|
9
9
|
button: u
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
o as addon,
|
|
13
13
|
u as button,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
c as buttons,
|
|
15
|
+
s as content,
|
|
16
|
+
d as default,
|
|
17
17
|
t as header,
|
|
18
|
-
|
|
18
|
+
e as input,
|
|
19
19
|
n as title
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
import { FormikErrors, FormikProps, FormikValues } from 'formik';
|
|
3
3
|
import { TFunction } from '../../../modal';
|
|
4
|
-
export
|
|
4
|
+
export type Props<T extends FormikValues> = {
|
|
5
5
|
initialValues: T;
|
|
6
6
|
validate?: (values: T) => void | Record<string, unknown> | Promise<FormikErrors<T>>;
|
|
7
7
|
/** customValidationFields - значения полей которые необходимо валидировать */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FormikProps, FormikValues } from 'formik';
|
|
3
3
|
import { TFunction } from '../../../modal';
|
|
4
|
-
|
|
4
|
+
type Props<T> = {
|
|
5
5
|
initialValues: Record<string, unknown> & T;
|
|
6
6
|
defaultValues: Record<string, unknown> & T;
|
|
7
7
|
children: (props: FormikProps<FormikValues & T>) => React.ReactNode;
|
|
@@ -9,6 +9,6 @@ declare type Props<T> = {
|
|
|
9
9
|
close: () => void;
|
|
10
10
|
t: TFunction;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
type FiltersFormType = <T>(props: Props<T>) => React.ReactElement;
|
|
13
13
|
export declare const FiltersForm: FiltersFormType;
|
|
14
14
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormikProps, FormikValues } from 'formik';
|
|
2
2
|
import { Props } from '.';
|
|
3
|
-
|
|
3
|
+
type FormProps<T extends FormikValues> = Props<T> & FormikProps<T>;
|
|
4
4
|
export declare function Form<T extends FormikValues>({ recordId, title, subtitle, headerBottomAddons, initialValues, submitButtonText, customFooter, loading, updating, removing, customValidationFields, validate, save, remove, close, back, t, children, headerAddon, error, softError, ...formProps }: FormProps<T>): JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
import { FormikErrors, FormikProps, FormikValues } from 'formik';
|
|
3
3
|
import { TFunction } from '../../../modal';
|
|
4
|
-
export
|
|
4
|
+
export type Props<T extends FormikValues> = {
|
|
5
5
|
recordId?: number;
|
|
6
6
|
title: string;
|
|
7
7
|
subtitle?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type FormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
/**
|
|
4
4
|
* Растягивает компонент на ширину контейнера
|
|
5
5
|
*/
|