@trilogy-ds/react 0.0.2-calendar → 0.0.3-alpha-prompt
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/lib/components/alert/AlertPropsDefaults.js +9 -1
- package/lib/components/alert/ToasterStatusPropsDefaults.js +9 -1
- package/lib/components/alert/context/ToastPropsDefaults.js +9 -1
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +27 -4
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +27 -4
- package/lib/components/autocomplete/Autocomplete.helpers.js +1 -1
- package/lib/components/box/Box.native.js +5 -8
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +18 -2
- package/lib/components/button/ButtonPropsDefaults.js +9 -1
- package/lib/components/button/list/ButtonListProps.d.ts +2 -2
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +9 -1
- package/lib/components/calendar/Calendar.d.ts +12 -5
- package/lib/components/calendar/Calendar.js +145 -50
- package/lib/components/calendar/Calendar.native.d.ts +16 -0
- package/lib/components/calendar/Calendar.native.js +558 -0
- package/lib/components/calendar/CalendarProps.d.ts +3 -3
- package/lib/components/calendar/CalendarPropsDefaults.js +1 -1
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/calendar/index.js +2 -1
- package/lib/components/card/Card.native.js +7 -11
- package/lib/components/checkbox/list/CheckboxList.js +1 -1
- package/lib/components/checkbox/list/CheckboxListProps.d.ts +3 -3
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +9 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.js +2 -1
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +18 -2
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +9 -1
- package/lib/components/columns/ColumnsPropsDefaults.js +18 -2
- package/lib/components/columns/column/Column.native.js +2 -2
- package/lib/components/columns/column/ColumnPropsDefaults.js +18 -2
- package/lib/components/datepicker/DatePicker.d.ts +22 -0
- package/lib/components/datepicker/DatePicker.js +428 -0
- package/lib/components/datepicker/DatePicker.native.d.ts +19 -0
- package/lib/components/datepicker/DatePicker.native.js +307 -0
- package/lib/components/datepicker/DatePickerEnum.d.ts +7 -0
- package/lib/components/datepicker/DatePickerEnum.js +8 -0
- package/lib/components/datepicker/DatePickerProps.d.ts +37 -0
- package/lib/components/datepicker/DatePickerProps.js +2 -0
- package/lib/components/datepicker/DatePickerPropsDefaults.js +117 -0
- package/lib/components/datepicker/HandleKeyPressDefaults.js +14 -0
- package/lib/components/datepicker/SegmentDefaults.js +33 -0
- package/lib/components/datepicker/SegmentsDefaults.js +14 -0
- package/lib/components/datepicker/index.d.ts +2 -0
- package/lib/components/datepicker/index.js +3 -0
- package/lib/components/divider/DividerPropsDefaults.js +9 -1
- package/lib/components/dropdown/Dropdown.d.ts +13 -0
- package/lib/components/dropdown/Dropdown.js +88 -0
- package/lib/components/dropdown/Dropdown.native.d.ts +4 -0
- package/lib/components/dropdown/Dropdown.native.js +8 -0
- package/lib/components/dropdown/DropdownProps.d.ts +15 -0
- package/lib/components/dropdown/DropdownProps.js +2 -0
- package/lib/components/dropdown/DropdownPropsDefaults.js +53 -0
- package/lib/components/dropdown/context/DropdownContext.d.ts +15 -0
- package/lib/components/dropdown/context/DropdownContext.js +35 -0
- package/lib/components/dropdown/context/index.d.ts +1 -0
- package/lib/components/dropdown/context/index.js +2 -0
- package/lib/components/dropdown/group/DropdownGroup.d.ts +12 -0
- package/lib/components/dropdown/group/DropdownGroup.js +24 -0
- package/lib/components/dropdown/group/DropdownGroup.native.d.ts +4 -0
- package/lib/components/dropdown/group/DropdownGroup.native.js +8 -0
- package/lib/components/dropdown/group/DropdownGroupProps.d.ts +14 -0
- package/lib/components/dropdown/group/DropdownGroupProps.js +2 -0
- package/lib/components/dropdown/group/DropdownGroupPropsDefaults.js +52 -0
- package/lib/components/dropdown/group/index.d.ts +2 -0
- package/lib/components/dropdown/group/index.js +3 -0
- package/lib/components/dropdown/index.d.ts +6 -0
- package/lib/components/dropdown/index.js +7 -0
- package/lib/components/dropdown/item/DropdownItem.d.ts +12 -0
- package/lib/components/dropdown/item/DropdownItem.js +46 -0
- package/lib/components/dropdown/item/DropdownItem.native.d.ts +4 -0
- package/lib/components/dropdown/item/DropdownItem.native.js +8 -0
- package/lib/components/dropdown/item/DropdownItemProps.d.ts +15 -0
- package/lib/components/dropdown/item/DropdownItemProps.js +2 -0
- package/lib/components/dropdown/item/DropdownItemPropsDefaults.js +99 -0
- package/lib/components/dropdown/item/index.d.ts +2 -0
- package/lib/components/dropdown/item/index.js +3 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.js +61 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.d.ts +4 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.js +8 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.js +2 -0
- package/lib/components/dropdown/trigger/DropdownTriggerPropsDefaults.js +44 -0
- package/lib/components/dropdown/trigger/index.d.ts +2 -0
- package/lib/components/dropdown/trigger/index.js +3 -0
- package/lib/components/enumsComponentsName.d.ts +18 -2
- package/lib/components/enumsComponentsName.js +18 -2
- package/lib/components/fab/FabPropsDefaults.js +9 -1
- package/lib/components/flex-box/FlexBox.d.ts +1 -0
- package/lib/components/flex-box/FlexBox.js +23 -5
- package/lib/components/flex-box/FlexBox.native.js +3 -1
- package/lib/components/flex-box/FlexBoxProps.d.ts +5 -0
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +19 -2
- package/lib/components/flex-box/ResponsiveValueDefaults.js +14 -0
- package/lib/components/flex-box/flex-item/FlexItem.js +1 -1
- package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +2 -2
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +18 -2
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +2 -2
- package/lib/components/icon/Icon.native.js +4 -9
- package/lib/components/icon/IconNameEnum.d.ts +5 -1
- package/lib/components/icon/IconNameEnum.js +5 -1
- package/lib/components/icon/IconPropsDefaults.js +9 -1
- package/lib/components/image/Image.d.ts +2 -0
- package/lib/components/image/Image.js +3 -1
- package/lib/components/image/Image.native.d.ts +2 -0
- package/lib/components/image/Image.native.js +29 -6
- package/lib/components/image/ImageProps.d.ts +2 -0
- package/lib/components/image/ImagePropsDefaults.js +27 -2
- package/lib/components/index.d.ts +3 -0
- package/lib/components/index.js +4 -1
- package/lib/components/input/Input.d.ts +1 -0
- package/lib/components/input/Input.js +5 -4
- package/lib/components/input/Input.native.js +20 -93
- package/lib/components/input/InputProps.d.ts +2 -2
- package/lib/components/input/InputPropsDefaults.js +27 -4
- package/lib/components/link/Link.d.ts +1 -0
- package/lib/components/link/Link.js +2 -1
- package/lib/components/link/LinkDefaults.js +16 -1
- package/lib/components/link/LinkProps.d.ts +1 -0
- package/lib/components/link/LinkPropsDefaults.js +16 -1
- package/lib/components/link/LinkPropsNativeDefaults.js +16 -1
- package/lib/components/list/item/ListItemPropsDefaults.js +9 -1
- package/lib/components/modal/Modal.js +2 -2
- package/lib/components/modal/Modal.native.js +4 -4
- package/lib/components/popover/Popover.d.ts +5 -3
- package/lib/components/popover/Popover.js +6 -4
- package/lib/components/price/PricePropsDefaults.js +18 -2
- package/lib/components/progress/index.js +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.js +3 -7
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +18 -2
- package/lib/components/prompt/Prompt.d.ts +4 -0
- package/lib/components/prompt/Prompt.js +22 -0
- package/lib/components/prompt/Prompt.native.d.ts +5 -0
- package/lib/components/prompt/Prompt.native.js +29 -0
- package/lib/components/prompt/PromptProps.d.ts +14 -0
- package/lib/components/prompt/PromptProps.js +6 -0
- package/lib/components/prompt/PromptPropsDefaults.js +44 -0
- package/lib/components/prompt/context/index.d.ts +20 -0
- package/lib/components/prompt/context/index.js +24 -0
- package/lib/components/prompt/files/PromptFiles.d.ts +4 -0
- package/lib/components/prompt/files/PromptFiles.js +23 -0
- package/lib/components/prompt/files/PromptFiles.native.d.ts +5 -0
- package/lib/components/prompt/files/PromptFiles.native.js +26 -0
- package/lib/components/prompt/files/PromptFilesProps.d.ts +10 -0
- package/lib/components/prompt/files/PromptFilesProps.js +2 -0
- package/lib/components/prompt/files/PromptFilesPropsDefaults.js +44 -0
- package/lib/components/prompt/files/file/PromptFile.d.ts +4 -0
- package/lib/components/prompt/files/file/PromptFile.js +40 -0
- package/lib/components/prompt/files/file/PromptFile.native.d.ts +5 -0
- package/lib/components/prompt/files/file/PromptFile.native.js +78 -0
- package/lib/components/prompt/files/file/PromptFileProps.d.ts +13 -0
- package/lib/components/prompt/files/file/PromptFileProps.js +2 -0
- package/lib/components/prompt/files/file/PromptFilePropsDefaults.js +55 -0
- package/lib/components/prompt/files/file/index.d.ts +3 -0
- package/lib/components/prompt/files/file/index.js +4 -0
- package/lib/components/prompt/files/index.d.ts +3 -0
- package/lib/components/prompt/files/index.js +4 -0
- package/lib/components/prompt/index.d.ts +14 -0
- package/lib/components/prompt/index.js +15 -0
- package/lib/components/prompt/textarea/PromptTextarea.d.ts +4 -0
- package/lib/components/prompt/textarea/PromptTextarea.js +32 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.d.ts +5 -0
- package/lib/components/prompt/textarea/PromptTextarea.native.js +48 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.d.ts +14 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.js +2 -0
- package/lib/components/prompt/textarea/PromptTextareaPropsDefaults.js +65 -0
- package/lib/components/prompt/textarea/index.d.ts +3 -0
- package/lib/components/prompt/textarea/index.js +4 -0
- package/lib/components/prompt/toolbar/PromptToolbar.d.ts +4 -0
- package/lib/components/prompt/toolbar/PromptToolbar.js +15 -0
- package/lib/components/prompt/toolbar/PromptToolbar.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/PromptToolbar.native.js +23 -0
- package/lib/components/prompt/toolbar/PromptToolbarProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/PromptToolbarProps.js +2 -0
- package/lib/components/prompt/toolbar/PromptToolbarPropsDefaults.js +44 -0
- package/lib/components/prompt/toolbar/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/index.js +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.d.ts +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.js +18 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +32 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.d.ts +11 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.js +2 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophonePropsDefaults.js +53 -0
- package/lib/components/prompt/toolbar/microphone/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/microphone/index.js +4 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.d.ts +4 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.js +39 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.js +42 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.d.ts +16 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.js +6 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitPropsDefaults.js +52 -0
- package/lib/components/prompt/toolbar/submit/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/submit/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.js +15 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.native.js +22 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/PromptToolsPropsDefaults.js +44 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.js +17 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.js +24 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.d.ts +16 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +135 -0
- package/lib/components/prompt/toolbar/tools/button/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/button/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.js +19 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.js +26 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.d.ts +10 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFilePropsDefaults.js +37 -0
- package/lib/components/prompt/toolbar/tools/inputFile/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/inputFile/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.d.ts +5 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.js +45 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.js +19 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/select/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/index.js +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.js +11 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.js +11 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/select/options/index.d.ts +3 -0
- package/lib/components/prompt/toolbar/tools/select/options/index.js +4 -0
- package/lib/components/radio/EventHandlerDefaults.js +21 -0
- package/lib/components/radio/Radio.js +3 -3
- package/lib/components/radio/Radio.native.d.ts +2 -2
- package/lib/components/radio/Radio.native.js +1 -1
- package/lib/components/radio/RadioNativePropsDefaults.js +9 -0
- package/lib/components/radio/RadioProps.d.ts +9 -2
- package/lib/components/radio/list/RadioList.js +1 -1
- package/lib/components/radio/list/RadioListProps.d.ts +2 -2
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +9 -1
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +18 -2
- package/lib/components/radio/tiles/tile/RadioTile.js +3 -3
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +2 -2
- package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +110 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +8 -3
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +103 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +90 -82
- package/lib/components/segment-control/SegmentControlProps.d.ts +2 -2
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +9 -1
- package/lib/components/select/PropsDefaults.js +9 -1
- package/lib/components/select/Select.native.js +3 -3
- package/lib/components/select/SelectNativePropsDefaults.js +9 -1
- package/lib/components/select/SelectPropsDefaults.js +9 -1
- package/lib/components/select/option/SelectOptionPropsDefaults.js +9 -1
- package/lib/components/skeleton/Skeleton.d.ts +17 -0
- package/lib/components/skeleton/Skeleton.js +19 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +16 -0
- package/lib/components/skeleton/Skeleton.native.js +70 -0
- package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
- package/lib/components/skeleton/SkeletonProps.js +2 -0
- package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
- package/lib/components/skeleton/index.d.ts +3 -0
- package/lib/components/skeleton/index.js +4 -0
- package/lib/components/stepper/step/StepPropsDefaults.js +9 -1
- package/lib/components/sticker/StickerPropsDefaults.js +9 -1
- package/lib/components/tabs/Tabs.d.ts +1 -1
- package/lib/components/tabs/Tabs.js +1 -1
- package/lib/components/tabs/Tabs.native.js +3 -2
- package/lib/components/tabs/TabsPropsDefaults.js +18 -2
- package/lib/components/tabs/context/index.d.ts +1 -0
- package/lib/components/tabs/context/index.js +2 -1
- package/lib/components/tabs/tab-list/TabList.native.js +11 -8
- package/lib/components/tabs/tab-list/TabListProps.d.ts +2 -2
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +9 -1
- package/lib/components/tabs/tab-list/tab/Tab.native.js +8 -4
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +9 -1
- package/lib/components/tag/TagPropsDefaults.js +5 -1
- package/lib/components/tag/list/TagListProps.d.ts +2 -2
- package/lib/components/tag/list/TagListPropsDefaults.js +9 -1
- package/lib/components/text/Text.native.js +7 -8
- package/lib/components/textarea/Textarea.d.ts +2 -4
- package/lib/components/textarea/Textarea.js +5 -7
- package/lib/components/textarea/Textarea.native.d.ts +2 -3
- package/lib/components/textarea/Textarea.native.js +25 -57
- package/lib/components/textarea/TextareaProps.d.ts +2 -3
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +9 -1
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +9 -1
- package/lib/components/title/Title.native.js +4 -8
- package/lib/components/view/ViewPropsDefaults.js +30 -3
- package/lib/helpers/clickOutside.d.ts +1 -0
- package/lib/helpers/clickOutside.js +16 -0
- package/lib/helpers/require.js +1 -1
- package/lib/objects/facets/Alignable.d.ts +10 -3
- package/lib/objects/facets/Alignable.js +12 -5
- package/lib/objects/facets/Justifiable.d.ts +11 -4
- package/lib/objects/facets/Justifiable.js +31 -28
- package/lib/objects/facets/Radius.d.ts +2 -0
- package/lib/objects/facets/Radius.js +14 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -2
- package/package.json +9 -2
|
@@ -88,12 +88,15 @@ export default {
|
|
|
88
88
|
"tri-arrow-right",
|
|
89
89
|
"tri-arrow-up",
|
|
90
90
|
"tri-bell",
|
|
91
|
+
"tri-calendar",
|
|
91
92
|
"tri-check-circle",
|
|
92
93
|
"tri-check",
|
|
93
94
|
"tri-exclamation-circle",
|
|
94
95
|
"tri-eye-slash",
|
|
95
96
|
"tri-eye",
|
|
97
|
+
"tri-file-attached",
|
|
96
98
|
"tri-infos-circle",
|
|
99
|
+
"tri-micro",
|
|
97
100
|
"tri-search",
|
|
98
101
|
"tri-times",
|
|
99
102
|
"tri-trash",
|
|
@@ -105,18 +108,22 @@ export default {
|
|
|
105
108
|
"tri-picto-payment-mastercard",
|
|
106
109
|
"tri-picto-payment-paypal",
|
|
107
110
|
"tri-picto-payment-visa",
|
|
111
|
+
"tri-paperclip",
|
|
108
112
|
"tri-alert",
|
|
109
113
|
"tri-arrow-down",
|
|
110
114
|
"tri-arrow-left",
|
|
111
115
|
"tri-arrow-right",
|
|
112
116
|
"tri-arrow-up",
|
|
113
117
|
"tri-bell",
|
|
118
|
+
"tri-calendar",
|
|
114
119
|
"tri-check-circle",
|
|
115
120
|
"tri-check",
|
|
116
121
|
"tri-exclamation-circle",
|
|
117
122
|
"tri-eye-slash",
|
|
118
123
|
"tri-eye",
|
|
124
|
+
"tri-file-attached",
|
|
119
125
|
"tri-infos-circle",
|
|
126
|
+
"tri-micro",
|
|
120
127
|
"tri-search",
|
|
121
128
|
"tri-times",
|
|
122
129
|
"tri-trash",
|
|
@@ -127,7 +134,8 @@ export default {
|
|
|
127
134
|
"tri-picto-payment-cb",
|
|
128
135
|
"tri-picto-payment-mastercard",
|
|
129
136
|
"tri-picto-payment-paypal",
|
|
130
|
-
"tri-picto-payment-visa"
|
|
137
|
+
"tri-picto-payment-visa",
|
|
138
|
+
"tri-paperclip"
|
|
131
139
|
]
|
|
132
140
|
},
|
|
133
141
|
"selected": {
|
|
@@ -88,12 +88,15 @@ export default {
|
|
|
88
88
|
"tri-arrow-right",
|
|
89
89
|
"tri-arrow-up",
|
|
90
90
|
"tri-bell",
|
|
91
|
+
"tri-calendar",
|
|
91
92
|
"tri-check-circle",
|
|
92
93
|
"tri-check",
|
|
93
94
|
"tri-exclamation-circle",
|
|
94
95
|
"tri-eye-slash",
|
|
95
96
|
"tri-eye",
|
|
97
|
+
"tri-file-attached",
|
|
96
98
|
"tri-infos-circle",
|
|
99
|
+
"tri-micro",
|
|
97
100
|
"tri-search",
|
|
98
101
|
"tri-times",
|
|
99
102
|
"tri-trash",
|
|
@@ -105,18 +108,22 @@ export default {
|
|
|
105
108
|
"tri-picto-payment-mastercard",
|
|
106
109
|
"tri-picto-payment-paypal",
|
|
107
110
|
"tri-picto-payment-visa",
|
|
111
|
+
"tri-paperclip",
|
|
108
112
|
"tri-alert",
|
|
109
113
|
"tri-arrow-down",
|
|
110
114
|
"tri-arrow-left",
|
|
111
115
|
"tri-arrow-right",
|
|
112
116
|
"tri-arrow-up",
|
|
113
117
|
"tri-bell",
|
|
118
|
+
"tri-calendar",
|
|
114
119
|
"tri-check-circle",
|
|
115
120
|
"tri-check",
|
|
116
121
|
"tri-exclamation-circle",
|
|
117
122
|
"tri-eye-slash",
|
|
118
123
|
"tri-eye",
|
|
124
|
+
"tri-file-attached",
|
|
119
125
|
"tri-infos-circle",
|
|
126
|
+
"tri-micro",
|
|
120
127
|
"tri-search",
|
|
121
128
|
"tri-times",
|
|
122
129
|
"tri-trash",
|
|
@@ -127,7 +134,8 @@ export default {
|
|
|
127
134
|
"tri-picto-payment-cb",
|
|
128
135
|
"tri-picto-payment-mastercard",
|
|
129
136
|
"tri-picto-payment-paypal",
|
|
130
|
-
"tri-picto-payment-visa"
|
|
137
|
+
"tri-picto-payment-visa",
|
|
138
|
+
"tri-paperclip"
|
|
131
139
|
]
|
|
132
140
|
},
|
|
133
141
|
"selected": {
|
|
@@ -45,12 +45,15 @@ export default {
|
|
|
45
45
|
"tri-arrow-right",
|
|
46
46
|
"tri-arrow-up",
|
|
47
47
|
"tri-bell",
|
|
48
|
+
"tri-calendar",
|
|
48
49
|
"tri-check-circle",
|
|
49
50
|
"tri-check",
|
|
50
51
|
"tri-exclamation-circle",
|
|
51
52
|
"tri-eye-slash",
|
|
52
53
|
"tri-eye",
|
|
54
|
+
"tri-file-attached",
|
|
53
55
|
"tri-infos-circle",
|
|
56
|
+
"tri-micro",
|
|
54
57
|
"tri-search",
|
|
55
58
|
"tri-times",
|
|
56
59
|
"tri-trash",
|
|
@@ -62,18 +65,22 @@ export default {
|
|
|
62
65
|
"tri-picto-payment-mastercard",
|
|
63
66
|
"tri-picto-payment-paypal",
|
|
64
67
|
"tri-picto-payment-visa",
|
|
68
|
+
"tri-paperclip",
|
|
65
69
|
"tri-alert",
|
|
66
70
|
"tri-arrow-down",
|
|
67
71
|
"tri-arrow-left",
|
|
68
72
|
"tri-arrow-right",
|
|
69
73
|
"tri-arrow-up",
|
|
70
74
|
"tri-bell",
|
|
75
|
+
"tri-calendar",
|
|
71
76
|
"tri-check-circle",
|
|
72
77
|
"tri-check",
|
|
73
78
|
"tri-exclamation-circle",
|
|
74
79
|
"tri-eye-slash",
|
|
75
80
|
"tri-eye",
|
|
81
|
+
"tri-file-attached",
|
|
76
82
|
"tri-infos-circle",
|
|
83
|
+
"tri-micro",
|
|
77
84
|
"tri-search",
|
|
78
85
|
"tri-times",
|
|
79
86
|
"tri-trash",
|
|
@@ -84,7 +91,8 @@ export default {
|
|
|
84
91
|
"tri-picto-payment-cb",
|
|
85
92
|
"tri-picto-payment-mastercard",
|
|
86
93
|
"tri-picto-payment-paypal",
|
|
87
|
-
"tri-picto-payment-visa"
|
|
94
|
+
"tri-picto-payment-visa",
|
|
95
|
+
"tri-paperclip"
|
|
88
96
|
]
|
|
89
97
|
},
|
|
90
98
|
"accessibilityLabel": {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SkeletonProps } from './SkeletonProps';
|
|
3
|
+
/**
|
|
4
|
+
* Skeleton component to display a loading placeholder with shimmer effect.
|
|
5
|
+
* ---------------------- native ------------------------
|
|
6
|
+
* @param style - Custom styles for the skeleton container.
|
|
7
|
+
* @param width - Width of the skeleton. Default is '100%'.
|
|
8
|
+
* @param height - Height of the skeleton. Default is 20.
|
|
9
|
+
* @param backgroundColor - Background color of the skeleton.
|
|
10
|
+
* @param shimmerColor - Color of the shimmer effect.
|
|
11
|
+
* @param duration - Duration of the shimmer animation in milliseconds. Default is 1200.
|
|
12
|
+
* @param borderRadius - Border radius of the skeleton. Default is 4.
|
|
13
|
+
* @param children - Optional children to render inside the skeleton.
|
|
14
|
+
* @param testID - Test identifier for testing purposes.
|
|
15
|
+
*/
|
|
16
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
17
|
+
export default Skeleton;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Skeleton component to display a loading placeholder with shimmer effect.
|
|
4
|
+
* ---------------------- native ------------------------
|
|
5
|
+
* @param style - Custom styles for the skeleton container.
|
|
6
|
+
* @param width - Width of the skeleton. Default is '100%'.
|
|
7
|
+
* @param height - Height of the skeleton. Default is 20.
|
|
8
|
+
* @param backgroundColor - Background color of the skeleton.
|
|
9
|
+
* @param shimmerColor - Color of the shimmer effect.
|
|
10
|
+
* @param duration - Duration of the shimmer animation in milliseconds. Default is 1200.
|
|
11
|
+
* @param borderRadius - Border radius of the skeleton. Default is 4.
|
|
12
|
+
* @param children - Optional children to render inside the skeleton.
|
|
13
|
+
* @param testID - Test identifier for testing purposes.
|
|
14
|
+
*/
|
|
15
|
+
var Skeleton = function () {
|
|
16
|
+
return (React.createElement(React.Fragment, null));
|
|
17
|
+
};
|
|
18
|
+
export default Skeleton;
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2tlbGV0b24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL3NrZWxldG9uL1NrZWxldG9uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUE7QUFHekI7Ozs7Ozs7Ozs7OztHQVlHO0FBQ0gsSUFBTSxRQUFRLEdBQTRCO0lBQ3hDLE9BQU8sQ0FDTCx5Q0FBSyxDQUNOLENBQUE7QUFDSCxDQUFDLENBQUE7QUFFRCxlQUFlLFFBQVEsQ0FBQSJ9
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SkeletonProps } from './SkeletonProps';
|
|
3
|
+
/**
|
|
4
|
+
* Skeleton component to display a loading placeholder with shimmer effect.
|
|
5
|
+
* @param style - Custom styles for the skeleton container.
|
|
6
|
+
* @param width - Width of the skeleton. Default is '100%'.
|
|
7
|
+
* @param height - Height of the skeleton. Default is 20.
|
|
8
|
+
* @param backgroundColor - Background color of the skeleton.
|
|
9
|
+
* @param shimmerColor - Color of the shimmer effect.
|
|
10
|
+
* @param duration - Duration of the shimmer animation in milliseconds. Default is 1200.
|
|
11
|
+
* @param borderRadius - Border radius of the skeleton. Default is 4.
|
|
12
|
+
* @param children - Optional children to render inside the skeleton.
|
|
13
|
+
* @param testID - Test identifier for testing purposes.
|
|
14
|
+
*/
|
|
15
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
16
|
+
export default Skeleton;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __assign, __read } from "tslib";
|
|
2
|
+
import React, { useEffect, useRef } from 'react';
|
|
3
|
+
import { View, Animated } from 'react-native';
|
|
4
|
+
/**
|
|
5
|
+
* Skeleton component to display a loading placeholder with shimmer effect.
|
|
6
|
+
* @param style - Custom styles for the skeleton container.
|
|
7
|
+
* @param width - Width of the skeleton. Default is '100%'.
|
|
8
|
+
* @param height - Height of the skeleton. Default is 20.
|
|
9
|
+
* @param backgroundColor - Background color of the skeleton.
|
|
10
|
+
* @param shimmerColor - Color of the shimmer effect.
|
|
11
|
+
* @param duration - Duration of the shimmer animation in milliseconds. Default is 1200.
|
|
12
|
+
* @param borderRadius - Border radius of the skeleton. Default is 4.
|
|
13
|
+
* @param children - Optional children to render inside the skeleton.
|
|
14
|
+
* @param testID - Test identifier for testing purposes.
|
|
15
|
+
*/
|
|
16
|
+
var Skeleton = function (_a) {
|
|
17
|
+
var style = _a.style, _b = _a.width, width = _b === void 0 ? '100%' : _b, _c = _a.height, height = _c === void 0 ? 20 : _c, _d = _a.backgroundColor, backgroundColor = _d === void 0 ? '#E1E9EE' : _d, _e = _a.shimmerColor, shimmerColor = _e === void 0 ? '#F7F8F8' : _e, _f = _a.duration, duration = _f === void 0 ? 1200 : _f, _g = _a.borderRadius, borderRadius = _g === void 0 ? 4 : _g, children = _a.children, testID = _a.testID;
|
|
18
|
+
var shimmerValue = useRef(new Animated.Value(0)).current;
|
|
19
|
+
var _h = __read(React.useState(200), 2), containerWidth = _h[0], setContainerWidth = _h[1];
|
|
20
|
+
useEffect(function () {
|
|
21
|
+
var shimmerAnimation = Animated.loop(Animated.timing(shimmerValue, {
|
|
22
|
+
toValue: 1,
|
|
23
|
+
duration: duration,
|
|
24
|
+
useNativeDriver: true,
|
|
25
|
+
}), { iterations: -1 });
|
|
26
|
+
shimmerAnimation.start();
|
|
27
|
+
return function () { return shimmerAnimation.stop(); };
|
|
28
|
+
}, [shimmerValue, duration]);
|
|
29
|
+
var translateX = shimmerValue.interpolate({
|
|
30
|
+
inputRange: [0, 1],
|
|
31
|
+
outputRange: [-containerWidth, containerWidth],
|
|
32
|
+
});
|
|
33
|
+
var opacity = shimmerValue.interpolate({
|
|
34
|
+
inputRange: [0, 0.5, 1],
|
|
35
|
+
outputRange: [0.3, 0.8, 0.3],
|
|
36
|
+
});
|
|
37
|
+
var containerStyle = __assign({ width: children ? undefined : width, height: children ? undefined : height, backgroundColor: backgroundColor, borderRadius: borderRadius, overflow: 'hidden', alignSelf: children ? 'flex-start' : undefined }, style);
|
|
38
|
+
var handleLayout = function (event) {
|
|
39
|
+
var layoutWidth = event.nativeEvent.layout.width;
|
|
40
|
+
setContainerWidth(layoutWidth);
|
|
41
|
+
};
|
|
42
|
+
if (children) {
|
|
43
|
+
return (React.createElement(View, { style: containerStyle, testID: testID, onLayout: handleLayout },
|
|
44
|
+
React.createElement(View, { style: { opacity: 0 } }, children),
|
|
45
|
+
React.createElement(Animated.View, { style: [
|
|
46
|
+
{
|
|
47
|
+
position: 'absolute',
|
|
48
|
+
top: 0,
|
|
49
|
+
left: 0,
|
|
50
|
+
width: containerWidth * 0.7,
|
|
51
|
+
height: '100%',
|
|
52
|
+
backgroundColor: shimmerColor,
|
|
53
|
+
opacity: opacity,
|
|
54
|
+
transform: [{ translateX: translateX }],
|
|
55
|
+
},
|
|
56
|
+
] })));
|
|
57
|
+
}
|
|
58
|
+
return (React.createElement(View, { style: containerStyle, testID: testID, onLayout: handleLayout },
|
|
59
|
+
React.createElement(Animated.View, { style: [
|
|
60
|
+
{
|
|
61
|
+
width: containerWidth * 0.7,
|
|
62
|
+
height: '100%',
|
|
63
|
+
backgroundColor: shimmerColor,
|
|
64
|
+
opacity: opacity,
|
|
65
|
+
transform: [{ translateX: translateX }],
|
|
66
|
+
},
|
|
67
|
+
] })));
|
|
68
|
+
};
|
|
69
|
+
export default Skeleton;
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2tlbGV0b24ubmF0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcG9uZW50cy9za2VsZXRvbi9Ta2VsZXRvbi5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEtBQUssRUFBRSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxPQUFPLENBQUE7QUFDaEQsT0FBTyxFQUFFLElBQUksRUFBYSxRQUFRLEVBQUUsTUFBTSxjQUFjLENBQUE7QUFHeEQ7Ozs7Ozs7Ozs7O0dBV0c7QUFDSCxJQUFNLFFBQVEsR0FBNEIsVUFBQyxFQVUxQztRQVRDLEtBQUssV0FBQSxFQUNMLGFBQWMsRUFBZCxLQUFLLG1CQUFHLE1BQU0sS0FBQSxFQUNkLGNBQVcsRUFBWCxNQUFNLG1CQUFHLEVBQUUsS0FBQSxFQUNYLHVCQUEyQixFQUEzQixlQUFlLG1CQUFHLFNBQVMsS0FBQSxFQUMzQixvQkFBd0IsRUFBeEIsWUFBWSxtQkFBRyxTQUFTLEtBQUEsRUFDeEIsZ0JBQWUsRUFBZixRQUFRLG1CQUFHLElBQUksS0FBQSxFQUNmLG9CQUFnQixFQUFoQixZQUFZLG1CQUFHLENBQUMsS0FBQSxFQUNoQixRQUFRLGNBQUEsRUFDUixNQUFNLFlBQUE7SUFFTixJQUFNLFlBQVksR0FBRyxNQUFNLENBQUMsSUFBSSxRQUFRLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFBO0lBQ3BELElBQUEsS0FBQSxPQUFzQyxLQUFLLENBQUMsUUFBUSxDQUF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QUNELENBQ0csQ0FDUixDQUFBO0tBQ0Y7SUFFRCxPQUFPLENBQ0wsb0JBQUMsSUFBSSxJQUFDLEtBQUssRUFBRSxjQUFjLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsWUFBWTtRQUNqRSxvQkFBQyxRQUFRLENBQUMsSUFBSSxJQUNaLEtBQUssRUFBRTtnQkFDTDtvQkFDRSxLQUFLLEVBQUUsY0FBYyxHQUFHLEdBQUc7b0JBQzNCLE1BQU0sRUFBRSxNQUFNO29CQUNkLGVBQWUsRUFBRSxZQUFZO29CQUM3QixPQUFPLFNBQUE7b0JBQ1AsU0FBUyxFQUFFLENBQUMsRUFBRSxVQUFVLFlBQUEsRUFBRSxDQUFDO2lCQUM1QjthQUNGLEdBQ0QsQ0FDRyxDQUNSLENBQUE7QUFDSCxDQUFDLENBQUE7QUFFRCxlQUFlLFFBQVEsQ0FBQSJ9
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewStyle, DimensionValue } from 'react-native';
|
|
3
|
+
export interface SkeletonProps {
|
|
4
|
+
style?: ViewStyle;
|
|
5
|
+
width?: DimensionValue;
|
|
6
|
+
height?: DimensionValue;
|
|
7
|
+
backgroundColor?: string;
|
|
8
|
+
shimmerColor?: string;
|
|
9
|
+
duration?: number;
|
|
10
|
+
borderRadius?: number;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
testID?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"style": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"ViewStyle"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"width": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"values": [
|
|
12
|
+
"undefined",
|
|
13
|
+
"null",
|
|
14
|
+
"number",
|
|
15
|
+
"auto",
|
|
16
|
+
"`${number}%`",
|
|
17
|
+
"AnimatedNode"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"height": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"values": [
|
|
23
|
+
"undefined",
|
|
24
|
+
"null",
|
|
25
|
+
"number",
|
|
26
|
+
"auto",
|
|
27
|
+
"`${number}%`",
|
|
28
|
+
"AnimatedNode"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"backgroundColor": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"values": [
|
|
34
|
+
"undefined",
|
|
35
|
+
"string"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"shimmerColor": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"values": [
|
|
41
|
+
"undefined",
|
|
42
|
+
"string"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"duration": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"values": [
|
|
48
|
+
"undefined",
|
|
49
|
+
"number"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"borderRadius": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"values": [
|
|
55
|
+
"undefined",
|
|
56
|
+
"number"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"children": {
|
|
60
|
+
"type": "react",
|
|
61
|
+
"values": [
|
|
62
|
+
"undefined",
|
|
63
|
+
"null",
|
|
64
|
+
"string",
|
|
65
|
+
"number",
|
|
66
|
+
"false",
|
|
67
|
+
"true",
|
|
68
|
+
"JSXElementConstructor<any>>",
|
|
69
|
+
"ReactNode>",
|
|
70
|
+
"ReactPortal"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"testID": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"values": [
|
|
76
|
+
"undefined",
|
|
77
|
+
"string"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import Skeleton from './Skeleton';
|
|
2
|
+
export * from './SkeletonProps';
|
|
3
|
+
export { Skeleton };
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL3NrZWxldG9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sUUFBUSxNQUFNLFlBQVksQ0FBQTtBQUVqQyxjQUFjLGlCQUFpQixDQUFBO0FBRS9CLE9BQU8sRUFBRSxRQUFRLEVBQUUsQ0FBQSJ9
|
|
@@ -40,12 +40,15 @@ export default {
|
|
|
40
40
|
"tri-arrow-right",
|
|
41
41
|
"tri-arrow-up",
|
|
42
42
|
"tri-bell",
|
|
43
|
+
"tri-calendar",
|
|
43
44
|
"tri-check-circle",
|
|
44
45
|
"tri-check",
|
|
45
46
|
"tri-exclamation-circle",
|
|
46
47
|
"tri-eye-slash",
|
|
47
48
|
"tri-eye",
|
|
49
|
+
"tri-file-attached",
|
|
48
50
|
"tri-infos-circle",
|
|
51
|
+
"tri-micro",
|
|
49
52
|
"tri-search",
|
|
50
53
|
"tri-times",
|
|
51
54
|
"tri-trash",
|
|
@@ -57,18 +60,22 @@ export default {
|
|
|
57
60
|
"tri-picto-payment-mastercard",
|
|
58
61
|
"tri-picto-payment-paypal",
|
|
59
62
|
"tri-picto-payment-visa",
|
|
63
|
+
"tri-paperclip",
|
|
60
64
|
"tri-alert",
|
|
61
65
|
"tri-arrow-down",
|
|
62
66
|
"tri-arrow-left",
|
|
63
67
|
"tri-arrow-right",
|
|
64
68
|
"tri-arrow-up",
|
|
65
69
|
"tri-bell",
|
|
70
|
+
"tri-calendar",
|
|
66
71
|
"tri-check-circle",
|
|
67
72
|
"tri-check",
|
|
68
73
|
"tri-exclamation-circle",
|
|
69
74
|
"tri-eye-slash",
|
|
70
75
|
"tri-eye",
|
|
76
|
+
"tri-file-attached",
|
|
71
77
|
"tri-infos-circle",
|
|
78
|
+
"tri-micro",
|
|
72
79
|
"tri-search",
|
|
73
80
|
"tri-times",
|
|
74
81
|
"tri-trash",
|
|
@@ -79,7 +86,8 @@ export default {
|
|
|
79
86
|
"tri-picto-payment-cb",
|
|
80
87
|
"tri-picto-payment-mastercard",
|
|
81
88
|
"tri-picto-payment-paypal",
|
|
82
|
-
"tri-picto-payment-visa"
|
|
89
|
+
"tri-picto-payment-visa",
|
|
90
|
+
"tri-paperclip"
|
|
83
91
|
]
|
|
84
92
|
},
|
|
85
93
|
"error": {
|
|
@@ -13,12 +13,15 @@ export default {
|
|
|
13
13
|
"tri-arrow-right",
|
|
14
14
|
"tri-arrow-up",
|
|
15
15
|
"tri-bell",
|
|
16
|
+
"tri-calendar",
|
|
16
17
|
"tri-check-circle",
|
|
17
18
|
"tri-check",
|
|
18
19
|
"tri-exclamation-circle",
|
|
19
20
|
"tri-eye-slash",
|
|
20
21
|
"tri-eye",
|
|
22
|
+
"tri-file-attached",
|
|
21
23
|
"tri-infos-circle",
|
|
24
|
+
"tri-micro",
|
|
22
25
|
"tri-search",
|
|
23
26
|
"tri-times",
|
|
24
27
|
"tri-trash",
|
|
@@ -30,18 +33,22 @@ export default {
|
|
|
30
33
|
"tri-picto-payment-mastercard",
|
|
31
34
|
"tri-picto-payment-paypal",
|
|
32
35
|
"tri-picto-payment-visa",
|
|
36
|
+
"tri-paperclip",
|
|
33
37
|
"tri-alert",
|
|
34
38
|
"tri-arrow-down",
|
|
35
39
|
"tri-arrow-left",
|
|
36
40
|
"tri-arrow-right",
|
|
37
41
|
"tri-arrow-up",
|
|
38
42
|
"tri-bell",
|
|
43
|
+
"tri-calendar",
|
|
39
44
|
"tri-check-circle",
|
|
40
45
|
"tri-check",
|
|
41
46
|
"tri-exclamation-circle",
|
|
42
47
|
"tri-eye-slash",
|
|
43
48
|
"tri-eye",
|
|
49
|
+
"tri-file-attached",
|
|
44
50
|
"tri-infos-circle",
|
|
51
|
+
"tri-micro",
|
|
45
52
|
"tri-search",
|
|
46
53
|
"tri-times",
|
|
47
54
|
"tri-trash",
|
|
@@ -52,7 +59,8 @@ export default {
|
|
|
52
59
|
"tri-picto-payment-cb",
|
|
53
60
|
"tri-picto-payment-mastercard",
|
|
54
61
|
"tri-picto-payment-paypal",
|
|
55
|
-
"tri-picto-payment-visa"
|
|
62
|
+
"tri-picto-payment-visa",
|
|
63
|
+
"tri-paperclip"
|
|
56
64
|
]
|
|
57
65
|
},
|
|
58
66
|
"outlined": {
|
|
@@ -5,9 +5,9 @@ import React from 'react';
|
|
|
5
5
|
* @param children {ReactNode} Children for tabs
|
|
6
6
|
* @param activeIndex {number} default active tab index
|
|
7
7
|
* @param inverted {boolean} Inverted style
|
|
8
|
+
* @param fullwidth {boolean} Fullwidth tabs
|
|
8
9
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
9
10
|
* @param className {string} Additional CSS Classes
|
|
10
|
-
* @param fullwidth {boolean} Fullwidth tabs
|
|
11
11
|
* @param small {boolean} small tabs
|
|
12
12
|
* @param id
|
|
13
13
|
*/
|
|
@@ -11,9 +11,9 @@ import { ComponentName } from '../enumsComponentsName';
|
|
|
11
11
|
* @param children {ReactNode} Children for tabs
|
|
12
12
|
* @param activeIndex {number} default active tab index
|
|
13
13
|
* @param inverted {boolean} Inverted style
|
|
14
|
+
* @param fullwidth {boolean} Fullwidth tabs
|
|
14
15
|
* - -------------------------- WEB PROPERTIES -------------------------------
|
|
15
16
|
* @param className {string} Additional CSS Classes
|
|
16
|
-
* @param fullwidth {boolean} Fullwidth tabs
|
|
17
17
|
* @param small {boolean} small tabs
|
|
18
18
|
* @param id
|
|
19
19
|
*/
|
|
@@ -10,7 +10,7 @@ import { View } from 'react-native';
|
|
|
10
10
|
* @param inverted {boolean} Inverted style
|
|
11
11
|
*/
|
|
12
12
|
var Tabs = React.forwardRef(function (_a, ref) {
|
|
13
|
-
var children = _a.children, activeIndex = _a.activeIndex, inverted = _a.inverted;
|
|
13
|
+
var children = _a.children, activeIndex = _a.activeIndex, inverted = _a.inverted, fullwidth = _a.fullwidth;
|
|
14
14
|
var _b = __read(React.useState(activeIndex || 0), 2), currentIndex = _b[0], setCurrentIndex = _b[1];
|
|
15
15
|
var _c = __read(React.useState(inverted || false), 2), isInverted = _c[0], setIsInverted = _c[1];
|
|
16
16
|
React.useEffect(function () {
|
|
@@ -24,9 +24,10 @@ var Tabs = React.forwardRef(function (_a, ref) {
|
|
|
24
24
|
inverted: isInverted,
|
|
25
25
|
setInverted: setIsInverted,
|
|
26
26
|
setActiveIndex: setCurrentIndex,
|
|
27
|
+
fullwidth: fullwidth,
|
|
27
28
|
} },
|
|
28
29
|
React.createElement(View, { ref: ref }, children)));
|
|
29
30
|
});
|
|
30
31
|
Tabs.displayName = ComponentName.Tabs;
|
|
31
32
|
export default Tabs;
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGFicy5uYXRpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL3RhYnMvVGFicy5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFFaEUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDJCQUEyQixDQUFBO0FBQ3ZELE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUN6QixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFBO0FBRW5DOzs7OztHQUtHO0FBQ0gsSUFBTSxJQUFJLEdBQUcsS0FBSyxDQUFDLFVBQVUsQ0FBMkIsVUFBQyxFQUE4QyxFQUFFLEdBQUc7UUFBakQsUUFBUSxjQUFBLEVBQUUsV0FBVyxpQk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,15 @@ export default {
|
|
|
55
55
|
"ALIGNED_CENTER",
|
|
56
56
|
"ALIGNED_START",
|
|
57
57
|
"ALIGNED_END",
|
|
58
|
-
"ALIGNED_STRETCH"
|
|
58
|
+
"ALIGNED_STRETCH",
|
|
59
|
+
"CENTER",
|
|
60
|
+
"START",
|
|
61
|
+
"END",
|
|
62
|
+
"STRETCH",
|
|
63
|
+
"CENTER",
|
|
64
|
+
"START",
|
|
65
|
+
"END",
|
|
66
|
+
"STRETCH"
|
|
59
67
|
]
|
|
60
68
|
},
|
|
61
69
|
"verticalAlign": {
|
|
@@ -69,7 +77,15 @@ export default {
|
|
|
69
77
|
"ALIGNED_CENTER",
|
|
70
78
|
"ALIGNED_START",
|
|
71
79
|
"ALIGNED_END",
|
|
72
|
-
"ALIGNED_STRETCH"
|
|
80
|
+
"ALIGNED_STRETCH",
|
|
81
|
+
"CENTER",
|
|
82
|
+
"START",
|
|
83
|
+
"END",
|
|
84
|
+
"STRETCH",
|
|
85
|
+
"CENTER",
|
|
86
|
+
"START",
|
|
87
|
+
"END",
|
|
88
|
+
"STRETCH"
|
|
73
89
|
]
|
|
74
90
|
},
|
|
75
91
|
"onClick": {
|
|
@@ -5,5 +5,6 @@ export var TabsContext = React.createContext({
|
|
|
5
5
|
setActiveIndex: function () { return 0; },
|
|
6
6
|
setInverted: function () { return false; },
|
|
7
7
|
small: false,
|
|
8
|
+
fullwidth: false,
|
|
8
9
|
});
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb21wb25lbnRzL3RhYnMvY29udGV4dC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFBO0FBV3pCLE1BQU0sQ0FBQyxJQUFNLFdBQVcsR0FBRyxLQUFLLENBQUMsYUFBYSxDQUFXO0lBQ3ZELFdBQVcsRUFBRSxDQUFDO0lBQ2QsUUFBUSxFQUFFLEtBQUs7SUFDZixjQUFjLEVBQUUsY0FBTSxPQUFBLENBQUMsRUFBRCxDQUFDO0lBQ3ZCLFdBQVcsRUFBRSxjQUFNLE9BQUEsS0FBSyxFQUFMLENBQUs7SUFDeEIsS0FBSyxFQUFFLEtBQUs7SUFDWixTQUFTLEVBQUUsS0FBSztDQUNqQixDQUFDLENBQUEifQ==
|