@sps-woodland/core 8.53.4 → 8.53.6

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.d.ts +9 -0
  4. package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -0
  5. package/lib/action-bar/action-bar/ActionBar.js +61 -0
  6. package/lib/action-bar/action-bar/ActionBar.ve.js +12 -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.d.ts +31 -0
  18. package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -0
  19. package/lib/add-to-list/add-to-list/AddToList.js +284 -0
  20. package/lib/add-to-list/add-to-list/AddToList.ve.js +25 -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.d.ts +19 -0
  35. package/lib/buttons/button/Button.d.ts.map +1 -0
  36. package/lib/buttons/button/Button.js +116 -0
  37. package/lib/buttons/button/Button.ve.js +10 -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.d.ts +4 -0
  46. package/lib/cards/card/Card.d.ts.map +1 -0
  47. package/lib/cards/card/Card.js +28 -0
  48. package/lib/cards/card/Card.ve.js +5 -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.d.ts +4 -0
  52. package/lib/cards/card-footer/CardFooter.d.ts.map +1 -0
  53. package/lib/cards/card-footer/CardFooter.js +14 -0
  54. package/lib/cards/card-footer/CardFooter.ve.js +5 -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.d.ts +4 -0
  58. package/lib/cards/card-header/CardHeader.d.ts.map +1 -0
  59. package/lib/cards/card-header/CardHeader.js +14 -0
  60. package/lib/cards/card-header/CardHeader.ve.js +5 -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.d.ts +4 -0
  64. package/lib/cards/card-title/CardTitle.d.ts.map +1 -0
  65. package/lib/cards/card-title/CardTitle.js +14 -0
  66. package/lib/cards/card-title/CardTitle.ve.js +5 -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.d.ts +27 -0
  126. package/lib/content-row/content-row/ContentRow.d.ts.map +1 -0
  127. package/lib/content-row/content-row/ContentRow.js +175 -0
  128. package/lib/content-row/content-row/ContentRow.ve.js +19 -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.d.ts +11 -0
  132. package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -0
  133. package/lib/content-row/content-row-col/ContentRowCol.js +50 -0
  134. package/lib/content-row/content-row-col/ContentRowCol.ve.js +8 -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.d.ts +6 -0
  145. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -0
  146. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +48 -0
  147. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +6 -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.d.ts +16 -0
  152. package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -0
  153. package/lib/content-tiles/content-tile/ContentTile.js +62 -0
  154. package/lib/content-tiles/content-tile/ContentTile.ve.js +15 -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.d.ts +3 -0
  158. package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -0
  159. package/lib/content-tiles/content-tile-list/ContentTileList.js +14 -0
  160. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +6 -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.d.ts +16 -0
  170. package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -0
  171. package/lib/dropdowns/dropdown/Dropdown.js +70 -0
  172. package/lib/dropdowns/dropdown/Dropdown.ve.js +9 -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.d.ts +5 -0
  180. package/lib/dropdowns/option-list/Option.d.ts.map +1 -0
  181. package/lib/dropdowns/option-list/Option.js +22 -0
  182. package/lib/dropdowns/option-list/Option.ve.js +6 -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.d.ts +11 -0
  186. package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -0
  187. package/lib/dropdowns/option-list/OptionList.js +46 -0
  188. package/lib/dropdowns/option-list/OptionList.ve.js +6 -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.d.ts +10 -0
  202. package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -0
  203. package/lib/feedback-block/FeedbackBlock.js +38 -0
  204. package/lib/feedback-block/FeedbackBlock.ve.js +8 -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.d.ts +20 -0
  213. package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
  214. package/lib/file-upload/file-upload/FileUpload.js +200 -0
  215. package/lib/file-upload/file-upload/FileUpload.ve.js +19 -0
  216. package/lib/file-upload/file-upload/mime-type.enum.d.ts +99 -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 +107 -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 +356 -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.d.ts +9 -0
  227. package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -0
  228. package/lib/filter-tiles/filter-tile/FilterTile.js +35 -0
  229. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +10 -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.d.ts +4 -0
  233. package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -0
  234. package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +16 -0
  235. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +5 -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.d.ts +17 -0
  244. package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -0
  245. package/lib/focused-task/focused-task/FocusedTask.js +77 -0
  246. package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -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.d.ts +23 -0
  261. package/lib/growler/Growler.d.ts.map +1 -0
  262. package/lib/growler/Growler.js +93 -0
  263. package/lib/growler/Growler.ve.js +13 -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.ve.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 +38 -36
  281. package/lib/index.umd.cjs +4 -4
  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.d.ts +15 -0
  285. package/lib/insight-card/InsightCard.d.ts.map +1 -0
  286. package/lib/insight-card/InsightCard.js +69 -0
  287. package/lib/insight-card/InsightCard.ve.js +14 -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.d.ts +6 -0
  303. package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -0
  304. package/lib/key-value-set/key-value-set/KeyValueSet.js +23 -0
  305. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +6 -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.d.ts +7 -0
  309. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -0
  310. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +23 -0
  311. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +8 -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.d.ts +16 -0
  316. package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -0
  317. package/lib/list-bar/advanced-search/AdvancedSearch.js +56 -0
  318. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +9 -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.d.ts +20 -0
  329. package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -0
  330. package/lib/list-bar/list-bar/ListBar.js +123 -0
  331. package/lib/list-bar/list-bar/ListBar.ve.js +18 -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.d.ts +11 -0
  344. package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -0
  345. package/lib/list-bar/search-results-bar/SearchResultsBar.js +30 -0
  346. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +14 -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.d.ts +6 -0
  357. package/lib/matrix/matrix/Matrix.d.ts.map +1 -0
  358. package/lib/matrix/matrix/Matrix.js +28 -0
  359. package/lib/matrix/matrix/Matrix.ve.js +8 -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.d.ts +27 -0
  385. package/lib/modal/modal/Modal.d.ts.map +1 -0
  386. package/lib/modal/modal/Modal.js +113 -0
  387. package/lib/modal/modal/Modal.ve.js +14 -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.d.ts +4 -0
  405. package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -0
  406. package/lib/page-title/page-subtitle/PageSubtitle.js +19 -0
  407. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +6 -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.d.ts +4 -0
  411. package/lib/page-title/page-title/PageTitle.d.ts.map +1 -0
  412. package/lib/page-title/page-title/PageTitle.js +17 -0
  413. package/lib/page-title/page-title/PageTitle.ve.js +7 -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.d.ts +11 -0
  422. package/lib/photo/photo/Photo.d.ts.map +1 -0
  423. package/lib/photo/photo/Photo.js +83 -0
  424. package/lib/photo/photo/Photo.ve.js +8 -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.d.ts +4 -0
  428. package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -0
  429. package/lib/photo/photo-carousel/PhotoCarousel.js +48 -0
  430. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +10 -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.d.ts +14 -0
  442. package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -0
  443. package/lib/product-bar/product-bar/ProductBar.js +107 -0
  444. package/lib/product-bar/product-bar/ProductBar.ve.js +15 -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.d.ts +13 -0
  451. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +1 -0
  452. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +71 -0
  453. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +9 -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.d.ts +6 -0
  460. package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -0
  461. package/lib/product-bar/slack-link/SlackLink.js +32 -0
  462. package/lib/product-bar/slack-link/SlackLink.ve.js +6 -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.d.ts +8 -0
  471. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -0
  472. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +62 -0
  473. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +24 -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.d.ts +13 -0
  491. package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -0
  492. package/lib/progress-indicators/progress-bar/ProgressBar.js +112 -0
  493. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +14 -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.d.ts +14 -0
  497. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -0
  498. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +56 -0
  499. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +9 -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.d.ts +11 -0
  514. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +1 -0
  515. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +38 -0
  516. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +7 -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.d.ts +8 -0
  520. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -0
  521. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +81 -0
  522. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +9 -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.d.ts +6 -0
  563. package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -0
  564. package/lib/scrollable-container/ScrollableContainer.js +29 -0
  565. package/lib/scrollable-container/ScrollableContainer.ve.js +5 -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.d.ts +9 -0
  578. package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -0
  579. package/lib/side-nav/side-nav/SideNav.js +62 -0
  580. package/lib/side-nav/side-nav/SideNav.ve.js +17 -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.ve.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.d.ts +9 -0
  604. package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -0
  605. package/lib/sorting-header/sorting-header/SortingHeader.js +126 -0
  606. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +7 -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.d.ts +12 -0
  610. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -0
  611. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +77 -0
  612. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +6 -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.d.ts +10 -0
  623. package/lib/tabs/tab/Tab.d.ts.map +1 -0
  624. package/lib/tabs/tab/Tab.js +28 -0
  625. package/lib/tabs/tab/Tab.ve.js +7 -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.d.ts +6 -0
  632. package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
  633. package/lib/tabs/tabs/Tabs.js +113 -0
  634. package/lib/tabs/tabs/Tabs.ve.js +11 -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.d.ts +13 -0
  638. package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -0
  639. package/lib/tags/clickable-tag/ClickableTag.js +72 -0
  640. package/lib/tags/clickable-tag/ClickableTag.ve.js +10 -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.d.ts +14 -0
  648. package/lib/tags/split-tag/SplitTag.d.ts.map +1 -0
  649. package/lib/tags/split-tag/SplitTag.js +32 -0
  650. package/lib/tags/split-tag/SplitTag.ve.js +10 -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.d.ts +11 -0
  655. package/lib/tags/tag/Tag.d.ts.map +1 -0
  656. package/lib/tags/tag/Tag.js +41 -0
  657. package/lib/tags/tag/Tag.ve.js +7 -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.d.ts +12 -0
  697. package/lib/zero-state/ZeroState.d.ts.map +1 -0
  698. package/lib/zero-state/ZeroState.js +31 -0
  699. package/lib/zero-state/ZeroState.ve.js +12 -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 +5 -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 +261 -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 @@
