@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
package/dist/typings/api.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type ApiMethodDeclaration<ParamsData, ResponseData> = {
|
|
3
3
|
(params: ParamsData): AxiosRequestConfig;
|
|
4
4
|
_r?: ResponseData;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type ApiDeclaration<T> = {
|
|
7
7
|
[P in keyof T]: T[P];
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type Api<T> = {
|
|
10
10
|
[P in keyof T]: MakeServiceFromServiceDeclaration<ExtendServiceParams<T[P]>>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type MakeServiceFromServiceDeclaration<T> = {
|
|
13
13
|
(params: ExtractApiMethodParamsType<T>): AxiosPromise<ExtractApiMethodResponseDataType<T>>;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export
|
|
15
|
+
type ExtractApiMethodResponseDataType<T> = T extends ApiMethodDeclaration<infer P, infer D> ? D : any;
|
|
16
|
+
type ExtractApiMethodParamsType<T> = T extends ApiMethodDeclaration<infer P, infer D> ? P : any;
|
|
17
|
+
export type ExtendServiceParams<T> = ApiMethodDeclaration<ExtractApiMethodParamsType<T>, ExtractApiMethodResponseDataType<T>>;
|
|
18
18
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const colors: readonly ["tertiary", "disabled", "accent", "primary", "attention", "positive", "secondary", "tertiary-inverted", "primary-inverted", "secondary-inverted", "link", "negative"];
|
|
2
|
-
export
|
|
2
|
+
export type Color = typeof colors[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.primary_f19I{color:var(--color-text-primary)}.primary-inverted_g2GM{color:var(--color-text-primary-inverted)}.secondary_Gon7{color:var(--color-text-secondary)}.secondary-inverted_oauN{color:var(--color-text-secondary-inverted)}.positive_Vno8{color:var(--color-text-positive)}.attention_ZbzM{color:var(--color-text-attention)}.negative_7JvU{color:var(--color-text-negative)}.link_gqQZ{color:var(--color-text-accent)}.disabled_TPJs{color:var(--color-text-disabled)}.tertiary_e7GJ{color:var(--color-text-thirdly)}.tertiary-inverted_jgNu{color:var(--color-text-tertiary-inverted)}.accent_-sG9{color:var(--color-text-accent)}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import './colors.module.css';
|
|
2
|
-
const
|
|
3
|
-
primary:
|
|
4
|
-
"primary-inverted": "
|
|
5
|
-
secondary:
|
|
6
|
-
"secondary-inverted": "
|
|
7
|
-
positive:
|
|
8
|
-
attention:
|
|
9
|
-
negative:
|
|
10
|
-
link:
|
|
11
|
-
disabled:
|
|
12
|
-
tertiary:
|
|
13
|
-
"tertiary-inverted": "
|
|
14
|
-
accent:
|
|
2
|
+
const t = "primary_f19I", e = "secondary_Gon7", n = "positive_Vno8", i = "attention_ZbzM", r = "negative_7JvU", a = "link_gqQZ", o = "disabled_TPJs", s = "tertiary_e7GJ", c = "accent_-sG9", d = {
|
|
3
|
+
primary: t,
|
|
4
|
+
"primary-inverted": "primary-inverted_g2GM",
|
|
5
|
+
secondary: e,
|
|
6
|
+
"secondary-inverted": "secondary-inverted_oauN",
|
|
7
|
+
positive: n,
|
|
8
|
+
attention: i,
|
|
9
|
+
negative: r,
|
|
10
|
+
link: a,
|
|
11
|
+
disabled: o,
|
|
12
|
+
tertiary: s,
|
|
13
|
+
"tertiary-inverted": "tertiary-inverted_jgNu",
|
|
14
|
+
accent: c
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
c as accent,
|
|
18
|
+
i as attention,
|
|
19
|
+
d as default,
|
|
20
|
+
o as disabled,
|
|
21
|
+
a as link,
|
|
22
|
+
r as negative,
|
|
23
|
+
n as positive,
|
|
24
|
+
t as primary,
|
|
25
|
+
e as secondary,
|
|
26
|
+
s as tertiary
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=colors.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--text-paragraph-margin-bottom: 0 0 var(--gap-s)}.
|
|
1
|
+
:root{--text-paragraph-margin-bottom: 0 0 var(--gap-s)}.paragraph_msaC{margin:var(--text-paragraph-margin-bottom);padding:0}.primary-medium_LhYf{font-size:15px;line-height:24px;font-weight:500;font-family:var(--font-family)}.primary-small_lYM8{font-size:13px;line-height:24px;font-weight:500;font-family:var(--font-family)}.title_O9cz{font-size:15px;line-height:20px;font-weight:500;font-family:var(--font-family)}.caps_l7Eq{font-size:13px;line-height:20px;font-weight:500;font-family:var(--font-family)}.uppercase_JVKe{text-transform:uppercase}.bold_RuoQ{font-weight:700}.medium_YL23{font-weight:500}.regular_h8gT{font-weight:400}.through_3EDO{text-decoration:line-through}.component_MPBK{font-size:16px;line-height:20px;font-weight:500;font-family:var(--font-family);color:inherit}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
paragraph:
|
|
4
|
-
"primary-medium": "
|
|
5
|
-
"primary-small": "
|
|
6
|
-
title:
|
|
7
|
-
caps:
|
|
8
|
-
uppercase:
|
|
9
|
-
bold:
|
|
10
|
-
medium:
|
|
11
|
-
regular:
|
|
12
|
-
through:
|
|
13
|
-
component:
|
|
2
|
+
const a = "paragraph_msaC", r = "title_O9cz", t = "caps_l7Eq", e = "uppercase_JVKe", o = "bold_RuoQ", p = "medium_YL23", s = "regular_h8gT", c = "through_3EDO", m = "component_MPBK", l = {
|
|
3
|
+
paragraph: a,
|
|
4
|
+
"primary-medium": "primary-medium_LhYf",
|
|
5
|
+
"primary-small": "primary-small_lYM8",
|
|
6
|
+
title: r,
|
|
7
|
+
caps: t,
|
|
8
|
+
uppercase: e,
|
|
9
|
+
bold: o,
|
|
10
|
+
medium: p,
|
|
11
|
+
regular: s,
|
|
12
|
+
through: c,
|
|
13
|
+
component: m
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
o as bold,
|
|
17
|
+
t as caps,
|
|
18
|
+
m as component,
|
|
19
|
+
l as default,
|
|
20
|
+
p as medium,
|
|
21
|
+
a as paragraph,
|
|
22
|
+
s as regular,
|
|
23
|
+
c as through,
|
|
24
|
+
r as title,
|
|
25
|
+
e as uppercase
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component_l-zR{margin:0;padding:0}.bold_R07W{font-weight:700!important}.medium_IcxX{font-weight:500!important}.regular_2NoX{font-weight:400!important}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './common.module.css';
|
|
2
|
-
const o = "
|
|
2
|
+
const o = "component_l-zR", e = "bold_R07W", n = "medium_IcxX", m = "regular_2NoX", t = {
|
|
3
3
|
component: o,
|
|
4
4
|
bold: e,
|
|
5
5
|
medium: n,
|
|
6
|
-
regular:
|
|
6
|
+
regular: m
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
e as bold,
|
|
10
10
|
o as component,
|
|
11
|
-
|
|
11
|
+
t as default,
|
|
12
12
|
n as medium,
|
|
13
|
-
|
|
13
|
+
m as regular
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=common.module.css.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Color } from '../colors';
|
|
3
|
-
export
|
|
3
|
+
export type TitleProps = {
|
|
4
4
|
/**
|
|
5
5
|
* HTML тег
|
|
6
6
|
*/
|
|
@@ -36,7 +36,7 @@ export declare type TitleProps = {
|
|
|
36
36
|
*/
|
|
37
37
|
children: ReactNode;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
type Styles = {
|
|
40
40
|
styles: {
|
|
41
41
|
[key: string]: string;
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.montserrat-xlarge_hdgb{font-size:48px;line-height:64px;font-weight:400;font-family:var(--font-family)}.montserrat-large_Go4J{font-size:40px;line-height:48px;font-weight:400;font-family:var(--font-family)}.montserrat-medium_KJdm{font-size:32px;line-height:40px;font-weight:400;font-family:var(--font-family)}.montserrat-small_T0Ue{font-size:24px;line-height:32px;font-weight:400;font-family:var(--font-family)}.montserrat-xsmall_9757{font-size:20px;line-height:24px;font-weight:400;font-family:var(--font-family)}.montserrat-xxsmall_5pe-{font-size:16px;line-height:24px;font-weight:400;font-family:var(--font-family)}.margins-xlarge_o0X6{margin:0 0 var(--gap-xl)}.margins-large_njSH,.margins-medium_ir-B{margin:var(--gap-4xl) 0 var(--gap-xl)}.margins-small_F4y4,.margins-xsmall_69GS{margin:var(--gap-3xl) 0 var(--gap-m)}.uppercase_NG5Q{text-transform:uppercase}.through_ezTz{text-decoration:line-through}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const
|
|
3
|
-
"montserrat-xlarge": "
|
|
4
|
-
"montserrat-large": "
|
|
5
|
-
"montserrat-medium": "
|
|
6
|
-
"montserrat-small": "
|
|
7
|
-
"montserrat-xsmall": "
|
|
8
|
-
"montserrat-xxsmall": "
|
|
9
|
-
"margins-xlarge": "
|
|
10
|
-
"margins-large": "
|
|
11
|
-
"margins-medium": "
|
|
12
|
-
"margins-small": "
|
|
13
|
-
"margins-xsmall": "
|
|
14
|
-
uppercase:
|
|
15
|
-
through:
|
|
2
|
+
const r = "uppercase_NG5Q", a = "through_ezTz", m = {
|
|
3
|
+
"montserrat-xlarge": "montserrat-xlarge_hdgb",
|
|
4
|
+
"montserrat-large": "montserrat-large_Go4J",
|
|
5
|
+
"montserrat-medium": "montserrat-medium_KJdm",
|
|
6
|
+
"montserrat-small": "montserrat-small_T0Ue",
|
|
7
|
+
"montserrat-xsmall": "montserrat-xsmall_9757",
|
|
8
|
+
"montserrat-xxsmall": "montserrat-xxsmall_5pe-",
|
|
9
|
+
"margins-xlarge": "margins-xlarge_o0X6",
|
|
10
|
+
"margins-large": "margins-large_njSH",
|
|
11
|
+
"margins-medium": "margins-medium_ir-B",
|
|
12
|
+
"margins-small": "margins-small_F4y4",
|
|
13
|
+
"margins-xsmall": "margins-xsmall_69GS",
|
|
14
|
+
uppercase: r,
|
|
15
|
+
through: a
|
|
16
16
|
};
|
|
17
17
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
m as default,
|
|
19
|
+
a as through,
|
|
20
|
+
r as uppercase
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -28,7 +28,7 @@ declare const CURRENCY_SYMBOLS: {
|
|
|
28
28
|
AUD: string;
|
|
29
29
|
ILS: string;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type CurrencyCodes = keyof typeof CURRENCY_SYMBOLS;
|
|
32
32
|
export declare const currency: {
|
|
33
33
|
CURRENCY_SYMBOLS: typeof CURRENCY_SYMBOLS;
|
|
34
34
|
};
|
|
@@ -58,7 +58,7 @@ export declare function isThisYear(d: Date): boolean;
|
|
|
58
58
|
export declare function parseISO(s: string): Date;
|
|
59
59
|
/** Monday-first short weekday labels (aligned with previous date-fns `localize.day` order). */
|
|
60
60
|
export declare function weekDaysShort(localeTag: string): string[];
|
|
61
|
-
|
|
61
|
+
type FormatOptions = {
|
|
62
62
|
locale?: string;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function d(c, n) {
|
|
2
|
+
let e;
|
|
3
|
+
const o = () => {
|
|
4
|
+
e !== void 0 && (clearTimeout(e), e = void 0);
|
|
5
|
+
}, t = ((...i) => {
|
|
6
|
+
o(), e = setTimeout(() => {
|
|
7
|
+
e = void 0, c(...i);
|
|
8
|
+
}, n);
|
|
9
|
+
});
|
|
10
|
+
return t.cancel = o, t;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
d as debounce
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=debounce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debounce.js","sources":["../../src/utils/debounce.ts"],"sourcesContent":["type AnyFn = (...args: unknown[]) => void;\n\n/**\n * Minimal debounce (trailing edge). Returned function has `cancel()` for cleanup.\n */\nexport function debounce<F extends AnyFn>(fn: F, waitMs: number): F & { cancel: () => void } {\n let timeoutId: ReturnType<typeof setTimeout> | undefined;\n\n const cancel = () => {\n if (timeoutId !== undefined) {\n clearTimeout(timeoutId);\n timeoutId = undefined;\n }\n };\n\n const debounced = ((...args: Parameters<F>) => {\n cancel();\n timeoutId = setTimeout(() => {\n timeoutId = undefined;\n fn(...args);\n }, waitMs);\n }) as F & { cancel: () => void };\n\n debounced.cancel = cancel;\n\n return debounced;\n}\n"],"names":["debounce","fn","waitMs","timeoutId","cancel","debounced","args"],"mappings":"AAKO,SAASA,EAA0BC,GAAOC,GAA4C;AACzF,MAAIC;AAEJ,QAAMC,IAAS,MAAM;AACjB,IAAID,MAAc,WACd,aAAaA,CAAS,GACtBA,IAAY;AAAA,EAEpB,GAEME,KAAa,IAAIC,MAAwB;AAC3C,IAAAF,EAAA,GACAD,IAAY,WAAW,MAAM;AACzB,MAAAA,IAAY,QACZF,EAAG,GAAGK,CAAI;AAAA,IACd,GAAGJ,CAAM;AAAA,EACb;AAEA,SAAAG,EAAU,SAASD,GAEZC;AACX;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AmountProps } from '../../amount';
|
|
2
2
|
export declare const THINSP: string;
|
|
3
3
|
export declare const AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR = ",";
|
|
4
|
-
export
|
|
4
|
+
export type AmountValueType = 'default' | 'decimal';
|
|
5
5
|
/**
|
|
6
6
|
* Форматирует значение суммы
|
|
7
7
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { CurrencyCodes } from '../data/currency-codes';
|
|
1
2
|
/**
|
|
2
3
|
* Возвращает знак валюты по ISO коду.
|
|
3
4
|
*
|
|
4
5
|
* @param currencyCode Код валюты.
|
|
5
6
|
*/
|
|
6
|
-
export declare const getCurrencySymbol: (currencyCode?:
|
|
7
|
+
export declare const getCurrencySymbol: (currencyCode?: CurrencyCodes) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type ErrorData = {
|
|
3
3
|
errorId: string;
|
|
4
4
|
application: string;
|
|
5
5
|
errorCode: string;
|
|
@@ -11,7 +11,7 @@ export declare enum ErrorType {
|
|
|
11
11
|
BUSINESS = "BUSINESS",
|
|
12
12
|
INTERNAL = "INTERNAL"
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type ServiceError = {
|
|
15
15
|
code: string;
|
|
16
16
|
message: string;
|
|
17
17
|
errorType: ErrorType;
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -1,54 +1,60 @@
|
|
|
1
|
-
import { add as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { add as r, addDays as t, addMonths as s, addYears as o, eachDayOfInterval as f, eachMonthOfInterval as n, eachYearOfInterval as i, endOfDay as O, endOfISOWeek as m, endOfWeek as h, endOfYear as d, format as p, isAfter as S, isBefore as y, isEqual as M, isLastDayOfMonth as l, isSameDay as D, isSameMonth as u, isSameYear as x, isThisMonth as I, isThisYear as c, isToday as A, isWithinInterval as T, lastDayOfMonth as Y, max as k, min as W, parse as b, parseISO as R, startOfDay as v, startOfISOWeek as _, startOfMonth as w, startOfWeek as E, startOfYear as N, subDays as P, subMonths as g, subWeeks as q, subYears as z, weekDaysShort as B } from "./date/index.js";
|
|
2
|
+
import { debounce as J } from "./debounce.js";
|
|
3
|
+
import { safeStringify as U } from "./safe-stringify.js";
|
|
4
|
+
import { AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR as C, THINSP as F, formatAmount as G } from "./format-amount/util.js";
|
|
5
|
+
import { showError as Q, showSuccess as V } from "./show-toast/index.js";
|
|
6
|
+
import { splitAmount as Z } from "./split-amount/util.js";
|
|
7
|
+
import { formatDate as ee, locales as ae } from "./format-date/index.js";
|
|
8
|
+
import { capitalize as te } from "./string.js";
|
|
6
9
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
C as AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
11
|
+
F as THINSP,
|
|
12
|
+
r as add,
|
|
10
13
|
t as addDays,
|
|
11
|
-
|
|
14
|
+
s as addMonths,
|
|
12
15
|
o as addYears,
|
|
16
|
+
te as capitalize,
|
|
17
|
+
J as debounce,
|
|
13
18
|
f as eachDayOfInterval,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
n as eachMonthOfInterval,
|
|
20
|
+
i as eachYearOfInterval,
|
|
21
|
+
O as endOfDay,
|
|
22
|
+
m as endOfISOWeek,
|
|
23
|
+
h as endOfWeek,
|
|
19
24
|
d as endOfYear,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
p as format,
|
|
26
|
+
G as formatAmount,
|
|
27
|
+
ee as formatDate,
|
|
23
28
|
S as isAfter,
|
|
24
29
|
y as isBefore,
|
|
25
|
-
|
|
30
|
+
M as isEqual,
|
|
26
31
|
l as isLastDayOfMonth,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
D as isSameDay,
|
|
33
|
+
u as isSameMonth,
|
|
34
|
+
x as isSameYear,
|
|
35
|
+
I as isThisMonth,
|
|
36
|
+
c as isThisYear,
|
|
37
|
+
A as isToday,
|
|
38
|
+
T as isWithinInterval,
|
|
39
|
+
Y as lastDayOfMonth,
|
|
40
|
+
ae as locales,
|
|
41
|
+
k as max,
|
|
37
42
|
W as min,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
b as parse,
|
|
44
|
+
R as parseISO,
|
|
45
|
+
U as safeStringify,
|
|
46
|
+
Q as showError,
|
|
47
|
+
V as showSuccess,
|
|
48
|
+
Z as splitAmount,
|
|
43
49
|
v as startOfDay,
|
|
44
50
|
_ as startOfISOWeek,
|
|
45
51
|
w as startOfMonth,
|
|
46
52
|
E as startOfWeek,
|
|
47
53
|
N as startOfYear,
|
|
48
54
|
P as subDays,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
g as subMonths,
|
|
56
|
+
q as subWeeks,
|
|
57
|
+
z as subYears,
|
|
58
|
+
B as weekDaysShort
|
|
53
59
|
};
|
|
54
60
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
function f(o) {
|
|
2
|
+
const n = /* @__PURE__ */ new WeakSet(), i = (t) => typeof Element != "undefined" && t instanceof Element, r = (t) => {
|
|
3
|
+
if (!t || typeof t != "object") return !1;
|
|
4
|
+
const e = t.$$typeof;
|
|
5
|
+
return typeof e == "symbol" && String(e).includes("react.element");
|
|
6
|
+
};
|
|
7
|
+
return JSON.stringify(o, (t, e) => {
|
|
8
|
+
if (!(i(e) || r(e))) {
|
|
9
|
+
if (e && typeof e == "object") {
|
|
10
|
+
if (n.has(e)) return;
|
|
11
|
+
n.add(e);
|
|
12
|
+
}
|
|
13
|
+
return e;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
f as safeStringify
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=safe-stringify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safe-stringify.js","sources":["../../src/utils/safe-stringify.ts"],"sourcesContent":["/** JSON.stringify с вырезанием DOM, React-элементов и циклов (для поиска по опциям и т.п.). */\nexport function safeStringify(obj: unknown): string {\n const seen = new WeakSet<object>();\n\n const isDomNode = (v: unknown) =>\n typeof Element !== 'undefined' && v instanceof Element;\n\n const isReactElement = (v: unknown) => {\n if (!v || typeof v !== 'object') return false;\n const t = (v as { $$typeof?: symbol }).$$typeof;\n\n return typeof t === 'symbol' && String(t).includes('react.element');\n };\n\n return JSON.stringify(obj, (_key, value) => {\n if (isDomNode(value) || isReactElement(value)) return undefined;\n\n if (value && typeof value === 'object') {\n if (seen.has(value as object)) return undefined;\n seen.add(value as object);\n }\n\n return value;\n });\n}\n"],"names":["safeStringify","obj","seen","isDomNode","v","isReactElement","t","_key","value"],"mappings":"AACO,SAASA,EAAcC,GAAsB;AAChD,QAAMC,wBAAW,QAAA,GAEXC,IAAY,CAACC,MACf,OAAO,WAAY,eAAeA,aAAa,SAE7CC,IAAiB,CAACD,MAAe;AACnC,QAAI,CAACA,KAAK,OAAOA,KAAM,SAAU,QAAO;AACxC,UAAME,IAAKF,EAA4B;AAEvC,WAAO,OAAOE,KAAM,YAAY,OAAOA,CAAC,EAAE,SAAS,eAAe;AAAA,EACtE;AAEA,SAAO,KAAK,UAAUL,GAAK,CAACM,GAAMC,MAAU;AACxC,QAAI,EAAAL,EAAUK,CAAK,KAAKH,EAAeG,CAAK,IAE5C;AAAA,UAAIA,KAAS,OAAOA,KAAU,UAAU;AACpC,YAAIN,EAAK,IAAIM,CAAe,EAAG;AAC/B,QAAAN,EAAK,IAAIM,CAAe;AAAA,MAC5B;AAEA,aAAOA;AAAA;AAAA,EACX,CAAC;AACL;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.js","sources":["../../src/utils/string.ts"],"sourcesContent":["/** Like lodash `capitalize`: first character upper, rest lower. */\nexport function capitalize(value: string): string {\n if (!value) return value;\n\n return value.charAt(0).toUpperCase() + value.slice(1).toLowerCase();\n}\n"],"names":["capitalize","value"],"mappings":"AACO,SAASA,EAAWC,GAAuB;AAC9C,SAAKA,KAEEA,EAAM,OAAO,CAAC,EAAE,gBAAgBA,EAAM,MAAM,CAAC,EAAE,YAAA;AAC1D;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.container_OmIE{width:100%;height:100%;display:flex;flex-direction:row;position:relative}.reversed_oDLY{flex-direction:row-reverse}.left_side_4-uK{width:100%;padding:64px calc(50% + 56px) 64px 56px;background-color:var(--color-bg-primary);display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:auto 0}.left_side_4-uK .left_side_inner_-Lvb{max-width:400px;width:100%;min-height:min-content}.right_side_iFk7{position:fixed;right:0;width:50%;height:100%;padding:0 56px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.navigator_O-rx{background:var(--color-bg-special-super-light);background:linear-gradient(155deg,var(--color-bg-special-super-light) 0%,var(--color-bg-special-big-objects) 100%)}.loverocket_DMLi{background:#bdd8ff;background:linear-gradient(155deg,#bdd8ff,#a2c0ec)}.default_yQU6{background:var(--color-bg-special-super-light);background:linear-gradient(155deg,var(--color-bg-special-super-light) 0%,var(--color-bg-special-big-objects) 100%)}.right_side_iFk7{overflow:hidden}.right_side_iFk7 img{width:400px}@media(max-width:980px){.right_side_iFk7{display:none}.left_side_4-uK{padding:64px 24px}}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "container_OmIE", t = "reversed_oDLY", i = "left_side_4-uK", n = "left_side_inner_-Lvb", r = "right_side_iFk7", s = "navigator_O-rx", o = "loverocket_DMLi", _ = {
|
|
3
3
|
container: e,
|
|
4
|
-
reversed:
|
|
5
|
-
left_side:
|
|
6
|
-
left_side_inner:
|
|
7
|
-
right_side:
|
|
8
|
-
navigator:
|
|
4
|
+
reversed: t,
|
|
5
|
+
left_side: i,
|
|
6
|
+
left_side_inner: n,
|
|
7
|
+
right_side: r,
|
|
8
|
+
navigator: s,
|
|
9
9
|
loverocket: o,
|
|
10
|
-
default: "
|
|
10
|
+
default: "default_yQU6"
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
13
|
e as container,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
_ as default,
|
|
15
|
+
i as left_side,
|
|
16
|
+
n as left_side_inner,
|
|
17
17
|
o as loverocket,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
s as navigator,
|
|
19
|
+
t as reversed,
|
|
20
|
+
r as right_side
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, FC, ReactNode, RefAttributes } from 'react';
|
|
2
2
|
import { InputProps } from '../input';
|
|
3
|
-
export
|
|
3
|
+
export type WithSuffixProps = InputProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Дополнительный закрепленный текст справа от основного значения.
|
|
6
6
|
* Например: value='85' suffix=' мес' -> 85 мес
|
|
@@ -11,7 +11,7 @@ export declare type WithSuffixProps = InputProps & {
|
|
|
11
11
|
*/
|
|
12
12
|
suffixContainerClassName?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement>>) => React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
14
|
+
export declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement>>) => React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "value" | "type" | "size"> & {
|
|
15
15
|
value?: string | undefined;
|
|
16
16
|
defaultValue?: string | undefined;
|
|
17
17
|
block?: boolean | undefined;
|
|
@@ -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)}.suffixContainer_L2XY{font-size:16px!important;line-height:20px;font-weight:400;font-family:var(--font-family);position:absolute;left:0;top:0;bottom:0;align-items:center;display:none;pointer-events:none}input:focus:not(:read-only)+.suffixContainer_L2XY,.suffixVisible_Yc0T .suffixContainer_L2XY{display:inline-flex}.hasSuffix_k5Iu input:focus::placeholder{color:transparent;transition:none}.spacer_ylEi{visibility:hidden;flex-shrink:0;white-space:pre}.suffix_rQNL{white-space:pre}.disabled_tntc{color:var(--input-disabled-color)}.readOnly_tm8U{color:var(--input-read-only-color)}
|