@originallyus/feedback-rn-sdk 4.0.0-beta.27 → 4.0.0-beta.28
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/README.md +64 -7
- package/lib/module/ContentUsefulness.js +30 -22
- package/lib/module/ContentUsefulness.js.map +1 -1
- package/lib/module/FeedbackSDK.js +97 -25
- package/lib/module/FeedbackSDK.js.map +1 -1
- package/lib/module/FeedbackSDKAppStoreRating.js +42 -13
- package/lib/module/FeedbackSDKAppStoreRating.js.map +1 -1
- package/lib/module/FeedbackSDKForm.js +27 -21
- package/lib/module/FeedbackSDKForm.js.map +1 -1
- package/lib/module/FeedbackSDKSplash.js +18 -15
- package/lib/module/FeedbackSDKSplash.js.map +1 -1
- package/lib/module/component/AIA/atoms/ActivityIndicator/ActivityIndicator.js +1 -1
- package/lib/module/component/AIA/atoms/ActivityIndicator/ActivityIndicator.js.map +1 -1
- package/lib/module/component/AIA/atoms/ActivityIndicator/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ActivityIndicator/styles/index.js +4 -4
- package/lib/module/component/AIA/atoms/ActivityIndicator/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ActivityIndicator/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Badge/Badge.js.map +1 -1
- package/lib/module/component/AIA/atoms/Badge/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Badge/styles/index.js +4 -4
- package/lib/module/component/AIA/atoms/Badge/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Badge/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Breadcrumb/Breadcrumb.js +2 -2
- package/lib/module/component/AIA/atoms/Breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/module/component/AIA/atoms/Breadcrumb/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Breadcrumb/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Breadcrumb/styles/index.js +3 -3
- package/lib/module/component/AIA/atoms/Breadcrumb/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Breadcrumb/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Button/Button.js +45 -20
- package/lib/module/component/AIA/atoms/Button/Button.js.map +1 -1
- package/lib/module/component/AIA/atoms/Button/Readme.md +3 -0
- package/lib/module/component/AIA/atoms/Button/changelog.txt +12 -0
- package/lib/module/component/AIA/atoms/Button/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Button/styles/index.js +21 -6
- package/lib/module/component/AIA/atoms/Button/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Button/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/CardContainer/CardContainer.js +18 -17
- package/lib/module/component/AIA/atoms/CardContainer/CardContainer.js.map +1 -1
- package/lib/module/component/AIA/atoms/CardContainer/README.md +1 -0
- package/lib/module/component/AIA/atoms/CardContainer/changelog.txt +4 -0
- package/lib/module/component/AIA/atoms/CardContainer/config/index.js +4 -4
- package/lib/module/component/AIA/atoms/CardContainer/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/CardContainer/styles/index.js +6 -2
- package/lib/module/component/AIA/atoms/CardContainer/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Carousel/Carousel.js +5 -4
- package/lib/module/component/AIA/atoms/Carousel/Carousel.js.map +1 -1
- package/lib/module/component/AIA/atoms/Carousel/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Carousel/styles/index.js +4 -4
- package/lib/module/component/AIA/atoms/Carousel/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Chip/Chip.js +139 -48
- package/lib/module/component/AIA/atoms/Chip/Chip.js.map +1 -1
- package/lib/module/component/AIA/atoms/Chip/README.md +20 -10
- package/lib/module/component/AIA/atoms/Chip/changelog.txt +10 -0
- package/lib/module/component/AIA/atoms/Chip/config/index.js +6 -10
- package/lib/module/component/AIA/atoms/Chip/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Chip/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Chip/styles/index.js +72 -10
- package/lib/module/component/AIA/atoms/Chip/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Chip/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/DatePicker/DatePicker.js +81 -59
- package/lib/module/component/AIA/atoms/DatePicker/DatePicker.js.map +1 -1
- package/lib/module/component/AIA/atoms/DatePicker/README.md +16 -12
- package/lib/module/component/AIA/atoms/DatePicker/changelog.txt +6 -0
- package/lib/module/component/AIA/atoms/DatePicker/config/index.js +6 -0
- package/lib/module/component/AIA/atoms/DatePicker/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/DatePicker/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/DatePicker/styles/index.js +37 -3
- package/lib/module/component/AIA/atoms/DatePicker/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/DatePicker/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/DialogContainer/DialogContainer.js +0 -1
- package/lib/module/component/AIA/atoms/DialogContainer/DialogContainer.js.map +1 -1
- package/lib/module/component/AIA/atoms/DialogContainer/DialogContainer.stories.tsx.temp +254 -0
- package/lib/module/component/AIA/atoms/DialogContainer/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/DialogContainer/styles/index.js +3 -3
- package/lib/module/component/AIA/atoms/DialogContainer/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Divider/Divider.js +3 -3
- package/lib/module/component/AIA/atoms/Divider/Divider.js.map +1 -1
- package/lib/module/component/AIA/atoms/Divider/config/index.js +4 -4
- package/lib/module/component/AIA/atoms/Divider/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Divider/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Drawer/Drawer.js +24 -6
- package/lib/module/component/AIA/atoms/Drawer/Drawer.js.map +1 -1
- package/lib/module/component/AIA/atoms/Drawer/changelog.txt +4 -0
- package/lib/module/component/AIA/atoms/Drawer/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Drawer/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Drawer/styles/index.js +3 -3
- package/lib/module/component/AIA/atoms/Drawer/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/FloatingButton/FloatingButton.js +0 -1
- package/lib/module/component/AIA/atoms/FloatingButton/FloatingButton.js.map +1 -1
- package/lib/module/component/AIA/atoms/FloatingButton/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/FloatingButton/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/FloatingButton/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Icon/Icon.js +21 -7
- package/lib/module/component/AIA/atoms/Icon/Icon.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icon/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IconButton/IconButton.js.map +1 -1
- package/lib/module/component/AIA/atoms/IconButton/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IconButton/styles/index.js +7 -7
- package/lib/module/component/AIA/atoms/IconButton/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IconButton/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Icons/document-control/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/document-control/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/function/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/function/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/general/index.js +14 -1
- package/lib/module/component/AIA/atoms/Icons/general/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/health-and-wellness/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/health-and-wellness/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/index.js +2 -0
- package/lib/module/component/AIA/atoms/Icons/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/login/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/login/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/media-control/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/media-control/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/menu/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/menu/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/payment/index.js +92 -0
- package/lib/module/component/AIA/atoms/Icons/payment/index.js.map +1 -0
- package/lib/module/component/AIA/atoms/Icons/rating/index.js +14 -1
- package/lib/module/component/AIA/atoms/Icons/rating/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/red-illustrations/index.js +0 -1
- package/lib/module/component/AIA/atoms/Icons/red-illustrations/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/social-media/index.js +14 -1
- package/lib/module/component/AIA/atoms/Icons/social-media/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/system-control/index.js +14 -1
- package/lib/module/component/AIA/atoms/Icons/system-control/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Icons/type/index.js +4 -4
- package/lib/module/component/AIA/atoms/Icons/type/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/account-setup/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/document/index.js +47 -0
- package/lib/module/component/AIA/atoms/IllustrationIcons/document/index.js.map +1 -0
- package/lib/module/component/AIA/atoms/IllustrationIcons/empty-state/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/health-and-wellness/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/index.js +2 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/medical/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/payment/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-agents/index.js +2 -0
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-agents/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-celebration/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-exercise/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-family/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-general/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-lifestyle/index.js +10 -0
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-lifestyle/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/people-medical/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/success-and-reward/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/system/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/IllustrationIcons/type/index.js +4 -2
- package/lib/module/component/AIA/atoms/IllustrationIcons/type/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Image/Image.js.map +1 -1
- package/lib/module/component/AIA/atoms/Image/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Image/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/InlineButton/InlineButton.js.map +1 -1
- package/lib/module/component/AIA/atoms/InlineButton/config/index.js +4 -4
- package/lib/module/component/AIA/atoms/InlineButton/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/InlineButton/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/InlineButton/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Input/Input.js +58 -35
- package/lib/module/component/AIA/atoms/Input/Input.js.map +1 -1
- package/lib/module/component/AIA/atoms/Input/README.md +1 -0
- package/lib/module/component/AIA/atoms/Input/changelog.txt +13 -0
- package/lib/module/component/AIA/atoms/Input/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Input/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Input/styles/index.js +35 -16
- package/lib/module/component/AIA/atoms/Input/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Label/Label.js.map +1 -1
- package/lib/module/component/AIA/atoms/Label/config/index.js +4 -4
- package/lib/module/component/AIA/atoms/Label/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Label/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Label/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/LazyLoad/LazyLoad.js +0 -1
- package/lib/module/component/AIA/atoms/LazyLoad/LazyLoad.js.map +1 -1
- package/lib/module/component/AIA/atoms/LazyLoad/LazyLoadView.js.map +1 -1
- package/lib/module/component/AIA/atoms/LazyLoad/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/MapWrapper/MapWrapper.js +3 -2
- package/lib/module/component/AIA/atoms/MapWrapper/MapWrapper.js.map +1 -1
- package/lib/module/component/AIA/atoms/MapWrapper/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/MapWrapper/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ProgressBar/ProgressBar.js.map +1 -1
- package/lib/module/component/AIA/atoms/ProgressBar/changelog.txt +4 -0
- package/lib/module/component/AIA/atoms/ProgressBar/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ProgressBar/styles/index.js +6 -6
- package/lib/module/component/AIA/atoms/ProgressBar/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ProgressBar/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Rating/README.md +11 -9
- package/lib/module/component/AIA/atoms/Rating/Rating.js +50 -30
- package/lib/module/component/AIA/atoms/Rating/Rating.js.map +1 -1
- package/lib/module/component/AIA/atoms/Rating/changelog.txt +12 -0
- package/lib/module/component/AIA/atoms/Rating/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Rating/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Rating/styles/index.js +15 -4
- package/lib/module/component/AIA/atoms/Rating/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Rating/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/README.md +76 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/SelectionContainer.js +103 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/SelectionContainer.js.map +1 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/changelog.txt +7 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/config/index.js +7 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/config/index.js.map +1 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/index.js +4 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/index.js.map +1 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/package.json +13 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/styles/index.js +18 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/styles/index.js.map +1 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/types/index.js +4 -0
- package/lib/module/component/AIA/atoms/SelectionContainer/types/index.js.map +1 -0
- package/lib/module/component/AIA/atoms/SingleCheckbox/Readme.md +2 -0
- package/lib/module/component/AIA/atoms/SingleCheckbox/SingleCheckbox.js +2 -1
- package/lib/module/component/AIA/atoms/SingleCheckbox/SingleCheckbox.js.map +1 -1
- package/lib/module/component/AIA/atoms/SingleCheckbox/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/SingleCheckbox/styles/index.js +5 -2
- package/lib/module/component/AIA/atoms/SingleCheckbox/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/SingleCheckbox/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/SingleRadio/README.md +1 -0
- package/lib/module/component/AIA/atoms/SingleRadio/SingleRadio.js +2 -1
- package/lib/module/component/AIA/atoms/SingleRadio/SingleRadio.js.map +1 -1
- package/lib/module/component/AIA/atoms/SingleRadio/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/SingleRadio/styles/index.js +5 -2
- package/lib/module/component/AIA/atoms/SingleRadio/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/SingleRadio/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Surface/Surface.js.map +1 -1
- package/lib/module/component/AIA/atoms/Surface/config/index.js +4 -4
- package/lib/module/component/AIA/atoms/Surface/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Surface/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Surface/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Surface/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Switch/Switch.js +1 -1
- package/lib/module/component/AIA/atoms/Switch/Switch.js.map +1 -1
- package/lib/module/component/AIA/atoms/Switch/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Switch/styles/index.js +3 -3
- package/lib/module/component/AIA/atoms/Switch/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Switch/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Tab/Tab.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tab/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tab/styles/index.js +1 -1
- package/lib/module/component/AIA/atoms/Tab/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tab/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Tag/README.md +13 -5
- package/lib/module/component/AIA/atoms/Tag/Tag.js +16 -1
- package/lib/module/component/AIA/atoms/Tag/Tag.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tag/changelog.txt +6 -0
- package/lib/module/component/AIA/atoms/Tag/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tag/styles/index.js +1 -1
- package/lib/module/component/AIA/atoms/Tag/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tag/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Text/README.md +16 -14
- package/lib/module/component/AIA/atoms/Text/Text.js +14 -7
- package/lib/module/component/AIA/atoms/Text/Text.js.map +1 -1
- package/lib/module/component/AIA/atoms/Text/changelog.txt +5 -0
- package/lib/module/component/AIA/atoms/Text/config/index.js +1 -1
- package/lib/module/component/AIA/atoms/Text/config/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Text/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Text/styles/index.js +35 -3
- package/lib/module/component/AIA/atoms/Text/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/TextArea/TextArea.js +1 -1
- package/lib/module/component/AIA/atoms/TextArea/TextArea.js.map +1 -1
- package/lib/module/component/AIA/atoms/TextArea/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/TextArea/styles/index.js +7 -7
- package/lib/module/component/AIA/atoms/TextArea/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/TextArea/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/Toggle/Toggle.js +3 -6
- package/lib/module/component/AIA/atoms/Toggle/Toggle.js.map +1 -1
- package/lib/module/component/AIA/atoms/Toggle/config/index.js +4 -4
- package/lib/module/component/AIA/atoms/Toggle/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Toggle/styles/index.js +1 -1
- package/lib/module/component/AIA/atoms/Toggle/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tooltip/Tooltip.js +0 -1
- package/lib/module/component/AIA/atoms/Tooltip/Tooltip.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tooltip/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tooltip/styles/index.js +5 -5
- package/lib/module/component/AIA/atoms/Tooltip/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/Tooltip/types/react-native-walkthrough-tooltip.d.js +4 -0
- package/lib/module/component/AIA/atoms/Tooltip/types/react-native-walkthrough-tooltip.d.js.map +1 -0
- package/lib/module/component/AIA/atoms/ValueStepper/ValueStepper.js +0 -1
- package/lib/module/component/AIA/atoms/ValueStepper/ValueStepper.js.map +1 -1
- package/lib/module/component/AIA/atoms/ValueStepper/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ValueStepper/styles/index.js +4 -4
- package/lib/module/component/AIA/atoms/ValueStepper/styles/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/ValueStepper/types/index.js +2 -0
- package/lib/module/component/AIA/atoms/index.js +3 -0
- package/lib/module/component/AIA/atoms/index.js.map +1 -1
- package/lib/module/component/AIA/atoms/package.json +3 -3
- package/lib/module/component/AIA/hooks/ChangingRef/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/ChangingRef/useChangingRef.js.map +1 -1
- package/lib/module/component/AIA/hooks/FontConfig/index.js +21 -0
- package/lib/module/component/AIA/hooks/FontConfig/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/I18nTranslation/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/I18nTranslation/useI18nTranslation.js.map +1 -1
- package/lib/module/component/AIA/hooks/ReanimatedTiming/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/ReanimatedTiming/useReanimatedTiming.js +0 -1
- package/lib/module/component/AIA/hooks/ReanimatedTiming/useReanimatedTiming.js.map +1 -1
- package/lib/module/component/AIA/hooks/Size/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/Spacing/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/UnchangeFunction/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/UnchangeFunction/useUnchangeFunction.js +0 -1
- package/lib/module/component/AIA/hooks/UnchangeFunction/useUnchangeFunction.js.map +1 -1
- package/lib/module/component/AIA/hooks/UseFontScale/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/UseFontScale/useFontScale.js.map +1 -1
- package/lib/module/component/AIA/hooks/WindowDimensions/WindowDimensions.js +1 -1
- package/lib/module/component/AIA/hooks/WindowDimensions/WindowDimensions.js.map +1 -1
- package/lib/module/component/AIA/hooks/WindowDimensions/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/package.json +1 -2
- package/lib/module/component/AIA/hooks/useCustomTheme/index.js.map +1 -1
- package/lib/module/component/AIA/hooks/useCustomTheme/useCustomTheme.js +12 -28
- package/lib/module/component/AIA/hooks/useCustomTheme/useCustomTheme.js.map +1 -1
- package/lib/module/component/AIA/icons/changelog.txt +15 -0
- package/lib/module/component/AIA/icons/document-control/index.js.map +1 -1
- package/lib/module/component/AIA/icons/function/index.js.map +1 -1
- package/lib/module/component/AIA/icons/function/log-out.svg +3 -2
- package/lib/module/component/AIA/icons/general/contact-list.svg +4 -0
- package/lib/module/component/AIA/icons/general/exercise-event.svg +1 -1
- package/lib/module/component/AIA/icons/general/expired.svg +2 -2
- package/lib/module/component/AIA/icons/general/folder-bookmark.svg +3 -2
- package/lib/module/component/AIA/icons/general/index.js +7 -0
- package/lib/module/component/AIA/icons/general/index.js.map +1 -1
- package/lib/module/component/AIA/icons/health-and-wellness/food.svg +1 -1
- package/lib/module/component/AIA/icons/health-and-wellness/index.js.map +1 -1
- package/lib/module/component/AIA/icons/index.js.map +1 -1
- package/lib/module/component/AIA/icons/login/index.js.map +1 -1
- package/lib/module/component/AIA/icons/media-control/enlarge-screen-exit.svg +3 -0
- package/lib/module/component/AIA/icons/media-control/enlarge-screen.svg +3 -0
- package/lib/module/component/AIA/icons/media-control/fast-forward.svg +11 -0
- package/lib/module/component/AIA/icons/media-control/index.js +56 -0
- package/lib/module/component/AIA/icons/media-control/index.js.map +1 -1
- package/lib/module/component/AIA/icons/media-control/rewind.svg +18 -0
- package/lib/module/component/AIA/icons/media-control/volume-high.svg +3 -0
- package/lib/module/component/AIA/icons/media-control/volume-low.svg +3 -0
- package/lib/module/component/AIA/icons/media-control/volume-off.svg +3 -0
- package/lib/module/component/AIA/icons/media-control/volume-on.svg +3 -0
- package/lib/module/component/AIA/icons/menu/index.js.map +1 -1
- package/lib/module/component/AIA/icons/package.json +1 -1
- package/lib/module/component/AIA/icons/payment/atm.svg +10 -2
- package/lib/module/component/AIA/icons/payment/index.js.map +1 -1
- package/lib/module/component/AIA/icons/payment/internet-banking.svg +1 -1
- package/lib/module/component/AIA/icons/rating/index.js +14 -0
- package/lib/module/component/AIA/icons/rating/index.js.map +1 -1
- package/lib/module/component/AIA/icons/rating/thumb-down-on.svg +3 -0
- package/lib/module/component/AIA/icons/rating/thumb-down.svg +1 -1
- package/lib/module/component/AIA/icons/rating/thumb-up-on.svg +3 -0
- package/lib/module/component/AIA/icons/rating/thumb-up.svg +1 -1
- package/lib/module/component/AIA/icons/red-illustrations/index.js.map +1 -1
- package/lib/module/component/AIA/icons/social-media/index.js.map +1 -1
- package/lib/module/component/AIA/icons/system-control/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/document-control/index.js +4 -4
- package/lib/module/component/AIA/icons/types/document-control/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/function/index.js +4 -4
- package/lib/module/component/AIA/icons/types/function/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/general/index.js +6 -0
- package/lib/module/component/AIA/icons/types/general/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/health-and-wellness/index.js +4 -4
- package/lib/module/component/AIA/icons/types/health-and-wellness/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/index.js +2 -2
- package/lib/module/component/AIA/icons/types/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/login/index.js +4 -4
- package/lib/module/component/AIA/icons/types/login/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/media-control/index.js +48 -0
- package/lib/module/component/AIA/icons/types/media-control/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/menu/index.js +4 -4
- package/lib/module/component/AIA/icons/types/menu/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/payment/index.js +4 -4
- package/lib/module/component/AIA/icons/types/payment/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/rating/index.js +12 -0
- package/lib/module/component/AIA/icons/types/rating/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/red-illustrations/index.js +4 -4
- package/lib/module/component/AIA/icons/types/red-illustrations/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/social-media/index.js +4 -4
- package/lib/module/component/AIA/icons/types/social-media/index.js.map +1 -1
- package/lib/module/component/AIA/icons/types/system-control/index.js +4 -4
- package/lib/module/component/AIA/icons/types/system-control/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/account-setup/index.js +1 -1
- package/lib/module/component/AIA/illustration/account-setup/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/document/code.svg +7 -0
- package/lib/module/component/AIA/illustration/document/doc.svg +9 -0
- package/lib/module/component/AIA/illustration/document/eml.svg +7 -0
- package/lib/module/component/AIA/illustration/document/imagery.svg +7 -0
- package/lib/module/component/AIA/illustration/document/index.js +100 -0
- package/lib/module/component/AIA/illustration/document/index.js.map +1 -0
- package/lib/module/component/AIA/illustration/document/md.svg +8 -0
- package/lib/module/component/AIA/illustration/document/mdx.svg +9 -0
- package/lib/module/component/AIA/illustration/document/pdf.svg +7 -0
- package/lib/module/component/AIA/illustration/document/ppt.svg +8 -0
- package/lib/module/component/AIA/illustration/document/txt.svg +9 -0
- package/lib/module/component/AIA/illustration/document/xls.svg +12 -0
- package/lib/module/component/AIA/illustration/empty-state/index.js +1 -1
- package/lib/module/component/AIA/illustration/empty-state/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/health-and-wellness/index.js +7 -13
- package/lib/module/component/AIA/illustration/health-and-wellness/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/index.js +2 -0
- package/lib/module/component/AIA/illustration/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/medical/index.js +4 -4
- package/lib/module/component/AIA/illustration/medical/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/package.json +1 -1
- package/lib/module/component/AIA/illustration/payment/index.js +1 -1
- package/lib/module/component/AIA/illustration/payment/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-agents/agent2-dark.svg +20 -0
- package/lib/module/component/AIA/illustration/people-agents/index.js +8 -1
- package/lib/module/component/AIA/illustration/people-agents/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-celebration/index.js +1 -1
- package/lib/module/component/AIA/illustration/people-celebration/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-exercise/index.js +1 -1
- package/lib/module/component/AIA/illustration/people-exercise/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-family/index.js +1 -1
- package/lib/module/component/AIA/illustration/people-family/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-general/index.js +1 -1
- package/lib/module/component/AIA/illustration/people-general/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-lifestyle/index.js +38 -3
- package/lib/module/component/AIA/illustration/people-lifestyle/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/people-medical/index.js +1 -1
- package/lib/module/component/AIA/illustration/people-medical/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/success-and-reward/index.js +1 -1
- package/lib/module/component/AIA/illustration/success-and-reward/index.js.map +1 -1
- package/lib/module/component/AIA/illustration/system/index.js +1 -1
- package/lib/module/component/AIA/illustration/system/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Accordion/Accordion.js.map +1 -1
- package/lib/module/component/AIA/molecules/Accordion/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Accordion/index.js +0 -1
- package/lib/module/component/AIA/molecules/Accordion/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Accordion/styles/index.js +7 -7
- package/lib/module/component/AIA/molecules/Accordion/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/AreaChart/AreaChart.js +28 -2
- package/lib/module/component/AIA/molecules/AreaChart/AreaChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/AreaChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/AreaChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/AreaChart/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/AreaChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/AreaChart/types/react-native-charts-wrapper.d.js +2 -0
- package/lib/module/component/AIA/molecules/AreaChart/types/react-native-charts-wrapper.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/Avatar/Avatar.js +20 -7
- package/lib/module/component/AIA/molecules/Avatar/Avatar.js.map +1 -1
- package/lib/module/component/AIA/molecules/Avatar/changelog.txt +4 -0
- package/lib/module/component/AIA/molecules/Avatar/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Avatar/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Avatar/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Avatar/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/BarChart/BarChart.js +4 -4
- package/lib/module/component/AIA/molecules/BarChart/BarChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/BarChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/BarChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/BarChart/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/BarChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/BarChart/types/react-native-charts-wrapper.d.js +2 -0
- package/lib/module/component/AIA/molecules/BarChart/types/react-native-charts-wrapper.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/BubbleChart/BubbleChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/BubbleChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/BubbleChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/BubbleChart/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/BubbleChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/BubbleChart/types/react-native-charts-wrapper.d.js +2 -0
- package/lib/module/component/AIA/molecules/BubbleChart/types/react-native-charts-wrapper.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/ButtonGroup/ButtonGroup.js +1 -3
- package/lib/module/component/AIA/molecules/ButtonGroup/ButtonGroup.js.map +1 -1
- package/lib/module/component/AIA/molecules/ButtonGroup/config/index.js +4 -4
- package/lib/module/component/AIA/molecules/ButtonGroup/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ButtonGroup/styles/index.js +5 -5
- package/lib/module/component/AIA/molecules/ButtonGroup/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ButtonGroup/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/CheckboxWithContainer.js +22 -11
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/CheckboxWithContainer.js.map +1 -1
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/README.md +1 -0
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/changelog.txt +8 -0
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/styles/index.js +9 -5
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/CheckboxWithContainer/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/CircularButton/CircularButton.js +19 -3
- package/lib/module/component/AIA/molecules/CircularButton/CircularButton.js.map +1 -1
- package/lib/module/component/AIA/molecules/CircularButton/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/CircularButton/styles/index.js +18 -2
- package/lib/module/component/AIA/molecules/CircularButton/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/CircularButton/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/ClaimCard/ClaimCard.js +0 -1
- package/lib/module/component/AIA/molecules/ClaimCard/ClaimCard.js.map +1 -1
- package/lib/module/component/AIA/molecules/ClaimCard/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ClaimCard/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ClaimCard/styles/index.js +7 -7
- package/lib/module/component/AIA/molecules/ClaimCard/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ClaimCard/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/ContentCard/ContentCard.js +0 -1
- package/lib/module/component/AIA/molecules/ContentCard/ContentCard.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentCard/FlexWrapWithGap.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentCard/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentCard/styles/index.js +9 -9
- package/lib/module/component/AIA/molecules/ContentCard/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentFlatCard/ContentFlatCard.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentFlatCard/FlexWrapWithGap.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentFlatCard/config/index.js +4 -4
- package/lib/module/component/AIA/molecules/ContentFlatCard/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ContentFlatCard/styles/index.js +7 -7
- package/lib/module/component/AIA/molecules/ContentFlatCard/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Dialog/Dialog.js +4 -4
- package/lib/module/component/AIA/molecules/Dialog/Dialog.js.map +1 -1
- package/lib/module/component/AIA/molecules/Dialog/Dialog.stories.tsx.temp +371 -0
- package/lib/module/component/AIA/molecules/Dialog/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Dialog/styles/index.js +9 -9
- package/lib/module/component/AIA/molecules/Dialog/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/DonutChart/DonutChart.js +11 -14
- package/lib/module/component/AIA/molecules/DonutChart/DonutChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/DonutChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/DonutChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/DonutChart/styles/index.js +2 -2
- package/lib/module/component/AIA/molecules/DonutChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/EmphasisButton/EmphasisButton.js +136 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/EmphasisButton.js.map +1 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/README.md +20 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/changelog.txt +8 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/config/index.js +12 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/config/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/index.js +4 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/styles/index.js +66 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/styles/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/types/index.js +4 -0
- package/lib/module/component/AIA/molecules/EmphasisButton/types/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/EngagementCard/EngagementCard.js +4 -4
- package/lib/module/component/AIA/molecules/EngagementCard/EngagementCard.js.map +1 -1
- package/lib/module/component/AIA/molecules/EngagementCard/config/index.js +4 -4
- package/lib/module/component/AIA/molecules/EngagementCard/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/EngagementCard/styles/index.js +4 -4
- package/lib/module/component/AIA/molecules/EngagementCard/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/IconText/IconText.js.map +1 -1
- package/lib/module/component/AIA/molecules/IconText/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/IconText/styles/index.js +2 -2
- package/lib/module/component/AIA/molecules/IconText/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/LineChart/LineChart.js +1 -2
- package/lib/module/component/AIA/molecules/LineChart/LineChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/LineChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/LineChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/LineChart/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/LineChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/LineChart/types/react-native-charts-wrapper.d.js +2 -0
- package/lib/module/component/AIA/molecules/LineChart/types/react-native-charts-wrapper.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/ListContainer/ListContainer.js.map +1 -1
- package/lib/module/component/AIA/molecules/ListContainer/config/index.js +4 -4
- package/lib/module/component/AIA/molecules/ListContainer/index.js +0 -1
- package/lib/module/component/AIA/molecules/ListContainer/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ListContainer/styles/index.js +9 -9
- package/lib/module/component/AIA/molecules/ListContainer/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ListItem/ListItem.js +1 -1
- package/lib/module/component/AIA/molecules/ListItem/ListItem.js.map +1 -1
- package/lib/module/component/AIA/molecules/ListItem/index.js +1 -1
- package/lib/module/component/AIA/molecules/ListItem/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ListItem/styles/index.js +2 -2
- package/lib/module/component/AIA/molecules/ListItem/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ListItem/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/MessageBubble/MessageBubble.js +227 -0
- package/lib/module/component/AIA/molecules/MessageBubble/MessageBubble.js.map +1 -0
- package/lib/module/component/AIA/molecules/MessageBubble/README.md +113 -0
- package/lib/module/component/AIA/molecules/MessageBubble/aia-default-avatar.png +0 -0
- package/lib/module/component/AIA/molecules/MessageBubble/changelog.txt +6 -0
- package/lib/module/component/AIA/molecules/MessageBubble/config/index.js +11 -0
- package/lib/module/component/AIA/molecules/MessageBubble/config/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/MessageBubble/index.js +4 -0
- package/lib/module/component/AIA/molecules/MessageBubble/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/MessageBubble/package.json +13 -0
- package/lib/module/component/AIA/molecules/MessageBubble/styles/index.js +72 -0
- package/lib/module/component/AIA/molecules/MessageBubble/styles/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/MessageBubble/types/index.js +4 -0
- package/lib/module/component/AIA/molecules/MessageBubble/types/index.js.map +1 -0
- package/lib/module/component/AIA/molecules/Modal/Effect.js +0 -1
- package/lib/module/component/AIA/molecules/Modal/Effect.js.map +1 -1
- package/lib/module/component/AIA/molecules/Modal/Modal.js +0 -1
- package/lib/module/component/AIA/molecules/Modal/Modal.js.map +1 -1
- package/lib/module/component/AIA/molecules/Modal/Modal.stories1.js +3 -3
- package/lib/module/component/AIA/molecules/Modal/Modal.stories1.js.map +1 -1
- package/lib/module/component/AIA/molecules/Modal/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Modal/styles/index.js +0 -1
- package/lib/module/component/AIA/molecules/Modal/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PageLevelMessage/PageLevelMessage.js +13 -12
- package/lib/module/component/AIA/molecules/PageLevelMessage/PageLevelMessage.js.map +1 -1
- package/lib/module/component/AIA/molecules/PageLevelMessage/README.md +9 -8
- package/lib/module/component/AIA/molecules/PageLevelMessage/changelog.txt +4 -0
- package/lib/module/component/AIA/molecules/PageLevelMessage/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PageLevelMessage/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PageLevelMessage/styles/index.js +6 -8
- package/lib/module/component/AIA/molecules/PageLevelMessage/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PageLevelMessage/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/PieChart/PieChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/PieChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PieChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PieChart/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/PieChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PieChart/types/react-native-charts-wrapper.d.js +2 -0
- package/lib/module/component/AIA/molecules/PieChart/types/react-native-charts-wrapper.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/PolicyCard/PolicyCard.js +10 -5
- package/lib/module/component/AIA/molecules/PolicyCard/PolicyCard.js.map +1 -1
- package/lib/module/component/AIA/molecules/PolicyCard/changelog.txt +4 -0
- package/lib/module/component/AIA/molecules/PolicyCard/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PolicyCard/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/PolicyCard/styles/index.js +14 -11
- package/lib/module/component/AIA/molecules/PolicyCard/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProductCard/FlexWrapWithGap.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProductCard/ProductCard.js +0 -1
- package/lib/module/component/AIA/molecules/ProductCard/ProductCard.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProductCard/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProductCard/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProductCard/styles/index.js +7 -7
- package/lib/module/component/AIA/molecules/ProductCard/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProgressBarWithText/ProgressBarWithText.js +2 -1
- package/lib/module/component/AIA/molecules/ProgressBarWithText/ProgressBarWithText.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProgressBarWithText/README.md +1 -0
- package/lib/module/component/AIA/molecules/ProgressBarWithText/changelog.txt +6 -0
- package/lib/module/component/AIA/molecules/ProgressBarWithText/config/index.js +4 -4
- package/lib/module/component/AIA/molecules/ProgressBarWithText/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/ProgressBarWithText/styles/index.js +4 -4
- package/lib/module/component/AIA/molecules/ProgressBarWithText/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadarChart/RadarChart.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadarChart/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadarChart/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadarChart/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/RadarChart/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadarChart/types/react-native-charts-wrapper.d.js +2 -0
- package/lib/module/component/AIA/molecules/RadarChart/types/react-native-charts-wrapper.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/RadioWithContainer/README.md +1 -0
- package/lib/module/component/AIA/molecules/RadioWithContainer/RadioWithContainer.js +21 -11
- package/lib/module/component/AIA/molecules/RadioWithContainer/RadioWithContainer.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadioWithContainer/changelog.txt +8 -0
- package/lib/module/component/AIA/molecules/RadioWithContainer/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadioWithContainer/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadioWithContainer/styles/index.js +9 -5
- package/lib/module/component/AIA/molecules/RadioWithContainer/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/RadioWithContainer/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/SectionTitle/SectionTitle.js.map +1 -1
- package/lib/module/component/AIA/molecules/SectionTitle/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/SectionTitle/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/SectionTitle/styles/index.js +2 -2
- package/lib/module/component/AIA/molecules/SectionTitle/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Slider/Slider.js +0 -1
- package/lib/module/component/AIA/molecules/Slider/Slider.js.map +1 -1
- package/lib/module/component/AIA/molecules/Slider/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Slider/styles/index.js +9 -9
- package/lib/module/component/AIA/molecules/Slider/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Slider/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/Snackbar/Snackbar.js.map +1 -1
- package/lib/module/component/AIA/molecules/Snackbar/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Snackbar/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Snackbar/types/rn-snackbar-component.d.js +2 -0
- package/lib/module/component/AIA/molecules/Snackbar/types/rn-snackbar-component.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/SystemAlert/SystemAlert.js +2 -2
- package/lib/module/component/AIA/molecules/SystemAlert/SystemAlert.js.map +1 -1
- package/lib/module/component/AIA/molecules/SystemAlert/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/SystemAlert/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/SystemAlert/styles/index.js +14 -14
- package/lib/module/component/AIA/molecules/SystemAlert/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/SystemAlert/types/index.js +2 -0
- package/lib/module/component/AIA/molecules/Tabs/Tabs.js +2 -1
- package/lib/module/component/AIA/molecules/Tabs/Tabs.js.map +1 -1
- package/lib/module/component/AIA/molecules/Tabs/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Tabs/styles/index.js +1 -1
- package/lib/module/component/AIA/molecules/Tabs/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Uploader/README.md +2 -1
- package/lib/module/component/AIA/molecules/Uploader/Uploader.js +78 -27
- package/lib/module/component/AIA/molecules/Uploader/Uploader.js.map +1 -1
- package/lib/module/component/AIA/molecules/Uploader/changelog.txt +21 -0
- package/lib/module/component/AIA/molecules/Uploader/config/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Uploader/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Uploader/styles/index.js +59 -11
- package/lib/module/component/AIA/molecules/Uploader/styles/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Uploader/types/index.js +1 -1
- package/lib/module/component/AIA/molecules/Uploader/types/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/Uploader/types/react-native-actionsheet.d.js +2 -0
- package/lib/module/component/AIA/molecules/Uploader/types/react-native-actionsheet.d.js.map +1 -0
- package/lib/module/component/AIA/molecules/index.js +16 -0
- package/lib/module/component/AIA/molecules/index.js.map +1 -1
- package/lib/module/component/AIA/molecules/package.json +2 -1
- package/lib/module/component/AIA/organisms/Accordions/Accordions.js +2 -3
- package/lib/module/component/AIA/organisms/Accordions/Accordions.js.map +1 -1
- package/lib/module/component/AIA/organisms/Accordions/index.js +0 -1
- package/lib/module/component/AIA/organisms/Accordions/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/Accordions/styles/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/AvatarGroup/AvatarGroup.js +4 -4
- package/lib/module/component/AIA/organisms/AvatarGroup/AvatarGroup.js.map +1 -1
- package/lib/module/component/AIA/organisms/AvatarGroup/changelog.txt +4 -0
- package/lib/module/component/AIA/organisms/AvatarGroup/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/AvatarGroup/styles/index.js +2 -2
- package/lib/module/component/AIA/organisms/AvatarGroup/styles/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/AvatarGroup/types/index.js +2 -0
- package/lib/module/component/AIA/organisms/ChatInput/ChatInput.js +217 -0
- package/lib/module/component/AIA/organisms/ChatInput/ChatInput.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/FilePickerActionSheet.js +90 -0
- package/lib/module/component/AIA/organisms/ChatInput/FilePickerActionSheet.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/FlexWrapWithGap.js +47 -0
- package/lib/module/component/AIA/organisms/ChatInput/FlexWrapWithGap.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/README.md +117 -0
- package/lib/module/component/AIA/organisms/ChatInput/changelog.txt +6 -0
- package/lib/module/component/AIA/organisms/ChatInput/config/index.js +31 -0
- package/lib/module/component/AIA/organisms/ChatInput/config/index.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/filePickerUtils.js +354 -0
- package/lib/module/component/AIA/organisms/ChatInput/filePickerUtils.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/index.js +4 -0
- package/lib/module/component/AIA/organisms/ChatInput/index.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/package.json +13 -0
- package/lib/module/component/AIA/organisms/ChatInput/styles/index.js +69 -0
- package/lib/module/component/AIA/organisms/ChatInput/styles/index.js.map +1 -0
- package/lib/module/component/AIA/organisms/ChatInput/types/index.js +4 -0
- package/lib/module/component/AIA/organisms/ChatInput/types/index.js.map +1 -0
- package/lib/module/component/AIA/organisms/List/List.js +1 -2
- package/lib/module/component/AIA/organisms/List/List.js.map +1 -1
- package/lib/module/component/AIA/organisms/List/config/index.js +4 -4
- package/lib/module/component/AIA/organisms/List/index.js +0 -1
- package/lib/module/component/AIA/organisms/List/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/List/styles/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/ListItemGroup/ListItemGroup.js.map +1 -1
- package/lib/module/component/AIA/organisms/ListItemGroup/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/ListItemGroup/styles/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/SystemAlerts/SystemAlerts.js +1 -1
- package/lib/module/component/AIA/organisms/SystemAlerts/SystemAlerts.js.map +1 -1
- package/lib/module/component/AIA/organisms/SystemAlerts/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/SystemAlerts/styles/index.js +5 -5
- package/lib/module/component/AIA/organisms/SystemAlerts/styles/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/SystemAlerts/types/index.js +2 -0
- package/lib/module/component/AIA/organisms/index.js +2 -0
- package/lib/module/component/AIA/organisms/index.js.map +1 -1
- package/lib/module/component/AIA/organisms/package.json +3 -2
- package/lib/module/component/AIA/styles/aia-digital/border/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-digital/border/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-digital/colors/dark.js +10 -0
- package/lib/module/component/AIA/styles/aia-digital/colors/dark.js.map +1 -1
- package/lib/module/component/AIA/styles/aia-digital/colors/light.js +10 -0
- package/lib/module/component/AIA/styles/aia-digital/colors/light.js.map +1 -1
- package/lib/module/component/AIA/styles/aia-digital/colors/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-digital/colors/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-digital/package.json +1 -1
- package/lib/module/component/AIA/styles/aia-digital/primitiveColorsToken/colors.json +113 -106
- package/lib/module/component/AIA/styles/aia-digital/scss/_border_class.scss +15 -0
- package/lib/module/component/AIA/styles/aia-digital/scss/_colors.scss +9 -2
- package/lib/module/component/AIA/styles/aia-digital/scss/_main.scss +1 -0
- package/lib/module/component/AIA/styles/aia-digital/scss/_theme_dark.scss +10 -0
- package/lib/module/component/AIA/styles/aia-digital/scss/_theme_light.scss +10 -0
- package/lib/module/component/AIA/styles/aia-digital/scss/_typography.scss +70 -0
- package/lib/module/component/AIA/styles/aia-digital/size/componentSize.js +4 -4
- package/lib/module/component/AIA/styles/aia-digital/size/componentSize.js.map +1 -1
- package/lib/module/component/AIA/styles/aia-digital/size/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-digital/size/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-digital/spacing/componentSpacing.js +4 -4
- package/lib/module/component/AIA/styles/aia-digital/spacing/componentSpacing.js.map +1 -1
- package/lib/module/component/AIA/styles/aia-digital/spacing/spacing.js +18 -1
- package/lib/module/component/AIA/styles/aia-digital/spacing/spacing.js.map +1 -1
- package/lib/module/component/AIA/styles/aia-digital/spacing/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-digital/spacing/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/borderRadius.js +11 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/borderRadius.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/borderWidth.js +11 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/borderWidth.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/componentBorderRadius.js +17 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/componentBorderRadius.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/componentBorderWidth.js +8 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/componentBorderWidth.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/index.js +13 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/index.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-hnw/border/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/dark.js +159 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/dark.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/index.js +5 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/index.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/light.js +159 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/light.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-hnw/colors/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/package.json +16 -0
- package/lib/module/component/AIA/styles/aia-hnw/primitiveColorsToken/colors.json +115 -0
- package/lib/module/component/AIA/styles/aia-hnw/primitiveColorsToken/index.js +5 -0
- package/lib/module/component/AIA/styles/aia-hnw/primitiveColorsToken/index.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_border.scss +28 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_border_class.scss +42 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_colors.scss +112 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_main.scss +4 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_size.scss +61 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_spacing.scss +41 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_theme_dark.scss +151 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_theme_light.scss +151 -0
- package/lib/module/component/AIA/styles/aia-hnw/scss/_typography.scss +70 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/componentSize.js +38 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/componentSize.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/index.js +9 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/index.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/size.js +24 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/size.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-hnw/size/types.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/componentSpacing.js +13 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/componentSpacing.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/index.js +9 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/index.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/spacing.js +38 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/spacing.js.map +1 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/types.js +4 -0
- package/lib/module/component/AIA/styles/aia-hnw/spacing/types.js.map +1 -0
- package/lib/module/component/AIA/styles/art/border/types.js +4 -0
- package/lib/module/component/AIA/styles/art/border/types.js.map +1 -0
- package/lib/module/component/AIA/styles/art/colors/dark.js +10 -0
- package/lib/module/component/AIA/styles/art/colors/dark.js.map +1 -1
- package/lib/module/component/AIA/styles/art/colors/light.js +10 -0
- package/lib/module/component/AIA/styles/art/colors/light.js.map +1 -1
- package/lib/module/component/AIA/styles/art/colors/types.js +4 -0
- package/lib/module/component/AIA/styles/art/colors/types.js.map +1 -0
- package/lib/module/component/AIA/styles/art/package.json +1 -1
- package/lib/module/component/AIA/styles/art/primitiveColorsToken/colors.json +144 -137
- package/lib/module/component/AIA/styles/art/scss/_border_class.scss +15 -0
- package/lib/module/component/AIA/styles/art/scss/_colors.scss +8 -1
- package/lib/module/component/AIA/styles/art/scss/_main.scss +1 -0
- package/lib/module/component/AIA/styles/art/scss/_theme_dark.scss +10 -0
- package/lib/module/component/AIA/styles/art/scss/_theme_light.scss +10 -0
- package/lib/module/component/AIA/styles/art/scss/_typography.scss +70 -0
- package/lib/module/component/AIA/styles/art/size/componentSize.js +4 -4
- package/lib/module/component/AIA/styles/art/size/componentSize.js.map +1 -1
- package/lib/module/component/AIA/styles/art/size/types.js +4 -0
- package/lib/module/component/AIA/styles/art/size/types.js.map +1 -0
- package/lib/module/component/AIA/styles/art/spacing/componentSpacing.js +4 -4
- package/lib/module/component/AIA/styles/art/spacing/componentSpacing.js.map +1 -1
- package/lib/module/component/AIA/styles/art/spacing/spacing.js +18 -1
- package/lib/module/component/AIA/styles/art/spacing/spacing.js.map +1 -1
- package/lib/module/component/AIA/styles/art/spacing/types.js +4 -0
- package/lib/module/component/AIA/styles/art/spacing/types.js.map +1 -0
- package/lib/module/component/AIA/styles/brand-x/border/types.js +4 -0
- package/lib/module/component/AIA/styles/brand-x/border/types.js.map +1 -0
- package/lib/module/component/AIA/styles/brand-x/colors/dark.js +10 -0
- package/lib/module/component/AIA/styles/brand-x/colors/dark.js.map +1 -1
- package/lib/module/component/AIA/styles/brand-x/colors/light.js +10 -0
- package/lib/module/component/AIA/styles/brand-x/colors/light.js.map +1 -1
- package/lib/module/component/AIA/styles/brand-x/colors/types.js +4 -0
- package/lib/module/component/AIA/styles/brand-x/colors/types.js.map +1 -0
- package/lib/module/component/AIA/styles/brand-x/package.json +1 -1
- package/lib/module/component/AIA/styles/brand-x/primitiveColorsToken/colors.json +8 -1
- package/lib/module/component/AIA/styles/brand-x/scss/_border_class.scss +15 -0
- package/lib/module/component/AIA/styles/brand-x/scss/_colors.scss +8 -1
- package/lib/module/component/AIA/styles/brand-x/scss/_main.scss +1 -0
- package/lib/module/component/AIA/styles/brand-x/scss/_theme_dark.scss +10 -0
- package/lib/module/component/AIA/styles/brand-x/scss/_theme_light.scss +10 -0
- package/lib/module/component/AIA/styles/brand-x/scss/_typography.scss +70 -0
- package/lib/module/component/AIA/styles/brand-x/size/componentSize.js +4 -4
- package/lib/module/component/AIA/styles/brand-x/size/componentSize.js.map +1 -1
- package/lib/module/component/AIA/styles/brand-x/size/types.js +4 -0
- package/lib/module/component/AIA/styles/brand-x/size/types.js.map +1 -0
- package/lib/module/component/AIA/styles/brand-x/spacing/componentSpacing.js +4 -4
- package/lib/module/component/AIA/styles/brand-x/spacing/componentSpacing.js.map +1 -1
- package/lib/module/component/AIA/styles/brand-x/spacing/spacing.js +18 -1
- package/lib/module/component/AIA/styles/brand-x/spacing/spacing.js.map +1 -1
- package/lib/module/component/AIA/styles/brand-x/spacing/types.js +4 -0
- package/lib/module/component/AIA/styles/brand-x/spacing/types.js.map +1 -0
- package/lib/module/component/AIA/styles/cfs/border/types.js +4 -0
- package/lib/module/component/AIA/styles/cfs/border/types.js.map +1 -0
- package/lib/module/component/AIA/styles/cfs/colors/dark.js +10 -0
- package/lib/module/component/AIA/styles/cfs/colors/dark.js.map +1 -1
- package/lib/module/component/AIA/styles/cfs/colors/index.js +2 -0
- package/lib/module/component/AIA/styles/cfs/colors/index.js.map +1 -1
- package/lib/module/component/AIA/styles/cfs/colors/light.js +10 -0
- package/lib/module/component/AIA/styles/cfs/colors/light.js.map +1 -1
- package/lib/module/component/AIA/styles/cfs/colors/types.js +4 -0
- package/lib/module/component/AIA/styles/cfs/colors/types.js.map +1 -0
- package/lib/module/component/AIA/styles/cfs/package.json +1 -1
- package/lib/module/component/AIA/styles/cfs/primitiveColorsToken/colors.json +142 -135
- package/lib/module/component/AIA/styles/cfs/scss/_border_class.scss +15 -0
- package/lib/module/component/AIA/styles/cfs/scss/_colors.scss +8 -1
- package/lib/module/component/AIA/styles/cfs/scss/_main.scss +1 -0
- package/lib/module/component/AIA/styles/cfs/scss/_theme_dark.scss +10 -0
- package/lib/module/component/AIA/styles/cfs/scss/_theme_light.scss +10 -0
- package/lib/module/component/AIA/styles/cfs/scss/_typography.scss +70 -0
- package/lib/module/component/AIA/styles/cfs/size/componentSize.js +4 -4
- package/lib/module/component/AIA/styles/cfs/size/componentSize.js.map +1 -1
- package/lib/module/component/AIA/styles/cfs/size/types.js +4 -0
- package/lib/module/component/AIA/styles/cfs/size/types.js.map +1 -0
- package/lib/module/component/AIA/styles/cfs/spacing/componentSpacing.js +4 -4
- package/lib/module/component/AIA/styles/cfs/spacing/componentSpacing.js.map +1 -1
- package/lib/module/component/AIA/styles/cfs/spacing/spacing.js +18 -1
- package/lib/module/component/AIA/styles/cfs/spacing/spacing.js.map +1 -1
- package/lib/module/component/AIA/styles/cfs/spacing/types.js +4 -0
- package/lib/module/component/AIA/styles/cfs/spacing/types.js.map +1 -0
- package/lib/module/component/AIA/styles/changelog.txt +14 -0
- package/lib/module/component/AIA/styles/generate-types.sh +161 -0
- package/lib/module/component/AIA/styles/hesta/border/types.js +4 -0
- package/lib/module/component/AIA/styles/hesta/border/types.js.map +1 -0
- package/lib/module/component/AIA/styles/hesta/colors/dark.js +10 -0
- package/lib/module/component/AIA/styles/hesta/colors/dark.js.map +1 -1
- package/lib/module/component/AIA/styles/hesta/colors/light.js +10 -0
- package/lib/module/component/AIA/styles/hesta/colors/light.js.map +1 -1
- package/lib/module/component/AIA/styles/hesta/colors/types.js +4 -0
- package/lib/module/component/AIA/styles/hesta/colors/types.js.map +1 -0
- package/lib/module/component/AIA/styles/hesta/package.json +1 -1
- package/lib/module/component/AIA/styles/hesta/primitiveColorsToken/colors.json +144 -137
- package/lib/module/component/AIA/styles/hesta/scss/_border_class.scss +15 -0
- package/lib/module/component/AIA/styles/hesta/scss/_colors.scss +8 -1
- package/lib/module/component/AIA/styles/hesta/scss/_main.scss +1 -0
- package/lib/module/component/AIA/styles/hesta/scss/_theme_dark.scss +10 -0
- package/lib/module/component/AIA/styles/hesta/scss/_theme_light.scss +10 -0
- package/lib/module/component/AIA/styles/hesta/scss/_typography.scss +70 -0
- package/lib/module/component/AIA/styles/hesta/size/componentSize.js +4 -4
- package/lib/module/component/AIA/styles/hesta/size/componentSize.js.map +1 -1
- package/lib/module/component/AIA/styles/hesta/size/types.js +4 -0
- package/lib/module/component/AIA/styles/hesta/size/types.js.map +1 -0
- package/lib/module/component/AIA/styles/hesta/spacing/componentSpacing.js +4 -4
- package/lib/module/component/AIA/styles/hesta/spacing/componentSpacing.js.map +1 -1
- package/lib/module/component/AIA/styles/hesta/spacing/spacing.js +18 -1
- package/lib/module/component/AIA/styles/hesta/spacing/spacing.js.map +1 -1
- package/lib/module/component/AIA/styles/hesta/spacing/types.js +4 -0
- package/lib/module/component/AIA/styles/hesta/spacing/types.js.map +1 -0
- package/lib/module/component/AIA/styles/package.json +1 -1
- package/lib/module/component/AIA/utils/Accessibility/index.js.map +1 -1
- package/lib/module/component/AIA/utils/ConvertStringToCamelCase/ConvertStringToCamelCase.js.map +1 -1
- package/lib/module/component/AIA/utils/ConvertStringToCamelCase/index.js.map +1 -1
- package/lib/module/component/AIA/utils/DateTime/DateTime.js +3 -5
- package/lib/module/component/AIA/utils/DateTime/DateTime.js.map +1 -1
- package/lib/module/component/AIA/utils/DateTime/config/index.js +4 -0
- package/lib/module/component/AIA/utils/DateTime/config/index.js.map +1 -1
- package/lib/module/component/AIA/utils/DateTime/index.js.map +1 -1
- package/lib/module/component/AIA/utils/File/File.js +21 -10
- package/lib/module/component/AIA/utils/File/File.js.map +1 -1
- package/lib/module/component/AIA/utils/File/index.js.map +1 -1
- package/lib/module/component/AIA/utils/FlexWrapWithGap/index.js +54 -0
- package/lib/module/component/AIA/utils/FlexWrapWithGap/index.js.map +1 -0
- package/lib/module/component/AIA/utils/LazyLoading/LazyLoading.js +2 -1
- package/lib/module/component/AIA/utils/LazyLoading/LazyLoading.js.map +1 -1
- package/lib/module/component/AIA/utils/LazyLoading/styles/index.js.map +1 -1
- package/lib/module/component/AIA/utils/NumberString/NumberString.js.map +1 -1
- package/lib/module/component/AIA/utils/NumberString/index.js.map +1 -1
- package/lib/module/component/AIA/utils/index.js.map +1 -1
- package/lib/module/component/AIA/utils/package.json +5 -3
- package/lib/module/component/forms/CommentForm.js +1 -1
- package/lib/module/component/forms/CommentForm.js.map +1 -1
- package/lib/module/component/forms/EffortForm.js +3 -2
- package/lib/module/component/forms/EffortForm.js.map +1 -1
- package/lib/module/component/forms/ExternalForm.js +15 -4
- package/lib/module/component/forms/ExternalForm.js.map +1 -1
- package/lib/module/component/forms/NPSForm.js +6 -5
- package/lib/module/component/forms/NPSForm.js.map +1 -1
- package/lib/module/component/forms/PollForm.js +6 -4
- package/lib/module/component/forms/PollForm.js.map +1 -1
- package/lib/module/component/forms/PromptForm.js +1 -1
- package/lib/module/component/forms/PromptForm.js.map +1 -1
- package/lib/module/component/forms/SatisfactionForm.js +4 -3
- package/lib/module/component/forms/SatisfactionForm.js.map +1 -1
- package/lib/module/theme.js +25 -0
- package/lib/module/theme.js.map +1 -0
- package/lib/module/types/atoms-mock.js +5 -0
- package/lib/module/types/atoms-mock.js.map +1 -0
- package/lib/module/utils/constants.js +2 -1
- package/lib/module/utils/constants.js.map +1 -1
- package/lib/module/utils/networking.js +3 -3
- package/lib/module/utils/networking.js.map +1 -1
- package/lib/typescript/ContentUsefulness.d.ts.map +1 -1
- package/lib/typescript/FeedbackSDK.d.ts.map +1 -1
- package/lib/typescript/FeedbackSDKAppStoreRating.d.ts.map +1 -1
- package/lib/typescript/FeedbackSDKForm.d.ts +2 -2
- package/lib/typescript/FeedbackSDKForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/CommentForm.d.ts +2 -2
- package/lib/typescript/component/forms/CommentForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/EffortForm.d.ts +2 -2
- package/lib/typescript/component/forms/EffortForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/ExternalForm.d.ts +2 -2
- package/lib/typescript/component/forms/ExternalForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/NPSForm.d.ts +2 -2
- package/lib/typescript/component/forms/NPSForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/PollForm.d.ts +2 -2
- package/lib/typescript/component/forms/PollForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/PromptForm.d.ts +2 -2
- package/lib/typescript/component/forms/PromptForm.d.ts.map +1 -1
- package/lib/typescript/component/forms/SatisfactionForm.d.ts +2 -2
- package/lib/typescript/component/forms/SatisfactionForm.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +3 -3
- package/lib/typescript/theme.d.ts +2 -0
- package/lib/typescript/theme.d.ts.map +1 -0
- package/lib/typescript/types/atoms-mock.d.ts +3 -0
- package/lib/typescript/types/atoms-mock.d.ts.map +1 -0
- package/lib/typescript/utils/constants.d.ts.map +1 -1
- package/lib/typescript/utils/networking.d.ts +0 -1
- package/lib/typescript/utils/networking.d.ts.map +1 -1
- package/package.json +4 -4
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Bold.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Bold.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Bold.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Condensed.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Condensed.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Condensed.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-CondensedMedium.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-CondensedMedium.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-CondensedMedium.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-ExtraBold.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-ExtraBold.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-ExtraBold.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Medium.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Medium.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Medium.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Regular.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Regular.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/AIAEverest/AIAEverest-Regular.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/Mangal/Mangal-Bold.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/Mangal/Mangal-Regular.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/Nirmala/Nirmala-Bold.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/Nirmala/Nirmala-Regular.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/NotoSansThaiExNoto/NotoSansThaiExNoto-Bold.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/NotoSansThaiExNoto/NotoSansThaiExNoto-Medium.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/NotoSansThaiExNoto/NotoSansThaiExNoto-Regular.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/NotoSansThaiExNoto/NotoSansThaiExNoto-Semibold.ttf +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Bold.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Bold.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Bold.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-BoldItalic.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-BoldItalic.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-BoldItalic.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Extrabold.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Extrabold.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Extrabold.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-ExtraboldItalic.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-ExtraboldItalic.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-ExtraboldItalic.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Italic.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Italic.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Italic.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Light.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Light.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Light.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Regular.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Regular.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Regular.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Semibold.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Semibold.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-Semibold.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-SemiboldItalic.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-SemiboldItalic.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSans-SemiboldItalic.woff2 +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSansLight-Italic.eot +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSansLight-Italic.woff +0 -0
- package/lib/module/component/AIA/assets/fonts/OpenSans/OpenSansLight-Italic.woff2 +0 -0
- package/lib/module/component/AIA/assets/index.js +0 -16
- package/lib/module/component/AIA/assets/index.js.map +0 -1
- package/lib/module/component/AIA/assets/package.json +0 -19
- package/lib/module/component/Button.js +0 -49
- package/lib/module/component/Button.js.map +0 -1
- package/lib/module/component/ButtonSubmit.js +0 -213
- package/lib/module/component/ButtonSubmit.js.map +0 -1
- package/lib/module/component/Input.js +0 -174
- package/lib/module/component/Input.js.map +0 -1
- package/lib/module/component/MultiSelectButtons.js +0 -186
- package/lib/module/component/MultiSelectButtons.js.map +0 -1
- package/lib/module/component/README.md +0 -215
- package/lib/module/component/Rating.js +0 -169
- package/lib/module/component/Rating.js.map +0 -1
- package/lib/module/component/RatingNumber.js +0 -289
- package/lib/module/component/RatingNumber.js.map +0 -1
- package/lib/module/component/Textarea.js +0 -168
- package/lib/module/component/Textarea.js.map +0 -1
- package/lib/module/component/YesNoButtons.js +0 -185
- package/lib/module/component/YesNoButtons.js.map +0 -1
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/ActivityIndicator.d.ts +0 -13
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/styles/index.d.ts +0 -40
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/types/index.d.ts +0 -64
- package/lib/typescript/component/AIA/atoms/ActivityIndicator/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Button/Button.d.ts +0 -10
- package/lib/typescript/component/AIA/atoms/Button/Button.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Button/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Button/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Button/styles/index.d.ts +0 -101
- package/lib/typescript/component/AIA/atoms/Button/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Button/types/index.d.ts +0 -120
- package/lib/typescript/component/AIA/atoms/Button/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Chip/Chip.d.ts +0 -11
- package/lib/typescript/component/AIA/atoms/Chip/Chip.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Chip/config/index.d.ts +0 -21
- package/lib/typescript/component/AIA/atoms/Chip/config/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Chip/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Chip/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Chip/styles/index.d.ts +0 -89
- package/lib/typescript/component/AIA/atoms/Chip/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Chip/types/index.d.ts +0 -94
- package/lib/typescript/component/AIA/atoms/Chip/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Divider/Divider.d.ts +0 -11
- package/lib/typescript/component/AIA/atoms/Divider/Divider.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Divider/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Divider/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Divider/styles/index.d.ts +0 -12
- package/lib/typescript/component/AIA/atoms/Divider/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Divider/types/index.d.ts +0 -26
- package/lib/typescript/component/AIA/atoms/Divider/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icon/Icon.d.ts +0 -11
- package/lib/typescript/component/AIA/atoms/Icon/Icon.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icon/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Icon/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icon/types/index.d.ts +0 -94
- package/lib/typescript/component/AIA/atoms/Icon/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/document-control/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/document-control/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/function/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/function/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/general/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/general/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/health-and-wellness/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/health-and-wellness/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/index.d.ts +0 -8
- package/lib/typescript/component/AIA/atoms/Icons/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/login/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/login/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/media-control/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/media-control/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/menu/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/menu/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/rating/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/rating/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/red-illustrations/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/red-illustrations/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/social-media/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/social-media/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/system-control/index.d.ts +0 -9
- package/lib/typescript/component/AIA/atoms/Icons/system-control/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Icons/type/index.d.ts +0 -83
- package/lib/typescript/component/AIA/atoms/Icons/type/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/account-setup/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/account-setup/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/empty-state/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/empty-state/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/health-and-wellness/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/health-and-wellness/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/index.d.ts +0 -8
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/medical/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/medical/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/payment/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/payment/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-agents/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-agents/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-celebration/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-celebration/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-exercise/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-exercise/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-family/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-family/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-general/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-general/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-lifestyle/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-lifestyle/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-medical/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/people-medical/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/success-and-reward/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/success-and-reward/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/system/index.d.ts +0 -3
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/system/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/type/index.d.ts +0 -93
- package/lib/typescript/component/AIA/atoms/IllustrationIcons/type/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Image/Image.d.ts +0 -11
- package/lib/typescript/component/AIA/atoms/Image/Image.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Image/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Image/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Image/styles/index.d.ts +0 -15
- package/lib/typescript/component/AIA/atoms/Image/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Image/types/index.d.ts +0 -98
- package/lib/typescript/component/AIA/atoms/Image/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Rating/Rating.d.ts +0 -10
- package/lib/typescript/component/AIA/atoms/Rating/Rating.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Rating/config/index.d.ts +0 -22
- package/lib/typescript/component/AIA/atoms/Rating/config/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Rating/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Rating/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Rating/styles/index.d.ts +0 -54
- package/lib/typescript/component/AIA/atoms/Rating/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Rating/types/index.d.ts +0 -94
- package/lib/typescript/component/AIA/atoms/Rating/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Text/Text.d.ts +0 -11
- package/lib/typescript/component/AIA/atoms/Text/Text.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Text/config/index.d.ts +0 -7
- package/lib/typescript/component/AIA/atoms/Text/config/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Text/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/Text/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Text/styles/index.d.ts +0 -25
- package/lib/typescript/component/AIA/atoms/Text/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/Text/types/index.d.ts +0 -127
- package/lib/typescript/component/AIA/atoms/Text/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/TextArea/TextArea.d.ts +0 -15
- package/lib/typescript/component/AIA/atoms/TextArea/TextArea.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/TextArea/config/index.d.ts +0 -8
- package/lib/typescript/component/AIA/atoms/TextArea/config/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/TextArea/index.d.ts +0 -2
- package/lib/typescript/component/AIA/atoms/TextArea/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/TextArea/styles/index.d.ts +0 -79
- package/lib/typescript/component/AIA/atoms/TextArea/styles/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/atoms/TextArea/types/index.d.ts +0 -106
- package/lib/typescript/component/AIA/atoms/TextArea/types/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/hooks/FontConfig/index.d.ts +0 -2
- package/lib/typescript/component/AIA/hooks/FontConfig/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/hooks/FontConfig/type/index.d.ts +0 -44
- package/lib/typescript/component/AIA/hooks/FontConfig/type/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/hooks/useCustomTheme/index.d.ts +0 -2
- package/lib/typescript/component/AIA/hooks/useCustomTheme/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/hooks/useCustomTheme/useCustomTheme.d.ts +0 -16
- package/lib/typescript/component/AIA/hooks/useCustomTheme/useCustomTheme.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/border/borderRadius.d.ts +0 -9
- package/lib/typescript/component/AIA/styles/aia-digital/border/borderRadius.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/border/borderWidth.d.ts +0 -9
- package/lib/typescript/component/AIA/styles/aia-digital/border/borderWidth.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/border/componentBorderRadius.d.ts +0 -14
- package/lib/typescript/component/AIA/styles/aia-digital/border/componentBorderRadius.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/border/componentBorderWidth.d.ts +0 -5
- package/lib/typescript/component/AIA/styles/aia-digital/border/componentBorderWidth.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/border/index.d.ts +0 -24
- package/lib/typescript/component/AIA/styles/aia-digital/border/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/colors/light.d.ts +0 -140
- package/lib/typescript/component/AIA/styles/aia-digital/colors/light.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/size/componentSize.d.ts +0 -35
- package/lib/typescript/component/AIA/styles/aia-digital/size/componentSize.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/size/index.d.ts +0 -52
- package/lib/typescript/component/AIA/styles/aia-digital/size/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/size/size.d.ts +0 -22
- package/lib/typescript/component/AIA/styles/aia-digital/size/size.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/spacing/componentSpacing.d.ts +0 -10
- package/lib/typescript/component/AIA/styles/aia-digital/spacing/componentSpacing.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/spacing/index.d.ts +0 -24
- package/lib/typescript/component/AIA/styles/aia-digital/spacing/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/styles/aia-digital/spacing/spacing.d.ts +0 -19
- package/lib/typescript/component/AIA/styles/aia-digital/spacing/spacing.d.ts.map +0 -1
- package/lib/typescript/component/AIA/utils/Accessibility/index.d.ts +0 -12
- package/lib/typescript/component/AIA/utils/Accessibility/index.d.ts.map +0 -1
- package/lib/typescript/component/AIA/utils/Accessibility/types/index.d.ts +0 -21
- package/lib/typescript/component/AIA/utils/Accessibility/types/index.d.ts.map +0 -1
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo, useState } from 'react';
|
|
4
|
-
import { View, Text, StyleSheet, TextInput } from 'react-native';
|
|
5
|
-
import * as f from "../utils/common.js";
|
|
6
|
-
import { BG_DEFAULT, BORDER_FOCUS, BORDER_SECONDARY, ERROR_COLOR, TEXT_DARK, TEXT_NOTE, TEXT_PLACEHOLDER } from "../utils/constants.js";
|
|
7
|
-
import ErrorIcon from "../assets/ErrorIcon.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Props for the single-line `Input` component.
|
|
11
|
-
*
|
|
12
|
-
* Renders a label, single-line text input, optional note, error,
|
|
13
|
-
* and an optional character counter.
|
|
14
|
-
*/
|
|
15
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
-
const DEFAULT_BG = BG_DEFAULT;
|
|
17
|
-
const DEFAULT_BORDER = BORDER_SECONDARY;
|
|
18
|
-
const DEFAULT_FOCUS_BORDER = BORDER_FOCUS;
|
|
19
|
-
const DEFAULT_TEXT = TEXT_DARK;
|
|
20
|
-
const DEFAULT_PLACEHOLDER = TEXT_PLACEHOLDER;
|
|
21
|
-
const DEFAULT_COUNTER = TEXT_PLACEHOLDER;
|
|
22
|
-
const DEFAULT_NOTE = TEXT_NOTE;
|
|
23
|
-
const DEFAULT_ERROR = ERROR_COLOR;
|
|
24
|
-
function Input({
|
|
25
|
-
value,
|
|
26
|
-
onChangeText,
|
|
27
|
-
placeholder = 'Placeholder',
|
|
28
|
-
label,
|
|
29
|
-
note,
|
|
30
|
-
error,
|
|
31
|
-
maxLength,
|
|
32
|
-
showCounter = true,
|
|
33
|
-
appWidth,
|
|
34
|
-
backgroundColor = DEFAULT_BG,
|
|
35
|
-
borderColor = DEFAULT_BORDER,
|
|
36
|
-
focusBackgroundColor = DEFAULT_BG,
|
|
37
|
-
focusBorderColor = DEFAULT_FOCUS_BORDER,
|
|
38
|
-
errorBorderColor = DEFAULT_ERROR,
|
|
39
|
-
fontFamily,
|
|
40
|
-
fontSize = 16,
|
|
41
|
-
placeholderTextColor = DEFAULT_PLACEHOLDER,
|
|
42
|
-
textColor = DEFAULT_TEXT,
|
|
43
|
-
labelStyle,
|
|
44
|
-
noteStyle,
|
|
45
|
-
errorStyle,
|
|
46
|
-
counterStyle,
|
|
47
|
-
style
|
|
48
|
-
}) {
|
|
49
|
-
const [focused, setFocused] = useState(false);
|
|
50
|
-
const length = value.length;
|
|
51
|
-
const hasError = useMemo(() => error != null && error !== '', [error]);
|
|
52
|
-
const showCounterEl = useMemo(() => maxLength != null && showCounter, [maxLength, showCounter]);
|
|
53
|
-
const effectiveBorderColor = useMemo(() => {
|
|
54
|
-
if (hasError) return errorBorderColor;
|
|
55
|
-
if (focused) return focusBorderColor;
|
|
56
|
-
return borderColor;
|
|
57
|
-
}, [hasError, focused, errorBorderColor, focusBorderColor, borderColor]);
|
|
58
|
-
const inputContainerStyle = useMemo(() => [styles.inputWrapper, {
|
|
59
|
-
paddingHorizontal: f.w_p(appWidth, 8),
|
|
60
|
-
paddingVertical: 10,
|
|
61
|
-
borderRadius: f.isTablet ? 8 : 8,
|
|
62
|
-
backgroundColor: focused ? focusBackgroundColor : backgroundColor,
|
|
63
|
-
borderColor: effectiveBorderColor,
|
|
64
|
-
borderWidth: 1
|
|
65
|
-
}], [appWidth, focused, focusBackgroundColor, backgroundColor, effectiveBorderColor]);
|
|
66
|
-
const textInputStyle = useMemo(() => [styles.input, {
|
|
67
|
-
fontFamily,
|
|
68
|
-
fontSize,
|
|
69
|
-
color: textColor,
|
|
70
|
-
paddingRight: showCounterEl ? 48 : 0
|
|
71
|
-
}], [fontFamily, fontSize, textColor, showCounterEl]);
|
|
72
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
73
|
-
style: [styles.wrapper, style],
|
|
74
|
-
children: [label != null && label !== '' && /*#__PURE__*/_jsx(Text, {
|
|
75
|
-
style: [styles.label, labelStyle],
|
|
76
|
-
children: label
|
|
77
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
78
|
-
style: inputContainerStyle,
|
|
79
|
-
children: [/*#__PURE__*/_jsx(TextInput, {
|
|
80
|
-
placeholder: placeholder,
|
|
81
|
-
placeholderTextColor: placeholderTextColor,
|
|
82
|
-
style: textInputStyle,
|
|
83
|
-
value: value,
|
|
84
|
-
onChangeText: text => {
|
|
85
|
-
if (maxLength == null || text.length <= maxLength) {
|
|
86
|
-
onChangeText(text);
|
|
87
|
-
} else {
|
|
88
|
-
onChangeText(text.slice(0, maxLength));
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
onFocus: () => setFocused(true),
|
|
92
|
-
onBlur: () => setFocused(false),
|
|
93
|
-
autoCorrect: false
|
|
94
|
-
}), showCounterEl && /*#__PURE__*/_jsx(View, {
|
|
95
|
-
style: styles.counterWrapper,
|
|
96
|
-
pointerEvents: "none",
|
|
97
|
-
children: /*#__PURE__*/_jsxs(Text, {
|
|
98
|
-
style: [styles.counter, {
|
|
99
|
-
color: DEFAULT_COUNTER
|
|
100
|
-
}, counterStyle],
|
|
101
|
-
children: [length, "/", maxLength]
|
|
102
|
-
})
|
|
103
|
-
})]
|
|
104
|
-
}), note != null && note !== '' && /*#__PURE__*/_jsx(Text, {
|
|
105
|
-
style: [styles.note, {
|
|
106
|
-
color: DEFAULT_NOTE
|
|
107
|
-
}, noteStyle],
|
|
108
|
-
children: note
|
|
109
|
-
}), hasError && /*#__PURE__*/_jsxs(View, {
|
|
110
|
-
style: styles.errorWrap,
|
|
111
|
-
children: [/*#__PURE__*/_jsx(ErrorIcon, {
|
|
112
|
-
size: 20,
|
|
113
|
-
color: ERROR_COLOR
|
|
114
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
115
|
-
style: [styles.error, {
|
|
116
|
-
color: DEFAULT_ERROR
|
|
117
|
-
}, errorStyle],
|
|
118
|
-
children: error
|
|
119
|
-
})]
|
|
120
|
-
})]
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
export default Input;
|
|
124
|
-
const styles = StyleSheet.create({
|
|
125
|
-
wrapper: {
|
|
126
|
-
width: '100%'
|
|
127
|
-
},
|
|
128
|
-
label: {
|
|
129
|
-
fontSize: 16,
|
|
130
|
-
fontWeight: '600',
|
|
131
|
-
color: '#14181C',
|
|
132
|
-
marginBottom: 8,
|
|
133
|
-
lineHeight: 24,
|
|
134
|
-
letterSpacing: 0
|
|
135
|
-
},
|
|
136
|
-
inputWrapper: {
|
|
137
|
-
width: '100%',
|
|
138
|
-
position: 'relative',
|
|
139
|
-
flexDirection: 'row',
|
|
140
|
-
alignItems: 'center'
|
|
141
|
-
},
|
|
142
|
-
input: {
|
|
143
|
-
flex: 1,
|
|
144
|
-
padding: 0,
|
|
145
|
-
minHeight: 20
|
|
146
|
-
},
|
|
147
|
-
counterWrapper: {
|
|
148
|
-
position: 'absolute',
|
|
149
|
-
right: 12,
|
|
150
|
-
top: 0,
|
|
151
|
-
bottom: 0,
|
|
152
|
-
justifyContent: 'center'
|
|
153
|
-
},
|
|
154
|
-
counter: {
|
|
155
|
-
fontSize: 12
|
|
156
|
-
},
|
|
157
|
-
note: {
|
|
158
|
-
fontSize: 12,
|
|
159
|
-
marginTop: 8
|
|
160
|
-
},
|
|
161
|
-
errorWrap: {
|
|
162
|
-
flexDirection: 'row',
|
|
163
|
-
alignItems: 'center',
|
|
164
|
-
marginTop: 8,
|
|
165
|
-
gap: 6
|
|
166
|
-
},
|
|
167
|
-
error: {
|
|
168
|
-
fontSize: 14,
|
|
169
|
-
lineHeight: 20,
|
|
170
|
-
flex: 1,
|
|
171
|
-
fontWeight: '400'
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
//# sourceMappingURL=Input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useState","View","Text","StyleSheet","TextInput","f","BG_DEFAULT","BORDER_FOCUS","BORDER_SECONDARY","ERROR_COLOR","TEXT_DARK","TEXT_NOTE","TEXT_PLACEHOLDER","ErrorIcon","jsx","_jsx","jsxs","_jsxs","DEFAULT_BG","DEFAULT_BORDER","DEFAULT_FOCUS_BORDER","DEFAULT_TEXT","DEFAULT_PLACEHOLDER","DEFAULT_COUNTER","DEFAULT_NOTE","DEFAULT_ERROR","Input","value","onChangeText","placeholder","label","note","error","maxLength","showCounter","appWidth","backgroundColor","borderColor","focusBackgroundColor","focusBorderColor","errorBorderColor","fontFamily","fontSize","placeholderTextColor","textColor","labelStyle","noteStyle","errorStyle","counterStyle","style","focused","setFocused","length","hasError","showCounterEl","effectiveBorderColor","inputContainerStyle","styles","inputWrapper","paddingHorizontal","w_p","paddingVertical","borderRadius","isTablet","borderWidth","textInputStyle","input","color","paddingRight","wrapper","children","text","slice","onFocus","onBlur","autoCorrect","counterWrapper","pointerEvents","counter","errorWrap","size","create","width","fontWeight","marginBottom","lineHeight","letterSpacing","position","flexDirection","alignItems","flex","padding","minHeight","right","top","bottom","justifyContent","marginTop","gap"],"sourceRoot":"../../../src","sources":["component/Input.tsx"],"mappings":";;AAAA,SAAQA,OAAO,EAAEC,QAAQ,QAAO,OAAO;AACvC,SAAQC,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,SAAS,QAAuC,cAAc;AAC9F,OAAO,KAAKC,CAAC;AACb,SACCC,UAAU,EACVC,YAAY,EACZC,gBAAgB,EAChBC,WAAW,EACXC,SAAS,EACTC,SAAS,EACTC,gBAAgB;AAEjB,OAAOC,SAAS;;AAEhB;AACA;AACA;AACA;AACA;AACA;AALA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA8GA,MAAMC,UAAU,GAAGZ,UAAU;AAC7B,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AAE;IACNU,QAAQ,EAAE,EAAE;IACZ2C,UAAU,EAAE,EAAE;IACdK,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACb;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo } from 'react';
|
|
4
|
-
import { View, Text, StyleSheet } from 'react-native';
|
|
5
|
-
import * as f from "../utils/common.js";
|
|
6
|
-
import ButtonSubmit from "./ButtonSubmit.js";
|
|
7
|
-
import CheckIcon from "../assets/CheckIcon.js";
|
|
8
|
-
import PlusIcon from "../assets/PlusIcon.js";
|
|
9
|
-
import { BG_DEFAULT, BG_SECONDARY, BORDER_DEFAULT, BORDER_SELECTED, ERROR_COLOR, PRIMARY_COLOR, TEXT_DARK, TEXT_DEFAULT, TEXT_WHITE } from "../utils/constants.js";
|
|
10
|
-
import ErrorIcon from "../assets/ErrorIcon.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Visual variant for selected tags in `MultiSelectButtons`.
|
|
14
|
-
*
|
|
15
|
-
* - `'primary'` – solid primary background with white text.
|
|
16
|
-
* - `'secondary'` – light background with colored border and dark text.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Single option for `MultiSelectButtons`.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Props for the `MultiSelectButtons` component.
|
|
25
|
-
*
|
|
26
|
-
* Renders a question and a wrap layout of tag-like buttons allowing multiple selections.
|
|
27
|
-
*/
|
|
28
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
|
-
function MultiSelectButtons({
|
|
30
|
-
question,
|
|
31
|
-
note,
|
|
32
|
-
noteStyle,
|
|
33
|
-
options,
|
|
34
|
-
value,
|
|
35
|
-
onSelect,
|
|
36
|
-
appWidth,
|
|
37
|
-
selectedVariant = 'secondary',
|
|
38
|
-
error,
|
|
39
|
-
selectedBackgroundColor,
|
|
40
|
-
selectedBorderColor,
|
|
41
|
-
selectedTextColor,
|
|
42
|
-
questionStyle,
|
|
43
|
-
errorStyle,
|
|
44
|
-
errorColor = ERROR_COLOR,
|
|
45
|
-
iconSize = 16,
|
|
46
|
-
optionNumberOfLines = 1,
|
|
47
|
-
style,
|
|
48
|
-
fontFamilyOption
|
|
49
|
-
}) {
|
|
50
|
-
const hasError = useMemo(() => error != null && error !== '', [error]);
|
|
51
|
-
const selectedSet = useMemo(() => new Set(value), [value]);
|
|
52
|
-
const isPrimary = selectedVariant === 'primary';
|
|
53
|
-
const selectedBg = useMemo(() => selectedBackgroundColor ?? (isPrimary ? PRIMARY_COLOR : BG_SECONDARY), [selectedBackgroundColor, isPrimary]);
|
|
54
|
-
const selectedBorder = useMemo(() => isPrimary ? selectedBg : selectedBorderColor ?? BORDER_SELECTED, [isPrimary, selectedBg, selectedBorderColor]);
|
|
55
|
-
const selectedText = useMemo(() => selectedTextColor ?? (isPrimary ? TEXT_WHITE : TEXT_DEFAULT), [selectedTextColor, isPrimary]);
|
|
56
|
-
const toggle = optionValue => {
|
|
57
|
-
if (selectedSet.has(optionValue)) {
|
|
58
|
-
onSelect(value.filter(v => v !== optionValue));
|
|
59
|
-
} else {
|
|
60
|
-
onSelect([...value, optionValue]);
|
|
61
|
-
}
|
|
62
|
-
f.triggerHaptic();
|
|
63
|
-
};
|
|
64
|
-
const marginTop = useMemo(() => [styles.optionsRow, {
|
|
65
|
-
marginTop: 8 // f.w_p(appWidth, 8)
|
|
66
|
-
}], []);
|
|
67
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
68
|
-
style: [styles.wrapper, style],
|
|
69
|
-
children: [question != null && question !== '' && /*#__PURE__*/_jsx(Text, {
|
|
70
|
-
style: [styles.question, questionStyle],
|
|
71
|
-
children: question
|
|
72
|
-
}), note != null && note !== '' && /*#__PURE__*/_jsx(Text, {
|
|
73
|
-
style: [styles.note, noteStyle],
|
|
74
|
-
children: note
|
|
75
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
76
|
-
style: marginTop,
|
|
77
|
-
children: options.map(opt => {
|
|
78
|
-
const isSelected = selectedSet.has(opt.value);
|
|
79
|
-
const buttonStyles = (() => {
|
|
80
|
-
if (isSelected) {
|
|
81
|
-
return {
|
|
82
|
-
bg: selectedBg,
|
|
83
|
-
text: selectedText,
|
|
84
|
-
border: selectedBorder
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
// if (hasError) {
|
|
88
|
-
// return {bg: BG_DEFAULT, text: errorColor, border: errorColor}
|
|
89
|
-
// }
|
|
90
|
-
return {
|
|
91
|
-
bg: BG_DEFAULT,
|
|
92
|
-
text: TEXT_DARK,
|
|
93
|
-
border: BORDER_DEFAULT
|
|
94
|
-
};
|
|
95
|
-
})();
|
|
96
|
-
return /*#__PURE__*/_jsx(View, {
|
|
97
|
-
style: styles.optionSlot,
|
|
98
|
-
children: /*#__PURE__*/_jsx(ButtonSubmit, {
|
|
99
|
-
appWidth: appWidth,
|
|
100
|
-
title: opt.label,
|
|
101
|
-
leftIcon: isSelected ? /*#__PURE__*/_jsx(CheckIcon, {
|
|
102
|
-
size: iconSize,
|
|
103
|
-
color: buttonStyles.text
|
|
104
|
-
}) : /*#__PURE__*/_jsx(PlusIcon, {
|
|
105
|
-
size: iconSize,
|
|
106
|
-
color: buttonStyles.text
|
|
107
|
-
}),
|
|
108
|
-
onPress: () => toggle(opt.value),
|
|
109
|
-
variant: "secondary",
|
|
110
|
-
fullWidth: false,
|
|
111
|
-
backgroundColor: buttonStyles.bg,
|
|
112
|
-
textColor: buttonStyles.text,
|
|
113
|
-
borderColor: buttonStyles.border,
|
|
114
|
-
borderWidth: isSelected ? 2 : 1,
|
|
115
|
-
containerStyle: styles.tagContainer,
|
|
116
|
-
numberOfLines: optionNumberOfLines,
|
|
117
|
-
style: styles.tagButton,
|
|
118
|
-
fontFamily: fontFamilyOption
|
|
119
|
-
})
|
|
120
|
-
}, opt.value);
|
|
121
|
-
})
|
|
122
|
-
}), hasError && /*#__PURE__*/_jsxs(View, {
|
|
123
|
-
style: styles.errorRow,
|
|
124
|
-
children: [/*#__PURE__*/_jsx(ErrorIcon, {
|
|
125
|
-
size: 20,
|
|
126
|
-
color: ERROR_COLOR
|
|
127
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
128
|
-
style: [styles.errorText, {
|
|
129
|
-
color: errorColor
|
|
130
|
-
}, errorStyle],
|
|
131
|
-
children: error
|
|
132
|
-
})]
|
|
133
|
-
})]
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
export default MultiSelectButtons;
|
|
137
|
-
const styles = StyleSheet.create({
|
|
138
|
-
wrapper: {
|
|
139
|
-
width: '100%'
|
|
140
|
-
},
|
|
141
|
-
question: {
|
|
142
|
-
fontSize: 16,
|
|
143
|
-
fontWeight: 600,
|
|
144
|
-
color: '#14181C',
|
|
145
|
-
lineHeight: 24,
|
|
146
|
-
letterSpacing: 0
|
|
147
|
-
// marginBottom: 8,
|
|
148
|
-
},
|
|
149
|
-
note: {
|
|
150
|
-
fontSize: 12,
|
|
151
|
-
color: '#666666',
|
|
152
|
-
marginBottom: 10
|
|
153
|
-
},
|
|
154
|
-
optionsRow: {
|
|
155
|
-
flexDirection: 'row',
|
|
156
|
-
flexWrap: 'wrap',
|
|
157
|
-
gap: 12
|
|
158
|
-
},
|
|
159
|
-
optionSlot: {
|
|
160
|
-
alignSelf: 'flex-start'
|
|
161
|
-
},
|
|
162
|
-
tagContainer: {
|
|
163
|
-
marginTop: 0
|
|
164
|
-
},
|
|
165
|
-
tagButton: {
|
|
166
|
-
paddingVertical: 8,
|
|
167
|
-
paddingHorizontal: 12
|
|
168
|
-
},
|
|
169
|
-
errorRow: {
|
|
170
|
-
flexDirection: 'row',
|
|
171
|
-
alignItems: 'center',
|
|
172
|
-
marginTop: 8,
|
|
173
|
-
gap: 6
|
|
174
|
-
},
|
|
175
|
-
errorIcon: {
|
|
176
|
-
fontSize: 14,
|
|
177
|
-
fontWeight: '700'
|
|
178
|
-
},
|
|
179
|
-
errorText: {
|
|
180
|
-
fontSize: 14,
|
|
181
|
-
flex: 1,
|
|
182
|
-
fontWeight: '400',
|
|
183
|
-
paddingRight: 6
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
//# sourceMappingURL=MultiSelectButtons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","View","Text","StyleSheet","f","ButtonSubmit","CheckIcon","PlusIcon","BG_DEFAULT","BG_SECONDARY","BORDER_DEFAULT","BORDER_SELECTED","ERROR_COLOR","PRIMARY_COLOR","TEXT_DARK","TEXT_DEFAULT","TEXT_WHITE","ErrorIcon","jsx","_jsx","jsxs","_jsxs","MultiSelectButtons","question","note","noteStyle","options","value","onSelect","appWidth","selectedVariant","error","selectedBackgroundColor","selectedBorderColor","selectedTextColor","questionStyle","errorStyle","errorColor","iconSize","optionNumberOfLines","style","fontFamilyOption","hasError","selectedSet","Set","isPrimary","selectedBg","selectedBorder","selectedText","toggle","optionValue","has","filter","v","triggerHaptic","marginTop","styles","optionsRow","wrapper","children","map","opt","isSelected","buttonStyles","bg","text","border","optionSlot","title","label","leftIcon","size","color","onPress","variant","fullWidth","backgroundColor","textColor","borderColor","borderWidth","containerStyle","tagContainer","numberOfLines","tagButton","fontFamily","errorRow","errorText","create","width","fontSize","fontWeight","lineHeight","letterSpacing","marginBottom","flexDirection","flexWrap","gap","alignSelf","paddingVertical","paddingHorizontal","alignItems","errorIcon","flex","paddingRight"],"sourceRoot":"../../../src","sources":["component/MultiSelectButtons.tsx"],"mappings":";;AAAA,SAAQA,OAAO,QAAO,OAAO;AAC7B,SAAQC,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAuC,cAAc;AACnF,OAAO,KAAKC,CAAC;AACb,OAAOC,YAAY;AACnB,OAAOC,SAAS;AAChB,OAAOC,QAAQ;AACf,SACCC,UAAU,EACVC,YAAY,EACZC,cAAc,EACdC,e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ACZC,UAAU,EAAE;EACb,CAAC;EACDJ,SAAS,EAAE;IACVG,QAAQ,EAAE,EAAE;IACZa,IAAI,EAAE,CAAC;IACPZ,UAAU,EAAE,KAAK;IACjBa,YAAY,EAAE;EACf;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
# Components – Props reference
|
|
2
|
-
|
|
3
|
-
Documentation for all components and their props in `@originallyus/feedback-rn-sdk`. Tables: **Prop** | **Type** | **Default** | **Description**.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Button
|
|
8
|
-
|
|
9
|
-
Basic pressable button (Pressable + Text).
|
|
10
|
-
|
|
11
|
-
| Prop | Type | Default | Description |
|
|
12
|
-
| ----------- | ------------ | ------- | --------------------------------------- |
|
|
13
|
-
| `title` | `string` | — | **Required.** Text shown on the button. |
|
|
14
|
-
| `onPress` | `() => void` | — | **Required.** Callback when pressed. |
|
|
15
|
-
| `disabled` | `boolean` | `false` | Disables the button. |
|
|
16
|
-
| `style` | `ViewStyle` | — | Style for the button container. |
|
|
17
|
-
| `textStyle` | `TextStyle` | — | Style for the label text. |
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## ButtonSubmit
|
|
22
|
-
|
|
23
|
-
Submit button for forms: primary (red background) or secondary (red border + red text, light pink background). Supports loading state, left icon, and full width or content-based width.
|
|
24
|
-
|
|
25
|
-
| Prop | Type | Default | Description |
|
|
26
|
-
| ------------------------- | -------------------------- | ----------- | ----------------------------------------------------------------------- |
|
|
27
|
-
| `onPress` | `() => void` | — | **Required.** Callback when pressed. |
|
|
28
|
-
| `title` | `string` | — | **Required.** Button label. |
|
|
29
|
-
| `leftIcon` | `string` | — | Character shown to the left of the title (e.g. `"+"`, `"✓"`). |
|
|
30
|
-
| `variant` | `'primary' \| 'secondary'` | `'primary'` | primary = red background; secondary = red border + text, light pink bg. |
|
|
31
|
-
| `fullWidth` | `boolean` | `true` | `true` = full width, `false` = width by content. |
|
|
32
|
-
| `disabled` | `boolean` | `false` | Disables the button. |
|
|
33
|
-
| `loading` | `boolean` | `false` | Shows ActivityIndicator and blocks press. |
|
|
34
|
-
| `appWidth` | `number` | — | **Required.** Screen width (used for margin). |
|
|
35
|
-
| `isTabletInstrusive` | `boolean` | — | On tablet: fixed 200px width instead of full width. |
|
|
36
|
-
| `fontFamily` | `string` | — | Font family. |
|
|
37
|
-
| `fontSize` | `number` | `16` | Font size. |
|
|
38
|
-
| `textColor` | `string` | — | Text color (primary = white, secondary = red). |
|
|
39
|
-
| `backgroundColor` | `string` | — | Background color. |
|
|
40
|
-
| `pressedColor` | `string` | — | Color when pressed. |
|
|
41
|
-
| `disabledBackgroundColor` | `string` | — | Background color when disabled. |
|
|
42
|
-
| `disabledTextColor` | `string` | — | Text color when disabled. |
|
|
43
|
-
| `borderColor` | `string` | — | Border color (secondary variant). |
|
|
44
|
-
| `containerStyle` | `ViewStyle` | — | Style for the wrapper view. |
|
|
45
|
-
| `style` | `ViewStyle` | — | Style for the Pressable. |
|
|
46
|
-
| `textStyle` | `TextStyle` | — | Style for the text. |
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## RatingNumber
|
|
51
|
-
|
|
52
|
-
Numeric rating scale: a row of buttons from `rating_min` to `rating_max` with optional left/right labels. Buttons are full width per device; supports size presets and compact mode.
|
|
53
|
-
|
|
54
|
-
| Prop | Type | Default | Description |
|
|
55
|
-
| ------------------------------------- | -------------------------------- | ----------- | ------------------------------------------------------- |
|
|
56
|
-
| `scale_label_color` | `string` | — | **Required.** Text color for left/right labels. |
|
|
57
|
-
| `scale_label_left` | `string` | — | Left label (e.g. "Strongly disagree"). |
|
|
58
|
-
| `scale_label_right` | `string` | — | Right label (e.g. "Strongly agree"). |
|
|
59
|
-
| `scale_label_font` | `string` | — | Font for labels. |
|
|
60
|
-
| `scale_label_fontsize` | `number` | — | Font size for labels. |
|
|
61
|
-
| `handlePressRating` | `(rating: number) => void` | — | **Required.** Callback when a number is selected. |
|
|
62
|
-
| `numStar` | `number` | — | **Required.** Currently selected value. |
|
|
63
|
-
| `rating_min` | `number` | — | **Required.** Minimum value. |
|
|
64
|
-
| `rating_max` | `number` | — | **Required.** Maximum value. |
|
|
65
|
-
| `appWidth` | `number` | — | **Required.** App width (for layout). |
|
|
66
|
-
| `size` | `'small' \| 'medium' \| 'large'` | `'medium'` | Preset for height and spacing. |
|
|
67
|
-
| `compact` | `boolean` | `true` | `true` = no gap between buttons; `false` = gap between. |
|
|
68
|
-
| `error` | `string` | — | Error message; red border on buttons and text below. |
|
|
69
|
-
| `errorBorderColor` | `string` | `'#D32F2F'` | Border color when error is set. |
|
|
70
|
-
| `rating_number_font` | `string` | — | Font for the number inside each button. |
|
|
71
|
-
| `rating_number_fontsize` | `number` | — | Font size for the number. |
|
|
72
|
-
| `rating_number_bg_color` | `string` | — | Background color when not selected. |
|
|
73
|
-
| `rating_number_border_color` | `string` | — | Border color when not selected. |
|
|
74
|
-
| `rating_number_selected_bg_color` | `string` | — | Background color when selected (default #082065). |
|
|
75
|
-
| `rating_number_selected_border_color` | `string` | — | Border color when selected. |
|
|
76
|
-
| `rating_number_selected_text_color` | `string` | — | Text color when selected. |
|
|
77
|
-
| `rating_number_text_color` | `string` | — | Text color when not selected. |
|
|
78
|
-
| `errorStyle` | `TextStyle` | — | Style for the error text. |
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## Rating
|
|
83
|
-
|
|
84
|
-
Star rating block: title, question/subtitle, and a row of tappable stars (1–5 by default). Uses `RatingStar` internally. Selected stars are filled (e.g. golden), unselected are grey. Optional error message below.
|
|
85
|
-
|
|
86
|
-
| Prop | Type | Default | Description |
|
|
87
|
-
| ------------------- | -------------------------- | ---------------------------------- | ------------------------------------------------- |
|
|
88
|
-
| `title` | `string` | `'Help us get better'` | Main heading above the question. |
|
|
89
|
-
| `question` | `string` | `'How was your experience today?'` | Subtitle or question text. |
|
|
90
|
-
| `value` | `number` | — | **Required.** Current star value (1..rating_max). |
|
|
91
|
-
| `onRate` | `(rating: number) => void` | — | **Required.** Callback when user selects a star. |
|
|
92
|
-
| `rating_min` | `number` | `1` | Minimum star value. |
|
|
93
|
-
| `rating_max` | `number` | `5` | Maximum star value. |
|
|
94
|
-
| `disabled` | `boolean` | `false` | Disables star taps. |
|
|
95
|
-
| `error` | `string` | — | Error message; shown below the stars. |
|
|
96
|
-
| `normalStarColor` | `string` | `'#D0D0D0'` | Color for unselected stars. |
|
|
97
|
-
| `selectedStarColor` | `string` | `'#FFC107'` | Color for selected stars (e.g. golden). |
|
|
98
|
-
| `titleStyle` | `TextStyle` | — | Style for the title. |
|
|
99
|
-
| `questionStyle` | `TextStyle` | — | Style for the question. |
|
|
100
|
-
| `errorStyle` | `TextStyle` | — | Style for the error text. |
|
|
101
|
-
| `style` | `ViewStyle` | — | Style for the wrapper. |
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## Textarea
|
|
106
|
-
|
|
107
|
-
Multi-line text input: label on top, note below, placeholder, and optional character count (maxLength). Supports focus and error states.
|
|
108
|
-
|
|
109
|
-
| Prop | Type | Default | Description |
|
|
110
|
-
| ---------------------- | ------------------------ | --------------- | ----------------------------------------------------- |
|
|
111
|
-
| `value` | `string` | — | **Required.** Current value. |
|
|
112
|
-
| `onChangeText` | `(text: string) => void` | — | **Required.** Callback when text changes. |
|
|
113
|
-
| `placeholder` | `string` | `'Placeholder'` | Placeholder text. |
|
|
114
|
-
| `label` | `string` | — | Label above the field. |
|
|
115
|
-
| `note` | `string` | — | Helper text below the field. |
|
|
116
|
-
| `error` | `string` | — | Error message; red border and text below. |
|
|
117
|
-
| `maxLength` | `number` | — | Max characters; shows count 0/maxLength bottom-right. |
|
|
118
|
-
| `appWidth` | `number` | — | **Required.** App width (for padding). |
|
|
119
|
-
| `minHeight` | `number` | `120` | Minimum height of the input area. |
|
|
120
|
-
| `backgroundColor` | `string` | — | Background color of the field. |
|
|
121
|
-
| `borderColor` | `string` | — | Border color (unfocused). |
|
|
122
|
-
| `focusBackgroundColor` | `string` | — | Background color when focused. |
|
|
123
|
-
| `focusBorderColor` | `string` | — | Border color when focused. |
|
|
124
|
-
| `errorBorderColor` | `string` | `'#D32F2F'` | Border color when error is set. |
|
|
125
|
-
| `fontFamily` | `string` | — | Font family. |
|
|
126
|
-
| `fontSize` | `number` | `16` | Font size. |
|
|
127
|
-
| `placeholderTextColor` | `string` | — | Placeholder text color. |
|
|
128
|
-
| `textColor` | `string` | — | Text color. |
|
|
129
|
-
| `labelStyle` | `TextStyle` | — | Style for the label. |
|
|
130
|
-
| `captionStyle` | `TextStyle` | — | Style for caption. |
|
|
131
|
-
| `noteStyle` | `TextStyle` | — | Style for the note. |
|
|
132
|
-
| `errorStyle` | `TextStyle` | — | Style for the error text. |
|
|
133
|
-
| `counterStyle` | `TextStyle` | — | Style for the character counter. |
|
|
134
|
-
| `style` | `ViewStyle` | — | Style for the wrapper. |
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
## Input
|
|
139
|
-
|
|
140
|
-
Single-line text input: same structure as Textarea (label, note, error), with optional character counter when `maxLength` is set.
|
|
141
|
-
|
|
142
|
-
| Prop | Type | Default | Description |
|
|
143
|
-
| ---------------------- | ------------------------ | --------------- | -------------------------------------------------------- |
|
|
144
|
-
| `value` | `string` | — | **Required.** Current value. |
|
|
145
|
-
| `onChangeText` | `(text: string) => void` | — | **Required.** Callback when text changes. |
|
|
146
|
-
| `placeholder` | `string` | `'Placeholder'` | Placeholder text. |
|
|
147
|
-
| `label` | `string` | — | Label above the field. |
|
|
148
|
-
| `note` | `string` | — | Helper text below the field. |
|
|
149
|
-
| `error` | `string` | — | Error message; red border and text below. |
|
|
150
|
-
| `maxLength` | `number` | — | Max characters. |
|
|
151
|
-
| `showCounter` | `boolean` | `true` | Show 0/maxLength when maxLength is set; `false` to hide. |
|
|
152
|
-
| `appWidth` | `number` | — | **Required.** App width (for padding). |
|
|
153
|
-
| `backgroundColor` | `string` | — | Background color. |
|
|
154
|
-
| `borderColor` | `string` | — | Border color. |
|
|
155
|
-
| `focusBackgroundColor` | `string` | — | Background color when focused. |
|
|
156
|
-
| `focusBorderColor` | `string` | — | Border color when focused. |
|
|
157
|
-
| `errorBorderColor` | `string` | `'#D32F2F'` | Border color when error is set. |
|
|
158
|
-
| `fontFamily` | `string` | — | Font family. |
|
|
159
|
-
| `fontSize` | `number` | `16` | Font size. |
|
|
160
|
-
| `placeholderTextColor` | `string` | — | Placeholder text color. |
|
|
161
|
-
| `textColor` | `string` | — | Text color. |
|
|
162
|
-
| `labelStyle` | `TextStyle` | — | Style for the label. |
|
|
163
|
-
| `noteStyle` | `TextStyle` | — | Style for the note. |
|
|
164
|
-
| `errorStyle` | `TextStyle` | — | Style for the error text. |
|
|
165
|
-
| `counterStyle` | `TextStyle` | — | Style for the counter. |
|
|
166
|
-
| `style` | `ViewStyle` | — | Style for the wrapper. |
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
## YesNoButtons
|
|
171
|
-
|
|
172
|
-
Two Yes / No buttons built with ButtonSubmit. Single selection; selected style can be primary (red background) or secondary (light background + bold border).
|
|
173
|
-
|
|
174
|
-
| Prop | Type | Default | Description |
|
|
175
|
-
| ------------------------- | -------------------------------- | ----------- | ----------------------------------------------------------------- |
|
|
176
|
-
| `question` | `string` | — | **Required.** Question text above the buttons. |
|
|
177
|
-
| `value` | `'yes' \| 'no' \| null` | — | **Required.** Current selection. |
|
|
178
|
-
| `onSelect` | `(value: 'yes' \| 'no') => void` | — | **Required.** Callback when an option is selected. |
|
|
179
|
-
| `selectedVariant` | `'primary' \| 'secondary'` | `'primary'` | primary = red bg, white text; secondary = light bg + bold border. |
|
|
180
|
-
| `yesLabel` | `string` | `'Yes'` | Label for the Yes button. |
|
|
181
|
-
| `noLabel` | `string` | `'No'` | Label for the No button. |
|
|
182
|
-
| `error` | `string` | — | Error message; shown below the two buttons with "!". |
|
|
183
|
-
| `appWidth` | `number` | — | **Required.** App width (for ButtonSubmit). |
|
|
184
|
-
| `selectedBackgroundColor` | `string` | — | Override background when selected (secondary). |
|
|
185
|
-
| `selectedBorderColor` | `string` | — | Override border when selected (secondary). |
|
|
186
|
-
| `selectedTextColor` | `string` | — | Override text color when selected (secondary). |
|
|
187
|
-
| `questionStyle` | `TextStyle` | — | Style for the question. |
|
|
188
|
-
| `errorStyle` | `TextStyle` | — | Style for the error text. |
|
|
189
|
-
| `errorColor` | `string` | — | Error text color (default red). |
|
|
190
|
-
| `style` | `ViewStyle` | — | Style for the wrapper. |
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
## MultiSelectButtons
|
|
195
|
-
|
|
196
|
-
Multiple choice (tag) buttons: select several options, wrap layout. Uses ButtonSubmit with "+" / "✓" icon on the left. Selected variant: primary (red background) or secondary (light background + bold border, black text).
|
|
197
|
-
|
|
198
|
-
| Prop | Type | Default | Description |
|
|
199
|
-
| ------------------------- | ------------------------------ | ------------- | ----------------------------------------------------------------------------- |
|
|
200
|
-
| `question` | `string` | — | **Required.** Question text above the options. |
|
|
201
|
-
| `options` | `MultiSelectOption[]` | — | **Required.** List of options. Each: `{ value: string, label: string }`. |
|
|
202
|
-
| `value` | `string[]` | — | **Required.** Array of selected values. |
|
|
203
|
-
| `onSelect` | `(selected: string[]) => void` | — | **Required.** Callback when selection changes (toggles per option). |
|
|
204
|
-
| `appWidth` | `number` | — | **Required.** App width. |
|
|
205
|
-
| `selectedVariant` | `'primary' \| 'secondary'` | `'secondary'` | primary = red bg, white text; secondary = light bg + blue border, black text. |
|
|
206
|
-
| `error` | `string` | — | Error message; shown below the buttons. |
|
|
207
|
-
| `selectedBackgroundColor` | `string` | — | Override background when selected. |
|
|
208
|
-
| `selectedBorderColor` | `string` | — | Override border when selected. |
|
|
209
|
-
| `selectedTextColor` | `string` | — | Override text color when selected. |
|
|
210
|
-
| `questionStyle` | `TextStyle` | — | Style for the question. |
|
|
211
|
-
| `errorStyle` | `TextStyle` | — | Style for the error text. |
|
|
212
|
-
| `errorColor` | `string` | — | Error text color. |
|
|
213
|
-
| `style` | `ViewStyle` | — | Style for the wrapper. |
|
|
214
|
-
|
|
215
|
-
**MultiSelectOption:** `{ value: string; label: string }`
|