@sps-woodland/core 8.50.2 → 8.51.1

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 (737) hide show
  1. package/lib/action-bar/action-bar/ActionBar.css.d.ts +10 -0
  2. package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +1 -0
  3. package/lib/action-bar/action-bar/ActionBar.css.js +12 -0
  4. package/lib/action-bar/action-bar/ActionBar.d.ts +9 -0
  5. package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -0
  6. package/lib/action-bar/action-bar/ActionBar.js +61 -0
  7. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +4 -0
  8. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +1 -0
  9. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +24 -0
  10. package/lib/action-bar/index.d.ts +3 -0
  11. package/lib/action-bar/index.d.ts.map +1 -0
  12. package/lib/action-bar/index.js +79 -0
  13. package/lib/action-bar/index.umd.cjs +1 -0
  14. package/lib/action-bar/style.css +1 -0
  15. package/lib/add-to-list/add-to-list/AddToList.css.d.ts +91 -0
  16. package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +1 -0
  17. package/lib/add-to-list/add-to-list/AddToList.css.js +25 -0
  18. package/lib/add-to-list/add-to-list/AddToList.d.ts +31 -0
  19. package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -0
  20. package/lib/add-to-list/add-to-list/AddToList.js +284 -0
  21. package/lib/add-to-list/add-to-list/ItemsList.d.ts +17 -0
  22. package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -0
  23. package/lib/add-to-list/add-to-list/ItemsList.js +67 -0
  24. package/lib/add-to-list/add-to-list/ListItem.d.ts +8 -0
  25. package/lib/add-to-list/add-to-list/ListItem.d.ts.map +1 -0
  26. package/lib/add-to-list/add-to-list/ListItem.js +51 -0
  27. package/lib/add-to-list/index.d.ts +2 -0
  28. package/lib/add-to-list/index.d.ts.map +1 -0
  29. package/lib/add-to-list/index.js +441 -0
  30. package/lib/add-to-list/index.umd.cjs +1 -0
  31. package/lib/add-to-list/style.css +1 -0
  32. package/lib/buttons/button/Button.css.d.ts +15 -0
  33. package/lib/buttons/button/Button.css.d.ts.map +1 -0
  34. package/lib/buttons/button/Button.css.js +10 -0
  35. package/lib/buttons/button/Button.d.ts +19 -0
  36. package/lib/buttons/button/Button.d.ts.map +1 -0
  37. package/lib/buttons/button/Button.js +116 -0
  38. package/lib/buttons/index.d.ts +2 -0
  39. package/lib/buttons/index.d.ts.map +1 -0
  40. package/lib/buttons/index.js +169 -0
  41. package/lib/buttons/index.umd.cjs +1 -0
  42. package/lib/buttons/style.css +1 -0
  43. package/lib/cards/card/Card.css.d.ts +2 -0
  44. package/lib/cards/card/Card.css.d.ts.map +1 -0
  45. package/lib/cards/card/Card.css.js +5 -0
  46. package/lib/cards/card/Card.d.ts +4 -0
  47. package/lib/cards/card/Card.d.ts.map +1 -0
  48. package/lib/cards/card/Card.js +28 -0
  49. package/lib/cards/card-footer/CardFooter.css.d.ts +2 -0
  50. package/lib/cards/card-footer/CardFooter.css.d.ts.map +1 -0
  51. package/lib/cards/card-footer/CardFooter.css.js +5 -0
  52. package/lib/cards/card-footer/CardFooter.d.ts +4 -0
  53. package/lib/cards/card-footer/CardFooter.d.ts.map +1 -0
  54. package/lib/cards/card-footer/CardFooter.js +14 -0
  55. package/lib/cards/card-header/CardHeader.css.d.ts +2 -0
  56. package/lib/cards/card-header/CardHeader.css.d.ts.map +1 -0
  57. package/lib/cards/card-header/CardHeader.css.js +5 -0
  58. package/lib/cards/card-header/CardHeader.d.ts +4 -0
  59. package/lib/cards/card-header/CardHeader.d.ts.map +1 -0
  60. package/lib/cards/card-header/CardHeader.js +14 -0
  61. package/lib/cards/card-title/CardTitle.css.d.ts +2 -0
  62. package/lib/cards/card-title/CardTitle.css.d.ts.map +1 -0
  63. package/lib/cards/card-title/CardTitle.css.js +5 -0
  64. package/lib/cards/card-title/CardTitle.d.ts +4 -0
  65. package/lib/cards/card-title/CardTitle.d.ts.map +1 -0
  66. package/lib/cards/card-title/CardTitle.js +14 -0
  67. package/lib/cards/index.d.ts +5 -0
  68. package/lib/cards/index.d.ts.map +1 -0
  69. package/lib/cards/index.js +56 -0
  70. package/lib/cards/index.umd.cjs +1 -0
  71. package/lib/cards/style.css +1 -0
  72. package/lib/column-manager/column-manager/ColumnManager.d.ts +23 -0
  73. package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -0
  74. package/lib/column-manager/column-manager/ColumnManager.js +114 -0
  75. package/lib/column-manager/column-manager/useColumnManager.d.ts +27 -0
  76. package/lib/column-manager/column-manager/useColumnManager.d.ts.map +1 -0
  77. package/lib/column-manager/column-manager/useColumnManager.js +49 -0
  78. package/lib/column-manager/index.d.ts +3 -0
  79. package/lib/column-manager/index.d.ts.map +1 -0
  80. package/lib/column-manager/index.js +6 -0
  81. package/lib/components/app-root/AppRoot.css.d.ts +2 -1
  82. package/lib/components/app-root/AppRoot.css.d.ts.map +1 -0
  83. package/lib/components/app-root/AppRoot.d.ts +1 -0
  84. package/lib/components/app-root/AppRoot.d.ts.map +1 -0
  85. package/lib/components/box/Box.d.ts +1 -0
  86. package/lib/components/box/Box.d.ts.map +1 -0
  87. package/lib/components/cap-content/CapContent.css.d.ts +1 -0
  88. package/lib/components/cap-content/CapContent.css.d.ts.map +1 -0
  89. package/lib/components/cap-content/CapContent.d.ts +1 -0
  90. package/lib/components/cap-content/CapContent.d.ts.map +1 -0
  91. package/lib/components/cap-content/CapContentTitle.d.ts +1 -0
  92. package/lib/components/cap-content/CapContentTitle.d.ts.map +1 -0
  93. package/lib/components/content/Content.css.d.ts +1 -0
  94. package/lib/components/content/Content.css.d.ts.map +1 -0
  95. package/lib/components/content/Content.d.ts +1 -0
  96. package/lib/components/content/Content.d.ts.map +1 -0
  97. package/lib/components/icon/Icon.css.d.ts +2 -1
  98. package/lib/components/icon/Icon.css.d.ts.map +1 -0
  99. package/lib/components/icon/Icon.d.ts +1 -0
  100. package/lib/components/icon/Icon.d.ts.map +1 -0
  101. package/lib/components/icon/icons/index.d.ts +1 -0
  102. package/lib/components/icon/icons/index.d.ts.map +1 -0
  103. package/lib/components/input-panel/InputPanel.css.d.ts +1 -0
  104. package/lib/components/input-panel/InputPanel.css.d.ts.map +1 -0
  105. package/lib/components/input-panel/InputPanel.d.ts +1 -0
  106. package/lib/components/input-panel/InputPanel.d.ts.map +1 -0
  107. package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +1 -0
  108. package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -0
  109. package/lib/components/spinner/Spinner.css.d.ts +2 -1
  110. package/lib/components/spinner/Spinner.css.d.ts.map +1 -0
  111. package/lib/components/spinner/Spinner.d.ts +1 -0
  112. package/lib/components/spinner/Spinner.d.ts.map +1 -0
  113. package/lib/components/spinner/Spinner.examples.d.ts +1 -0
  114. package/lib/components/spinner/Spinner.examples.d.ts.map +1 -0
  115. package/lib/components/title/Title.css.d.ts +2 -1
  116. package/lib/components/title/Title.css.d.ts.map +1 -0
  117. package/lib/components/title/Title.d.ts +1 -0
  118. package/lib/components/title/Title.d.ts.map +1 -0
  119. package/lib/components/vertical-rule/VerticalRule.css.d.ts +1 -0
  120. package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +1 -0
  121. package/lib/components/vertical-rule/VerticalRule.d.ts +1 -0
  122. package/lib/components/vertical-rule/VerticalRule.d.ts.map +1 -0
  123. package/lib/content-row/content-row/ContentRow.css.d.ts +150 -0
  124. package/lib/content-row/content-row/ContentRow.css.d.ts.map +1 -0
  125. package/lib/content-row/content-row/ContentRow.css.js +19 -0
  126. package/lib/content-row/content-row/ContentRow.d.ts +27 -0
  127. package/lib/content-row/content-row/ContentRow.d.ts.map +1 -0
  128. package/lib/content-row/content-row/ContentRow.js +175 -0
  129. package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +51 -0
  130. package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +1 -0
  131. package/lib/content-row/content-row-col/ContentRowCol.css.js +8 -0
  132. package/lib/content-row/content-row-col/ContentRowCol.d.ts +11 -0
  133. package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -0
  134. package/lib/content-row/content-row-col/ContentRowCol.js +50 -0
  135. package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +6 -0
  136. package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -0
  137. package/lib/content-row/content-row-expansion/ContentRowExpansion.js +25 -0
  138. package/lib/content-row/index.d.ts +5 -0
  139. package/lib/content-row/index.d.ts.map +1 -0
  140. package/lib/content-row/index.js +336 -0
  141. package/lib/content-row/index.umd.cjs +1 -0
  142. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +9 -0
  143. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +1 -0
  144. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +6 -0
  145. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +6 -0
  146. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -0
  147. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +48 -0
  148. package/lib/content-row/style.css +1 -0
  149. package/lib/content-tiles/content-tile/ContentTile.css.d.ts +59 -0
  150. package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +1 -0
  151. package/lib/content-tiles/content-tile/ContentTile.css.js +15 -0
  152. package/lib/content-tiles/content-tile/ContentTile.d.ts +16 -0
  153. package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -0
  154. package/lib/content-tiles/content-tile/ContentTile.js +62 -0
  155. package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +3 -0
  156. package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +1 -0
  157. package/lib/content-tiles/content-tile-list/ContentTileList.css.js +6 -0
  158. package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +3 -0
  159. package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -0
  160. package/lib/content-tiles/content-tile-list/ContentTileList.js +14 -0
  161. package/lib/content-tiles/index.d.ts +3 -0
  162. package/lib/content-tiles/index.d.ts.map +1 -0
  163. package/lib/content-tiles/index.js +124 -0
  164. package/lib/content-tiles/index.umd.cjs +1 -0
  165. package/lib/content-tiles/style.css +1 -0
  166. package/lib/core.css +1 -0
  167. package/lib/dropdowns/dropdown/Dropdown.css.d.ts +74 -0
  168. package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +1 -0
  169. package/lib/dropdowns/dropdown/Dropdown.css.js +9 -0
  170. package/lib/dropdowns/dropdown/Dropdown.d.ts +16 -0
  171. package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -0
  172. package/lib/dropdowns/dropdown/Dropdown.js +70 -0
  173. package/lib/dropdowns/index.d.ts +4 -0
  174. package/lib/dropdowns/index.d.ts.map +1 -0
  175. package/lib/dropdowns/index.js +180 -0
  176. package/lib/dropdowns/index.umd.cjs +1 -0
  177. package/lib/dropdowns/option-list/Option.css.d.ts +3 -0
  178. package/lib/dropdowns/option-list/Option.css.d.ts.map +1 -0
  179. package/lib/dropdowns/option-list/Option.css.js +6 -0
  180. package/lib/dropdowns/option-list/Option.d.ts +5 -0
  181. package/lib/dropdowns/option-list/Option.d.ts.map +1 -0
  182. package/lib/dropdowns/option-list/Option.js +22 -0
  183. package/lib/dropdowns/option-list/OptionList.css.d.ts +3 -0
  184. package/lib/dropdowns/option-list/OptionList.css.d.ts.map +1 -0
  185. package/lib/dropdowns/option-list/OptionList.css.js +6 -0
  186. package/lib/dropdowns/option-list/OptionList.d.ts +11 -0
  187. package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -0
  188. package/lib/dropdowns/option-list/OptionList.js +46 -0
  189. package/lib/dropdowns/style.css +1 -0
  190. package/lib/editable-table/EditableTable.d.ts +6 -0
  191. package/lib/editable-table/EditableTable.d.ts.map +1 -0
  192. package/lib/editable-table/EditableTable.js +71 -0
  193. package/lib/editable-table/index.d.ts +2 -0
  194. package/lib/editable-table/index.d.ts.map +1 -0
  195. package/lib/editable-table/index.js +4 -0
  196. package/lib/editable-table/style.css +157 -0
  197. package/lib/examples.d.ts +1 -0
  198. package/lib/examples.d.ts.map +1 -0
  199. package/lib/feedback-block/FeedbackBlock.css.d.ts +12 -0
  200. package/lib/feedback-block/FeedbackBlock.css.d.ts.map +1 -0
  201. package/lib/feedback-block/FeedbackBlock.css.js +8 -0
  202. package/lib/feedback-block/FeedbackBlock.d.ts +10 -0
  203. package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -0
  204. package/lib/feedback-block/FeedbackBlock.js +38 -0
  205. package/lib/feedback-block/index.d.ts +2 -0
  206. package/lib/feedback-block/index.d.ts.map +1 -0
  207. package/lib/feedback-block/index.js +91 -0
  208. package/lib/feedback-block/index.umd.cjs +1 -0
  209. package/lib/feedback-block/style.css +1 -0
  210. package/lib/file-upload/file-upload/FileUpload.css.d.ts +95 -0
  211. package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +1 -0
  212. package/lib/file-upload/file-upload/FileUpload.css.js +19 -0
  213. package/lib/file-upload/file-upload/FileUpload.d.ts +20 -0
  214. package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
  215. package/lib/file-upload/file-upload/FileUpload.js +197 -0
  216. package/lib/file-upload/file-upload/mime-type.enum.d.ts +98 -0
  217. package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +1 -0
  218. package/lib/file-upload/file-upload/mime-type.enum.js +106 -0
  219. package/lib/file-upload/index.d.ts +2 -0
  220. package/lib/file-upload/index.d.ts.map +1 -0
  221. package/lib/file-upload/index.js +352 -0
  222. package/lib/file-upload/index.umd.cjs +1 -0
  223. package/lib/file-upload/style.css +1 -0
  224. package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +37 -0
  225. package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +1 -0
  226. package/lib/filter-tiles/filter-tile/FilterTile.css.js +10 -0
  227. package/lib/filter-tiles/filter-tile/FilterTile.d.ts +9 -0
  228. package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -0
  229. package/lib/filter-tiles/filter-tile/FilterTile.js +35 -0
  230. package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +2 -0
  231. package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +1 -0
  232. package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +5 -0
  233. package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +4 -0
  234. package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -0
  235. package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +16 -0
  236. package/lib/filter-tiles/index.d.ts +3 -0
  237. package/lib/filter-tiles/index.d.ts.map +1 -0
  238. package/lib/filter-tiles/index.js +100 -0
  239. package/lib/filter-tiles/index.umd.cjs +1 -0
  240. package/lib/filter-tiles/style.css +1 -0
  241. package/lib/focused-task/focused-task/FocusedTask.css.d.ts +15 -0
  242. package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +1 -0
  243. package/lib/focused-task/focused-task/FocusedTask.css.js +13 -0
  244. package/lib/focused-task/focused-task/FocusedTask.d.ts +17 -0
  245. package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -0
  246. package/lib/focused-task/focused-task/FocusedTask.js +77 -0
  247. package/lib/focused-task/focused-task/useFocusedTask.d.ts +17 -0
  248. package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +1 -0
  249. package/lib/focused-task/focused-task/useFocusedTask.js +19 -0
  250. package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +4 -0
  251. package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +1 -0
  252. package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +14 -0
  253. package/lib/focused-task/index.d.ts +4 -0
  254. package/lib/focused-task/index.d.ts.map +1 -0
  255. package/lib/focused-task/index.js +154 -0
  256. package/lib/focused-task/index.umd.cjs +1 -0
  257. package/lib/focused-task/style.css +1 -0
  258. package/lib/growler/Growler.css.d.ts +18 -0
  259. package/lib/growler/Growler.css.d.ts.map +1 -0
  260. package/lib/growler/Growler.css.js +13 -0
  261. package/lib/growler/Growler.d.ts +23 -0
  262. package/lib/growler/Growler.d.ts.map +1 -0
  263. package/lib/growler/Growler.js +93 -0
  264. package/lib/growler/GrowlerListProvider.d.ts +14 -0
  265. package/lib/growler/GrowlerListProvider.d.ts.map +1 -0
  266. package/lib/growler/GrowlerListProvider.js +42 -0
  267. package/lib/growler/Sonner.css.d.ts +17 -0
  268. package/lib/growler/Sonner.css.d.ts.map +1 -0
  269. package/lib/growler/Sonner.css.js +13 -0
  270. package/lib/growler/index.d.ts +4 -0
  271. package/lib/growler/index.d.ts.map +1 -0
  272. package/lib/growler/index.js +267 -0
  273. package/lib/growler/index.umd.cjs +1 -0
  274. package/lib/growler/sonner.d.ts +87 -0
  275. package/lib/growler/sonner.d.ts.map +1 -0
  276. package/lib/growler/sonner.js +86 -0
  277. package/lib/growler/style.css +1 -0
  278. package/lib/index.d.ts +1 -0
  279. package/lib/index.d.ts.map +1 -0
  280. package/lib/index.js +8 -8
  281. package/lib/index.umd.cjs +1 -1
  282. package/lib/insight-card/InsightCard.css.d.ts +20 -0
  283. package/lib/insight-card/InsightCard.css.d.ts.map +1 -0
  284. package/lib/insight-card/InsightCard.css.js +14 -0
  285. package/lib/insight-card/InsightCard.d.ts +15 -0
  286. package/lib/insight-card/InsightCard.d.ts.map +1 -0
  287. package/lib/insight-card/InsightCard.js +69 -0
  288. package/lib/insight-card/InsightCardSet.d.ts +3 -0
  289. package/lib/insight-card/InsightCardSet.d.ts.map +1 -0
  290. package/lib/insight-card/InsightCardSet.js +13 -0
  291. package/lib/insight-card/index.d.ts +3 -0
  292. package/lib/insight-card/index.d.ts.map +1 -0
  293. package/lib/insight-card/index.js +130 -0
  294. package/lib/insight-card/index.umd.cjs +1 -0
  295. package/lib/insight-card/style.css +1 -0
  296. package/lib/key-value-set/index.d.ts +3 -0
  297. package/lib/key-value-set/index.d.ts.map +1 -0
  298. package/lib/key-value-set/index.js +95 -0
  299. package/lib/key-value-set/index.umd.cjs +1 -0
  300. package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +7 -0
  301. package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +1 -0
  302. package/lib/key-value-set/key-value-set/KeyValueSet.css.js +6 -0
  303. package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +6 -0
  304. package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -0
  305. package/lib/key-value-set/key-value-set/KeyValueSet.js +23 -0
  306. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +14 -0
  307. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +1 -0
  308. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +8 -0
  309. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +7 -0
  310. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -0
  311. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +23 -0
  312. package/lib/key-value-set/style.css +1 -0
  313. package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +11 -0
  314. package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -0
  315. package/lib/list-bar/advanced-search/AdvancedSearch.css.js +9 -0
  316. package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +16 -0
  317. package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -0
  318. package/lib/list-bar/advanced-search/AdvancedSearch.js +56 -0
  319. package/lib/list-bar/index.d.ts +8 -0
  320. package/lib/list-bar/index.d.ts.map +1 -0
  321. package/lib/list-bar/index.js +317 -0
  322. package/lib/list-bar/index.umd.cjs +1 -0
  323. package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +4 -0
  324. package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -0
  325. package/lib/list-bar/list-bar/InputGroupWrapper.js +20 -0
  326. package/lib/list-bar/list-bar/ListBar.css.d.ts +39 -0
  327. package/lib/list-bar/list-bar/ListBar.css.d.ts.map +1 -0
  328. package/lib/list-bar/list-bar/ListBar.css.js +18 -0
  329. package/lib/list-bar/list-bar/ListBar.d.ts +20 -0
  330. package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -0
  331. package/lib/list-bar/list-bar/ListBar.js +123 -0
  332. package/lib/list-bar/list-bar/ListBarSearch.d.ts +6 -0
  333. package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -0
  334. package/lib/list-bar/list-bar/ListBarSearch.js +23 -0
  335. package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +4 -0
  336. package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -0
  337. package/lib/list-bar/list-bar/ListBarSearchInfo.js +13 -0
  338. package/lib/list-bar/list-bar/ListBarSortBy.d.ts +16 -0
  339. package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -0
  340. package/lib/list-bar/list-bar/ListBarSortBy.js +40 -0
  341. package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +10 -0
  342. package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +1 -0
  343. package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +14 -0
  344. package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +11 -0
  345. package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -0
  346. package/lib/list-bar/search-results-bar/SearchResultsBar.js +30 -0
  347. package/lib/list-bar/style.css +1 -0
  348. package/lib/manifest.d.ts +1 -0
  349. package/lib/manifest.d.ts.map +1 -0
  350. package/lib/matrix/index.d.ts +7 -0
  351. package/lib/matrix/index.d.ts.map +1 -0
  352. package/lib/matrix/index.js +95 -0
  353. package/lib/matrix/index.umd.cjs +1 -0
  354. package/lib/matrix/matrix/Matrix.css.d.ts +5 -0
  355. package/lib/matrix/matrix/Matrix.css.d.ts.map +1 -0
  356. package/lib/matrix/matrix/Matrix.css.js +8 -0
  357. package/lib/matrix/matrix/Matrix.d.ts +6 -0
  358. package/lib/matrix/matrix/Matrix.d.ts.map +1 -0
  359. package/lib/matrix/matrix/Matrix.js +28 -0
  360. package/lib/matrix/matrix-body/MatrixBody.d.ts +4 -0
  361. package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -0
  362. package/lib/matrix/matrix-body/MatrixBody.js +15 -0
  363. package/lib/matrix/matrix-cell/MatrixCell.d.ts +4 -0
  364. package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +1 -0
  365. package/lib/matrix/matrix-cell/MatrixCell.js +19 -0
  366. package/lib/matrix/matrix-head/MatrixHead.d.ts +4 -0
  367. package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -0
  368. package/lib/matrix/matrix-head/MatrixHead.js +15 -0
  369. package/lib/matrix/matrix-header/MatrixHeader.d.ts +16 -0
  370. package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +1 -0
  371. package/lib/matrix/matrix-header/MatrixHeader.js +25 -0
  372. package/lib/matrix/matrix-row/MatrixRow.d.ts +4 -0
  373. package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -0
  374. package/lib/matrix/matrix-row/MatrixRow.js +15 -0
  375. package/lib/matrix/style.css +1 -0
  376. package/lib/metadata/metadata.d.ts +1 -0
  377. package/lib/metadata/metadata.d.ts.map +1 -0
  378. package/lib/modal/index.d.ts +4 -0
  379. package/lib/modal/index.d.ts.map +1 -0
  380. package/lib/modal/index.js +197 -0
  381. package/lib/modal/index.umd.cjs +1 -0
  382. package/lib/modal/modal/Modal.css.d.ts +20 -0
  383. package/lib/modal/modal/Modal.css.d.ts.map +1 -0
  384. package/lib/modal/modal/Modal.css.js +14 -0
  385. package/lib/modal/modal/Modal.d.ts +27 -0
  386. package/lib/modal/modal/Modal.d.ts.map +1 -0
  387. package/lib/modal/modal/Modal.js +113 -0
  388. package/lib/modal/modal/useModal.d.ts +17 -0
  389. package/lib/modal/modal/useModal.d.ts.map +1 -0
  390. package/lib/modal/modal/useModal.js +26 -0
  391. package/lib/modal/modal-footer/ModalFooter.d.ts +4 -0
  392. package/lib/modal/modal-footer/ModalFooter.d.ts.map +1 -0
  393. package/lib/modal/modal-footer/ModalFooter.js +14 -0
  394. package/lib/modal/style.css +1 -0
  395. package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +57 -0
  396. package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +11 -0
  397. package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +4 -0
  398. package/lib/page-title/index.d.ts +3 -0
  399. package/lib/page-title/index.d.ts.map +1 -0
  400. package/lib/page-title/index.js +32 -0
  401. package/lib/page-title/index.umd.cjs +1 -0
  402. package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +3 -0
  403. package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +1 -0
  404. package/lib/page-title/page-subtitle/PageSubtitle.css.js +6 -0
  405. package/lib/page-title/page-subtitle/PageSubtitle.d.ts +4 -0
  406. package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -0
  407. package/lib/page-title/page-subtitle/PageSubtitle.js +19 -0
  408. package/lib/page-title/page-title/PageTitle.css.d.ts +4 -0
  409. package/lib/page-title/page-title/PageTitle.css.d.ts.map +1 -0
  410. package/lib/page-title/page-title/PageTitle.css.js +7 -0
  411. package/lib/page-title/page-title/PageTitle.d.ts +4 -0
  412. package/lib/page-title/page-title/PageTitle.d.ts.map +1 -0
  413. package/lib/page-title/page-title/PageTitle.js +17 -0
  414. package/lib/page-title/style.css +1 -0
  415. package/lib/photo/index.d.ts +3 -0
  416. package/lib/photo/index.d.ts.map +1 -0
  417. package/lib/photo/index.js +179 -0
  418. package/lib/photo/index.umd.cjs +1 -0
  419. package/lib/photo/photo/Photo.css.d.ts +12 -0
  420. package/lib/photo/photo/Photo.css.d.ts.map +1 -0
  421. package/lib/photo/photo/Photo.css.js +8 -0
  422. package/lib/photo/photo/Photo.d.ts +11 -0
  423. package/lib/photo/photo/Photo.d.ts.map +1 -0
  424. package/lib/photo/photo/Photo.js +83 -0
  425. package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +13 -0
  426. package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +1 -0
  427. package/lib/photo/photo-carousel/PhotoCarousel.css.js +10 -0
  428. package/lib/photo/photo-carousel/PhotoCarousel.d.ts +4 -0
  429. package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -0
  430. package/lib/photo/photo-carousel/PhotoCarousel.js +48 -0
  431. package/lib/photo/style.css +1 -0
  432. package/lib/product-bar/hooks/usePriorityPlus.d.ts +33 -0
  433. package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +1 -0
  434. package/lib/product-bar/hooks/usePriorityPlus.js +106 -0
  435. package/lib/product-bar/index.d.ts +5 -0
  436. package/lib/product-bar/index.d.ts.map +1 -0
  437. package/lib/product-bar/index.js +397 -0
  438. package/lib/product-bar/index.umd.cjs +1 -0
  439. package/lib/product-bar/product-bar/ProductBar.css.d.ts +43 -0
  440. package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +1 -0
  441. package/lib/product-bar/product-bar/ProductBar.css.js +15 -0
  442. package/lib/product-bar/product-bar/ProductBar.d.ts +14 -0
  443. package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -0
  444. package/lib/product-bar/product-bar/ProductBar.js +107 -0
  445. package/lib/product-bar/product-bar-name/ProductBarName.d.ts +12 -0
  446. package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -0
  447. package/lib/product-bar/product-bar-name/ProductBarName.js +33 -0
  448. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +23 -0
  449. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +1 -0
  450. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +9 -0
  451. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +13 -0
  452. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +1 -0
  453. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +71 -0
  454. package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +16 -0
  455. package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +1 -0
  456. package/lib/product-bar/product-bar-tab/ProductBarTab.js +24 -0
  457. package/lib/product-bar/slack-link/SlackLink.css.d.ts +3 -0
  458. package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +1 -0
  459. package/lib/product-bar/slack-link/SlackLink.css.js +6 -0
  460. package/lib/product-bar/slack-link/SlackLink.d.ts +6 -0
  461. package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -0
  462. package/lib/product-bar/slack-link/SlackLink.js +32 -0
  463. package/lib/product-bar/style.css +1 -0
  464. package/lib/product-bar-vertical/index.d.ts +5 -0
  465. package/lib/product-bar-vertical/index.d.ts.map +1 -0
  466. package/lib/product-bar-vertical/index.js +261 -0
  467. package/lib/product-bar-vertical/index.umd.cjs +1 -0
  468. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +78 -0
  469. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +1 -0
  470. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +24 -0
  471. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +8 -0
  472. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -0
  473. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +62 -0
  474. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +9 -0
  475. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +1 -0
  476. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +44 -0
  477. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +15 -0
  478. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -0
  479. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +91 -0
  480. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +10 -0
  481. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +1 -0
  482. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +30 -0
  483. package/lib/product-bar-vertical/style.css +1 -0
  484. package/lib/progress-indicators/index.d.ts +4 -0
  485. package/lib/progress-indicators/index.d.ts.map +1 -0
  486. package/lib/progress-indicators/index.js +264 -0
  487. package/lib/progress-indicators/index.umd.cjs +1 -0
  488. package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +19 -0
  489. package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -0
  490. package/lib/progress-indicators/progress-bar/ProgressBar.css.js +14 -0
  491. package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +13 -0
  492. package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -0
  493. package/lib/progress-indicators/progress-bar/ProgressBar.js +112 -0
  494. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +14 -0
  495. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +1 -0
  496. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +9 -0
  497. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +14 -0
  498. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -0
  499. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +56 -0
  500. package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +8 -0
  501. package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -0
  502. package/lib/progress-indicators/progress-ring/ProgressRing.js +54 -0
  503. package/lib/progress-indicators/style.css +1 -0
  504. package/lib/rich-text-editor/index.d.ts +3 -0
  505. package/lib/rich-text-editor/index.d.ts.map +1 -0
  506. package/lib/rich-text-editor/index.js +588 -0
  507. package/lib/rich-text-editor/index.umd.cjs +13 -0
  508. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +13 -0
  509. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +1 -0
  510. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +35 -0
  511. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +16 -0
  512. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +1 -0
  513. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +7 -0
  514. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +11 -0
  515. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +1 -0
  516. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +38 -0
  517. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +15 -0
  518. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +1 -0
  519. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +9 -0
  520. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +8 -0
  521. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -0
  522. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +81 -0
  523. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +2 -0
  524. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +1 -0
  525. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +20 -0
  526. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +2 -0
  527. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +1 -0
  528. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +22 -0
  529. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +14 -0
  530. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +1 -0
  531. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +28 -0
  532. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +6 -0
  533. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +1 -0
  534. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +94 -0
  535. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +7 -0
  536. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +1 -0
  537. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +37 -0
  538. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +15 -0
  539. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +1 -0
  540. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +214 -0
  541. package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -0
  542. package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -0
  543. package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -0
  544. package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -0
  545. package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -0
  546. package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -0
  547. package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -0
  548. package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -0
  549. package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -0
  550. package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -0
  551. package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +12 -0
  552. package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +1 -0
  553. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +10 -0
  554. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +1 -0
  555. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +13 -0
  556. package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +3 -0
  557. package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +1 -0
  558. package/lib/rich-text-editor/rich-text-editor/utils/utils.js +16 -0
  559. package/lib/rich-text-editor/style.css +1 -0
  560. package/lib/scrollable-container/ScrollableContainer.css.d.ts +2 -0
  561. package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +1 -0
  562. package/lib/scrollable-container/ScrollableContainer.css.js +5 -0
  563. package/lib/scrollable-container/ScrollableContainer.d.ts +6 -0
  564. package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -0
  565. package/lib/scrollable-container/ScrollableContainer.js +29 -0
  566. package/lib/scrollable-container/index.d.ts +2 -0
  567. package/lib/scrollable-container/index.d.ts.map +1 -0
  568. package/lib/scrollable-container/index.js +29 -0
  569. package/lib/scrollable-container/index.umd.cjs +1 -0
  570. package/lib/scrollable-container/style.css +1 -0
  571. package/lib/side-nav/index.d.ts +5 -0
  572. package/lib/side-nav/index.d.ts.map +1 -0
  573. package/lib/side-nav/index.js +228 -0
  574. package/lib/side-nav/index.umd.cjs +1 -0
  575. package/lib/side-nav/side-nav/SideNav.css.d.ts +30 -0
  576. package/lib/side-nav/side-nav/SideNav.css.d.ts.map +1 -0
  577. package/lib/side-nav/side-nav/SideNav.css.js +17 -0
  578. package/lib/side-nav/side-nav/SideNav.d.ts +9 -0
  579. package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -0
  580. package/lib/side-nav/side-nav/SideNav.js +62 -0
  581. package/lib/side-nav/side-nav/navContext.d.ts +5 -0
  582. package/lib/side-nav/side-nav/navContext.d.ts.map +1 -0
  583. package/lib/side-nav/side-nav/navContext.js +8 -0
  584. package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +4 -0
  585. package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +1 -0
  586. package/lib/side-nav/side-nav-header/SideNavHeader.js +17 -0
  587. package/lib/side-nav/side-nav-item/SideNavItem.d.ts +25 -0
  588. package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -0
  589. package/lib/side-nav/side-nav-item/SideNavItem.js +84 -0
  590. package/lib/side-nav/side-nav-section/SideNavSection.d.ts +7 -0
  591. package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +1 -0
  592. package/lib/side-nav/side-nav-section/SideNavSection.js +28 -0
  593. package/lib/side-nav/style.css +1 -0
  594. package/lib/sorting-header/caret/caret.css.d.ts +21 -0
  595. package/lib/sorting-header/caret/caret.css.d.ts.map +1 -0
  596. package/lib/sorting-header/caret/caret.css.js +6 -0
  597. package/lib/sorting-header/index.d.ts +3 -0
  598. package/lib/sorting-header/index.d.ts.map +1 -0
  599. package/lib/sorting-header/index.js +250 -0
  600. package/lib/sorting-header/index.umd.cjs +1 -0
  601. package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +39 -0
  602. package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +1 -0
  603. package/lib/sorting-header/sorting-header/SortingHeader.css.js +7 -0
  604. package/lib/sorting-header/sorting-header/SortingHeader.d.ts +9 -0
  605. package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -0
  606. package/lib/sorting-header/sorting-header/SortingHeader.js +126 -0
  607. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +35 -0
  608. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -0
  609. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +6 -0
  610. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +12 -0
  611. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -0
  612. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +77 -0
  613. package/lib/sorting-header/style.css +1 -0
  614. package/lib/style.css +1 -1
  615. package/lib/tabs/index.d.ts +4 -0
  616. package/lib/tabs/index.d.ts.map +1 -0
  617. package/lib/tabs/index.js +206 -0
  618. package/lib/tabs/index.umd.cjs +1 -0
  619. package/lib/tabs/style.css +1 -0
  620. package/lib/tabs/tab/Tab.css.d.ts +12 -0
  621. package/lib/tabs/tab/Tab.css.d.ts.map +1 -0
  622. package/lib/tabs/tab/Tab.css.js +7 -0
  623. package/lib/tabs/tab/Tab.d.ts +10 -0
  624. package/lib/tabs/tab/Tab.d.ts.map +1 -0
  625. package/lib/tabs/tab/Tab.js +28 -0
  626. package/lib/tabs/tab-panel/TabPanel.d.ts +9 -0
  627. package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -0
  628. package/lib/tabs/tab-panel/TabPanel.js +24 -0
  629. package/lib/tabs/tabs/Tabs.css.d.ts +30 -0
  630. package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -0
  631. package/lib/tabs/tabs/Tabs.css.js +11 -0
  632. package/lib/tabs/tabs/Tabs.d.ts +6 -0
  633. package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
  634. package/lib/tabs/tabs/Tabs.js +113 -0
  635. package/lib/tags/clickable-tag/ClickableTag.css.d.ts +17 -0
  636. package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -0
  637. package/lib/tags/clickable-tag/ClickableTag.css.js +10 -0
  638. package/lib/tags/clickable-tag/ClickableTag.d.ts +13 -0
  639. package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -0
  640. package/lib/tags/clickable-tag/ClickableTag.js +72 -0
  641. package/lib/tags/index.d.ts +4 -0
  642. package/lib/tags/index.d.ts.map +1 -0
  643. package/lib/tags/index.js +189 -0
  644. package/lib/tags/index.umd.cjs +1 -0
  645. package/lib/tags/split-tag/SplitTag.css.d.ts +67 -0
  646. package/lib/tags/split-tag/SplitTag.css.d.ts.map +1 -0
  647. package/lib/tags/split-tag/SplitTag.css.js +10 -0
  648. package/lib/tags/split-tag/SplitTag.d.ts +14 -0
  649. package/lib/tags/split-tag/SplitTag.d.ts.map +1 -0
  650. package/lib/tags/split-tag/SplitTag.js +32 -0
  651. package/lib/tags/style.css +1 -0
  652. package/lib/tags/tag/Tag.css.d.ts +24 -0
  653. package/lib/tags/tag/Tag.css.d.ts.map +1 -0
  654. package/lib/tags/tag/Tag.css.js +7 -0
  655. package/lib/tags/tag/Tag.d.ts +11 -0
  656. package/lib/tags/tag/Tag.d.ts.map +1 -0
  657. package/lib/tags/tag/Tag.js +41 -0
  658. package/lib/types/table.d.ts +1 -0
  659. package/lib/types/table.d.ts.map +1 -0
  660. package/lib/utils/ChildrenFn.d.ts +1 -0
  661. package/lib/utils/ChildrenFn.d.ts.map +1 -0
  662. package/lib/utils/ComponentProps.d.ts +1 -0
  663. package/lib/utils/ComponentProps.d.ts.map +1 -0
  664. package/lib/utils/Provide.d.ts +1 -0
  665. package/lib/utils/Provide.d.ts.map +1 -0
  666. package/lib/utils/VariantDefinitions.d.ts +1 -0
  667. package/lib/utils/VariantDefinitions.d.ts.map +1 -0
  668. package/lib/utils/addClassName.d.ts +1 -0
  669. package/lib/utils/addClassName.d.ts.map +1 -0
  670. package/lib/utils/addProps.d.ts +1 -0
  671. package/lib/utils/addProps.d.ts.map +1 -0
  672. package/lib/utils/bindProps.d.ts +1 -0
  673. package/lib/utils/bindProps.d.ts.map +1 -0
  674. package/lib/utils/cl.d.ts +1 -0
  675. package/lib/utils/cl.d.ts.map +1 -0
  676. package/lib/utils/combineEventHandlers.d.ts +1 -0
  677. package/lib/utils/combineEventHandlers.d.ts.map +1 -0
  678. package/lib/utils/contentOf.d.ts +1 -0
  679. package/lib/utils/contentOf.d.ts.map +1 -0
  680. package/lib/utils/getScrollParent.d.ts +1 -0
  681. package/lib/utils/getScrollParent.d.ts.map +1 -0
  682. package/lib/utils/modChildren.d.ts +1 -0
  683. package/lib/utils/modChildren.d.ts.map +1 -0
  684. package/lib/utils/selectChildren.d.ts +1 -0
  685. package/lib/utils/selectChildren.d.ts.map +1 -0
  686. package/lib/utils/useChildTestIdAttrBuilder.d.ts +1 -0
  687. package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +1 -0
  688. package/lib/utils/useElementId.d.ts +1 -0
  689. package/lib/utils/useElementId.d.ts.map +1 -0
  690. package/lib/utils/usePatchReducer.d.ts +1 -0
  691. package/lib/utils/usePatchReducer.d.ts.map +1 -0
  692. package/lib/utils/usePortal.d.ts +1 -0
  693. package/lib/utils/usePortal.d.ts.map +1 -0
  694. package/lib/zero-state/ZeroState.css.d.ts +41 -0
  695. package/lib/zero-state/ZeroState.css.d.ts.map +1 -0
  696. package/lib/zero-state/ZeroState.css.js +12 -0
  697. package/lib/zero-state/ZeroState.d.ts +12 -0
  698. package/lib/zero-state/ZeroState.d.ts.map +1 -0
  699. package/lib/zero-state/ZeroState.js +31 -0
  700. package/lib/zero-state/index.d.ts +2 -0
  701. package/lib/zero-state/index.d.ts.map +1 -0
  702. package/lib/zero-state/index.js +84 -0
  703. package/lib/zero-state/index.umd.cjs +1 -0
  704. package/lib/zero-state/style.css +1 -0
  705. package/package.json +755 -6
  706. package/vite.action-bar.config.mjs +40 -0
  707. package/vite.add-to-list.config.mjs +40 -0
  708. package/vite.buttons.config.mjs +41 -0
  709. package/vite.cards.config.mjs +40 -0
  710. package/vite.config.mjs +7 -1
  711. package/vite.content-row.config.mjs +40 -0
  712. package/vite.content-tiles.config.mjs +40 -0
  713. package/vite.dropdowns.config.mjs +41 -0
  714. package/vite.editable-table.config.mjs +68 -0
  715. package/vite.feedback-block.config.mjs +40 -0
  716. package/vite.file-upload.config.mjs +40 -0
  717. package/vite.filter-tiles.config.mjs +40 -0
  718. package/vite.focused-task.config.mjs +40 -0
  719. package/vite.growler.config.mjs +41 -0
  720. package/vite.insight-card.config.mjs +40 -0
  721. package/vite.key-value-set.config.mjs +40 -0
  722. package/vite.list-bar.config.mjs +40 -0
  723. package/vite.matrix.config.mjs +40 -0
  724. package/vite.modal.config.mjs +40 -0
  725. package/vite.page-title.config.mjs +40 -0
  726. package/vite.photo.config.mjs +40 -0
  727. package/vite.product-bar-vertical.config.mjs +40 -0
  728. package/vite.product-bar.config.mjs +42 -0
  729. package/vite.progress-indicators.config.mjs +40 -0
  730. package/vite.rich-text-editor.config.mjs +48 -0
  731. package/vite.scrollable-container.config.mjs +40 -0
  732. package/vite.side-nav.config.mjs +40 -0
  733. package/vite.sorting-header.config.mjs +40 -0
  734. package/vite.subpaths.config.mjs +246 -0
  735. package/vite.tabs.config.mjs +43 -0
  736. package/vite.tags.config.mjs +40 -0
  737. package/vite.zero-state.config.mjs +40 -0
