@alfalab/core-components 23.13.0 → 24.0.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/alert/Component.js +1 -1
- package/alert/esm/Component.js +1 -1
- package/alert/esm/index.css +5 -5
- package/alert/index.css +5 -5
- package/alert/modern/Component.js +1 -1
- package/alert/modern/index.css +5 -5
- package/amount/component.js +1 -1
- package/amount/esm/component.js +1 -1
- package/amount/esm/index.css +2 -2
- package/amount/esm/pure/component.js +1 -1
- package/amount/esm/pure/index.css +1 -1
- package/amount/index.css +2 -2
- package/amount/modern/component.js +1 -1
- package/amount/modern/index.css +2 -2
- package/amount/modern/pure/component.js +1 -1
- package/amount/modern/pure/index.css +1 -1
- package/amount/pure/component.js +1 -1
- package/amount/pure/index.css +1 -1
- package/amount-input/Component.js +3 -3
- package/amount-input/default.css +2 -2
- package/amount-input/esm/Component.js +3 -3
- package/amount-input/esm/default.css +2 -2
- package/amount-input/esm/index.css +7 -7
- package/amount-input/esm/inverted.css +2 -2
- package/amount-input/index.css +7 -7
- package/amount-input/inverted.css +2 -2
- package/amount-input/modern/Component.js +3 -3
- package/amount-input/modern/default.css +2 -2
- package/amount-input/modern/index.css +7 -7
- package/amount-input/modern/inverted.css +2 -2
- package/attach/Component.js +1 -1
- package/attach/esm/Component.js +1 -1
- package/attach/esm/index.css +23 -23
- package/attach/index.css +23 -23
- package/attach/modern/Component.js +1 -1
- package/attach/modern/index.css +23 -23
- package/backdrop/Component.js +1 -1
- package/backdrop/esm/Component.js +1 -1
- package/backdrop/esm/index.css +11 -11
- package/backdrop/index.css +11 -11
- package/backdrop/modern/Component.js +1 -1
- package/backdrop/modern/index.css +11 -11
- package/badge/Component.js +1 -1
- package/badge/esm/Component.js +1 -1
- package/badge/esm/index.css +16 -16
- package/badge/index.css +16 -16
- package/badge/modern/Component.js +1 -1
- package/badge/modern/index.css +16 -16
- package/bank-card/Component.js +1 -1
- package/bank-card/esm/Component.js +1 -1
- package/bank-card/esm/index.css +20 -20
- package/bank-card/index.css +20 -20
- package/bank-card/modern/Component.js +1 -1
- package/bank-card/modern/index.css +20 -20
- package/base-modal/Component.js +1 -1
- package/base-modal/esm/Component.js +1 -1
- package/base-modal/esm/index.css +12 -12
- package/base-modal/index.css +12 -12
- package/base-modal/modern/Component.js +1 -1
- package/base-modal/modern/index.css +12 -12
- package/bottom-sheet/{Component-7eba49a0.d.ts → Component-98d4ddda.d.ts} +0 -0
- package/bottom-sheet/{Component-7eba49a0.js → Component-98d4ddda.js} +0 -0
- package/bottom-sheet/component.js +2 -2
- package/bottom-sheet/components/footer/Component.js +1 -1
- package/bottom-sheet/components/footer/index.css +2 -2
- package/bottom-sheet/components/swipeable-backdrop/Component.js +1 -1
- package/bottom-sheet/esm/{Component-dc15b943.d.ts → Component-1b22a2e7.d.ts} +0 -0
- package/bottom-sheet/esm/{Component-dc15b943.js → Component-1b22a2e7.js} +0 -0
- package/bottom-sheet/esm/component.js +2 -2
- package/bottom-sheet/esm/components/footer/Component.js +1 -1
- package/bottom-sheet/esm/components/footer/index.css +2 -2
- package/bottom-sheet/esm/components/swipeable-backdrop/Component.js +1 -1
- package/bottom-sheet/esm/index.css +14 -14
- package/bottom-sheet/esm/index.js +1 -1
- package/bottom-sheet/index.css +14 -14
- package/bottom-sheet/index.js +1 -1
- package/bottom-sheet/modern/component.js +1 -1
- package/bottom-sheet/modern/components/footer/Component.js +1 -1
- package/bottom-sheet/modern/components/footer/index.css +2 -2
- package/bottom-sheet/modern/index.css +14 -14
- package/button/Component.js +3 -3
- package/button/default.css +41 -41
- package/button/esm/Component.js +3 -3
- package/button/esm/default.css +41 -41
- package/button/esm/index.css +54 -54
- package/button/esm/inverted.css +41 -41
- package/button/index.css +54 -54
- package/button/inverted.css +41 -41
- package/button/modern/Component.js +3 -3
- package/button/modern/default.css +41 -41
- package/button/modern/index.css +54 -54
- package/button/modern/inverted.css +41 -41
- package/calendar/Component.js +2 -2
- package/calendar/components/days-table/Component.js +2 -2
- package/calendar/components/days-table/index.css +40 -40
- package/calendar/components/days-table/index.js +1 -1
- package/calendar/components/header/Component.js +1 -1
- package/calendar/components/header/index.css +4 -4
- package/calendar/components/months-table/Component.js +2 -2
- package/calendar/components/months-table/index.css +6 -6
- package/calendar/components/months-table/index.js +1 -1
- package/calendar/components/period-slider/Component.js +2 -2
- package/calendar/components/period-slider/index.css +16 -16
- package/calendar/components/period-slider/index.js +1 -1
- package/calendar/components/select-button/Component.js +2 -2
- package/calendar/components/select-button/index.css +10 -10
- package/calendar/components/select-button/index.js +1 -1
- package/calendar/components/years-table/Component.js +2 -2
- package/calendar/components/years-table/index.css +6 -6
- package/calendar/components/years-table/index.js +1 -1
- package/calendar/esm/Component.js +2 -2
- package/calendar/esm/components/days-table/Component.js +2 -2
- package/calendar/esm/components/days-table/index.css +40 -40
- package/calendar/esm/components/days-table/index.js +1 -1
- package/calendar/esm/components/header/Component.js +1 -1
- package/calendar/esm/components/header/index.css +4 -4
- package/calendar/esm/components/months-table/Component.js +2 -2
- package/calendar/esm/components/months-table/index.css +6 -6
- package/calendar/esm/components/months-table/index.js +1 -1
- package/calendar/esm/components/period-slider/Component.js +2 -2
- package/calendar/esm/components/period-slider/index.css +16 -16
- package/calendar/esm/components/period-slider/index.js +1 -1
- package/calendar/esm/components/select-button/Component.js +2 -2
- package/calendar/esm/components/select-button/index.css +10 -10
- package/calendar/esm/components/select-button/index.js +1 -1
- package/calendar/esm/components/years-table/Component.js +2 -2
- package/calendar/esm/components/years-table/index.css +6 -6
- package/calendar/esm/components/years-table/index.js +1 -1
- package/calendar/esm/index.css +8 -8
- package/calendar/esm/index.js +1 -1
- package/calendar/esm/{tslib.es6-b934f8ee.d.ts → tslib.es6-376054b6.d.ts} +0 -0
- package/calendar/esm/{tslib.es6-b934f8ee.js → tslib.es6-376054b6.js} +0 -0
- package/calendar/index.css +8 -8
- package/calendar/index.js +1 -1
- package/calendar/modern/Component.js +1 -1
- package/calendar/modern/components/days-table/Component.js +1 -1
- package/calendar/modern/components/days-table/index.css +40 -40
- package/calendar/modern/components/header/Component.js +1 -1
- package/calendar/modern/components/header/index.css +4 -4
- package/calendar/modern/components/months-table/Component.js +1 -1
- package/calendar/modern/components/months-table/index.css +6 -6
- package/calendar/modern/components/period-slider/Component.js +1 -1
- package/calendar/modern/components/period-slider/index.css +16 -16
- package/calendar/modern/components/select-button/Component.js +1 -1
- package/calendar/modern/components/select-button/index.css +10 -10
- package/calendar/modern/components/years-table/Component.js +1 -1
- package/calendar/modern/components/years-table/index.css +6 -6
- package/calendar/modern/index.css +8 -8
- package/calendar/{tslib.es6-4b772a84.d.ts → tslib.es6-4903227f.d.ts} +0 -0
- package/calendar/{tslib.es6-4b772a84.js → tslib.es6-4903227f.js} +0 -0
- package/calendar-input/Component.d.ts +1 -1
- package/calendar-input/Component.js +1 -1
- package/calendar-input/esm/Component.js +1 -1
- package/calendar-input/esm/index.css +10 -10
- package/calendar-input/index.css +10 -10
- package/calendar-input/modern/Component.js +1 -1
- package/calendar-input/modern/index.css +10 -10
- package/calendar-range/Component.js +1 -1
- package/calendar-range/esm/Component.js +1 -1
- package/calendar-range/esm/index.css +5 -5
- package/calendar-range/index.css +5 -5
- package/calendar-range/modern/Component.js +1 -1
- package/calendar-range/modern/index.css +5 -5
- package/calendar-with-skeleton/Component.js +1 -1
- package/calendar-with-skeleton/esm/Component.js +1 -1
- package/calendar-with-skeleton/esm/index.css +12 -12
- package/calendar-with-skeleton/index.css +12 -12
- package/calendar-with-skeleton/modern/Component.js +1 -1
- package/calendar-with-skeleton/modern/index.css +12 -12
- package/card-image/Component.js +1 -1
- package/card-image/esm/Component.js +1 -1
- package/card-image/esm/index.css +6 -6
- package/card-image/index.css +6 -6
- package/card-image/modern/Component.js +1 -1
- package/card-image/modern/index.css +6 -6
- package/cdn-icon/Component.js +1 -1
- package/cdn-icon/esm/Component.js +1 -1
- package/cdn-icon/esm/index.css +2 -2
- package/cdn-icon/index.css +2 -2
- package/cdn-icon/modern/Component.js +1 -1
- package/cdn-icon/modern/index.css +2 -2
- package/chart/Component.js +2 -2
- package/chart/components/Dot/index.css +7 -7
- package/chart/components/Dot/index.js +1 -1
- package/chart/components/Legends/index.css +7 -7
- package/chart/components/Legends/index.js +1 -1
- package/chart/components/Tick/index.css +3 -3
- package/chart/components/Tick/index.js +1 -1
- package/chart/components/TooltipContent/index.css +6 -6
- package/chart/components/TooltipContent/index.js +1 -1
- package/chart/esm/Component.js +2 -2
- package/chart/esm/components/Dot/index.css +7 -7
- package/chart/esm/components/Dot/index.js +1 -1
- package/chart/esm/components/Legends/index.css +7 -7
- package/chart/esm/components/Legends/index.js +1 -1
- package/chart/esm/components/Tick/index.css +3 -3
- package/chart/esm/components/Tick/index.js +1 -1
- package/chart/esm/components/TooltipContent/index.css +6 -6
- package/chart/esm/components/TooltipContent/index.js +1 -1
- package/chart/esm/hooks/useSettings/index.js +1 -1
- package/chart/esm/hooks/useSettings/utils/setDatas.js +1 -1
- package/chart/esm/hooks/useSettings/utils/setGradientCharts.js +1 -1
- package/chart/esm/index.css +2 -2
- package/chart/esm/index.js +1 -1
- package/chart/esm/{tslib.es6-529cfa8d.d.ts → tslib.es6-0d664be4.d.ts} +0 -0
- package/chart/esm/{tslib.es6-529cfa8d.js → tslib.es6-0d664be4.js} +0 -0
- package/chart/hooks/useSettings/index.js +1 -1
- package/chart/hooks/useSettings/utils/setDatas.js +1 -1
- package/chart/hooks/useSettings/utils/setGradientCharts.js +1 -1
- package/chart/index.css +2 -2
- package/chart/index.js +1 -1
- package/chart/modern/Component.js +1 -1
- package/chart/modern/components/Dot/index.css +7 -7
- package/chart/modern/components/Dot/index.js +1 -1
- package/chart/modern/components/Legends/index.css +7 -7
- package/chart/modern/components/Legends/index.js +1 -1
- package/chart/modern/components/Tick/index.css +3 -3
- package/chart/modern/components/Tick/index.js +1 -1
- package/chart/modern/components/TooltipContent/index.css +6 -6
- package/chart/modern/components/TooltipContent/index.js +1 -1
- package/chart/modern/index.css +2 -2
- package/chart/{tslib.es6-95e70a8c.d.ts → tslib.es6-4f504ec7.d.ts} +0 -0
- package/chart/{tslib.es6-95e70a8c.js → tslib.es6-4f504ec7.js} +0 -0
- package/checkbox/Component.js +1 -1
- package/checkbox/esm/Component.js +1 -1
- package/checkbox/esm/index.css +36 -36
- package/checkbox/index.css +36 -36
- package/checkbox/modern/Component.js +1 -1
- package/checkbox/modern/index.css +36 -36
- package/checkbox-group/Component.js +1 -1
- package/checkbox-group/esm/Component.js +1 -1
- package/checkbox-group/esm/index.css +16 -16
- package/checkbox-group/index.css +16 -16
- package/checkbox-group/modern/Component.js +1 -1
- package/checkbox-group/modern/index.css +16 -16
- package/circular-progress-bar/Component.js +1 -1
- package/circular-progress-bar/esm/Component.js +1 -1
- package/circular-progress-bar/esm/index.css +20 -20
- package/circular-progress-bar/index.css +20 -20
- package/circular-progress-bar/modern/Component.js +1 -1
- package/circular-progress-bar/modern/index.css +20 -20
- package/code-input/component.d.ts +45 -0
- package/code-input/component.js +163 -0
- package/code-input/components/index.d.ts +1 -0
- package/code-input/components/index.js +9 -0
- package/code-input/components/input/component.d.ts +28 -0
- package/code-input/components/input/component.js +39 -0
- package/code-input/components/input/index.css +67 -0
- package/{confirmation/components/code-input → code-input/components/input}/index.d.ts +0 -0
- package/code-input/components/input/index.js +9 -0
- package/code-input/cssm/component.d.ts +45 -0
- package/code-input/cssm/component.js +163 -0
- package/code-input/cssm/components/index.d.ts +1 -0
- package/code-input/cssm/components/index.js +10 -0
- package/code-input/cssm/components/input/component.d.ts +28 -0
- package/code-input/cssm/components/input/component.js +38 -0
- package/{confirmation/components/countdown → code-input/cssm/components/input}/index.d.ts +0 -0
- package/code-input/cssm/components/input/index.js +10 -0
- package/code-input/cssm/components/input/index.module.css +66 -0
- package/{confirmation/components/overlimit → code-input/cssm}/index.d.ts +0 -0
- package/code-input/cssm/index.js +12 -0
- package/code-input/cssm/index.module.css +46 -0
- package/code-input/cssm/vars.css +8 -0
- package/code-input/esm/component.d.ts +45 -0
- package/code-input/esm/component.js +156 -0
- package/code-input/esm/components/index.d.ts +1 -0
- package/code-input/esm/components/index.js +3 -0
- package/code-input/esm/components/input/component.d.ts +28 -0
- package/code-input/esm/components/input/component.js +32 -0
- package/code-input/esm/components/input/index.css +67 -0
- package/{confirmation/components/sign-confirmation → code-input/esm/components/input}/index.d.ts +0 -0
- package/code-input/esm/components/input/index.js +3 -0
- package/code-input/esm/index.css +47 -0
- package/{confirmation/cssm/components/code-input → code-input/esm}/index.d.ts +0 -0
- package/{confirmation/esm/components/code-input → code-input/esm}/index.js +1 -2
- package/code-input/index.css +47 -0
- package/{confirmation/cssm/components/countdown → code-input}/index.d.ts +0 -0
- package/code-input/index.js +10 -0
- package/code-input/modern/component.d.ts +45 -0
- package/code-input/modern/component.js +128 -0
- package/code-input/modern/components/index.d.ts +1 -0
- package/code-input/modern/components/index.js +3 -0
- package/code-input/modern/components/input/component.d.ts +28 -0
- package/code-input/modern/components/input/component.js +30 -0
- package/code-input/modern/components/input/index.css +67 -0
- package/{confirmation/cssm/components/overlimit → code-input/modern/components/input}/index.d.ts +0 -0
- package/code-input/modern/components/input/index.js +3 -0
- package/code-input/modern/index.css +47 -0
- package/{confirmation/cssm/components/sign-confirmation → code-input/modern}/index.d.ts +0 -0
- package/{confirmation/modern/components/code-input → code-input/modern}/index.js +1 -2
- package/code-input/package.json +3 -0
- package/code-input/send-stats.js +82 -0
- package/collapse/Component.js +1 -1
- package/collapse/esm/Component.js +1 -1
- package/collapse/esm/index.css +7 -7
- package/collapse/index.css +7 -7
- package/collapse/modern/Component.js +1 -1
- package/collapse/modern/index.css +7 -7
- package/confirmation/component.d.ts +4 -164
- package/confirmation/component.js +113 -101
- package/confirmation/components/countdown-loader/component.d.ts +1 -1
- package/confirmation/components/countdown-loader/component.js +1 -1
- package/confirmation/components/countdown-loader/index.css +2 -2
- package/confirmation/components/index.d.ts +1 -3
- package/confirmation/components/index.js +15 -14
- package/confirmation/components/screens/fatal-error/component.d.ts +3 -0
- package/confirmation/components/screens/fatal-error/component.js +23 -0
- package/confirmation/components/screens/fatal-error/index.css +61 -0
- package/confirmation/{esm/components/code-input → components/screens/fatal-error}/index.d.ts +0 -0
- package/confirmation/components/screens/fatal-error/index.js +11 -0
- package/confirmation/components/screens/hint/component.d.ts +3 -0
- package/confirmation/components/screens/hint/component.js +43 -0
- package/confirmation/components/screens/hint/index.css +103 -0
- package/confirmation/{esm/components/countdown → components/screens/hint}/index.d.ts +0 -0
- package/confirmation/components/screens/hint/index.js +13 -0
- package/confirmation/components/screens/index.d.ts +4 -0
- package/confirmation/components/screens/index.js +24 -0
- package/confirmation/components/screens/initial/component.d.ts +3 -0
- package/confirmation/components/screens/initial/component.js +93 -0
- package/confirmation/components/screens/initial/countdown-section.d.ts +0 -0
- package/confirmation/components/screens/initial/countdown-section.js +13 -0
- package/confirmation/components/screens/initial/index.css +101 -0
- package/confirmation/{esm/components/overlimit → components/screens/initial}/index.d.ts +0 -0
- package/confirmation/components/screens/initial/index.js +17 -0
- package/confirmation/components/screens/temp-block/component.d.ts +3 -0
- package/confirmation/components/screens/temp-block/component.js +34 -0
- package/confirmation/{modern/components/overlimit → components/screens/temp-block}/index.css +9 -31
- package/confirmation/{esm/components/sign-confirmation → components/screens/temp-block}/index.d.ts +0 -0
- package/confirmation/components/screens/temp-block/index.js +11 -0
- package/confirmation/context.d.ts +4 -0
- package/confirmation/context.js +25 -0
- package/confirmation/countdown-section-2edac0a0.d.ts +9 -0
- package/confirmation/countdown-section-2edac0a0.js +39 -0
- package/confirmation/cssm/component.d.ts +4 -164
- package/confirmation/cssm/component.js +115 -103
- package/confirmation/cssm/components/countdown-loader/component.d.ts +1 -1
- package/confirmation/cssm/components/index.d.ts +1 -3
- package/confirmation/cssm/components/index.js +19 -18
- package/confirmation/cssm/components/screens/fatal-error/component.d.ts +3 -0
- package/confirmation/cssm/components/screens/fatal-error/component.js +22 -0
- package/confirmation/{modern/components/code-input → cssm/components/screens/fatal-error}/index.d.ts +0 -0
- package/confirmation/cssm/components/screens/fatal-error/index.js +12 -0
- package/confirmation/cssm/components/screens/fatal-error/index.module.css +60 -0
- package/confirmation/cssm/components/screens/hint/component.d.ts +3 -0
- package/confirmation/cssm/components/screens/hint/component.js +42 -0
- package/confirmation/{modern/components/countdown → cssm/components/screens/hint}/index.d.ts +0 -0
- package/confirmation/cssm/components/screens/hint/index.js +14 -0
- package/confirmation/cssm/components/screens/hint/index.module.css +102 -0
- package/confirmation/cssm/components/screens/index.d.ts +4 -0
- package/confirmation/cssm/components/screens/index.js +29 -0
- package/confirmation/cssm/components/screens/initial/component.d.ts +3 -0
- package/confirmation/cssm/components/screens/initial/component.js +95 -0
- package/confirmation/cssm/components/screens/initial/countdown-section.d.ts +9 -0
- package/confirmation/cssm/components/screens/initial/countdown-section.js +39 -0
- package/confirmation/{modern/components/overlimit → cssm/components/screens/initial}/index.d.ts +0 -0
- package/confirmation/cssm/components/screens/initial/index.js +18 -0
- package/confirmation/cssm/components/{sign-confirmation → screens/initial}/index.module.css +43 -50
- package/confirmation/cssm/components/screens/temp-block/component.d.ts +3 -0
- package/confirmation/cssm/components/screens/temp-block/component.js +34 -0
- package/confirmation/{modern/components/sign-confirmation → cssm/components/screens/temp-block}/index.d.ts +0 -0
- package/confirmation/cssm/components/screens/temp-block/index.js +13 -0
- package/confirmation/cssm/components/{overlimit → screens/temp-block}/index.module.css +6 -28
- package/confirmation/cssm/context.d.ts +4 -0
- package/confirmation/cssm/context.js +25 -0
- package/confirmation/cssm/index.d.ts +3 -0
- package/confirmation/cssm/index.js +29 -20
- package/confirmation/cssm/index.module.css +5 -77
- package/confirmation/cssm/types.d.ts +130 -0
- package/confirmation/cssm/types.js +21 -0
- package/confirmation/cssm/utils.d.ts +30 -0
- package/confirmation/cssm/utils.js +82 -0
- package/confirmation/esm/component.d.ts +4 -164
- package/confirmation/esm/component.js +114 -102
- package/confirmation/esm/components/countdown-loader/component.d.ts +1 -1
- package/confirmation/esm/components/countdown-loader/component.js +1 -1
- package/confirmation/esm/components/countdown-loader/index.css +2 -2
- package/confirmation/esm/components/index.d.ts +1 -3
- package/confirmation/esm/components/index.js +11 -10
- package/confirmation/esm/components/screens/fatal-error/component.d.ts +3 -0
- package/confirmation/esm/components/screens/fatal-error/component.js +17 -0
- package/confirmation/esm/components/screens/fatal-error/index.css +61 -0
- package/confirmation/esm/components/screens/fatal-error/index.d.ts +1 -0
- package/confirmation/esm/components/screens/fatal-error/index.js +5 -0
- package/confirmation/esm/components/screens/hint/component.d.ts +3 -0
- package/confirmation/esm/components/screens/hint/component.js +36 -0
- package/confirmation/esm/components/screens/hint/index.css +103 -0
- package/confirmation/esm/components/screens/hint/index.d.ts +1 -0
- package/confirmation/esm/components/screens/hint/index.js +7 -0
- package/confirmation/esm/components/screens/index.d.ts +4 -0
- package/confirmation/esm/components/screens/index.js +15 -0
- package/confirmation/esm/components/screens/initial/component.d.ts +3 -0
- package/confirmation/esm/components/screens/initial/component.js +86 -0
- package/confirmation/esm/components/screens/initial/countdown-section.d.ts +0 -0
- package/confirmation/esm/components/screens/initial/countdown-section.js +7 -0
- package/confirmation/esm/components/screens/initial/index.css +101 -0
- package/confirmation/esm/components/screens/initial/index.d.ts +1 -0
- package/confirmation/esm/components/screens/initial/index.js +11 -0
- package/confirmation/esm/components/screens/temp-block/component.d.ts +3 -0
- package/confirmation/esm/components/screens/temp-block/component.js +28 -0
- package/confirmation/esm/components/{overlimit → screens/temp-block}/index.css +9 -31
- package/confirmation/esm/components/screens/temp-block/index.d.ts +1 -0
- package/confirmation/esm/components/screens/temp-block/index.js +5 -0
- package/confirmation/esm/context.d.ts +4 -0
- package/confirmation/esm/context.js +23 -0
- package/confirmation/esm/countdown-section-ddb744a6.d.ts +9 -0
- package/confirmation/esm/countdown-section-ddb744a6.js +33 -0
- package/confirmation/esm/index.css +7 -79
- package/confirmation/esm/index.d.ts +3 -0
- package/confirmation/esm/index.js +12 -10
- package/confirmation/esm/types.d.ts +130 -0
- package/confirmation/esm/types.js +19 -0
- package/confirmation/esm/utils.d.ts +30 -0
- package/confirmation/esm/utils.js +76 -0
- package/confirmation/index.css +7 -79
- package/confirmation/index.d.ts +3 -0
- package/confirmation/index.js +25 -16
- package/confirmation/modern/component.d.ts +4 -164
- package/confirmation/modern/component.js +75 -102
- package/confirmation/modern/components/countdown-loader/component.d.ts +1 -1
- package/confirmation/modern/components/countdown-loader/component.js +1 -1
- package/confirmation/modern/components/countdown-loader/index.css +2 -2
- package/confirmation/modern/components/index.d.ts +1 -3
- package/confirmation/modern/components/index.js +10 -9
- package/confirmation/modern/components/screens/fatal-error/component.d.ts +3 -0
- package/confirmation/modern/components/screens/fatal-error/component.js +17 -0
- package/confirmation/modern/components/screens/fatal-error/index.css +61 -0
- package/confirmation/modern/components/screens/fatal-error/index.d.ts +1 -0
- package/confirmation/modern/components/screens/fatal-error/index.js +5 -0
- package/confirmation/modern/components/screens/hint/component.d.ts +3 -0
- package/confirmation/modern/components/screens/hint/component.js +36 -0
- package/confirmation/modern/components/screens/hint/index.css +103 -0
- package/confirmation/modern/components/screens/hint/index.d.ts +1 -0
- package/confirmation/modern/components/screens/hint/index.js +7 -0
- package/confirmation/modern/components/screens/index.d.ts +4 -0
- package/confirmation/modern/components/screens/index.js +15 -0
- package/confirmation/modern/components/screens/initial/component.d.ts +3 -0
- package/confirmation/modern/components/screens/initial/component.js +86 -0
- package/confirmation/modern/components/screens/initial/countdown-section.d.ts +0 -0
- package/confirmation/modern/components/screens/initial/countdown-section.js +7 -0
- package/confirmation/modern/components/screens/initial/index.css +101 -0
- package/confirmation/modern/components/screens/initial/index.d.ts +1 -0
- package/confirmation/modern/components/screens/initial/index.js +11 -0
- package/confirmation/modern/components/screens/temp-block/component.d.ts +3 -0
- package/confirmation/modern/components/screens/temp-block/component.js +28 -0
- package/confirmation/{components/overlimit → modern/components/screens/temp-block}/index.css +9 -31
- package/confirmation/modern/components/screens/temp-block/index.d.ts +1 -0
- package/confirmation/modern/components/screens/temp-block/index.js +5 -0
- package/confirmation/modern/context.d.ts +4 -0
- package/confirmation/modern/context.js +23 -0
- package/confirmation/modern/countdown-section-91f055c8.d.ts +9 -0
- package/confirmation/modern/countdown-section-91f055c8.js +32 -0
- package/confirmation/modern/index.css +7 -79
- package/confirmation/modern/index.d.ts +3 -0
- package/confirmation/modern/index.js +11 -9
- package/confirmation/modern/types.d.ts +130 -0
- package/confirmation/modern/types.js +19 -0
- package/confirmation/modern/utils.d.ts +30 -0
- package/confirmation/modern/utils.js +74 -0
- package/confirmation/types.d.ts +130 -0
- package/confirmation/types.js +21 -0
- package/confirmation/utils.d.ts +30 -0
- package/confirmation/utils.js +82 -0
- package/custom-button/Component.js +1 -1
- package/custom-button/esm/Component.js +1 -1
- package/custom-button/esm/index.css +12 -12
- package/custom-button/index.css +12 -12
- package/custom-button/modern/Component.js +1 -1
- package/custom-button/modern/index.css +12 -12
- package/date-input/Component.js +1 -1
- package/date-input/esm/Component.js +1 -1
- package/date-input/esm/index.css +4 -4
- package/date-input/index.css +4 -4
- package/date-input/modern/Component.js +1 -1
- package/date-input/modern/index.css +4 -4
- package/divider/Component.js +1 -1
- package/divider/esm/Component.js +1 -1
- package/divider/esm/index.css +1 -1
- package/divider/index.css +1 -1
- package/divider/modern/Component.js +1 -1
- package/divider/modern/index.css +1 -1
- package/drawer/Component.js +1 -1
- package/drawer/esm/Component.js +1 -1
- package/drawer/esm/index.css +16 -16
- package/drawer/index.css +16 -16
- package/drawer/modern/Component.js +1 -1
- package/drawer/modern/index.css +16 -16
- package/dropzone/Component.js +1 -1
- package/dropzone/components/overlay/Component.js +1 -1
- package/dropzone/components/overlay/index.css +3 -3
- package/dropzone/esm/Component.js +1 -1
- package/dropzone/esm/components/overlay/Component.js +1 -1
- package/dropzone/esm/components/overlay/index.css +3 -3
- package/dropzone/esm/index.css +6 -6
- package/dropzone/index.css +6 -6
- package/dropzone/modern/Component.js +1 -1
- package/dropzone/modern/components/overlay/Component.js +1 -1
- package/dropzone/modern/components/overlay/index.css +3 -3
- package/dropzone/modern/index.css +6 -6
- package/file-upload-item/Component.js +1 -1
- package/file-upload-item/esm/Component.js +1 -1
- package/file-upload-item/esm/index.css +23 -23
- package/file-upload-item/index.css +23 -23
- package/file-upload-item/modern/Component.js +1 -1
- package/file-upload-item/modern/index.css +23 -23
- package/form-control/Component.js +3 -3
- package/form-control/default.css +14 -14
- package/form-control/esm/Component.js +3 -3
- package/form-control/esm/default.css +14 -14
- package/form-control/esm/index.css +41 -41
- package/form-control/esm/inverted.css +14 -14
- package/form-control/index.css +41 -41
- package/form-control/inverted.css +14 -14
- package/form-control/modern/Component.js +3 -3
- package/form-control/modern/default.css +14 -14
- package/form-control/modern/index.css +41 -41
- package/form-control/modern/inverted.css +14 -14
- package/gallery/Component.js +3 -3
- package/gallery/components/header/Component.js +2 -2
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/header/index.css +3 -3
- package/gallery/components/header/index.js +1 -1
- package/gallery/components/header-info-block/Component.js +1 -1
- package/gallery/components/header-info-block/index.css +5 -5
- package/gallery/components/image-preview/Component.js +1 -1
- package/gallery/components/image-preview/index.css +12 -12
- package/gallery/components/image-viewer/component.js +2 -2
- package/gallery/components/image-viewer/index.css +19 -19
- package/gallery/components/image-viewer/index.js +2 -2
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/index.js +2 -2
- package/gallery/components/navigation-bar/Component.js +1 -1
- package/gallery/components/navigation-bar/index.css +6 -6
- package/gallery/esm/Component.js +3 -3
- package/gallery/esm/components/header/Component.js +2 -2
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.css +3 -3
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/header-info-block/Component.js +1 -1
- package/gallery/esm/components/header-info-block/index.css +5 -5
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.css +12 -12
- package/gallery/esm/components/image-viewer/component.js +2 -2
- package/gallery/esm/components/image-viewer/index.css +19 -19
- package/gallery/esm/components/image-viewer/index.js +2 -2
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.css +6 -6
- package/gallery/esm/index.css +3 -3
- package/gallery/esm/index.js +2 -2
- package/gallery/esm/{slide-438a9380.d.ts → slide-eda96de8.d.ts} +0 -0
- package/gallery/esm/{slide-438a9380.js → slide-eda96de8.js} +1 -1
- package/gallery/esm/{tslib.es6-6bc7eb3c.d.ts → tslib.es6-18a69406.d.ts} +0 -0
- package/gallery/esm/{tslib.es6-6bc7eb3c.js → tslib.es6-18a69406.js} +0 -0
- package/gallery/index.css +3 -3
- 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/index.css +3 -3
- package/gallery/modern/components/header-info-block/Component.js +1 -1
- package/gallery/modern/components/header-info-block/index.css +5 -5
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.css +12 -12
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.css +19 -19
- 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 +1 -1
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.css +6 -6
- package/gallery/modern/index.css +3 -3
- package/gallery/modern/index.js +1 -1
- package/gallery/modern/{slide-d0e4396e.d.ts → slide-2ae88ed5.d.ts} +0 -0
- package/gallery/modern/{slide-d0e4396e.js → slide-2ae88ed5.js} +1 -1
- package/gallery/{slide-a9c3edf5.d.ts → slide-2c5baf1b.d.ts} +0 -0
- package/gallery/{slide-a9c3edf5.js → slide-2c5baf1b.js} +1 -1
- package/gallery/{tslib.es6-d3690215.d.ts → tslib.es6-4152d6a6.d.ts} +0 -0
- package/gallery/{tslib.es6-d3690215.js → tslib.es6-4152d6a6.js} +0 -0
- package/grid/Component.js +1 -1
- package/grid/col/Component.js +2 -2
- package/grid/col/index.css +511 -511
- package/grid/col/index.js +1 -1
- package/grid/esm/Component.js +1 -1
- package/grid/esm/col/Component.js +2 -2
- package/grid/esm/col/index.css +511 -511
- package/grid/esm/col/index.js +1 -1
- package/grid/esm/gutters.css +78 -78
- package/grid/esm/{gutters.module-8b3dfe40.d.ts → gutters.module-0ff800fc.d.ts} +0 -0
- package/grid/esm/gutters.module-0ff800fc.js +27 -0
- package/grid/esm/index.js +1 -1
- package/grid/esm/row/Component.js +2 -2
- package/grid/esm/row/index.css +9 -9
- package/grid/esm/row/index.js +1 -1
- package/grid/gutters.css +78 -78
- package/grid/{gutters.module-c9d7655b.d.ts → gutters.module-11159358.d.ts} +0 -0
- package/grid/gutters.module-11159358.js +28 -0
- package/grid/index.js +1 -1
- package/grid/modern/Component.js +1 -1
- package/grid/modern/col/Component.js +2 -2
- package/grid/modern/col/index.css +511 -511
- package/grid/modern/col/index.js +1 -1
- package/grid/modern/gutters.css +78 -78
- package/grid/modern/gutters.module-ee57ea5a.js +4 -0
- package/grid/modern/index.js +1 -1
- package/grid/modern/row/Component.js +2 -2
- package/grid/modern/row/index.css +9 -9
- package/grid/modern/row/index.js +1 -1
- package/grid/row/Component.js +2 -2
- package/grid/row/index.css +9 -9
- package/grid/row/index.js +1 -1
- package/icon-button/Component.js +3 -3
- package/icon-button/default.css +13 -13
- package/icon-button/esm/Component.js +3 -3
- package/icon-button/esm/default.css +13 -13
- package/icon-button/esm/index.css +6 -6
- package/icon-button/esm/inverted.css +13 -13
- package/icon-button/index.css +6 -6
- package/icon-button/inverted.css +13 -13
- package/icon-button/modern/Component.js +3 -3
- package/icon-button/modern/default.css +13 -13
- package/icon-button/modern/index.css +6 -6
- package/icon-button/modern/inverted.css +13 -13
- package/icon-view/circle.js +1 -1
- package/icon-view/components/base-shape/component.js +1 -1
- package/icon-view/components/base-shape/index.css +23 -23
- package/icon-view/components/circle/component.js +1 -1
- package/icon-view/components/circle/index.js +1 -1
- package/icon-view/components/index.js +1 -1
- package/icon-view/components/super-ellipse/component.js +1 -1
- package/icon-view/components/super-ellipse/index.js +1 -1
- package/icon-view/esm/circle.js +1 -1
- package/icon-view/esm/components/base-shape/component.js +1 -1
- package/icon-view/esm/components/base-shape/index.css +23 -23
- package/icon-view/esm/components/circle/component.js +1 -1
- package/icon-view/esm/components/circle/index.js +1 -1
- package/icon-view/esm/components/index.js +1 -1
- package/icon-view/esm/components/super-ellipse/component.js +1 -1
- package/icon-view/esm/components/super-ellipse/index.js +1 -1
- package/icon-view/esm/super-ellipse.js +1 -1
- package/icon-view/esm/{tslib.es6-84af79b3.d.ts → tslib.es6-5f456d14.d.ts} +0 -0
- package/icon-view/esm/{tslib.es6-84af79b3.js → tslib.es6-5f456d14.js} +0 -0
- package/icon-view/modern/components/base-shape/component.js +1 -1
- package/icon-view/modern/components/base-shape/index.css +23 -23
- package/icon-view/super-ellipse.js +1 -1
- package/icon-view/{tslib.es6-44430584.d.ts → tslib.es6-08dbac73.d.ts} +0 -0
- package/icon-view/{tslib.es6-44430584.js → tslib.es6-08dbac73.js} +0 -0
- package/input/Component.js +3 -3
- package/input/default.css +13 -13
- package/input/esm/Component.js +3 -3
- package/input/esm/default.css +13 -13
- package/input/esm/index.css +31 -31
- package/input/esm/inverted.css +13 -13
- package/input/index.css +31 -31
- package/input/inverted.css +13 -13
- package/input/modern/Component.js +3 -3
- package/input/modern/default.css +13 -13
- package/input/modern/index.css +31 -31
- package/input/modern/inverted.css +13 -13
- package/input-autocomplete/{Component-fae25239.d.ts → Component-85d3716e.d.ts} +0 -0
- package/input-autocomplete/{Component-fae25239.js → Component-85d3716e.js} +1 -1
- package/input-autocomplete/Component.js +1 -1
- package/input-autocomplete/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/autocomplete-field/index.css +2 -2
- package/input-autocomplete/autocomplete-field/index.d.ts +1 -1
- package/input-autocomplete/autocomplete-field/index.js +1 -1
- package/input-autocomplete/esm/{Component-c81b0296.d.ts → Component-6baf49b7.d.ts} +0 -0
- package/input-autocomplete/esm/{Component-c81b0296.js → Component-6baf49b7.js} +1 -1
- package/input-autocomplete/esm/Component.js +1 -1
- package/input-autocomplete/esm/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/esm/autocomplete-field/index.css +2 -2
- package/input-autocomplete/esm/autocomplete-field/index.d.ts +1 -1
- package/input-autocomplete/esm/autocomplete-field/index.js +1 -1
- package/input-autocomplete/esm/index.js +1 -1
- package/input-autocomplete/index.js +1 -1
- package/input-autocomplete/modern/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/modern/autocomplete-field/index.css +2 -2
- package/intl-phone-input/{component-8d00dcd7.d.ts → component-06d3f91d.d.ts} +0 -0
- package/intl-phone-input/{component-8d00dcd7.js → component-06d3f91d.js} +1 -1
- package/intl-phone-input/component.d.ts +1 -1
- package/intl-phone-input/component.js +3 -3
- package/intl-phone-input/components/flag-icon/component.js +1 -1
- package/intl-phone-input/components/flag-icon/index.css +784 -784
- package/intl-phone-input/components/index.js +1 -1
- package/intl-phone-input/components/select/component.js +2 -2
- package/intl-phone-input/components/select/index.css +6 -6
- package/intl-phone-input/components/select/index.js +1 -1
- package/intl-phone-input/components/select-field/component.js +1 -1
- package/intl-phone-input/components/select-field/index.css +8 -8
- package/intl-phone-input/components/select-field/index.d.ts +1 -1
- package/intl-phone-input/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/{component-723851a1.d.ts → component-87716381.d.ts} +0 -0
- package/intl-phone-input/esm/{component-723851a1.js → component-87716381.js} +1 -1
- package/intl-phone-input/esm/component.js +3 -3
- package/intl-phone-input/esm/components/flag-icon/component.js +1 -1
- package/intl-phone-input/esm/components/flag-icon/index.css +784 -784
- package/intl-phone-input/esm/components/index.js +1 -1
- package/intl-phone-input/esm/components/select/component.js +2 -2
- package/intl-phone-input/esm/components/select/index.css +6 -6
- package/intl-phone-input/esm/components/select/index.js +1 -1
- package/intl-phone-input/esm/components/select-field/component.js +1 -1
- package/intl-phone-input/esm/components/select-field/index.css +8 -8
- package/intl-phone-input/esm/components/select-field/index.d.ts +1 -1
- package/intl-phone-input/esm/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/index.css +3 -3
- package/intl-phone-input/esm/index.js +1 -1
- package/intl-phone-input/esm/{libphonenumber-js.min-4cc6a1af.d.ts → libphonenumber-js.min-dd429ae8.d.ts} +0 -0
- package/intl-phone-input/esm/{libphonenumber-js.min-4cc6a1af.js → libphonenumber-js.min-dd429ae8.js} +0 -0
- package/intl-phone-input/index.css +3 -3
- package/intl-phone-input/index.js +1 -1
- package/intl-phone-input/{libphonenumber-js.min-d2924cb8.d.ts → libphonenumber-js.min-6ce12fb3.d.ts} +0 -0
- package/intl-phone-input/{libphonenumber-js.min-d2924cb8.js → libphonenumber-js.min-6ce12fb3.js} +0 -0
- package/intl-phone-input/modern/component.js +2 -2
- package/intl-phone-input/modern/components/flag-icon/component.js +1 -1
- package/intl-phone-input/modern/components/flag-icon/index.css +784 -784
- package/intl-phone-input/modern/components/select/component.js +1 -1
- package/intl-phone-input/modern/components/select/index.css +6 -6
- package/intl-phone-input/modern/components/select-field/component.js +1 -1
- package/intl-phone-input/modern/components/select-field/index.css +8 -8
- package/intl-phone-input/modern/index.css +3 -3
- package/intl-phone-input/modern/{libphonenumber-js.min-4cc6a1af.d.ts → libphonenumber-js.min-dd429ae8.d.ts} +0 -0
- package/intl-phone-input/modern/{libphonenumber-js.min-4cc6a1af.js → libphonenumber-js.min-dd429ae8.js} +0 -0
- package/link/Component.js +3 -3
- package/link/default.css +9 -9
- package/link/esm/Component.js +3 -3
- package/link/esm/default.css +9 -9
- package/link/esm/index.css +11 -11
- package/link/esm/inverted.css +9 -9
- package/link/index.css +11 -11
- package/link/inverted.css +9 -9
- package/link/modern/Component.js +3 -3
- package/link/modern/default.css +9 -9
- package/link/modern/index.css +11 -11
- package/link/modern/inverted.css +9 -9
- package/list/Component.js +1 -1
- package/list/esm/Component.js +1 -1
- package/list/esm/index.css +9 -9
- package/list/index.css +9 -9
- package/list/modern/Component.js +1 -1
- package/list/modern/index.css +9 -9
- package/list-header/Component.js +1 -1
- package/list-header/esm/Component.js +1 -1
- package/list-header/esm/index.css +3 -3
- package/list-header/index.css +3 -3
- package/list-header/modern/Component.js +1 -1
- package/list-header/modern/index.css +3 -3
- package/loader/Component.js +1 -1
- package/loader/esm/Component.js +1 -1
- package/loader/esm/index.css +7 -7
- package/loader/index.css +7 -7
- package/loader/modern/Component.js +1 -1
- package/loader/modern/index.css +7 -7
- package/masked-input/Component.js +1 -1
- package/masked-input/esm/Component.js +1 -1
- package/masked-input/esm/index.css +2 -2
- package/masked-input/index.css +2 -2
- package/masked-input/modern/Component.js +1 -1
- package/masked-input/modern/index.css +2 -2
- package/modal/Component.desktop.js +3 -3
- package/modal/Component.mobile.js +3 -3
- package/modal/Component.responsive.d.ts +3 -3
- package/modal/Component.responsive.js +2 -2
- package/modal/components/closer/Component.js +2 -2
- package/modal/components/closer/index.css +8 -8
- package/modal/components/content/Component.desktop.js +2 -2
- package/modal/components/content/Component.mobile.js +2 -2
- package/modal/components/content/desktop.css +12 -12
- package/modal/components/content/mobile.css +7 -7
- package/modal/components/footer/Component.desktop.js +2 -2
- package/modal/components/footer/Component.js +1 -1
- package/modal/components/footer/Component.mobile.js +2 -2
- package/modal/components/footer/desktop.css +12 -12
- package/modal/components/footer/layout.css +25 -25
- package/modal/components/footer/mobile.css +7 -7
- package/modal/components/header/Component.desktop.js +2 -2
- package/modal/components/header/Component.js +1 -1
- package/modal/components/header/Component.mobile.js +2 -2
- package/modal/components/header/desktop.css +16 -16
- package/modal/components/header/mobile.css +11 -11
- package/modal/desktop.css +8 -8
- package/modal/desktop.js +2 -2
- package/modal/esm/Component.desktop.js +3 -3
- package/modal/esm/Component.mobile.js +3 -3
- package/modal/esm/Component.responsive.js +2 -2
- package/modal/esm/components/closer/Component.js +2 -2
- package/modal/esm/components/closer/index.css +8 -8
- package/modal/esm/components/content/Component.desktop.js +2 -2
- package/modal/esm/components/content/Component.mobile.js +2 -2
- package/modal/esm/components/content/desktop.css +12 -12
- package/modal/esm/components/content/mobile.css +7 -7
- package/modal/esm/components/footer/Component.desktop.js +2 -2
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/components/footer/Component.mobile.js +2 -2
- package/modal/esm/components/footer/desktop.css +12 -12
- package/modal/esm/components/footer/layout.css +25 -25
- package/modal/esm/components/footer/mobile.css +7 -7
- package/modal/esm/components/header/Component.desktop.js +2 -2
- package/modal/esm/components/header/Component.js +1 -1
- package/modal/esm/components/header/Component.mobile.js +2 -2
- package/modal/esm/components/header/desktop.css +16 -16
- package/modal/esm/components/header/mobile.css +11 -11
- package/modal/esm/desktop.css +8 -8
- package/modal/esm/desktop.js +2 -2
- package/modal/esm/index.js +2 -2
- package/modal/esm/mobile.css +2 -2
- package/modal/esm/mobile.js +2 -2
- package/modal/esm/responsive.js +2 -2
- package/modal/esm/transitions.css +8 -8
- package/modal/esm/transitions.module-65c74d65.js +4 -0
- package/modal/esm/{tslib.es6-327e6722.d.ts → tslib.es6-59bd6939.d.ts} +0 -0
- package/modal/esm/{tslib.es6-327e6722.js → tslib.es6-59bd6939.js} +0 -0
- package/modal/index.js +2 -2
- package/modal/mobile.css +2 -2
- package/modal/mobile.js +2 -2
- package/modal/modern/Component.desktop.js +2 -2
- package/modal/modern/Component.mobile.js +2 -2
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/closer/Component.js +1 -1
- package/modal/modern/components/closer/index.css +8 -8
- package/modal/modern/components/content/Component.desktop.js +1 -1
- package/modal/modern/components/content/Component.mobile.js +1 -1
- package/modal/modern/components/content/desktop.css +12 -12
- package/modal/modern/components/content/mobile.css +7 -7
- package/modal/modern/components/footer/Component.desktop.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/components/footer/Component.mobile.js +1 -1
- package/modal/modern/components/footer/desktop.css +12 -12
- package/modal/modern/components/footer/layout.css +25 -25
- package/modal/modern/components/footer/mobile.css +7 -7
- package/modal/modern/components/header/Component.desktop.js +1 -1
- package/modal/modern/components/header/Component.mobile.js +1 -1
- package/modal/modern/components/header/desktop.css +16 -16
- package/modal/modern/components/header/mobile.css +11 -11
- package/modal/modern/desktop.css +8 -8
- package/modal/modern/desktop.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile.css +2 -2
- package/modal/modern/mobile.js +1 -1
- package/modal/modern/responsive.js +1 -1
- package/modal/modern/transitions.css +8 -8
- package/modal/modern/transitions.module-65c74d65.js +4 -0
- package/modal/responsive.js +2 -2
- package/modal/transitions.css +8 -8
- package/modal/transitions.module-3fdc5875.js +4 -0
- package/modal/{tslib.es6-d1b7fb9e.d.ts → tslib.es6-26d8deb4.d.ts} +0 -0
- package/modal/{tslib.es6-d1b7fb9e.js → tslib.es6-26d8deb4.js} +0 -0
- package/notification/Component.js +1 -1
- package/notification/esm/Component.js +1 -1
- package/notification/esm/index.css +7 -7
- package/notification/index.css +7 -7
- package/notification/modern/Component.js +1 -1
- package/notification/modern/index.css +7 -7
- package/notification-manager/{component-c30f0b23.d.ts → component-96519183.d.ts} +0 -0
- package/notification-manager/{component-c30f0b23.js → component-96519183.js} +0 -0
- package/notification-manager/component.js +2 -2
- package/notification-manager/components/index.js +1 -1
- package/notification-manager/components/notification/component.js +1 -1
- package/notification-manager/components/notification/index.d.ts +1 -1
- package/notification-manager/components/notification/index.js +1 -1
- package/notification-manager/esm/{component-372f042a.d.ts → component-2cb63489.d.ts} +0 -0
- package/notification-manager/esm/{component-372f042a.js → component-2cb63489.js} +0 -0
- package/notification-manager/esm/component.js +2 -2
- package/notification-manager/esm/components/index.js +1 -1
- package/notification-manager/esm/components/notification/component.js +1 -1
- package/notification-manager/esm/components/notification/index.d.ts +1 -1
- package/notification-manager/esm/components/notification/index.js +1 -1
- package/notification-manager/esm/index.css +11 -11
- package/notification-manager/esm/index.js +1 -1
- package/notification-manager/index.css +11 -11
- package/notification-manager/index.js +1 -1
- package/notification-manager/modern/component.js +1 -1
- package/notification-manager/modern/index.css +11 -11
- package/package.json +1 -1
- package/pagination/Component.js +1 -1
- package/pagination/components/default-view/index.css +2 -2
- package/pagination/components/default-view/index.js +1 -1
- package/pagination/components/per-page-view/index.css +2 -2
- package/pagination/components/per-page-view/index.js +1 -1
- package/pagination/components/tag/index.css +8 -8
- package/pagination/components/tag/index.js +1 -1
- package/pagination/esm/Component.js +1 -1
- package/pagination/esm/components/default-view/index.css +2 -2
- package/pagination/esm/components/default-view/index.js +1 -1
- package/pagination/esm/components/per-page-view/index.css +2 -2
- package/pagination/esm/components/per-page-view/index.js +1 -1
- package/pagination/esm/components/tag/index.css +8 -8
- package/pagination/esm/components/tag/index.js +1 -1
- package/pagination/esm/index.css +4 -4
- package/pagination/index.css +4 -4
- package/pagination/modern/Component.js +1 -1
- package/pagination/modern/components/default-view/index.css +2 -2
- package/pagination/modern/components/default-view/index.js +1 -1
- package/pagination/modern/components/per-page-view/index.css +2 -2
- package/pagination/modern/components/per-page-view/index.js +1 -1
- package/pagination/modern/components/tag/index.css +8 -8
- package/pagination/modern/components/tag/index.js +1 -1
- package/pagination/modern/index.css +4 -4
- package/password-input/component.js +1 -1
- package/password-input/esm/component.js +1 -1
- package/password-input/esm/index.css +5 -5
- package/password-input/index.css +5 -5
- package/password-input/modern/component.js +1 -1
- package/password-input/modern/index.css +5 -5
- package/picker-button/{Component-7baa9255.d.ts → Component-b1411465.d.ts} +0 -0
- package/picker-button/{Component-7baa9255.js → Component-b1411465.js} +1 -1
- package/picker-button/Component.js +2 -2
- package/picker-button/esm/{Component-f3728290.d.ts → Component-d63c2a49.d.ts} +0 -0
- package/picker-button/esm/{Component-f3728290.js → Component-d63c2a49.js} +1 -1
- package/picker-button/esm/Component.js +2 -2
- package/picker-button/esm/field/Component.js +1 -1
- package/picker-button/esm/field/index.css +3 -3
- package/picker-button/esm/field/index.d.ts +1 -1
- package/picker-button/esm/field/index.js +1 -1
- package/picker-button/esm/index.css +5 -5
- package/picker-button/esm/index.js +1 -1
- package/picker-button/field/Component.js +1 -1
- package/picker-button/field/index.css +3 -3
- package/picker-button/field/index.d.ts +1 -1
- package/picker-button/field/index.js +1 -1
- package/picker-button/index.css +5 -5
- package/picker-button/index.js +1 -1
- package/picker-button/modern/Component.js +1 -1
- package/picker-button/modern/field/Component.js +1 -1
- package/picker-button/modern/field/index.css +3 -3
- package/picker-button/modern/index.css +5 -5
- package/plate/Component.js +1 -1
- package/plate/esm/Component.js +1 -1
- package/plate/esm/index.css +28 -28
- package/plate/index.css +28 -28
- package/plate/modern/Component.js +1 -1
- package/plate/modern/index.css +28 -28
- package/popover/Component.js +1 -1
- package/popover/esm/Component.js +1 -1
- package/popover/esm/index.css +34 -34
- package/popover/index.css +34 -34
- package/popover/modern/Component.js +1 -1
- package/popover/modern/index.css +34 -34
- package/progress-bar/Component.js +1 -1
- package/progress-bar/esm/Component.js +1 -1
- package/progress-bar/esm/index.css +4 -4
- package/progress-bar/index.css +4 -4
- package/progress-bar/modern/Component.js +1 -1
- package/progress-bar/modern/index.css +4 -4
- package/pure-input/Component.js +1 -1
- package/pure-input/esm/Component.js +1 -1
- package/pure-input/esm/index.css +25 -25
- package/pure-input/index.css +25 -25
- package/pure-input/modern/Component.js +1 -1
- package/pure-input/modern/index.css +25 -25
- package/radio/Component.js +1 -1
- package/radio/esm/Component.js +1 -1
- package/radio/esm/index.css +31 -31
- package/radio/index.css +31 -31
- package/radio/modern/Component.js +1 -1
- package/radio/modern/index.css +31 -31
- package/radio-group/Component.js +1 -1
- package/radio-group/esm/Component.js +1 -1
- package/radio-group/esm/index.css +16 -16
- package/radio-group/index.css +16 -16
- package/radio-group/modern/Component.js +1 -1
- package/radio-group/modern/index.css +16 -16
- package/select/Component.js +1 -1
- package/select/components/arrow/Component.js +1 -1
- package/select/components/arrow/index.css +3 -3
- package/select/components/base-select/Component.js +2 -2
- package/select/components/base-select/index.css +7 -7
- package/select/components/base-select/index.js +1 -1
- package/select/components/checkmark/Component.js +1 -1
- package/select/components/checkmark/index.css +7 -7
- package/select/components/field/Component.js +2 -2
- package/select/components/field/index.css +9 -9
- package/select/components/field/index.js +1 -1
- package/select/components/index.js +1 -1
- package/select/components/native-select/Component.js +1 -1
- package/select/components/native-select/index.js +1 -1
- package/select/components/optgroup/Component.js +1 -1
- package/select/components/optgroup/index.css +6 -6
- package/select/components/option/Component.js +2 -2
- package/select/components/option/index.css +20 -20
- package/select/components/option/index.js +1 -1
- package/select/components/options-list/Component.js +2 -2
- package/select/components/options-list/index.css +6 -6
- package/select/components/options-list/index.js +1 -1
- package/select/components/virtual-options-list/Component.js +2 -2
- package/select/components/virtual-options-list/index.css +12 -12
- package/select/components/virtual-options-list/index.js +1 -1
- package/select/esm/Component.js +1 -1
- package/select/esm/components/arrow/Component.js +1 -1
- package/select/esm/components/arrow/index.css +3 -3
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/base-select/index.css +7 -7
- package/select/esm/components/base-select/index.js +1 -1
- package/select/esm/components/checkmark/Component.js +1 -1
- package/select/esm/components/checkmark/index.css +7 -7
- package/select/esm/components/field/Component.js +2 -2
- package/select/esm/components/field/index.css +9 -9
- package/select/esm/components/field/index.js +1 -1
- package/select/esm/components/index.js +1 -1
- package/select/esm/components/native-select/Component.js +1 -1
- package/select/esm/components/native-select/index.js +1 -1
- package/select/esm/components/optgroup/Component.js +1 -1
- package/select/esm/components/optgroup/index.css +6 -6
- package/select/esm/components/option/Component.js +2 -2
- package/select/esm/components/option/index.css +20 -20
- package/select/esm/components/option/index.js +1 -1
- package/select/esm/components/options-list/Component.js +2 -2
- package/select/esm/components/options-list/index.css +6 -6
- package/select/esm/components/options-list/index.js +1 -1
- package/select/esm/components/virtual-options-list/Component.js +2 -2
- package/select/esm/components/virtual-options-list/index.css +12 -12
- package/select/esm/components/virtual-options-list/index.js +1 -1
- package/select/esm/{hook-0dec4a9d.d.ts → hook-fc7c1783.d.ts} +0 -0
- package/select/esm/{hook-0dec4a9d.js → hook-fc7c1783.js} +3 -3
- package/select/esm/index.js +3 -3
- package/select/esm/{intersection-observer-de5aa0a1.d.ts → intersection-observer-571d640d.d.ts} +0 -0
- package/select/esm/{intersection-observer-de5aa0a1.js → intersection-observer-571d640d.js} +0 -0
- package/select/esm/presets/index.js +3 -3
- package/select/esm/presets/useLazyLoading/hook.js +3 -3
- package/select/esm/presets/useLazyLoading/index.css +2 -2
- package/select/esm/presets/useSelectWithApply/hook.js +3 -3
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- 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 +3 -3
- package/select/esm/presets/useSelectWithLoading/hook.js +2 -2
- package/select/esm/presets/useSelectWithLoading/index.css +2 -2
- package/select/esm/{tslib.es6-06329489.d.ts → tslib.es6-da4050a0.d.ts} +0 -0
- package/select/esm/{tslib.es6-06329489.js → tslib.es6-da4050a0.js} +0 -0
- package/select/{hook-dbd120ed.d.ts → hook-ea07ee52.d.ts} +0 -0
- package/select/{hook-dbd120ed.js → hook-ea07ee52.js} +3 -3
- package/select/index.js +3 -3
- package/select/{intersection-observer-b603d85e.d.ts → intersection-observer-229d50ec.d.ts} +0 -0
- package/select/{intersection-observer-b603d85e.js → intersection-observer-229d50ec.js} +0 -0
- package/select/modern/components/arrow/Component.js +1 -1
- package/select/modern/components/arrow/index.css +3 -3
- package/select/modern/components/base-select/Component.js +1 -1
- package/select/modern/components/base-select/index.css +7 -7
- package/select/modern/components/checkmark/Component.js +1 -1
- package/select/modern/components/checkmark/index.css +7 -7
- package/select/modern/components/field/Component.js +1 -1
- package/select/modern/components/field/index.css +9 -9
- package/select/modern/components/optgroup/Component.js +1 -1
- package/select/modern/components/optgroup/index.css +6 -6
- package/select/modern/components/option/Component.js +1 -1
- package/select/modern/components/option/index.css +20 -20
- package/select/modern/components/options-list/Component.js +1 -1
- package/select/modern/components/options-list/index.css +6 -6
- package/select/modern/components/virtual-options-list/Component.js +1 -1
- package/select/modern/components/virtual-options-list/index.css +12 -12
- package/select/modern/{hook-817cbffc.d.ts → hook-663eac64.d.ts} +0 -0
- package/select/modern/{hook-817cbffc.js → hook-663eac64.js} +2 -2
- package/select/modern/index.js +2 -2
- package/select/modern/{intersection-observer-de5aa0a1.d.ts → intersection-observer-571d640d.d.ts} +0 -0
- package/select/modern/{intersection-observer-de5aa0a1.js → intersection-observer-571d640d.js} +0 -0
- package/select/modern/presets/index.js +2 -2
- package/select/modern/presets/useLazyLoading/hook.js +2 -2
- package/select/modern/presets/useLazyLoading/index.css +2 -2
- package/select/modern/presets/useSelectWithApply/hook.js +2 -2
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +2 -2
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- 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 +2 -2
- package/select/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/select/modern/presets/useSelectWithLoading/index.css +2 -2
- package/select/presets/index.js +3 -3
- package/select/presets/useLazyLoading/hook.js +3 -3
- package/select/presets/useLazyLoading/index.css +2 -2
- package/select/presets/useSelectWithApply/hook.js +3 -3
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/select/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
- package/select/presets/useSelectWithLoading/hook.js +2 -2
- package/select/presets/useSelectWithLoading/index.css +2 -2
- package/select/{tslib.es6-7a40dfc0.d.ts → tslib.es6-3dfc3652.d.ts} +0 -0
- package/select/{tslib.es6-7a40dfc0.js → tslib.es6-3dfc3652.js} +0 -0
- package/select-with-tags/component.js +1 -1
- package/select-with-tags/components/index.js +1 -1
- package/select-with-tags/components/tag/component.js +2 -2
- package/select-with-tags/components/tag/index.css +10 -10
- package/select-with-tags/components/tag/index.js +1 -1
- package/select-with-tags/components/tag-list/component.js +2 -2
- package/select-with-tags/components/tag-list/index.css +30 -30
- package/select-with-tags/components/tag-list/index.js +1 -1
- package/select-with-tags/esm/component.js +1 -1
- package/select-with-tags/esm/components/index.js +1 -1
- package/select-with-tags/esm/components/tag/component.js +2 -2
- package/select-with-tags/esm/components/tag/index.css +10 -10
- package/select-with-tags/esm/components/tag/index.js +1 -1
- package/select-with-tags/esm/components/tag-list/component.js +2 -2
- package/select-with-tags/esm/components/tag-list/index.css +30 -30
- package/select-with-tags/esm/components/tag-list/index.js +1 -1
- package/select-with-tags/esm/index.js +1 -1
- package/select-with-tags/esm/{tslib.es6-e918a731.d.ts → tslib.es6-2375f848.d.ts} +0 -0
- package/select-with-tags/esm/{tslib.es6-e918a731.js → tslib.es6-2375f848.js} +0 -0
- package/select-with-tags/esm/utils/index.js +1 -1
- package/select-with-tags/esm/utils/match.js +1 -1
- package/select-with-tags/index.js +1 -1
- package/select-with-tags/modern/components/tag/component.js +1 -1
- package/select-with-tags/modern/components/tag/index.css +10 -10
- package/select-with-tags/modern/components/tag-list/component.js +1 -1
- package/select-with-tags/modern/components/tag-list/index.css +30 -30
- package/select-with-tags/{tslib.es6-83965c31.d.ts → tslib.es6-e263b9ba.d.ts} +0 -0
- package/select-with-tags/{tslib.es6-83965c31.js → tslib.es6-e263b9ba.js} +0 -0
- package/select-with-tags/utils/index.js +1 -1
- package/select-with-tags/utils/match.js +1 -1
- package/skeleton/Component.js +1 -1
- package/skeleton/esm/Component.js +1 -1
- package/skeleton/esm/index.css +10 -10
- package/skeleton/index.css +10 -10
- package/skeleton/modern/Component.js +1 -1
- package/skeleton/modern/index.css +10 -10
- package/slider/Component.js +1 -1
- package/slider/esm/Component.js +1 -1
- package/slider/esm/index.css +36 -36
- package/slider/index.css +36 -36
- package/slider/modern/Component.js +1 -1
- package/slider/modern/index.css +36 -36
- package/slider-input/Component.js +1 -1
- package/slider-input/esm/Component.js +1 -1
- package/slider-input/esm/index.css +17 -17
- package/slider-input/index.css +17 -17
- package/slider-input/modern/Component.js +1 -1
- package/slider-input/modern/index.css +17 -17
- package/space/Component.js +2 -2
- package/space/{Item-1d324665.d.ts → Item-8b754b49.d.ts} +0 -0
- package/space/{Item-1d324665.js → Item-8b754b49.js} +0 -0
- package/space/Item.js +1 -1
- package/space/esm/Component.js +2 -2
- package/space/esm/{Item-d4997a8d.d.ts → Item-b84a8447.d.ts} +0 -0
- package/space/esm/{Item-d4997a8d.js → Item-b84a8447.js} +0 -0
- package/space/esm/Item.js +1 -1
- package/space/esm/index.css +8 -8
- package/space/esm/index.js +1 -1
- package/space/index.css +8 -8
- package/space/index.js +1 -1
- package/space/modern/Component.js +1 -1
- package/space/modern/index.css +8 -8
- package/spinner/Component.js +1 -1
- package/spinner/esm/Component.js +1 -1
- package/spinner/esm/index.css +6 -6
- package/spinner/index.css +6 -6
- package/spinner/modern/Component.js +1 -1
- package/spinner/modern/index.css +6 -6
- package/status/Component.js +1 -1
- package/status/esm/Component.js +1 -1
- package/status/esm/index.css +17 -17
- package/status/index.css +17 -17
- package/status/modern/Component.js +1 -1
- package/status/modern/index.css +17 -17
- package/stepped-progress-bar/Component.js +1 -1
- package/stepped-progress-bar/components/step-bar/Component.js +1 -1
- package/stepped-progress-bar/components/step-bar/index.css +3 -3
- package/stepped-progress-bar/esm/Component.js +1 -1
- package/stepped-progress-bar/esm/components/step-bar/Component.js +1 -1
- package/stepped-progress-bar/esm/components/step-bar/index.css +3 -3
- package/stepped-progress-bar/esm/index.css +3 -3
- package/stepped-progress-bar/index.css +3 -3
- package/stepped-progress-bar/modern/Component.js +1 -1
- package/stepped-progress-bar/modern/components/step-bar/Component.js +1 -1
- package/stepped-progress-bar/modern/components/step-bar/index.css +3 -3
- package/stepped-progress-bar/modern/index.css +3 -3
- package/switch/Component.js +1 -1
- package/switch/esm/Component.js +1 -1
- package/switch/esm/index.css +25 -25
- package/switch/index.css +25 -25
- package/switch/modern/Component.js +1 -1
- package/switch/modern/index.css +25 -25
- package/table/component.js +1 -1
- package/table/components/index.js +1 -1
- package/table/components/pagination/Component.js +2 -2
- package/table/components/pagination/index.css +8 -8
- package/table/components/pagination/index.js +1 -1
- package/table/components/pagination/select-field/index.css +4 -4
- package/table/components/pagination/select-field/index.js +2 -2
- package/table/components/table/Component.js +2 -2
- package/table/components/table/index.css +6 -6
- package/table/components/table/index.js +1 -1
- package/table/components/table/utils.js +1 -1
- package/table/components/tbody/Component.js +2 -2
- package/table/components/tbody/index.css +2 -2
- package/table/components/tbody/index.js +1 -1
- package/table/components/tcell/Component.js +2 -2
- package/table/components/tcell/index.css +4 -4
- package/table/components/tcell/index.js +1 -1
- package/table/components/texpandable-row/Component.js +2 -2
- package/table/components/texpandable-row/index.css +5 -5
- package/table/components/texpandable-row/index.js +1 -1
- package/table/components/thead/Component.js +2 -2
- package/table/components/thead/index.css +6 -6
- package/table/components/thead/index.js +1 -1
- package/table/components/thead-cell/Component.js +2 -2
- package/table/components/thead-cell/index.css +5 -5
- package/table/components/thead-cell/index.js +1 -1
- package/table/components/trow/Component.js +2 -2
- package/table/components/trow/index.css +8 -8
- package/table/components/trow/index.js +1 -1
- package/table/components/tsortable-head-cell/Component.js +2 -2
- package/table/components/tsortable-head-cell/index.css +9 -9
- package/table/components/tsortable-head-cell/index.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/table/esm/component.js +1 -1
- package/table/esm/components/index.js +1 -1
- package/table/esm/components/pagination/Component.js +2 -2
- package/table/esm/components/pagination/index.css +8 -8
- package/table/esm/components/pagination/index.js +1 -1
- package/table/esm/components/pagination/select-field/index.css +4 -4
- package/table/esm/components/pagination/select-field/index.js +2 -2
- package/table/esm/components/table/Component.js +2 -2
- package/table/esm/components/table/index.css +6 -6
- package/table/esm/components/table/index.js +1 -1
- package/table/esm/components/table/utils.js +1 -1
- package/table/esm/components/tbody/Component.js +2 -2
- package/table/esm/components/tbody/index.css +2 -2
- package/table/esm/components/tbody/index.js +1 -1
- package/table/esm/components/tcell/Component.js +2 -2
- package/table/esm/components/tcell/index.css +4 -4
- package/table/esm/components/tcell/index.js +1 -1
- package/table/esm/components/texpandable-row/Component.js +2 -2
- package/table/esm/components/texpandable-row/index.css +5 -5
- package/table/esm/components/texpandable-row/index.js +1 -1
- package/table/esm/components/thead/Component.js +2 -2
- package/table/esm/components/thead/index.css +6 -6
- package/table/esm/components/thead/index.js +1 -1
- package/table/esm/components/thead-cell/Component.js +2 -2
- package/table/esm/components/thead-cell/index.css +5 -5
- package/table/esm/components/thead-cell/index.js +1 -1
- package/table/esm/components/trow/Component.js +2 -2
- package/table/esm/components/trow/index.css +8 -8
- package/table/esm/components/trow/index.js +1 -1
- package/table/esm/components/tsortable-head-cell/Component.js +2 -2
- package/table/esm/components/tsortable-head-cell/index.css +9 -9
- package/table/esm/components/tsortable-head-cell/index.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/table/esm/index.js +1 -1
- package/table/esm/{tslib.es6-4b711877.d.ts → tslib.es6-452f5c99.d.ts} +0 -0
- package/table/esm/{tslib.es6-4b711877.js → tslib.es6-452f5c99.js} +0 -0
- package/table/index.js +1 -1
- package/table/modern/components/pagination/Component.js +1 -1
- package/table/modern/components/pagination/index.css +8 -8
- package/table/modern/components/pagination/select-field/index.css +4 -4
- package/table/modern/components/pagination/select-field/index.js +1 -1
- package/table/modern/components/table/Component.js +1 -1
- package/table/modern/components/table/index.css +6 -6
- package/table/modern/components/tbody/Component.js +1 -1
- package/table/modern/components/tbody/index.css +2 -2
- package/table/modern/components/tcell/Component.js +1 -1
- package/table/modern/components/tcell/index.css +4 -4
- package/table/modern/components/texpandable-row/Component.js +1 -1
- package/table/modern/components/texpandable-row/index.css +5 -5
- package/table/modern/components/thead/Component.js +1 -1
- package/table/modern/components/thead/index.css +6 -6
- package/table/modern/components/thead-cell/Component.js +1 -1
- package/table/modern/components/thead-cell/index.css +5 -5
- package/table/modern/components/trow/Component.js +1 -1
- package/table/modern/components/trow/index.css +8 -8
- package/table/modern/components/tsortable-head-cell/Component.js +1 -1
- package/table/modern/components/tsortable-head-cell/index.css +9 -9
- package/table/{tslib.es6-7ae5f6cd.d.ts → tslib.es6-dc0d7e96.d.ts} +0 -0
- package/table/{tslib.es6-7ae5f6cd.js → tslib.es6-dc0d7e96.js} +0 -0
- package/tabs/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/components/primary-tablist/Component.js +1 -1
- package/tabs/components/primary-tablist/Component.mobile.js +3 -3
- package/tabs/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/components/primary-tablist/index.css +18 -18
- package/tabs/components/primary-tablist/mobile.css +20 -20
- package/tabs/components/scrollable-container/Component.js +1 -1
- package/tabs/components/scrollable-container/index.css +3 -3
- package/tabs/components/secondary-tablist/Component.desktop.js +2 -2
- package/tabs/components/secondary-tablist/Component.js +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +3 -3
- package/tabs/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/components/secondary-tablist/index.css +9 -9
- package/tabs/components/secondary-tablist/mobile.css +11 -11
- package/tabs/components/tab/Component.js +1 -1
- package/tabs/components/tab/index.css +2 -2
- package/tabs/components/tabs/Component.desktop.js +3 -3
- package/tabs/components/tabs/Component.mobile.js +3 -3
- package/tabs/components/tabs/Component.responsive.js +3 -3
- package/tabs/desktop.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/primary-tablist/index.css +18 -18
- package/tabs/esm/components/primary-tablist/mobile.css +20 -20
- package/tabs/esm/components/scrollable-container/Component.js +1 -1
- package/tabs/esm/components/scrollable-container/index.css +3 -3
- package/tabs/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/secondary-tablist/index.css +9 -9
- package/tabs/esm/components/secondary-tablist/mobile.css +11 -11
- package/tabs/esm/components/tab/Component.js +1 -1
- package/tabs/esm/components/tab/index.css +2 -2
- package/tabs/esm/components/tabs/Component.desktop.js +3 -3
- package/tabs/esm/components/tabs/Component.mobile.js +3 -3
- package/tabs/esm/components/tabs/Component.responsive.js +3 -3
- package/tabs/esm/desktop.js +3 -3
- package/tabs/esm/index.js +3 -3
- package/tabs/esm/index.module-82bb42a9.js +4 -0
- package/tabs/esm/index.module-e0dc45ba.js +4 -0
- package/tabs/esm/mobile.js +3 -3
- package/tabs/esm/responsive.js +3 -3
- package/tabs/esm/{tslib.es6-44aaeed8.d.ts → tslib.es6-743d53fc.d.ts} +0 -0
- package/tabs/esm/{tslib.es6-44aaeed8.js → tslib.es6-743d53fc.js} +0 -0
- package/tabs/index.js +3 -3
- package/tabs/index.module-93d67a30.js +4 -0
- package/tabs/index.module-bc491fa5.js +4 -0
- package/tabs/mobile.js +3 -3
- package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/primary-tablist/index.css +18 -18
- package/tabs/modern/components/primary-tablist/mobile.css +20 -20
- package/tabs/modern/components/scrollable-container/Component.js +1 -1
- package/tabs/modern/components/scrollable-container/index.css +3 -3
- package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/secondary-tablist/index.css +9 -9
- package/tabs/modern/components/secondary-tablist/mobile.css +11 -11
- package/tabs/modern/components/tab/Component.js +1 -1
- package/tabs/modern/components/tab/index.css +2 -2
- package/tabs/modern/components/tabs/Component.desktop.js +2 -2
- package/tabs/modern/components/tabs/Component.mobile.js +2 -2
- package/tabs/modern/components/tabs/Component.responsive.js +2 -2
- package/tabs/modern/desktop.js +2 -2
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/index.module-82bb42a9.js +4 -0
- package/tabs/modern/index.module-e0dc45ba.js +4 -0
- package/tabs/modern/mobile.js +2 -2
- package/tabs/modern/responsive.js +2 -2
- package/tabs/responsive.js +3 -3
- package/tabs/{tslib.es6-ebef235d.d.ts → tslib.es6-78748c30.d.ts} +0 -0
- package/tabs/{tslib.es6-ebef235d.js → tslib.es6-78748c30.js} +0 -0
- package/tag/Component.js +3 -3
- package/tag/default.css +7 -7
- package/tag/esm/Component.js +3 -3
- package/tag/esm/default.css +7 -7
- package/tag/esm/index.css +35 -35
- package/tag/esm/inverted.css +7 -7
- package/tag/index.css +35 -35
- package/tag/inverted.css +7 -7
- package/tag/modern/Component.js +3 -3
- package/tag/modern/default.css +7 -7
- package/tag/modern/index.css +35 -35
- package/tag/modern/inverted.css +7 -7
- package/textarea/Component.js +3 -3
- package/textarea/default.css +18 -18
- package/textarea/esm/Component.js +3 -3
- package/textarea/esm/default.css +18 -18
- package/textarea/esm/index.css +21 -21
- package/textarea/esm/inverted.css +18 -18
- package/textarea/index.css +21 -21
- package/textarea/inverted.css +18 -18
- package/textarea/modern/Component.js +3 -3
- package/textarea/modern/default.css +18 -18
- package/textarea/modern/index.css +21 -21
- package/textarea/modern/inverted.css +18 -18
- package/themes/click.css +4 -0
- package/themes/code-input/click.css +6 -0
- package/themes/compiled/mobile-dark-bluetint.css +228 -212
- package/themes/dist/click.css +4 -0
- package/themes/dist/code-input/click.css +6 -0
- package/themes/dist/compiled/mobile-dark-bluetint.css +648 -654
- package/themes/dist/mixins/click.css +2 -0
- package/themes/dist/mixins/code-input/click.css +6 -0
- package/themes/mixins/click.css +2 -0
- package/themes/mixins/code-input/click.css +6 -0
- package/toast/component.js +1 -1
- package/toast/esm/component.js +1 -1
- package/toast/esm/index.css +9 -9
- package/toast/index.css +9 -9
- package/toast/modern/component.js +1 -1
- package/toast/modern/index.css +9 -9
- package/toast-plate/component.js +1 -1
- package/toast-plate/esm/component.js +1 -1
- package/toast-plate/esm/index.css +15 -15
- package/toast-plate/index.css +15 -15
- package/toast-plate/modern/component.js +1 -1
- package/toast-plate/modern/index.css +15 -15
- package/tooltip/{Component-c272cd67.d.ts → Component-1c809043.d.ts} +0 -0
- package/tooltip/{Component-c272cd67.js → Component-1c809043.js} +1 -1
- package/tooltip/Component.js +1 -1
- package/tooltip/component.responsive.js +2 -2
- package/tooltip/esm/{Component-72ed3da9.d.ts → Component-0398282c.d.ts} +0 -0
- package/tooltip/esm/{Component-72ed3da9.js → Component-0398282c.js} +1 -1
- package/tooltip/esm/Component.js +1 -1
- package/tooltip/esm/component.responsive.js +2 -2
- package/tooltip/esm/index.css +8 -8
- package/tooltip/esm/index.d.ts +1 -1
- package/tooltip/esm/index.js +1 -1
- package/tooltip/esm/responsive.css +3 -3
- package/tooltip/esm/responsive.js +1 -1
- package/tooltip/index.css +8 -8
- package/tooltip/index.d.ts +1 -1
- package/tooltip/index.js +1 -1
- package/tooltip/modern/Component.js +1 -1
- package/tooltip/modern/component.responsive.js +1 -1
- package/tooltip/modern/index.css +8 -8
- package/tooltip/modern/responsive.css +3 -3
- package/tooltip/responsive.css +3 -3
- package/tooltip/responsive.js +1 -1
- package/typography/colors.css +12 -12
- package/typography/{colors.module-0bb07522.d.ts → colors.module-495f4a3b.d.ts} +0 -0
- package/typography/{colors.module-0bb07522.js → colors.module-495f4a3b.js} +1 -1
- package/typography/common.module-4db428e5.js +4 -0
- package/typography/component.js +2 -2
- package/typography/esm/colors.css +12 -12
- package/typography/esm/{colors.module-b5437a3d.d.ts → colors.module-d66bcb77.d.ts} +0 -0
- package/typography/esm/{colors.module-b5437a3d.js → colors.module-d66bcb77.js} +1 -1
- package/typography/esm/common.module-ccefedc7.js +4 -0
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +2 -2
- package/typography/esm/text/index.css +13 -13
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/common.css +4 -4
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.css +18 -18
- package/typography/esm/title/index.js +3 -3
- package/typography/esm/title-responsive/component.js +3 -3
- package/typography/esm/title-responsive/index.css +45 -45
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/index.js +2 -2
- package/typography/modern/colors.css +12 -12
- package/typography/modern/colors.module-2bdec950.js +4 -0
- package/typography/modern/common.module-ccefedc7.js +4 -0
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +2 -2
- package/typography/modern/text/index.css +13 -13
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/common.css +4 -4
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.css +18 -18
- package/typography/modern/title/index.js +3 -3
- package/typography/modern/title-responsive/component.js +3 -3
- package/typography/modern/title-responsive/index.css +45 -45
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +2 -2
- package/typography/text/index.css +13 -13
- package/typography/text/index.js +1 -1
- package/typography/title/common.css +4 -4
- package/typography/title/component.js +1 -1
- package/typography/title/index.css +18 -18
- package/typography/title/index.js +3 -3
- package/typography/title-responsive/component.js +3 -3
- package/typography/title-responsive/index.css +45 -45
- package/typography/title-responsive/index.js +2 -2
- package/vars/dist/package.json +1 -1
- package/with-suffix/Component.js +1 -1
- package/with-suffix/esm/Component.js +1 -1
- package/with-suffix/esm/index.css +9 -9
- package/with-suffix/index.css +9 -9
- package/with-suffix/modern/Component.js +1 -1
- package/with-suffix/modern/index.css +9 -9
- package/confirmation/components/code-input/component.d.ts +0 -16
- package/confirmation/components/code-input/component.js +0 -158
- package/confirmation/components/code-input/index.css +0 -99
- package/confirmation/components/code-input/index.js +0 -11
- package/confirmation/components/code-input/utils.d.ts +0 -10
- package/confirmation/components/code-input/utils.js +0 -19
- package/confirmation/components/countdown/component.d.ts +0 -23
- package/confirmation/components/countdown/component.js +0 -115
- package/confirmation/components/countdown/index.css +0 -85
- package/confirmation/components/countdown/index.js +0 -14
- package/confirmation/components/overlimit/component.d.ts +0 -12
- package/confirmation/components/overlimit/component.js +0 -71
- package/confirmation/components/overlimit/index.js +0 -15
- package/confirmation/components/sign-confirmation/component.d.ts +0 -37
- package/confirmation/components/sign-confirmation/component.js +0 -60
- package/confirmation/components/sign-confirmation/index.css +0 -108
- package/confirmation/components/sign-confirmation/index.js +0 -18
- package/confirmation/cssm/components/code-input/component.d.ts +0 -16
- package/confirmation/cssm/components/code-input/component.js +0 -157
- package/confirmation/cssm/components/code-input/index.js +0 -12
- package/confirmation/cssm/components/code-input/index.module.css +0 -98
- package/confirmation/cssm/components/code-input/utils.d.ts +0 -10
- package/confirmation/cssm/components/code-input/utils.js +0 -19
- package/confirmation/cssm/components/countdown/component.d.ts +0 -23
- package/confirmation/cssm/components/countdown/component.js +0 -115
- package/confirmation/cssm/components/countdown/index.js +0 -16
- package/confirmation/cssm/components/countdown/index.module.css +0 -84
- package/confirmation/cssm/components/overlimit/component.d.ts +0 -12
- package/confirmation/cssm/components/overlimit/component.js +0 -72
- package/confirmation/cssm/components/overlimit/index.js +0 -18
- package/confirmation/cssm/components/sign-confirmation/component.d.ts +0 -37
- package/confirmation/cssm/components/sign-confirmation/component.js +0 -62
- package/confirmation/cssm/components/sign-confirmation/index.js +0 -22
- package/confirmation/esm/components/code-input/component.d.ts +0 -16
- package/confirmation/esm/components/code-input/component.js +0 -151
- package/confirmation/esm/components/code-input/index.css +0 -99
- package/confirmation/esm/components/code-input/utils.d.ts +0 -10
- package/confirmation/esm/components/code-input/utils.js +0 -17
- package/confirmation/esm/components/countdown/component.d.ts +0 -23
- package/confirmation/esm/components/countdown/component.js +0 -107
- package/confirmation/esm/components/countdown/index.css +0 -85
- package/confirmation/esm/components/countdown/index.js +0 -7
- package/confirmation/esm/components/overlimit/component.d.ts +0 -12
- package/confirmation/esm/components/overlimit/component.js +0 -65
- package/confirmation/esm/components/overlimit/index.js +0 -9
- package/confirmation/esm/components/sign-confirmation/component.d.ts +0 -37
- package/confirmation/esm/components/sign-confirmation/component.js +0 -53
- package/confirmation/esm/components/sign-confirmation/index.css +0 -108
- package/confirmation/esm/components/sign-confirmation/index.js +0 -12
- package/confirmation/modern/components/code-input/component.d.ts +0 -16
- package/confirmation/modern/components/code-input/component.js +0 -123
- package/confirmation/modern/components/code-input/index.css +0 -99
- package/confirmation/modern/components/code-input/utils.d.ts +0 -10
- package/confirmation/modern/components/code-input/utils.js +0 -16
- package/confirmation/modern/components/countdown/component.d.ts +0 -23
- package/confirmation/modern/components/countdown/component.js +0 -102
- package/confirmation/modern/components/countdown/index.css +0 -85
- package/confirmation/modern/components/countdown/index.js +0 -7
- package/confirmation/modern/components/overlimit/component.d.ts +0 -12
- package/confirmation/modern/components/overlimit/component.js +0 -64
- package/confirmation/modern/components/overlimit/index.js +0 -9
- package/confirmation/modern/components/sign-confirmation/component.d.ts +0 -37
- package/confirmation/modern/components/sign-confirmation/component.js +0 -51
- package/confirmation/modern/components/sign-confirmation/index.css +0 -108
- package/confirmation/modern/components/sign-confirmation/index.js +0 -12
- package/grid/esm/gutters.module-8b3dfe40.js +0 -27
- package/grid/gutters.module-c9d7655b.js +0 -28
- package/grid/modern/gutters.module-3802eb8c.js +0 -4
- package/modal/esm/transitions.module-c8dac06a.js +0 -4
- package/modal/modern/transitions.module-c8dac06a.js +0 -4
- package/modal/transitions.module-9c7cb980.js +0 -4
- package/tabs/esm/index.module-c9e59889.js +0 -4
- package/tabs/esm/index.module-f5e5a0a0.js +0 -4
- package/tabs/index.module-e98a5510.js +0 -4
- package/tabs/index.module-eb4824a6.js +0 -4
- package/tabs/modern/index.module-c9e59889.js +0 -4
- package/tabs/modern/index.module-f5e5a0a0.js +0 -4
- package/typography/common.module-b922a9b3.js +0 -4
- package/typography/esm/common.module-f51039d1.js +0 -4
- package/typography/modern/colors.module-f96cc7a6.js +0 -4
- package/typography/modern/common.module-f51039d1.js +0 -4
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var cn = require('classnames');
|
|
5
|
-
var hooks = require('@alfalab/hooks');
|
|
6
|
-
var components_codeInput_utils = require('./utils.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
-
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
12
|
-
|
|
13
|
-
/*! *****************************************************************************
|
|
14
|
-
Copyright (c) Microsoft Corporation.
|
|
15
|
-
|
|
16
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
17
|
-
purpose with or without fee is hereby granted.
|
|
18
|
-
|
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
20
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
21
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
22
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
23
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
24
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
26
|
-
***************************************************************************** */
|
|
27
|
-
function __spreadArrays() {
|
|
28
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
29
|
-
s += arguments[i].length;
|
|
30
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
31
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
32
|
-
r[k] = a[j];
|
|
33
|
-
return r;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
var styles = {"component":"confirmation__component_1s527","input":"confirmation__input_1s527","hasError":"confirmation__hasError_1s527","center":"confirmation__center_1s527","disabled":"confirmation__disabled_1s527","compact":"confirmation__compact_1s527","shake":"confirmation__shake_1s527"};
|
|
37
|
-
require('./index.css');
|
|
38
|
-
|
|
39
|
-
var Input = function (_a) {
|
|
40
|
-
var _b;
|
|
41
|
-
var index = _a.index, slotsCount = _a.slotsCount, error = _a.error, processing = _a.processing, value = _a.value, alignContent = _a.alignContent, handleChange = _a.handleChange, handleInputKeyDown = _a.handleInputKeyDown, setRef = _a.setRef, focus = _a.focus;
|
|
42
|
-
var splittedValue = value.split('');
|
|
43
|
-
var inputRef = React.useRef(null);
|
|
44
|
-
var onChange = function (event) {
|
|
45
|
-
var targetValue = event.target.value;
|
|
46
|
-
if (/^\d$/.test(targetValue)) {
|
|
47
|
-
var newValues = __spreadArrays(splittedValue);
|
|
48
|
-
newValues[index] = targetValue;
|
|
49
|
-
handleChange(newValues.join(''));
|
|
50
|
-
}
|
|
51
|
-
else if (/^\d{1,}$/.test(targetValue) && index !== slotsCount - 1) {
|
|
52
|
-
/*
|
|
53
|
-
* если пользователь хочет ввести более 1 цифры в инпут,
|
|
54
|
-
* то предполагаем, что это вставка кода (например, из смс)
|
|
55
|
-
*/
|
|
56
|
-
var newValues = components_codeInput_utils.mergeArrays({
|
|
57
|
-
sourceArray: splittedValue,
|
|
58
|
-
targetArray: targetValue.split(''),
|
|
59
|
-
startIndex: index,
|
|
60
|
-
resultArrayLength: slotsCount,
|
|
61
|
-
});
|
|
62
|
-
handleChange(newValues.join(''));
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
var onInputKeyDown = function (event) {
|
|
66
|
-
var key = event.key;
|
|
67
|
-
var newValues = __spreadArrays(splittedValue);
|
|
68
|
-
switch (key) {
|
|
69
|
-
case 'Backspace':
|
|
70
|
-
case 'Delete':
|
|
71
|
-
newValues[index] = '';
|
|
72
|
-
handleChange(newValues.join('').trim());
|
|
73
|
-
if (index !== 0) {
|
|
74
|
-
focus(index - 1);
|
|
75
|
-
}
|
|
76
|
-
break;
|
|
77
|
-
case 'ArrowRight':
|
|
78
|
-
if (index !== slotsCount - 1) {
|
|
79
|
-
focus(index + 1);
|
|
80
|
-
}
|
|
81
|
-
break;
|
|
82
|
-
case 'ArrowLeft':
|
|
83
|
-
if (index !== 0) {
|
|
84
|
-
focus(index - 1);
|
|
85
|
-
}
|
|
86
|
-
break;
|
|
87
|
-
case 'Home':
|
|
88
|
-
focus(0);
|
|
89
|
-
break;
|
|
90
|
-
case 'End':
|
|
91
|
-
focus(slotsCount - 1);
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
handleInputKeyDown(event);
|
|
95
|
-
};
|
|
96
|
-
var handleRef = function (node) {
|
|
97
|
-
inputRef.current = node;
|
|
98
|
-
setRef({ node: node, index: index });
|
|
99
|
-
};
|
|
100
|
-
return (React__default['default'].createElement("input", { className: cn__default['default'](styles.input, styles[alignContent], (_b = {},
|
|
101
|
-
_b[styles.hasError] = error,
|
|
102
|
-
_b[styles.disabled] = processing,
|
|
103
|
-
_b)), disabled: processing, value: splittedValue[index] || '', autoComplete: index === 0 ? 'one-time-code' : '', inputMode: 'numeric', pattern: '[0-9]*', onChange: onChange, onKeyDown: onInputKeyDown, ref: handleRef }));
|
|
104
|
-
};
|
|
105
|
-
var CodeInput = React.forwardRef(function (_a, ref) {
|
|
106
|
-
var _b;
|
|
107
|
-
var processing = _a.processing, _c = _a.value, value = _c === void 0 ? '' : _c, slotsCount = _a.slotsCount, error = _a.error, handleInputKeyDown = _a.handleInputKeyDown, handleChange = _a.handleChange, className = _a.className, alignContent = _a.alignContent;
|
|
108
|
-
var inputs = React.useRef([]);
|
|
109
|
-
React.useImperativeHandle(ref, function () { return inputs.current[0]; });
|
|
110
|
-
var prevValue = hooks.usePrevious(value) || '';
|
|
111
|
-
var focus = React.useCallback(function (index) {
|
|
112
|
-
var input = inputs.current[index];
|
|
113
|
-
if (input) {
|
|
114
|
-
input.focus();
|
|
115
|
-
input.setSelectionRange(1, 1);
|
|
116
|
-
}
|
|
117
|
-
}, []);
|
|
118
|
-
var setRef = React.useCallback(function (_a) {
|
|
119
|
-
var node = _a.node, index = _a.index;
|
|
120
|
-
inputs.current[index] = node;
|
|
121
|
-
}, []);
|
|
122
|
-
/**
|
|
123
|
-
* Устанавливаем фокус на инпуте:
|
|
124
|
-
* 1) если код введен неверно
|
|
125
|
-
* 2) по нажатию кнопки 'Запросить код'
|
|
126
|
-
*/
|
|
127
|
-
React.useEffect(function () {
|
|
128
|
-
var inputIndex = value.length === slotsCount ? value.length - 1 : value.length;
|
|
129
|
-
var needFocus = !processing || error;
|
|
130
|
-
if (needFocus && value.length === prevValue.length) {
|
|
131
|
-
focus(inputIndex);
|
|
132
|
-
}
|
|
133
|
-
}, [focus, error, slotsCount, value.length, prevValue.length, processing]);
|
|
134
|
-
React.useEffect(function () {
|
|
135
|
-
if (value.length > prevValue.length && value.length < slotsCount) {
|
|
136
|
-
/**
|
|
137
|
-
* Если value.length увеличился - ставим фокус на следующем инпуте
|
|
138
|
-
*/
|
|
139
|
-
var nextInputIndex = value.length;
|
|
140
|
-
focus(nextInputIndex);
|
|
141
|
-
}
|
|
142
|
-
else if (value.length <= prevValue.length && value.length > 0) {
|
|
143
|
-
/**
|
|
144
|
-
* Если value.length уменьшился - ставим фокус на предыдущем инпуте
|
|
145
|
-
*/
|
|
146
|
-
var nextInputIndex = value.length - 1;
|
|
147
|
-
focus(nextInputIndex);
|
|
148
|
-
}
|
|
149
|
-
}, [value.length, prevValue.length, slotsCount, focus]);
|
|
150
|
-
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, className, (_b = {},
|
|
151
|
-
_b[styles.shake] = Boolean(error),
|
|
152
|
-
_b[styles.compact] = slotsCount > 6,
|
|
153
|
-
_b)) }, new Array(slotsCount).fill('').map(function (_, index) { return (React__default['default'].createElement(Input, { value: value, index: index, error: error, processing: processing, slotsCount: slotsCount, alignContent: alignContent, handleChange: handleChange, handleInputKeyDown: handleInputKeyDown, setRef: setRef, focus: focus,
|
|
154
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
155
|
-
key: index })); })));
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
exports.CodeInput = CodeInput;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/* hash: 19upi */
|
|
2
|
-
:root {
|
|
3
|
-
--color-light-bg-negative-muted: #feebea;
|
|
4
|
-
--color-light-bg-secondary: #f3f4f5;
|
|
5
|
-
--color-light-text-negative: #d91d0b;
|
|
6
|
-
--color-light-text-primary: #0b1f35;
|
|
7
|
-
--color-light-text-tertiary: #b6bcc3;
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
10
|
-
|
|
11
|
-
/* Hard */
|
|
12
|
-
|
|
13
|
-
/* Up */
|
|
14
|
-
|
|
15
|
-
/* Hard up */
|
|
16
|
-
}
|
|
17
|
-
:root {
|
|
18
|
-
--gap-2xs: 4px;
|
|
19
|
-
--gap-xs: 8px;
|
|
20
|
-
}
|
|
21
|
-
:root {
|
|
22
|
-
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
23
|
-
sans-serif;
|
|
24
|
-
}
|
|
25
|
-
:root {
|
|
26
|
-
--border-radius-s: 4px;
|
|
27
|
-
}
|
|
28
|
-
:root {
|
|
29
|
-
/* title */
|
|
30
|
-
|
|
31
|
-
/* text */
|
|
32
|
-
|
|
33
|
-
/* error */
|
|
34
|
-
--confirmation-error-color: var(--color-light-text-negative);
|
|
35
|
-
|
|
36
|
-
/* input */
|
|
37
|
-
--confirmation-input-font-size: 30px;
|
|
38
|
-
--confirmation-input-font-weight: 700;
|
|
39
|
-
--confirmation-input-font-family: var(--font-family-system);
|
|
40
|
-
--confirmation-input-text-color: var(--color-light-text-primary);
|
|
41
|
-
--confirmation-input-bg-color: var(--color-light-bg-secondary);
|
|
42
|
-
--confirmation-input-error-bg-color: var(--color-light-bg-negative-muted);
|
|
43
|
-
}
|
|
44
|
-
.confirmation__component_1s527 {
|
|
45
|
-
display: flex;
|
|
46
|
-
}
|
|
47
|
-
.confirmation__input_1s527 {
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
width: 36px;
|
|
50
|
-
height: 48px;
|
|
51
|
-
margin-right: var(--gap-xs);
|
|
52
|
-
padding: 0;
|
|
53
|
-
background-color: var(--confirmation-input-bg-color);
|
|
54
|
-
border: none;
|
|
55
|
-
border-radius: var(--border-radius-s);
|
|
56
|
-
box-sizing: border-box;
|
|
57
|
-
outline: none;
|
|
58
|
-
color: var(--confirmation-input-text-color);
|
|
59
|
-
text-align: center;
|
|
60
|
-
font-size: var(--confirmation-input-font-size);
|
|
61
|
-
font-weight: var(--confirmation-input-font-weight);
|
|
62
|
-
font-family: var(--confirmation-input-font-family)
|
|
63
|
-
}
|
|
64
|
-
.confirmation__input_1s527.confirmation__hasError_1s527 {
|
|
65
|
-
color: var(--confirmation-error-color);
|
|
66
|
-
caret-color: var(--confirmation-input-text-color);
|
|
67
|
-
background-color: var(--confirmation-input-error-bg-color);
|
|
68
|
-
}
|
|
69
|
-
.confirmation__input_1s527.confirmation__center_1s527 {
|
|
70
|
-
margin: 0 var(--gap-2xs);
|
|
71
|
-
}
|
|
72
|
-
.confirmation__input_1s527.confirmation__disabled_1s527 {
|
|
73
|
-
color: var(--color-light-text-tertiary);
|
|
74
|
-
opacity: 1;
|
|
75
|
-
}
|
|
76
|
-
.confirmation__compact_1s527 .confirmation__input_1s527 {
|
|
77
|
-
width: 28px;
|
|
78
|
-
height: 40px;
|
|
79
|
-
}
|
|
80
|
-
@keyframes confirmation__shake_1s527 {
|
|
81
|
-
0% {
|
|
82
|
-
transform: translateX(0);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
25% {
|
|
86
|
-
transform: translateX(-2px);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
75% {
|
|
90
|
-
transform: translateX(2px);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
100% {
|
|
94
|
-
transform: translateX(0);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
.confirmation__shake_1s527 {
|
|
98
|
-
animation: confirmation__shake_1s527 0.15s linear 0s 3;
|
|
99
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
require('react');
|
|
4
|
-
require('classnames');
|
|
5
|
-
require('@alfalab/hooks');
|
|
6
|
-
var components_codeInput_component = require('./component.js');
|
|
7
|
-
require('./utils.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.CodeInput = components_codeInput_component.CodeInput;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Начиная с указанного индекса, заменяет элементы исходного массива
|
|
3
|
-
*/
|
|
4
|
-
declare const mergeArrays: ({ sourceArray, targetArray, startIndex, resultArrayLength, }: {
|
|
5
|
-
sourceArray: string[];
|
|
6
|
-
targetArray: string[];
|
|
7
|
-
startIndex: number;
|
|
8
|
-
resultArrayLength: number;
|
|
9
|
-
}) => string[];
|
|
10
|
-
export { mergeArrays };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Начиная с указанного индекса, заменяет элементы исходного массива
|
|
5
|
-
*/
|
|
6
|
-
var mergeArrays = function (_a) {
|
|
7
|
-
var sourceArray = _a.sourceArray, targetArray = _a.targetArray, startIndex = _a.startIndex, resultArrayLength = _a.resultArrayLength;
|
|
8
|
-
var insertedElemIndex = 0;
|
|
9
|
-
var result = new Array(resultArrayLength).fill('');
|
|
10
|
-
return result.map(function (_, index) {
|
|
11
|
-
if (index < startIndex) {
|
|
12
|
-
return sourceArray[index] || '';
|
|
13
|
-
}
|
|
14
|
-
// eslint-disable-next-line no-plusplus
|
|
15
|
-
return targetArray[insertedElemIndex++] || sourceArray[index] || '';
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
exports.mergeArrays = mergeArrays;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MouseEvent, FC, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: Вынести это в utils
|
|
4
|
-
* Форматирование миллисекунд в hh:mm:ss.
|
|
5
|
-
*
|
|
6
|
-
* @param {Number} ms миллисекунды
|
|
7
|
-
* @returns {String} время в формате mm:ss
|
|
8
|
-
*/
|
|
9
|
-
declare function formatMsAsMinutes(ms: number): string;
|
|
10
|
-
type CountdownProps = {
|
|
11
|
-
duration: number;
|
|
12
|
-
hasPhoneMask: boolean;
|
|
13
|
-
phone?: string;
|
|
14
|
-
alignContent: string;
|
|
15
|
-
buttonRetryText: string;
|
|
16
|
-
noAttemptsLeftMessage?: string;
|
|
17
|
-
hasError: boolean;
|
|
18
|
-
content?: ReactNode;
|
|
19
|
-
onCountdownFinished?: () => void;
|
|
20
|
-
onRepeatSms: (event: MouseEvent) => void;
|
|
21
|
-
};
|
|
22
|
-
declare const Countdown: FC<CountdownProps>;
|
|
23
|
-
export { formatMsAsMinutes, CountdownProps, Countdown };
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var cn = require('classnames');
|
|
5
|
-
var coreComponentsButton = require('../../../button');
|
|
6
|
-
var utils = require('@alfalab/utils');
|
|
7
|
-
var hooks = require('@alfalab/hooks');
|
|
8
|
-
var components_countdownLoader_component = require('../countdown-loader/component.js');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
-
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
14
|
-
|
|
15
|
-
var styles = {"component":"confirmation__component_tecu4","hasError":"confirmation__hasError_tecu4","getCodeButton":"confirmation__getCodeButton_tecu4","info":"confirmation__info_tecu4","customContent":"confirmation__customContent_tecu4","loaderWrap":"confirmation__loaderWrap_tecu4","loader":"confirmation__loader_tecu4","center":"confirmation__center_tecu4","timePassed":"confirmation__timePassed_tecu4","noAttemptsLeftMessage":"confirmation__noAttemptsLeftMessage_tecu4"};
|
|
16
|
-
require('./index.css');
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* TODO: Вынести это в utils
|
|
20
|
-
* Форматирование миллисекунд в hh:mm:ss.
|
|
21
|
-
*
|
|
22
|
-
* @param {Number} ms миллисекунды
|
|
23
|
-
* @returns {String} время в формате mm:ss
|
|
24
|
-
*/
|
|
25
|
-
function formatMsAsMinutes(ms) {
|
|
26
|
-
var totalSeconds = Math.ceil(ms / 1000);
|
|
27
|
-
var totalMinutes = Math.floor(totalSeconds / 60);
|
|
28
|
-
var totalHours = Math.floor(totalMinutes / 60);
|
|
29
|
-
var seconds = totalSeconds % 60;
|
|
30
|
-
var paddedSeconds = ("00" + seconds).slice(-2);
|
|
31
|
-
if (totalHours > 0) {
|
|
32
|
-
var minutes = totalMinutes % 60;
|
|
33
|
-
var paddedMinutes_1 = ("00" + minutes).slice(-2);
|
|
34
|
-
var paddedHours = ("00" + totalHours).slice(-2);
|
|
35
|
-
return paddedHours + ":" + paddedMinutes_1 + ":" + paddedSeconds;
|
|
36
|
-
}
|
|
37
|
-
var paddedMinutes = ("00" + totalMinutes).slice(-2);
|
|
38
|
-
return paddedMinutes + ":" + paddedSeconds;
|
|
39
|
-
}
|
|
40
|
-
var Container = function (_a) {
|
|
41
|
-
var _b;
|
|
42
|
-
var alignContent = _a.alignContent, hasError = _a.hasError, children = _a.children;
|
|
43
|
-
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent], (_b = {},
|
|
44
|
-
_b[styles.hasError] = hasError,
|
|
45
|
-
_b)) }, children));
|
|
46
|
-
};
|
|
47
|
-
var Countdown = function (_a) {
|
|
48
|
-
var _b = _a.duration, duration = _b === void 0 ? 5000 : _b, _c = _a.phone, phone = _c === void 0 ? '' : _c, _d = _a.hasPhoneMask, hasPhoneMask = _d === void 0 ? true : _d, buttonRetryText = _a.buttonRetryText, alignContent = _a.alignContent, noAttemptsLeftMessage = _a.noAttemptsLeftMessage, hasError = _a.hasError, content = _a.content, onRepeatSms = _a.onRepeatSms, onCountdownFinished = _a.onCountdownFinished;
|
|
49
|
-
var timerId = React.useRef(0);
|
|
50
|
-
var start = React.useRef(0);
|
|
51
|
-
var _e = React.useState(false), repeatSmsButtonShow = _e[0], setRepeatSmsButtonShow = _e[1];
|
|
52
|
-
var _f = React.useState(0), timePassed = _f[0], setTimePassed = _f[1];
|
|
53
|
-
var noAttemptsLeftMessagePrev = hooks.usePrevious(noAttemptsLeftMessage);
|
|
54
|
-
var stopTimer = React.useCallback(function () {
|
|
55
|
-
window.clearInterval(timerId.current);
|
|
56
|
-
}, []);
|
|
57
|
-
var updateProgress = React.useCallback(function () {
|
|
58
|
-
var passed = Date.now() - start.current;
|
|
59
|
-
if (passed >= duration) {
|
|
60
|
-
setRepeatSmsButtonShow(true);
|
|
61
|
-
if (onCountdownFinished) {
|
|
62
|
-
onCountdownFinished();
|
|
63
|
-
}
|
|
64
|
-
stopTimer();
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
setTimePassed(passed);
|
|
68
|
-
}
|
|
69
|
-
}, [duration, onCountdownFinished, stopTimer]);
|
|
70
|
-
var startTimer = React.useCallback(function () {
|
|
71
|
-
start.current = Date.now();
|
|
72
|
-
updateProgress();
|
|
73
|
-
timerId.current = window.setInterval(updateProgress, 50);
|
|
74
|
-
}, [updateProgress]);
|
|
75
|
-
var handleRepeatSmsButtonClick = React.useCallback(function (event) {
|
|
76
|
-
setRepeatSmsButtonShow(false);
|
|
77
|
-
if (onRepeatSms) {
|
|
78
|
-
onRepeatSms(event);
|
|
79
|
-
}
|
|
80
|
-
startTimer();
|
|
81
|
-
}, [onRepeatSms, startTimer]);
|
|
82
|
-
React.useEffect(function () {
|
|
83
|
-
startTimer();
|
|
84
|
-
return function () {
|
|
85
|
-
stopTimer();
|
|
86
|
-
};
|
|
87
|
-
}, [startTimer, stopTimer]);
|
|
88
|
-
React.useEffect(function () {
|
|
89
|
-
// Если кончились попытки ввода кода, то останавливаем таймер
|
|
90
|
-
if (!noAttemptsLeftMessagePrev && noAttemptsLeftMessage) {
|
|
91
|
-
stopTimer();
|
|
92
|
-
}
|
|
93
|
-
}, [noAttemptsLeftMessage, noAttemptsLeftMessagePrev, stopTimer]);
|
|
94
|
-
var progress = timePassed / duration;
|
|
95
|
-
var formattedPhone = utils.phoneNumber.format(phone);
|
|
96
|
-
var retryButton = (React__default['default'].createElement(coreComponentsButton.Button, { size: 'xs', view: 'secondary', onClick: handleRepeatSmsButtonClick, className: styles.getCodeButton }, buttonRetryText));
|
|
97
|
-
if (content) {
|
|
98
|
-
return (React__default['default'].createElement(Container, { alignContent: alignContent, hasError: hasError },
|
|
99
|
-
React__default['default'].createElement("div", { className: styles.customContent }, content),
|
|
100
|
-
retryButton));
|
|
101
|
-
}
|
|
102
|
-
return (React__default['default'].createElement(Container, { alignContent: alignContent, hasError: hasError },
|
|
103
|
-
phone && !hasError && (React__default['default'].createElement("div", null,
|
|
104
|
-
"\u041A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u043D\u0430",
|
|
105
|
-
' ',
|
|
106
|
-
hasPhoneMask ? utils.phoneNumber.mask(formattedPhone) : formattedPhone)),
|
|
107
|
-
noAttemptsLeftMessage ? (React__default['default'].createElement("div", { className: styles.noAttemptsLeftMessage }, noAttemptsLeftMessage)) : repeatSmsButtonShow ? (retryButton) : (React__default['default'].createElement("div", null,
|
|
108
|
-
React__default['default'].createElement("div", { className: styles.info }, "\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437"),
|
|
109
|
-
React__default['default'].createElement("div", { className: styles.loaderWrap },
|
|
110
|
-
React__default['default'].createElement(components_countdownLoader_component.CountdownLoader, { progress: progress, className: styles.loader }),
|
|
111
|
-
React__default['default'].createElement("div", { className: styles.timePassed }, formatMsAsMinutes(duration - timePassed)))))));
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
exports.Countdown = Countdown;
|
|
115
|
-
exports.formatMsAsMinutes = formatMsAsMinutes;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* hash: 16vas */
|
|
2
|
-
:root {
|
|
3
|
-
--color-light-text-secondary: #546272;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
6
|
-
|
|
7
|
-
/* Hard */
|
|
8
|
-
|
|
9
|
-
/* Up */
|
|
10
|
-
|
|
11
|
-
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
-
--gap-2xs: 4px;
|
|
15
|
-
--gap-xs: 8px;
|
|
16
|
-
--gap-2xl: 32px;
|
|
17
|
-
--gap-3xl: 40px;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
-
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
21
|
-
sans-serif;
|
|
22
|
-
}
|
|
23
|
-
:root {
|
|
24
|
-
/* title */
|
|
25
|
-
|
|
26
|
-
/* text */
|
|
27
|
-
--confirmation-text-font-size: 16px;
|
|
28
|
-
--confirmation-text-line-height: 24px;
|
|
29
|
-
--confirmation-text-font-weight: 400;
|
|
30
|
-
--confirmation-text-font-family: var(--font-family-system);
|
|
31
|
-
--confirmation-text-color: var(--color-light-text-secondary);
|
|
32
|
-
|
|
33
|
-
/* error */
|
|
34
|
-
|
|
35
|
-
/* input */
|
|
36
|
-
}
|
|
37
|
-
.confirmation__component_tecu4 {
|
|
38
|
-
font-size: var(--confirmation-text-font-size);
|
|
39
|
-
line-height: var(--confirmation-text-line-height);
|
|
40
|
-
font-weight: var(--confirmation-text-font-weight);
|
|
41
|
-
font-family: var(--confirmation-text-font-family);
|
|
42
|
-
color: var(--confirmation-text-color);
|
|
43
|
-
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: flex-start;
|
|
47
|
-
margin-top: var(--gap-3xl);
|
|
48
|
-
color: var(--confirmation-text-color);
|
|
49
|
-
}
|
|
50
|
-
.confirmation__hasError_tecu4 .confirmation__getCodeButton_tecu4 {
|
|
51
|
-
margin-top: 0;
|
|
52
|
-
}
|
|
53
|
-
.confirmation__hasError_tecu4 .confirmation__info_tecu4 {
|
|
54
|
-
margin-top: 0;
|
|
55
|
-
}
|
|
56
|
-
.confirmation__hasError_tecu4 .confirmation__customContent_tecu4 {
|
|
57
|
-
margin-bottom: var(--gap-2xl);
|
|
58
|
-
}
|
|
59
|
-
.confirmation__info_tecu4 {
|
|
60
|
-
margin: var(--gap-2xs) 0;
|
|
61
|
-
}
|
|
62
|
-
.confirmation__loaderWrap_tecu4 {
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
margin-bottom: var(--gap-xs);
|
|
66
|
-
}
|
|
67
|
-
.confirmation__loader_tecu4 {
|
|
68
|
-
margin-right: var(--gap-xs);
|
|
69
|
-
}
|
|
70
|
-
.confirmation__center_tecu4 {
|
|
71
|
-
align-items: center
|
|
72
|
-
}
|
|
73
|
-
.confirmation__center_tecu4 .confirmation__loaderWrap_tecu4 {
|
|
74
|
-
justify-content: center;
|
|
75
|
-
}
|
|
76
|
-
.confirmation__timePassed_tecu4 {
|
|
77
|
-
display: flex;
|
|
78
|
-
min-width: 3em;
|
|
79
|
-
}
|
|
80
|
-
.confirmation__getCodeButton_tecu4 {
|
|
81
|
-
margin-top: var(--gap-2xl);
|
|
82
|
-
}
|
|
83
|
-
.confirmation__noAttemptsLeftMessage_tecu4 {
|
|
84
|
-
margin: var(--gap-2xs) 0 var(--gap-xs);
|
|
85
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
require('react');
|
|
4
|
-
require('classnames');
|
|
5
|
-
require('../../../button');
|
|
6
|
-
require('@alfalab/utils');
|
|
7
|
-
require('@alfalab/hooks');
|
|
8
|
-
require('../countdown-loader/component.js');
|
|
9
|
-
var components_countdown_component = require('./component.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.Countdown = components_countdown_component.Countdown;
|
|
14
|
-
exports.formatMsAsMinutes = components_countdown_component.formatMsAsMinutes;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MouseEvent, FC } from 'react';
|
|
2
|
-
type OverlimitProps = {
|
|
3
|
-
duration?: number;
|
|
4
|
-
buttonRetryText: string;
|
|
5
|
-
hasFatalError: boolean;
|
|
6
|
-
title: string;
|
|
7
|
-
text: string;
|
|
8
|
-
onOverlimitCountdownFinished: () => void;
|
|
9
|
-
onOverlimitRepeatSms: (event: MouseEvent) => void;
|
|
10
|
-
};
|
|
11
|
-
declare const Overlimit: FC<OverlimitProps>;
|
|
12
|
-
export { OverlimitProps, Overlimit };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
require('classnames');
|
|
5
|
-
var coreComponentsButton = require('../../../button');
|
|
6
|
-
require('@alfalab/utils');
|
|
7
|
-
require('@alfalab/hooks');
|
|
8
|
-
var components_countdownLoader_component = require('../countdown-loader/component.js');
|
|
9
|
-
var components_countdown_component = require('../countdown/component.js');
|
|
10
|
-
var iconsGlyph = require('@alfalab/icons-glyph');
|
|
11
|
-
|
|
12
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
-
|
|
14
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
|
-
|
|
16
|
-
var styles = {"component":"confirmation__component_1iqq7","title":"confirmation__title_1iqq7","description":"confirmation__description_1iqq7","countdown":"confirmation__countdown_1iqq7","loader":"confirmation__loader_1iqq7","timePassed":"confirmation__timePassed_1iqq7","getCodeButton":"confirmation__getCodeButton_1iqq7","alertIcon":"confirmation__alertIcon_1iqq7"};
|
|
17
|
-
require('./index.css');
|
|
18
|
-
|
|
19
|
-
var Overlimit = function (_a) {
|
|
20
|
-
var _b = _a.duration, duration = _b === void 0 ? 60000 : _b, buttonRetryText = _a.buttonRetryText, hasFatalError = _a.hasFatalError, onOverlimitRepeatSms = _a.onOverlimitRepeatSms, onOverlimitCountdownFinished = _a.onOverlimitCountdownFinished, text = _a.text, title = _a.title;
|
|
21
|
-
var timerId = React.useRef(0);
|
|
22
|
-
var start = React.useRef(0);
|
|
23
|
-
var _c = React.useState(false), isBlockingOver = _c[0], setIsBlockingOver = _c[1];
|
|
24
|
-
var _d = React.useState(0), timePassed = _d[0], setTimePassed = _d[1];
|
|
25
|
-
var stopTimer = React.useCallback(function () {
|
|
26
|
-
window.clearInterval(timerId.current);
|
|
27
|
-
}, []);
|
|
28
|
-
var updateProgress = React.useCallback(function () {
|
|
29
|
-
var passed = Date.now() - start.current;
|
|
30
|
-
if (passed >= duration) {
|
|
31
|
-
setIsBlockingOver(true);
|
|
32
|
-
if (onOverlimitCountdownFinished) {
|
|
33
|
-
onOverlimitCountdownFinished();
|
|
34
|
-
}
|
|
35
|
-
stopTimer();
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
setTimePassed(passed);
|
|
39
|
-
}
|
|
40
|
-
}, [duration, onOverlimitCountdownFinished, stopTimer]);
|
|
41
|
-
var startTimer = React.useCallback(function () {
|
|
42
|
-
start.current = Date.now();
|
|
43
|
-
updateProgress();
|
|
44
|
-
timerId.current = window.setInterval(updateProgress, 50);
|
|
45
|
-
}, [updateProgress]);
|
|
46
|
-
var handleRepeatSmsButtonClick = React.useCallback(function (event) {
|
|
47
|
-
setIsBlockingOver(false);
|
|
48
|
-
if (onOverlimitRepeatSms) {
|
|
49
|
-
onOverlimitRepeatSms(event);
|
|
50
|
-
}
|
|
51
|
-
startTimer();
|
|
52
|
-
}, [onOverlimitRepeatSms, startTimer]);
|
|
53
|
-
React.useEffect(function () {
|
|
54
|
-
startTimer();
|
|
55
|
-
return function () {
|
|
56
|
-
stopTimer();
|
|
57
|
-
};
|
|
58
|
-
}, [startTimer, stopTimer]);
|
|
59
|
-
var progress = timePassed / duration;
|
|
60
|
-
return (React__default['default'].createElement("div", { className: styles.component },
|
|
61
|
-
hasFatalError && (React__default['default'].createElement("div", { className: styles.alertIcon },
|
|
62
|
-
React__default['default'].createElement(iconsGlyph.CrossCircleMIcon, { "data-test-id": 'alert-icon', width: 64, height: 64 }))),
|
|
63
|
-
React__default['default'].createElement("span", { className: styles.title }, title),
|
|
64
|
-
React__default['default'].createElement("div", { className: styles.description },
|
|
65
|
-
React__default['default'].createElement("div", null, text),
|
|
66
|
-
isBlockingOver ? (React__default['default'].createElement(coreComponentsButton.Button, { size: 'xs', view: 'secondary', onClick: handleRepeatSmsButtonClick, className: styles.getCodeButton }, buttonRetryText)) : (React__default['default'].createElement("div", { className: styles.countdown },
|
|
67
|
-
React__default['default'].createElement(components_countdownLoader_component.CountdownLoader, { progress: progress, className: styles.loader }),
|
|
68
|
-
React__default['default'].createElement("div", { className: styles.timePassed }, components_countdown_component.formatMsAsMinutes(duration - timePassed)))))));
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
exports.Overlimit = Overlimit;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
require('react');
|
|
4
|
-
require('classnames');
|
|
5
|
-
require('../../../button');
|
|
6
|
-
require('@alfalab/utils');
|
|
7
|
-
require('@alfalab/hooks');
|
|
8
|
-
require('../countdown-loader/component.js');
|
|
9
|
-
require('../countdown/component.js');
|
|
10
|
-
require('@alfalab/icons-glyph');
|
|
11
|
-
var components_overlimit_component = require('./component.js');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.Overlimit = components_overlimit_component.Overlimit;
|