ncore-ui-kit 1.0.0-pre-alpha.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/LICENSE +20 -0
- package/README.md +2 -0
- package/lib/module/assets/fonts/Geist-Black.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Geist-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Geist-ExtraLight.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Light.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Geist-SemiBold.ttf +0 -0
- package/lib/module/assets/fonts/Geist-Thin.ttf +0 -0
- package/lib/module/assets/svg/badgeAlertIcon/index.js +33 -0
- package/lib/module/assets/svg/badgeAlertIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeDangerIcon/index.js +32 -0
- package/lib/module/assets/svg/badgeDangerIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeInfoIcon/index.js +32 -0
- package/lib/module/assets/svg/badgeInfoIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeQuestionMarkIcon/index.js +40 -0
- package/lib/module/assets/svg/badgeQuestionMarkIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeRightIcon/index.js +32 -0
- package/lib/module/assets/svg/badgeRightIcon/index.js.map +1 -0
- package/lib/module/assets/svg/badgeSuccessIcon/index.js +40 -0
- package/lib/module/assets/svg/badgeSuccessIcon/index.js.map +1 -0
- package/lib/module/assets/svg/chevronRightIcon/index.js +32 -0
- package/lib/module/assets/svg/chevronRightIcon/index.js.map +1 -0
- package/lib/module/assets/svg/cleanIcon/index.js +32 -0
- package/lib/module/assets/svg/cleanIcon/index.js.map +1 -0
- package/lib/module/assets/svg/eyeClosedIcon/index.js +40 -0
- package/lib/module/assets/svg/eyeClosedIcon/index.js.map +1 -0
- package/lib/module/assets/svg/eyeOpenedIcon/index.js +40 -0
- package/lib/module/assets/svg/eyeOpenedIcon/index.js.map +1 -0
- package/lib/module/assets/svg/index.js +13 -0
- package/lib/module/assets/svg/index.js.map +1 -0
- package/lib/module/assets/svg/loadingIcon/index.js +65 -0
- package/lib/module/assets/svg/loadingIcon/index.js.map +1 -0
- package/lib/module/components/bottomSheet/index.js +915 -0
- package/lib/module/components/bottomSheet/index.js.map +1 -0
- package/lib/module/components/bottomSheet/stylesheet.js +26 -0
- package/lib/module/components/bottomSheet/stylesheet.js.map +1 -0
- package/lib/module/components/bottomSheet/type.js +4 -0
- package/lib/module/components/bottomSheet/type.js.map +1 -0
- package/lib/module/components/button/index.js +143 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/button/stylesheet.js +231 -0
- package/lib/module/components/button/stylesheet.js.map +1 -0
- package/lib/module/components/button/type.js +4 -0
- package/lib/module/components/button/type.js.map +1 -0
- package/lib/module/components/checkBox/index.js +186 -0
- package/lib/module/components/checkBox/index.js.map +1 -0
- package/lib/module/components/checkBox/stylesheet.js +182 -0
- package/lib/module/components/checkBox/stylesheet.js.map +1 -0
- package/lib/module/components/checkBox/type.js +4 -0
- package/lib/module/components/checkBox/type.js.map +1 -0
- package/lib/module/components/chip/index.js +131 -0
- package/lib/module/components/chip/index.js.map +1 -0
- package/lib/module/components/chip/stylesheet.js +134 -0
- package/lib/module/components/chip/stylesheet.js.map +1 -0
- package/lib/module/components/chip/type.js +4 -0
- package/lib/module/components/chip/type.js.map +1 -0
- package/lib/module/components/dateSelector/index.js +293 -0
- package/lib/module/components/dateSelector/index.js.map +1 -0
- package/lib/module/components/dateSelector/stylesheet.js +82 -0
- package/lib/module/components/dateSelector/stylesheet.js.map +1 -0
- package/lib/module/components/dateSelector/type.js +7 -0
- package/lib/module/components/dateSelector/type.js.map +1 -0
- package/lib/module/components/dateSelector/util.js +17 -0
- package/lib/module/components/dateSelector/util.js.map +1 -0
- package/lib/module/components/dateTimePicker/index.js +704 -0
- package/lib/module/components/dateTimePicker/index.js.map +1 -0
- package/lib/module/components/dateTimePicker/stylesheet.js +213 -0
- package/lib/module/components/dateTimePicker/stylesheet.js.map +1 -0
- package/lib/module/components/dateTimePicker/type.js +5 -0
- package/lib/module/components/dateTimePicker/type.js.map +1 -0
- package/lib/module/components/dateTimeSheet/index.js +313 -0
- package/lib/module/components/dateTimeSheet/index.js.map +1 -0
- package/lib/module/components/dateTimeSheet/stylesheet.js +88 -0
- package/lib/module/components/dateTimeSheet/stylesheet.js.map +1 -0
- package/lib/module/components/dateTimeSheet/type.js +5 -0
- package/lib/module/components/dateTimeSheet/type.js.map +1 -0
- package/lib/module/components/dialog/index.js +228 -0
- package/lib/module/components/dialog/index.js.map +1 -0
- package/lib/module/components/dialog/stylesheet.js +99 -0
- package/lib/module/components/dialog/stylesheet.js.map +1 -0
- package/lib/module/components/dialog/type.js +5 -0
- package/lib/module/components/dialog/type.js.map +1 -0
- package/lib/module/components/index.js +32 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/loading/index.js +22 -0
- package/lib/module/components/loading/index.js.map +1 -0
- package/lib/module/components/loading/stylesheet.js +10 -0
- package/lib/module/components/loading/stylesheet.js.map +1 -0
- package/lib/module/components/loading/type.js +4 -0
- package/lib/module/components/loading/type.js.map +1 -0
- package/lib/module/components/markdownViewer/constant.js +18 -0
- package/lib/module/components/markdownViewer/constant.js.map +1 -0
- package/lib/module/components/markdownViewer/index.js +368 -0
- package/lib/module/components/markdownViewer/index.js.map +1 -0
- package/lib/module/components/markdownViewer/stylesheet.js +66 -0
- package/lib/module/components/markdownViewer/stylesheet.js.map +1 -0
- package/lib/module/components/markdownViewer/type.js +5 -0
- package/lib/module/components/markdownViewer/type.js.map +1 -0
- package/lib/module/components/markdownViewer/util.js +344 -0
- package/lib/module/components/markdownViewer/util.js.map +1 -0
- package/lib/module/components/modal/index.js +170 -0
- package/lib/module/components/modal/index.js.map +1 -0
- package/lib/module/components/modal/stylesheet.js +36 -0
- package/lib/module/components/modal/stylesheet.js.map +1 -0
- package/lib/module/components/modal/type.js +5 -0
- package/lib/module/components/modal/type.js.map +1 -0
- package/lib/module/components/monthSelector/index.js +284 -0
- package/lib/module/components/monthSelector/index.js.map +1 -0
- package/lib/module/components/monthSelector/stylesheet.js +80 -0
- package/lib/module/components/monthSelector/stylesheet.js.map +1 -0
- package/lib/module/components/monthSelector/type.js +7 -0
- package/lib/module/components/monthSelector/type.js.map +1 -0
- package/lib/module/components/monthSelector/util.js +17 -0
- package/lib/module/components/monthSelector/util.js.map +1 -0
- package/lib/module/components/notificationIndicator/index.js +121 -0
- package/lib/module/components/notificationIndicator/index.js.map +1 -0
- package/lib/module/components/notificationIndicator/stylesheet.js +119 -0
- package/lib/module/components/notificationIndicator/stylesheet.js.map +1 -0
- package/lib/module/components/notificationIndicator/type.js +4 -0
- package/lib/module/components/notificationIndicator/type.js.map +1 -0
- package/lib/module/components/numericInput/index.js +409 -0
- package/lib/module/components/numericInput/index.js.map +1 -0
- package/lib/module/components/numericInput/stylesheet.js +245 -0
- package/lib/module/components/numericInput/stylesheet.js.map +1 -0
- package/lib/module/components/numericInput/type.js +5 -0
- package/lib/module/components/numericInput/type.js.map +1 -0
- package/lib/module/components/pageContainer/index.js +81 -0
- package/lib/module/components/pageContainer/index.js.map +1 -0
- package/lib/module/components/pageContainer/stylesheet.js +13 -0
- package/lib/module/components/pageContainer/stylesheet.js.map +1 -0
- package/lib/module/components/pageContainer/type.js +4 -0
- package/lib/module/components/pageContainer/type.js.map +1 -0
- package/lib/module/components/radioButton/index.js +179 -0
- package/lib/module/components/radioButton/index.js.map +1 -0
- package/lib/module/components/radioButton/stylesheet.js +192 -0
- package/lib/module/components/radioButton/stylesheet.js.map +1 -0
- package/lib/module/components/radioButton/type.js +4 -0
- package/lib/module/components/radioButton/type.js.map +1 -0
- package/lib/module/components/rowCard/index.js +153 -0
- package/lib/module/components/rowCard/index.js.map +1 -0
- package/lib/module/components/rowCard/stylesheet.js +78 -0
- package/lib/module/components/rowCard/stylesheet.js.map +1 -0
- package/lib/module/components/rowCard/type.js +4 -0
- package/lib/module/components/rowCard/type.js.map +1 -0
- package/lib/module/components/selectBox/index.js +612 -0
- package/lib/module/components/selectBox/index.js.map +1 -0
- package/lib/module/components/selectBox/stylesheet.js +216 -0
- package/lib/module/components/selectBox/stylesheet.js.map +1 -0
- package/lib/module/components/selectBox/type.js +5 -0
- package/lib/module/components/selectBox/type.js.map +1 -0
- package/lib/module/components/selectSheet/index.js +285 -0
- package/lib/module/components/selectSheet/index.js.map +1 -0
- package/lib/module/components/selectSheet/stylesheet.js +90 -0
- package/lib/module/components/selectSheet/stylesheet.js.map +1 -0
- package/lib/module/components/selectSheet/type.js +5 -0
- package/lib/module/components/selectSheet/type.js.map +1 -0
- package/lib/module/components/snackBar/index.js +314 -0
- package/lib/module/components/snackBar/index.js.map +1 -0
- package/lib/module/components/snackBar/stylesheet.js +131 -0
- package/lib/module/components/snackBar/stylesheet.js.map +1 -0
- package/lib/module/components/snackBar/type.js +5 -0
- package/lib/module/components/snackBar/type.js.map +1 -0
- package/lib/module/components/stateCard/index.js +101 -0
- package/lib/module/components/stateCard/index.js.map +1 -0
- package/lib/module/components/stateCard/stylesheet.js +96 -0
- package/lib/module/components/stateCard/stylesheet.js.map +1 -0
- package/lib/module/components/stateCard/type.js +4 -0
- package/lib/module/components/stateCard/type.js.map +1 -0
- package/lib/module/components/sticker/index.js +85 -0
- package/lib/module/components/sticker/index.js.map +1 -0
- package/lib/module/components/sticker/stylesheet.js +95 -0
- package/lib/module/components/sticker/stylesheet.js.map +1 -0
- package/lib/module/components/sticker/type.js +4 -0
- package/lib/module/components/sticker/type.js.map +1 -0
- package/lib/module/components/switch/index.js +192 -0
- package/lib/module/components/switch/index.js.map +1 -0
- package/lib/module/components/switch/stylesheet.js +174 -0
- package/lib/module/components/switch/stylesheet.js.map +1 -0
- package/lib/module/components/switch/type.js +4 -0
- package/lib/module/components/switch/type.js.map +1 -0
- package/lib/module/components/text/index.js +29 -0
- package/lib/module/components/text/index.js.map +1 -0
- package/lib/module/components/text/type.js +4 -0
- package/lib/module/components/text/type.js.map +1 -0
- package/lib/module/components/textAreaInput/index.js +367 -0
- package/lib/module/components/textAreaInput/index.js.map +1 -0
- package/lib/module/components/textAreaInput/stylesheet.js +256 -0
- package/lib/module/components/textAreaInput/stylesheet.js.map +1 -0
- package/lib/module/components/textAreaInput/type.js +5 -0
- package/lib/module/components/textAreaInput/type.js.map +1 -0
- package/lib/module/components/textInput/index.js +362 -0
- package/lib/module/components/textInput/index.js.map +1 -0
- package/lib/module/components/textInput/stylesheet.js +245 -0
- package/lib/module/components/textInput/stylesheet.js.map +1 -0
- package/lib/module/components/textInput/type.js +5 -0
- package/lib/module/components/textInput/type.js.map +1 -0
- package/lib/module/components/timeSelector/components/timeInput/index.js +135 -0
- package/lib/module/components/timeSelector/components/timeInput/index.js.map +1 -0
- package/lib/module/components/timeSelector/components/timeInput/stylesheet.js +27 -0
- package/lib/module/components/timeSelector/components/timeInput/stylesheet.js.map +1 -0
- package/lib/module/components/timeSelector/components/timeInput/type.js +5 -0
- package/lib/module/components/timeSelector/components/timeInput/type.js.map +1 -0
- package/lib/module/components/timeSelector/index.js +329 -0
- package/lib/module/components/timeSelector/index.js.map +1 -0
- package/lib/module/components/timeSelector/stylesheet.js +44 -0
- package/lib/module/components/timeSelector/stylesheet.js.map +1 -0
- package/lib/module/components/timeSelector/type.js +5 -0
- package/lib/module/components/timeSelector/type.js.map +1 -0
- package/lib/module/components/toast/index.js +199 -0
- package/lib/module/components/toast/index.js.map +1 -0
- package/lib/module/components/toast/stylesheet.js +124 -0
- package/lib/module/components/toast/stylesheet.js.map +1 -0
- package/lib/module/components/toast/type.js +5 -0
- package/lib/module/components/toast/type.js.map +1 -0
- package/lib/module/components/yearSelector/index.js +278 -0
- package/lib/module/components/yearSelector/index.js.map +1 -0
- package/lib/module/components/yearSelector/stylesheet.js +80 -0
- package/lib/module/components/yearSelector/stylesheet.js.map +1 -0
- package/lib/module/components/yearSelector/type.js +7 -0
- package/lib/module/components/yearSelector/type.js.map +1 -0
- package/lib/module/components/yearSelector/util.js +17 -0
- package/lib/module/components/yearSelector/util.js.map +1 -0
- package/lib/module/context/bottomSheet.js +86 -0
- package/lib/module/context/bottomSheet.js.map +1 -0
- package/lib/module/context/dialog.js +85 -0
- package/lib/module/context/dialog.js.map +1 -0
- package/lib/module/context/index.js +92 -0
- package/lib/module/context/index.js.map +1 -0
- package/lib/module/context/localize.js +143 -0
- package/lib/module/context/localize.js.map +1 -0
- package/lib/module/context/modal.js +82 -0
- package/lib/module/context/modal.js.map +1 -0
- package/lib/module/context/snackBar.js +79 -0
- package/lib/module/context/snackBar.js.map +1 -0
- package/lib/module/context/theme.js +142 -0
- package/lib/module/context/theme.js.map +1 -0
- package/lib/module/context/toast.js +79 -0
- package/lib/module/context/toast.js.map +1 -0
- package/lib/module/core/hooks.js +19 -0
- package/lib/module/core/hooks.js.map +1 -0
- package/lib/module/core/index.js +91 -0
- package/lib/module/core/index.js.map +1 -0
- package/lib/module/helpers/index.js +7 -0
- package/lib/module/helpers/index.js.map +1 -0
- package/lib/module/helpers/locale/index.js +23 -0
- package/lib/module/helpers/locale/index.js.map +1 -0
- package/lib/module/helpers/portalize/Consumer.js +33 -0
- package/lib/module/helpers/portalize/Consumer.js.map +1 -0
- package/lib/module/helpers/portalize/Host.js +73 -0
- package/lib/module/helpers/portalize/Host.js.map +1 -0
- package/lib/module/helpers/portalize/Manager.js +36 -0
- package/lib/module/helpers/portalize/Manager.js.map +1 -0
- package/lib/module/helpers/portalize/Portal.js +18 -0
- package/lib/module/helpers/portalize/Portal.js.map +1 -0
- package/lib/module/helpers/portalize/context/index.js +33 -0
- package/lib/module/helpers/portalize/context/index.js.map +1 -0
- package/lib/module/helpers/portalize/hooks/useKey.js +34 -0
- package/lib/module/helpers/portalize/hooks/useKey.js.map +1 -0
- package/lib/module/helpers/portalize/index.js +7 -0
- package/lib/module/helpers/portalize/index.js.map +1 -0
- package/lib/module/helpers/theme/palette.js +61 -0
- package/lib/module/helpers/theme/palette.js.map +1 -0
- package/lib/module/helpers/theme/shapes.js +79 -0
- package/lib/module/helpers/theme/shapes.js.map +1 -0
- package/lib/module/helpers/theme/typography.js +33 -0
- package/lib/module/helpers/theme/typography.js.map +1 -0
- package/lib/module/index.js +10 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +4 -0
- package/lib/module/types/bottomSheet.js +4 -0
- package/lib/module/types/bottomSheet.js.map +1 -0
- package/lib/module/types/dialog.js +4 -0
- package/lib/module/types/dialog.js.map +1 -0
- package/lib/module/types/icon.js +4 -0
- package/lib/module/types/icon.js.map +1 -0
- package/lib/module/types/index.js +7 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/locale.js +4 -0
- package/lib/module/types/locale.js.map +1 -0
- package/lib/module/types/modal.js +4 -0
- package/lib/module/types/modal.js.map +1 -0
- package/lib/module/types/portalize.js +2 -0
- package/lib/module/types/portalize.js.map +1 -0
- package/lib/module/types/snackBar.js +4 -0
- package/lib/module/types/snackBar.js.map +1 -0
- package/lib/module/types/theme.js +2 -0
- package/lib/module/types/theme.js.map +1 -0
- package/lib/module/types/toast.js +4 -0
- package/lib/module/types/toast.js.map +1 -0
- package/lib/module/utils/index.js +54 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/variants/locales/default.json +208 -0
- package/lib/module/variants/themes/default.json +669 -0
- package/lib/package.json +4 -0
- package/lib/src/assets/svg/badgeAlertIcon/index.js +11 -0
- package/lib/src/assets/svg/badgeDangerIcon/index.js +10 -0
- package/lib/src/assets/svg/badgeInfoIcon/index.js +10 -0
- package/lib/src/assets/svg/badgeQuestionMarkIcon/index.js +11 -0
- package/lib/src/assets/svg/badgeRightIcon/index.js +10 -0
- package/lib/src/assets/svg/badgeSuccessIcon/index.js +11 -0
- package/lib/src/assets/svg/chevronRightIcon/index.js +10 -0
- package/lib/src/assets/svg/cleanIcon/index.js +10 -0
- package/lib/src/assets/svg/eyeClosedIcon/index.js +11 -0
- package/lib/src/assets/svg/eyeOpenedIcon/index.js +11 -0
- package/lib/src/assets/svg/index.js +10 -0
- package/lib/src/assets/svg/loadingIcon/index.js +41 -0
- package/lib/src/components/bottomSheet/index.js +897 -0
- package/lib/src/components/bottomSheet/stylesheet.js +23 -0
- package/lib/src/components/bottomSheet/type.js +1 -0
- package/lib/src/components/button/index.js +107 -0
- package/lib/src/components/button/stylesheet.js +209 -0
- package/lib/src/components/button/type.js +2 -0
- package/lib/src/components/checkBox/index.js +133 -0
- package/lib/src/components/checkBox/stylesheet.js +166 -0
- package/lib/src/components/checkBox/type.js +1 -0
- package/lib/src/components/chip/index.js +84 -0
- package/lib/src/components/chip/stylesheet.js +117 -0
- package/lib/src/components/chip/type.js +1 -0
- package/lib/src/components/dateSelector/index.js +251 -0
- package/lib/src/components/dateSelector/stylesheet.js +74 -0
- package/lib/src/components/dateSelector/type.js +4 -0
- package/lib/src/components/dateSelector/util.js +12 -0
- package/lib/src/components/dateTimePicker/index.js +591 -0
- package/lib/src/components/dateTimePicker/stylesheet.js +198 -0
- package/lib/src/components/dateTimePicker/type.js +3 -0
- package/lib/src/components/dateTimeSheet/index.js +154 -0
- package/lib/src/components/dateTimeSheet/stylesheet.js +81 -0
- package/lib/src/components/dateTimeSheet/type.js +2 -0
- package/lib/src/components/dialog/index.js +166 -0
- package/lib/src/components/dialog/stylesheet.js +90 -0
- package/lib/src/components/dialog/type.js +3 -0
- package/lib/src/components/index.js +29 -0
- package/lib/src/components/loading/index.js +11 -0
- package/lib/src/components/loading/stylesheet.js +7 -0
- package/lib/src/components/loading/type.js +2 -0
- package/lib/src/components/markdownViewer/constant.js +15 -0
- package/lib/src/components/markdownViewer/index.js +237 -0
- package/lib/src/components/markdownViewer/stylesheet.js +59 -0
- package/lib/src/components/markdownViewer/type.js +2 -0
- package/lib/src/components/markdownViewer/util.js +316 -0
- package/lib/src/components/modal/index.js +140 -0
- package/lib/src/components/modal/stylesheet.js +33 -0
- package/lib/src/components/modal/type.js +3 -0
- package/lib/src/components/monthSelector/index.js +271 -0
- package/lib/src/components/monthSelector/stylesheet.js +72 -0
- package/lib/src/components/monthSelector/type.js +4 -0
- package/lib/src/components/monthSelector/util.js +12 -0
- package/lib/src/components/notificationIndicator/index.js +91 -0
- package/lib/src/components/notificationIndicator/stylesheet.js +105 -0
- package/lib/src/components/notificationIndicator/type.js +1 -0
- package/lib/src/components/numericInput/index.js +319 -0
- package/lib/src/components/numericInput/stylesheet.js +230 -0
- package/lib/src/components/numericInput/type.js +3 -0
- package/lib/src/components/pageContainer/index.js +62 -0
- package/lib/src/components/pageContainer/stylesheet.js +10 -0
- package/lib/src/components/pageContainer/type.js +1 -0
- package/lib/src/components/radioButton/index.js +135 -0
- package/lib/src/components/radioButton/stylesheet.js +175 -0
- package/lib/src/components/radioButton/type.js +1 -0
- package/lib/src/components/rowCard/index.js +99 -0
- package/lib/src/components/rowCard/stylesheet.js +71 -0
- package/lib/src/components/rowCard/type.js +1 -0
- package/lib/src/components/selectBox/index.js +501 -0
- package/lib/src/components/selectBox/stylesheet.js +201 -0
- package/lib/src/components/selectBox/type.js +3 -0
- package/lib/src/components/selectSheet/index.js +179 -0
- package/lib/src/components/selectSheet/stylesheet.js +83 -0
- package/lib/src/components/selectSheet/type.js +2 -0
- package/lib/src/components/snackBar/index.js +249 -0
- package/lib/src/components/snackBar/stylesheet.js +118 -0
- package/lib/src/components/snackBar/type.js +3 -0
- package/lib/src/components/stateCard/index.js +69 -0
- package/lib/src/components/stateCard/stylesheet.js +90 -0
- package/lib/src/components/stateCard/type.js +1 -0
- package/lib/src/components/sticker/index.js +54 -0
- package/lib/src/components/sticker/stylesheet.js +83 -0
- package/lib/src/components/sticker/type.js +1 -0
- package/lib/src/components/switch/index.js +149 -0
- package/lib/src/components/switch/stylesheet.js +158 -0
- package/lib/src/components/switch/type.js +1 -0
- package/lib/src/components/text/index.js +15 -0
- package/lib/src/components/text/type.js +2 -0
- package/lib/src/components/textAreaInput/index.js +279 -0
- package/lib/src/components/textAreaInput/stylesheet.js +240 -0
- package/lib/src/components/textAreaInput/type.js +3 -0
- package/lib/src/components/textInput/index.js +273 -0
- package/lib/src/components/textInput/stylesheet.js +230 -0
- package/lib/src/components/textInput/type.js +3 -0
- package/lib/src/components/timeSelector/components/timeInput/index.js +112 -0
- package/lib/src/components/timeSelector/components/timeInput/stylesheet.js +21 -0
- package/lib/src/components/timeSelector/components/timeInput/type.js +2 -0
- package/lib/src/components/timeSelector/index.js +141 -0
- package/lib/src/components/timeSelector/stylesheet.js +37 -0
- package/lib/src/components/timeSelector/type.js +2 -0
- package/lib/src/components/toast/index.js +143 -0
- package/lib/src/components/toast/stylesheet.js +112 -0
- package/lib/src/components/toast/type.js +3 -0
- package/lib/src/components/yearSelector/index.js +269 -0
- package/lib/src/components/yearSelector/stylesheet.js +72 -0
- package/lib/src/components/yearSelector/type.js +4 -0
- package/lib/src/components/yearSelector/util.js +12 -0
- package/lib/src/context/bottomSheet.js +72 -0
- package/lib/src/context/dialog.js +72 -0
- package/lib/src/context/index.js +60 -0
- package/lib/src/context/localize.js +135 -0
- package/lib/src/context/modal.js +70 -0
- package/lib/src/context/snackBar.js +67 -0
- package/lib/src/context/theme.js +127 -0
- package/lib/src/context/toast.js +67 -0
- package/lib/src/core/hooks.js +16 -0
- package/lib/src/core/index.js +85 -0
- package/lib/src/helpers/index.js +4 -0
- package/lib/src/helpers/locale/index.js +20 -0
- package/lib/src/helpers/portalize/Consumer.js +31 -0
- package/lib/src/helpers/portalize/Host.js +55 -0
- package/lib/src/helpers/portalize/Manager.js +25 -0
- package/lib/src/helpers/portalize/Portal.js +7 -0
- package/lib/src/helpers/portalize/context/index.js +33 -0
- package/lib/src/helpers/portalize/hooks/useKey.js +33 -0
- package/lib/src/helpers/portalize/index.js +4 -0
- package/lib/src/helpers/theme/palette.js +63 -0
- package/lib/src/helpers/theme/shapes.js +75 -0
- package/lib/src/helpers/theme/typography.js +28 -0
- package/lib/src/index.js +7 -0
- package/lib/src/types/bottomSheet.js +1 -0
- package/lib/src/types/dialog.js +1 -0
- package/lib/src/types/icon.js +2 -0
- package/lib/src/types/index.js +11 -0
- package/lib/src/types/locale.js +1 -0
- package/lib/src/types/modal.js +1 -0
- package/lib/src/types/portalize.js +1 -0
- package/lib/src/types/snackBar.js +1 -0
- package/lib/src/types/theme.js +1 -0
- package/lib/src/types/toast.js +1 -0
- package/lib/src/utils/index.js +55 -0
- package/lib/src/variants/locales/default.json +208 -0
- package/lib/src/variants/themes/default.json +669 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -0
- package/lib/typescript/package.json +4 -0
- package/lib/typescript/src/assets/svg/badgeAlertIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeAlertIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeDangerIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeDangerIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeInfoIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeInfoIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeQuestionMarkIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeQuestionMarkIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeRightIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeRightIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/badgeSuccessIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/badgeSuccessIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/chevronRightIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/chevronRightIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/cleanIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/cleanIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/eyeClosedIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/eyeClosedIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/eyeOpenedIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/eyeOpenedIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/index.d.ts +11 -0
- package/lib/typescript/src/assets/svg/index.d.ts.map +1 -0
- package/lib/typescript/src/assets/svg/loadingIcon/index.d.ts +4 -0
- package/lib/typescript/src/assets/svg/loadingIcon/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bottomSheet/index.d.ts +5 -0
- package/lib/typescript/src/components/bottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bottomSheet/stylesheet.d.ts +22 -0
- package/lib/typescript/src/components/bottomSheet/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/bottomSheet/type.d.ts +59 -0
- package/lib/typescript/src/components/bottomSheet/type.d.ts.map +1 -0
- package/lib/typescript/src/components/button/index.d.ts +10 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/button/stylesheet.d.ts +51 -0
- package/lib/typescript/src/components/button/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/button/type.d.ts +84 -0
- package/lib/typescript/src/components/button/type.d.ts.map +1 -0
- package/lib/typescript/src/components/checkBox/index.d.ts +5 -0
- package/lib/typescript/src/components/checkBox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/checkBox/stylesheet.d.ts +63 -0
- package/lib/typescript/src/components/checkBox/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/checkBox/type.d.ts +57 -0
- package/lib/typescript/src/components/checkBox/type.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts +5 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/stylesheet.d.ts +48 -0
- package/lib/typescript/src/components/chip/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/type.d.ts +53 -0
- package/lib/typescript/src/components/chip/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/index.d.ts +5 -0
- package/lib/typescript/src/components/dateSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/dateSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/type.d.ts +46 -0
- package/lib/typescript/src/components/dateSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dateSelector/util.d.ts +3 -0
- package/lib/typescript/src/components/dateSelector/util.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimePicker/index.d.ts +5 -0
- package/lib/typescript/src/components/dateTimePicker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimePicker/stylesheet.d.ts +85 -0
- package/lib/typescript/src/components/dateTimePicker/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimePicker/type.d.ts +173 -0
- package/lib/typescript/src/components/dateTimePicker/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimeSheet/index.d.ts +4 -0
- package/lib/typescript/src/components/dateTimeSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimeSheet/stylesheet.d.ts +54 -0
- package/lib/typescript/src/components/dateTimeSheet/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dateTimeSheet/type.d.ts +67 -0
- package/lib/typescript/src/components/dateTimeSheet/type.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts +5 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/stylesheet.d.ts +48 -0
- package/lib/typescript/src/components/dialog/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/type.d.ts +62 -0
- package/lib/typescript/src/components/dialog/type.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +38 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/index.d.ts +5 -0
- package/lib/typescript/src/components/loading/index.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/stylesheet.d.ts +7 -0
- package/lib/typescript/src/components/loading/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/type.d.ts +12 -0
- package/lib/typescript/src/components/loading/type.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/constant.d.ts +3 -0
- package/lib/typescript/src/components/markdownViewer/constant.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/index.d.ts +5 -0
- package/lib/typescript/src/components/markdownViewer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/stylesheet.d.ts +57 -0
- package/lib/typescript/src/components/markdownViewer/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/type.d.ts +57 -0
- package/lib/typescript/src/components/markdownViewer/type.d.ts.map +1 -0
- package/lib/typescript/src/components/markdownViewer/util.d.ts +53 -0
- package/lib/typescript/src/components/markdownViewer/util.d.ts.map +1 -0
- package/lib/typescript/src/components/modal/index.d.ts +5 -0
- package/lib/typescript/src/components/modal/index.d.ts.map +1 -0
- package/lib/typescript/src/components/modal/stylesheet.d.ts +33 -0
- package/lib/typescript/src/components/modal/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/modal/type.d.ts +45 -0
- package/lib/typescript/src/components/modal/type.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/index.d.ts +5 -0
- package/lib/typescript/src/components/monthSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/monthSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/type.d.ts +46 -0
- package/lib/typescript/src/components/monthSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/monthSelector/util.d.ts +3 -0
- package/lib/typescript/src/components/monthSelector/util.d.ts.map +1 -0
- package/lib/typescript/src/components/notificationIndicator/index.d.ts +5 -0
- package/lib/typescript/src/components/notificationIndicator/index.d.ts.map +1 -0
- package/lib/typescript/src/components/notificationIndicator/stylesheet.d.ts +46 -0
- package/lib/typescript/src/components/notificationIndicator/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/notificationIndicator/type.d.ts +52 -0
- package/lib/typescript/src/components/notificationIndicator/type.d.ts.map +1 -0
- package/lib/typescript/src/components/numericInput/index.d.ts +5 -0
- package/lib/typescript/src/components/numericInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/numericInput/stylesheet.d.ts +103 -0
- package/lib/typescript/src/components/numericInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/numericInput/type.d.ts +87 -0
- package/lib/typescript/src/components/numericInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/pageContainer/index.d.ts +5 -0
- package/lib/typescript/src/components/pageContainer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/pageContainer/stylesheet.d.ts +10 -0
- package/lib/typescript/src/components/pageContainer/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/pageContainer/type.d.ts +22 -0
- package/lib/typescript/src/components/pageContainer/type.d.ts.map +1 -0
- package/lib/typescript/src/components/radioButton/index.d.ts +5 -0
- package/lib/typescript/src/components/radioButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/radioButton/stylesheet.d.ts +67 -0
- package/lib/typescript/src/components/radioButton/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/radioButton/type.d.ts +58 -0
- package/lib/typescript/src/components/radioButton/type.d.ts.map +1 -0
- package/lib/typescript/src/components/rowCard/index.d.ts +5 -0
- package/lib/typescript/src/components/rowCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/rowCard/stylesheet.d.ts +45 -0
- package/lib/typescript/src/components/rowCard/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/rowCard/type.d.ts +49 -0
- package/lib/typescript/src/components/rowCard/type.d.ts.map +1 -0
- package/lib/typescript/src/components/selectBox/index.d.ts +4 -0
- package/lib/typescript/src/components/selectBox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/selectBox/stylesheet.d.ts +86 -0
- package/lib/typescript/src/components/selectBox/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/selectBox/type.d.ts +151 -0
- package/lib/typescript/src/components/selectBox/type.d.ts.map +1 -0
- package/lib/typescript/src/components/selectSheet/index.d.ts +4 -0
- package/lib/typescript/src/components/selectSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/selectSheet/stylesheet.d.ts +54 -0
- package/lib/typescript/src/components/selectSheet/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/selectSheet/type.d.ts +80 -0
- package/lib/typescript/src/components/selectSheet/type.d.ts.map +1 -0
- package/lib/typescript/src/components/snackBar/index.d.ts +5 -0
- package/lib/typescript/src/components/snackBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/snackBar/stylesheet.d.ts +50 -0
- package/lib/typescript/src/components/snackBar/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/snackBar/type.d.ts +70 -0
- package/lib/typescript/src/components/snackBar/type.d.ts.map +1 -0
- package/lib/typescript/src/components/stateCard/index.d.ts +5 -0
- package/lib/typescript/src/components/stateCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/stateCard/stylesheet.d.ts +43 -0
- package/lib/typescript/src/components/stateCard/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/stateCard/type.d.ts +35 -0
- package/lib/typescript/src/components/stateCard/type.d.ts.map +1 -0
- package/lib/typescript/src/components/sticker/index.d.ts +5 -0
- package/lib/typescript/src/components/sticker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/sticker/stylesheet.d.ts +34 -0
- package/lib/typescript/src/components/sticker/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/sticker/type.d.ts +45 -0
- package/lib/typescript/src/components/sticker/type.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/index.d.ts +5 -0
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/stylesheet.d.ts +64 -0
- package/lib/typescript/src/components/switch/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/type.d.ts +56 -0
- package/lib/typescript/src/components/switch/type.d.ts.map +1 -0
- package/lib/typescript/src/components/text/index.d.ts +5 -0
- package/lib/typescript/src/components/text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/text/type.d.ts +17 -0
- package/lib/typescript/src/components/text/type.d.ts.map +1 -0
- package/lib/typescript/src/components/textAreaInput/index.d.ts +5 -0
- package/lib/typescript/src/components/textAreaInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textAreaInput/stylesheet.d.ts +113 -0
- package/lib/typescript/src/components/textAreaInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/textAreaInput/type.d.ts +86 -0
- package/lib/typescript/src/components/textAreaInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/textInput/index.d.ts +5 -0
- package/lib/typescript/src/components/textInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textInput/stylesheet.d.ts +104 -0
- package/lib/typescript/src/components/textInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/textInput/type.d.ts +86 -0
- package/lib/typescript/src/components/textInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/index.d.ts +5 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/stylesheet.d.ts +17 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/type.d.ts +32 -0
- package/lib/typescript/src/components/timeSelector/components/timeInput/type.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/index.d.ts +4 -0
- package/lib/typescript/src/components/timeSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/stylesheet.d.ts +27 -0
- package/lib/typescript/src/components/timeSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/timeSelector/type.d.ts +36 -0
- package/lib/typescript/src/components/timeSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/index.d.ts +5 -0
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/toast/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/type.d.ts +64 -0
- package/lib/typescript/src/components/toast/type.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/index.d.ts +5 -0
- package/lib/typescript/src/components/yearSelector/index.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/stylesheet.d.ts +49 -0
- package/lib/typescript/src/components/yearSelector/stylesheet.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/type.d.ts +43 -0
- package/lib/typescript/src/components/yearSelector/type.d.ts.map +1 -0
- package/lib/typescript/src/components/yearSelector/util.d.ts +3 -0
- package/lib/typescript/src/components/yearSelector/util.d.ts.map +1 -0
- package/lib/typescript/src/context/bottomSheet.d.ts +18 -0
- package/lib/typescript/src/context/bottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/context/dialog.d.ts +18 -0
- package/lib/typescript/src/context/dialog.d.ts.map +1 -0
- package/lib/typescript/src/context/index.d.ts +24 -0
- package/lib/typescript/src/context/index.d.ts.map +1 -0
- package/lib/typescript/src/context/localize.d.ts +24 -0
- package/lib/typescript/src/context/localize.d.ts.map +1 -0
- package/lib/typescript/src/context/modal.d.ts +18 -0
- package/lib/typescript/src/context/modal.d.ts.map +1 -0
- package/lib/typescript/src/context/snackBar.d.ts +18 -0
- package/lib/typescript/src/context/snackBar.d.ts.map +1 -0
- package/lib/typescript/src/context/theme.d.ts +32 -0
- package/lib/typescript/src/context/theme.d.ts.map +1 -0
- package/lib/typescript/src/context/toast.d.ts +18 -0
- package/lib/typescript/src/context/toast.d.ts.map +1 -0
- package/lib/typescript/src/core/hooks.d.ts +18 -0
- package/lib/typescript/src/core/hooks.d.ts.map +1 -0
- package/lib/typescript/src/core/index.d.ts +13 -0
- package/lib/typescript/src/core/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/index.d.ts +5 -0
- package/lib/typescript/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/locale/index.d.ts +8 -0
- package/lib/typescript/src/helpers/locale/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Consumer.d.ts +10 -0
- package/lib/typescript/src/helpers/portalize/Consumer.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Host.d.ts +17 -0
- package/lib/typescript/src/helpers/portalize/Host.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Manager.d.ts +10 -0
- package/lib/typescript/src/helpers/portalize/Manager.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/Portal.d.ts +8 -0
- package/lib/typescript/src/helpers/portalize/Portal.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/context/index.d.ts +14 -0
- package/lib/typescript/src/helpers/portalize/context/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/hooks/useKey.d.ts +7 -0
- package/lib/typescript/src/helpers/portalize/hooks/useKey.d.ts.map +1 -0
- package/lib/typescript/src/helpers/portalize/index.d.ts +5 -0
- package/lib/typescript/src/helpers/portalize/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/palette.d.ts +3 -0
- package/lib/typescript/src/helpers/theme/palette.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/shapes.d.ts +33 -0
- package/lib/typescript/src/helpers/theme/shapes.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/typography.d.ts +22 -0
- package/lib/typescript/src/helpers/theme/typography.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +10 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/types/bottomSheet.d.ts +20 -0
- package/lib/typescript/src/types/bottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/types/dialog.d.ts +20 -0
- package/lib/typescript/src/types/dialog.d.ts.map +1 -0
- package/lib/typescript/src/types/icon.d.ts +14 -0
- package/lib/typescript/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +134 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/lib/typescript/src/types/locale.d.ts +17 -0
- package/lib/typescript/src/types/locale.d.ts.map +1 -0
- package/lib/typescript/src/types/modal.d.ts +20 -0
- package/lib/typescript/src/types/modal.d.ts.map +1 -0
- package/lib/typescript/src/types/portalize.d.ts +4 -0
- package/lib/typescript/src/types/portalize.d.ts.map +1 -0
- package/lib/typescript/src/types/snackBar.d.ts +19 -0
- package/lib/typescript/src/types/snackBar.d.ts.map +1 -0
- package/lib/typescript/src/types/theme.d.ts +25 -0
- package/lib/typescript/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/src/types/toast.d.ts +19 -0
- package/lib/typescript/src/types/toast.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +5 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/variants/locales/default.json +208 -0
- package/lib/typescript/src/variants/themes/default.json +669 -0
- package/package.json +213 -0
- package/react-native.config.js +5 -0
- package/src/assets/fonts/Geist-Black.ttf +0 -0
- package/src/assets/fonts/Geist-Bold.ttf +0 -0
- package/src/assets/fonts/Geist-ExtraBold.ttf +0 -0
- package/src/assets/fonts/Geist-ExtraLight.ttf +0 -0
- package/src/assets/fonts/Geist-Light.ttf +0 -0
- package/src/assets/fonts/Geist-Medium.ttf +0 -0
- package/src/assets/fonts/Geist-Regular.ttf +0 -0
- package/src/assets/fonts/Geist-SemiBold.ttf +0 -0
- package/src/assets/fonts/Geist-Thin.ttf +0 -0
- package/src/assets/svg/badgeAlertIcon/index.tsx +42 -0
- package/src/assets/svg/badgeDangerIcon/index.tsx +40 -0
- package/src/assets/svg/badgeInfoIcon/index.tsx +40 -0
- package/src/assets/svg/badgeQuestionMarkIcon/index.tsx +50 -0
- package/src/assets/svg/badgeRightIcon/index.tsx +40 -0
- package/src/assets/svg/badgeSuccessIcon/index.tsx +50 -0
- package/src/assets/svg/chevronRightIcon/index.tsx +40 -0
- package/src/assets/svg/cleanIcon/index.tsx +40 -0
- package/src/assets/svg/eyeClosedIcon/index.tsx +50 -0
- package/src/assets/svg/eyeOpenedIcon/index.tsx +50 -0
- package/src/assets/svg/index.ts +39 -0
- package/src/assets/svg/loadingIcon/index.tsx +95 -0
- package/src/components/bottomSheet/index.tsx +1218 -0
- package/src/components/bottomSheet/stylesheet.ts +28 -0
- package/src/components/bottomSheet/type.ts +68 -0
- package/src/components/button/index.tsx +191 -0
- package/src/components/button/stylesheet.ts +294 -0
- package/src/components/button/type.ts +108 -0
- package/src/components/checkBox/index.tsx +274 -0
- package/src/components/checkBox/stylesheet.ts +223 -0
- package/src/components/checkBox/type.ts +69 -0
- package/src/components/chip/index.tsx +183 -0
- package/src/components/chip/stylesheet.ts +172 -0
- package/src/components/chip/type.ts +68 -0
- package/src/components/dateSelector/index.tsx +434 -0
- package/src/components/dateSelector/stylesheet.ts +92 -0
- package/src/components/dateSelector/type.ts +59 -0
- package/src/components/dateSelector/util.ts +20 -0
- package/src/components/dateTimePicker/index.tsx +977 -0
- package/src/components/dateTimePicker/stylesheet.ts +252 -0
- package/src/components/dateTimePicker/type.ts +214 -0
- package/src/components/dateTimeSheet/index.tsx +418 -0
- package/src/components/dateTimeSheet/stylesheet.ts +99 -0
- package/src/components/dateTimeSheet/type.ts +98 -0
- package/src/components/dialog/index.tsx +336 -0
- package/src/components/dialog/stylesheet.ts +129 -0
- package/src/components/dialog/type.ts +79 -0
- package/src/components/index.ts +163 -0
- package/src/components/loading/index.tsx +26 -0
- package/src/components/loading/stylesheet.ts +10 -0
- package/src/components/loading/type.ts +18 -0
- package/src/components/markdownViewer/constant.ts +19 -0
- package/src/components/markdownViewer/index.tsx +503 -0
- package/src/components/markdownViewer/stylesheet.ts +72 -0
- package/src/components/markdownViewer/type.ts +87 -0
- package/src/components/markdownViewer/util.ts +453 -0
- package/src/components/modal/index.tsx +234 -0
- package/src/components/modal/stylesheet.ts +36 -0
- package/src/components/modal/type.ts +58 -0
- package/src/components/monthSelector/index.tsx +447 -0
- package/src/components/monthSelector/stylesheet.ts +89 -0
- package/src/components/monthSelector/type.ts +59 -0
- package/src/components/monthSelector/util.ts +20 -0
- package/src/components/notificationIndicator/index.tsx +172 -0
- package/src/components/notificationIndicator/stylesheet.ts +154 -0
- package/src/components/notificationIndicator/type.ts +65 -0
- package/src/components/numericInput/index.tsx +617 -0
- package/src/components/numericInput/stylesheet.ts +278 -0
- package/src/components/numericInput/type.ts +109 -0
- package/src/components/pageContainer/index.tsx +119 -0
- package/src/components/pageContainer/stylesheet.ts +13 -0
- package/src/components/pageContainer/type.ts +30 -0
- package/src/components/radioButton/index.tsx +269 -0
- package/src/components/radioButton/stylesheet.ts +233 -0
- package/src/components/radioButton/type.ts +70 -0
- package/src/components/rowCard/index.tsx +231 -0
- package/src/components/rowCard/stylesheet.ts +95 -0
- package/src/components/rowCard/type.ts +59 -0
- package/src/components/selectBox/index.tsx +867 -0
- package/src/components/selectBox/stylesheet.ts +250 -0
- package/src/components/selectBox/type.ts +193 -0
- package/src/components/selectSheet/index.tsx +372 -0
- package/src/components/selectSheet/stylesheet.ts +102 -0
- package/src/components/selectSheet/type.ts +103 -0
- package/src/components/snackBar/index.tsx +430 -0
- package/src/components/snackBar/stylesheet.ts +164 -0
- package/src/components/snackBar/type.ts +85 -0
- package/src/components/stateCard/index.tsx +152 -0
- package/src/components/stateCard/stylesheet.ts +121 -0
- package/src/components/stateCard/type.ts +47 -0
- package/src/components/sticker/index.tsx +123 -0
- package/src/components/sticker/stylesheet.ts +124 -0
- package/src/components/sticker/type.ts +60 -0
- package/src/components/switch/index.tsx +284 -0
- package/src/components/switch/stylesheet.ts +214 -0
- package/src/components/switch/type.ts +68 -0
- package/src/components/text/index.tsx +42 -0
- package/src/components/text/type.ts +25 -0
- package/src/components/textAreaInput/index.tsx +551 -0
- package/src/components/textAreaInput/stylesheet.ts +294 -0
- package/src/components/textAreaInput/type.ts +104 -0
- package/src/components/textInput/index.tsx +555 -0
- package/src/components/textInput/stylesheet.ts +279 -0
- package/src/components/textInput/type.ts +105 -0
- package/src/components/timeSelector/components/timeInput/index.tsx +172 -0
- package/src/components/timeSelector/components/timeInput/stylesheet.ts +38 -0
- package/src/components/timeSelector/components/timeInput/type.ts +47 -0
- package/src/components/timeSelector/index.tsx +433 -0
- package/src/components/timeSelector/stylesheet.ts +59 -0
- package/src/components/timeSelector/type.ts +48 -0
- package/src/components/toast/index.tsx +272 -0
- package/src/components/toast/stylesheet.ts +156 -0
- package/src/components/toast/type.ts +79 -0
- package/src/components/yearSelector/index.tsx +444 -0
- package/src/components/yearSelector/stylesheet.ts +89 -0
- package/src/components/yearSelector/type.ts +55 -0
- package/src/components/yearSelector/util.ts +20 -0
- package/src/context/bottomSheet.tsx +121 -0
- package/src/context/dialog.tsx +120 -0
- package/src/context/index.tsx +110 -0
- package/src/context/localize.tsx +202 -0
- package/src/context/modal.tsx +116 -0
- package/src/context/snackBar.tsx +114 -0
- package/src/context/theme.tsx +217 -0
- package/src/context/toast.tsx +114 -0
- package/src/core/hooks.ts +33 -0
- package/src/core/index.tsx +126 -0
- package/src/helpers/index.ts +20 -0
- package/src/helpers/locale/index.ts +28 -0
- package/src/helpers/portalize/Consumer.tsx +53 -0
- package/src/helpers/portalize/Host.tsx +122 -0
- package/src/helpers/portalize/Manager.tsx +75 -0
- package/src/helpers/portalize/Portal.tsx +30 -0
- package/src/helpers/portalize/context/index.ts +49 -0
- package/src/helpers/portalize/hooks/useKey.ts +49 -0
- package/src/helpers/portalize/index.tsx +15 -0
- package/src/helpers/theme/palette.ts +90 -0
- package/src/helpers/theme/shapes.ts +106 -0
- package/src/helpers/theme/typography.ts +46 -0
- package/src/index.tsx +117 -0
- package/src/types/bottomSheet.ts +23 -0
- package/src/types/dialog.ts +23 -0
- package/src/types/icon.ts +20 -0
- package/src/types/index.ts +217 -0
- package/src/types/locale.ts +30 -0
- package/src/types/modal.ts +25 -0
- package/src/types/portalize.ts +3 -0
- package/src/types/snackBar.ts +24 -0
- package/src/types/theme.ts +30 -0
- package/src/types/toast.ts +24 -0
- package/src/utils/index.ts +65 -0
- package/src/variants/locales/default.json +208 -0
- package/src/variants/themes/default.json +669 -0
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useImperativeHandle, forwardRef, useEffect, useState, useRef } from "react";
|
|
4
|
+
import { TouchableOpacity, View } from "react-native";
|
|
5
|
+
import stylesheet, { getSelectBoxType, useStyles } from "./stylesheet.js";
|
|
6
|
+
import { NCoreUIKitLocalize, NCoreUIKitTheme, NCoreUIKitToast } from "../../core/hooks.js";
|
|
7
|
+
import { BadgeQuestionMarkIcon, BadgeSuccessIcon, BadgeDangerIcon, BadgeAlertIcon, BadgeInfoIcon, CleanIcon } from "../../assets/svg/index.js";
|
|
8
|
+
import { uuid } from "../../utils/index.js";
|
|
9
|
+
import SelectSheet from "../selectSheet/index.js";
|
|
10
|
+
import Text from "../text/index.js";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
const SelectBoxTypeIcon = {
|
|
13
|
+
"question": BadgeQuestionMarkIcon,
|
|
14
|
+
"success": BadgeSuccessIcon,
|
|
15
|
+
"warning": BadgeAlertIcon,
|
|
16
|
+
"danger": BadgeDangerIcon,
|
|
17
|
+
"info": BadgeInfoIcon
|
|
18
|
+
};
|
|
19
|
+
function SelectBox({
|
|
20
|
+
renderLoadingIcon: LoadingIconComponentProp,
|
|
21
|
+
rightIcon: RightIconComponentProp,
|
|
22
|
+
hintTextIcon: HintTextIconProp,
|
|
23
|
+
isShowSelectSheetTools = true,
|
|
24
|
+
spreadBehaviour = "baseline",
|
|
25
|
+
isShowHintTextIcon = false,
|
|
26
|
+
customSelectSheetLocalize,
|
|
27
|
+
isWorkWithRealtime = true,
|
|
28
|
+
isMultipleSelect = false,
|
|
29
|
+
icon: IconComponentProp,
|
|
30
|
+
hintTextContainerStyle,
|
|
31
|
+
removeSelectValidation,
|
|
32
|
+
customSelectSheetTheme,
|
|
33
|
+
isCleanEnabled = false,
|
|
34
|
+
contentContainerStyle,
|
|
35
|
+
subTitle = "Optional",
|
|
36
|
+
initialSelectedItems,
|
|
37
|
+
isSearchable = false,
|
|
38
|
+
onFocus: onFocusProp,
|
|
39
|
+
isRequired = false,
|
|
40
|
+
isDisabled = false,
|
|
41
|
+
onBlur: onBlurProp,
|
|
42
|
+
moreLoadThreshold,
|
|
43
|
+
hintTextIconStyle,
|
|
44
|
+
data: initialData,
|
|
45
|
+
selectSheetProps,
|
|
46
|
+
type = "default",
|
|
47
|
+
rightIconOnPress,
|
|
48
|
+
renderOptionIcon,
|
|
49
|
+
selectValidation,
|
|
50
|
+
customLocalize,
|
|
51
|
+
rightIconStyle,
|
|
52
|
+
isShowSubTitle,
|
|
53
|
+
cleanIconStyle,
|
|
54
|
+
titleExtractor,
|
|
55
|
+
maxChoice = -1,
|
|
56
|
+
keyExtractor,
|
|
57
|
+
contentStyle,
|
|
58
|
+
customTheme,
|
|
59
|
+
placeholder,
|
|
60
|
+
iconOnPress,
|
|
61
|
+
onMoreLoad,
|
|
62
|
+
isOptional,
|
|
63
|
+
renderItem,
|
|
64
|
+
customKey,
|
|
65
|
+
minChoice,
|
|
66
|
+
iconStyle,
|
|
67
|
+
onChange,
|
|
68
|
+
hintText,
|
|
69
|
+
onSearch,
|
|
70
|
+
onCancel,
|
|
71
|
+
style,
|
|
72
|
+
title,
|
|
73
|
+
onOk
|
|
74
|
+
}, ref) {
|
|
75
|
+
const {
|
|
76
|
+
inlineSpaces,
|
|
77
|
+
typography,
|
|
78
|
+
radiuses,
|
|
79
|
+
borders,
|
|
80
|
+
spaces,
|
|
81
|
+
colors
|
|
82
|
+
} = NCoreUIKitTheme.useContext(customTheme);
|
|
83
|
+
const {
|
|
84
|
+
localize
|
|
85
|
+
} = NCoreUIKitLocalize.useContext(customLocalize);
|
|
86
|
+
const bottomSheetRef = useRef(null);
|
|
87
|
+
const selectBoxKey = useRef(customKey ? customKey : uuid());
|
|
88
|
+
const currentType = getSelectBoxType({
|
|
89
|
+
type
|
|
90
|
+
});
|
|
91
|
+
const styleType = type === "default" ? "neutral" : type === "question" ? "neutral" : type === "danger" ? "error" : type;
|
|
92
|
+
const [data, setData] = useState([]);
|
|
93
|
+
const [searchedData, setSearchedData] = useState([]);
|
|
94
|
+
const [isActive, setIsActive] = useState(false);
|
|
95
|
+
const [searchText, setSearchText] = useState("");
|
|
96
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
97
|
+
const [isMoreLoading, setIsMoreLoading] = useState(true);
|
|
98
|
+
const [selectedItems, setSelectedItems] = useState(initialSelectedItems ?? []);
|
|
99
|
+
const [tempSelectedItems, setTempSelectedItems] = useState(initialSelectedItems ?? []);
|
|
100
|
+
const mainSelectedItems = isWorkWithRealtime ? selectedItems : tempSelectedItems;
|
|
101
|
+
const {
|
|
102
|
+
contentContainer: contentContainerDynamicStyle,
|
|
103
|
+
titleContainer: titleContainerDynamicStyle,
|
|
104
|
+
hintTextIcon: hintTextIconDynamicStyle,
|
|
105
|
+
contentText: contentTextDynamicStyle,
|
|
106
|
+
cleanButton: cleanButtonDynamicStyle,
|
|
107
|
+
rightIcon: rightIconDynamicStyle,
|
|
108
|
+
container: containerDynamicStyle,
|
|
109
|
+
hintText: hintTextDynamicStyle,
|
|
110
|
+
required: requiredDynamicStyle,
|
|
111
|
+
subTitle: subTitleDynamicStyle,
|
|
112
|
+
overlay: overlayDynamicStyle,
|
|
113
|
+
content: contentDynamicStyle,
|
|
114
|
+
title: titleDynamicStyle,
|
|
115
|
+
icon: iconDynamicStyle
|
|
116
|
+
} = useStyles({
|
|
117
|
+
icon: IconComponentProp ? true : false,
|
|
118
|
+
spreadBehaviour,
|
|
119
|
+
inlineSpaces,
|
|
120
|
+
isSearchable,
|
|
121
|
+
currentType,
|
|
122
|
+
isDisabled,
|
|
123
|
+
isActive,
|
|
124
|
+
radiuses,
|
|
125
|
+
borders,
|
|
126
|
+
spaces,
|
|
127
|
+
colors,
|
|
128
|
+
title,
|
|
129
|
+
type
|
|
130
|
+
});
|
|
131
|
+
useImperativeHandle(ref, () => ({
|
|
132
|
+
setIsMoreLoading: e => setIsMoreLoading(e),
|
|
133
|
+
setIsLoading: e => setIsLoading(e),
|
|
134
|
+
updateSelections,
|
|
135
|
+
cleanSelections,
|
|
136
|
+
updateData,
|
|
137
|
+
selectAll,
|
|
138
|
+
cleanAll,
|
|
139
|
+
cancel,
|
|
140
|
+
focus,
|
|
141
|
+
blur,
|
|
142
|
+
ok
|
|
143
|
+
}), []);
|
|
144
|
+
useEffect(() => {
|
|
145
|
+
if (isActive) {
|
|
146
|
+
if (onFocus) onFocus();
|
|
147
|
+
} else {
|
|
148
|
+
if (!isWorkWithRealtime) {
|
|
149
|
+
setTempSelectedItems([]);
|
|
150
|
+
}
|
|
151
|
+
setSearchText("");
|
|
152
|
+
setSearchedData([]);
|
|
153
|
+
setIsMoreLoading(false);
|
|
154
|
+
if (onBlur) onBlur();
|
|
155
|
+
}
|
|
156
|
+
}, [isActive]);
|
|
157
|
+
useEffect(() => {
|
|
158
|
+
if (isSearchable && searchText && searchText.length) {
|
|
159
|
+
if (onSearch) {
|
|
160
|
+
const _searchedData = prepareDatas(onSearch({
|
|
161
|
+
selectedItems: mainSelectedItems,
|
|
162
|
+
setIsMoreLoading,
|
|
163
|
+
setIsLoading,
|
|
164
|
+
searchText,
|
|
165
|
+
data
|
|
166
|
+
}), mainSelectedItems);
|
|
167
|
+
setSearchedData(_searchedData);
|
|
168
|
+
} else {
|
|
169
|
+
const _searchedData = data.filter(dI => {
|
|
170
|
+
return dI.__title.toLocaleLowerCase().includes(searchText.toLocaleLowerCase());
|
|
171
|
+
});
|
|
172
|
+
setSearchedData(_searchedData);
|
|
173
|
+
}
|
|
174
|
+
} else if (searchedData && searchedData.length) {
|
|
175
|
+
setSearchedData([]);
|
|
176
|
+
}
|
|
177
|
+
}, [data, searchText]);
|
|
178
|
+
useEffect(() => {
|
|
179
|
+
const initData = prepareDatas(initialData, initialSelectedItems);
|
|
180
|
+
setData(initData);
|
|
181
|
+
}, []);
|
|
182
|
+
useEffect(() => {
|
|
183
|
+
if (onChange) {
|
|
184
|
+
onChange(mainSelectedItems, data, setIsMoreLoading, setIsLoading);
|
|
185
|
+
}
|
|
186
|
+
}, [tempSelectedItems, selectedItems, data]);
|
|
187
|
+
const titleProps = {
|
|
188
|
+
color: currentType.titleColor,
|
|
189
|
+
variant: "bodyLargeSize"
|
|
190
|
+
};
|
|
191
|
+
const iconProps = {
|
|
192
|
+
size: Number(typography.labelLargeSize.fontSize) + 6,
|
|
193
|
+
color: currentType.iconColor
|
|
194
|
+
};
|
|
195
|
+
if (isDisabled) {
|
|
196
|
+
iconProps.color = "disabled";
|
|
197
|
+
}
|
|
198
|
+
const blur = () => {
|
|
199
|
+
setIsActive(false);
|
|
200
|
+
};
|
|
201
|
+
const focus = () => {
|
|
202
|
+
if (!isWorkWithRealtime) {
|
|
203
|
+
setTempSelectedItems(selectedItems);
|
|
204
|
+
}
|
|
205
|
+
setIsActive(true);
|
|
206
|
+
};
|
|
207
|
+
const cancel = () => {
|
|
208
|
+
if (!isWorkWithRealtime) {
|
|
209
|
+
bottomSheetRef.current?.close(() => {
|
|
210
|
+
blur();
|
|
211
|
+
});
|
|
212
|
+
if (onCancel) {
|
|
213
|
+
onCancel(mainSelectedItems, data, setIsMoreLoading, setIsLoading);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
const ok = () => {
|
|
218
|
+
if (!isWorkWithRealtime) {
|
|
219
|
+
setSelectedItems(tempSelectedItems);
|
|
220
|
+
bottomSheetRef.current?.close(() => {
|
|
221
|
+
blur();
|
|
222
|
+
});
|
|
223
|
+
if (onOk) {
|
|
224
|
+
onOk(mainSelectedItems, data, setIsMoreLoading, setIsLoading);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
const cleanSelections = () => {
|
|
229
|
+
setSelectedItems([]);
|
|
230
|
+
if (!isWorkWithRealtime) {
|
|
231
|
+
setTempSelectedItems([]);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
const updateData = (newData, newSelectedItems) => {
|
|
235
|
+
const _newData = newData.map((bIItem, bIIndex) => {
|
|
236
|
+
return {
|
|
237
|
+
...bIItem,
|
|
238
|
+
__title: titleExtractor(bIItem, bIIndex),
|
|
239
|
+
__key: keyExtractor(bIItem, bIIndex)
|
|
240
|
+
};
|
|
241
|
+
});
|
|
242
|
+
setData(_newData);
|
|
243
|
+
const _newSelectedItems = JSON.parse(JSON.stringify(newSelectedItems ? newSelectedItems : mainSelectedItems)).map(sItem => {
|
|
244
|
+
const originalDataIndex = _newData.findIndex(ssItem => ssItem.__key === sItem.__key);
|
|
245
|
+
return {
|
|
246
|
+
__title: _newData[originalDataIndex]?.__title,
|
|
247
|
+
__key: _newData[originalDataIndex]?.__key
|
|
248
|
+
};
|
|
249
|
+
});
|
|
250
|
+
if (isWorkWithRealtime) {
|
|
251
|
+
setSelectedItems(_newSelectedItems);
|
|
252
|
+
} else {
|
|
253
|
+
setTempSelectedItems(_newSelectedItems);
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
const updateSelections = newSelectedItems => {
|
|
257
|
+
const _newSelectedItems = JSON.parse(JSON.stringify(newSelectedItems)).map(sItem => {
|
|
258
|
+
const originalDataIndex = data.findIndex(ssItem => ssItem.__key === sItem.__key);
|
|
259
|
+
return {
|
|
260
|
+
...sItem,
|
|
261
|
+
__title: data[originalDataIndex]?.__title,
|
|
262
|
+
__key: data[originalDataIndex]?.__key
|
|
263
|
+
};
|
|
264
|
+
});
|
|
265
|
+
if (isWorkWithRealtime) {
|
|
266
|
+
setSelectedItems(_newSelectedItems);
|
|
267
|
+
} else {
|
|
268
|
+
setTempSelectedItems(_newSelectedItems);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
const prepareDatas = (items, sItems) => {
|
|
272
|
+
const initData = [];
|
|
273
|
+
if (sItems && sItems.length) {
|
|
274
|
+
sItems.forEach(iS => {
|
|
275
|
+
const dataIndex = items.findIndex((iD, iDI) => keyExtractor(iD, iDI) === iS.__key);
|
|
276
|
+
if (dataIndex === -1) {
|
|
277
|
+
initData.unshift(iS);
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
const finalData = items.map((bIItem, bIIndex) => {
|
|
282
|
+
return {
|
|
283
|
+
...bIItem,
|
|
284
|
+
__title: titleExtractor(bIItem, bIIndex),
|
|
285
|
+
__key: keyExtractor(bIItem, bIIndex)
|
|
286
|
+
};
|
|
287
|
+
});
|
|
288
|
+
return [...initData, ...finalData];
|
|
289
|
+
};
|
|
290
|
+
const selectObject = selectedItem => {
|
|
291
|
+
const isAlreadySelected = mainSelectedItems.findIndex(sItem => sItem.__key === selectedItem.__key);
|
|
292
|
+
let _selectedItems = JSON.parse(JSON.stringify(mainSelectedItems));
|
|
293
|
+
if (isAlreadySelected !== -1) {
|
|
294
|
+
let isProcessPerm = false;
|
|
295
|
+
if (isMultipleSelect) {
|
|
296
|
+
if (minChoice) {
|
|
297
|
+
if (_selectedItems.length > minChoice) {
|
|
298
|
+
isProcessPerm = true;
|
|
299
|
+
}
|
|
300
|
+
} else {
|
|
301
|
+
isProcessPerm = true;
|
|
302
|
+
}
|
|
303
|
+
} else {
|
|
304
|
+
const _minChoice = minChoice === undefined ? 0 : minChoice;
|
|
305
|
+
if (_minChoice > 0) {
|
|
306
|
+
NCoreUIKitToast.open({
|
|
307
|
+
title: localize("minimum-a-item-selection-required")
|
|
308
|
+
});
|
|
309
|
+
} else {
|
|
310
|
+
isProcessPerm = true;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
if (isProcessPerm) {
|
|
314
|
+
if (removeSelectValidation) {
|
|
315
|
+
if (removeSelectValidation(selectedItem)) {
|
|
316
|
+
_selectedItems = _selectedItems.filter(sItem => sItem.__key !== selectedItem.__key);
|
|
317
|
+
}
|
|
318
|
+
} else {
|
|
319
|
+
_selectedItems = _selectedItems.filter(sItem => sItem.__key !== selectedItem.__key);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
} else {
|
|
323
|
+
let isProcessPerm = false;
|
|
324
|
+
if (isMultipleSelect) {
|
|
325
|
+
if (_selectedItems.length < maxChoice || maxChoice === -1) {
|
|
326
|
+
isProcessPerm = true;
|
|
327
|
+
} else {
|
|
328
|
+
NCoreUIKitToast.open({
|
|
329
|
+
title: localize("maximum-selection-limit-has-been-reached")
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
} else {
|
|
333
|
+
_selectedItems = [];
|
|
334
|
+
isProcessPerm = true;
|
|
335
|
+
}
|
|
336
|
+
if (isProcessPerm) {
|
|
337
|
+
if (selectValidation) {
|
|
338
|
+
if (selectValidation(selectedItem)) {
|
|
339
|
+
_selectedItems.push({
|
|
340
|
+
__title: selectedItem.__title,
|
|
341
|
+
__key: selectedItem.__key
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
} else {
|
|
345
|
+
_selectedItems.push({
|
|
346
|
+
__title: selectedItem.__title,
|
|
347
|
+
__key: selectedItem.__key
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
if (isWorkWithRealtime) {
|
|
353
|
+
setSelectedItems(_selectedItems);
|
|
354
|
+
} else {
|
|
355
|
+
setTempSelectedItems(_selectedItems);
|
|
356
|
+
}
|
|
357
|
+
};
|
|
358
|
+
const cleanAll = () => {
|
|
359
|
+
if (minChoice) {
|
|
360
|
+
console.error("minChoice must be 0 or undefined for cleanAll function.");
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
if (isWorkWithRealtime) {
|
|
364
|
+
setSelectedItems([]);
|
|
365
|
+
} else {
|
|
366
|
+
setTempSelectedItems([]);
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
const selectAll = () => {
|
|
370
|
+
if (maxChoice !== -1) {
|
|
371
|
+
console.error("maxChoice must be -1 for selectAll function.");
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
374
|
+
const _selectedItems = JSON.parse(JSON.stringify(mainSelectedItems));
|
|
375
|
+
if (searchText && searchText.length) {
|
|
376
|
+
searchedData.forEach(searchedItem => {
|
|
377
|
+
if (mainSelectedItems.findIndex(sI => sI.__key === searchedItem.__key) === -1) {
|
|
378
|
+
_selectedItems.push({
|
|
379
|
+
__title: searchedItem.__title,
|
|
380
|
+
__key: searchedItem.__key
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
} else {
|
|
385
|
+
data.forEach(dataItem => {
|
|
386
|
+
if (mainSelectedItems.findIndex(sI => sI.__key === dataItem.__key) === -1) {
|
|
387
|
+
_selectedItems.push({
|
|
388
|
+
__title: dataItem.__title,
|
|
389
|
+
__key: dataItem.__key
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
if (isWorkWithRealtime) {
|
|
395
|
+
setSelectedItems(_selectedItems);
|
|
396
|
+
} else {
|
|
397
|
+
setTempSelectedItems(_selectedItems);
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
const onFocus = () => {
|
|
401
|
+
if (onFocusProp) onFocusProp();
|
|
402
|
+
};
|
|
403
|
+
const onBlur = () => {
|
|
404
|
+
if (onBlurProp) onBlurProp();
|
|
405
|
+
};
|
|
406
|
+
const renderCleanButton = () => {
|
|
407
|
+
if (isDisabled) {
|
|
408
|
+
return null;
|
|
409
|
+
}
|
|
410
|
+
if (!isCleanEnabled || !selectedItems.length) {
|
|
411
|
+
return null;
|
|
412
|
+
}
|
|
413
|
+
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
414
|
+
style: [cleanIconStyle, stylesheet.cleanButton, cleanButtonDynamicStyle],
|
|
415
|
+
onPress: () => {
|
|
416
|
+
setSelectedItems([]);
|
|
417
|
+
setTempSelectedItems([]);
|
|
418
|
+
},
|
|
419
|
+
children: /*#__PURE__*/_jsx(CleanIcon, {
|
|
420
|
+
color: "mid",
|
|
421
|
+
size: 20
|
|
422
|
+
})
|
|
423
|
+
});
|
|
424
|
+
};
|
|
425
|
+
const renderIcon = () => {
|
|
426
|
+
if (!IconComponentProp) {
|
|
427
|
+
return null;
|
|
428
|
+
}
|
|
429
|
+
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
430
|
+
onPress: iconOnPress,
|
|
431
|
+
style: [iconStyle, stylesheet.icon, iconDynamicStyle],
|
|
432
|
+
children: /*#__PURE__*/_jsx(IconComponentProp, {
|
|
433
|
+
color: iconProps.color,
|
|
434
|
+
size: iconProps.size
|
|
435
|
+
})
|
|
436
|
+
});
|
|
437
|
+
};
|
|
438
|
+
const renderRightIcon = () => {
|
|
439
|
+
if (!RightIconComponentProp) {
|
|
440
|
+
return null;
|
|
441
|
+
}
|
|
442
|
+
if (isCleanEnabled && selectedItems.length > 0) {
|
|
443
|
+
return null;
|
|
444
|
+
}
|
|
445
|
+
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
446
|
+
onPress: rightIconOnPress,
|
|
447
|
+
style: [rightIconStyle, stylesheet.rightIcon, rightIconDynamicStyle],
|
|
448
|
+
children: /*#__PURE__*/_jsx(RightIconComponentProp, {
|
|
449
|
+
color: iconProps.color,
|
|
450
|
+
size: iconProps.size
|
|
451
|
+
})
|
|
452
|
+
});
|
|
453
|
+
};
|
|
454
|
+
const renderHintIcon = () => {
|
|
455
|
+
if (!isShowHintTextIcon) {
|
|
456
|
+
return null;
|
|
457
|
+
}
|
|
458
|
+
if (HintTextIconProp) {
|
|
459
|
+
return /*#__PURE__*/_jsx(HintTextIconProp, {
|
|
460
|
+
color: isDisabled ? "disabled" : currentType.hintTextIconColor,
|
|
461
|
+
size: 20,
|
|
462
|
+
style: [hintTextIconStyle, stylesheet.hintTextIcon, hintTextIconDynamicStyle]
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
const CurrentHintIcon = SelectBoxTypeIcon[type === "default" ? "question" : type];
|
|
466
|
+
return /*#__PURE__*/_jsx(CurrentHintIcon, {
|
|
467
|
+
customColor: isDisabled ? colors.system.state.content.disabled[styleType] : undefined,
|
|
468
|
+
color: currentType.hintTextIconColor,
|
|
469
|
+
size: 20,
|
|
470
|
+
style: [hintTextIconStyle, stylesheet.hintTextIcon, hintTextIconDynamicStyle]
|
|
471
|
+
});
|
|
472
|
+
};
|
|
473
|
+
const renderHintText = () => {
|
|
474
|
+
if (!hintText) {
|
|
475
|
+
return null;
|
|
476
|
+
}
|
|
477
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
478
|
+
style: [hintTextContainerStyle, stylesheet.hintText, hintTextDynamicStyle],
|
|
479
|
+
children: [renderHintIcon(), /*#__PURE__*/_jsx(Text, {
|
|
480
|
+
customColor: isDisabled ? colors.system.state.content.disabled[styleType] : undefined,
|
|
481
|
+
color: currentType.hintTextColor,
|
|
482
|
+
variant: "labelSmallSize",
|
|
483
|
+
children: hintText
|
|
484
|
+
})]
|
|
485
|
+
});
|
|
486
|
+
};
|
|
487
|
+
const renderRequired = () => {
|
|
488
|
+
if (!isRequired) {
|
|
489
|
+
return null;
|
|
490
|
+
}
|
|
491
|
+
return /*#__PURE__*/_jsx(Text, {
|
|
492
|
+
color: "danger",
|
|
493
|
+
style: [stylesheet.required, requiredDynamicStyle],
|
|
494
|
+
children: "*"
|
|
495
|
+
});
|
|
496
|
+
};
|
|
497
|
+
const renderSubtitle = () => {
|
|
498
|
+
if (!isShowSubTitle && !isOptional) {
|
|
499
|
+
return null;
|
|
500
|
+
}
|
|
501
|
+
return /*#__PURE__*/_jsxs(Text, {
|
|
502
|
+
variant: "labelLargeSize",
|
|
503
|
+
color: titleProps.color,
|
|
504
|
+
ellipsizeMode: "tail",
|
|
505
|
+
numberOfLines: 1,
|
|
506
|
+
style: [stylesheet.subTitle, subTitleDynamicStyle],
|
|
507
|
+
children: ["( ", isOptional ? localize("is-optional") : subTitle, " )"]
|
|
508
|
+
});
|
|
509
|
+
};
|
|
510
|
+
const renderTitle = () => {
|
|
511
|
+
if (!title) {
|
|
512
|
+
return null;
|
|
513
|
+
}
|
|
514
|
+
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
515
|
+
style: [stylesheet.titleContainer, titleContainerDynamicStyle],
|
|
516
|
+
onPress: () => {
|
|
517
|
+
if (!isDisabled) {
|
|
518
|
+
focus();
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
children: [renderRequired(), /*#__PURE__*/_jsx(Text, {
|
|
522
|
+
...titleProps,
|
|
523
|
+
variant: titleProps.variant,
|
|
524
|
+
color: titleProps.color,
|
|
525
|
+
ellipsizeMode: "tail",
|
|
526
|
+
numberOfLines: 1,
|
|
527
|
+
style: [stylesheet.title, titleDynamicStyle],
|
|
528
|
+
children: title
|
|
529
|
+
}), renderSubtitle()]
|
|
530
|
+
});
|
|
531
|
+
};
|
|
532
|
+
const renderValue = () => {
|
|
533
|
+
if (!selectedItems.length) {
|
|
534
|
+
return /*#__PURE__*/_jsx(Text, {
|
|
535
|
+
variant: "labelLargeSize",
|
|
536
|
+
ellipsizeMode: "tail",
|
|
537
|
+
numberOfLines: 1,
|
|
538
|
+
style: [stylesheet.contentText, contentTextDynamicStyle],
|
|
539
|
+
children: placeholder ? placeholder : localize("select-an-option")
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
return /*#__PURE__*/_jsx(Text, {
|
|
543
|
+
variant: "labelLargeSize",
|
|
544
|
+
ellipsizeMode: "tail",
|
|
545
|
+
numberOfLines: 1,
|
|
546
|
+
style: [stylesheet.contentText, contentTextDynamicStyle],
|
|
547
|
+
children: selectedItems.length > 1 ? localize("selected-options-with-count", [selectedItems.length]) : selectedItems[0]?.__title
|
|
548
|
+
});
|
|
549
|
+
};
|
|
550
|
+
const renderContent = () => {
|
|
551
|
+
return /*#__PURE__*/_jsx(View, {
|
|
552
|
+
style: [contentStyle, stylesheet.content, contentDynamicStyle],
|
|
553
|
+
children: renderValue()
|
|
554
|
+
});
|
|
555
|
+
};
|
|
556
|
+
const renderOverlay = () => {
|
|
557
|
+
return /*#__PURE__*/_jsx(View, {
|
|
558
|
+
style: [stylesheet.overlay, overlayDynamicStyle]
|
|
559
|
+
});
|
|
560
|
+
};
|
|
561
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
562
|
+
style: [style, stylesheet.container, containerDynamicStyle],
|
|
563
|
+
children: [renderTitle(), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
564
|
+
disabled: isDisabled,
|
|
565
|
+
style: [contentContainerStyle, stylesheet.contentContainer, contentContainerDynamicStyle],
|
|
566
|
+
onPress: () => {
|
|
567
|
+
if (!isDisabled) {
|
|
568
|
+
focus();
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
children: [renderOverlay(), renderIcon(), renderContent(), renderCleanButton(), renderRightIcon()]
|
|
572
|
+
}), renderHintText(), /*#__PURE__*/_jsx(SelectSheet, {
|
|
573
|
+
LoadingIconComponentProp: LoadingIconComponentProp,
|
|
574
|
+
customLocalize: customSelectSheetLocalize,
|
|
575
|
+
isWorkWithRealtime: isWorkWithRealtime,
|
|
576
|
+
mainSelectedItems: mainSelectedItems,
|
|
577
|
+
moreLoadThreshold: moreLoadThreshold,
|
|
578
|
+
isShowTools: isShowSelectSheetTools,
|
|
579
|
+
customTheme: customSelectSheetTheme,
|
|
580
|
+
isMultipleSelect: isMultipleSelect,
|
|
581
|
+
renderOptionIcon: renderOptionIcon,
|
|
582
|
+
setIsMoreLoading: setIsMoreLoading,
|
|
583
|
+
bottomSheetProps: selectSheetProps,
|
|
584
|
+
selectBoxKey: selectBoxKey.current,
|
|
585
|
+
bottomSheetRef: bottomSheetRef,
|
|
586
|
+
setSearchText: setSearchText,
|
|
587
|
+
isMoreLoading: isMoreLoading,
|
|
588
|
+
searchedData: searchedData,
|
|
589
|
+
isSearchable: isSearchable,
|
|
590
|
+
keyExtractor: keyExtractor,
|
|
591
|
+
selectObject: selectObject,
|
|
592
|
+
setIsLoading: setIsLoading,
|
|
593
|
+
setIsActive: setIsActive,
|
|
594
|
+
searchText: searchText,
|
|
595
|
+
renderItem: renderItem,
|
|
596
|
+
onMoreLoad: onMoreLoad,
|
|
597
|
+
maxChoice: maxChoice,
|
|
598
|
+
minChoice: minChoice,
|
|
599
|
+
isLoading: isLoading,
|
|
600
|
+
selectAll: selectAll,
|
|
601
|
+
cleanAll: cleanAll,
|
|
602
|
+
isActive: isActive,
|
|
603
|
+
cancel: cancel,
|
|
604
|
+
title: title,
|
|
605
|
+
data: data,
|
|
606
|
+
ok: ok
|
|
607
|
+
})]
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
;
|
|
611
|
+
export default /*#__PURE__*/forwardRef(SelectBox);
|
|
612
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useImperativeHandle","forwardRef","useEffect","useState","useRef","TouchableOpacity","View","stylesheet","getSelectBoxType","useStyles","NCoreUIKitLocalize","NCoreUIKitTheme","NCoreUIKitToast","BadgeQuestionMarkIcon","BadgeSuccessIcon","BadgeDangerIcon","BadgeAlertIcon","BadgeInfoIcon","CleanIcon","uuid","SelectSheet","Text","jsx","_jsx","jsxs","_jsxs","SelectBoxTypeIcon","SelectBox","renderLoadingIcon","LoadingIconComponentProp","rightIcon","RightIconComponentProp","hintTextIcon","HintTextIconProp","isShowSelectSheetTools","spreadBehaviour","isShowHintTextIcon","customSelectSheetLocalize","isWorkWithRealtime","isMultipleSelect","icon","IconComponentProp","hintTextContainerStyle","removeSelectValidation","customSelectSheetTheme","isCleanEnabled","contentContainerStyle","subTitle","initialSelectedItems","isSearchable","onFocus","onFocusProp","isRequired","isDisabled","onBlur","onBlurProp","moreLoadThreshold","hintTextIconStyle","data","initialData","selectSheetProps","type","rightIconOnPress","renderOptionIcon","selectValidation","customLocalize","rightIconStyle","isShowSubTitle","cleanIconStyle","titleExtractor","maxChoice","keyExtractor","contentStyle","customTheme","placeholder","iconOnPress","onMoreLoad","isOptional","renderItem","customKey","minChoice","iconStyle","onChange","hintText","onSearch","onCancel","style","title","onOk","ref","inlineSpaces","typography","radiuses","borders","spaces","colors","useContext","localize","bottomSheetRef","selectBoxKey","currentType","styleType","setData","searchedData","setSearchedData","isActive","setIsActive","searchText","setSearchText","isLoading","setIsLoading","isMoreLoading","setIsMoreLoading","selectedItems","setSelectedItems","tempSelectedItems","setTempSelectedItems","mainSelectedItems","contentContainer","contentContainerDynamicStyle","titleContainer","titleContainerDynamicStyle","hintTextIconDynamicStyle","contentText","contentTextDynamicStyle","cleanButton","cleanButtonDynamicStyle","rightIconDynamicStyle","container","containerDynamicStyle","hintTextDynamicStyle","required","requiredDynamicStyle","subTitleDynamicStyle","overlay","overlayDynamicStyle","content","contentDynamicStyle","titleDynamicStyle","iconDynamicStyle","e","updateSelections","cleanSelections","updateData","selectAll","cleanAll","cancel","focus","blur","ok","length","_searchedData","prepareDatas","filter","dI","__title","toLocaleLowerCase","includes","initData","titleProps","color","titleColor","variant","iconProps","size","Number","labelLargeSize","fontSize","iconColor","current","close","newData","newSelectedItems","_newData","map","bIItem","bIIndex","__key","_newSelectedItems","JSON","parse","stringify","sItem","originalDataIndex","findIndex","ssItem","items","sItems","forEach","iS","dataIndex","iD","iDI","unshift","finalData","selectObject","selectedItem","isAlreadySelected","_selectedItems","isProcessPerm","_minChoice","undefined","open","push","console","error","searchedItem","sI","dataItem","renderCleanButton","onPress","children","renderIcon","renderRightIcon","renderHintIcon","hintTextIconColor","CurrentHintIcon","customColor","system","state","disabled","renderHintText","hintTextColor","renderRequired","renderSubtitle","ellipsizeMode","numberOfLines","renderTitle","renderValue","renderContent","renderOverlay","isShowTools","bottomSheetProps"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/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