1
+ (function(l,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react"),require("react-aria"),require("@spscommerce/ds-react"),require("@spscommerce/ds-shared"),require("@sps-woodland/illustrations"),require("@sps-woodland/core"),require("@sps-woodland/core/zero-state"),require("@sps-woodland/core/card"),require("@sps-woodland/tokens"),require("@sps-woodland/core/tag"),require("@sps-woodland/core/scrollable-container"),require("@sps-woodland/core/feedback-block"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","react-aria","@spscommerce/ds-react","@spscommerce/ds-shared","@sps-woodland/illustrations","@sps-woodland/core","@sps-woodland/core/zero-state","@sps-woodland/core/card","@sps-woodland/tokens","@sps-woodland/core/tag","@sps-woodland/core/scrollable-container","@sps-woodland/core/feedback-block","@spscommerce/i18n"],I):(l=typeof globalThis<"u"?globalThis:l||self,I(l.AddToList={},l.React,l.reactAria,l.dsReact,l.dsShared,l.illustrations,l.core,l.zeroState,l.card,l.tokens,l.tag,l.scrollableContainer,l.feedbackBlock,l.i18n))})(this,(function(l,I,Z,N,g,te,h,ae,se,oe,he,ge,ve,K){"use strict";function be(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return r.default=t,Object.freeze(r)}const e=be(I),we="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ke=(t=21)=>{let r="",a=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)r+=we[a[t]&63];return r};function xe(t,r,a){return r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function re(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(t,d).enumerable})),a.push.apply(a,o)}return a}function ne(t){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?re(Object(a),!0).forEach(function(o){xe(t,o,a[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):re(Object(a)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(a,o))})}return t}var Ce=(t,r,a)=>{for(var o of Object.keys(t)){var d;if(t[o]!==((d=r[o])!==null&&d!==void 0?d:a[o]))return!1}return!0},C=t=>r=>{var a=t.defaultClassName,o=ne(ne({},t.defaultVariants),r);for(var d in o){var v,b=(v=o[d])!==null&&v!==void 0?v:t.defaultVariants[d];if(b!=null){var w=b;typeof w=="boolean"&&(w=w===!0?"true":"false");var n=t.variantClassNames[d][w];n&&(a+=" "+n)}}for(var[T,y]of t.compoundVariants)Ce(T,o,t.defaultVariants)&&(a+=" "+y);return a},Le=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx90",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx91",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx92"}},defaultVariants:{},compoundVariants:[]}),Ee=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx93",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx94",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx95"}},defaultVariants:{},compoundVariants:[]}),le="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx96",Ne=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx97",variantClassNames:{isLeftSide:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx98",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx99"},isRightSide:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9a",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9b"},adjustForPhantomDroppableContainer:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9c",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9d"}},defaultVariants:{},compoundVariants:[]}),Te=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9e",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9f",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9g"}},defaultVariants:{},compoundVariants:[]}),ye=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9h",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9i",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9j"}},defaultVariants:{},compoundVariants:[]}),ie="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9k",Oe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9l",Se="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9m",De=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9n",variantClassNames:{isDragging:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9o",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9p"}},defaultVariants:{},compoundVariants:[]}),Ie="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9q",_e=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9r",variantClassNames:{isDropTarget:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9s",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9t"}},defaultVariants:{},compoundVariants:[]}),Ve=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9u",variantClassNames:{isDropTarget:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9v",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9w"}},defaultVariants:{},compoundVariants:[]}),U="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9x",Me="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9y",Pe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9z",qe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx910",Ae="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx911",Fe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx912",je="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx913";function de({headerText:t,showCount:r,showIcons:a,showMoveAllLinks:o,showMoreOptionsText:d,disableMoveAllLinks:v,maxHeight:b,children:w,side:n,itemCount:T,otherHeader:y,className:z,vertical:L,moveAll:O,adjustForPhantomDroppableContainer:V,"data-testid":E}){const M=h.useChildTestIdAttrBuilder({"data-testid":E}),{t:k}=K.useWoodlandLanguage(),m=k(n==="left"?"addToList.onColumnHeader":"addToList.offColumnHeader"),S=n==="left"?"eye":"eye-slash",$=k(n==="left"?"addToList.offColumnHeader":"addToList.onColumnHeader"),G=k("addToList.moveAllItemsToCol",{columnName:y||$}),p=L?e.createElement(e.Fragment,null):e.createElement("div",{className:Ne({isLeftSide:n==="left",isRightSide:n==="right",adjustForPhantomDroppableContainer:!!V&&n==="left"})});function J(){O&&typeof O=="function"&&O(n)}return e.createElement("div",{className:h.cl(ye({vertical:L}),z),"data-testid":E},e.createElement("div",{className:Me,...M("column-header")},a&&e.createElement(h.Icon,{icon:S,className:Pe}),t||m,r&&e.createElement(he.Tag,{kind:"key",className:qe},T)),b?e.createElement("div",{className:le},p,e.createElement(ge.ScrollableContainer,{maxHeight:b},w)):e.createElement("div",{className:le},p,w),o&&T>0&&e.createElement(N.SpsButton,{className:V&&n==="right"?je:void 0,kind:g.ButtonKind.LINK,onClick:J,disabled:v,...M("move-all-button")},G),d&&T>0&&e.createElement(ve.FeedbackBlock,{kind:"info",micro:!0},k("addToList.moreOptionsAvailable",{defaultValue:"More options available. Use the search field to filter results."})))}function W({className:t,children:r,filtering:a,manualSorting:o,id:d,"data-testid":v}){const{t:b}=K.useWoodlandLanguage();return e.createElement(e.Fragment,null,e.createElement("div",{role:"listitem",className:h.cl(t,_e({isDropTarget:!1}),Se,"listitem-component"),"data-testid":v},o&&a&&e.createElement("i",{className:Oe,id:`list-item-${d}-drag-handle`}),r),o&&a&&e.createElement(N.SpsTooltip,{for:`list-item-${d}-drag-handle`,position:g.Position.TOP_LEFT,showOn:g.TooltipShowTrigger.CLICK},b("addToList.disabledDragTooltip",{defaultValue:"Drag and drop are disabled when filters are engaged"})))}h.Metadata.set(W,{name:"ListItem"});function ce({onList:t,offList:r,onHeader:a,offHeader:o,showFilter:d,showCount:v,showIcons:b,showMoveAllLinks:w,manualSort:n,maxDisplayedItems:T,maxHeightPx:y,maxHeightRem:z,onChange:L,onListZeroState:O,offListZeroState:V,vertical:E=!1,onListAlphaSort:M=!0,"data-testid":k}){const m=h.useChildTestIdAttrBuilder({"data-testid":k}),{t:S}=K.useWoodlandLanguage(),{formValue:$,formMeta:G}=N.useSpsForm({filterString:""}),[p,J]=e.useState(""),X=y?y/16:z,pe=X?`${X}rem`:"",P=e.useCallback((s,i)=>(!n&&M||i==="right"?[...s].sort((u,c)=>u.label.localeCompare(c.label)):s).map(u=>{const c={...u};return c.id||(c.id=ke()),c}),[n,M]),_=e.useMemo(()=>P(t,"left"),[t,P]),f=e.useMemo(()=>P(r,"right"),[r,P]),q=e.useCallback(s=>p?s.label.toLowerCase().includes(p.toLowerCase()):!0,[p]),Q=(s,i,x)=>{const u=x.find(c=>c.label===s);u?i===_?L({onList:[..._,u],offList:f.filter(c=>c.label!==u.label)}):x===_&&L({onList:_.filter(c=>c.label!==u.label),offList:[...f,u]}):console.error("could not remove item")};function Be(s){J(s.target.value)}function ue(s){L(s==="left"?{onList:_.filter(i=>i.required),offList:[...f,..._.filter(i=>!i.required)]}:{onList:[..._,...f],offList:[]})}const me=e.useCallback(s=>{const{className:i,index:x,...u}=s,c=e.useRef(null),{dropProps:F,isDropTarget:j}=Z.useDrop({ref:c,async onDrop(Y){let B=await Promise.all(Y.items.filter(H=>H.kind==="text"&&H.types.has("text/plain")).map(H=>H.getText("text/plain")));const{index:R}=JSON.parse(B[0]),ee=[..._],[Ue]=ee.splice(R,1),We=x>R?x-1:x;ee.splice(We,0,Ue),L({onList:ee,offList:f})}});return e.createElement("div",{ref:c,...n?F:[],role:"button",tabIndex:0,className:h.cl(i,s.isPhantomDroppableContainer?Ve({isDropTarget:j}):_e({isDropTarget:j})),...m("droppable-container"),...u},s.children)},[_,n]),Re=e.useCallback(s=>{const{label:i,data:x,listIndex:u,required:c}=s,F=e.useRef(null),j={...x,index:u},{dragProps:Y,dragButtonProps:B,isDragging:R}=Z.useDrag({preview:F,hasDragButton:!0,getItems(){return[{"text/plain":JSON.stringify(j)}]}});return e.createElement("div",{...n?Y:{},role:n?"button":"listitem",tabIndex:0,id:`${i}${u}-drag`,className:h.cl(De({isDragging:R})),...m("draggable-item")},e.createElement(me,{index:u},n&&e.createElement("i",{...B,className:ie}),i,!c&&e.createElement(N.SpsButton,{kind:g.ButtonKind.ICON,icon:g.SpsIcon.X,onClick:()=>{Q(i,f,_)},className:U,...m("move-item-button")})),e.createElement(Z.DragPreview,{ref:F},()=>e.createElement("div",{className:Ie},e.createElement("i",{...B,className:ie}),i)))},[_,n]),D=e.useMemo(()=>_.filter(q),[_,q]),A=e.useMemo(()=>f.filter(q).slice(0,T),[f,q]),He=!p&&!!w&&D.length>0,Ze=!p&&!!w&&A.length>0,Ke=!p&&f.length>A.length,fe=!!n&&!p&&D.length>0&&!X;return e.createElement("div",{"data-testid":k},d&&e.createElement("div",{className:oe.grid.root},e.createElement("div",{className:h.cl(oe.grid[12],Fe)},e.createElement(N.SpsTextInput,{value:$.filterString,formMeta:G.fields.filterString,icon:g.SpsIcon.FILTER,onChange:Be,...m("filter-input")}))),e.createElement("div",{className:h.cl(Le({vertical:E}))},e.createElement(de,{headerText:a,showCount:!p&&v,showIcons:b,showMoveAllLinks:He,disableMoveAllLinks:_.every(s=>s.required),maxHeight:pe,vertical:E,side:"left",className:Ee({vertical:E}),otherHeader:o,itemCount:_.length,moveAll:ue,adjustForPhantomDroppableContainer:fe,...m("on-items-list")},D.length>0?e.createElement(e.Fragment,null,n&&!p&&D.map((s,i)=>e.createElement(e.Fragment,{key:s.id},e.createElement(Re,{data:s,label:s.label,required:s.required,listIndex:i}),i===D.length-1&&e.createElement(me,{isPhantomDroppableContainer:!0,index:i+1}))),(!n||p)&&D.map(s=>e.createElement(W,{key:s.id,filtering:!!p,manualSorting:n,id:s.id,...m("item")},s.label,!s.required&&e.createElement(N.SpsButton,{kind:g.ButtonKind.ICON,icon:g.SpsIcon.X,onClick:()=>{Q(s.label,f,_)},className:U,...m("move-item-button")})))):e.createElement(se.Card,null,O?e.createElement(e.Fragment,null,O):e.createElement(ae.ZeroState,{heading:S("addToList.noDataZeroStateColumnTitle",{defaultValue:"This Column is Empty"}),subHeading:S("addToList.noDataZeroStateOnColumnSubheading",{columnName:o,defaultValue:`Move options from the ${o}`}),artwork:te.DOCUMENT_SEARCH_NO_RESULTS_LARGE,micro:!0,...m("on-list-zero-state")}))),e.createElement(de,{headerText:o,showCount:!p&&v,showIcons:b,showMoveAllLinks:Ze,showMoreOptionsText:Ke,maxHeight:pe,vertical:E,side:"right",className:Te({vertical:E}),otherHeader:a,itemCount:f.length,moveAll:ue,adjustForPhantomDroppableContainer:fe,...m("off-items-list")},A.length>0?A.map(s=>e.createElement(W,{key:s.id,className:Ae,...m("item")},s.label,e.createElement(N.SpsButton,{kind:g.ButtonKind.ICON,icon:g.SpsIcon.PLUS_SIGN,onClick:()=>{Q(s.label,_,f)},className:U,...m("move-item-button")}))):e.createElement(se.Card,null,V?e.createElement(e.Fragment,null,V):e.createElement(ae.ZeroState,{heading:S("addToList.noDataZeroStateColumnTitle",{defaultValue:"This Column is Empty"}),subHeading:S("addToList.noDataZeroStateOffColumnSubheading",{columnName:a,defaultValue:`Remove options from the ${a}`}),artwork:te.DOCUMENT_SEARCH_NO_RESULTS_SMALL,micro:!0,...m("off-list-zero-state")})))))}h.Metadata.set(ce,{name:"Add To List",props:{onList:{type:"ItemProps[]",required:!0},offList:{type:"ItemProps[]",required:!0},onHeader:{type:"string"},offHeader:{type:"string"},showFilter:{type:"boolean"},showCount:{type:"boolean"},showIcons:{type:"boolean"},showMoveAllLinks:{type:"boolean"},manualSort:{type:"boolean"},maxDisplayedItems:{type:"number"},maxHeight:{type:"string"},onChange:{type:"(newValue: AddToListAggregateValue) => void"},autoSort:{type:"boolean"},onListZeroState:{type:"ZeroState"},offListZeroState:{type:"ZeroState"}}}),l.AddToList=ce,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1 @@
1
+ .pkg_sps-woodland_core__version_8_53_6__hash_13b8tx90{display:flex;flex-direction:row;align-content:space-between}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx91{flex-direction:column}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx93{margin-right:1rem;position:relative}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx94{margin-right:0;margin-bottom:1.375rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx96{position:relative}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx97{width:.0625rem;background-color:#d2d4d4;height:100%;position:absolute;top:0}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx98{left:calc(100% + 1rem)}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9a{left:-1rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9c{height:calc(100% - 1.5625rem)}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9e{margin-left:1rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9f{margin-left:0}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9h{flex-shrink:0;align-self:stretch;width:calc(50% - 1rem)}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9i{width:100%}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9k{display:block;width:.375rem;height:1.125rem;background:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgOCAxOCIgd2lkdGg9IjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE2IDcwODFoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem01LTE1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3oiIGZpbGw9IiNhNWE5YWIiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE2IC03MDgxKSIvPjwvc3ZnPg==) no-repeat left center;padding:0 1rem 0 0;line-height:1.125rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9l{display:block;opacity:.25;width:.375rem;height:1.125rem;background:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgOCAxOCIgd2lkdGg9IjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE2IDcwODFoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem01LTE1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3oiIGZpbGw9IiNhNWE5YWIiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE2IC03MDgxKSIvPjwvc3ZnPg==) no-repeat left center;padding:0 1rem 0 0;line-height:1.125rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9m{border:#d2d4d4ff solid .0625rem;border-bottom:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9m:last-child{border-bottom:#d2d4d4ff solid .0625rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9n{position:relative;border:#d2d4d4ff solid .0625rem;border-bottom:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9o{background-color:#f3f4f4;color:#717779}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9q{display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;line-height:1.125rem;font-size:.75rem;border:#d2d4d4ff solid .0625rem;width:100%;min-width:17.75rem;padding:.75rem;background-color:#e6f2f8;flex:1}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9r{display:flex;flex-direction:row;justify-content:flex-start;position:relative;line-height:1.125rem;font-size:.75rem;width:100%;padding:.75rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9r:focus{background-color:#e6f2f8}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9s{box-shadow:inset 0 .25rem #007db8}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9u{position:relative;line-height:1.125rem;font-size:.75rem;width:100%;padding:.75rem;border-top:.0625rem solid #d2d4d4ff}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9u:focus{outline:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9v{box-shadow:inset 0 .25rem #007db8}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9x{position:absolute;right:.375rem;top:.375rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9y{font-size:.875rem;line-height:1.25rem;display:flex;align-items:center;justify-content:flex-start;font-weight:600;margin-bottom:.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9z{font-size:.875rem;line-height:1.25rem;margin-right:.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx910{margin-left:.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx911{position:relative;display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;line-height:1.125rem;font-size:.75rem;width:100%;padding:.75rem;border-bottom:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx911:last-child{border-bottom:#d2d4d4ff solid .0625rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx912{margin-bottom:1.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx913{margin-top:1.5625rem}
@@ -0,0 +1,15 @@
1
+ import { Tokens } from "@sps-woodland/tokens";
2
+ import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
3
+ export type ButtonKind = keyof typeof Tokens.component.button.kind;
4
+ interface ButtonVariantDefinitions extends VariantDefinitions {
5
+ kind: RecipeVariant<ButtonKind>;
6
+ disabled: BooleanRecipeVariant;
7
+ spinning: BooleanRecipeVariant;
8
+ }
9
+ export declare const button: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<ButtonVariantDefinitions>;
10
+ export declare const buttonElement: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<ButtonVariantDefinitions>;
11
+ export declare const linkButton: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ButtonVariantDefinitions, "kind" | "spinning">>;
12
+ export declare const buttonIcon: string;
13
+ export declare const buttonSpinner: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ButtonVariantDefinitions, "spinning">>;
14
+ export {};
15
+ //# sourceMappingURL=Button.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../src/buttons/button/Button.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,UAAU,GAAG,MAAM,OAAO,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;AAEnE,UAAU,wBAAyB,SAAQ,kBAAkB;IAC3D,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAChC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,eAAO,MAAM,MAAM,iHAiMjB,CAAC;AAEH,eAAO,MAAM,aAAa,iHA6DxB,CAAC;AAEH,eAAO,MAAM,UAAU,4IAuDrB,CAAC;AAIH,eAAO,MAAM,UAAU,QAMrB,CAAC;AAEH,eAAO,MAAM,aAAa,mIAuBxB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import type { PolymorphicComponentProps } from "@sps-woodland/core";
3
+ import type { IconName } from "@sps-woodland/tokens";
4
+ import type { AriaButtonProps } from "@react-aria/button";
5
+ import type { ButtonKind } from "./Button.css";
6
+ interface BaseButtonProps {
7
+ disabled?: boolean;
8
+ href?: string;
9
+ icon?: IconName;
10
+ kind?: ButtonKind;
11
+ spinning?: boolean;
12
+ spinningTitle?: string;
13
+ title?: string;
14
+ ref?: React.Ref<HTMLButtonElement | HTMLAnchorElement>;
15
+ }
16
+ type ButtonProps<T extends React.ElementType = "button" | "a"> = Partial<PolymorphicComponentProps<Partial<AriaButtonProps<"button">> & Partial<BaseButtonProps>, T>>;
17
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps<"button" | "a">>;
18
+ export { Button };
19
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/buttons/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;CACxD;AAED,KAAK,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,GAAG,GAAG,IAAI,OAAO,CACtE,yBAAyB,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAC5F,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,WAAW,CAAC,QAAQ,GAAG,GAAG,CAAC,CAgHxE,CAAC;AAyBF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -0,0 +1,116 @@
1
+ import * as t from "react";
2
+ import { Spinner as z, cl as D, Metadata as F, Icon as p } from "@sps-woodland/core";
3
+ import { useButton as H } from "@react-aria/button";
4
+ import { useHover as L } from "@react-aria/interactions";
5
+ import { mergeProps as M } from "@react-aria/utils";
6
+ import { FocusRing as w } from "@react-aria/focus";
7
+ import { linkButton as x, buttonElement as V, buttonSpinner as W, button as j, buttonIcon as f } from "./Button.ve.js";
8
+ import { useWoodlandLanguage as q } from "@spscommerce/i18n";
9
+ const A = t.forwardRef(
10
+ ({
11
+ as: b,
12
+ onClick: E,
13
+ onPress: y,
14
+ children: m,
15
+ className: N,
16
+ isDisabled: s,
17
+ disabled: l,
18
+ href: n,
19
+ icon: a,
20
+ kind: e = "default",
21
+ spinning: o,
22
+ spinningTitle: P,
23
+ title: g,
24
+ ...r
25
+ }, R) => {
26
+ const v = b ?? (n ? "a" : "button"), u = {
27
+ onPress: y ?? E,
28
+ // the button element should be disabled if the button is marked as disabled or spinning
29
+ isDisabled: !!(o || l || s),
30
+ ...r
31
+ }, { "data-testid": i } = r, _ = t.useRef(null), d = R || _, { buttonProps: B } = H(
32
+ u,
33
+ d
34
+ ), { hoverProps: $ } = L({ isDisabled: u.isDisabled }), { type: I, ...S } = B, T = {
35
+ ...M(S, $),
36
+ ref: d,
37
+ title: g,
38
+ className: n ? x({ spinning: o, kind: e }) : V({ disabled: s || l, kind: e, spinning: o }),
39
+ ...n ? { href: n } : { type: I },
40
+ ...r
41
+ }, { t: C } = q(), h = a && (a === "ai-color" ? (
42
+ // ai-color can only be used on default or link buttons for contrast/accessibility reasons
43
+ // if the user tries to use ai-color on a non-approved button swap it out for the regular ai icon
44
+ /* @__PURE__ */ t.createElement(
45
+ p,
46
+ {
47
+ className: f,
48
+ icon: e === "default" || e === "link" ? "ai-color" : "ai",
49
+ size: "sm",
50
+ "aria-hidden": "true",
51
+ "data-testid": `${i}__${a}-icon`
52
+ }
53
+ )
54
+ ) : /* @__PURE__ */ t.createElement(
55
+ p,
56
+ {
57
+ className: f,
58
+ icon: a,
59
+ size: "sm",
60
+ "aria-hidden": "true",
61
+ "data-testid": `${i}__${a}-icon`
62
+ }
63
+ ));
64
+ let c;
65
+ e === "default" || e === "icon" || e === "link" ? c = "dark" : c = "light";
66
+ const k = o && /* @__PURE__ */ t.createElement(
67
+ z,
68
+ {
69
+ color: c,
70
+ className: W({ spinning: o }),
71
+ title: P || C("button.spinningTitle", { defaultValue: "Loading..." }),
72
+ "data-testid": `${i}__spinner`
73
+ }
74
+ );
75
+ return /* @__PURE__ */ t.createElement(w, null, /* @__PURE__ */ t.createElement(
76
+ "div",
77
+ {
78
+ className: D(
79
+ j({
80
+ disabled: s || l,
81
+ kind: e,
82
+ spinning: o
83
+ }),
84
+ N
85
+ )
86
+ },
87
+ /* @__PURE__ */ t.createElement(v, { ...T }, h, m ? /* @__PURE__ */ t.createElement("span", null, m) : "", k)
88
+ ));
89
+ }
90
+ );
91
+ F.set(A, {
92
+ name: "Button",
93
+ props: {
94
+ disabled: "boolean",
95
+ href: "string",
96
+ icon: "IconName",
97
+ kind: {
98
+ type: '"default" | "link" | "icon" | "confirm" | "delete" | "key"',
99
+ default: '"default"'
100
+ },
101
+ spinning: "boolean",
102
+ spinningTitle: "string",
103
+ type: { type: '"button" | "submit"', default: '"button"' },
104
+ as: "button | a",
105
+ onClick: "() => void",
106
+ onPress: "() => void",
107
+ children: "ReactNode",
108
+ className: "string",
109
+ isDisabled: "boolean",
110
+ style: "CSSProperties"
111
+ },
112
+ panellable: !0
113
+ });
114
+ export {
115
+ A as Button
116
+ };
@@ -0,0 +1,10 @@
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 o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq1", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq2" }, kind: { default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7", icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqa" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [[{ kind: "icon", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb"], [{ kind: "default", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc"], [{ kind: "confirm", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd"], [{ kind: "delete", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe"], [{ kind: "key", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf"], [{ disabled: !0, spinning: !1 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg"], [{ kind: "link", disabled: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh"]] }), n = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqk" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieql", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqm", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqn", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqo", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqp", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqs" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [] }), a = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqv" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqx", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqy", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqz", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq10", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] }), i = "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12", l = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] });
4
+ export {
5
+ o as button,
6
+ n as buttonElement,
7
+ i as buttonIcon,
8
+ l as buttonSpinner,
9
+ a as linkButton
10
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./button/Button";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,169 @@
1
+ import * as i from "react";
2
+ import { Spinner as I, cl as T, Metadata as z, Icon as g } from "@sps-woodland/core";
3
+ import { useButton as F } from "@react-aria/button";
4
+ import { useHover as x } from "@react-aria/interactions";
5
+ import { mergeProps as H } from "@react-aria/utils";
6
+ import { FocusRing as L } from "@react-aria/focus";
7
+ import { useWoodlandLanguage as M } from "@spscommerce/i18n";
8
+ function A(_, o, e) {
9
+ return o in _ ? Object.defineProperty(_, o, {
10
+ value: e,
11
+ enumerable: !0,
12
+ configurable: !0,
13
+ writable: !0
14
+ }) : _[o] = e, _;
15
+ }
16
+ function m(_, o) {
17
+ var e = Object.keys(_);
18
+ if (Object.getOwnPropertySymbols) {
19
+ var s = Object.getOwnPropertySymbols(_);
20
+ o && (s = s.filter(function(n) {
21
+ return Object.getOwnPropertyDescriptor(_, n).enumerable;
22
+ })), e.push.apply(e, s);
23
+ }
24
+ return e;
25
+ }
26
+ function k(_) {
27
+ for (var o = 1; o < arguments.length; o++) {
28
+ var e = arguments[o] != null ? arguments[o] : {};
29
+ o % 2 ? m(Object(e), !0).forEach(function(s) {
30
+ A(_, s, e[s]);
31
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(e)) : m(Object(e)).forEach(function(s) {
32
+ Object.defineProperty(_, s, Object.getOwnPropertyDescriptor(e, s));
33
+ });
34
+ }
35
+ return _;
36
+ }
37
+ var K = (_, o, e) => {
38
+ for (var s of Object.keys(_)) {
39
+ var n;
40
+ if (_[s] !== ((n = o[s]) !== null && n !== void 0 ? n : e[s]))
41
+ return !1;
42
+ }
43
+ return !0;
44
+ }, f = (_) => (o) => {
45
+ var e = _.defaultClassName, s = k(k({}, _.defaultVariants), o);
46
+ for (var n in s) {
47
+ var d, p = (d = s[n]) !== null && d !== void 0 ? d : _.defaultVariants[n];
48
+ if (p != null) {
49
+ var r = p;
50
+ typeof r == "boolean" && (r = r === !0 ? "true" : "false");
51
+ var l = (
52
+ // @ts-expect-error
53
+ _.variantClassNames[n][r]
54
+ );
55
+ l && (e += " " + l);
56
+ }
57
+ }
58
+ for (var [a, t] of _.compoundVariants)
59
+ K(a, s, _.defaultVariants) && (e += " " + t);
60
+ return e;
61
+ }, W = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq1", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq2" }, kind: { default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7", icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqa" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [[{ kind: "icon", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb"], [{ kind: "default", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc"], [{ kind: "confirm", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd"], [{ kind: "delete", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe"], [{ kind: "key", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf"], [{ disabled: !0, spinning: !1 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg"], [{ kind: "link", disabled: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh"]] }), $ = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqk" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieql", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqm", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqn", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqo", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqp", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqs" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [] }), G = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqv" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqx", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqy", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqz", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq10", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] }), w = "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12", J = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] });
62
+ const Q = i.forwardRef(
63
+ ({
64
+ as: _,
65
+ onClick: o,
66
+ onPress: e,
67
+ children: s,
68
+ className: n,
69
+ isDisabled: d,
70
+ disabled: p,
71
+ href: r,
72
+ icon: l,
73
+ kind: a = "default",
74
+ spinning: t,
75
+ spinningTitle: b,
76
+ title: y,
77
+ ...c
78
+ }, O) => {
79
+ const P = _ ?? (r ? "a" : "button"), q = {
80
+ onPress: e ?? o,
81
+ // the button element should be disabled if the button is marked as disabled or spinning
82
+ isDisabled: !!(t || p || d),
83
+ ...c
84
+ }, { "data-testid": u } = c, N = i.useRef(null), v = O || N, { buttonProps: V } = F(
85
+ q,
86
+ v
87
+ ), { hoverProps: C } = x({ isDisabled: q.isDisabled }), { type: E, ...j } = V, R = {
88
+ ...H(j, C),
89
+ ref: v,
90
+ title: y,
91
+ className: r ? G({ spinning: t, kind: a }) : $({ disabled: d || p, kind: a, spinning: t }),
92
+ ...r ? { href: r } : { type: E },
93
+ ...c
94
+ }, { t: D } = M(), S = l && (l === "ai-color" ? (
95
+ // ai-color can only be used on default or link buttons for contrast/accessibility reasons
96
+ // if the user tries to use ai-color on a non-approved button swap it out for the regular ai icon
97
+ /* @__PURE__ */ i.createElement(
98
+ g,
99
+ {
100
+ className: w,
101
+ icon: a === "default" || a === "link" ? "ai-color" : "ai",
102
+ size: "sm",
103
+ "aria-hidden": "true",
104
+ "data-testid": `${u}__${l}-icon`
105
+ }
106
+ )
107
+ ) : /* @__PURE__ */ i.createElement(
108
+ g,
109
+ {
110
+ className: w,
111
+ icon: l,
112
+ size: "sm",
113
+ "aria-hidden": "true",
114
+ "data-testid": `${u}__${l}-icon`
115
+ }
116
+ ));
117
+ let h;
118
+ a === "default" || a === "icon" || a === "link" ? h = "dark" : h = "light";
119
+ const B = t && /* @__PURE__ */ i.createElement(
120
+ I,
121
+ {
122
+ color: h,
123
+ className: J({ spinning: t }),
124
+ title: b || D("button.spinningTitle", { defaultValue: "Loading..." }),
125
+ "data-testid": `${u}__spinner`
126
+ }
127
+ );
128
+ return /* @__PURE__ */ i.createElement(L, null, /* @__PURE__ */ i.createElement(
129
+ "div",
130
+ {
131
+ className: T(
132
+ W({
133
+ disabled: d || p,
134
+ kind: a,
135
+ spinning: t
136
+ }),
137
+ n
138
+ )
139
+ },
140
+ /* @__PURE__ */ i.createElement(P, { ...R }, S, s ? /* @__PURE__ */ i.createElement("span", null, s) : "", B)
141
+ ));
142
+ }
143
+ );
144
+ z.set(Q, {
145
+ name: "Button",
146
+ props: {
147
+ disabled: "boolean",
148
+ href: "string",
149
+ icon: "IconName",
150
+ kind: {
151
+ type: '"default" | "link" | "icon" | "confirm" | "delete" | "key"',
152
+ default: '"default"'
153
+ },
154
+ spinning: "boolean",
155
+ spinningTitle: "string",
156
+ type: { type: '"button" | "submit"', default: '"button"' },
157
+ as: "button | a",
158
+ onClick: "() => void",
159
+ onPress: "() => void",
160
+ children: "ReactNode",
161
+ className: "string",
162
+ isDisabled: "boolean",
163
+ style: "CSSProperties"
164
+ },
165
+ panellable: !0
166
+ });
167
+ export {
168
+ Q as Button
169
+ };
@@ -0,0 +1 @@
1
+ (function(o,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("@sps-woodland/core"),require("@react-aria/button"),require("@react-aria/interactions"),require("@react-aria/utils"),require("@react-aria/focus"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@react-aria/button","@react-aria/interactions","@react-aria/utils","@react-aria/focus","@spscommerce/i18n"],c):(o=typeof globalThis<"u"?globalThis:o||self,c(o.Buttons={},o.React,o.core,o.button$1,o.interactions,o.utils,o.focus,o.i18n))})(this,(function(o,c,u,P,j,N,V,C){"use strict";function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const _ in e)if(_!=="default"){const s=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(n,_,s.get?s:{enumerable:!0,get:()=>e[_]})}}return n.default=e,Object.freeze(n)}const t=E(c);function S(e,n,_){return n in e?Object.defineProperty(e,n,{value:_,enumerable:!0,configurable:!0,writable:!0}):e[n]=_,e}function m(e,n){var _=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),_.push.apply(_,s)}return _}function k(e){for(var n=1;n<arguments.length;n++){var _=arguments[n]!=null?arguments[n]:{};n%2?m(Object(_),!0).forEach(function(s){S(e,s,_[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(_)):m(Object(_)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(_,s))})}return e}var R=(e,n,_)=>{for(var s of Object.keys(e)){var a;if(e[s]!==((a=n[s])!==null&&a!==void 0?a:_[s]))return!1}return!0},h=e=>n=>{var _=e.defaultClassName,s=k(k({},e.defaultVariants),n);for(var a in s){var p,f=(p=s[a])!==null&&p!==void 0?p:e.defaultVariants[a];if(f!=null){var i=f;typeof i=="boolean"&&(i=i===!0?"true":"false");var l=e.variantClassNames[a][i];l&&(_+=" "+l)}}for(var[r,d]of e.compoundVariants)R(r,s,e.defaultVariants)&&(_+=" "+d);return _},D=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq1",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq2"},kind:{default:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3",link:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4",confirm:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5",delete:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6",key:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7",icon:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8"},spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqa"}},defaultVariants:{disabled:!1,kind:"default",spinning:!1},compoundVariants:[[{kind:"icon",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb"],[{kind:"default",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc"],[{kind:"confirm",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd"],[{kind:"delete",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe"],[{kind:"key",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf"],[{disabled:!0,spinning:!1},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg"],[{kind:"link",disabled:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh"]]}),T=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqk"},kind:{icon:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieql",default:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqm",delete:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqn",key:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqo",confirm:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqp",link:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq"},spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqs"}},defaultVariants:{disabled:!1,kind:"default",spinning:!1},compoundVariants:[]}),B=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt",variantClassNames:{spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqv"},kind:{icon:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw",default:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqx",delete:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqy",key:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqz",confirm:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq10",link:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11"}},defaultVariants:{spinning:!1},compoundVariants:[]}),w="pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12",I=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13",variantClassNames:{spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15"}},defaultVariants:{spinning:!1},compoundVariants:[]});const b=t.forwardRef(({as:e,onClick:n,onPress:_,children:s,className:a,isDisabled:p,disabled:f,href:i,icon:l,kind:r="default",spinning:d,spinningTitle:z,title:M,...q},x)=>{const F=e??(i?"a":"button"),y={onPress:_??n,isDisabled:!!(d||f||p),...q},{"data-testid":v}=q,H=t.useRef(null),O=x||H,{buttonProps:L}=P.useButton(y,O),{hoverProps:$}=j.useHover({isDisabled:y.isDisabled}),{type:A,...K}=L,W={...N.mergeProps(K,$),ref:O,title:M,className:i?B({spinning:d,kind:r}):T({disabled:p||f,kind:r,spinning:d}),...i?{href:i}:{type:A},...q},{t:G}=C.useWoodlandLanguage(),J=l&&(l==="ai-color"?t.createElement(u.Icon,{className:w,icon:r==="default"||r==="link"?"ai-color":"ai",size:"sm","aria-hidden":"true","data-testid":`${v}__${l}-icon`}):t.createElement(u.Icon,{className:w,icon:l,size:"sm","aria-hidden":"true","data-testid":`${v}__${l}-icon`}));let g;r==="default"||r==="icon"||r==="link"?g="dark":g="light";const Q=d&&t.createElement(u.Spinner,{color:g,className:I({spinning:d}),title:z||G("button.spinningTitle",{defaultValue:"Loading..."}),"data-testid":`${v}__spinner`});return t.createElement(V.FocusRing,null,t.createElement("div",{className:u.cl(D({disabled:p||f,kind:r,spinning:d}),a)},t.createElement(F,{...W},J,s?t.createElement("span",null,s):"",Q)))});u.Metadata.set(b,{name:"Button",props:{disabled:"boolean",href:"string",icon:"IconName",kind:{type:'"default" | "link" | "icon" | "confirm" | "delete" | "key"',default:'"default"'},spinning:"boolean",spinningTitle:"string",type:{type:'"button" | "submit"',default:'"button"'},as:"button | a",onClick:"() => void",onPress:"() => void",children:"ReactNode",className:"string",isDisabled:"boolean",style:"CSSProperties"},panellable:!0}),o.Button=b,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1 @@
1
+ .pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0{border-width:.0625rem;border-style:solid;border-radius:.25rem;cursor:pointer;display:inline-block;font-size:.75rem;font-weight:600;line-height:.875rem;padding:0;position:relative;vertical-align:middle}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3{background:#e9e9ea;border-color:#d2d4d4;color:#4b5356}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3:hover{background:#d2d4d4}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4{background:none transparent;border:0;color:#007db8}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4:hover{background:none transparent;color:#09638d;text-decoration:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5{background:#007db8;border-color:#09638d;color:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5:hover{background:#09638d}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6{background:#de002e;border-color:#a30d2d;color:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6:hover{background:#a30d2d}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7{background:#4b5356;border-color:#1f282c;color:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7:hover{background:#1f282c}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8{background:transparent;border-color:transparent;color:#4b5356}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8:hover{background-color:#d2d4d4;border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9{color:transparent!important;cursor:not-allowed}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb{background:#e9e9ea;border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb:hover,.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc:hover{background:#e9e9ea}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd:hover{background:#007db8}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe:hover{background:#de002e}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf:hover{background:#4b5356}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg{background:#fff!important;border-color:#d2d4d4!important;color:#717779!important;cursor:not-allowed}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg:hover{background:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh{background:none transparent!important}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi{background:none transparent;border:0 none;color:inherit;display:inline-flex;align-items:center;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;text-decoration:none;padding:.5rem 1rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi:hover{text-decoration:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj{cursor:not-allowed!important}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieql{padding:.25rem .5rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr{cursor:not-allowed!important}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt{background:none transparent;border:0 none;color:inherit;cursor:inherit;display:inline-flex;align-items:center;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:.5rem 1rem;text-decoration:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt:hover{text-decoration:none;color:inherit}.pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ{cursor:not-allowed}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw{padding:.25rem .5rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12:not(:last-child){margin-right:.5rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13{left:50%;margin:-.875rem -.4375rem;position:absolute}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14{cursor:not-allowed;display:inline}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15{display:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13>i{border-width:.125rem;height:.875rem;width:.875rem}
@@ -0,0 +1,2 @@
1
+ export declare const card: string;
2
+ //# sourceMappingURL=Card.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card/Card.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAWf,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from "@sps-woodland/core";
2
+ import * as React from "react";
3
+ export declare function Card({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
4
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/cards/card/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAY,MAAM,oBAAoB,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAqC9D"}
@@ -0,0 +1,28 @@
1
+ import { Metadata as t, selectChildren as p, useChildTestIdAttrBuilder as C, cl as l, addProps as f, Content as u } from "@sps-woodland/core";
2
+ import * as a from "react";
3
+ import { CardFooter as b } from "../card-footer/CardFooter.js";
4
+ import { CardHeader as y } from "../card-header/CardHeader.js";
5
+ import { card as h } from "./Card.ve.js";
6
+ function x({
7
+ children: n,
8
+ className: d,
9
+ ...e
10
+ }) {
11
+ const [
12
+ m,
13
+ [o],
14
+ s,
15
+ c
16
+ ] = p(n, [
17
+ { type: y },
18
+ {
19
+ custom: (r) => t.isWoodlandComponent(r) && t.get(r).name === "Tabs"
20
+ },
21
+ { type: b }
22
+ ]), i = C(e);
23
+ return /* @__PURE__ */ a.createElement("div", { className: l(h, d), ...e }, m, o ? f(o, { context: "container" }) : /* @__PURE__ */ a.createElement(u, { ...i("body") }, c), s);
24
+ }
25
+ t.set(x, { name: "Card" });
26
+ export {
27
+ x as Card
28
+ };
@@ -0,0 +1,5 @@
1
+ /* empty css */
2
+ var o = "pkg_sps-woodland_core__version_8_53_6__hash_1yomitg0";
3
+ export {
4
+ o as card
5
+ };
@@ -0,0 +1,2 @@
1
+ export declare const cardFooter: string;
2
+ //# sourceMappingURL=CardFooter.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFooter.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-footer/CardFooter.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAIrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from "@sps-woodland/core";
2
+ import * as React from "react";
3
+ export declare function CardFooter({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
4
+ //# sourceMappingURL=CardFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../src/cards/card-footer/CardFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,UAAU,CAAC,EACzB,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 { Metadata as o, CapContent as a, cl as m } from "@sps-woodland/core";
2
+ import * as n from "react";
3
+ import { cardFooter as c } from "./CardFooter.ve.js";
4
+ function p({
5
+ children: t,
6
+ className: r = "",
7
+ ...e
8
+ }) {
9
+ return /* @__PURE__ */ n.createElement(a, { className: m(c, r), ...e }, t);
10
+ }
11
+ o.set(p, { name: "CardFooter" });
12
+ export {
13
+ p as CardFooter
14
+ };
@@ -0,0 +1,5 @@
1
+ /* empty css */
2
+ var o = "pkg_sps-woodland_core__version_8_53_6__hash_jj9br00";
3
+ export {
4
+ o as cardFooter
5
+ };
@@ -0,0 +1,2 @@
1
+ export declare const cardHeader: string;
2
+ //# sourceMappingURL=CardHeader.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHeader.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-header/CardHeader.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAIrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from "@sps-woodland/core";
2
+ import * as React from "react";
3
+ export declare function CardHeader({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
4
+ //# sourceMappingURL=CardHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../src/cards/card-header/CardHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,UAAU,CAAC,EACzB,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 { Metadata as t, CapContent as m, cl as o } from "@sps-woodland/core";
2
+ import * as d from "react";
3
+ import { cardHeader as n } from "./CardHeader.ve.js";
4
+ function c({
5
+ children: e,
6
+ className: a = "",
7
+ ...r
8
+ }) {
9
+ return /* @__PURE__ */ d.createElement(m, { className: o(n, a), ...r }, e);
10
+ }
11
+ t.set(c, { name: "CardHeader" });
12
+ export {
13
+ c as CardHeader
14
+ };
@@ -0,0 +1,5 @@
1
+ /* empty css */
2
+ var r = "pkg_sps-woodland_core__version_8_53_6__hash_171xmyc0";
3
+ export {
4
+ r as cardHeader
5
+ };
@@ -0,0 +1,2 @@
1
+ export declare const cardTitle: string;
2
+ //# sourceMappingURL=CardTitle.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardTitle.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-title/CardTitle.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,QAEpB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ComponentProps } from "@sps-woodland/core";
2
+ import * as React from "react";
3
+ export declare function CardTitle({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
4
+ //# sourceMappingURL=CardTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../src/cards/card-title/CardTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,SAAS,CAAC,EACxB,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 { Metadata as r, CapContentTitle as m, cl as o } from "@sps-woodland/core";
2
+ import * as i from "react";
3
+ import { cardTitle as l } from "./CardTitle.ve.js";
4
+ function n({
5
+ children: t,
6
+ className: e = "",
7
+ ...a
8
+ }) {
9
+ return /* @__PURE__ */ i.createElement(m, { className: o(l, e), ...a }, t);
10
+ }
11
+ r.set(n, { name: "CardTitle" });
12
+ export {
13
+ n as CardTitle
14
+ };
@@ -0,0 +1,5 @@
1
+ /* empty css */
2
+ var o = "pkg_sps-woodland_core__version_8_53_6__hash_1c9yfku0";
3
+ export {
4
+ o as cardTitle
5
+ };
@@ -0,0 +1,5 @@
1
+ export * from "./card/Card";
2
+ export * from "./card-header/CardHeader";
3
+ export * from "./card-footer/CardFooter";
4
+ export * from "./card-title/CardTitle";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cards/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}