@geneui/components 2.11.2 → 2.12.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.
Files changed (213) hide show
  1. package/{ActionableList.js → ActionableList/index.js} +83 -152
  2. package/{AdvancedSearch.js → AdvancedSearch/index.js} +290 -304
  3. package/Alert/index.js +97 -0
  4. package/Avatar/index.js +30 -0
  5. package/Badge/index.js +75 -0
  6. package/{Breadcrumb.js → Breadcrumb/index.js} +32 -31
  7. package/BusyLoader/index.js +68 -0
  8. package/Button/index.js +129 -0
  9. package/CHANGELOG.md +53 -0
  10. package/{Card.js → Card/index.js} +82 -94
  11. package/{CardList.js → CardList/index.js} +120 -165
  12. package/{CellMeasurerCache-b786dd93.js → CellMeasurerCache-3741d716.js} +2 -2
  13. package/{index-9164a86d.js → Charts/index.js} +17103 -30447
  14. package/{Checkbox.js → Checkbox/index.js} +37 -38
  15. package/{CheckboxGroup.js → CheckboxGroup/index.js} +41 -42
  16. package/{CheckboxGroupWithSearch.js → CheckboxGroupWithSearch/index.js} +64 -65
  17. package/{Collapse.js → Collapse/index.js} +28 -29
  18. package/{ColorPicker.js → ColorPicker/index.js} +16 -16
  19. package/ComboBox/index.js +525 -0
  20. package/Counter/index.js +310 -0
  21. package/{DateFilter.js → DateFilter/index.js} +45 -43
  22. package/{DatePicker.js → DatePicker/index.js} +106 -108
  23. package/{index-0199942c.js → DatePickerInput/index.js} +114 -100
  24. package/{Divider.js → Divider/index.js} +9 -10
  25. package/{Drawer.js → Drawer/index.js} +40 -41
  26. package/Dropdown/index.js +41 -0
  27. package/{Editor.js → Editor/index.js} +165 -164
  28. package/{Empty.js → Empty/index.js} +12 -13
  29. package/{ExtendedInput.js → ExtendedInput/index.js} +81 -71
  30. package/Form/index.js +83 -0
  31. package/{FormContainer.js → FormContainer/index.js} +25 -26
  32. package/FormableCheckbox/index.js +26 -0
  33. package/FormableDatePicker/index.js +41 -0
  34. package/FormableDropdown/index.js +48 -0
  35. package/FormableEditor/index.js +24 -0
  36. package/{FormableHOC-21051057.js → FormableHOC-55263162.js} +3 -3
  37. package/FormableMultiSelectDropdown/index.js +48 -0
  38. package/FormableNumberInput/index.js +32 -0
  39. package/FormableRadio/index.js +22 -0
  40. package/FormableSwitcher/index.js +22 -0
  41. package/FormableTextInput/index.js +32 -0
  42. package/FormableUploader/index.js +42 -0
  43. package/GeneUIProvider/index.js +282 -0
  44. package/{Grid.js → Grid/index.js} +27 -27
  45. package/Holder/index.js +261 -0
  46. package/{Icon.js → Icon/index.js} +9 -10
  47. package/Image/index.js +129 -0
  48. package/ImagePreview/index.js +481 -0
  49. package/{KeyValue.js → KeyValue/index.js} +11 -12
  50. package/LICENSE +21 -0
  51. package/Label/index.js +57 -0
  52. package/LinkButton/index.js +67 -0
  53. package/{Menu.js → Menu/index.js} +27 -28
  54. package/MobileNavigation/index.js +94 -0
  55. package/{MobilePopup.js → MobilePopup/index.js} +42 -41
  56. package/{Modal.js → Modal/index.js} +39 -40
  57. package/ModuleTitle/index.js +143 -0
  58. package/{NavigationMenu.js → NavigationMenu/index.js} +30 -29
  59. package/Notification/index.js +119 -0
  60. package/Option/index.js +184 -0
  61. package/Overlay/index.js +189 -0
  62. package/Overspread/index.js +289 -0
  63. package/{Pagination.js → Pagination/index.js} +35 -34
  64. package/Paper/index.js +96 -0
  65. package/{index-084588e9.js → Popover/index.js} +48 -58
  66. package/PopoverV2/index.js +18 -0
  67. package/{Portal.js → Portal/index.js} +7 -8
  68. package/{Products.js → Products/index.js} +20 -21
  69. package/Profile/index.js +585 -0
  70. package/Progress/index.js +199 -0
  71. package/{QRCode.js → QRCode/index.js} +4 -6
  72. package/{Radio.js → Radio/index.js} +25 -26
  73. package/{RadioGroup.js → RadioGroup/index.js} +17 -18
  74. package/{index-00fe8887.js → Range/index.js} +29 -32
  75. package/RichEditor/index.js +13 -0
  76. package/{RichEditor-98accead.js → RichEditor-8b0f7ccd.js} +18 -18
  77. package/{Scrollbar.js → Scrollbar/index.js} +15 -17
  78. package/{Search.js → Search/index.js} +25 -24
  79. package/SearchWithDropdown/index.js +138 -0
  80. package/Section/index.js +61 -0
  81. package/{SkeletonLoader.js → SkeletonLoader/index.js} +13 -14
  82. package/{Slider.js → Slider/index.js} +46 -43
  83. package/Status/index.js +103 -0
  84. package/Steps/index.js +313 -0
  85. package/{index-897d8240.js → SuggestionList/index.js} +15 -38
  86. package/{Switcher.js → Switcher/index.js} +30 -31
  87. package/Table/index.js +53 -0
  88. package/{TableCompositions.js → TableCompositions/index.js} +131 -168
  89. package/Tabs/index.js +235 -0
  90. package/Tag/index.js +102 -0
  91. package/{TextLink.js → TextLink/index.js} +3 -3
  92. package/{Textarea.js → Textarea/index.js} +66 -65
  93. package/{Time.js → Time/index.js} +13 -14
  94. package/TimePicker/index.js +555 -0
  95. package/Timeline/index.js +113 -0
  96. package/Title/index.js +65 -0
  97. package/{Toaster.js → Toaster/index.js} +19 -20
  98. package/{Tooltip.js → Tooltip/index.js} +27 -28
  99. package/{TransferList.js → TransferList/index.js} +44 -55
  100. package/{index-135b9d17.js → Uploader/index.js} +119 -116
  101. package/{ValidatableCheckbox.js → ValidatableCheckbox/index.js} +23 -24
  102. package/{ValidatableDatePicker.js → ValidatableDatePicker/index.js} +44 -42
  103. package/ValidatableDropdown/index.js +139 -0
  104. package/ValidatableElements/index.js +65 -0
  105. package/ValidatableMultiSelectDropdown/index.js +150 -0
  106. package/{ValidatableNumberInput.js → ValidatableNumberInput/index.js} +41 -33
  107. package/{ValidatableRadio.js → ValidatableRadio/index.js} +19 -20
  108. package/{ValidatableSwitcher.js → ValidatableSwitcher/index.js} +19 -20
  109. package/{ValidatableTextInput.js → ValidatableTextInput/index.js} +32 -31
  110. package/{ValidatableTimeInput.js → ValidatableTimeInput/index.js} +31 -30
  111. package/{ValidatableUploader.js → ValidatableUploader/index.js} +36 -34
  112. package/Widget/index.js +227 -0
  113. package/config-0ca92874.js +31 -0
  114. package/{configs-91c86664.js → configs-fed6ac34.js} +28 -1
  115. package/hooks/useBodyScroll.js +16 -0
  116. package/hooks/useClick.js +18 -0
  117. package/{useClickOutside-5183e396.js → hooks/useClickOutside.js} +1 -1
  118. package/hooks/useDebounceHook.js +16 -0
  119. package/{useDeviceType-dd51db38.js → hooks/useDeviceType.js} +4 -3
  120. package/hooks/useDidMount.js +15 -0
  121. package/{useEllipsisDetection-ef536015.js → hooks/useEllipsisDetection.js} +1 -1
  122. package/hooks/useForceUpdate.js +8 -0
  123. package/hooks/useImgDownload.js +18 -0
  124. package/{useKeyDown-38102ae7.js → hooks/useKeyDown.js} +1 -1
  125. package/hooks/useMount.js +13 -0
  126. package/hooks/useMutationObserver.js +21 -0
  127. package/hooks/usePrevious.js +10 -0
  128. package/hooks/useThrottle.js +16 -0
  129. package/hooks/useToggle.js +11 -0
  130. package/hooks/useUpdatableRef.js +14 -0
  131. package/hooks/useUpdate.js +10 -0
  132. package/{useWidth-9f4647f8.js → hooks/useWidth.js} +2 -2
  133. package/{useWindowSize-80369d76.js → hooks/useWindowSize.js} +1 -1
  134. package/{index-8c98317a.js → index-11eea761.js} +678 -752
  135. package/index-2ad83e03.js +4 -0
  136. package/index-34e47647.js +10054 -0
  137. package/index-45eafea6.js +90 -0
  138. package/{index-5e96cb4d.js → index-462461c0.js} +50 -48
  139. package/{index-ac59cb10.js → index-a0e4e333.js} +6 -6
  140. package/{index-e8776f3d.js → index-b1e429a7.js} +1 -1
  141. package/index.d.ts +115 -0
  142. package/index.js +137 -113
  143. package/index.mobile.d.ts +16 -0
  144. package/lib/atoms/Avatar/Avatar.d.ts +34 -0
  145. package/lib/atoms/Avatar/index.d.ts +1 -0
  146. package/lib/atoms/LinkButton/LinkButton.d.ts +46 -0
  147. package/lib/atoms/LinkButton/index.d.ts +1 -0
  148. package/{objectWithoutPropertiesLoose-299691d8.js → objectWithoutPropertiesLoose-d8a4a68c.js} +12 -12
  149. package/package.json +42 -22
  150. package/{rangeAndSlider-20599da4.js → rangeAndSlider-0301a458.js} +220 -375
  151. package/{react-beautiful-dnd.esm-38c37304.js → react-beautiful-dnd.esm-04c14563.js} +9 -9
  152. package/react-lifecycles-compat.es-6e1f3768.js +158 -0
  153. package/Alert.js +0 -98
  154. package/Avatar.js +0 -77
  155. package/Badge.js +0 -76
  156. package/BusyLoader.js +0 -69
  157. package/Button.js +0 -130
  158. package/Charts.js +0 -99
  159. package/ComboBox.js +0 -99
  160. package/Counter.js +0 -99
  161. package/DatePickerInput.js +0 -30
  162. package/Dropdown.js +0 -99
  163. package/Form.js +0 -116
  164. package/FormableCheckbox.js +0 -27
  165. package/FormableDatePicker.js +0 -39
  166. package/FormableDropdown.js +0 -105
  167. package/FormableEditor.js +0 -24
  168. package/FormableMultiSelectDropdown.js +0 -105
  169. package/FormableNumberInput.js +0 -31
  170. package/FormableRadio.js +0 -23
  171. package/FormableSwitcher.js +0 -23
  172. package/FormableTextInput.js +0 -31
  173. package/FormableUploader.js +0 -40
  174. package/GeneUIProvider.js +0 -256
  175. package/Holder.js +0 -99
  176. package/Image.js +0 -130
  177. package/ImagePreview.js +0 -99
  178. package/Label.js +0 -58
  179. package/LinkButton.js +0 -104
  180. package/MobileNavigation.js +0 -95
  181. package/ModuleTitle.js +0 -99
  182. package/Notification.js +0 -120
  183. package/Option.js +0 -186
  184. package/Overlay.js +0 -99
  185. package/Overspread.js +0 -343
  186. package/Paper.js +0 -97
  187. package/Popover.js +0 -20
  188. package/PopoverV2.js +0 -19
  189. package/Profile.js +0 -99
  190. package/Progress.js +0 -200
  191. package/Range.js +0 -14
  192. package/RichEditor.js +0 -13
  193. package/SearchWithDropdown.js +0 -195
  194. package/Section.js +0 -62
  195. package/Status.js +0 -104
  196. package/Steps.js +0 -312
  197. package/SuggestionList.js +0 -15
  198. package/Table.js +0 -102
  199. package/Tabs.js +0 -236
  200. package/Tag.js +0 -103
  201. package/TimePicker.js +0 -99
  202. package/Timeline.js +0 -114
  203. package/Title.js +0 -66
  204. package/Uploader.js +0 -32
  205. package/ValidatableDropdown.js +0 -99
  206. package/ValidatableElements.js +0 -99
  207. package/ValidatableMultiSelectDropdown.js +0 -99
  208. package/Widget.js +0 -99
  209. package/globalStyling-9c60a159.js +0 -4
  210. package/index-2030e31c.js +0 -4
  211. package/index-b7a33c58.js +0 -11
  212. package/index-e0af0caf.js +0 -1182
  213. package/useMount-6fef51a5.js +0 -9