@@ -0,0 +1,25 @@
1
+ import t from "react";
2
+ import { Metadata as l, cl as e } from "@sps-woodland/core";
3
+ import { matrixHeader as n, matrixHeaderIcon as s } from "../matrix/Matrix.css.js";
4
+ function c({
5
+ icon: a,
6
+ tooltip: r,
7
+ width: i,
8
+ className: p,
9
+ children: m,
10
+ "data-testid": o,
11
+ ...d
12
+ }) {
13
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("th", { className: e(n), style: { width: `${i}` }, "data-testid": `${o}`, ...d }, m, /* @__PURE__ */ t.createElement("div", { className: e(s) }, a, r)));
14
+ }
15
+ l.set(c, {
16
+ name: "Matrix Header",
17
+ props: {
18
+ icon: "Icon",
19
+ tooltip: "SpsTooltip",
20
+ width: "string"
21
+ }
22
+ });
23
+ export {
24
+ c as MatrixHeader
25
+ };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ComponentProps } from "@sps-woodland/core";
3
+ export declare function MatrixRow({ children, "data-testid": testId, ...rest }: ComponentProps<React.HTMLAttributes<HTMLTableRowElement>>): React.ReactElement;
4
+ //# sourceMappingURL=MatrixRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MatrixRow.d.ts","sourceRoot":"","sources":["../../../src/matrix/matrix-row/MatrixRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAY,MAAM,oBAAoB,CAAC;AAE9D,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,aAAa,EAAE,MAAM,EACrB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAMhF"}
@@ -0,0 +1,15 @@
1
+ import t from "react";
2
+ import { Metadata as m } from "@sps-woodland/core";
3
+ function n({
4
+ children: e,
5
+ "data-testid": a,
6
+ ...r
7
+ }) {
8
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tr", { "data-testid": `${a}`, ...r }, e));
9
+ }
10
+ m.set(n, {
11
+ name: "Matrix Row"
12
+ });
13
+ export {
14
+ n as MatrixRow
15
+ };
@@ -0,0 +1 @@
1
+ .pkg_sps-woodland_core__version_8_51_1__hash_6q9a8v0{width:100%;flex-direction:column;word-wrap:break-word;table-layout:fixed;overflow:hidden;border-radius:.125rem;font-size:.875rem}.pkg_sps-woodland_core__version_8_51_1__hash_6q9a8v1{background-color:#f3f4f4;border-color:#d2d4d4;border-style:solid;border-width:.0625rem;padding:.5rem;vertical-align:top;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_6q9a8v2{border-style:solid;border-color:#d2d4d4;border-width:.0625rem;padding:.5rem;vertical-align:top}.pkg_sps-woodland_core__version_8_51_1__hash_6q9a8v3{float:right}
@@ -19,3 +19,4 @@ export declare const Metadata: Readonly<{
19
19
  set<T>(arg: FC<T>, metadata: WoodlandComponentMetadata): void;
20
20
  }>;
21
21
  export {};
22
+ //# sourceMappingURL=metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG;QAC9B,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC,CAAC;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,eAAsC,CAAC;AAErD,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG;IACjD,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ;wBACC,CAAC,OAAO,OAAO,GAAG,GAAG,IAAI,iBAAiB,CAAC,CAAC,CAAC;QAI7D,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,GAAG,yBAAyB;QAIxD,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,YAAY,yBAAyB,GAAG,IAAI;EAM7D,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./modal/Modal";
2
+ export * from "./modal/useModal";
3
+ export * from "./modal-footer/ModalFooter";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,197 @@
1
+ import { Metadata as B, cl as g, combineEventHandlers as O, useChildTestIdAttrBuilder as A, selectChildren as L, modChildren as q, Icon as G, contentOf as k } from "@sps-woodland/core";
2
+ import { Button as N } from "@sps-woodland/core/button";
3
+ import { useModalOverlay as J, useDialog as Q, Overlay as U, useOverlayTrigger as X } from "react-aria";
4
+ import * as r from "react";
5
+ import { useRef as Y } from "react";
6
+ import { useWoodlandLanguage as Z } from "@spscommerce/i18n";
7
+ import { useOverlayTriggerState as $ } from "react-stately";
8
+ function ee(e, s, o) {
9
+ return s in e ? Object.defineProperty(e, s, {
10
+ value: o,
11
+ enumerable: !0,
12
+ configurable: !0,
13
+ writable: !0
14
+ }) : e[s] = o, e;
15
+ }
16
+ function P(e, s) {
17
+ var o = Object.keys(e);
18
+ if (Object.getOwnPropertySymbols) {
19
+ var _ = Object.getOwnPropertySymbols(e);
20
+ s && (_ = _.filter(function(a) {
21
+ return Object.getOwnPropertyDescriptor(e, a).enumerable;
22
+ })), o.push.apply(o, _);
23
+ }
24
+ return o;
25
+ }
26
+ function E(e) {
27
+ for (var s = 1; s < arguments.length; s++) {
28
+ var o = arguments[s] != null ? arguments[s] : {};
29
+ s % 2 ? P(Object(o), !0).forEach(function(_) {
30
+ ee(e, _, o[_]);
31
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : P(Object(o)).forEach(function(_) {
32
+ Object.defineProperty(e, _, Object.getOwnPropertyDescriptor(o, _));
33
+ });
34
+ }
35
+ return e;
36
+ }
37
+ var se = (e, s, o) => {
38
+ for (var _ of Object.keys(e)) {
39
+ var a;
40
+ if (e[_] !== ((a = s[_]) !== null && a !== void 0 ? a : o[_]))
41
+ return !1;
42
+ }
43
+ return !0;
44
+ }, j = (e) => (s) => {
45
+ var o = e.defaultClassName, _ = E(E({}, e.defaultVariants), s);
46
+ for (var a in _) {
47
+ var t, i = (t = _[a]) !== null && t !== void 0 ? t : e.defaultVariants[a];
48
+ if (i != null) {
49
+ var l = i;
50
+ typeof l == "boolean" && (l = l === !0 ? "true" : "false");
51
+ var n = (
52
+ // @ts-expect-error
53
+ e.variantClassNames[a][l]
54
+ );
55
+ n && (o += " " + n);
56
+ }
57
+ }
58
+ for (var [c, u] of e.compoundVariants)
59
+ se(c, _, e.defaultVariants) && (o += " " + u);
60
+ return o;
61
+ }, oe = j({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem1", delete: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem2", failure: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem3", success: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem4", warning: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem6", form: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem8", md: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem9", lg: "pkg_sps-woodland_core__version_8_51_1__hash_41ksema", xl: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemc", false: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), _e = j({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemf", delete: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemg", failure: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemh", informational: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemi", success: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemj", warning: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__version_8_51_1__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), re = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemm", ae = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemn", ne = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemo", M = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemp", te = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemq", le = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemr", ie = "pkg_sps-woodland_core__version_8_51_1__hash_41ksems";
62
+ function V({
63
+ children: e,
64
+ className: s = "",
65
+ ...o
66
+ }) {
67
+ return /* @__PURE__ */ r.createElement("div", { className: g(M, s), ...o }, e);
68
+ }
69
+ B.set(V, { name: "ModalFooter" });
70
+ function C({
71
+ dismissableValue: e,
72
+ handleClose: s
73
+ }) {
74
+ return e ? /* @__PURE__ */ r.createElement(
75
+ N,
76
+ {
77
+ "aria-label": "Close",
78
+ onClick: s,
79
+ kind: "icon",
80
+ icon: "x",
81
+ className: te
82
+ }
83
+ ) : null;
84
+ }
85
+ const F = Object.freeze({
86
+ form: "pencil",
87
+ delete: "trash",
88
+ failure: "status-error",
89
+ informational: "info-circle",
90
+ success: "status-ok",
91
+ successWithFailures: "status-warning",
92
+ warning: "status-warning"
93
+ });
94
+ function de({
95
+ children: e,
96
+ className: s,
97
+ "data-testid": o,
98
+ kind: _ = "informational",
99
+ onBlur: a,
100
+ onFocus: t,
101
+ overlayProps: i,
102
+ size: l = "sm",
103
+ state: n,
104
+ title: c,
105
+ dismissible: u,
106
+ dismissable: D = !0,
107
+ onClose: d,
108
+ fullHeight: I = !1,
109
+ ...p
110
+ }) {
111
+ const w = u ?? D, m = r.useRef(null), { modalProps: f, underlayProps: R } = J(
112
+ {
113
+ isKeyboardDismissDisabled: !w,
114
+ ...p
115
+ },
116
+ n,
117
+ m
118
+ ), { dialogProps: h, titleProps: S } = Q(p, m), x = O(f.onFocus, h.onFocus, t), z = O(f.onBlur, h.onBlur, a), { t: W } = Z(), H = A({ "data-testid": o }), [v, K] = L(
119
+ e,
120
+ [{ type: V }]
121
+ ), y = r.useCallback(() => {
122
+ d && typeof d == "function" && d(), n.close();
123
+ }, [d, n.close]), T = q(K, (b) => b.type === C ? [{ className: g(b.props.classname, le) }] : []);
124
+ return /* @__PURE__ */ r.createElement(U, null, /* @__PURE__ */ r.createElement(
125
+ "div",
126
+ {
127
+ className: ie,
128
+ "data-react-aria-top-layer": "true",
129
+ ...R,
130
+ ...p
131
+ },
132
+ /* @__PURE__ */ r.createElement(
133
+ "div",
134
+ {
135
+ ...f,
136
+ ...h,
137
+ ...i,
138
+ onFocus: x,
139
+ onBlur: z,
140
+ ...H("dialog"),
141
+ ref: m,
142
+ className: g(oe({ kind: _, size: l, fullHeight: I }), s)
143
+ },
144
+ /* @__PURE__ */ r.createElement("div", { ...S, className: _e({ kind: _ }) }, _ && /* @__PURE__ */ r.createElement(
145
+ G,
146
+ {
147
+ icon: F[_] || F.informational,
148
+ className: ae
149
+ }
150
+ ), /* @__PURE__ */ r.createElement("div", { className: re }, k(c, n.close)), /* @__PURE__ */ r.createElement(C, { dismissableValue: w, handleClose: y })),
151
+ /* @__PURE__ */ r.createElement("div", { className: ne }, k(T, n.close)),
152
+ v && v.length > 0 ? /* @__PURE__ */ r.createElement(r.Fragment, null, k(v, n.close)) : /* @__PURE__ */ r.createElement("div", { className: M }, /* @__PURE__ */ r.createElement(N, { kind: "key", onClick: y }, W("modal.defaultButtonLabel", { defaultValue: "Okay" })))
153
+ )
154
+ ));
155
+ }
156
+ function ce(e) {
157
+ return e.state.isOpen ? /* @__PURE__ */ r.createElement(de, { ...e }, e.children) : /* @__PURE__ */ r.createElement(r.Fragment, null);
158
+ }
159
+ B.set(ce, {
160
+ name: "Modal",
161
+ props: {
162
+ dismissable: { type: "boolean", default: "true" },
163
+ fullHeight: { type: "boolean", default: "false" },
164
+ kind: { type: "ModalKind", default: "informational" },
165
+ onBlur: { type: "() => void" },
166
+ onClose: { type: "() => void" },
167
+ onFocus: { type: "() => void" },
168
+ size: { type: "ModalSize", default: "sm" },
169
+ title: { type: "string" }
170
+ }
171
+ });
172
+ function ke(e = {}) {
173
+ const s = $(e), o = Y(null), { triggerProps: _, overlayProps: a } = X(
174
+ { type: "dialog" },
175
+ s,
176
+ o
177
+ ), {
178
+ onPress: t,
179
+ ...i
180
+ } = _;
181
+ return {
182
+ triggerProps: {
183
+ ...i,
184
+ // Forward event to onPress (types differ but handler doesn't inspect event)
185
+ onClick: t ? (l) => t(l) : void 0,
186
+ ref: o
187
+ },
188
+ modalState: s,
189
+ modalProps: { overlayProps: a, state: s }
190
+ };
191
+ }
192
+ export {
193
+ ce as Modal,
194
+ V as ModalFooter,
195
+ F as ModalIcons,
196
+ ke as useModal
197
+ };
@@ -0,0 +1 @@
1
+ (function(r,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@sps-woodland/core"),require("@sps-woodland/core/button"),require("react-aria"),require("react"),require("@spscommerce/i18n"),require("react-stately")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","@sps-woodland/core/button","react-aria","react","@spscommerce/i18n","react-stately"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.Modal={},r.core,r.button,r.reactAria,r.React,r.i18n,r.reactStately))})(this,(function(r,n,b,u,P,D,I){"use strict";function q(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,a.get?a:{enumerable:!0,get:()=>e[s]})}}return o.default=e,Object.freeze(o)}const _=q(P);function T(e,o,s){return o in e?Object.defineProperty(e,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[o]=s,e}function E(e,o){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);o&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,a)}return s}function M(e){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?E(Object(s),!0).forEach(function(a){T(e,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):E(Object(s)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(s,a))})}return e}var R=(e,o,s)=>{for(var a of Object.keys(e)){var t;if(e[a]!==((t=o[a])!==null&&t!==void 0?t:s[a]))return!1}return!0},j=e=>o=>{var s=e.defaultClassName,a=M(M({},e.defaultVariants),o);for(var t in a){var d,c=(d=a[t])!==null&&d!==void 0?d:e.defaultVariants[t];if(c!=null){var i=c;typeof i=="boolean"&&(i=i===!0?"true":"false");var l=e.variantClassNames[t][i];l&&(s+=" "+l)}}for(var[h,v]of e.compoundVariants)R(h,a,e.defaultVariants)&&(s+=" "+v);return s},z=j({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem0",variantClassNames:{kind:{informational:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem1",delete:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem2",failure:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem3",success:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem4",warning:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem5",successWithFailures:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem6",form:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem7"},size:{sm:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem8",md:"pkg_sps-woodland_core__version_8_51_1__hash_41ksem9",lg:"pkg_sps-woodland_core__version_8_51_1__hash_41ksema",xl:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemb"},fullHeight:{true:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemc",false:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemd"}},defaultVariants:{},compoundVariants:[]}),H=j({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_41kseme",variantClassNames:{kind:{form:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemf",delete:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemg",failure:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemh",informational:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemi",success:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemj",warning:"pkg_sps-woodland_core__version_8_51_1__hash_41ksemk",successWithFailures:"pkg_sps-woodland_core__version_8_51_1__hash_41kseml"}},defaultVariants:{},compoundVariants:[]}),W="pkg_sps-woodland_core__version_8_51_1__hash_41ksemm",K="pkg_sps-woodland_core__version_8_51_1__hash_41ksemn",x="pkg_sps-woodland_core__version_8_51_1__hash_41ksemo",C="pkg_sps-woodland_core__version_8_51_1__hash_41ksemp",L="pkg_sps-woodland_core__version_8_51_1__hash_41ksemq",A="pkg_sps-woodland_core__version_8_51_1__hash_41ksemr",G="pkg_sps-woodland_core__version_8_51_1__hash_41ksems";function m({children:e,className:o="",...s}){return _.createElement("div",{className:n.cl(C,o),...s},e)}n.Metadata.set(m,{name:"ModalFooter"});function F({dismissableValue:e,handleClose:o}){return e?_.createElement(b.Button,{"aria-label":"Close",onClick:o,kind:"icon",icon:"x",className:L}):null}const f=Object.freeze({form:"pencil",delete:"trash",failure:"status-error",informational:"info-circle",success:"status-ok",successWithFailures:"status-warning",warning:"status-warning"});function J({children:e,className:o,"data-testid":s,kind:a="informational",onBlur:t,onFocus:d,overlayProps:c,size:i="sm",state:l,title:h,dismissible:v,dismissable:U=!0,onClose:p,fullHeight:X=!1,...k}){const N=v??U,g=_.useRef(null),{modalProps:w,underlayProps:Y}=u.useModalOverlay({isKeyboardDismissDisabled:!N,...k},l,g),{dialogProps:y,titleProps:Z}=u.useDialog(k,g),$=n.combineEventHandlers(w.onFocus,y.onFocus,d),ee=n.combineEventHandlers(w.onBlur,y.onBlur,t),{t:se}=D.useWoodlandLanguage(),oe=n.useChildTestIdAttrBuilder({"data-testid":s}),[O,ae]=n.selectChildren(e,[{type:m}]),S=_.useCallback(()=>{p&&typeof p=="function"&&p(),l.close()},[p,l.close]),_e=n.modChildren(ae,V=>V.type===F?[{className:n.cl(V.props.classname,A)}]:[]);return _.createElement(u.Overlay,null,_.createElement("div",{className:G,"data-react-aria-top-layer":"true",...Y,...k},_.createElement("div",{...w,...y,...c,onFocus:$,onBlur:ee,...oe("dialog"),ref:g,className:n.cl(z({kind:a,size:i,fullHeight:X}),o)},_.createElement("div",{...Z,className:H({kind:a})},a&&_.createElement(n.Icon,{icon:f[a]||f.informational,className:K}),_.createElement("div",{className:W},n.contentOf(h,l.close)),_.createElement(F,{dismissableValue:N,handleClose:S})),_.createElement("div",{className:x},n.contentOf(_e,l.close)),O&&O.length>0?_.createElement(_.Fragment,null,n.contentOf(O,l.close)):_.createElement("div",{className:C},_.createElement(b.Button,{kind:"key",onClick:S},se("modal.defaultButtonLabel",{defaultValue:"Okay"}))))))}function B(e){return e.state.isOpen?_.createElement(J,{...e},e.children):_.createElement(_.Fragment,null)}n.Metadata.set(B,{name:"Modal",props:{dismissable:{type:"boolean",default:"true"},fullHeight:{type:"boolean",default:"false"},kind:{type:"ModalKind",default:"informational"},onBlur:{type:"() => void"},onClose:{type:"() => void"},onFocus:{type:"() => void"},size:{type:"ModalSize",default:"sm"},title:{type:"string"}}});function Q(e={}){const o=I.useOverlayTriggerState(e),s=P.useRef(null),{triggerProps:a,overlayProps:t}=u.useOverlayTrigger({type:"dialog"},o,s),{onPress:d,...c}=a;return{triggerProps:{...c,onClick:d?i=>d(i):void 0,ref:s},modalState:o,modalProps:{overlayProps:t,state:o}}}r.Modal=B,r.ModalFooter=m,r.ModalIcons=f,r.useModal=Q,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,20 @@
1
+ import { Tokens } from "@sps-woodland/tokens";
2
+ import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
3
+ export type ModalKind = keyof (typeof Tokens.component)["modal"]["kind"];
4
+ export type ModalSize = keyof (typeof Tokens.component)["modal"]["size"];
5
+ interface ModalVariantDefinitions extends VariantDefinitions {
6
+ kind: RecipeVariant<ModalKind>;
7
+ size: RecipeVariant<ModalSize>;
8
+ fullHeight: BooleanRecipeVariant;
9
+ }
10
+ export declare const modal: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<ModalVariantDefinitions>;
11
+ export declare const title: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ModalVariantDefinitions, "kind">>;
12
+ export declare const titleContent: string;
13
+ export declare const modalIcon: string;
14
+ export declare const body: string;
15
+ export declare const footer: string;
16
+ export declare const closeButtonBox: string;
17
+ export declare const closeButtonIcon: string;
18
+ export declare const underlay: string;
19
+ export {};
20
+ //# sourceMappingURL=Modal.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.css.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/Modal.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAIlG,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AACzE,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,UAAU,uBAAwB,SAAQ,kBAAkB;IAC1D,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAC/B,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAC/B,UAAU,EAAE,oBAAoB,CAAC;CAClC;AAED,eAAO,MAAM,KAAK,gHA0DhB,CAAC;AAEH,eAAO,MAAM,KAAK,8HAiChB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC;AACH,eAAO,MAAM,SAAS,QAKpB,CAAC;AAEH,eAAO,MAAM,IAAI,QAIf,CAAC;AAEH,eAAO,MAAM,MAAM,QAMjB,CAAC;AAEH,eAAO,MAAM,cAAc,QAGzB,CAAC;AACH,eAAO,MAAM,eAAe,QAE1B,CAAC;AAEH,eAAO,MAAM,QAAQ,QAYnB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /* empty css */
2
+ import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
3
+ var e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem1", delete: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem2", failure: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem3", success: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem4", warning: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem6", form: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem8", md: "pkg_sps-woodland_core__version_8_51_1__hash_41ksem9", lg: "pkg_sps-woodland_core__version_8_51_1__hash_41ksema", xl: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemc", false: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), a = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemf", delete: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemg", failure: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemh", informational: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemi", success: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemj", warning: "pkg_sps-woodland_core__version_8_51_1__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__version_8_51_1__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemm", n = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemn", d = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemo", p = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemp", h = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemq", k = "pkg_sps-woodland_core__version_8_51_1__hash_41ksemr", l = "pkg_sps-woodland_core__version_8_51_1__hash_41ksems";
4
+ export {
5
+ d as body,
6
+ h as closeButtonBox,
7
+ k as closeButtonIcon,
8
+ p as footer,
9
+ e as modal,
10
+ n as modalIcon,
11
+ a as title,
12
+ r as titleContent,
13
+ l as underlay
14
+ };
@@ -0,0 +1,27 @@
1
+ import type { ComponentProps, ChildrenFn } from "@sps-woodland/core";
2
+ import type { IconName } from "@sps-woodland/tokens";
3
+ import type { AriaModalOverlayProps, AriaDialogProps, OverlayTriggerAria } from "react-aria";
4
+ import type { OverlayTriggerState } from "react-stately";
5
+ import * as React from "react";
6
+ import type { ModalKind, ModalSize } from "./Modal.css";
7
+ interface ModalPropsFromHook {
8
+ state: OverlayTriggerState;
9
+ overlayProps: OverlayTriggerAria["overlayProps"];
10
+ }
11
+ type ModalContentRenderFn = (close: OverlayTriggerState["close"]) => React.ReactNode;
12
+ type ModalProps = ModalPropsFromHook & AriaModalOverlayProps & AriaDialogProps & {
13
+ kind?: ModalKind;
14
+ size?: ModalSize;
15
+ title: React.ReactNode | ModalContentRenderFn;
16
+ footer?: React.ReactNode | ModalContentRenderFn;
17
+ dismissible?: boolean;
18
+ dismissable?: boolean;
19
+ onClose?: () => void;
20
+ focusElementOnOpen?: React.MutableRefObject<HTMLElement>;
21
+ fullHeight?: boolean;
22
+ };
23
+ export declare const ModalIcons: Record<ModalKind, IconName>;
24
+ declare function ModalInternal({ children, className, "data-testid": dataTestId, kind, onBlur, onFocus, overlayProps, size, state, title, dismissible, dismissable, onClose, fullHeight, ...rest }: ComponentProps<ModalProps, HTMLDivElement> & ChildrenFn<ModalContentRenderFn>): React.ReactElement;
25
+ export declare function Modal(props: Parameters<typeof ModalInternal>[0]): React.ReactElement;
26
+ export {};
27
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAarD,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;CAClD;AACD,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAErF,KAAK,UAAU,GAAG,kBAAkB,GACpC,qBAAqB,GACrB,eAAe,GAAG;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kBAAkB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAoBF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,CAQjD,CAAC;AAEH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,IAAsB,EACtB,MAAM,EACN,OAAO,EACP,YAAY,EACZ,IAAW,EACX,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAkB,EAClB,OAAO,EACP,UAAkB,EAClB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,GAC7C,UAAU,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,YAAY,CA4EpD;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAEpF"}
@@ -0,0 +1,113 @@
1
+ import { Metadata as L, combineEventHandlers as y, useChildTestIdAttrBuilder as V, selectChildren as W, modChildren as j, cl as E, Icon as A, contentOf as m } from "@sps-woodland/core";
2
+ import { Button as v } from "@sps-woodland/core/button";
3
+ import { useModalOverlay as S, useDialog as T, Overlay as $ } from "react-aria";
4
+ import * as e from "react";
5
+ import { ModalFooter as q } from "../modal-footer/ModalFooter.js";
6
+ import { closeButtonIcon as G, underlay as J, modal as Q, title as U, modalIcon as X, titleContent as Y, body as Z, footer as _, closeButtonBox as ee } from "./Modal.css.js";
7
+ import { useWoodlandLanguage as te } from "@spscommerce/i18n";
8
+ function b({
9
+ dismissableValue: t,
10
+ handleClose: n
11
+ }) {
12
+ return t ? /* @__PURE__ */ e.createElement(
13
+ v,
14
+ {
15
+ "aria-label": "Close",
16
+ onClick: n,
17
+ kind: "icon",
18
+ icon: "x",
19
+ className: ee
20
+ }
21
+ ) : null;
22
+ }
23
+ const g = Object.freeze({
24
+ form: "pencil",
25
+ delete: "trash",
26
+ failure: "status-error",
27
+ informational: "info-circle",
28
+ success: "status-ok",
29
+ successWithFailures: "status-warning",
30
+ warning: "status-warning"
31
+ });
32
+ function oe({
33
+ children: t,
34
+ className: n,
35
+ "data-testid": B,
36
+ kind: l = "informational",
37
+ onBlur: h,
38
+ onFocus: C,
39
+ overlayProps: F,
40
+ size: M = "sm",
41
+ state: o,
42
+ title: N,
43
+ dismissible: I,
44
+ dismissable: k = !0,
45
+ onClose: a,
46
+ fullHeight: O = !1,
47
+ ...s
48
+ }) {
49
+ const u = I ?? k, r = e.useRef(null), { modalProps: c, underlayProps: P } = S(
50
+ {
51
+ isKeyboardDismissDisabled: !u,
52
+ ...s
53
+ },
54
+ o,
55
+ r
56
+ ), { dialogProps: i, titleProps: w } = T(s, r), x = y(c.onFocus, i.onFocus, C), z = y(c.onBlur, i.onBlur, h), { t: D } = te(), R = V({ "data-testid": B }), [d, H] = W(
57
+ t,
58
+ [{ type: q }]
59
+ ), f = e.useCallback(() => {
60
+ a && typeof a == "function" && a(), o.close();
61
+ }, [a, o.close]), K = j(H, (p) => p.type === b ? [{ className: E(p.props.classname, G) }] : []);
62
+ return /* @__PURE__ */ e.createElement($, null, /* @__PURE__ */ e.createElement(
63
+ "div",
64
+ {
65
+ className: J,
66
+ "data-react-aria-top-layer": "true",
67
+ ...P,
68
+ ...s
69
+ },
70
+ /* @__PURE__ */ e.createElement(
71
+ "div",
72
+ {
73
+ ...c,
74
+ ...i,
75
+ ...F,
76
+ onFocus: x,
77
+ onBlur: z,
78
+ ...R("dialog"),
79
+ ref: r,
80
+ className: E(Q({ kind: l, size: M, fullHeight: O }), n)
81
+ },
82
+ /* @__PURE__ */ e.createElement("div", { ...w, className: U({ kind: l }) }, l && /* @__PURE__ */ e.createElement(
83
+ A,
84
+ {
85
+ icon: g[l] || g.informational,
86
+ className: X
87
+ }
88
+ ), /* @__PURE__ */ e.createElement("div", { className: Y }, m(N, o.close)), /* @__PURE__ */ e.createElement(b, { dismissableValue: u, handleClose: f })),
89
+ /* @__PURE__ */ e.createElement("div", { className: Z }, m(K, o.close)),
90
+ d && d.length > 0 ? /* @__PURE__ */ e.createElement(e.Fragment, null, m(d, o.close)) : /* @__PURE__ */ e.createElement("div", { className: _ }, /* @__PURE__ */ e.createElement(v, { kind: "key", onClick: f }, D("modal.defaultButtonLabel", { defaultValue: "Okay" })))
91
+ )
92
+ ));
93
+ }
94
+ function le(t) {
95
+ return t.state.isOpen ? /* @__PURE__ */ e.createElement(oe, { ...t }, t.children) : /* @__PURE__ */ e.createElement(e.Fragment, null);
96
+ }
97
+ L.set(le, {
98
+ name: "Modal",
99
+ props: {
100
+ dismissable: { type: "boolean", default: "true" },
101
+ fullHeight: { type: "boolean", default: "false" },
102
+ kind: { type: "ModalKind", default: "informational" },
103
+ onBlur: { type: "() => void" },
104
+ onClose: { type: "() => void" },
105
+ onFocus: { type: "() => void" },
106
+ size: { type: "ModalSize", default: "sm" },
107
+ title: { type: "string" }
108
+ }
109
+ });
110
+ export {
111
+ le as Modal,
112
+ g as ModalIcons
113
+ };
@@ -0,0 +1,17 @@
1
+ import type { AriaButtonProps, OverlayTriggerAria } from "react-aria";
2
+ import type { OverlayTriggerState, OverlayTriggerProps } from "react-stately";
3
+ import type { MutableRefObject } from "react";
4
+ interface ModalPropsAndState {
5
+ triggerProps: Omit<AriaButtonProps, "onPress"> & {
6
+ onClick: ((e?: any) => void) | undefined;
7
+ ref: MutableRefObject<HTMLElement | null>;
8
+ };
9
+ modalState: OverlayTriggerState;
10
+ modalProps: {
11
+ state: OverlayTriggerState;
12
+ overlayProps: OverlayTriggerAria["overlayProps"];
13
+ };
14
+ }
15
+ export declare function useModal(config?: OverlayTriggerProps): ModalPropsAndState;
16
+ export {};
17
+ //# sourceMappingURL=useModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/useModal.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE9C,UAAU,kBAAkB;IAC1B,YAAY,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;QAC/C,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;QACzC,GAAG,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;KAC3C,CAAC;IACF,UAAU,EAAE,mBAAmB,CAAC;IAChC,UAAU,EAAE;QACV,KAAK,EAAE,mBAAmB,CAAC;QAC3B,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;KAClD,CAAC;CACH;AAED,wBAAgB,QAAQ,CACtB,MAAM,GAAE,mBAAwB,GAC/B,kBAAkB,CAwBpB"}
@@ -0,0 +1,26 @@
1
+ import { useOverlayTrigger as l } from "react-aria";
2
+ import { useOverlayTriggerState as n } from "react-stately";
3
+ import { useRef as p } from "react";
4
+ function f(t = {}) {
5
+ const r = n(t), o = p(null), { triggerProps: s, overlayProps: i } = l(
6
+ { type: "dialog" },
7
+ r,
8
+ o
9
+ ), {
10
+ onPress: e,
11
+ ...g
12
+ } = s;
13
+ return {
14
+ triggerProps: {
15
+ ...g,
16
+ // Forward event to onPress (types differ but handler doesn't inspect event)
17
+ onClick: e ? (a) => e(a) : void 0,
18
+ ref: o
19
+ },
20
+ modalState: r,
21
+ modalProps: { overlayProps: i, state: r }
22
+ };
23
+ }
24
+ export {
25
+ f as useModal
26
+ };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import type { ComponentProps } from "@sps-woodland/core";
3
+ export declare function ModalFooter({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
4
+ //# sourceMappingURL=ModalFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../src/modal/modal-footer/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
@@ -0,0 +1,14 @@
1
+ import * as r from "react";
2
+ import { Metadata as a, cl as m } from "@sps-woodland/core";
3
+ import { footer as c } from "../modal/Modal.css.js";
4
+ function f({
5
+ children: o,
6
+ className: t = "",
7
+ ...e
8
+ }) {
9
+ return /* @__PURE__ */ r.createElement("div", { className: m(c, t), ...e }, o);
10
+ }
11
+ a.set(f, { name: "ModalFooter" });
12
+ export {
13
+ f as ModalFooter
14
+ };
@@ -0,0 +1 @@
1
+ .pkg_sps-woodland_core__version_8_51_1__hash_41ksem0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;display:flex;flex-direction:column;overflow:hidden;max-height:100%}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem1{border-color:#007db8}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem2,.pkg_sps-woodland_core__version_8_51_1__hash_41ksem3{border-color:#de002e}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem4{border-color:#0b8940}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem5,.pkg_sps-woodland_core__version_8_51_1__hash_41ksem6{border-color:#e7760b}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem7{border-color:#4b5356}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem8{width:23.75rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksem9{width:36.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksema{width:48.75rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemb{width:73.75rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemc{height:100%}.pkg_sps-woodland_core__version_8_51_1__hash_41kseme{align-items:center;color:#fff;display:flex;padding:1rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemf{background-color:#4b5356}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemg,.pkg_sps-woodland_core__version_8_51_1__hash_41ksemh{background-color:#de002e}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemi{background-color:#007db8}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemj{background-color:#0b8940}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemk,.pkg_sps-woodland_core__version_8_51_1__hash_41kseml{background-color:#e7760b}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemm{flex-grow:1;font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemn{font-weight:600;line-height:.875rem;font-size:.875rem;margin-right:.5rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemo{overflow-y:auto;padding:1rem;flex:1}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemp{align-items:center;background-color:#f3f4f4;display:flex;justify-content:flex-end;padding:.5rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemq{color:#fff;border-width:0}.pkg_sps-woodland_core__version_8_51_1__hash_41ksemr{padding:0 .25rem}.pkg_sps-woodland_core__version_8_51_1__hash_41ksems{position:fixed;z-index:1000;inset:0;background:#f3f4f4cc;display:flex;align-items:start;justify-content:center;padding:4rem 1rem 1rem}.z-stratum-dropdown{z-index:1100}
@@ -0,0 +1,57 @@
1
+ function s(r, n, e) {
2
+ return n in r ? Object.defineProperty(r, n, {
3
+ value: e,
4
+ enumerable: !0,
5
+ configurable: !0,
6
+ writable: !0
7
+ }) : r[n] = e, r;
8
+ }
9
+ function O(r, n) {
10
+ var e = Object.keys(r);
11
+ if (Object.getOwnPropertySymbols) {
12
+ var t = Object.getOwnPropertySymbols(r);
13
+ n && (t = t.filter(function(u) {
14
+ return Object.getOwnPropertyDescriptor(r, u).enumerable;
15
+ })), e.push.apply(e, t);
16
+ }
17
+ return e;
18
+ }
19
+ function o(r) {
20
+ for (var n = 1; n < arguments.length; n++) {
21
+ var e = arguments[n] != null ? arguments[n] : {};
22
+ n % 2 ? O(Object(e), !0).forEach(function(t) {
23
+ s(r, t, e[t]);
24
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : O(Object(e)).forEach(function(t) {
25
+ Object.defineProperty(r, t, Object.getOwnPropertyDescriptor(e, t));
26
+ });
27
+ }
28
+ return r;
29
+ }
30
+ var v = (r, n, e) => {
31
+ for (var t of Object.keys(r)) {
32
+ var u;
33
+ if (r[t] !== ((u = n[t]) !== null && u !== void 0 ? u : e[t]))
34
+ return !1;
35
+ }
36
+ return !0;
37
+ }, d = (r) => (n) => {
38
+ var e = r.defaultClassName, t = o(o({}, r.defaultVariants), n);
39
+ for (var u in t) {
40
+ var f, p = (f = t[u]) !== null && f !== void 0 ? f : r.defaultVariants[u];
41
+ if (p != null) {
42
+ var a = p;
43
+ typeof a == "boolean" && (a = a === !0 ? "true" : "false");
44
+ var l = (
45
+ // @ts-expect-error
46
+ r.variantClassNames[u][a]
47
+ );
48
+ l && (e += " " + l);
49
+ }
50
+ }
51
+ for (var [i, b] of r.compoundVariants)
52
+ v(i, t, r.defaultVariants) && (e += " " + b);
53
+ return e;
54
+ };
55
+ export {
56
+ d as createRuntimeFn
57
+ };
@@ -0,0 +1,11 @@
1
+ import { urlAlphabet as l } from "./url-alphabet/index.js";
2
+ let o = (t = 21) => {
3
+ let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
+ for (; t--; )
5
+ e += l[r[t] & 63];
6
+ return e;
7
+ };
8
+ export {
9
+ o as nanoid,
10
+ l as urlAlphabet
11
+ };
@@ -0,0 +1,4 @@
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
+ export {
3
+ t as urlAlphabet
4
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./page-title/PageTitle";
2
+ export * from "./page-subtitle/PageSubtitle";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/page-title/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}