@spscommerce/ds-react 5.18.3-ie → 5.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (871) hide show
  1. package/lib/card-v2/SpsCardV2.d.ts +2 -0
  2. package/lib/card-v2/SpsCardV2Footer.d.ts +2 -0
  3. package/lib/card-v2/SpsCardV2Header.d.ts +2 -0
  4. package/lib/card-v2/SpsCardV2Title.d.ts +2 -0
  5. package/lib/card-v2/index.d.ts +5 -0
  6. package/lib/index.cjs.js +8675 -35025
  7. package/lib/index.d.ts +3 -1
  8. package/lib/index.es.js +32107 -28295
  9. package/lib/list-toolbar/SpsListToolbarSortBy.d.ts +2 -1
  10. package/lib/tabs-v2/SpsTab.d.ts +6 -0
  11. package/lib/tabs-v2/SpsTabPanel.d.ts +5 -0
  12. package/lib/tabs-v2/SpsTabsV2.d.ts +2 -0
  13. package/lib/tabs-v2/index.d.ts +4 -0
  14. package/package.json +21 -15
  15. package/vite.config.js +1 -1
  16. package/dist/out-tsc/_template/SpsComponent.d.ts +0 -15
  17. package/dist/out-tsc/_template/SpsComponent.examples.d.ts +0 -2
  18. package/dist/out-tsc/_template/SpsComponent.examples.js +0 -17
  19. package/dist/out-tsc/_template/SpsComponent.examples.js.map +0 -1
  20. package/dist/out-tsc/_template/SpsComponent.js +0 -44
  21. package/dist/out-tsc/_template/SpsComponent.js.map +0 -1
  22. package/dist/out-tsc/_template/index.d.ts +0 -2
  23. package/dist/out-tsc/_template/index.js +0 -3
  24. package/dist/out-tsc/_template/index.js.map +0 -1
  25. package/dist/out-tsc/advanced-search/SpsAdvancedSearch.d.ts +0 -22
  26. package/dist/out-tsc/advanced-search/SpsAdvancedSearch.examples.d.ts +0 -2
  27. package/dist/out-tsc/advanced-search/SpsAdvancedSearch.examples.js +0 -43
  28. package/dist/out-tsc/advanced-search/SpsAdvancedSearch.examples.js.map +0 -1
  29. package/dist/out-tsc/advanced-search/SpsAdvancedSearch.js +0 -58
  30. package/dist/out-tsc/advanced-search/SpsAdvancedSearch.js.map +0 -1
  31. package/dist/out-tsc/advanced-search/index.d.ts +0 -2
  32. package/dist/out-tsc/advanced-search/index.js +0 -3
  33. package/dist/out-tsc/advanced-search/index.js.map +0 -1
  34. package/dist/out-tsc/autocomplete/SpsAutocomplete.d.ts +0 -29
  35. package/dist/out-tsc/autocomplete/SpsAutocomplete.examples.d.ts +0 -2
  36. package/dist/out-tsc/autocomplete/SpsAutocomplete.examples.js +0 -37
  37. package/dist/out-tsc/autocomplete/SpsAutocomplete.examples.js.map +0 -1
  38. package/dist/out-tsc/autocomplete/SpsAutocomplete.js +0 -141
  39. package/dist/out-tsc/autocomplete/SpsAutocomplete.js.map +0 -1
  40. package/dist/out-tsc/autocomplete/index.d.ts +0 -2
  41. package/dist/out-tsc/autocomplete/index.js +0 -3
  42. package/dist/out-tsc/autocomplete/index.js.map +0 -1
  43. package/dist/out-tsc/button/SpsButton.d.ts +0 -18
  44. package/dist/out-tsc/button/SpsButton.examples.d.ts +0 -2
  45. package/dist/out-tsc/button/SpsButton.examples.js +0 -201
  46. package/dist/out-tsc/button/SpsButton.examples.js.map +0 -1
  47. package/dist/out-tsc/button/SpsButton.js +0 -67
  48. package/dist/out-tsc/button/SpsButton.js.map +0 -1
  49. package/dist/out-tsc/button/SpsButtonGroup.d.ts +0 -10
  50. package/dist/out-tsc/button/SpsButtonGroup.js +0 -68
  51. package/dist/out-tsc/button/SpsButtonGroup.js.map +0 -1
  52. package/dist/out-tsc/button/SpsIconButtonPanel.d.ts +0 -10
  53. package/dist/out-tsc/button/SpsIconButtonPanel.js +0 -61
  54. package/dist/out-tsc/button/SpsIconButtonPanel.js.map +0 -1
  55. package/dist/out-tsc/button/index.d.ts +0 -4
  56. package/dist/out-tsc/button/index.js +0 -5
  57. package/dist/out-tsc/button/index.js.map +0 -1
  58. package/dist/out-tsc/card/SpsCard.d.ts +0 -16
  59. package/dist/out-tsc/card/SpsCard.examples.d.ts +0 -2
  60. package/dist/out-tsc/card/SpsCard.examples.js +0 -98
  61. package/dist/out-tsc/card/SpsCard.examples.js.map +0 -1
  62. package/dist/out-tsc/card/SpsCard.js +0 -90
  63. package/dist/out-tsc/card/SpsCard.js.map +0 -1
  64. package/dist/out-tsc/card/SpsCardHeader.d.ts +0 -14
  65. package/dist/out-tsc/card/SpsCardHeader.js +0 -49
  66. package/dist/out-tsc/card/SpsCardHeader.js.map +0 -1
  67. package/dist/out-tsc/card/SpsCardTabbedPane.d.ts +0 -19
  68. package/dist/out-tsc/card/SpsCardTabbedPane.js +0 -63
  69. package/dist/out-tsc/card/SpsCardTabbedPane.js.map +0 -1
  70. package/dist/out-tsc/card/index.d.ts +0 -3
  71. package/dist/out-tsc/card/index.js +0 -4
  72. package/dist/out-tsc/card/index.js.map +0 -1
  73. package/dist/out-tsc/card/useTab.d.ts +0 -18
  74. package/dist/out-tsc/card/useTab.js +0 -110
  75. package/dist/out-tsc/card/useTab.js.map +0 -1
  76. package/dist/out-tsc/checkbox/SpsCheckbox.d.ts +0 -21
  77. package/dist/out-tsc/checkbox/SpsCheckbox.examples.d.ts +0 -2
  78. package/dist/out-tsc/checkbox/SpsCheckbox.examples.js +0 -35
  79. package/dist/out-tsc/checkbox/SpsCheckbox.examples.js.map +0 -1
  80. package/dist/out-tsc/checkbox/SpsCheckbox.js +0 -88
  81. package/dist/out-tsc/checkbox/SpsCheckbox.js.map +0 -1
  82. package/dist/out-tsc/checkbox/index.d.ts +0 -2
  83. package/dist/out-tsc/checkbox/index.js +0 -3
  84. package/dist/out-tsc/checkbox/index.js.map +0 -1
  85. package/dist/out-tsc/checkbox-dropdown/SpsCheckboxDropdown.d.ts +0 -17
  86. package/dist/out-tsc/checkbox-dropdown/SpsCheckboxDropdown.js +0 -54
  87. package/dist/out-tsc/checkbox-dropdown/SpsCheckboxDropdown.js.map +0 -1
  88. package/dist/out-tsc/checkbox-dropdown/index.d.ts +0 -1
  89. package/dist/out-tsc/checkbox-dropdown/index.js +0 -2
  90. package/dist/out-tsc/checkbox-dropdown/index.js.map +0 -1
  91. package/dist/out-tsc/clickable-tag/SpsClickableTag.d.ts +0 -16
  92. package/dist/out-tsc/clickable-tag/SpsClickableTag.examples.d.ts +0 -2
  93. package/dist/out-tsc/clickable-tag/SpsClickableTag.examples.js +0 -42
  94. package/dist/out-tsc/clickable-tag/SpsClickableTag.examples.js.map +0 -1
  95. package/dist/out-tsc/clickable-tag/SpsClickableTag.js +0 -74
  96. package/dist/out-tsc/clickable-tag/SpsClickableTag.js.map +0 -1
  97. package/dist/out-tsc/clickable-tag/index.d.ts +0 -2
  98. package/dist/out-tsc/clickable-tag/index.js +0 -3
  99. package/dist/out-tsc/clickable-tag/index.js.map +0 -1
  100. package/dist/out-tsc/column-chooser/SpsColumnChooser.d.ts +0 -19
  101. package/dist/out-tsc/column-chooser/SpsColumnChooser.examples.d.ts +0 -2
  102. package/dist/out-tsc/column-chooser/SpsColumnChooser.examples.js +0 -18
  103. package/dist/out-tsc/column-chooser/SpsColumnChooser.examples.js.map +0 -1
  104. package/dist/out-tsc/column-chooser/SpsColumnChooser.js +0 -158
  105. package/dist/out-tsc/column-chooser/SpsColumnChooser.js.map +0 -1
  106. package/dist/out-tsc/column-chooser/SpsColumnChooserColumn.d.ts +0 -17
  107. package/dist/out-tsc/column-chooser/SpsColumnChooserColumn.js +0 -61
  108. package/dist/out-tsc/column-chooser/SpsColumnChooserColumn.js.map +0 -1
  109. package/dist/out-tsc/column-chooser/index.d.ts +0 -3
  110. package/dist/out-tsc/column-chooser/index.js +0 -4
  111. package/dist/out-tsc/column-chooser/index.js.map +0 -1
  112. package/dist/out-tsc/conditional-field/SpsConditionalField.d.ts +0 -11
  113. package/dist/out-tsc/conditional-field/SpsConditionalField.examples.d.ts +0 -2
  114. package/dist/out-tsc/conditional-field/SpsConditionalField.examples.js +0 -20
  115. package/dist/out-tsc/conditional-field/SpsConditionalField.examples.js.map +0 -1
  116. package/dist/out-tsc/conditional-field/SpsConditionalField.js +0 -39
  117. package/dist/out-tsc/conditional-field/SpsConditionalField.js.map +0 -1
  118. package/dist/out-tsc/conditional-field/index.d.ts +0 -2
  119. package/dist/out-tsc/conditional-field/index.js +0 -3
  120. package/dist/out-tsc/conditional-field/index.js.map +0 -1
  121. package/dist/out-tsc/content-row/SpsContentRow.d.ts +0 -22
  122. package/dist/out-tsc/content-row/SpsContentRow.examples.d.ts +0 -2
  123. package/dist/out-tsc/content-row/SpsContentRow.examples.js +0 -51
  124. package/dist/out-tsc/content-row/SpsContentRow.examples.js.map +0 -1
  125. package/dist/out-tsc/content-row/SpsContentRow.js +0 -105
  126. package/dist/out-tsc/content-row/SpsContentRow.js.map +0 -1
  127. package/dist/out-tsc/content-row/SpsContentRowCol.d.ts +0 -15
  128. package/dist/out-tsc/content-row/SpsContentRowCol.js +0 -57
  129. package/dist/out-tsc/content-row/SpsContentRowCol.js.map +0 -1
  130. package/dist/out-tsc/content-row/SpsContentRowExpansion.d.ts +0 -10
  131. package/dist/out-tsc/content-row/SpsContentRowExpansion.js +0 -38
  132. package/dist/out-tsc/content-row/SpsContentRowExpansion.js.map +0 -1
  133. package/dist/out-tsc/content-row/index.d.ts +0 -4
  134. package/dist/out-tsc/content-row/index.js +0 -5
  135. package/dist/out-tsc/content-row/index.js.map +0 -1
  136. package/dist/out-tsc/currency-input/SpsCurrencyInput.d.ts +0 -18
  137. package/dist/out-tsc/currency-input/SpsCurrencyInput.examples.d.ts +0 -2
  138. package/dist/out-tsc/currency-input/SpsCurrencyInput.examples.js +0 -20
  139. package/dist/out-tsc/currency-input/SpsCurrencyInput.examples.js.map +0 -1
  140. package/dist/out-tsc/currency-input/SpsCurrencyInput.js +0 -82
  141. package/dist/out-tsc/currency-input/SpsCurrencyInput.js.map +0 -1
  142. package/dist/out-tsc/currency-input/index.d.ts +0 -2
  143. package/dist/out-tsc/currency-input/index.js +0 -3
  144. package/dist/out-tsc/currency-input/index.js.map +0 -1
  145. package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.d.ts +0 -23
  146. package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.examples.d.ts +0 -2
  147. package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.examples.js +0 -42
  148. package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.examples.js.map +0 -1
  149. package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.js +0 -635
  150. package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.js.map +0 -1
  151. package/dist/out-tsc/dateRangePicker/index.d.ts +0 -2
  152. package/dist/out-tsc/dateRangePicker/index.js +0 -3
  153. package/dist/out-tsc/dateRangePicker/index.js.map +0 -1
  154. package/dist/out-tsc/datepicker/SpsDatepicker.d.ts +0 -19
  155. package/dist/out-tsc/datepicker/SpsDatepicker.examples.d.ts +0 -2
  156. package/dist/out-tsc/datepicker/SpsDatepicker.examples.js +0 -33
  157. package/dist/out-tsc/datepicker/SpsDatepicker.examples.js.map +0 -1
  158. package/dist/out-tsc/datepicker/SpsDatepicker.js +0 -427
  159. package/dist/out-tsc/datepicker/SpsDatepicker.js.map +0 -1
  160. package/dist/out-tsc/datepicker/index.d.ts +0 -2
  161. package/dist/out-tsc/datepicker/index.js +0 -3
  162. package/dist/out-tsc/datepicker/index.js.map +0 -1
  163. package/dist/out-tsc/datepicker-v2/SpsDateRangePickerV2.d.ts +0 -21
  164. package/dist/out-tsc/datepicker-v2/SpsDateRangePickerV2.js +0 -213
  165. package/dist/out-tsc/datepicker-v2/SpsDateRangePickerV2.js.map +0 -1
  166. package/dist/out-tsc/datepicker-v2/SpsDatepickerCalendar.d.ts +0 -18
  167. package/dist/out-tsc/datepicker-v2/SpsDatepickerCalendar.js +0 -140
  168. package/dist/out-tsc/datepicker-v2/SpsDatepickerCalendar.js.map +0 -1
  169. package/dist/out-tsc/datepicker-v2/SpsDatepickerPopup.d.ts +0 -13
  170. package/dist/out-tsc/datepicker-v2/SpsDatepickerPopup.js +0 -65
  171. package/dist/out-tsc/datepicker-v2/SpsDatepickerPopup.js.map +0 -1
  172. package/dist/out-tsc/datepicker-v2/SpsDatepickerV2.d.ts +0 -18
  173. package/dist/out-tsc/datepicker-v2/SpsDatepickerV2.js +0 -111
  174. package/dist/out-tsc/datepicker-v2/SpsDatepickerV2.js.map +0 -1
  175. package/dist/out-tsc/datepicker-v2/index.d.ts +0 -4
  176. package/dist/out-tsc/datepicker-v2/index.js +0 -5
  177. package/dist/out-tsc/datepicker-v2/index.js.map +0 -1
  178. package/dist/out-tsc/datepicker-v2/useCalendar.d.ts +0 -2
  179. package/dist/out-tsc/datepicker-v2/useCalendar.js +0 -58
  180. package/dist/out-tsc/datepicker-v2/useCalendar.js.map +0 -1
  181. package/dist/out-tsc/datepicker-v2/useMoment.d.ts +0 -3
  182. package/dist/out-tsc/datepicker-v2/useMoment.js +0 -24
  183. package/dist/out-tsc/datepicker-v2/useMoment.js.map +0 -1
  184. package/dist/out-tsc/datepicker-v2/utils.d.ts +0 -23
  185. package/dist/out-tsc/datepicker-v2/utils.js +0 -169
  186. package/dist/out-tsc/datepicker-v2/utils.js.map +0 -1
  187. package/dist/out-tsc/datepicker-v2/validation.d.ts +0 -10
  188. package/dist/out-tsc/datepicker-v2/validation.js +0 -67
  189. package/dist/out-tsc/datepicker-v2/validation.js.map +0 -1
  190. package/dist/out-tsc/datetime/SpsDateTime.d.ts +0 -26
  191. package/dist/out-tsc/datetime/SpsDateTime.examples.d.ts +0 -2
  192. package/dist/out-tsc/datetime/SpsDateTime.examples.js +0 -21
  193. package/dist/out-tsc/datetime/SpsDateTime.examples.js.map +0 -1
  194. package/dist/out-tsc/datetime/SpsDateTime.js +0 -194
  195. package/dist/out-tsc/datetime/SpsDateTime.js.map +0 -1
  196. package/dist/out-tsc/datetime/index.d.ts +0 -2
  197. package/dist/out-tsc/datetime/index.js +0 -3
  198. package/dist/out-tsc/datetime/index.js.map +0 -1
  199. package/dist/out-tsc/description-list/SpsDescriptionList.d.ts +0 -14
  200. package/dist/out-tsc/description-list/SpsDescriptionList.examples.d.ts +0 -2
  201. package/dist/out-tsc/description-list/SpsDescriptionList.examples.js +0 -47
  202. package/dist/out-tsc/description-list/SpsDescriptionList.examples.js.map +0 -1
  203. package/dist/out-tsc/description-list/SpsDescriptionList.js +0 -65
  204. package/dist/out-tsc/description-list/SpsDescriptionList.js.map +0 -1
  205. package/dist/out-tsc/description-list/SpsDescriptionListDefinition.d.ts +0 -11
  206. package/dist/out-tsc/description-list/SpsDescriptionListDefinition.js +0 -46
  207. package/dist/out-tsc/description-list/SpsDescriptionListDefinition.js.map +0 -1
  208. package/dist/out-tsc/description-list/SpsDescriptionListTerm.d.ts +0 -18
  209. package/dist/out-tsc/description-list/SpsDescriptionListTerm.js +0 -92
  210. package/dist/out-tsc/description-list/SpsDescriptionListTerm.js.map +0 -1
  211. package/dist/out-tsc/description-list/index.d.ts +0 -4
  212. package/dist/out-tsc/description-list/index.js +0 -5
  213. package/dist/out-tsc/description-list/index.js.map +0 -1
  214. package/dist/out-tsc/dropdown/SpsDropdown.d.ts +0 -26
  215. package/dist/out-tsc/dropdown/SpsDropdown.examples.d.ts +0 -2
  216. package/dist/out-tsc/dropdown/SpsDropdown.examples.js +0 -95
  217. package/dist/out-tsc/dropdown/SpsDropdown.examples.js.map +0 -1
  218. package/dist/out-tsc/dropdown/SpsDropdown.js +0 -164
  219. package/dist/out-tsc/dropdown/SpsDropdown.js.map +0 -1
  220. package/dist/out-tsc/dropdown/index.d.ts +0 -2
  221. package/dist/out-tsc/dropdown/index.js +0 -3
  222. package/dist/out-tsc/dropdown/index.js.map +0 -1
  223. package/dist/out-tsc/feedback-block/SpsFeedbackBlock.d.ts +0 -12
  224. package/dist/out-tsc/feedback-block/SpsFeedbackBlock.examples.d.ts +0 -2
  225. package/dist/out-tsc/feedback-block/SpsFeedbackBlock.examples.js +0 -63
  226. package/dist/out-tsc/feedback-block/SpsFeedbackBlock.examples.js.map +0 -1
  227. package/dist/out-tsc/feedback-block/SpsFeedbackBlock.js +0 -43
  228. package/dist/out-tsc/feedback-block/SpsFeedbackBlock.js.map +0 -1
  229. package/dist/out-tsc/feedback-block/index.d.ts +0 -2
  230. package/dist/out-tsc/feedback-block/index.js +0 -3
  231. package/dist/out-tsc/feedback-block/index.js.map +0 -1
  232. package/dist/out-tsc/fieldset/SpsFieldset.d.ts +0 -22
  233. package/dist/out-tsc/fieldset/SpsFieldset.examples.d.ts +0 -2
  234. package/dist/out-tsc/fieldset/SpsFieldset.examples.js +0 -54
  235. package/dist/out-tsc/fieldset/SpsFieldset.examples.js.map +0 -1
  236. package/dist/out-tsc/fieldset/SpsFieldset.js +0 -99
  237. package/dist/out-tsc/fieldset/SpsFieldset.js.map +0 -1
  238. package/dist/out-tsc/fieldset/index.d.ts +0 -2
  239. package/dist/out-tsc/fieldset/index.js +0 -3
  240. package/dist/out-tsc/fieldset/index.js.map +0 -1
  241. package/dist/out-tsc/filter-panel/SpsFilterPanel.d.ts +0 -10
  242. package/dist/out-tsc/filter-panel/SpsFilterPanel.examples.d.ts +0 -2
  243. package/dist/out-tsc/filter-panel/SpsFilterPanel.examples.js +0 -31
  244. package/dist/out-tsc/filter-panel/SpsFilterPanel.examples.js.map +0 -1
  245. package/dist/out-tsc/filter-panel/SpsFilterPanel.js +0 -37
  246. package/dist/out-tsc/filter-panel/SpsFilterPanel.js.map +0 -1
  247. package/dist/out-tsc/filter-panel/SpsFilterPanelCap.d.ts +0 -11
  248. package/dist/out-tsc/filter-panel/SpsFilterPanelCap.js +0 -48
  249. package/dist/out-tsc/filter-panel/SpsFilterPanelCap.js.map +0 -1
  250. package/dist/out-tsc/filter-panel/SpsFilterPanelFilterBox.d.ts +0 -16
  251. package/dist/out-tsc/filter-panel/SpsFilterPanelFilterBox.js +0 -49
  252. package/dist/out-tsc/filter-panel/SpsFilterPanelFilterBox.js.map +0 -1
  253. package/dist/out-tsc/filter-panel/SpsFilterPanelSection.d.ts +0 -16
  254. package/dist/out-tsc/filter-panel/SpsFilterPanelSection.js +0 -84
  255. package/dist/out-tsc/filter-panel/SpsFilterPanelSection.js.map +0 -1
  256. package/dist/out-tsc/filter-panel/index.d.ts +0 -5
  257. package/dist/out-tsc/filter-panel/index.js +0 -6
  258. package/dist/out-tsc/filter-panel/index.js.map +0 -1
  259. package/dist/out-tsc/filter-tile-list/SpsFilterTile.d.ts +0 -15
  260. package/dist/out-tsc/filter-tile-list/SpsFilterTile.js +0 -66
  261. package/dist/out-tsc/filter-tile-list/SpsFilterTile.js.map +0 -1
  262. package/dist/out-tsc/filter-tile-list/SpsFilterTileList.d.ts +0 -10
  263. package/dist/out-tsc/filter-tile-list/SpsFilterTileList.examples.d.ts +0 -2
  264. package/dist/out-tsc/filter-tile-list/SpsFilterTileList.examples.js +0 -17
  265. package/dist/out-tsc/filter-tile-list/SpsFilterTileList.examples.js.map +0 -1
  266. package/dist/out-tsc/filter-tile-list/SpsFilterTileList.js +0 -38
  267. package/dist/out-tsc/filter-tile-list/SpsFilterTileList.js.map +0 -1
  268. package/dist/out-tsc/filter-tile-list/index.d.ts +0 -3
  269. package/dist/out-tsc/filter-tile-list/index.js +0 -4
  270. package/dist/out-tsc/filter-tile-list/index.js.map +0 -1
  271. package/dist/out-tsc/focused-task/SpsFocusedTask.d.ts +0 -13
  272. package/dist/out-tsc/focused-task/SpsFocusedTask.examples.d.ts +0 -2
  273. package/dist/out-tsc/focused-task/SpsFocusedTask.examples.js +0 -19
  274. package/dist/out-tsc/focused-task/SpsFocusedTask.examples.js.map +0 -1
  275. package/dist/out-tsc/focused-task/SpsFocusedTask.js +0 -80
  276. package/dist/out-tsc/focused-task/SpsFocusedTask.js.map +0 -1
  277. package/dist/out-tsc/focused-task/SpsFocusedTaskActions.d.ts +0 -10
  278. package/dist/out-tsc/focused-task/SpsFocusedTaskActions.js +0 -40
  279. package/dist/out-tsc/focused-task/SpsFocusedTaskActions.js.map +0 -1
  280. package/dist/out-tsc/focused-task/index.d.ts +0 -3
  281. package/dist/out-tsc/focused-task/index.js +0 -4
  282. package/dist/out-tsc/focused-task/index.js.map +0 -1
  283. package/dist/out-tsc/form/AddRemoveFormRows.examples.d.ts +0 -18
  284. package/dist/out-tsc/form/AddRemoveFormRows.examples.js +0 -25
  285. package/dist/out-tsc/form/AddRemoveFormRows.examples.js.map +0 -1
  286. package/dist/out-tsc/form/SpsForm.d.ts +0 -24
  287. package/dist/out-tsc/form/SpsForm.examples.d.ts +0 -50
  288. package/dist/out-tsc/form/SpsForm.examples.js +0 -67
  289. package/dist/out-tsc/form/SpsForm.examples.js.map +0 -1
  290. package/dist/out-tsc/form/SpsForm.js +0 -52
  291. package/dist/out-tsc/form/SpsForm.js.map +0 -1
  292. package/dist/out-tsc/form/SpsFormComponentWrapper.d.ts +0 -19
  293. package/dist/out-tsc/form/SpsFormComponentWrapper.js +0 -69
  294. package/dist/out-tsc/form/SpsFormComponentWrapper.js.map +0 -1
  295. package/dist/out-tsc/form/hooks/SpsAbstractControl.interface.d.ts +0 -24
  296. package/dist/out-tsc/form/hooks/SpsAbstractControl.interface.js +0 -2
  297. package/dist/out-tsc/form/hooks/SpsAbstractControl.interface.js.map +0 -1
  298. package/dist/out-tsc/form/hooks/SpsControlSet.interface.d.ts +0 -7
  299. package/dist/out-tsc/form/hooks/SpsControlSet.interface.js +0 -24
  300. package/dist/out-tsc/form/hooks/SpsControlSet.interface.js.map +0 -1
  301. package/dist/out-tsc/form/hooks/formArray.d.ts +0 -12
  302. package/dist/out-tsc/form/hooks/formArray.js +0 -211
  303. package/dist/out-tsc/form/hooks/formArray.js.map +0 -1
  304. package/dist/out-tsc/form/hooks/formControl.d.ts +0 -9
  305. package/dist/out-tsc/form/hooks/formControl.js +0 -68
  306. package/dist/out-tsc/form/hooks/formControl.js.map +0 -1
  307. package/dist/out-tsc/form/hooks/formGroup.d.ts +0 -10
  308. package/dist/out-tsc/form/hooks/formGroup.js +0 -182
  309. package/dist/out-tsc/form/hooks/formGroup.js.map +0 -1
  310. package/dist/out-tsc/form/hooks/useCustomValidator.d.ts +0 -7
  311. package/dist/out-tsc/form/hooks/useCustomValidator.js +0 -60
  312. package/dist/out-tsc/form/hooks/useCustomValidator.js.map +0 -1
  313. package/dist/out-tsc/form/hooks/useForm.d.ts +0 -2
  314. package/dist/out-tsc/form/hooks/useForm.js +0 -98
  315. package/dist/out-tsc/form/hooks/useForm.js.map +0 -1
  316. package/dist/out-tsc/form/hooks/useFormControlId.d.ts +0 -4
  317. package/dist/out-tsc/form/hooks/useFormControlId.js +0 -18
  318. package/dist/out-tsc/form/hooks/useFormControlId.js.map +0 -1
  319. package/dist/out-tsc/form/hooks/useServerSideValidation.d.ts +0 -3
  320. package/dist/out-tsc/form/hooks/useServerSideValidation.js +0 -37
  321. package/dist/out-tsc/form/hooks/useServerSideValidation.js.map +0 -1
  322. package/dist/out-tsc/form/hooks/useSpsForm.d.ts +0 -83
  323. package/dist/out-tsc/form/hooks/useSpsForm.js +0 -736
  324. package/dist/out-tsc/form/hooks/useSpsForm.js.map +0 -1
  325. package/dist/out-tsc/form/index.d.ts +0 -16
  326. package/dist/out-tsc/form/index.js +0 -17
  327. package/dist/out-tsc/form/index.js.map +0 -1
  328. package/dist/out-tsc/form/validation/SpsValidators.d.ts +0 -16
  329. package/dist/out-tsc/form/validation/SpsValidators.js +0 -84
  330. package/dist/out-tsc/form/validation/SpsValidators.js.map +0 -1
  331. package/dist/out-tsc/form/validation/types.d.ts +0 -10
  332. package/dist/out-tsc/form/validation/types.js +0 -21
  333. package/dist/out-tsc/form/validation/types.js.map +0 -1
  334. package/dist/out-tsc/form/validation/validate.d.ts +0 -2
  335. package/dist/out-tsc/form/validation/validate.js +0 -6
  336. package/dist/out-tsc/form/validation/validate.js.map +0 -1
  337. package/dist/out-tsc/growler/SpsGrowler.d.ts +0 -17
  338. package/dist/out-tsc/growler/SpsGrowler.examples.d.ts +0 -2
  339. package/dist/out-tsc/growler/SpsGrowler.examples.js +0 -122
  340. package/dist/out-tsc/growler/SpsGrowler.examples.js.map +0 -1
  341. package/dist/out-tsc/growler/SpsGrowler.js +0 -147
  342. package/dist/out-tsc/growler/SpsGrowler.js.map +0 -1
  343. package/dist/out-tsc/growler/index.d.ts +0 -3
  344. package/dist/out-tsc/growler/index.js +0 -4
  345. package/dist/out-tsc/growler/index.js.map +0 -1
  346. package/dist/out-tsc/growler/useGrowlers.d.ts +0 -12
  347. package/dist/out-tsc/growler/useGrowlers.js +0 -59
  348. package/dist/out-tsc/growler/useGrowlers.js.map +0 -1
  349. package/dist/out-tsc/i18n.d.ts +0 -3
  350. package/dist/out-tsc/i18n.js +0 -4
  351. package/dist/out-tsc/i18n.js.map +0 -1
  352. package/dist/out-tsc/icon/SpsIcon.d.ts +0 -13
  353. package/dist/out-tsc/icon/SpsIcon.js +0 -47
  354. package/dist/out-tsc/icon/SpsIcon.js.map +0 -1
  355. package/dist/out-tsc/icon/index.d.ts +0 -1
  356. package/dist/out-tsc/icon/index.js +0 -2
  357. package/dist/out-tsc/icon/index.js.map +0 -1
  358. package/dist/out-tsc/incrementor/SpsIncrementor.d.ts +0 -15
  359. package/dist/out-tsc/incrementor/SpsIncrementor.examples.d.ts +0 -2
  360. package/dist/out-tsc/incrementor/SpsIncrementor.examples.js +0 -18
  361. package/dist/out-tsc/incrementor/SpsIncrementor.examples.js.map +0 -1
  362. package/dist/out-tsc/incrementor/SpsIncrementor.js +0 -113
  363. package/dist/out-tsc/incrementor/SpsIncrementor.js.map +0 -1
  364. package/dist/out-tsc/incrementor/index.d.ts +0 -2
  365. package/dist/out-tsc/incrementor/index.js +0 -3
  366. package/dist/out-tsc/incrementor/index.js.map +0 -1
  367. package/dist/out-tsc/index.d.ts +0 -69
  368. package/dist/out-tsc/index.js +0 -70
  369. package/dist/out-tsc/index.js.map +0 -1
  370. package/dist/out-tsc/input-group/SpsInputGroup.d.ts +0 -17
  371. package/dist/out-tsc/input-group/SpsInputGroup.js +0 -74
  372. package/dist/out-tsc/input-group/SpsInputGroup.js.map +0 -1
  373. package/dist/out-tsc/input-group/index.d.ts +0 -1
  374. package/dist/out-tsc/input-group/index.js +0 -2
  375. package/dist/out-tsc/input-group/index.js.map +0 -1
  376. package/dist/out-tsc/insight-tile/SpsInsightTile.d.ts +0 -18
  377. package/dist/out-tsc/insight-tile/SpsInsightTile.examples.d.ts +0 -2
  378. package/dist/out-tsc/insight-tile/SpsInsightTile.examples.js +0 -59
  379. package/dist/out-tsc/insight-tile/SpsInsightTile.examples.js.map +0 -1
  380. package/dist/out-tsc/insight-tile/SpsInsightTile.js +0 -91
  381. package/dist/out-tsc/insight-tile/SpsInsightTile.js.map +0 -1
  382. package/dist/out-tsc/insight-tile/SpsInsights.d.ts +0 -10
  383. package/dist/out-tsc/insight-tile/SpsInsights.js +0 -19
  384. package/dist/out-tsc/insight-tile/SpsInsights.js.map +0 -1
  385. package/dist/out-tsc/insight-tile/index.d.ts +0 -2
  386. package/dist/out-tsc/insight-tile/index.js +0 -3
  387. package/dist/out-tsc/insight-tile/index.js.map +0 -1
  388. package/dist/out-tsc/key-value-list/SpsKeyValueList.d.ts +0 -11
  389. package/dist/out-tsc/key-value-list/SpsKeyValueList.examples.d.ts +0 -2
  390. package/dist/out-tsc/key-value-list/SpsKeyValueList.examples.js +0 -25
  391. package/dist/out-tsc/key-value-list/SpsKeyValueList.examples.js.map +0 -1
  392. package/dist/out-tsc/key-value-list/SpsKeyValueList.js +0 -40
  393. package/dist/out-tsc/key-value-list/SpsKeyValueList.js.map +0 -1
  394. package/dist/out-tsc/key-value-list/SpsKeyValueListItem.d.ts +0 -13
  395. package/dist/out-tsc/key-value-list/SpsKeyValueListItem.js +0 -44
  396. package/dist/out-tsc/key-value-list/SpsKeyValueListItem.js.map +0 -1
  397. package/dist/out-tsc/key-value-list/index.d.ts +0 -3
  398. package/dist/out-tsc/key-value-list/index.js +0 -4
  399. package/dist/out-tsc/key-value-list/index.js.map +0 -1
  400. package/dist/out-tsc/key-value-tag/SpsKeyValueTag.d.ts +0 -16
  401. package/dist/out-tsc/key-value-tag/SpsKeyValueTag.examples.d.ts +0 -2
  402. package/dist/out-tsc/key-value-tag/SpsKeyValueTag.examples.js +0 -33
  403. package/dist/out-tsc/key-value-tag/SpsKeyValueTag.examples.js.map +0 -1
  404. package/dist/out-tsc/key-value-tag/SpsKeyValueTag.js +0 -56
  405. package/dist/out-tsc/key-value-tag/SpsKeyValueTag.js.map +0 -1
  406. package/dist/out-tsc/key-value-tag/index.d.ts +0 -2
  407. package/dist/out-tsc/key-value-tag/index.js +0 -3
  408. package/dist/out-tsc/key-value-tag/index.js.map +0 -1
  409. package/dist/out-tsc/label/SpsLabel.d.ts +0 -20
  410. package/dist/out-tsc/label/SpsLabel.examples.d.ts +0 -2
  411. package/dist/out-tsc/label/SpsLabel.examples.js +0 -65
  412. package/dist/out-tsc/label/SpsLabel.examples.js.map +0 -1
  413. package/dist/out-tsc/label/SpsLabel.js +0 -223
  414. package/dist/out-tsc/label/SpsLabel.js.map +0 -1
  415. package/dist/out-tsc/label/index.d.ts +0 -2
  416. package/dist/out-tsc/label/index.js +0 -3
  417. package/dist/out-tsc/label/index.js.map +0 -1
  418. package/dist/out-tsc/list-action-bar/SpsListActionBar.d.ts +0 -12
  419. package/dist/out-tsc/list-action-bar/SpsListActionBar.examples.d.ts +0 -2
  420. package/dist/out-tsc/list-action-bar/SpsListActionBar.examples.js +0 -61
  421. package/dist/out-tsc/list-action-bar/SpsListActionBar.examples.js.map +0 -1
  422. package/dist/out-tsc/list-action-bar/SpsListActionBar.js +0 -59
  423. package/dist/out-tsc/list-action-bar/SpsListActionBar.js.map +0 -1
  424. package/dist/out-tsc/list-action-bar/index.d.ts +0 -2
  425. package/dist/out-tsc/list-action-bar/index.js +0 -3
  426. package/dist/out-tsc/list-action-bar/index.js.map +0 -1
  427. package/dist/out-tsc/list-toolbar/SpsListToolbar.d.ts +0 -27
  428. package/dist/out-tsc/list-toolbar/SpsListToolbar.examples.d.ts +0 -3
  429. package/dist/out-tsc/list-toolbar/SpsListToolbar.examples.js +0 -425
  430. package/dist/out-tsc/list-toolbar/SpsListToolbar.examples.js.map +0 -1
  431. package/dist/out-tsc/list-toolbar/SpsListToolbar.js +0 -175
  432. package/dist/out-tsc/list-toolbar/SpsListToolbar.js.map +0 -1
  433. package/dist/out-tsc/list-toolbar/SpsListToolbarSearch.d.ts +0 -12
  434. package/dist/out-tsc/list-toolbar/SpsListToolbarSearch.js +0 -35
  435. package/dist/out-tsc/list-toolbar/SpsListToolbarSearch.js.map +0 -1
  436. package/dist/out-tsc/list-toolbar/SpsListToolbarSearchInfo.d.ts +0 -10
  437. package/dist/out-tsc/list-toolbar/SpsListToolbarSearchInfo.js +0 -25
  438. package/dist/out-tsc/list-toolbar/SpsListToolbarSearchInfo.js.map +0 -1
  439. package/dist/out-tsc/list-toolbar/SpsListToolbarSortBy.d.ts +0 -20
  440. package/dist/out-tsc/list-toolbar/SpsListToolbarSortBy.js +0 -59
  441. package/dist/out-tsc/list-toolbar/SpsListToolbarSortBy.js.map +0 -1
  442. package/dist/out-tsc/list-toolbar/index.d.ts +0 -5
  443. package/dist/out-tsc/list-toolbar/index.js +0 -6
  444. package/dist/out-tsc/list-toolbar/index.js.map +0 -1
  445. package/dist/out-tsc/manifest.d.ts +0 -2
  446. package/dist/out-tsc/manifest.js +0 -462
  447. package/dist/out-tsc/manifest.js.map +0 -1
  448. package/dist/out-tsc/micro-block/SpsMicroBlock.d.ts +0 -13
  449. package/dist/out-tsc/micro-block/SpsMicroBlock.examples.d.ts +0 -2
  450. package/dist/out-tsc/micro-block/SpsMicroBlock.examples.js +0 -49
  451. package/dist/out-tsc/micro-block/SpsMicroBlock.examples.js.map +0 -1
  452. package/dist/out-tsc/micro-block/SpsMicroBlock.js +0 -44
  453. package/dist/out-tsc/micro-block/SpsMicroBlock.js.map +0 -1
  454. package/dist/out-tsc/micro-block/index.d.ts +0 -2
  455. package/dist/out-tsc/micro-block/index.js +0 -3
  456. package/dist/out-tsc/micro-block/index.js.map +0 -1
  457. package/dist/out-tsc/modal/SpsModal.d.ts +0 -25
  458. package/dist/out-tsc/modal/SpsModal.examples.d.ts +0 -2
  459. package/dist/out-tsc/modal/SpsModal.examples.js +0 -138
  460. package/dist/out-tsc/modal/SpsModal.examples.js.map +0 -1
  461. package/dist/out-tsc/modal/SpsModal.js +0 -193
  462. package/dist/out-tsc/modal/SpsModal.js.map +0 -1
  463. package/dist/out-tsc/modal/SpsModalAction.d.ts +0 -18
  464. package/dist/out-tsc/modal/SpsModalAction.js +0 -73
  465. package/dist/out-tsc/modal/SpsModalAction.js.map +0 -1
  466. package/dist/out-tsc/modal/SpsModalBody.d.ts +0 -10
  467. package/dist/out-tsc/modal/SpsModalBody.js +0 -41
  468. package/dist/out-tsc/modal/SpsModalBody.js.map +0 -1
  469. package/dist/out-tsc/modal/SpsModalFooter.d.ts +0 -16
  470. package/dist/out-tsc/modal/SpsModalFooter.js +0 -48
  471. package/dist/out-tsc/modal/SpsModalFooter.js.map +0 -1
  472. package/dist/out-tsc/modal/SpsModalHeader.d.ts +0 -11
  473. package/dist/out-tsc/modal/SpsModalHeader.js +0 -45
  474. package/dist/out-tsc/modal/SpsModalHeader.js.map +0 -1
  475. package/dist/out-tsc/modal/SpsModalOverlay.d.ts +0 -12
  476. package/dist/out-tsc/modal/SpsModalOverlay.js +0 -53
  477. package/dist/out-tsc/modal/SpsModalOverlay.js.map +0 -1
  478. package/dist/out-tsc/modal/index.d.ts +0 -2
  479. package/dist/out-tsc/modal/index.js +0 -5
  480. package/dist/out-tsc/modal/index.js.map +0 -1
  481. package/dist/out-tsc/modal-v2/SpsModalV2.d.ts +0 -18
  482. package/dist/out-tsc/modal-v2/SpsModalV2.js +0 -146
  483. package/dist/out-tsc/modal-v2/SpsModalV2.js.map +0 -1
  484. package/dist/out-tsc/modal-v2/index.d.ts +0 -1
  485. package/dist/out-tsc/modal-v2/index.js +0 -2
  486. package/dist/out-tsc/modal-v2/index.js.map +0 -1
  487. package/dist/out-tsc/multi-select/SpsMultiSelect.d.ts +0 -36
  488. package/dist/out-tsc/multi-select/SpsMultiSelect.examples.d.ts +0 -2
  489. package/dist/out-tsc/multi-select/SpsMultiSelect.examples.js +0 -33
  490. package/dist/out-tsc/multi-select/SpsMultiSelect.examples.js.map +0 -1
  491. package/dist/out-tsc/multi-select/SpsMultiSelect.js +0 -231
  492. package/dist/out-tsc/multi-select/SpsMultiSelect.js.map +0 -1
  493. package/dist/out-tsc/multi-select/index.d.ts +0 -2
  494. package/dist/out-tsc/multi-select/index.js +0 -3
  495. package/dist/out-tsc/multi-select/index.js.map +0 -1
  496. package/dist/out-tsc/option-list/SpsOptionList.d.ts +0 -3
  497. package/dist/out-tsc/option-list/SpsOptionList.js +0 -414
  498. package/dist/out-tsc/option-list/SpsOptionList.js.map +0 -1
  499. package/dist/out-tsc/option-list/SpsOptionListProps.d.ts +0 -81
  500. package/dist/out-tsc/option-list/SpsOptionListProps.js +0 -53
  501. package/dist/out-tsc/option-list/SpsOptionListProps.js.map +0 -1
  502. package/dist/out-tsc/option-list/index.d.ts +0 -1
  503. package/dist/out-tsc/option-list/index.js +0 -2
  504. package/dist/out-tsc/option-list/index.js.map +0 -1
  505. package/dist/out-tsc/option-list/useOptionListOptions.d.ts +0 -8
  506. package/dist/out-tsc/option-list/useOptionListOptions.js +0 -171
  507. package/dist/out-tsc/option-list/useOptionListOptions.js.map +0 -1
  508. package/dist/out-tsc/option-list/useOptionListSearch.d.ts +0 -13
  509. package/dist/out-tsc/option-list/useOptionListSearch.js +0 -74
  510. package/dist/out-tsc/option-list/useOptionListSearch.js.map +0 -1
  511. package/dist/out-tsc/option-list/useSpsAction.d.ts +0 -2
  512. package/dist/out-tsc/option-list/useSpsAction.js +0 -40
  513. package/dist/out-tsc/option-list/useSpsAction.js.map +0 -1
  514. package/dist/out-tsc/page-title/SpsPageSubtitle.d.ts +0 -10
  515. package/dist/out-tsc/page-title/SpsPageSubtitle.js +0 -38
  516. package/dist/out-tsc/page-title/SpsPageSubtitle.js.map +0 -1
  517. package/dist/out-tsc/page-title/SpsPageTitle.d.ts +0 -10
  518. package/dist/out-tsc/page-title/SpsPageTitle.examples.d.ts +0 -2
  519. package/dist/out-tsc/page-title/SpsPageTitle.examples.js +0 -41
  520. package/dist/out-tsc/page-title/SpsPageTitle.examples.js.map +0 -1
  521. package/dist/out-tsc/page-title/SpsPageTitle.js +0 -50
  522. package/dist/out-tsc/page-title/SpsPageTitle.js.map +0 -1
  523. package/dist/out-tsc/page-title/index.d.ts +0 -3
  524. package/dist/out-tsc/page-title/index.js +0 -4
  525. package/dist/out-tsc/page-title/index.js.map +0 -1
  526. package/dist/out-tsc/pagination/SpsPageSelector.d.ts +0 -14
  527. package/dist/out-tsc/pagination/SpsPageSelector.js +0 -99
  528. package/dist/out-tsc/pagination/SpsPageSelector.js.map +0 -1
  529. package/dist/out-tsc/pagination/SpsPagination.d.ts +0 -16
  530. package/dist/out-tsc/pagination/SpsPagination.examples.d.ts +0 -2
  531. package/dist/out-tsc/pagination/SpsPagination.examples.js +0 -78
  532. package/dist/out-tsc/pagination/SpsPagination.examples.js.map +0 -1
  533. package/dist/out-tsc/pagination/SpsPagination.js +0 -138
  534. package/dist/out-tsc/pagination/SpsPagination.js.map +0 -1
  535. package/dist/out-tsc/pagination/index.d.ts +0 -3
  536. package/dist/out-tsc/pagination/index.js +0 -4
  537. package/dist/out-tsc/pagination/index.js.map +0 -1
  538. package/dist/out-tsc/product-bar/SpsProductBar.d.ts +0 -19
  539. package/dist/out-tsc/product-bar/SpsProductBar.examples.d.ts +0 -2
  540. package/dist/out-tsc/product-bar/SpsProductBar.examples.js +0 -42
  541. package/dist/out-tsc/product-bar/SpsProductBar.examples.js.map +0 -1
  542. package/dist/out-tsc/product-bar/SpsProductBar.js +0 -90
  543. package/dist/out-tsc/product-bar/SpsProductBar.js.map +0 -1
  544. package/dist/out-tsc/product-bar/SpsProductBarTab.d.ts +0 -6
  545. package/dist/out-tsc/product-bar/SpsProductBarTab.js +0 -38
  546. package/dist/out-tsc/product-bar/SpsProductBarTab.js.map +0 -1
  547. package/dist/out-tsc/product-bar/index.d.ts +0 -3
  548. package/dist/out-tsc/product-bar/index.js +0 -4
  549. package/dist/out-tsc/product-bar/index.js.map +0 -1
  550. package/dist/out-tsc/progress-bar/SpsProgressBar.d.ts +0 -15
  551. package/dist/out-tsc/progress-bar/SpsProgressBar.examples.d.ts +0 -27
  552. package/dist/out-tsc/progress-bar/SpsProgressBar.examples.js +0 -79
  553. package/dist/out-tsc/progress-bar/SpsProgressBar.examples.js.map +0 -1
  554. package/dist/out-tsc/progress-bar/SpsProgressBar.js +0 -59
  555. package/dist/out-tsc/progress-bar/SpsProgressBar.js.map +0 -1
  556. package/dist/out-tsc/progress-bar/index.d.ts +0 -2
  557. package/dist/out-tsc/progress-bar/index.js +0 -3
  558. package/dist/out-tsc/progress-bar/index.js.map +0 -1
  559. package/dist/out-tsc/progress-ring/SpsProgressRing.d.ts +0 -13
  560. package/dist/out-tsc/progress-ring/SpsProgressRing.js +0 -37
  561. package/dist/out-tsc/progress-ring/SpsProgressRing.js.map +0 -1
  562. package/dist/out-tsc/progress-ring/index.d.ts +0 -1
  563. package/dist/out-tsc/progress-ring/index.js +0 -2
  564. package/dist/out-tsc/progress-ring/index.js.map +0 -1
  565. package/dist/out-tsc/prop-types.d.ts +0 -23
  566. package/dist/out-tsc/prop-types.js +0 -26
  567. package/dist/out-tsc/prop-types.js.map +0 -1
  568. package/dist/out-tsc/radio-button/SpsRadioButton.d.ts +0 -23
  569. package/dist/out-tsc/radio-button/SpsRadioButton.examples.d.ts +0 -2
  570. package/dist/out-tsc/radio-button/SpsRadioButton.examples.js +0 -36
  571. package/dist/out-tsc/radio-button/SpsRadioButton.examples.js.map +0 -1
  572. package/dist/out-tsc/radio-button/SpsRadioButton.js +0 -64
  573. package/dist/out-tsc/radio-button/SpsRadioButton.js.map +0 -1
  574. package/dist/out-tsc/radio-button/index.d.ts +0 -2
  575. package/dist/out-tsc/radio-button/index.js +0 -3
  576. package/dist/out-tsc/radio-button/index.js.map +0 -1
  577. package/dist/out-tsc/scrollable-container/SpsScrollableContainer.d.ts +0 -11
  578. package/dist/out-tsc/scrollable-container/SpsScrollableContainer.examples.d.ts +0 -14
  579. package/dist/out-tsc/scrollable-container/SpsScrollableContainer.examples.js +0 -21
  580. package/dist/out-tsc/scrollable-container/SpsScrollableContainer.examples.js.map +0 -1
  581. package/dist/out-tsc/scrollable-container/SpsScrollableContainer.js +0 -27
  582. package/dist/out-tsc/scrollable-container/SpsScrollableContainer.js.map +0 -1
  583. package/dist/out-tsc/scrollable-container/index.d.ts +0 -2
  584. package/dist/out-tsc/scrollable-container/index.js +0 -3
  585. package/dist/out-tsc/scrollable-container/index.js.map +0 -1
  586. package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.d.ts +0 -13
  587. package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.examples.d.ts +0 -2
  588. package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.examples.js +0 -37
  589. package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.examples.js.map +0 -1
  590. package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.js +0 -74
  591. package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.js.map +0 -1
  592. package/dist/out-tsc/search-results-bar/SpsSearchResultsBarV2.d.ts +0 -14
  593. package/dist/out-tsc/search-results-bar/SpsSearchResultsBarV2.js +0 -68
  594. package/dist/out-tsc/search-results-bar/SpsSearchResultsBarV2.js.map +0 -1
  595. package/dist/out-tsc/search-results-bar/index.d.ts +0 -3
  596. package/dist/out-tsc/search-results-bar/index.js +0 -4
  597. package/dist/out-tsc/search-results-bar/index.js.map +0 -1
  598. package/dist/out-tsc/select/SpsSelect.d.ts +0 -39
  599. package/dist/out-tsc/select/SpsSelect.examples.d.ts +0 -2
  600. package/dist/out-tsc/select/SpsSelect.examples.js +0 -77
  601. package/dist/out-tsc/select/SpsSelect.examples.js.map +0 -1
  602. package/dist/out-tsc/select/SpsSelect.js +0 -207
  603. package/dist/out-tsc/select/SpsSelect.js.map +0 -1
  604. package/dist/out-tsc/select/index.d.ts +0 -2
  605. package/dist/out-tsc/select/index.js +0 -3
  606. package/dist/out-tsc/select/index.js.map +0 -1
  607. package/dist/out-tsc/side-nav/SpsSideNav.d.ts +0 -38
  608. package/dist/out-tsc/side-nav/SpsSideNav.examples.d.ts +0 -2
  609. package/dist/out-tsc/side-nav/SpsSideNav.examples.js +0 -76
  610. package/dist/out-tsc/side-nav/SpsSideNav.examples.js.map +0 -1
  611. package/dist/out-tsc/side-nav/SpsSideNav.js +0 -128
  612. package/dist/out-tsc/side-nav/SpsSideNav.js.map +0 -1
  613. package/dist/out-tsc/side-nav/SpsSideNavBranch.d.ts +0 -9
  614. package/dist/out-tsc/side-nav/SpsSideNavBranch.js +0 -68
  615. package/dist/out-tsc/side-nav/SpsSideNavBranch.js.map +0 -1
  616. package/dist/out-tsc/side-nav/index.d.ts +0 -2
  617. package/dist/out-tsc/side-nav/index.js +0 -3
  618. package/dist/out-tsc/side-nav/index.js.map +0 -1
  619. package/dist/out-tsc/slack-link/SpsSlackLink.d.ts +0 -11
  620. package/dist/out-tsc/slack-link/SpsSlackLink.examples.d.ts +0 -2
  621. package/dist/out-tsc/slack-link/SpsSlackLink.examples.js +0 -16
  622. package/dist/out-tsc/slack-link/SpsSlackLink.examples.js.map +0 -1
  623. package/dist/out-tsc/slack-link/SpsSlackLink.js +0 -45
  624. package/dist/out-tsc/slack-link/SpsSlackLink.js.map +0 -1
  625. package/dist/out-tsc/slack-link/index.d.ts +0 -2
  626. package/dist/out-tsc/slack-link/index.js +0 -3
  627. package/dist/out-tsc/slack-link/index.js.map +0 -1
  628. package/dist/out-tsc/sorting-header/SpsSortingHeader.d.ts +0 -13
  629. package/dist/out-tsc/sorting-header/SpsSortingHeader.examples.d.ts +0 -2
  630. package/dist/out-tsc/sorting-header/SpsSortingHeader.examples.js +0 -17
  631. package/dist/out-tsc/sorting-header/SpsSortingHeader.examples.js.map +0 -1
  632. package/dist/out-tsc/sorting-header/SpsSortingHeader.js +0 -51
  633. package/dist/out-tsc/sorting-header/SpsSortingHeader.js.map +0 -1
  634. package/dist/out-tsc/sorting-header/SpsSortingHeaderCell.d.ts +0 -17
  635. package/dist/out-tsc/sorting-header/SpsSortingHeaderCell.js +0 -71
  636. package/dist/out-tsc/sorting-header/SpsSortingHeaderCell.js.map +0 -1
  637. package/dist/out-tsc/sorting-header/index.d.ts +0 -3
  638. package/dist/out-tsc/sorting-header/index.js +0 -4
  639. package/dist/out-tsc/sorting-header/index.js.map +0 -1
  640. package/dist/out-tsc/spinner/SpsSpinner.d.ts +0 -14
  641. package/dist/out-tsc/spinner/SpsSpinner.examples.d.ts +0 -2
  642. package/dist/out-tsc/spinner/SpsSpinner.examples.js +0 -22
  643. package/dist/out-tsc/spinner/SpsSpinner.examples.js.map +0 -1
  644. package/dist/out-tsc/spinner/SpsSpinner.js +0 -46
  645. package/dist/out-tsc/spinner/SpsSpinner.js.map +0 -1
  646. package/dist/out-tsc/spinner/index.d.ts +0 -2
  647. package/dist/out-tsc/spinner/index.js +0 -3
  648. package/dist/out-tsc/spinner/index.js.map +0 -1
  649. package/dist/out-tsc/split-button/SpsSplitButton.d.ts +0 -18
  650. package/dist/out-tsc/split-button/SpsSplitButton.examples.d.ts +0 -2
  651. package/dist/out-tsc/split-button/SpsSplitButton.examples.js +0 -39
  652. package/dist/out-tsc/split-button/SpsSplitButton.examples.js.map +0 -1
  653. package/dist/out-tsc/split-button/SpsSplitButton.js +0 -76
  654. package/dist/out-tsc/split-button/SpsSplitButton.js.map +0 -1
  655. package/dist/out-tsc/split-button/index.d.ts +0 -2
  656. package/dist/out-tsc/split-button/index.js +0 -3
  657. package/dist/out-tsc/split-button/index.js.map +0 -1
  658. package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.d.ts +0 -22
  659. package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.examples.d.ts +0 -28
  660. package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.examples.js +0 -82
  661. package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.examples.js.map +0 -1
  662. package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.js +0 -58
  663. package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.js.map +0 -1
  664. package/dist/out-tsc/stepped-progress-bar/index.d.ts +0 -2
  665. package/dist/out-tsc/stepped-progress-bar/index.js +0 -3
  666. package/dist/out-tsc/stepped-progress-bar/index.js.map +0 -1
  667. package/dist/out-tsc/summary-list/SpsSummaryList.examples.d.ts +0 -2
  668. package/dist/out-tsc/summary-list/SpsSummaryList.examples.js +0 -44
  669. package/dist/out-tsc/summary-list/SpsSummaryList.examples.js.map +0 -1
  670. package/dist/out-tsc/summary-list/SpsSummaryListColumn.d.ts +0 -14
  671. package/dist/out-tsc/summary-list/SpsSummaryListColumn.js +0 -43
  672. package/dist/out-tsc/summary-list/SpsSummaryListColumn.js.map +0 -1
  673. package/dist/out-tsc/summary-list/SpsSummaryListExpansion.d.ts +0 -10
  674. package/dist/out-tsc/summary-list/SpsSummaryListExpansion.js +0 -38
  675. package/dist/out-tsc/summary-list/SpsSummaryListExpansion.js.map +0 -1
  676. package/dist/out-tsc/summary-list/SpsSummaryListRow.d.ts +0 -13
  677. package/dist/out-tsc/summary-list/SpsSummaryListRow.js +0 -98
  678. package/dist/out-tsc/summary-list/SpsSummaryListRow.js.map +0 -1
  679. package/dist/out-tsc/summary-list/index.d.ts +0 -4
  680. package/dist/out-tsc/summary-list/index.js +0 -5
  681. package/dist/out-tsc/summary-list/index.js.map +0 -1
  682. package/dist/out-tsc/table/SpsTable.d.ts +0 -14
  683. package/dist/out-tsc/table/SpsTable.examples.d.ts +0 -2
  684. package/dist/out-tsc/table/SpsTable.examples.js +0 -138
  685. package/dist/out-tsc/table/SpsTable.examples.js.map +0 -1
  686. package/dist/out-tsc/table/SpsTable.js +0 -89
  687. package/dist/out-tsc/table/SpsTable.js.map +0 -1
  688. package/dist/out-tsc/table/SpsTableBody.d.ts +0 -11
  689. package/dist/out-tsc/table/SpsTableBody.js +0 -46
  690. package/dist/out-tsc/table/SpsTableBody.js.map +0 -1
  691. package/dist/out-tsc/table/SpsTableCell.d.ts +0 -15
  692. package/dist/out-tsc/table/SpsTableCell.js +0 -57
  693. package/dist/out-tsc/table/SpsTableCell.js.map +0 -1
  694. package/dist/out-tsc/table/SpsTableHead.d.ts +0 -15
  695. package/dist/out-tsc/table/SpsTableHead.js +0 -59
  696. package/dist/out-tsc/table/SpsTableHead.js.map +0 -1
  697. package/dist/out-tsc/table/SpsTableHeader.d.ts +0 -17
  698. package/dist/out-tsc/table/SpsTableHeader.js +0 -91
  699. package/dist/out-tsc/table/SpsTableHeader.js.map +0 -1
  700. package/dist/out-tsc/table/SpsTableRow.d.ts +0 -14
  701. package/dist/out-tsc/table/SpsTableRow.js +0 -59
  702. package/dist/out-tsc/table/SpsTableRow.js.map +0 -1
  703. package/dist/out-tsc/table/index.d.ts +0 -7
  704. package/dist/out-tsc/table/index.js +0 -8
  705. package/dist/out-tsc/table/index.js.map +0 -1
  706. package/dist/out-tsc/table/usePinnedStyles.d.ts +0 -4
  707. package/dist/out-tsc/table/usePinnedStyles.js +0 -192
  708. package/dist/out-tsc/table/usePinnedStyles.js.map +0 -1
  709. package/dist/out-tsc/tabs/SpsTabs.d.ts +0 -14
  710. package/dist/out-tsc/tabs/SpsTabs.js +0 -77
  711. package/dist/out-tsc/tabs/SpsTabs.js.map +0 -1
  712. package/dist/out-tsc/tag/SpsTag.d.ts +0 -13
  713. package/dist/out-tsc/tag/SpsTag.examples.d.ts +0 -2
  714. package/dist/out-tsc/tag/SpsTag.examples.js +0 -25
  715. package/dist/out-tsc/tag/SpsTag.examples.js.map +0 -1
  716. package/dist/out-tsc/tag/SpsTag.js +0 -47
  717. package/dist/out-tsc/tag/SpsTag.js.map +0 -1
  718. package/dist/out-tsc/tag/index.d.ts +0 -2
  719. package/dist/out-tsc/tag/index.js +0 -3
  720. package/dist/out-tsc/tag/index.js.map +0 -1
  721. package/dist/out-tsc/task-queue/SpsTaskQueue.d.ts +0 -36
  722. package/dist/out-tsc/task-queue/SpsTaskQueue.examples.d.ts +0 -2
  723. package/dist/out-tsc/task-queue/SpsTaskQueue.examples.js +0 -45
  724. package/dist/out-tsc/task-queue/SpsTaskQueue.examples.js.map +0 -1
  725. package/dist/out-tsc/task-queue/SpsTaskQueue.js +0 -217
  726. package/dist/out-tsc/task-queue/SpsTaskQueue.js.map +0 -1
  727. package/dist/out-tsc/task-queue/index.d.ts +0 -2
  728. package/dist/out-tsc/task-queue/index.js +0 -3
  729. package/dist/out-tsc/task-queue/index.js.map +0 -1
  730. package/dist/out-tsc/test-util.d.ts +0 -2
  731. package/dist/out-tsc/test-util.js +0 -54
  732. package/dist/out-tsc/test-util.js.map +0 -1
  733. package/dist/out-tsc/text-input/SpsTextInput.d.ts +0 -22
  734. package/dist/out-tsc/text-input/SpsTextInput.examples.d.ts +0 -2
  735. package/dist/out-tsc/text-input/SpsTextInput.examples.js +0 -45
  736. package/dist/out-tsc/text-input/SpsTextInput.examples.js.map +0 -1
  737. package/dist/out-tsc/text-input/SpsTextInput.js +0 -73
  738. package/dist/out-tsc/text-input/SpsTextInput.js.map +0 -1
  739. package/dist/out-tsc/text-input/index.d.ts +0 -2
  740. package/dist/out-tsc/text-input/index.js +0 -3
  741. package/dist/out-tsc/text-input/index.js.map +0 -1
  742. package/dist/out-tsc/textarea/SpsTextarea.d.ts +0 -22
  743. package/dist/out-tsc/textarea/SpsTextarea.examples.d.ts +0 -2
  744. package/dist/out-tsc/textarea/SpsTextarea.examples.js +0 -36
  745. package/dist/out-tsc/textarea/SpsTextarea.examples.js.map +0 -1
  746. package/dist/out-tsc/textarea/SpsTextarea.js +0 -71
  747. package/dist/out-tsc/textarea/SpsTextarea.js.map +0 -1
  748. package/dist/out-tsc/textarea/index.d.ts +0 -2
  749. package/dist/out-tsc/textarea/index.js +0 -3
  750. package/dist/out-tsc/textarea/index.js.map +0 -1
  751. package/dist/out-tsc/tile-list/SpsTile.d.ts +0 -16
  752. package/dist/out-tsc/tile-list/SpsTile.js +0 -60
  753. package/dist/out-tsc/tile-list/SpsTile.js.map +0 -1
  754. package/dist/out-tsc/tile-list/SpsTileList.d.ts +0 -10
  755. package/dist/out-tsc/tile-list/SpsTileList.examples.d.ts +0 -2
  756. package/dist/out-tsc/tile-list/SpsTileList.examples.js +0 -36
  757. package/dist/out-tsc/tile-list/SpsTileList.examples.js.map +0 -1
  758. package/dist/out-tsc/tile-list/SpsTileList.js +0 -38
  759. package/dist/out-tsc/tile-list/SpsTileList.js.map +0 -1
  760. package/dist/out-tsc/tile-list/index.d.ts +0 -3
  761. package/dist/out-tsc/tile-list/index.js +0 -4
  762. package/dist/out-tsc/tile-list/index.js.map +0 -1
  763. package/dist/out-tsc/toggle/SpsToggle.d.ts +0 -27
  764. package/dist/out-tsc/toggle/SpsToggle.examples.d.ts +0 -2
  765. package/dist/out-tsc/toggle/SpsToggle.examples.js +0 -37
  766. package/dist/out-tsc/toggle/SpsToggle.examples.js.map +0 -1
  767. package/dist/out-tsc/toggle/SpsToggle.js +0 -95
  768. package/dist/out-tsc/toggle/SpsToggle.js.map +0 -1
  769. package/dist/out-tsc/toggle/index.d.ts +0 -2
  770. package/dist/out-tsc/toggle/index.js +0 -3
  771. package/dist/out-tsc/toggle/index.js.map +0 -1
  772. package/dist/out-tsc/tooltip/SpsTooltip.d.ts +0 -29
  773. package/dist/out-tsc/tooltip/SpsTooltip.examples.d.ts +0 -2
  774. package/dist/out-tsc/tooltip/SpsTooltip.examples.js +0 -119
  775. package/dist/out-tsc/tooltip/SpsTooltip.examples.js.map +0 -1
  776. package/dist/out-tsc/tooltip/SpsTooltip.js +0 -292
  777. package/dist/out-tsc/tooltip/SpsTooltip.js.map +0 -1
  778. package/dist/out-tsc/tooltip/SpsTooltipTitle.d.ts +0 -13
  779. package/dist/out-tsc/tooltip/SpsTooltipTitle.js +0 -32
  780. package/dist/out-tsc/tooltip/SpsTooltipTitle.js.map +0 -1
  781. package/dist/out-tsc/tooltip/index.d.ts +0 -3
  782. package/dist/out-tsc/tooltip/index.js +0 -4
  783. package/dist/out-tsc/tooltip/index.js.map +0 -1
  784. package/dist/out-tsc/utils/FauxChangeEvent.d.ts +0 -20
  785. package/dist/out-tsc/utils/FauxChangeEvent.js +0 -83
  786. package/dist/out-tsc/utils/FauxChangeEvent.js.map +0 -1
  787. package/dist/out-tsc/utils/contentOf.d.ts +0 -2
  788. package/dist/out-tsc/utils/contentOf.js +0 -6
  789. package/dist/out-tsc/utils/contentOf.js.map +0 -1
  790. package/dist/out-tsc/utils/getPosition.d.ts +0 -11
  791. package/dist/out-tsc/utils/getPosition.js +0 -181
  792. package/dist/out-tsc/utils/getPosition.js.map +0 -1
  793. package/dist/out-tsc/utils/getScrollParent.d.ts +0 -1
  794. package/dist/out-tsc/utils/getScrollParent.js +0 -28
  795. package/dist/out-tsc/utils/getScrollParent.js.map +0 -1
  796. package/dist/out-tsc/utils/index.d.ts +0 -11
  797. package/dist/out-tsc/utils/index.js +0 -12
  798. package/dist/out-tsc/utils/index.js.map +0 -1
  799. package/dist/out-tsc/utils/selectChildren.d.ts +0 -5
  800. package/dist/out-tsc/utils/selectChildren.js +0 -72
  801. package/dist/out-tsc/utils/selectChildren.js.map +0 -1
  802. package/dist/out-tsc/utils/useCheckDeprecatedProps.d.ts +0 -2
  803. package/dist/out-tsc/utils/useCheckDeprecatedProps.js +0 -35
  804. package/dist/out-tsc/utils/useCheckDeprecatedProps.js.map +0 -1
  805. package/dist/out-tsc/utils/useDidUpdateEffect.d.ts +0 -2
  806. package/dist/out-tsc/utils/useDidUpdateEffect.js +0 -11
  807. package/dist/out-tsc/utils/useDidUpdateEffect.js.map +0 -1
  808. package/dist/out-tsc/utils/useDocumentEventListener.d.ts +0 -1
  809. package/dist/out-tsc/utils/useDocumentEventListener.js +0 -39
  810. package/dist/out-tsc/utils/useDocumentEventListener.js.map +0 -1
  811. package/dist/out-tsc/utils/useElementId.d.ts +0 -2
  812. package/dist/out-tsc/utils/useElementId.js +0 -6
  813. package/dist/out-tsc/utils/useElementId.js.map +0 -1
  814. package/dist/out-tsc/utils/useInputPopup.d.ts +0 -6
  815. package/dist/out-tsc/utils/useInputPopup.js +0 -52
  816. package/dist/out-tsc/utils/useInputPopup.js.map +0 -1
  817. package/dist/out-tsc/utils/usePatchReducer.d.ts +0 -2
  818. package/dist/out-tsc/utils/usePatchReducer.js +0 -19
  819. package/dist/out-tsc/utils/usePatchReducer.js.map +0 -1
  820. package/dist/out-tsc/utils/usePortal.d.ts +0 -6
  821. package/dist/out-tsc/utils/usePortal.js +0 -57
  822. package/dist/out-tsc/utils/usePortal.js.map +0 -1
  823. package/dist/out-tsc/vertical-rule/SpsVerticalRule.d.ts +0 -11
  824. package/dist/out-tsc/vertical-rule/SpsVerticalRule.js +0 -46
  825. package/dist/out-tsc/vertical-rule/SpsVerticalRule.js.map +0 -1
  826. package/dist/out-tsc/vertical-rule/index.d.ts +0 -1
  827. package/dist/out-tsc/vertical-rule/index.js +0 -2
  828. package/dist/out-tsc/vertical-rule/index.js.map +0 -1
  829. package/dist/out-tsc/wizard/SpsWizard.examples.d.ts +0 -2
  830. package/dist/out-tsc/wizard/SpsWizard.examples.js +0 -31
  831. package/dist/out-tsc/wizard/SpsWizard.examples.js.map +0 -1
  832. package/dist/out-tsc/wizard/SpsWizardSidebar.d.ts +0 -23
  833. package/dist/out-tsc/wizard/SpsWizardSidebar.js +0 -44
  834. package/dist/out-tsc/wizard/SpsWizardSidebar.js.map +0 -1
  835. package/dist/out-tsc/wizard/SpsWizardSubstep.d.ts +0 -14
  836. package/dist/out-tsc/wizard/SpsWizardSubstep.js +0 -37
  837. package/dist/out-tsc/wizard/SpsWizardSubstep.js.map +0 -1
  838. package/dist/out-tsc/wizard/index.d.ts +0 -3
  839. package/dist/out-tsc/wizard/index.js +0 -4
  840. package/dist/out-tsc/wizard/index.js.map +0 -1
  841. package/dist/out-tsc/workflow/SpsWorkflow.d.ts +0 -14
  842. package/dist/out-tsc/workflow/SpsWorkflow.examples.d.ts +0 -2
  843. package/dist/out-tsc/workflow/SpsWorkflow.examples.js +0 -25
  844. package/dist/out-tsc/workflow/SpsWorkflow.examples.js.map +0 -1
  845. package/dist/out-tsc/workflow/SpsWorkflow.js +0 -56
  846. package/dist/out-tsc/workflow/SpsWorkflow.js.map +0 -1
  847. package/dist/out-tsc/workflow/SpsWorkflowDocument.d.ts +0 -11
  848. package/dist/out-tsc/workflow/SpsWorkflowDocument.js +0 -46
  849. package/dist/out-tsc/workflow/SpsWorkflowDocument.js.map +0 -1
  850. package/dist/out-tsc/workflow/SpsWorkflowDocumentStatus.d.ts +0 -13
  851. package/dist/out-tsc/workflow/SpsWorkflowDocumentStatus.js +0 -52
  852. package/dist/out-tsc/workflow/SpsWorkflowDocumentStatus.js.map +0 -1
  853. package/dist/out-tsc/workflow/SpsWorkflowStep.d.ts +0 -14
  854. package/dist/out-tsc/workflow/SpsWorkflowStep.js +0 -53
  855. package/dist/out-tsc/workflow/SpsWorkflowStep.js.map +0 -1
  856. package/dist/out-tsc/workflow/index.d.ts +0 -5
  857. package/dist/out-tsc/workflow/index.js +0 -6
  858. package/dist/out-tsc/workflow/index.js.map +0 -1
  859. package/dist/out-tsc/zero-state/SpsMicroZeroState.d.ts +0 -15
  860. package/dist/out-tsc/zero-state/SpsMicroZeroState.js +0 -50
  861. package/dist/out-tsc/zero-state/SpsMicroZeroState.js.map +0 -1
  862. package/dist/out-tsc/zero-state/SpsZeroState.d.ts +0 -14
  863. package/dist/out-tsc/zero-state/SpsZeroState.examples.d.ts +0 -2
  864. package/dist/out-tsc/zero-state/SpsZeroState.examples.js +0 -79
  865. package/dist/out-tsc/zero-state/SpsZeroState.examples.js.map +0 -1
  866. package/dist/out-tsc/zero-state/SpsZeroState.js +0 -50
  867. package/dist/out-tsc/zero-state/SpsZeroState.js.map +0 -1
  868. package/dist/out-tsc/zero-state/index.d.ts +0 -3
  869. package/dist/out-tsc/zero-state/index.js +0 -4
  870. package/dist/out-tsc/zero-state/index.js.map +0 -1
  871. package/rollup.config.js +0 -22
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSpsForm.js","sourceRoot":"","sources":["../../../../src/form/hooks/useSpsForm.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;EAIE;AACF,OAAO,EACL,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,GAC/C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,GACpD,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAWlD,4EAA4E;AAC5E;IAWE,yBACS,IAAU,EACV,MAAgB;QADhB,SAAI,GAAJ,IAAI,CAAM;QACV,WAAM,GAAN,MAAM,CAAU;QAZzB,eAAU,GAA2B,EAAE,CAAC;QAExC,WAAM,GAA+B,IAAI,CAAC;QAE1C,oBAAe,GAAG,KAAK,CAAC;QAExB,uBAAkB,GAAG,EAAE,CAAC;QAExB,cAAS,GAAG,KAAK,CAAC;IAKf,CAAC;IAUJ,uCAAa,GAAb,UAAc,aAAqC;QACjD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;QAClD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,kCAAQ,GAAR,UAAS,QAAW;QAClB,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAA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CAAC"}
@@ -1,16 +0,0 @@
1
- export * from "./hooks/useSpsForm";
2
- export * from "./hooks/formArray";
3
- export * from "./hooks/formControl";
4
- export * from "./hooks/formGroup";
5
- export * from "./hooks/SpsAbstractControl.interface";
6
- export * from "./hooks/SpsControlSet.interface";
7
- export * from "./hooks/useForm";
8
- export * from "./hooks/useServerSideValidation";
9
- export * from "./hooks/useCustomValidator";
10
- export * from "./validation/SpsValidators";
11
- export * from "./validation/types";
12
- export * from "./validation/validate";
13
- export { SpsForm } from "./SpsForm";
14
- export * from "./SpsForm.examples";
15
- export * from "./AddRemoveFormRows.examples";
16
- export { SpsFormComponentWrapper } from "./SpsFormComponentWrapper";
@@ -1,17 +0,0 @@
1
- export * from "./hooks/useSpsForm";
2
- export * from "./hooks/formArray";
3
- export * from "./hooks/formControl";
4
- export * from "./hooks/formGroup";
5
- export * from "./hooks/SpsAbstractControl.interface";
6
- export * from "./hooks/SpsControlSet.interface";
7
- export * from "./hooks/useForm";
8
- export * from "./hooks/useServerSideValidation";
9
- export * from "./hooks/useCustomValidator";
10
- export * from "./validation/SpsValidators";
11
- export * from "./validation/types";
12
- export * from "./validation/validate";
13
- export { SpsForm } from "./SpsForm";
14
- export * from "./SpsForm.examples";
15
- export * from "./AddRemoveFormRows.examples";
16
- export { SpsFormComponentWrapper } from "./SpsFormComponentWrapper";
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AAEnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAE3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,8BAA8B,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { SpsValidator, SpsValidatorFactory } from "./types";
2
- export declare const SpsValidators: Readonly<{
3
- min: SpsValidatorFactory<string | number>;
4
- max: SpsValidatorFactory<string | number>;
5
- required: SpsValidator<any>;
6
- minLength: SpsValidatorFactory<string>;
7
- maxLength: SpsValidatorFactory<string>;
8
- pattern: SpsValidatorFactory<string>;
9
- alpha: SpsValidator<string>;
10
- numeric: SpsValidator<string>;
11
- nonNumeric: SpsValidator<string>;
12
- OnBlurErrorKeys: Set<string>;
13
- date: SpsValidator<import("@spscommerce/ds-shared").SimpleDate | import("@spscommerce/ds-shared").SimpleDateRange>;
14
- dateRange: SpsValidator<import("@spscommerce/ds-shared").SimpleDateRange | import("moment").Duration>;
15
- dateConstraint: SpsValidatorFactory<import("@spscommerce/ds-shared").SimpleDate | import("@spscommerce/ds-shared").SimpleDateRange>;
16
- }>;
@@ -1,84 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import * as dateValidators from "../../datepicker-v2/validation";
13
- import { OnBlurErrorKeys, AsTypingErrorKeys, PreventativeErrorKeys } from "./types";
14
- var min = function minValidatorFactory(minimumValue) {
15
- return function minValidator(value) {
16
- return Number(value) >= minimumValue
17
- ? null
18
- : { min: minimumValue };
19
- };
20
- };
21
- OnBlurErrorKeys.add("min");
22
- var max = function maxValidatorFactory(maximumValue) {
23
- return function (value) { return (Number(value) <= maximumValue
24
- ? null
25
- : { max: maximumValue }); };
26
- };
27
- AsTypingErrorKeys.add("max");
28
- var required = function requiredValidator(value) {
29
- return typeof value === "undefined" || value === null || value === "" || Number.isNaN(value) || (value === null || value === void 0 ? void 0 : value.length) === 0
30
- ? { required: true }
31
- : null;
32
- };
33
- AsTypingErrorKeys.add("required");
34
- var minLength = function minLengthValidatorFactory(minimumLength) {
35
- return function minLengthValidator(value) {
36
- return value.length >= minimumLength
37
- ? null
38
- : { minLength: minimumLength };
39
- };
40
- };
41
- OnBlurErrorKeys.add("minLength");
42
- var maxLength = function maxLengthValidatorFactory(maximumLength) {
43
- return function maxLengthValidator(value) {
44
- return value.length <= maximumLength
45
- ? null
46
- : { maxLength: maximumLength };
47
- };
48
- };
49
- PreventativeErrorKeys.add("maxLength");
50
- var pattern = function patternValidatorFactory(validationPattern) {
51
- var regex = validationPattern instanceof RegExp
52
- ? validationPattern
53
- : new RegExp(validationPattern);
54
- return function patternValidator(value) {
55
- return regex.test(value)
56
- ? null
57
- : { pattern: validationPattern };
58
- };
59
- };
60
- OnBlurErrorKeys.add("pattern");
61
- var alpha = function alphaValidator(value) {
62
- /*
63
- * TODO: change regex to /^\p{L}*$/u once IE11 support
64
- * is dropped, to match letters in all languages
65
- */
66
- return /^[A-Za-z]*$/.test(value)
67
- ? null
68
- : { alpha: true };
69
- };
70
- PreventativeErrorKeys.add("alpha");
71
- var numeric = function numericValidator(value) {
72
- return /^[0-9,. ]*$/.test(value)
73
- ? null
74
- : { numeric: true };
75
- };
76
- PreventativeErrorKeys.add("numeric");
77
- var nonNumeric = function nonNumericValidator(value) {
78
- return /^[^0-9]*$/.test(value)
79
- ? null
80
- : { nonNumeric: true };
81
- };
82
- PreventativeErrorKeys.add("nonNumeric");
83
- export var SpsValidators = Object.freeze(__assign(__assign({}, dateValidators), { min: min, max: max, required: required, minLength: minLength, maxLength: maxLength, pattern: pattern, alpha: alpha, numeric: numeric, nonNumeric: nonNumeric, OnBlurErrorKeys: OnBlurErrorKeys }));
84
- //# sourceMappingURL=SpsValidators.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpsValidators.js","sourceRoot":"","sources":["../../../../src/form/validation/SpsValidators.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEpF,IAAM,GAAG,GAC8B,SAAS,mBAAmB,CAAC,YAAoB;IACtF,OAAO,SAAS,YAAY,CAAC,KAAK;QAChC,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,YAAY;YAClC,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC;IAC5B,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAE3B,IAAM,GAAG,GAC8B,SAAS,mBAAmB,CAAC,YAAoB;IACtF,OAAO,UAAC,KAAK,IAAK,OAAA,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,YAAY;QAC9C,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAFR,CAEQ,CAAC;AAC7B,CAAC,CAAC;AACF,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAE7B,IAAM,QAAQ,GAAsB,SAAS,iBAAiB,CAAC,KAAK;IAClE,OAAO,OAAO,KAAK,KAAK,WAAW,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,EAAE,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,MAAK,CAAC;QACjH,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;QACpB,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AACF,iBAAi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AAI,EAAE,CAAC;AACtB,CAAC,CAAC;AACF,qBAAqB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAEnC,IAAM,OAAO,GAAyB,SAAS,gBAAgB,CAAC,KAAa;IAC3E,OAAO,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;QAC9B,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AACxB,CAAC,CAAC;AACF,qBAAqB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAErC,IAAM,UAAU,GAAyB,SAAS,mBAAmB,CAAC,KAAa;IACjF,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC;QAC5B,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;AAC3B,CAAC,CAAC;AACF,qBAAqB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAExC,MAAM,CAAC,IAAM,aAAa,GAAG,MAAM,CAAC,MAAM,uBACrC,cAAc,KACjB,GAAG,KAAA,EACH,GAAG,KAAA,EACH,QAAQ,UAAA,EACR,SAAS,WAAA,EACT,SAAS,WAAA,EACT,OAAO,SAAA,EACP,KAAK,OAAA,EACL,OAAO,SAAA,EACP,UAAU,YAAA,EAEV,eAAe,iBAAA,IACf,CAAC"}
@@ -1,10 +0,0 @@
1
- export declare type SpsValidationErrors = Record<string, boolean | number | string | Record<string, any>>;
2
- export declare type SpsValidationStatus = SpsValidationErrors | null;
3
- export declare type SpsValidator<T> = (value: T) => SpsValidationStatus;
4
- export declare type SpsValidatorFactory<T> = (...args: any[]) => SpsValidator<T>;
5
- export declare const OnBlurErrorKeys: Set<string>;
6
- export declare const AsTypingErrorKeys: Set<string>;
7
- export declare const PreventativeErrorKeys: Set<string>;
8
- export declare const OnSubmitErrorKeys: Set<string>;
9
- export declare function addOnChangeErrorKey(errorKey: string): void;
10
- export declare function addOnSubmitErrorKey(errorKey: string): void;
@@ -1,21 +0,0 @@
1
- export var OnBlurErrorKeys = new Set();
2
- export var AsTypingErrorKeys = new Set();
3
- export var PreventativeErrorKeys = new Set();
4
- export var OnSubmitErrorKeys = new Set();
5
- export function addOnChangeErrorKey(errorKey) {
6
- if (OnBlurErrorKeys.has(errorKey)
7
- || PreventativeErrorKeys.has(errorKey)
8
- || OnSubmitErrorKeys.has(errorKey)) {
9
- return;
10
- }
11
- AsTypingErrorKeys.add(errorKey);
12
- }
13
- export function addOnSubmitErrorKey(errorKey) {
14
- if (OnBlurErrorKeys.has(errorKey)
15
- || PreventativeErrorKeys.has(errorKey)
16
- || AsTypingErrorKeys.has(errorKey)) {
17
- return;
18
- }
19
- OnSubmitErrorKeys.add(errorKey);
20
- }
21
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/form/validation/types.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,GAAG,EAAU,CAAC;AACjD,MAAM,CAAC,IAAM,iBAAiB,GAAG,IAAI,GAAG,EAAU,CAAC;AACnD,MAAM,CAAC,IAAM,qBAAqB,GAAG,IAAI,GAAG,EAAU,CAAC;AACvD,MAAM,CAAC,IAAM,iBAAiB,GAAG,IAAI,GAAG,EAAU,CAAC;AAEnD,MAAM,UAAU,mBAAmB,CAAC,QAAgB;IAClD,IACE,eAAe,CAAC,GAAG,CAAC,QAAQ,CAAC;WAC1B,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC;WACnC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAClC;QACA,OAAO;KACR;IAED,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,QAAgB;IAClD,IAAI,eAAe,CAAC,GAAG,CAAC,QAAQ,CAAC;WAC9B,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC;WACnC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE;QAClC,OAAO;KACR;IAED,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAClC,CAAC"}
@@ -1,2 +0,0 @@
1
- import type { SpsValidationErrors, SpsValidator } from "./types";
2
- export declare function validate<T>(value: T, validators?: Array<SpsValidator<T>>): SpsValidationErrors | null;
@@ -1,6 +0,0 @@
1
- export function validate(value, validators) {
2
- if (validators === void 0) { validators = []; }
3
- var reduced = validators.reduce(function (errs, validator) { return Object.assign(errs, validator(value) || {}); }, {});
4
- return Object.keys(reduced).length ? reduced : null;
5
- }
6
- //# sourceMappingURL=validate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../src/form/validation/validate.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,QAAQ,CACtB,KAAQ,EACR,UAAuC;IAAvC,2BAAA,EAAA,eAAuC;IAEvC,IAAM,OAAO,GAAI,UAAkB,CAAC,MAAM,CACxC,UACE,IAAyB,EACzB,SAA0B,IACF,OAAA,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,EAA3C,CAA2C,EACrE,EAAE,CACH,CAAC;IACF,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;AACtD,CAAC"}
@@ -1,17 +0,0 @@
1
- import { GrowlerKind } from "@spscommerce/ds-shared";
2
- import * as React from "react";
3
- import * as PropTypes from "../prop-types";
4
- declare const propTypes: {
5
- imgSrc: PropTypes.Requireable<string>;
6
- kind: PropTypes.Requireable<GrowlerKind>;
7
- onClose: PropTypes.Requireable<() => void>;
8
- persist: PropTypes.Requireable<boolean>;
9
- title: PropTypes.Requireable<string>;
10
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
11
- className: PropTypes.Requireable<string>;
12
- "data-testid": PropTypes.Requireable<string>;
13
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
14
- };
15
- export declare type SpsGrowlerProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
16
- export declare function SpsGrowler(props: SpsGrowlerProps): React.ReactPortal;
17
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsGrowlerExamples: DSReactExamples;
@@ -1,122 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- /* eslint-disable react/prop-types */
6
- /* eslint-disable react/jsx-one-expression-per-line */
7
- import * as React from "react";
8
- import { code } from "@spscommerce/utils";
9
- export var SpsGrowlerExamples = {
10
- writingGuidelines: {
11
- label: "Writing Guidelines",
12
- customSection: function () { return (React.createElement(React.Fragment, null,
13
- React.createElement("p", null, "Use the following guidelines to write an effective Growler message."),
14
- React.createElement("ul", null,
15
- React.createElement("li", null,
16
- "Write all messages in sentence case.",
17
- React.createElement("ul", null,
18
- React.createElement("li", null, "Capitalize the first word of the message."),
19
- React.createElement("li", null, "Add punctuation, such as a period, at the end of the message."))),
20
- React.createElement("li", null, "Keep messages as succinct as possible while also providing sufficient information to the customer."),
21
- React.createElement("li", null, "If you can clearly convey your message in a single statement, use only the Primary Message."),
22
- React.createElement("li", null, "If the message requires additional details, such as further information or instructions, use both the Primary and Secondary Messages.")),
23
- React.createElement("p", null,
24
- "For more examples of effective feedback message writing, refer to",
25
- " ",
26
- React.createElement("a", { href: "https://atlassian.design/content/messaging-guidelines", target: "_blank", rel: "noreferrer" }, "Atlassian's Messaging Guidelines"),
27
- "."))); },
28
- },
29
- error: {
30
- label: "Error",
31
- description: function () { return (React.createElement(React.Fragment, null,
32
- React.createElement("p", null, "Acceptable message: Document ABC123 has not been sent. Check the form and try sending it again."),
33
- React.createElement("p", null, "Unacceptable message: Can't send your document.\""))); },
34
- examples: {
35
- primary: {
36
- description: "Primary Message Only",
37
- react: code(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n />\n )}\n </>\n );\n }\n "]))),
38
- },
39
- primaryAndSecondary: {
40
- description: "Primary and Secondary Messages",
41
- react: code(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n >\n Check the form and try sending it again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n >\n Check the form and try sending it again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
42
- },
43
- },
44
- },
45
- information: {
46
- label: "Information",
47
- description: function () { return (React.createElement(React.Fragment, null,
48
- React.createElement("p", null, "Acceptable message: System maintenance notice. We'll be offline tonight from 9-11pm CST."),
49
- React.createElement("p", null, "Unacceptable message: No access tonight."))); },
50
- examples: {
51
- primary: {
52
- react: code(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerInfo() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.INFO}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"System maintenance tonight from 9-11pm CST.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerInfo() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.INFO}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"System maintenance tonight from 9-11pm CST.\"\n />\n )}\n </>\n );\n }\n "]))),
53
- },
54
- primaryAndSecondary: {
55
- react: code(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerInfo() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.INFO}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"System maintenance notice\"\n >\n We'll be offline tonight from 9-11pm CST.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerInfo() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.INFO}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"System maintenance notice\"\n >\n We'll be offline tonight from 9-11pm CST.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
56
- },
57
- },
58
- },
59
- progress: {
60
- label: "Progress",
61
- description: function () { return (React.createElement(React.Fragment, null,
62
- React.createElement("p", null, "Acceptable message: Export in progress."),
63
- React.createElement("p", null, "Unacceptable message: Please wait."))); },
64
- examples: {
65
- primary: {
66
- description: "Primary Message Only",
67
- react: code(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerProgress() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.PROGRESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Export in progress.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerProgress() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.PROGRESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Export in progress.\"\n />\n )}\n </>\n );\n }\n "]))),
68
- },
69
- primaryAndSecondary: {
70
- description: "Primary and Secondary Messages",
71
- react: code(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerProgress() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.PROGRESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Export in progress\"\n >\n We'll let you know when it's done.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerProgress() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.PROGRESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Export in progress\"\n >\n We'll let you know when it's done.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
72
- },
73
- },
74
- },
75
- success: {
76
- label: "Success",
77
- description: function () { return (React.createElement(React.Fragment, null,
78
- React.createElement("p", null, "Acceptable message: Message sent. Our support team will respond to your message within 24 hours."),
79
- React.createElement("p", null, "Unacceptable message: Submitted."))); },
80
- examples: {
81
- primary: {
82
- react: code(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n />\n )}\n </>\n );\n }\n "]))),
83
- },
84
- primaryAndSecondary: {
85
- react: code(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n >\n Our support team will respond to your message within 24 hours.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n >\n Our support team will respond to your message within 24 hours.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
86
- },
87
- },
88
- },
89
- warning: {
90
- label: "Warning",
91
- description: function () { return (React.createElement(React.Fragment, null,
92
- React.createElement("p", null, "Accpetable message: No internet connection detected."),
93
- React.createElement("p", null, "Unacceptable message: Warning: There is a problem."))); },
94
- examples: {
95
- primary: {
96
- description: "Primary Message Only",
97
- react: code(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected.\"\n />\n )}\n </>\n );\n }\n "]))),
98
- },
99
- primaryAndSecondary: {
100
- react: code(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected\"\n >\n Check your connection and try again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected\"\n >\n Check your connection and try again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
101
- },
102
- },
103
- },
104
- hook: {
105
- label: "Hooks",
106
- description: function () { return (React.createElement("p", null,
107
- "If you use the useGrowlers hook, you should ideally invoke it and place",
108
- " ",
109
- React.createElement("code", null, "growlers()"),
110
- " at the top level of your app, and pass down",
111
- " ",
112
- React.createElement("code", null, "createGrowler"),
113
- ".")); },
114
- examples: {
115
- hook: {
116
- react: code(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n import { SpsButton, useGrowlers } from \"@spscommerce/ds-react\";\n import { GrowlerKind } from \"@spscommerce/ds-shared\";\n function SpsGrowlerHook() {\n const [growlers, createGrowler] = useGrowlers();\n\n function handleButtonClick() {\n createGrowler({\n kind: \"success\",\n title: \"Success!\",\n content: () => (\n <a href=\"#\" title=\"Content can also be a string.\">\n Look, I can put JSX in here!\n </a>\n ),\n onClose() {\n console.log(\"Growler closed.\");\n },\n });\n }\n\n return (\n <>\n <SpsButton onClick={handleButtonClick}>Add a growler</SpsButton>\n {growlers()}\n </>\n );\n }\n "], ["\n import { SpsButton, useGrowlers } from \"@spscommerce/ds-react\";\n import { GrowlerKind } from \"@spscommerce/ds-shared\";\n function SpsGrowlerHook() {\n const [growlers, createGrowler] = useGrowlers();\n\n function handleButtonClick() {\n createGrowler({\n kind: \"success\",\n title: \"Success!\",\n content: () => (\n <a href=\"#\" title=\"Content can also be a string.\">\n Look, I can put JSX in here!\n </a>\n ),\n onClose() {\n console.log(\"Growler closed.\");\n },\n });\n }\n\n return (\n <>\n <SpsButton onClick={handleButtonClick}>Add a growler</SpsButton>\n {growlers()}\n </>\n );\n }\n "]))),
117
- },
118
- },
119
- },
120
- };
121
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
122
- //# sourceMappingURL=SpsGrowler.examples.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpsGrowler.examples.js","sourceRoot":"","sources":["../../../src/growler/SpsGrowler.examples.tsx"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,sDAAsD;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAG1C,MAAM,CAAC,IAAM,kBAAkB,GAAoB;IACjD,iBAAiB,EAAE;QACjB,KAAK,EAAE,oBAAoB;QAC3B,aAAa,EAAE,cAAM,OAAA,CACnB;YACE,qGAA0E;YAC1E;gBACE;;oBAEE;wBACE,4EAAkD;wBAClD,gGAAsE,CACnE,CACF;gBACL,qIAGK;gBACL,8HAGK;gBACL,wKAGK,CACF;YACL;;gBAC8E,GAAG;gBAC/E,2BACE,IAAI,EAAC,uDAAuD,EAC5D,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,uCAGd;oBAEF,CACH,CACJ,EApCoB,CAoCpB;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,cAAM,OAAA,CACjB;YACE,iIAGI;YACJ,mFAAuD,CACtD,CACJ,EARkB,CAQlB;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,WAAW,EAAE,sBAAsB;gBACnC,KAAK,EAAE,IAAI,qyCAAA,kuCAyBF,IAAA;aACV;YACD,mBAAmB,EAAE;gBACnB,WAAW,EAAE,gCAAgC;gBAC7C,KAAK,EAAE,IAAI,y6CAAA,s2CA2BF,IAAA;aACV;SACF;KACF;IACD,WAAW,EAAE;QACX,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,cAAM,OAAA,CACjB;YACE,0HAGI;YACJ,0EAA+C,CAC9C,CACJ,EARkB,CAQlB;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,KAAK,EA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B;gBACxB,CACL,EANkB,CAMlB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,KAAK,EAAE,IAAI,u2CAAA,kyCA4BF,IAAA;aACV;SACF;KACF;CACF,CAAC"}
@@ -1,147 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- var __read = (this && this.__read) || function (o, n) {
24
- var m = typeof Symbol === "function" && o[Symbol.iterator];
25
- if (!m) return o;
26
- var i = m.call(o), r, ar = [], e;
27
- try {
28
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
29
- }
30
- catch (error) { e = { error: error }; }
31
- finally {
32
- try {
33
- if (r && !r.done && (m = i["return"])) m.call(i);
34
- }
35
- finally { if (e) throw e.error; }
36
- }
37
- return ar;
38
- };
39
- var __values = (this && this.__values) || function(o) {
40
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
41
- if (m) return m.call(o);
42
- if (o && typeof o.length === "number") return {
43
- next: function () {
44
- if (o && i >= o.length) o = void 0;
45
- return { value: o && o[i++], done: !o };
46
- }
47
- };
48
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
49
- };
50
- import { GROWLER_FADEOUT_DURATION_MS, GROWLER_VISIBLE_DURATION_MS, GrowlerIcon, GrowlerKind, } from "@spscommerce/ds-shared";
51
- import clsx from "clsx";
52
- import * as React from "react";
53
- import * as PropTypes from "../prop-types";
54
- import { I18nContext } from "../i18n";
55
- import { usePortal } from "../utils/usePortal";
56
- var propsDoc = {
57
- imgSrc: "string",
58
- kind: "GrowlerKind",
59
- onClose: "() => void",
60
- persist: "boolean",
61
- title: "string",
62
- };
63
- var propTypes = __assign(__assign({}, PropTypes.spsGlobalPropTypes), { imgSrc: PropTypes.string, kind: PropTypes.enumValue(GrowlerKind), onClose: PropTypes.fun(), persist: PropTypes.bool, title: PropTypes.string });
64
- export function SpsGrowler(props) {
65
- var children = props.children, className = props.className, imgSrc = props.imgSrc, _a = props.kind, kind = _a === void 0 ? GrowlerKind.INFO : _a, onClose = props.onClose, persist = props.persist, title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "imgSrc", "kind", "onClose", "persist", "title", "unsafelyReplaceClassName"]);
66
- var closeCallback = React.useRef(onClose);
67
- React.useEffect(function () {
68
- closeCallback.current = onClose;
69
- }, [onClose]);
70
- var t = React.useContext(I18nContext).t;
71
- var _b = __read(React.useState(true), 2), shown = _b[0], setShown = _b[1];
72
- var _c = __read(React.useState(false), 2), fade = _c[0], setFade = _c[1];
73
- function createTimers() {
74
- return [
75
- window.setTimeout(function () { return setFade(true); }, GROWLER_VISIBLE_DURATION_MS),
76
- window.setTimeout(function () {
77
- setShown(false);
78
- if (closeCallback.current) {
79
- closeCallback.current();
80
- }
81
- }, GROWLER_VISIBLE_DURATION_MS + GROWLER_FADEOUT_DURATION_MS),
82
- ];
83
- }
84
- var timers = React.useRef([]);
85
- function startTimers() {
86
- if (!persist) {
87
- timers.current = createTimers();
88
- }
89
- }
90
- function clearTimers() {
91
- var e_1, _a;
92
- try {
93
- for (var _b = __values(timers.current), _c = _b.next(); !_c.done; _c = _b.next()) {
94
- var timer = _c.value;
95
- window.clearTimeout(timer);
96
- }
97
- }
98
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
99
- finally {
100
- try {
101
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
102
- }
103
- finally { if (e_1) throw e_1.error; }
104
- }
105
- timers.current = [];
106
- }
107
- function cancelTimers() {
108
- clearTimers();
109
- setShown(true);
110
- setFade(false);
111
- }
112
- function close() {
113
- cancelTimers();
114
- setFade(false);
115
- setShown(false);
116
- if (onClose) {
117
- onClose();
118
- }
119
- }
120
- var iconOrSpinnerClass = kind === GrowlerKind.PROGRESS
121
- ? "sps-spinner"
122
- : clsx("sps-icon", "sps-icon-" + GrowlerIcon.get(kind));
123
- var classes = clsx(unsafelyReplaceClassName || "sps-growler", shown && "show", fade && "fade", "sps-growler--" + kind, className);
124
- React.useEffect(function () {
125
- startTimers();
126
- return function () {
127
- clearTimers();
128
- };
129
- }, []);
130
- var portal = usePortal("sps-growler-display-area", ["sps-growler-area", "z-stratum-dialog"]);
131
- return portal(React.createElement("div", __assign({ role: "alert", className: classes, onMouseEnter: cancelTimers, onMouseLeave: startTimers }, rest),
132
- React.createElement("div", { className: "sps-growler__icon-box" },
133
- imgSrc && React.createElement("img", { src: imgSrc, alt: "" }),
134
- !imgSrc && React.createElement("i", { className: iconOrSpinnerClass, "aria-hidden": "true" })),
135
- React.createElement("div", { className: "sps-growler__message-box" },
136
- React.createElement("div", { className: "sps-growler__message-box-text" },
137
- title && React.createElement("span", { className: "sps-growler__message-box-title d-block" }, title),
138
- React.createElement("div", { className: "sps-growler__message-box-subtitle" }, children)),
139
- React.createElement("button", { type: "button", className: "sps-growler__close-button", "aria-hidden": "true", onClick: close },
140
- React.createElement("i", { className: "sps-icon sps-icon-x", title: t("design-system:growler.dismiss") })))));
141
- }
142
- Object.assign(SpsGrowler, {
143
- props: propsDoc,
144
- propTypes: propTypes,
145
- displayName: "SpsGrowler",
146
- });
147
- //# sourceMappingURL=SpsGrowler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":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