@alfalab/core-components 42.2.1-beta.0 → 42.3.0
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/bottom-sheet/component.js +12 -3
- package/bottom-sheet/cssm/component.js +11 -2
- package/bottom-sheet/cssm/index.module.css +6 -5
- package/bottom-sheet/cssm/types.d.ts +9 -1
- package/bottom-sheet/esm/component.js +12 -3
- package/bottom-sheet/esm/index.css +6 -5
- package/bottom-sheet/esm/types.d.ts +9 -1
- package/bottom-sheet/index.css +6 -5
- package/bottom-sheet/modern/component.js +12 -3
- package/bottom-sheet/modern/index.css +6 -5
- package/bottom-sheet/modern/types.d.ts +9 -1
- package/bottom-sheet/types.d.ts +9 -1
- package/calendar/Component-63dec22f.d.ts +18 -1
- package/calendar/cssm/Component-63dec22f.d.ts +18 -1
- package/calendar/cssm/types-1b036d4b.d.ts +13 -0
- package/calendar/cssm/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar/esm/Component-63dec22f.d.ts +18 -1
- package/calendar/esm/types-1b036d4b.d.ts +13 -0
- package/calendar/esm/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar/modern/Component-63dec22f.d.ts +18 -1
- package/calendar/modern/types-1b036d4b.d.ts +13 -0
- package/calendar/modern/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar/types-1b036d4b.d.ts +13 -0
- package/calendar/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar-input/Component-63dec22f.d.ts +18 -1
- package/calendar-input/components/calendar-input/Component.js +2 -6
- package/calendar-input/cssm/Component-63dec22f.d.ts +18 -1
- package/calendar-input/cssm/components/calendar-input/Component.js +2 -6
- package/calendar-input/cssm/types-1b036d4b.d.ts +13 -0
- package/calendar-input/cssm/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar-input/esm/Component-63dec22f.d.ts +18 -1
- package/calendar-input/esm/components/calendar-input/Component.js +2 -6
- package/calendar-input/esm/types-1b036d4b.d.ts +13 -0
- package/calendar-input/esm/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar-input/modern/Component-63dec22f.d.ts +18 -1
- package/calendar-input/modern/components/calendar-input/Component.js +2 -6
- package/calendar-input/modern/types-1b036d4b.d.ts +13 -0
- package/calendar-input/modern/useSkeleton-1b036d4b.d.ts +40 -0
- package/calendar-input/types-1b036d4b.d.ts +13 -0
- package/calendar-input/useSkeleton-1b036d4b.d.ts +40 -0
- package/checkbox-group/components/base-checkbox-group/index.css +0 -6
- package/checkbox-group/cssm/components/base-checkbox-group/index.module.css +0 -6
- package/checkbox-group/cssm/desktop.module.css +7 -1
- package/checkbox-group/cssm/mobile.module.css +7 -1
- package/checkbox-group/desktop.css +7 -1
- package/checkbox-group/esm/components/base-checkbox-group/index.css +0 -6
- package/checkbox-group/esm/desktop.css +7 -1
- package/checkbox-group/esm/mobile.css +7 -1
- package/checkbox-group/mobile.css +7 -1
- package/checkbox-group/modern/components/base-checkbox-group/index.css +0 -6
- package/checkbox-group/modern/desktop.css +7 -1
- package/checkbox-group/modern/mobile.css +7 -1
- package/confirmation/component.desktop.js +1 -1
- package/confirmation/component.mobile.js +1 -1
- package/confirmation/component.responsive.js +1 -1
- package/confirmation/components/base-confirmation/component.js +1 -1
- package/confirmation/components/base-confirmation/index.js +1 -1
- package/confirmation/components/index.js +1 -1
- package/confirmation/components/screens/index.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/components/screens/initial/index.js +1 -1
- package/confirmation/desktop.js +1 -1
- package/confirmation/esm/component.desktop.js +1 -1
- package/confirmation/esm/component.mobile.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile.js +1 -1
- package/confirmation/esm/shared.js +1 -1
- package/confirmation/index.js +1 -1
- package/confirmation/mobile.js +1 -1
- package/confirmation/modern/component.desktop.js +1 -1
- package/confirmation/modern/component.mobile.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile.js +1 -1
- package/confirmation/modern/shared.js +1 -1
- package/confirmation/shared.js +1 -1
- package/custom-picker-button/Component-63dec22f.d.ts +18 -1
- package/custom-picker-button/component-50136800.d.ts +1 -1
- package/custom-picker-button/cssm/Component-63dec22f.d.ts +18 -1
- package/custom-picker-button/cssm/component-50136800.d.ts +1 -1
- package/custom-picker-button/cssm/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/cssm/shared-4cd3936b.d.ts +1 -29
- package/custom-picker-button/cssm/types-1b036d4b.d.ts +13 -0
- package/custom-picker-button/cssm/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
- package/custom-picker-button/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/custom-picker-button/esm/Component-63dec22f.d.ts +18 -1
- package/custom-picker-button/esm/component-50136800.d.ts +1 -1
- package/custom-picker-button/esm/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/esm/shared-4cd3936b.d.ts +1 -29
- package/custom-picker-button/esm/types-1b036d4b.d.ts +13 -0
- package/custom-picker-button/esm/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
- package/custom-picker-button/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/custom-picker-button/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/modern/Component-63dec22f.d.ts +18 -1
- package/custom-picker-button/modern/component-50136800.d.ts +1 -1
- package/custom-picker-button/modern/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/modern/shared-4cd3936b.d.ts +1 -29
- package/custom-picker-button/modern/types-1b036d4b.d.ts +13 -0
- package/custom-picker-button/modern/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
- package/custom-picker-button/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/custom-picker-button/shared-4cd3936b.d.ts +1 -29
- package/custom-picker-button/types-1b036d4b.d.ts +13 -0
- package/custom-picker-button/{types-d9f9bbcc.d.ts → types-92653002.d.ts} +9 -1
- package/custom-picker-button/useSkeleton-ebda875c.d.ts +12 -0
- package/date-range-input/Component-63dec22f.d.ts +18 -1
- package/date-range-input/components/date-range-input/Component.js +2 -4
- package/date-range-input/cssm/Component-63dec22f.d.ts +18 -1
- package/date-range-input/cssm/components/date-range-input/Component.js +2 -4
- package/date-range-input/cssm/types-1b036d4b.d.ts +13 -0
- package/date-range-input/cssm/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-range-input/esm/Component-63dec22f.d.ts +18 -1
- package/date-range-input/esm/components/date-range-input/Component.js +2 -4
- package/date-range-input/esm/types-1b036d4b.d.ts +13 -0
- package/date-range-input/esm/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-range-input/modern/Component-63dec22f.d.ts +18 -1
- package/date-range-input/modern/components/date-range-input/Component.js +2 -4
- package/date-range-input/modern/types-1b036d4b.d.ts +13 -0
- package/date-range-input/modern/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-range-input/types-1b036d4b.d.ts +13 -0
- package/date-range-input/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-time-input/Component-63dec22f.d.ts +18 -1
- package/date-time-input/components/date-time-input/Component.js +1 -1
- package/date-time-input/cssm/Component-63dec22f.d.ts +18 -1
- package/date-time-input/cssm/components/date-time-input/Component.js +1 -1
- package/date-time-input/cssm/types-1b036d4b.d.ts +13 -0
- package/date-time-input/cssm/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-time-input/esm/Component-63dec22f.d.ts +18 -1
- package/date-time-input/esm/components/date-time-input/Component.js +1 -1
- package/date-time-input/esm/types-1b036d4b.d.ts +13 -0
- package/date-time-input/esm/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-time-input/modern/Component-63dec22f.d.ts +18 -1
- package/date-time-input/modern/components/date-time-input/Component.js +1 -1
- package/date-time-input/modern/types-1b036d4b.d.ts +13 -0
- package/date-time-input/modern/useSkeleton-1b036d4b.d.ts +40 -0
- package/date-time-input/types-1b036d4b.d.ts +13 -0
- package/date-time-input/useSkeleton-1b036d4b.d.ts +40 -0
- package/drawer/cssm/index.module.css +2 -1
- package/drawer/esm/index.css +2 -1
- package/drawer/index.css +2 -1
- package/drawer/modern/index.css +2 -1
- package/gallery/Component.js +2 -2
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/header/index.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/index.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/index.js +2 -2
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/index.js +2 -2
- package/input-autocomplete/Component-63dec22f.d.ts +18 -1
- package/input-autocomplete/component-50136800.d.ts +1 -1
- package/input-autocomplete/cssm/Component-63dec22f.d.ts +18 -1
- package/input-autocomplete/cssm/component-50136800.d.ts +1 -1
- package/input-autocomplete/cssm/index-f12ee135.d.ts +1 -1
- package/input-autocomplete/cssm/shared-4cd3936b.d.ts +1 -29
- package/input-autocomplete/cssm/types-1b036d4b.d.ts +13 -0
- package/input-autocomplete/cssm/types-92653002.d.ts +267 -0
- package/input-autocomplete/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/input-autocomplete/esm/Component-63dec22f.d.ts +18 -1
- package/input-autocomplete/esm/component-50136800.d.ts +1 -1
- package/input-autocomplete/esm/index-f12ee135.d.ts +1 -1
- package/input-autocomplete/esm/shared-4cd3936b.d.ts +1 -29
- package/input-autocomplete/esm/types-1b036d4b.d.ts +13 -0
- package/input-autocomplete/esm/types-92653002.d.ts +267 -0
- package/input-autocomplete/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/input-autocomplete/index-f12ee135.d.ts +1 -1
- package/input-autocomplete/modern/Component-63dec22f.d.ts +18 -1
- package/input-autocomplete/modern/component-50136800.d.ts +1 -1
- package/input-autocomplete/modern/index-f12ee135.d.ts +1 -1
- package/input-autocomplete/modern/shared-4cd3936b.d.ts +1 -29
- package/input-autocomplete/modern/types-1b036d4b.d.ts +13 -0
- package/input-autocomplete/modern/types-92653002.d.ts +267 -0
- package/input-autocomplete/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/input-autocomplete/shared-4cd3936b.d.ts +1 -29
- package/input-autocomplete/types-1b036d4b.d.ts +13 -0
- package/input-autocomplete/types-92653002.d.ts +267 -0
- package/input-autocomplete/useSkeleton-ebda875c.d.ts +12 -0
- package/intl-phone-input/Component-63dec22f.d.ts +18 -1
- package/intl-phone-input/cssm/Component-63dec22f.d.ts +18 -1
- package/intl-phone-input/cssm/types-1b036d4b.d.ts +13 -0
- package/intl-phone-input/cssm/types-72dda473.d.ts +9 -1
- package/intl-phone-input/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/intl-phone-input/esm/Component-63dec22f.d.ts +18 -1
- package/intl-phone-input/esm/types-1b036d4b.d.ts +13 -0
- package/intl-phone-input/esm/types-72dda473.d.ts +9 -1
- package/intl-phone-input/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/intl-phone-input/modern/Component-63dec22f.d.ts +18 -1
- package/intl-phone-input/modern/types-1b036d4b.d.ts +13 -0
- package/intl-phone-input/modern/types-72dda473.d.ts +9 -1
- package/intl-phone-input/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/intl-phone-input/types-1b036d4b.d.ts +13 -0
- package/intl-phone-input/types-72dda473.d.ts +9 -1
- package/intl-phone-input/useSkeleton-ebda875c.d.ts +12 -0
- package/notification/cssm/index.module.css +3 -3
- package/notification/esm/index.css +3 -3
- package/notification/index.css +3 -3
- package/notification/modern/index.css +3 -3
- package/package.json +288 -1614
- package/pagination/components/tag/index.css +7 -7
- package/pagination/cssm/components/tag/index.module.css +7 -7
- package/pagination/esm/components/tag/index.css +7 -7
- package/pagination/modern/components/tag/index.css +7 -7
- package/phone-input/Component.js +11 -4
- package/phone-input/cssm/Component.js +11 -4
- package/phone-input/cssm/utils/index.d.ts +2 -1
- package/phone-input/cssm/utils/index.js +17 -0
- package/phone-input/esm/Component.js +12 -5
- package/phone-input/esm/utils/index.d.ts +2 -1
- package/phone-input/esm/utils/index.js +17 -1
- package/phone-input/modern/Component.js +13 -5
- package/phone-input/modern/utils/index.d.ts +2 -1
- package/phone-input/modern/utils/index.js +17 -1
- package/phone-input/utils/index.d.ts +2 -1
- package/phone-input/utils/index.js +17 -0
- package/picker-button/Component-63dec22f.d.ts +18 -1
- package/picker-button/cssm/Component-63dec22f.d.ts +18 -1
- package/picker-button/cssm/shared-4cd3936b.d.ts +1 -29
- package/picker-button/cssm/types-1b036d4b.d.ts +13 -0
- package/picker-button/cssm/types-72dda473.d.ts +9 -1
- package/picker-button/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/picker-button/esm/Component-63dec22f.d.ts +18 -1
- package/picker-button/esm/shared-4cd3936b.d.ts +1 -29
- package/picker-button/esm/types-1b036d4b.d.ts +13 -0
- package/picker-button/esm/types-72dda473.d.ts +9 -1
- package/picker-button/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/picker-button/modern/Component-50136800.d.ts +5 -37
- package/picker-button/modern/Component-5e1b8383.d.ts +70 -3
- package/picker-button/modern/Component-63dec22f.d.ts +184 -0
- package/picker-button/modern/Component-ebda875c.d.ts +9 -98
- package/picker-button/modern/Component.desktop.d.ts +1 -1
- package/picker-button/modern/Component.mobile.d.ts +1 -1
- package/picker-button/modern/Component.modal.mobile-5e1b8383.d.ts +60 -0
- package/picker-button/modern/Component.responsive.d.ts +1 -1
- package/picker-button/modern/component-50136800.d.ts +44 -0
- package/picker-button/modern/createPaddingStyle-72dda473.d.ts +5 -0
- package/picker-button/modern/hook-9ea9e32c.d.ts +4 -4
- package/picker-button/modern/index-50136800.d.ts +2 -5
- package/picker-button/modern/index-bdb4c6b9.d.ts +2 -180
- package/picker-button/modern/index-c44170fe.d.ts +141 -3
- package/picker-button/modern/index-ebda875c.d.ts +62 -13
- package/picker-button/modern/index-f12ee135.d.ts +3 -307
- package/picker-button/modern/shared-4cd3936b.d.ts +59 -1
- package/picker-button/modern/types-1b036d4b.d.ts +13 -0
- package/picker-button/modern/types-72dda473.d.ts +267 -0
- package/picker-button/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/picker-button/modern/utils-1574ad8b.d.ts +29 -0
- package/picker-button/modern/utils-49cc3c24.d.ts +8 -0
- package/picker-button/shared-4cd3936b.d.ts +1 -29
- package/picker-button/types-1b036d4b.d.ts +13 -0
- package/picker-button/types-72dda473.d.ts +9 -1
- package/picker-button/useSkeleton-ebda875c.d.ts +12 -0
- package/popup-sheet/cssm/types-1b036d4b.d.ts +13 -0
- package/popup-sheet/cssm/useSkeleton-1b036d4b.d.ts +40 -0
- package/popup-sheet/esm/types-1b036d4b.d.ts +13 -0
- package/popup-sheet/esm/useSkeleton-1b036d4b.d.ts +40 -0
- package/popup-sheet/modern/types-1b036d4b.d.ts +13 -0
- package/popup-sheet/modern/useSkeleton-1b036d4b.d.ts +40 -0
- package/popup-sheet/types-1b036d4b.d.ts +13 -0
- package/popup-sheet/useSkeleton-1b036d4b.d.ts +40 -0
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -1
- package/radio-group/components/base-radio-group/index.css +0 -6
- package/radio-group/cssm/components/base-radio-group/index.module.css +0 -6
- package/radio-group/cssm/desktop.module.css +7 -1
- package/radio-group/cssm/mobile.module.css +7 -1
- package/radio-group/desktop.css +7 -1
- package/radio-group/esm/components/base-radio-group/index.css +0 -6
- package/radio-group/esm/desktop.css +7 -1
- package/radio-group/esm/mobile.css +7 -1
- package/radio-group/mobile.css +7 -1
- package/radio-group/modern/components/base-radio-group/index.css +0 -6
- package/radio-group/modern/desktop.css +7 -1
- package/radio-group/modern/mobile.css +7 -1
- package/select/Component.mobile-f1f15074.d.ts +29 -12
- package/select/Component.mobile.js +1 -1
- package/select/Component.modal.mobile.js +1 -1
- package/select/Component.responsive.js +1 -1
- package/select/cssm/Component.mobile-f1f15074.d.ts +18 -1
- package/select/cssm/types-1b036d4b.d.ts +13 -0
- package/select/cssm/useSkeleton-1b036d4b.d.ts +12 -0
- package/select/esm/Component.mobile-f1f15074.d.ts +18 -1
- package/select/esm/Component.mobile.js +1 -1
- package/select/esm/Component.modal.mobile.js +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared.js +1 -1
- package/select/esm/types-1b036d4b.d.ts +13 -0
- package/select/esm/useSkeleton-1b036d4b.d.ts +12 -0
- package/select/index.js +1 -1
- package/select/mobile.js +1 -1
- package/select/modern/Component.mobile-f1f15074.d.ts +18 -1
- package/select/modern/Component.mobile.js +1 -1
- package/select/modern/Component.modal.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared.js +1 -1
- package/select/modern/types-1b036d4b.d.ts +13 -0
- package/select/modern/useSkeleton-1b036d4b.d.ts +12 -0
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared.js +1 -1
- package/select/types-1b036d4b.d.ts +13 -0
- package/select/useSkeleton-1b036d4b.d.ts +12 -0
- package/select-with-tags/Component-63dec22f.d.ts +18 -1
- package/select-with-tags/cssm/Component-63dec22f.d.ts +18 -1
- package/select-with-tags/cssm/shared-4cd3936b.d.ts +1 -28
- package/select-with-tags/cssm/types-1b036d4b.d.ts +13 -0
- package/select-with-tags/cssm/types-72dda473.d.ts +9 -1
- package/select-with-tags/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/select-with-tags/esm/Component-63dec22f.d.ts +18 -1
- package/select-with-tags/esm/shared-4cd3936b.d.ts +1 -28
- package/select-with-tags/esm/types-1b036d4b.d.ts +13 -0
- package/select-with-tags/esm/types-72dda473.d.ts +9 -1
- package/select-with-tags/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/select-with-tags/modern/Component-63dec22f.d.ts +18 -1
- package/select-with-tags/modern/shared-4cd3936b.d.ts +1 -28
- package/select-with-tags/modern/types-1b036d4b.d.ts +13 -0
- package/select-with-tags/modern/types-72dda473.d.ts +9 -1
- package/select-with-tags/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/select-with-tags/shared-4cd3936b.d.ts +1 -28
- package/select-with-tags/types-1b036d4b.d.ts +13 -0
- package/select-with-tags/types-72dda473.d.ts +9 -1
- package/select-with-tags/useSkeleton-ebda875c.d.ts +12 -0
- package/side-panel/cssm/desktop.module.css +1 -1
- package/side-panel/cssm/mobile.module.css +3 -2
- package/side-panel/desktop.css +1 -1
- package/side-panel/esm/desktop.css +1 -1
- package/side-panel/esm/mobile.css +3 -2
- package/side-panel/mobile.css +3 -2
- package/side-panel/modern/desktop.css +1 -1
- package/side-panel/modern/mobile.css +3 -2
- package/table/Component-63dec22f.d.ts +18 -1
- package/table/cssm/Component-63dec22f.d.ts +18 -1
- package/table/cssm/types-1b036d4b.d.ts +13 -0
- package/table/cssm/types-72dda473.d.ts +9 -1
- package/table/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/table/esm/Component-63dec22f.d.ts +18 -1
- package/table/esm/types-1b036d4b.d.ts +13 -0
- package/table/esm/types-72dda473.d.ts +9 -1
- package/table/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/table/modern/Component-63dec22f.d.ts +18 -1
- package/table/modern/types-1b036d4b.d.ts +13 -0
- package/table/modern/types-72dda473.d.ts +9 -1
- package/table/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/table/types-1b036d4b.d.ts +13 -0
- package/table/types-72dda473.d.ts +9 -1
- package/table/useSkeleton-ebda875c.d.ts +12 -0
- package/tabs/Component-63dec22f.d.ts +18 -1
- package/tabs/cssm/Component-63dec22f.d.ts +18 -1
- package/tabs/cssm/index-f12ee135.d.ts +9 -1
- package/tabs/cssm/shared-4cd3936b.d.ts +1 -28
- package/tabs/cssm/types-1b036d4b.d.ts +13 -0
- package/tabs/cssm/useSkeleton-ebda875c.d.ts +12 -0
- package/tabs/esm/Component-63dec22f.d.ts +18 -1
- package/tabs/esm/index-f12ee135.d.ts +9 -1
- package/tabs/esm/shared-4cd3936b.d.ts +1 -28
- package/tabs/esm/types-1b036d4b.d.ts +13 -0
- package/tabs/esm/useSkeleton-ebda875c.d.ts +12 -0
- package/tabs/index-ebda875c.d.ts +86 -21
- package/tabs/index-f12ee135.d.ts +9 -1
- package/tabs/modern/Component-63dec22f.d.ts +18 -1
- package/tabs/modern/index-f12ee135.d.ts +9 -1
- package/tabs/modern/shared-4cd3936b.d.ts +1 -28
- package/tabs/modern/types-1b036d4b.d.ts +13 -0
- package/tabs/modern/useSkeleton-ebda875c.d.ts +12 -0
- package/tabs/shared-4cd3936b.d.ts +1 -28
- package/tabs/types-1b036d4b.d.ts +13 -0
- package/tabs/useSkeleton-ebda875c.d.ts +12 -0
- package/themes/compiled/mobile-dark-bluetint.css +35 -79
- package/themes/dist/compiled/mobile-dark-bluetint.css +399 -394
- package/time-input/utils/format.js +6 -10
- package/typography/component.js +6 -2
- package/typography/cssm/component.js +5 -0
- package/typography/cssm/hooks/index.d.ts +1 -0
- package/typography/cssm/hooks/index.js +12 -0
- package/typography/cssm/hooks/use-skeleton.module.css +19 -0
- package/typography/cssm/hooks/useSkeleton.d.ts +12 -0
- package/typography/cssm/hooks/useSkeleton.js +57 -0
- package/typography/cssm/index.js +5 -0
- package/typography/cssm/text/component.d.ts +9 -1
- package/typography/cssm/text/component.js +23 -7
- package/typography/cssm/text/index.js +5 -0
- package/typography/cssm/title/component.d.ts +19 -2
- package/typography/cssm/title/component.js +16 -2
- package/typography/cssm/title/index.js +5 -0
- package/typography/cssm/title-mobile/component.js +5 -0
- package/typography/cssm/title-mobile/index.js +5 -0
- package/typography/cssm/title-responsive/component.js +5 -0
- package/typography/cssm/title-responsive/index.js +5 -0
- package/typography/cssm/types.d.ts +12 -1
- package/typography/esm/component.js +6 -2
- package/typography/esm/hooks/index.d.ts +1 -0
- package/typography/esm/hooks/index.js +5 -0
- package/typography/esm/hooks/use-skeleton.css +20 -0
- package/typography/esm/hooks/useSkeleton.d.ts +12 -0
- package/typography/esm/hooks/useSkeleton.js +52 -0
- package/typography/esm/index.js +6 -2
- package/typography/esm/text/component.d.ts +9 -1
- package/typography/esm/text/component.js +22 -8
- package/typography/esm/text/index.js +5 -1
- package/typography/esm/title/component.d.ts +19 -2
- package/typography/esm/title/component.js +15 -3
- package/typography/esm/title/index.js +6 -2
- package/typography/esm/title-mobile/component.js +6 -2
- package/typography/esm/title-mobile/index.js +6 -2
- package/typography/esm/title-responsive/component.js +6 -2
- package/typography/esm/title-responsive/index.js +6 -2
- package/typography/esm/types.d.ts +12 -1
- package/typography/hooks/index.d.ts +1 -0
- package/typography/hooks/index.js +11 -0
- package/typography/hooks/use-skeleton.css +20 -0
- package/typography/hooks/useSkeleton.d.ts +12 -0
- package/typography/hooks/useSkeleton.js +58 -0
- package/typography/index.js +6 -2
- package/typography/modern/component.js +6 -2
- package/typography/modern/hooks/index.d.ts +1 -0
- package/typography/modern/hooks/index.js +4 -0
- package/typography/modern/hooks/use-skeleton.css +20 -0
- package/typography/modern/hooks/useSkeleton.d.ts +12 -0
- package/typography/modern/hooks/useSkeleton.js +51 -0
- package/typography/modern/index.js +6 -2
- package/typography/modern/text/component.d.ts +9 -1
- package/typography/modern/text/component.js +23 -7
- package/typography/modern/text/index.js +5 -1
- package/typography/modern/title/component.d.ts +19 -2
- package/typography/modern/title/component.js +16 -2
- package/typography/modern/title/index.js +6 -2
- package/typography/modern/title-mobile/component.js +6 -2
- package/typography/modern/title-mobile/index.js +6 -2
- package/typography/modern/title-responsive/component.js +6 -2
- package/typography/modern/title-responsive/index.js +6 -2
- package/typography/modern/types.d.ts +12 -1
- package/typography/text/component.d.ts +9 -1
- package/typography/text/component.js +23 -8
- package/typography/text/index.js +5 -1
- package/typography/title/component.d.ts +19 -2
- package/typography/title/component.js +16 -3
- package/typography/title/index.js +6 -2
- package/typography/title-mobile/component.js +6 -2
- package/typography/title-mobile/index.js +6 -2
- package/typography/title-responsive/component.js +6 -2
- package/typography/title-responsive/index.js +6 -2
- package/typography/types.d.ts +12 -1
- package/input-autocomplete/cssm/types-d9f9bbcc.d.ts +0 -259
- package/input-autocomplete/esm/types-d9f9bbcc.d.ts +0 -259
- package/input-autocomplete/modern/types-d9f9bbcc.d.ts +0 -259
- package/input-autocomplete/types-d9f9bbcc.d.ts +0 -259
- package/picker-button/modern/Component-72dda473.d.ts +0 -53
- package/picker-button/modern/Component-aed0af6e.d.ts +0 -11
- package/picker-button/modern/Component-f12ee135.d.ts +0 -72
- package/picker-button/modern/Component.mobile-96988a65.d.ts +0 -6
- package/picker-button/modern/hook-ebda875c.d.ts +0 -48
- /package/confirmation/{countdown-section-a115a90d.d.ts → countdown-section-3c6c4c16.d.ts} +0 -0
- /package/confirmation/{countdown-section-a115a90d.js → countdown-section-3c6c4c16.js} +0 -0
- /package/confirmation/esm/{countdown-section-e5c5ba2a.d.ts → countdown-section-01e6f37a.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-e5c5ba2a.js → countdown-section-01e6f37a.js} +0 -0
- /package/confirmation/modern/{countdown-section-9981b2e8.d.ts → countdown-section-3f2be91e.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-9981b2e8.js → countdown-section-3f2be91e.js} +0 -0
- /package/gallery/{buttons-aec907b7.d.ts → buttons-e800285c.d.ts} +0 -0
- /package/gallery/{buttons-aec907b7.js → buttons-e800285c.js} +0 -0
- /package/gallery/esm/{buttons-7f6bd2e9.d.ts → buttons-5d6a28e1.d.ts} +0 -0
- /package/gallery/esm/{buttons-7f6bd2e9.js → buttons-5d6a28e1.js} +0 -0
- /package/gallery/esm/{slide-db3a4459.d.ts → slide-fe29c2f9.d.ts} +0 -0
- /package/gallery/esm/{slide-db3a4459.js → slide-fe29c2f9.js} +0 -0
- /package/gallery/modern/{buttons-fbc47df5.d.ts → buttons-efb0ad94.d.ts} +0 -0
- /package/gallery/modern/{buttons-fbc47df5.js → buttons-efb0ad94.js} +0 -0
- /package/gallery/modern/{slide-aa26f0c4.d.ts → slide-c5c99c8e.d.ts} +0 -0
- /package/gallery/modern/{slide-aa26f0c4.js → slide-c5c99c8e.js} +0 -0
- /package/gallery/{slide-cd795ee3.d.ts → slide-456e699d.d.ts} +0 -0
- /package/gallery/{slide-cd795ee3.js → slide-456e699d.js} +0 -0
- /package/picker-button/modern/{Component.responsive-d7e9f69d.d.ts → Component.responsive-3109f463.d.ts} +0 -0
- /package/pure-cell/{component-c9226b28.d.ts → component-ecba1273.d.ts} +0 -0
- /package/pure-cell/{component-c9226b28.js → component-ecba1273.js} +0 -0
- /package/pure-cell/esm/{component-dcdb60ca.d.ts → component-6cb924a1.d.ts} +0 -0
- /package/pure-cell/esm/{component-dcdb60ca.js → component-6cb924a1.js} +0 -0
- /package/pure-cell/modern/{component-68b276dc.d.ts → component-43202b7d.d.ts} +0 -0
- /package/pure-cell/modern/{component-68b276dc.js → component-43202b7d.js} +0 -0
- /package/select/esm/{hook-3c18aa89.d.ts → hook-d40b4e10.d.ts} +0 -0
- /package/select/esm/{hook-3c18aa89.js → hook-d40b4e10.js} +0 -0
- /package/select/{hook-d0725060.d.ts → hook-43a35a80.d.ts} +0 -0
- /package/select/{hook-d0725060.js → hook-43a35a80.js} +0 -0
- /package/select/modern/{hook-0d1c88d2.d.ts → hook-d771f2ed.d.ts} +0 -0
- /package/select/modern/{hook-0d1c88d2.js → hook-d771f2ed.js} +0 -0
- /package/typography/{colors.module-47b3b3d8.js → colors.module-69def6bf.js} +0 -0
- /package/typography/{common.module-940fdfee.js → common.module-59cc11ca.js} +0 -0
- /package/typography/esm/{colors.module-137b844d.js → colors.module-64858915.js} +0 -0
- /package/typography/esm/{common.module-7393f125.js → common.module-a0a4a875.js} +0 -0
- /package/typography/modern/{colors.module-554ec60a.js → colors.module-58e8caae.js} +0 -0
- /package/typography/modern/{common.module-42946f41.js → common.module-3d6095da.js} +0 -0
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
/// <reference types="react-transition-group" />
|
|
2
|
-
import { HTMLAttributes, ReactNode, RefObject } from 'react';
|
|
3
|
-
import { TransitionProps } from 'react-transition-group/Transition';
|
|
4
|
-
import { BaseModalProps } from "./index-bdb4c6b9";
|
|
5
|
-
import { NavigationBarProps } from "./index-c76d6398";
|
|
6
|
-
import { BackgroundColorType } from "./index-72dda473";
|
|
7
|
-
type BottomSheetTitleAlign = 'center' | 'left';
|
|
8
|
-
type BottomSheetProps = {
|
|
9
|
-
/**
|
|
10
|
-
* Контент
|
|
11
|
-
*/
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Управление видимостью
|
|
15
|
-
*/
|
|
16
|
-
open: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Заголовок
|
|
19
|
-
*/
|
|
20
|
-
title?: ReactNode;
|
|
21
|
-
/**
|
|
22
|
-
* Размер заголовка
|
|
23
|
-
*/
|
|
24
|
-
titleSize?: NavigationBarProps['titleSize'];
|
|
25
|
-
/**
|
|
26
|
-
* Подзаголовок.
|
|
27
|
-
*/
|
|
28
|
-
subtitle?: NavigationBarProps['subtitle'];
|
|
29
|
-
/**
|
|
30
|
-
* Кнопка действия (обычно, это кнопка закрытия)
|
|
31
|
-
*/
|
|
32
|
-
actionButton?: ReactNode;
|
|
33
|
-
/**
|
|
34
|
-
* Нода, компонент или функция возвращающая их
|
|
35
|
-
*
|
|
36
|
-
* Контейнер к которому будут добавляться порталы
|
|
37
|
-
*/
|
|
38
|
-
container?: BaseModalProps['container'];
|
|
39
|
-
/**
|
|
40
|
-
* Рендерить ли в контейнер через портал.
|
|
41
|
-
*/
|
|
42
|
-
usePortal?: BaseModalProps['usePortal'];
|
|
43
|
-
/**
|
|
44
|
-
* Дополнительный класс
|
|
45
|
-
*/
|
|
46
|
-
className?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Дополнительный класс
|
|
49
|
-
*/
|
|
50
|
-
contentClassName?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Дополнительные пропсы на контейнер.
|
|
53
|
-
*/
|
|
54
|
-
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
55
|
-
/**
|
|
56
|
-
* Дополнительный класс
|
|
57
|
-
*/
|
|
58
|
-
containerClassName?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Цвет фона
|
|
61
|
-
*/
|
|
62
|
-
backgroundColor?: Extract<BackgroundColorType, 'primary' | 'secondary'>;
|
|
63
|
-
/**
|
|
64
|
-
* Дополнительный класс шапки
|
|
65
|
-
*/
|
|
66
|
-
headerClassName?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Дополнительный класс футера
|
|
69
|
-
*/
|
|
70
|
-
footerClassName?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Дополнительный класс для аддонов
|
|
73
|
-
*/
|
|
74
|
-
addonClassName?: string;
|
|
75
|
-
/**
|
|
76
|
-
* Дополнительный класс для компонента крестика
|
|
77
|
-
*/
|
|
78
|
-
closerClassName?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Дополнительный класс для компонента стрелки назад
|
|
81
|
-
*/
|
|
82
|
-
backerClassName?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Дополнительный класс для компонента модального окна
|
|
85
|
-
*/
|
|
86
|
-
modalClassName?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Дополнительный класс для обертки модального окна
|
|
89
|
-
*/
|
|
90
|
-
modalWrapperClassName?: string;
|
|
91
|
-
/**
|
|
92
|
-
* TransitionProps, прокидываются в компонент CSSTransitionProps.
|
|
93
|
-
*/
|
|
94
|
-
transitionProps?: Partial<TransitionProps>;
|
|
95
|
-
/**
|
|
96
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
97
|
-
*/
|
|
98
|
-
dataTestId?: string;
|
|
99
|
-
/**
|
|
100
|
-
* z-index компонента
|
|
101
|
-
*/
|
|
102
|
-
zIndex?: number;
|
|
103
|
-
/**
|
|
104
|
-
* Будет ли свайпаться шторка
|
|
105
|
-
* @default true
|
|
106
|
-
*/
|
|
107
|
-
swipeable?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Будет ли свайпаться контент
|
|
110
|
-
*/
|
|
111
|
-
swipeableContent?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Порог свайпа
|
|
114
|
-
*/
|
|
115
|
-
swipeThreshold?: number;
|
|
116
|
-
/**
|
|
117
|
-
* Слот слева
|
|
118
|
-
*/
|
|
119
|
-
leftAddons?: ReactNode;
|
|
120
|
-
/**
|
|
121
|
-
* Слот справа
|
|
122
|
-
*/
|
|
123
|
-
rightAddons?: ReactNode;
|
|
124
|
-
/**
|
|
125
|
-
* Слот снизу
|
|
126
|
-
*/
|
|
127
|
-
bottomAddons?: ReactNode;
|
|
128
|
-
/**
|
|
129
|
-
* Наличие компонента крестика
|
|
130
|
-
*/
|
|
131
|
-
hasCloser?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Наличие компонента стрелки назад
|
|
134
|
-
*/
|
|
135
|
-
hasBacker?: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Выравнивание заголовка
|
|
138
|
-
*/
|
|
139
|
-
titleAlign?: BottomSheetTitleAlign;
|
|
140
|
-
/**
|
|
141
|
-
* Фиксирует шапку
|
|
142
|
-
*/
|
|
143
|
-
stickyHeader?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Фиксирует футер
|
|
146
|
-
*/
|
|
147
|
-
stickyFooter?: boolean;
|
|
148
|
-
/**
|
|
149
|
-
* Высота шторки
|
|
150
|
-
*/
|
|
151
|
-
initialHeight?: 'default' | 'full';
|
|
152
|
-
/**
|
|
153
|
-
* Будет ли виден оверлэй
|
|
154
|
-
*/
|
|
155
|
-
hideOverlay?: boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Будет ли видна шапка
|
|
158
|
-
*/
|
|
159
|
-
hideHeader?: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Будет ли обрезан заголовок
|
|
162
|
-
*/
|
|
163
|
-
trimTitle?: boolean;
|
|
164
|
-
/**
|
|
165
|
-
* Запретить закрытие шторки кликом на оверлэй
|
|
166
|
-
*/
|
|
167
|
-
disableOverlayClick?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* Отключает блокировку скролла при открытии модального окна
|
|
170
|
-
*/
|
|
171
|
-
disableBlockingScroll?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Отключает ловушку фокуса
|
|
174
|
-
*/
|
|
175
|
-
disableFocusLock?: boolean;
|
|
176
|
-
/**
|
|
177
|
-
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
178
|
-
* Не анимировать шторку при изменении размера вьюпорта
|
|
179
|
-
*/
|
|
180
|
-
ignoreScreenChange?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* Свойства для Бэкдропа
|
|
183
|
-
*/
|
|
184
|
-
backdropProps?: BaseModalProps['backdropProps'];
|
|
185
|
-
/**
|
|
186
|
-
* Реф на контейнер, в котором происходит скролл
|
|
187
|
-
*/
|
|
188
|
-
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
189
|
-
/**
|
|
190
|
-
* Реф для управления компонентом.
|
|
191
|
-
*/
|
|
192
|
-
bottomSheetInstanceRef?: RefObject<{
|
|
193
|
-
scrollToArea: (idx: number) => void;
|
|
194
|
-
}>;
|
|
195
|
-
/**
|
|
196
|
-
* Реф на контейнер, в котором находится шторка
|
|
197
|
-
*/
|
|
198
|
-
sheetContainerRef?: RefObject<HTMLElement>;
|
|
199
|
-
/**
|
|
200
|
-
* Магнитные области видимой высоты шторки.
|
|
201
|
-
* Можно использовать значения в пикселях - 10(число), либо в процентах - 10%(строка).
|
|
202
|
-
* По-умолчанию -[0, window.innerHeight - '24px']
|
|
203
|
-
* массив должен состоять минимум из 2 элементов
|
|
204
|
-
*/
|
|
205
|
-
magneticAreas?: Array<number | string>;
|
|
206
|
-
/**
|
|
207
|
-
* Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
|
|
208
|
-
*/
|
|
209
|
-
initialActiveAreaIndex?: number;
|
|
210
|
-
/**
|
|
211
|
-
* Отключает скролл контентной области.
|
|
212
|
-
*/
|
|
213
|
-
scrollLocked?: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Скрыть скроллбар внутри шторки
|
|
216
|
-
*/
|
|
217
|
-
hideScrollbar?: boolean;
|
|
218
|
-
/**
|
|
219
|
-
* Верхний отступ шторки, если она открыта на максимальную высоту
|
|
220
|
-
*/
|
|
221
|
-
headerOffset?: number;
|
|
222
|
-
/**
|
|
223
|
-
* Содержимое bottom-sheet всегда в DOM
|
|
224
|
-
*/
|
|
225
|
-
keepMounted?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Отключает автоматический перевод фокуса на bottom-sheet при открытии
|
|
228
|
-
*/
|
|
229
|
-
disableAutoFocus?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Отключает восстановление фокуса на предыдущем элементе после закрытия bottom-sheet
|
|
232
|
-
*/
|
|
233
|
-
disableRestoreFocus?: boolean;
|
|
234
|
-
/**
|
|
235
|
-
* Отключает вызов `onClose` при нажатии Escape
|
|
236
|
-
*/
|
|
237
|
-
disableEscapeKeyDown?: boolean;
|
|
238
|
-
/**
|
|
239
|
-
* Обработчик закрытия
|
|
240
|
-
*/
|
|
241
|
-
onClose: () => void;
|
|
242
|
-
/**
|
|
243
|
-
* Обработчик нажатия на стрелку назад
|
|
244
|
-
*/
|
|
245
|
-
onBack?: () => void;
|
|
246
|
-
/**
|
|
247
|
-
* Вызывается в начале анимации притягивания к одной из `magneticAreas`
|
|
248
|
-
*/
|
|
249
|
-
onMagnetize?: (index: number) => void;
|
|
250
|
-
/**
|
|
251
|
-
* Вызывается после окончания анимации притягивания
|
|
252
|
-
*/
|
|
253
|
-
onMagnetizeEnd?: () => void;
|
|
254
|
-
/**
|
|
255
|
-
* Вызывается при изменении положения шторки
|
|
256
|
-
*/
|
|
257
|
-
onOffsetChange?: (offset: number, percent: number) => void;
|
|
258
|
-
};
|
|
259
|
-
export { BottomSheetTitleAlign, BottomSheetProps };
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
/// <reference types="react-transition-group" />
|
|
2
|
-
import { HTMLAttributes, ReactNode, RefObject } from 'react';
|
|
3
|
-
import { TransitionProps } from 'react-transition-group/Transition';
|
|
4
|
-
import { BaseModalProps } from "./index-bdb4c6b9";
|
|
5
|
-
import { NavigationBarProps } from "./index-c76d6398";
|
|
6
|
-
import { BackgroundColorType } from "./index-72dda473";
|
|
7
|
-
type BottomSheetTitleAlign = 'center' | 'left';
|
|
8
|
-
type BottomSheetProps = {
|
|
9
|
-
/**
|
|
10
|
-
* Контент
|
|
11
|
-
*/
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Управление видимостью
|
|
15
|
-
*/
|
|
16
|
-
open: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Заголовок
|
|
19
|
-
*/
|
|
20
|
-
title?: ReactNode;
|
|
21
|
-
/**
|
|
22
|
-
* Размер заголовка
|
|
23
|
-
*/
|
|
24
|
-
titleSize?: NavigationBarProps['titleSize'];
|
|
25
|
-
/**
|
|
26
|
-
* Подзаголовок.
|
|
27
|
-
*/
|
|
28
|
-
subtitle?: NavigationBarProps['subtitle'];
|
|
29
|
-
/**
|
|
30
|
-
* Кнопка действия (обычно, это кнопка закрытия)
|
|
31
|
-
*/
|
|
32
|
-
actionButton?: ReactNode;
|
|
33
|
-
/**
|
|
34
|
-
* Нода, компонент или функция возвращающая их
|
|
35
|
-
*
|
|
36
|
-
* Контейнер к которому будут добавляться порталы
|
|
37
|
-
*/
|
|
38
|
-
container?: BaseModalProps['container'];
|
|
39
|
-
/**
|
|
40
|
-
* Рендерить ли в контейнер через портал.
|
|
41
|
-
*/
|
|
42
|
-
usePortal?: BaseModalProps['usePortal'];
|
|
43
|
-
/**
|
|
44
|
-
* Дополнительный класс
|
|
45
|
-
*/
|
|
46
|
-
className?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Дополнительный класс
|
|
49
|
-
*/
|
|
50
|
-
contentClassName?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Дополнительные пропсы на контейнер.
|
|
53
|
-
*/
|
|
54
|
-
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
55
|
-
/**
|
|
56
|
-
* Дополнительный класс
|
|
57
|
-
*/
|
|
58
|
-
containerClassName?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Цвет фона
|
|
61
|
-
*/
|
|
62
|
-
backgroundColor?: Extract<BackgroundColorType, 'primary' | 'secondary'>;
|
|
63
|
-
/**
|
|
64
|
-
* Дополнительный класс шапки
|
|
65
|
-
*/
|
|
66
|
-
headerClassName?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Дополнительный класс футера
|
|
69
|
-
*/
|
|
70
|
-
footerClassName?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Дополнительный класс для аддонов
|
|
73
|
-
*/
|
|
74
|
-
addonClassName?: string;
|
|
75
|
-
/**
|
|
76
|
-
* Дополнительный класс для компонента крестика
|
|
77
|
-
*/
|
|
78
|
-
closerClassName?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Дополнительный класс для компонента стрелки назад
|
|
81
|
-
*/
|
|
82
|
-
backerClassName?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Дополнительный класс для компонента модального окна
|
|
85
|
-
*/
|
|
86
|
-
modalClassName?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Дополнительный класс для обертки модального окна
|
|
89
|
-
*/
|
|
90
|
-
modalWrapperClassName?: string;
|
|
91
|
-
/**
|
|
92
|
-
* TransitionProps, прокидываются в компонент CSSTransitionProps.
|
|
93
|
-
*/
|
|
94
|
-
transitionProps?: Partial<TransitionProps>;
|
|
95
|
-
/**
|
|
96
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
97
|
-
*/
|
|
98
|
-
dataTestId?: string;
|
|
99
|
-
/**
|
|
100
|
-
* z-index компонента
|
|
101
|
-
*/
|
|
102
|
-
zIndex?: number;
|
|
103
|
-
/**
|
|
104
|
-
* Будет ли свайпаться шторка
|
|
105
|
-
* @default true
|
|
106
|
-
*/
|
|
107
|
-
swipeable?: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Будет ли свайпаться контент
|
|
110
|
-
*/
|
|
111
|
-
swipeableContent?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Порог свайпа
|
|
114
|
-
*/
|
|
115
|
-
swipeThreshold?: number;
|
|
116
|
-
/**
|
|
117
|
-
* Слот слева
|
|
118
|
-
*/
|
|
119
|
-
leftAddons?: ReactNode;
|
|
120
|
-
/**
|
|
121
|
-
* Слот справа
|
|
122
|
-
*/
|
|
123
|
-
rightAddons?: ReactNode;
|
|
124
|
-
/**
|
|
125
|
-
* Слот снизу
|
|
126
|
-
*/
|
|
127
|
-
bottomAddons?: ReactNode;
|
|
128
|
-
/**
|
|
129
|
-
* Наличие компонента крестика
|
|
130
|
-
*/
|
|
131
|
-
hasCloser?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Наличие компонента стрелки назад
|
|
134
|
-
*/
|
|
135
|
-
hasBacker?: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Выравнивание заголовка
|
|
138
|
-
*/
|
|
139
|
-
titleAlign?: BottomSheetTitleAlign;
|
|
140
|
-
/**
|
|
141
|
-
* Фиксирует шапку
|
|
142
|
-
*/
|
|
143
|
-
stickyHeader?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Фиксирует футер
|
|
146
|
-
*/
|
|
147
|
-
stickyFooter?: boolean;
|
|
148
|
-
/**
|
|
149
|
-
* Высота шторки
|
|
150
|
-
*/
|
|
151
|
-
initialHeight?: 'default' | 'full';
|
|
152
|
-
/**
|
|
153
|
-
* Будет ли виден оверлэй
|
|
154
|
-
*/
|
|
155
|
-
hideOverlay?: boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Будет ли видна шапка
|
|
158
|
-
*/
|
|
159
|
-
hideHeader?: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Будет ли обрезан заголовок
|
|
162
|
-
*/
|
|
163
|
-
trimTitle?: boolean;
|
|
164
|
-
/**
|
|
165
|
-
* Запретить закрытие шторки кликом на оверлэй
|
|
166
|
-
*/
|
|
167
|
-
disableOverlayClick?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* Отключает блокировку скролла при открытии модального окна
|
|
170
|
-
*/
|
|
171
|
-
disableBlockingScroll?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Отключает ловушку фокуса
|
|
174
|
-
*/
|
|
175
|
-
disableFocusLock?: boolean;
|
|
176
|
-
/**
|
|
177
|
-
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
178
|
-
* Не анимировать шторку при изменении размера вьюпорта
|
|
179
|
-
*/
|
|
180
|
-
ignoreScreenChange?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* Свойства для Бэкдропа
|
|
183
|
-
*/
|
|
184
|
-
backdropProps?: BaseModalProps['backdropProps'];
|
|
185
|
-
/**
|
|
186
|
-
* Реф на контейнер, в котором происходит скролл
|
|
187
|
-
*/
|
|
188
|
-
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
189
|
-
/**
|
|
190
|
-
* Реф для управления компонентом.
|
|
191
|
-
*/
|
|
192
|
-
bottomSheetInstanceRef?: RefObject<{
|
|
193
|
-
scrollToArea: (idx: number) => void;
|
|
194
|
-
}>;
|
|
195
|
-
/**
|
|
196
|
-
* Реф на контейнер, в котором находится шторка
|
|
197
|
-
*/
|
|
198
|
-
sheetContainerRef?: RefObject<HTMLElement>;
|
|
199
|
-
/**
|
|
200
|
-
* Магнитные области видимой высоты шторки.
|
|
201
|
-
* Можно использовать значения в пикселях - 10(число), либо в процентах - 10%(строка).
|
|
202
|
-
* По-умолчанию -[0, window.innerHeight - '24px']
|
|
203
|
-
* массив должен состоять минимум из 2 элементов
|
|
204
|
-
*/
|
|
205
|
-
magneticAreas?: Array<number | string>;
|
|
206
|
-
/**
|
|
207
|
-
* Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
|
|
208
|
-
*/
|
|
209
|
-
initialActiveAreaIndex?: number;
|
|
210
|
-
/**
|
|
211
|
-
* Отключает скролл контентной области.
|
|
212
|
-
*/
|
|
213
|
-
scrollLocked?: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Скрыть скроллбар внутри шторки
|
|
216
|
-
*/
|
|
217
|
-
hideScrollbar?: boolean;
|
|
218
|
-
/**
|
|
219
|
-
* Верхний отступ шторки, если она открыта на максимальную высоту
|
|
220
|
-
*/
|
|
221
|
-
headerOffset?: number;
|
|
222
|
-
/**
|
|
223
|
-
* Содержимое bottom-sheet всегда в DOM
|
|
224
|
-
*/
|
|
225
|
-
keepMounted?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Отключает автоматический перевод фокуса на bottom-sheet при открытии
|
|
228
|
-
*/
|
|
229
|
-
disableAutoFocus?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Отключает восстановление фокуса на предыдущем элементе после закрытия bottom-sheet
|
|
232
|
-
*/
|
|
233
|
-
disableRestoreFocus?: boolean;
|
|
234
|
-
/**
|
|
235
|
-
* Отключает вызов `onClose` при нажатии Escape
|
|
236
|
-
*/
|
|
237
|
-
disableEscapeKeyDown?: boolean;
|
|
238
|
-
/**
|
|
239
|
-
* Обработчик закрытия
|
|
240
|
-
*/
|
|
241
|
-
onClose: () => void;
|
|
242
|
-
/**
|
|
243
|
-
* Обработчик нажатия на стрелку назад
|
|
244
|
-
*/
|
|
245
|
-
onBack?: () => void;
|
|
246
|
-
/**
|
|
247
|
-
* Вызывается в начале анимации притягивания к одной из `magneticAreas`
|
|
248
|
-
*/
|
|
249
|
-
onMagnetize?: (index: number) => void;
|
|
250
|
-
/**
|
|
251
|
-
* Вызывается после окончания анимации притягивания
|
|
252
|
-
*/
|
|
253
|
-
onMagnetizeEnd?: () => void;
|
|
254
|
-
/**
|
|
255
|
-
* Вызывается при изменении положения шторки
|
|
256
|
-
*/
|
|
257
|
-
onOffsetChange?: (offset: number, percent: number) => void;
|
|
258
|
-
};
|
|
259
|
-
export { BottomSheetTitleAlign, BottomSheetProps };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { BackgroundColorType, GraphicColorType } from "./index-72dda473";
|
|
4
|
-
type IconColorType = Extract<GraphicColorType, 'positive' | 'attention' | 'link' | 'negative' | 'tertiary' | 'secondary' | 'primary'>;
|
|
5
|
-
type BadgeProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Вид компонента
|
|
12
|
-
*/
|
|
13
|
-
view: 'icon' | 'count';
|
|
14
|
-
/**
|
|
15
|
-
* Размер компонента (только для view=icon)
|
|
16
|
-
* //deprecated(используйте height для view=count )
|
|
17
|
-
*/
|
|
18
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
19
|
-
/**
|
|
20
|
-
* Видимость белой обводки вокруг иконки
|
|
21
|
-
*/
|
|
22
|
-
visibleIconOutline?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Видимость цветной обводки вокруг иконки (только для view=icon)
|
|
25
|
-
*/
|
|
26
|
-
visibleColorOutline?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Контент компонента
|
|
29
|
-
*/
|
|
30
|
-
content?: React.ReactElement | number;
|
|
31
|
-
/**
|
|
32
|
-
* Высота компонента, min = 16; max = 48 (только для view=count)
|
|
33
|
-
*/
|
|
34
|
-
height?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Цветовое оформление бейджа при view='count'
|
|
37
|
-
*/
|
|
38
|
-
color?: Extract<BackgroundColorType, 'accent' | 'primary' | 'specialbg-secondary-transparent'>;
|
|
39
|
-
/**
|
|
40
|
-
* Цветовое оформление бейджа при view='icon'
|
|
41
|
-
*/
|
|
42
|
-
iconColor?: IconColorType;
|
|
43
|
-
/**
|
|
44
|
-
* Цвет подложки под иконкой
|
|
45
|
-
*/
|
|
46
|
-
iconUnderlayColor?: Extract<GraphicColorType, 'primary' | 'static-light'>;
|
|
47
|
-
/**
|
|
48
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
49
|
-
*/
|
|
50
|
-
dataTestId?: string;
|
|
51
|
-
};
|
|
52
|
-
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
|
|
53
|
-
export { IconColorType, BadgeProps, Badge };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CheckboxProps } from "./index-ebda875c";
|
|
4
|
-
type HeaderProps = {
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
indeterminate?: boolean;
|
|
7
|
-
onChange?: CheckboxProps['onChange'];
|
|
8
|
-
mobile?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare const Header: React.FC<HeaderProps>;
|
|
11
|
-
export { HeaderProps, Header };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ReactNode } from "react";
|
|
4
|
-
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-5e1b8383";
|
|
6
|
-
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
|
-
/**
|
|
8
|
-
* Футер
|
|
9
|
-
* @deprecated Используйте bottomSheetProps.actionButton
|
|
10
|
-
*/
|
|
11
|
-
footer?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Будет ли свайпаться шторка
|
|
14
|
-
* @deprecated Используйте bottomSheetProps.swipeable
|
|
15
|
-
*/
|
|
16
|
-
swipeable?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Отображать в BottomSheet
|
|
19
|
-
*/
|
|
20
|
-
isBottomSheet?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Дополнительные пропсы шторки
|
|
23
|
-
*/
|
|
24
|
-
bottomSheetProps?: Partial<BottomSheetProps>;
|
|
25
|
-
/**
|
|
26
|
-
* Дополнительные пропсы модалки
|
|
27
|
-
*/
|
|
28
|
-
modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
|
|
29
|
-
/**
|
|
30
|
-
* Дополнительные пропсы шапки модалки
|
|
31
|
-
*/
|
|
32
|
-
modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
|
|
33
|
-
/**
|
|
34
|
-
* Дополнительные пропсы футера модалки
|
|
35
|
-
*/
|
|
36
|
-
modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
|
|
37
|
-
};
|
|
38
|
-
declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
|
|
39
|
-
/**
|
|
40
|
-
* Футер
|
|
41
|
-
* @deprecated Используйте bottomSheetProps.actionButton
|
|
42
|
-
*/
|
|
43
|
-
footer?: ReactNode;
|
|
44
|
-
/**
|
|
45
|
-
* Будет ли свайпаться шторка
|
|
46
|
-
* @deprecated Используйте bottomSheetProps.swipeable
|
|
47
|
-
*/
|
|
48
|
-
swipeable?: boolean | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Отображать в BottomSheet
|
|
51
|
-
*/
|
|
52
|
-
isBottomSheet?: boolean | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Дополнительные пропсы шторки
|
|
55
|
-
*/
|
|
56
|
-
bottomSheetProps?: Partial<BottomSheetProps> | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Дополнительные пропсы модалки
|
|
59
|
-
*/
|
|
60
|
-
modalProps?: Partial<ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Дополнительные пропсы шапки модалки
|
|
63
|
-
*/
|
|
64
|
-
modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Дополнительные пропсы футера модалки
|
|
67
|
-
*/
|
|
68
|
-
modalFooterProps?: Partial<import("./Component.mobile-f1f15074").FooterProps> | undefined;
|
|
69
|
-
} & React.RefAttributes<unknown>>;
|
|
70
|
-
export * from "./Component.mobile-f1f15074";
|
|
71
|
-
export { ModalMobileProps } from "./typings-bdb4c6b9";
|
|
72
|
-
export { SelectMobileProps, BaseSelectMobile };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { BaseInputProps } from "./index-ebda875c";
|
|
4
|
-
type InputMobileProps = Omit<BaseInputProps, 'FormControlComponent' | 'colorStyles'>;
|
|
5
|
-
declare const InputMobile: React.ForwardRefExoticComponent<InputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
-
export { InputMobileProps, InputMobile };
|