@@ -1,105 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import { D as DropdownField } from './index-9164a86d.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './Editor.js';
15
- import './index-6ff23041.js';
16
- import './useDeviceType-dd51db38.js';
17
- import './useWindowSize-80369d76.js';
18
- import './Button.js';
19
- import './Icon.js';
20
- import './globalStyling-9c60a159.js';
21
- import './style-inject.es-746bb8ed.js';
22
- import './ValidatableUploader.js';
23
- import './index-135b9d17.js';
24
- import './Grid.js';
25
- import './useWidth-9f4647f8.js';
26
- import './useKeyDown-38102ae7.js';
27
- import './BusyLoader.js';
28
- import './Image.js';
29
- import './Empty.js';
30
- import './Tooltip.js';
31
- import './Popover-f4d1cac0.js';
32
- import './GeneUIProvider.js';
33
- import './Checkbox.js';
34
- import './checkboxRadioSwitcher-5b69d7bd.js';
35
- import './ExtendedInput.js';
36
- import './index-897d8240.js';
37
- import './useClickOutside-5183e396.js';
38
- import './Scrollbar.js';
39
- import './ValidatableRadio.js';
40
- import './RadioGroup.js';
41
- import './Radio.js';
42
- import './ValidatableCheckbox.js';
43
- import './ValidatableSwitcher.js';
44
- import './Switcher.js';
45
- import './ValidatableNumberInput.js';
46
- import './ValidatableTextInput.js';
47
- import './ValidatableDatePicker.js';
48
- import './index-0199942c.js';
49
- import './index-5e96cb4d.js';
50
- import './index-122432cd.js';
51
- import './debounce-4419bc2f.js';
52
- import './DatePicker.js';
53
- import './localization-4ba17032.js';
54
- import './checkTimeValidation-e56771be.js';
55
- import './useEllipsisDetection-ef536015.js';
56
- import './Tabs.js';
57
- import './Steps.js';
58
- import './index-084588e9.js';
59
- import './Portal.js';
60
- import './Timeline.js';
61
- import './Card.js';
62
- import './MobilePopup.js';
63
- import './Menu.js';
64
- import './Option.js';
65
- import './SkeletonLoader.js';
66
- import './KeyValue.js';
67
- import './configs.js';
68
- import './Tag.js';
69
- import './Alert.js';
70
- import './index-00fe8887.js';
71
- import './rangeAndSlider-20599da4.js';
72
- import './Slider.js';
73
- import './Pagination.js';
74
- import './Divider.js';
75
- import './objectWithoutPropertiesLoose-299691d8.js';
76
- import './clsx.m-2bb6df4b.js';
77
- import './index-2030e31c.js';
78
- import './Notification.js';
79
- import './Modal.js';
80
- import './Collapse.js';
81
- import './Status.js';
82
- import './Avatar.js';
83
- import './Search.js';
84
- import './TextLink.js';
85
- import './Label.js';
86
- import './Paper.js';
87
- import './Badge.js';
88
- import './Time.js';
89
- import './Title.js';
90
- import './index-b7a33c58.js';
91
- import './QRCode.js';
92
- import './Progress.js';
93
- import './MobileNavigation.js';
94
- import './Products.js';
95
- import './Breadcrumb.js';
96
- import './Section.js';
97
- import './ColorPicker.js';
98
- import './NavigationMenu.js';
99
- import './Textarea.js';
100
- import './AdvancedSearch.js';
101
- import './LinkButton.js';
102
-
103
- var FormableDropdown = Formable(DropdownField);
104
-
105
- export { FormableDropdown as default };
package/FormableEditor.js DELETED
@@ -1,24 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import Editor from './Editor.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './index-6ff23041.js';
15
- import './useDeviceType-dd51db38.js';
16
- import './useWindowSize-80369d76.js';
17
- import './Button.js';
18
- import './Icon.js';
19
- import './globalStyling-9c60a159.js';
20
- import './style-inject.es-746bb8ed.js';
21
-
22
- var FormableEditor = Formable(Editor);
23
-
24
- export { FormableEditor as default };
@@ -1,105 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import { b as MultiSelectDropdownField } from './index-9164a86d.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './Editor.js';
15
- import './index-6ff23041.js';
16
- import './useDeviceType-dd51db38.js';
17
- import './useWindowSize-80369d76.js';
18
- import './Button.js';
19
- import './Icon.js';
20
- import './globalStyling-9c60a159.js';
21
- import './style-inject.es-746bb8ed.js';
22
- import './ValidatableUploader.js';
23
- import './index-135b9d17.js';
24
- import './Grid.js';
25
- import './useWidth-9f4647f8.js';
26
- import './useKeyDown-38102ae7.js';
27
- import './BusyLoader.js';
28
- import './Image.js';
29
- import './Empty.js';
30
- import './Tooltip.js';
31
- import './Popover-f4d1cac0.js';
32
- import './GeneUIProvider.js';
33
- import './Checkbox.js';
34
- import './checkboxRadioSwitcher-5b69d7bd.js';
35
- import './ExtendedInput.js';
36
- import './index-897d8240.js';
37
- import './useClickOutside-5183e396.js';
38
- import './Scrollbar.js';
39
- import './ValidatableRadio.js';
40
- import './RadioGroup.js';
41
- import './Radio.js';
42
- import './ValidatableCheckbox.js';
43
- import './ValidatableSwitcher.js';
44
- import './Switcher.js';
45
- import './ValidatableNumberInput.js';
46
- import './ValidatableTextInput.js';
47
- import './ValidatableDatePicker.js';
48
- import './index-0199942c.js';
49
- import './index-5e96cb4d.js';
50
- import './index-122432cd.js';
51
- import './debounce-4419bc2f.js';
52
- import './DatePicker.js';
53
- import './localization-4ba17032.js';
54
- import './checkTimeValidation-e56771be.js';
55
- import './useEllipsisDetection-ef536015.js';
56
- import './Tabs.js';
57
- import './Steps.js';
58
- import './index-084588e9.js';
59
- import './Portal.js';
60
- import './Timeline.js';
61
- import './Card.js';
62
- import './MobilePopup.js';
63
- import './Menu.js';
64
- import './Option.js';
65
- import './SkeletonLoader.js';
66
- import './KeyValue.js';
67
- import './configs.js';
68
- import './Tag.js';
69
- import './Alert.js';
70
- import './index-00fe8887.js';
71
- import './rangeAndSlider-20599da4.js';
72
- import './Slider.js';
73
- import './Pagination.js';
74
- import './Divider.js';
75
- import './objectWithoutPropertiesLoose-299691d8.js';
76
- import './clsx.m-2bb6df4b.js';
77
- import './index-2030e31c.js';
78
- import './Notification.js';
79
- import './Modal.js';
80
- import './Collapse.js';
81
- import './Status.js';
82
- import './Avatar.js';
83
- import './Search.js';
84
- import './TextLink.js';
85
- import './Label.js';
86
- import './Paper.js';
87
- import './Badge.js';
88
- import './Time.js';
89
- import './Title.js';
90
- import './index-b7a33c58.js';
91
- import './QRCode.js';
92
- import './Progress.js';
93
- import './MobileNavigation.js';
94
- import './Products.js';
95
- import './Breadcrumb.js';
96
- import './Section.js';
97
- import './ColorPicker.js';
98
- import './NavigationMenu.js';
99
- import './Textarea.js';
100
- import './AdvancedSearch.js';
101
- import './LinkButton.js';
102
-
103
- var FormableMultiSelectDropdown = Formable(MultiSelectDropdownField);
104
-
105
- export { FormableMultiSelectDropdown as default };
@@ -1,31 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import NumberInput from './ValidatableNumberInput.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './ExtendedInput.js';
15
- import './index-6ff23041.js';
16
- import './useDeviceType-dd51db38.js';
17
- import './useWindowSize-80369d76.js';
18
- import './index-897d8240.js';
19
- import './useKeyDown-38102ae7.js';
20
- import './useClickOutside-5183e396.js';
21
- import './Scrollbar.js';
22
- import './globalStyling-9c60a159.js';
23
- import './style-inject.es-746bb8ed.js';
24
- import './Icon.js';
25
- import './Tooltip.js';
26
- import './Popover-f4d1cac0.js';
27
- import './GeneUIProvider.js';
28
-
29
- var FormableNumberInput = Formable(NumberInput);
30
-
31
- export { FormableNumberInput as default };
package/FormableRadio.js DELETED
@@ -1,23 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import Radio from './ValidatableRadio.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './RadioGroup.js';
15
- import './index-6ff23041.js';
16
- import './Radio.js';
17
- import './globalStyling-9c60a159.js';
18
- import './style-inject.es-746bb8ed.js';
19
- import './checkboxRadioSwitcher-5b69d7bd.js';
20
-
21
- var FormableRadio = Formable(Radio);
22
-
23
- export { FormableRadio as default };
@@ -1,23 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import SwitcherElement from './ValidatableSwitcher.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './Switcher.js';
15
- import './index-6ff23041.js';
16
- import './useKeyDown-38102ae7.js';
17
- import './globalStyling-9c60a159.js';
18
- import './style-inject.es-746bb8ed.js';
19
- import './checkboxRadioSwitcher-5b69d7bd.js';
20
-
21
- var FormableSwitcher = Formable(SwitcherElement);
22
-
23
- export { FormableSwitcher as default };
@@ -1,31 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import TextInput from './ValidatableTextInput.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './ExtendedInput.js';
15
- import './index-6ff23041.js';
16
- import './useDeviceType-dd51db38.js';
17
- import './useWindowSize-80369d76.js';
18
- import './index-897d8240.js';
19
- import './useKeyDown-38102ae7.js';
20
- import './useClickOutside-5183e396.js';
21
- import './Scrollbar.js';
22
- import './globalStyling-9c60a159.js';
23
- import './style-inject.es-746bb8ed.js';
24
- import './Icon.js';
25
- import './Tooltip.js';
26
- import './Popover-f4d1cac0.js';
27
- import './GeneUIProvider.js';
28
-
29
- var FormableTextInput = Formable(TextInput);
30
-
31
- export { FormableTextInput as default };
@@ -1,40 +0,0 @@
1
- import { F as Formable } from './FormableHOC-21051057.js';
2
- import UploaderField from './ValidatableUploader.js';
3
- import './_rollupPluginBabelHelpers-e8fb2e5c.js';
4
- import 'react';
5
- import './index-ac59cb10.js';
6
- import './index-e0af0caf.js';
7
- import './dateValidation-67caec66.js';
8
- import './_commonjsHelpers-24198af3.js';
9
- import 'react-dom';
10
- import './useMount-6fef51a5.js';
11
- import './configs-91c86664.js';
12
- import './index-262edd7a.js';
13
- import './guid-8ddf77b3.js';
14
- import './index-135b9d17.js';
15
- import './index-6ff23041.js';
16
- import './Grid.js';
17
- import './useWidth-9f4647f8.js';
18
- import './useWindowSize-80369d76.js';
19
- import './style-inject.es-746bb8ed.js';
20
- import './Button.js';
21
- import './Icon.js';
22
- import './globalStyling-9c60a159.js';
23
- import './useKeyDown-38102ae7.js';
24
- import './BusyLoader.js';
25
- import './Image.js';
26
- import './Empty.js';
27
- import './Tooltip.js';
28
- import './Popover-f4d1cac0.js';
29
- import './useDeviceType-dd51db38.js';
30
- import './GeneUIProvider.js';
31
- import './Checkbox.js';
32
- import './checkboxRadioSwitcher-5b69d7bd.js';
33
- import './ExtendedInput.js';
34
- import './index-897d8240.js';
35
- import './useClickOutside-5183e396.js';
36
- import './Scrollbar.js';
37
-
38
- var FormableUploader = Formable(UploaderField);
39
-
40
- export { FormableUploader as default };
package/GeneUIProvider.js DELETED
@@ -1,256 +0,0 @@
1
- import React__default, { createContext, useRef } from 'react';
2
- import { p as propTypesExports } from './index-e0af0caf.js';
3
-
4
- var name = "@geneui/components";
5
- var description = "The Gene UI components library designed for BI tools";
6
- var version = "1.0.0";
7
- var author = "SoftConstruct";
8
- var homepage = "https://github.com/softconstruct/gene-ui-components#readme";
9
- var repository = {
10
- type: "git",
11
- url: "https://github.com/softconstruct/gene-ui-components"
12
- };
13
- var bugs = {
14
- url: "https://github.com/softconstruct/gene-ui-components/issues"
15
- };
16
- var keywords = [
17
- "react",
18
- "gene-ui",
19
- "design-system",
20
- "component-library"
21
- ];
22
- var main = "index.js";
23
- var scripts = {
24
- start: "start-storybook -p 6006 -s .storybook/public",
25
- test: "jest",
26
- build: "babel-node --config-file ./configs/.babelrc ./scripts/build.js",
27
- "copy-build-statics-files": "babel-node --config-file ./configs/.babelrc ./scripts/copyFiles.js",
28
- "bump-up-commit": "babel-node --config-file ./configs/.babelrc ./scripts/postPublish.js",
29
- "build:watch": "watch 'npm run build' ./src",
30
- commit: "git-cz",
31
- changelog: "conventional-changelog -i CHANGELOG.md -s",
32
- "add-lib-version-to-docs": "babel-node --config-file ./configs/.babelrc ./scripts/addVersionHistory.js",
33
- "build-storybook": "npm run add-lib-version-to-docs && build-storybook",
34
- "publish-lib": "npm run build && cd dist && npm publish",
35
- "semantic-release": "semantic-release --extends ./configs/.releaserc.json --no-ci",
36
- "create-component": "babel-node --config-file ./configs/.babelrc ./scripts/createComponent.js",
37
- "find-component-usage": "babel-node --config-file ./configs/.babelrc ./scripts/findComponentUsage.js",
38
- "format-code": "prettier --config ./configs/.prettierrc --write . --ignore-path ./configs/.prettierignore",
39
- "lint-styles": "stylelint **/*.{css,scss,sass} --config ./configs/.stylelintrc.json --fix",
40
- "lint-scripts": "eslint --config ./configs/.eslintrc.json src --ignore-path ./configs/.eslintignore --fix",
41
- "fix-code-style": "npm run format-code && npm run lint-styles && npm run lint-scripts",
42
- "analyze-bundle-size": "babel-node --config-file ./configs/.babelrc ./scripts/analyzeBundleSize.js"
43
- };
44
- var peerDependencies = {
45
- "prop-types": "^15.8.1",
46
- react: "^16.8.1",
47
- "react-dom": "^16.8.1"
48
- };
49
- var devDependencies = {
50
- "@babel/cli": "^7.19.3",
51
- "@babel/core": "^7.20.2",
52
- "@babel/eslint-parser": "^7.19.1",
53
- "@babel/node": "^7.20.2",
54
- "@babel/plugin-proposal-class-properties": "^7.18.6",
55
- "@babel/plugin-proposal-export-default-from": "^7.18.10",
56
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
57
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
58
- "@babel/plugin-syntax-jsx": "^7.18.6",
59
- "@babel/preset-env": "^7.19.4",
60
- "@babel/preset-react": "^7.18.6",
61
- "@commitlint/cli": "^17.1.2",
62
- "@commitlint/config-conventional": "^17.1.0",
63
- "@faker-js/faker": "^7.6.0",
64
- "@rollup/plugin-alias": "^4.0.2",
65
- "@rollup/plugin-babel": "^6.0.0",
66
- "@rollup/plugin-commonjs": "^23.0.0",
67
- "@rollup/plugin-image": "^3.0.1",
68
- "@rollup/plugin-json": "^6.0.0",
69
- "@rollup/plugin-node-resolve": "^15.0.0",
70
- "@semantic-release/changelog": "^6.0.2",
71
- "@semantic-release/commit-analyzer": "^9.0.2",
72
- "@semantic-release/git": "^10.0.1",
73
- "@semantic-release/npm": "^9.0.1",
74
- "@semantic-release/release-notes-generator": "^10.0.3",
75
- "@storybook/addon-a11y": "^6.5.15",
76
- "@storybook/addon-docs": "^6.5.15",
77
- "@storybook/addon-essentials": "^6.4.22",
78
- "@storybook/addon-viewport": "^6.5.15",
79
- "@storybook/addons": "^6.4.22",
80
- "@storybook/builder-webpack5": "^6.4.22",
81
- "@storybook/manager-webpack5": "^6.4.22",
82
- "@storybook/mdx2-csf": "^0.0.3",
83
- "@storybook/preset-scss": "^1.0.3",
84
- "@storybook/react": "^6.4.22",
85
- "@storybook/theming": "^6.4.22",
86
- autoprefixer: "^10.4.13",
87
- "babel-loader": "^8.2.5",
88
- chalk: "^4.1.2",
89
- commitizen: "^4.2.5",
90
- "conventional-changelog-cli": "^2.2.2",
91
- "css-loader": "^6.7.3",
92
- "cz-conventional-changelog": "^3.3.0",
93
- enzyme: "^3.11.0",
94
- "enzyme-adapter-react-16": "^1.15.2",
95
- eslint: "^8.25.0",
96
- "eslint-config-airbnb": "^19.0.4",
97
- "eslint-config-prettier": "^8.5.0",
98
- "eslint-plugin-import": "^2.26.0",
99
- "eslint-plugin-jsx-a11y": "^6.6.1",
100
- "eslint-plugin-react": "^7.31.11",
101
- "eslint-plugin-react-hooks": "^4.6.0",
102
- figlet: "^1.5.2",
103
- "file-loader": "^6.2.0",
104
- "git-cz": "^4.9.0",
105
- husky: "^1.3.1",
106
- "identity-obj-proxy": "^3.0.0",
107
- "immutability-helper": "^3.0.1",
108
- inquirer: "^8.2.4",
109
- jest: "^29.2.1",
110
- "lint-staged": "^13.0.3",
111
- "metro-react-native-babel-preset": "^0.51.1",
112
- "open-cli": "^7.1.0",
113
- ora: "^5.4.1",
114
- postcss: "^8.4.31",
115
- "postcss-prefix-selector": "^1.16.0",
116
- "postcss-url": "^10.1.3",
117
- prettier: "^2.7.1",
118
- react: "^16.8.1",
119
- "react-dom": "^16.8.1",
120
- "react-test-renderer": "^16.12.0",
121
- rollup: "^3.1.0",
122
- "rollup-plugin-peer-deps-external": "^2.2.0",
123
- "rollup-plugin-postcss": "^4.0.0",
124
- "rollup-plugin-scss": "^4.0.0",
125
- "rollup-plugin-svg": "^1.0.1",
126
- "rollup-plugin-visualizer": "^5.8.3",
127
- sass: "^1.55.0",
128
- "sass-loader": "^13.2.0",
129
- "semantic-release": "^19.0.5",
130
- "storybook-dark-mode": "^2.0.4",
131
- "style-loader": "^3.3.1",
132
- stylelint: "^14.14.0",
133
- "stylelint-config-prettier": "^9.0.3",
134
- "stylelint-config-standard-scss": "^5.0.0",
135
- treeify: "^1.1.0",
136
- watch: "^1.0.2",
137
- webpack: "^5.74.0",
138
- "webpack-cli": "^4.10.0",
139
- "webpack-dev-server": "^3.1.14",
140
- "webpack-node-externals": "^1.7.2"
141
- };
142
- var dependencies = {
143
- classnames: "^2.3.2",
144
- dayjs: "^1.11.5",
145
- "draft-js": "^0.11.7",
146
- "draftjs-to-html": "^0.9.1",
147
- "file-saver": "^2.0.5",
148
- highcharts: "^10.2.1",
149
- "highcharts-react-official": "^3.1.0",
150
- "html-to-draftjs": "^1.5.0",
151
- i: "^0.3.7",
152
- immer: "^9.0.18",
153
- "jodit-react": "^1.3.23",
154
- npm: "^9.4.1",
155
- "pure-react-carousel": "^1.30.1",
156
- "qrcode.react": "^3.1.0",
157
- "rc-slider": "^8.6.9",
158
- "react-beautiful-dnd": "^13.1.1",
159
- "react-colorful": "^5.6.1",
160
- "react-custom-scrollbars": "^4.2.1",
161
- "react-dnd": "^16.0.1",
162
- "react-dnd-html5-backend": "^16.0.1",
163
- "react-draft-wysiwyg": "^1.15.0",
164
- "react-fast-compare": "^3.2.0",
165
- "react-is": "^17.0.2",
166
- "react-loading-skeleton": "^1.1.1",
167
- "react-swipeable": "^7.0.0",
168
- "react-tiny-popover": "^3.4.5",
169
- "react-tiny-popover-latest": "npm:react-tiny-popover@^6.0.4",
170
- "react-virtualized": "^9.21.1",
171
- "resize-observer-polyfill": "^1.5.1",
172
- xlsx: "^0.18.5"
173
- };
174
- var husky = {
175
- hooks: {
176
- "pre-commit": "lint-staged --config ./configs/.lintstagedrc.json",
177
- "commit-msg": "commitlint --config ./configs/commitlint.config.js -E HUSKY_GIT_PARAMS"
178
- }
179
- };
180
- var browserslist = [
181
- ">0.2%",
182
- "not dead",
183
- "not ie <= 11",
184
- "not op_mini all"
185
- ];
186
- var config = {
187
- commitizen: {
188
- path: "./node_modules/cz-conventional-changelog"
189
- }
190
- };
191
- var license = "MIT";
192
- var pgk = {
193
- name: name,
194
- description: description,
195
- version: version,
196
- author: author,
197
- homepage: homepage,
198
- repository: repository,
199
- bugs: bugs,
200
- keywords: keywords,
201
- main: main,
202
- scripts: scripts,
203
- peerDependencies: peerDependencies,
204
- devDependencies: devDependencies,
205
- dependencies: dependencies,
206
- husky: husky,
207
- browserslist: browserslist,
208
- config: config,
209
- license: license
210
- };
211
-
212
- const GeneUIDesignSystemContext = /*#__PURE__*/createContext();
213
- function GeneUIProvider(_ref) {
214
- let {
215
- children,
216
- tokens,
217
- theme
218
- } = _ref;
219
- const geneUIProviderRef = useRef(null);
220
- const contextValue = {
221
- theme,
222
- tokens,
223
- geneUIProviderRef
224
- };
225
- return /*#__PURE__*/React__default.createElement(GeneUIDesignSystemContext.Provider, {
226
- value: contextValue
227
- }, /*#__PURE__*/React__default.createElement("div", {
228
- "data-gene-ui-version": pgk.version,
229
- ref: geneUIProviderRef,
230
- style: {
231
- height: '100%'
232
- }
233
- }, children));
234
- }
235
- GeneUIProvider.propTypes = {
236
- /**
237
- * Any valid React node
238
- */
239
- children: propTypesExports.node,
240
- /**
241
- * Tokens library object defined by style-dictionary standard,
242
- * and GeneUI tokens package rules
243
- */
244
- tokens: propTypesExports.object,
245
- /**
246
- * Theme which will follow all nested GeneUI components
247
- */
248
- theme: propTypesExports.oneOf(['light', 'dark'])
249
- };
250
- GeneUIProvider.defaultProps = {
251
- tokens: {},
252
- theme: 'light'
253
- };
254
- GeneUIProvider.displayName = 'GeneUIProvider';
255
-
256
- export { GeneUIDesignSystemContext, GeneUIProvider as default };