@trilogy-ds/react 4.14.5-stroke-fade → 4.15.0-beta-2
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/Alert.js +3 -3
- package/lib/components/alert/AlertPropsDefaults.js +11 -1
- package/lib/components/alert/ToasterStatusPropsDefaults.js +11 -1
- package/lib/components/alert/context/ToastPropsDefaults.js +11 -1
- package/lib/components/autocomplete/AutoComplete.js +7 -5
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +22 -2
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +22 -2
- package/lib/components/button/ButtonPropsDefaults.js +11 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.d.ts +1 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.js +26 -4
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +2 -3
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +34 -7
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +4 -2
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +19 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContext.d.ts +3 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContext.js +5 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContextProps.d.ts +3 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContextProps.js +2 -0
- package/lib/components/checkbox/tiles/context/CheckboxTilesContextPropsDefaults.js +9 -0
- package/lib/components/checkbox/tiles/context/index.d.ts +2 -0
- package/lib/components/checkbox/tiles/context/index.js +3 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +1 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +26 -13
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +10 -6
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.ts +4 -3
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +25 -1
- package/lib/components/divider/DividerPropsDefaults.js +11 -1
- package/lib/components/dropdown/item/DropdownItemPropsDefaults.js +11 -1
- package/lib/components/enumsComponentsName.d.ts +15 -1
- package/lib/components/enumsComponentsName.js +15 -1
- package/lib/components/fab/FabPropsDefaults.js +11 -1
- package/lib/components/icon/IconNameEnum.d.ts +6 -1
- package/lib/components/icon/IconNameEnum.js +6 -1
- package/lib/components/icon/IconPropsDefaults.js +11 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +3 -1
- package/lib/components/input/Input.js +3 -3
- package/lib/components/input/Input.native.js +6 -22
- package/lib/components/input/InputPropsDefaults.js +22 -2
- package/lib/components/link/LinkDefaults.js +11 -1
- package/lib/components/link/LinkPropsDefaults.js +11 -1
- package/lib/components/link/LinkPropsNativeDefaults.js +11 -1
- package/lib/components/list/item/ListItemPropsDefaults.js +11 -1
- package/lib/components/modal/Modal.native.js +2 -2
- package/lib/components/prompt/Prompt.d.ts +13 -0
- package/lib/components/prompt/Prompt.js +36 -0
- package/lib/components/prompt/Prompt.native.d.ts +5 -0
- package/lib/components/prompt/Prompt.native.js +30 -0
- package/lib/components/prompt/PromptProps.d.ts +16 -0
- package/lib/components/prompt/PromptProps.js +6 -0
- package/lib/components/prompt/PromptPropsDefaults.js +60 -0
- package/lib/components/prompt/context/index.d.ts +29 -0
- package/lib/components/prompt/context/index.js +44 -0
- package/lib/components/prompt/files/PromptFiles.d.ts +10 -0
- package/lib/components/prompt/files/PromptFiles.js +29 -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 +13 -0
- package/lib/components/prompt/files/file/PromptFile.js +49 -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 +15 -0
- package/lib/components/prompt/textarea/PromptTextarea.js +42 -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 +16 -0
- package/lib/components/prompt/textarea/PromptTextareaProps.js +2 -0
- package/lib/components/prompt/textarea/PromptTextareaPropsDefaults.js +81 -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 +10 -0
- package/lib/components/prompt/toolbar/PromptToolbar.js +21 -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 +14 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.js +35 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +33 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.d.ts +12 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.js +2 -0
- package/lib/components/prompt/toolbar/microphone/PromptMicrophonePropsDefaults.js +61 -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 +15 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.js +54 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.d.ts +5 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmit.native.js +44 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.d.ts +18 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitProps.js +6 -0
- package/lib/components/prompt/toolbar/submit/PromptSubmitPropsDefaults.js +68 -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 +10 -0
- package/lib/components/prompt/toolbar/tools/PromptTools.js +21 -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 +16 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.js +35 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButton.native.js +33 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.d.ts +19 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +157 -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 +13 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.js +37 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.js +30 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.d.ts +12 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.js +2 -0
- package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFilePropsDefaults.js +53 -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 +16 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.js +62 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.d.ts +4 -0
- package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.js +22 -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 +12 -0
- package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.js +19 -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/tiles/RadioTiles.d.ts +1 -0
- package/lib/components/radio/tiles/RadioTiles.js +27 -5
- package/lib/components/radio/tiles/RadioTiles.native.d.ts +3 -3
- package/lib/components/radio/tiles/RadioTiles.native.js +35 -7
- package/lib/components/radio/tiles/RadioTilesProps.d.ts +4 -5
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +19 -0
- package/lib/components/radio/tiles/context/RadioTilesContext.d.ts +3 -0
- package/lib/components/radio/tiles/context/RadioTilesContext.js +5 -0
- package/lib/components/radio/tiles/context/RadioTilesContextProps.d.ts +3 -0
- package/lib/components/radio/tiles/context/RadioTilesContextProps.js +2 -0
- package/lib/components/radio/tiles/context/RadioTilesContextPropsDefaults.js +9 -0
- package/lib/components/radio/tiles/context/index.d.ts +2 -0
- package/lib/components/radio/tiles/context/index.js +3 -0
- package/lib/components/radio/tiles/tile/RadioTile.d.ts +1 -1
- package/lib/components/radio/tiles/tile/RadioTile.js +23 -20
- package/lib/components/radio/tiles/tile/RadioTile.native.js +8 -5
- package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +21 -4
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +5 -3
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +11 -1
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +19 -76
- package/lib/components/select/PropsDefaults.js +19 -1
- package/lib/components/select/Select.native.js +9 -9
- package/lib/components/select/SelectNativePropsDefaults.js +19 -1
- package/lib/components/select/SelectProps.d.ts +1 -0
- package/lib/components/select/SelectPropsDefaults.js +19 -1
- package/lib/components/select/option/SelectOptionPropsDefaults.js +11 -1
- package/lib/components/select/web/SelectNative.js +2 -2
- package/lib/components/stepper/Stepper.js +26 -17
- package/lib/components/stepper/Stepper.native.js +20 -26
- package/lib/components/stepper/step/Step.js +8 -15
- package/lib/components/stepper/step/StepPropsDefaults.js +11 -1
- package/lib/components/sticker/StickerPropsDefaults.js +11 -1
- package/lib/components/table/Table.native.js +2 -2
- package/lib/components/table/td/TableTd.native.js +3 -3
- package/lib/components/table/th/TableTh.native.js +2 -2
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +11 -1
- package/lib/components/tag/TagPropsDefaults.js +6 -1
- package/lib/components/text/TextPropsDefaults.js +4 -0
- package/lib/components/textarea/Textarea.native.js +27 -18
- package/lib/components/textarea/TextareaProps.d.ts +2 -2
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +11 -1
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +11 -1
- package/lib/components/timepicker/BaseTimepickerPropsDefaults.js +52 -0
- package/lib/components/timepicker/CircularTimepickerPropsDefaults.js +56 -0
- package/lib/components/timepicker/DefaultTimepickerPropsDefaults.js +88 -0
- package/lib/components/timepicker/Timepicker.d.ts +16 -0
- package/lib/components/timepicker/Timepicker.js +26 -0
- package/lib/components/timepicker/Timepicker.native.d.ts +4 -0
- package/lib/components/timepicker/Timepicker.native.js +14 -0
- package/lib/components/timepicker/TimepickerProps.d.ts +23 -0
- package/lib/components/timepicker/TimepickerProps.js +2 -0
- package/lib/components/timepicker/circular/TimepickerCircular.d.ts +11 -0
- package/lib/components/timepicker/circular/TimepickerCircular.js +310 -0
- package/lib/components/timepicker/circular/TimepickerCircular.native.d.ts +12 -0
- package/lib/components/timepicker/circular/TimepickerCircular.native.js +467 -0
- package/lib/components/timepicker/circular/TimepickerCircularEnum.d.ts +7 -0
- package/lib/components/timepicker/circular/TimepickerCircularEnum.js +9 -0
- package/lib/components/timepicker/circular/TimepickerCircularProps.d.ts +7 -0
- package/lib/components/timepicker/circular/TimepickerCircularProps.js +2 -0
- package/lib/components/timepicker/circular/index.d.ts +3 -0
- package/lib/components/timepicker/circular/index.js +4 -0
- package/lib/components/timepicker/default/TimepickerDefault.d.ts +4 -0
- package/lib/components/timepicker/default/TimepickerDefault.js +206 -0
- package/lib/components/timepicker/default/TimepickerDefault.native.d.ts +5 -0
- package/lib/components/timepicker/default/TimepickerDefault.native.js +83 -0
- package/lib/components/timepicker/default/TimepickerDefaultProps.d.ts +6 -0
- package/lib/components/timepicker/default/TimepickerDefaultProps.js +2 -0
- package/lib/components/timepicker/default/TimepickerDefaultPropsDefaults.js +9 -0
- package/lib/components/timepicker/default/index.d.ts +2 -0
- package/lib/components/timepicker/default/index.js +3 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.d.ts +13 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.js +22 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.native.d.ts +13 -0
- package/lib/components/timepicker/default/selector/TimepickerSelector.native.js +69 -0
- package/lib/components/timepicker/default/selector/index.d.ts +2 -0
- package/lib/components/timepicker/default/selector/index.js +3 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.d.ts +12 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.js +14 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.native.d.ts +12 -0
- package/lib/components/timepicker/default/selector/item/TimepickerSelectorItem.native.js +38 -0
- package/lib/components/timepicker/default/selector/item/index.d.ts +2 -0
- package/lib/components/timepicker/default/selector/item/index.js +3 -0
- package/lib/components/timepicker/index.d.ts +2 -0
- package/lib/components/timepicker/index.js +3 -0
- package/lib/objects/Typography/TypographyColor.d.ts +3 -1
- package/lib/objects/Typography/TypographyColor.js +9 -1
- package/lib/objects/facets/Grid.d.ts +9 -0
- package/lib/objects/facets/Grid.js +2 -0
- 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 +5 -1
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
"tri-arrow-left",
|
|
15
15
|
"tri-arrow-right",
|
|
16
16
|
"tri-arrow-up",
|
|
17
|
+
"tri-arrow-high",
|
|
17
18
|
"tri-bell",
|
|
18
19
|
"tri-calendar",
|
|
19
20
|
"tri-check-circle",
|
|
@@ -21,7 +22,9 @@ export default {
|
|
|
21
22
|
"tri-exclamation-circle",
|
|
22
23
|
"tri-eye-slash",
|
|
23
24
|
"tri-eye",
|
|
25
|
+
"tri-file-attached",
|
|
24
26
|
"tri-infos-circle",
|
|
27
|
+
"tri-micro",
|
|
25
28
|
"tri-search",
|
|
26
29
|
"tri-times",
|
|
27
30
|
"tri-trash",
|
|
@@ -33,11 +36,14 @@ export default {
|
|
|
33
36
|
"tri-picto-payment-mastercard",
|
|
34
37
|
"tri-picto-payment-paypal",
|
|
35
38
|
"tri-picto-payment-visa",
|
|
39
|
+
"tri-paperclip",
|
|
40
|
+
"tri-clock",
|
|
36
41
|
"tri-alert",
|
|
37
42
|
"tri-arrow-down",
|
|
38
43
|
"tri-arrow-left",
|
|
39
44
|
"tri-arrow-right",
|
|
40
45
|
"tri-arrow-up",
|
|
46
|
+
"tri-arrow-high",
|
|
41
47
|
"tri-bell",
|
|
42
48
|
"tri-calendar",
|
|
43
49
|
"tri-check-circle",
|
|
@@ -45,7 +51,9 @@ export default {
|
|
|
45
51
|
"tri-exclamation-circle",
|
|
46
52
|
"tri-eye-slash",
|
|
47
53
|
"tri-eye",
|
|
54
|
+
"tri-file-attached",
|
|
48
55
|
"tri-infos-circle",
|
|
56
|
+
"tri-micro",
|
|
49
57
|
"tri-search",
|
|
50
58
|
"tri-times",
|
|
51
59
|
"tri-trash",
|
|
@@ -56,7 +64,9 @@ export default {
|
|
|
56
64
|
"tri-picto-payment-cb",
|
|
57
65
|
"tri-picto-payment-mastercard",
|
|
58
66
|
"tri-picto-payment-paypal",
|
|
59
|
-
"tri-picto-payment-visa"
|
|
67
|
+
"tri-picto-payment-visa",
|
|
68
|
+
"tri-paperclip",
|
|
69
|
+
"tri-clock"
|
|
60
70
|
]
|
|
61
71
|
},
|
|
62
72
|
"accessibilityLabel": {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"value": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"string"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"onChange": {
|
|
10
|
+
"type": "function",
|
|
11
|
+
"values": [
|
|
12
|
+
"undefined",
|
|
13
|
+
"(time: string) => void"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"disabled": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"values": [
|
|
19
|
+
"undefined",
|
|
20
|
+
"false",
|
|
21
|
+
"true"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"step": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"values": [
|
|
27
|
+
"undefined",
|
|
28
|
+
"number"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"values": [
|
|
34
|
+
"undefined",
|
|
35
|
+
"string"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"className": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"values": [
|
|
41
|
+
"undefined",
|
|
42
|
+
"string"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"testId": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"values": [
|
|
48
|
+
"undefined",
|
|
49
|
+
"string"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"circular": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"values": []
|
|
5
|
+
},
|
|
6
|
+
"value": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"values": [
|
|
9
|
+
"undefined",
|
|
10
|
+
"string"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"onChange": {
|
|
14
|
+
"type": "function",
|
|
15
|
+
"values": [
|
|
16
|
+
"undefined",
|
|
17
|
+
"(time: string) => void"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"disabled": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"values": [
|
|
23
|
+
"undefined",
|
|
24
|
+
"false",
|
|
25
|
+
"true"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"step": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"values": [
|
|
31
|
+
"undefined",
|
|
32
|
+
"number"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"id": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"values": [
|
|
38
|
+
"undefined",
|
|
39
|
+
"string"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"className": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"values": [
|
|
45
|
+
"undefined",
|
|
46
|
+
"string"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"testId": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"values": [
|
|
52
|
+
"undefined",
|
|
53
|
+
"string"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"circular": {
|
|
3
|
+
"type": "boolean",
|
|
4
|
+
"values": [
|
|
5
|
+
"undefined",
|
|
6
|
+
"false"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"label": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"values": [
|
|
12
|
+
"undefined",
|
|
13
|
+
"string"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"sample": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"values": [
|
|
19
|
+
"undefined",
|
|
20
|
+
"string"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"required": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"values": [
|
|
26
|
+
"undefined",
|
|
27
|
+
"false",
|
|
28
|
+
"true"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"help": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"values": [
|
|
34
|
+
"undefined",
|
|
35
|
+
"string"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"value": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"values": [
|
|
41
|
+
"undefined",
|
|
42
|
+
"string"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"onChange": {
|
|
46
|
+
"type": "function",
|
|
47
|
+
"values": [
|
|
48
|
+
"undefined",
|
|
49
|
+
"(time: string) => void"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"disabled": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"values": [
|
|
55
|
+
"undefined",
|
|
56
|
+
"false",
|
|
57
|
+
"true"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"step": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"values": [
|
|
63
|
+
"undefined",
|
|
64
|
+
"number"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"id": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"values": [
|
|
70
|
+
"undefined",
|
|
71
|
+
"string"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"className": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"values": [
|
|
77
|
+
"undefined",
|
|
78
|
+
"string"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"testId": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"values": [
|
|
84
|
+
"undefined",
|
|
85
|
+
"string"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TimepickerProps, TimepickerRef } from './TimepickerProps';
|
|
3
|
+
/**
|
|
4
|
+
* Timepicker Native Component
|
|
5
|
+
* @param value {string} Current time value in "HH:MM" format (e.g., "14:30", "24:00")
|
|
6
|
+
* @param onChange {Function} Callback called when time changes, receives new "HH:MM" value
|
|
7
|
+
* @param disabled {boolean} Disabled state of the component (default: false)
|
|
8
|
+
* @param step {number} Step for minutes (e.g., 5 for 5-minute increments, default: 5)
|
|
9
|
+
* @param circular {boolean} to have circular timepicker
|
|
10
|
+
* @param label {string}
|
|
11
|
+
* @param sample {string} (below label)
|
|
12
|
+
* @param help {string}
|
|
13
|
+
* @param required {boolean} Required
|
|
14
|
+
*/
|
|
15
|
+
declare const Timepicker: React.ForwardRefExoticComponent<TimepickerProps & React.RefAttributes<TimepickerRef>>;
|
|
16
|
+
export default Timepicker;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ComponentName } from '../enumsComponentsName';
|
|
4
|
+
import { TimepickerCircular } from './circular';
|
|
5
|
+
import { TimepickerDefault } from './default';
|
|
6
|
+
/**
|
|
7
|
+
* Timepicker Native Component
|
|
8
|
+
* @param value {string} Current time value in "HH:MM" format (e.g., "14:30", "24:00")
|
|
9
|
+
* @param onChange {Function} Callback called when time changes, receives new "HH:MM" value
|
|
10
|
+
* @param disabled {boolean} Disabled state of the component (default: false)
|
|
11
|
+
* @param step {number} Step for minutes (e.g., 5 for 5-minute increments, default: 5)
|
|
12
|
+
* @param circular {boolean} to have circular timepicker
|
|
13
|
+
* @param label {string}
|
|
14
|
+
* @param sample {string} (below label)
|
|
15
|
+
* @param help {string}
|
|
16
|
+
* @param required {boolean} Required
|
|
17
|
+
*/
|
|
18
|
+
var Timepicker = React.forwardRef(function (_a, ref) {
|
|
19
|
+
var circular = _a.circular, props = __rest(_a, ["circular"]);
|
|
20
|
+
if (circular)
|
|
21
|
+
return React.createElement(TimepickerCircular, __assign({ ref: ref }, props));
|
|
22
|
+
return React.createElement(TimepickerDefault, __assign({ ref: ref }, props));
|
|
23
|
+
});
|
|
24
|
+
Timepicker.displayName = ComponentName.Timepicker;
|
|
25
|
+
export default Timepicker;
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGltZXBpY2tlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXBvbmVudHMvdGltZXBpY2tlci9UaW1lcGlja2VyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxLQUFLLEtBQUssTUFBTSxPQUFPLENBQUE7QUFDOUIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFBO0FBQ3RELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLFlBQVksQ0FBQTtBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxXQUFXLENBQUE7QUFHN0M7Ozs7Ozs7Ozs7O0dBV0c7QUFDSCxJQUFNLFVBQVUsR0FBRyxLQUFLLENBQUMsVUFBVSxDQUFpQyxVQUFDLEVBQXNCLEVBQUUsR0FBRztJQUF6QixJQUFBLFFBQVEsY0FBQSxFQUFLLEtBQUssY0FBcEIsWUFBc0IsQ0FBRjtJQUN2RixJQUFJLFFBQVE7UUFBRSxPQUFPLG9CQUFDLGtCQUFrQixhQUFDLEdBQUcsRUFBRSxHQUFHLElBQU0sS0FBSyxFQUFJLENBQUE7SUFDaEUsT0FBTyxvQkFBQyxpQkFBaUIsYUFBQyxHQUFHLEVBQUUsR0FBa0MsSUFBTSxLQUFLLEVBQUksQ0FBQTtBQUNsRixDQUFDLENBQUMsQ0FBQTtBQUVGLFVBQVUsQ0FBQyxXQUFXLEdBQUcsYUFBYSxDQUFDLFVBQVUsQ0FBQTtBQUNqRCxlQUFlLFVBQVUsQ0FBQSJ9
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ComponentName } from '../enumsComponentsName';
|
|
4
|
+
import TimepickerCircular from './circular/TimepickerCircular.native';
|
|
5
|
+
import TimepickerDefault from './default/TimepickerDefault.native';
|
|
6
|
+
var Timepicker = React.forwardRef(function (_a, ref) {
|
|
7
|
+
var circular = _a.circular, props = __rest(_a, ["circular"]);
|
|
8
|
+
if (circular)
|
|
9
|
+
return React.createElement(TimepickerCircular, __assign({ ref: ref }, props));
|
|
10
|
+
return React.createElement(TimepickerDefault, __assign({ ref: ref }, props));
|
|
11
|
+
});
|
|
12
|
+
Timepicker.displayName = ComponentName.Timepicker;
|
|
13
|
+
export default Timepicker;
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGltZXBpY2tlci5uYXRpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL3RpbWVwaWNrZXIvVGltZXBpY2tlci5uYXRpdmUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEtBQUssS0FBSyxNQUFNLE9BQU8sQ0FBQTtBQUM5QixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUE7QUFDdEQsT0FBTyxrQkFBa0IsTUFBTSxzQ0FBc0MsQ0FBQTtBQUNyRSxPQUFPLGlCQUFpQixNQUFNLG9DQUFvQyxDQUFBO0FBR2xFLElBQU0sVUFBVSxHQUFHLEtBQUssQ0FBQyxVQUFVLENBQ2pDLFVBQUMsRUFBc0IsRUFBRSxHQUFHO0lBQXpCLElBQUEsUUFBUSxjQUFBLEVBQUssS0FBSyxjQUFwQixZQUFzQixDQUFGO0lBQ25CLElBQUksUUFBUTtRQUFFLE9BQU8sb0JBQUMsa0JBQWtCLGFBQUMsR0FBRyxFQUFFLEdBQUcsSUFBTSxLQUFLLEVBQUksQ0FBQTtJQUNoRSxPQUFPLG9CQUFDLGlCQUFpQixhQUFDLEdBQUcsRUFBRSxHQUFHLElBQU0sS0FBSyxFQUFJLENBQUE7QUFDbkQsQ0FBQyxDQUNGLENBQUE7QUFFRCxVQUFVLENBQUMsV0FBVyxHQUFHLGFBQWEsQ0FBQyxVQUFVLENBQUE7QUFDakQsZUFBZSxVQUFVLENBQUEifQ==
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CommonProps } from '../../objects/facets/CommonProps';
|
|
2
|
+
import { Dev } from '../../objects/facets/Dev';
|
|
3
|
+
import { type TextInput, type View } from 'react-native';
|
|
4
|
+
interface BaseTimepickerProps extends CommonProps, Dev {
|
|
5
|
+
value?: string;
|
|
6
|
+
onChange?: (time: string) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
step?: number;
|
|
9
|
+
}
|
|
10
|
+
interface DefaultTimepickerProps extends BaseTimepickerProps {
|
|
11
|
+
circular?: false;
|
|
12
|
+
label?: string;
|
|
13
|
+
sample?: string;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
help?: string;
|
|
16
|
+
}
|
|
17
|
+
interface CircularTimepickerProps extends BaseTimepickerProps {
|
|
18
|
+
circular: true;
|
|
19
|
+
}
|
|
20
|
+
export type TimepickerProps = DefaultTimepickerProps | CircularTimepickerProps;
|
|
21
|
+
export type TimepickerRef = HTMLDivElement | HTMLInputElement;
|
|
22
|
+
export type TimepickerNativeRef = View | TextInput;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TimepickerCircularProps } from './TimepickerCircularProps';
|
|
3
|
+
/**
|
|
4
|
+
* TimepickerCircular Web Component
|
|
5
|
+
* @param value {string} Current time value in "HH:MM" format (e.g., "14:30", "24:00")
|
|
6
|
+
* @param onChange {Function} Callback called when time changes, receives new "HH:MM" value
|
|
7
|
+
* @param disabled {boolean} Disabled state of the component (default: false)
|
|
8
|
+
* @param step {number} Step for minutes (e.g., 5 for 5-minute increments, default: 5)
|
|
9
|
+
*/
|
|
10
|
+
declare const TimepickerCircular: React.ForwardRefExoticComponent<TimepickerCircularProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export default TimepickerCircular;
|