@sps-woodland/core 8.56.2 → 8.56.4

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 (262) hide show
  1. package/lib/action-bar/action-bar/ActionBar.js +44 -59
  2. package/lib/action-bar/action-bar/ActionBar.ve.js +4 -11
  3. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +14 -22
  4. package/lib/action-bar/index.js +54 -74
  5. package/lib/action-bar/index.umd.cjs +1 -1
  6. package/lib/action-bar/style.css +2 -1
  7. package/lib/add-to-list/add-to-list/AddToList.js +220 -302
  8. package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
  9. package/lib/add-to-list/add-to-list/ItemsList.js +42 -67
  10. package/lib/add-to-list/add-to-list/ListItem.js +24 -50
  11. package/lib/add-to-list/index.js +393 -453
  12. package/lib/add-to-list/index.umd.cjs +1 -1
  13. package/lib/add-to-list/style.css +2 -1
  14. package/lib/buttons/button/Button.js +95 -121
  15. package/lib/buttons/button/Button.ve.js +150 -9
  16. package/lib/buttons/index.js +281 -171
  17. package/lib/buttons/index.umd.cjs +1 -1
  18. package/lib/buttons/style.css +2 -1
  19. package/lib/cards/card/Card.js +19 -27
  20. package/lib/cards/card/Card.ve.js +4 -4
  21. package/lib/cards/card-footer/CardFooter.js +12 -13
  22. package/lib/cards/card-footer/CardFooter.ve.js +4 -4
  23. package/lib/cards/card-header/CardHeader.js +12 -13
  24. package/lib/cards/card-header/CardHeader.ve.js +4 -4
  25. package/lib/cards/card-title/CardTitle.js +11 -12
  26. package/lib/cards/card-title/CardTitle.ve.js +4 -4
  27. package/lib/cards/index.js +52 -52
  28. package/lib/cards/index.umd.cjs +1 -1
  29. package/lib/cards/style.css +2 -1
  30. package/lib/column-manager/column-manager/ColumnManager.js +95 -112
  31. package/lib/column-manager/column-manager/useColumnManager.js +59 -48
  32. package/lib/column-manager/index.js +2 -5
  33. package/lib/components/icon/Icon.ve.js +15 -5
  34. package/lib/components/icon/icons/sprite.svg.js +4 -4
  35. package/lib/content-row/content-row/ContentRow.js +146 -173
  36. package/lib/content-row/content-row/ContentRow.ve.js +105 -18
  37. package/lib/content-row/content-row-col/ContentRowCol.js +37 -48
  38. package/lib/content-row/content-row-col/ContentRowCol.ve.js +49 -6
  39. package/lib/content-row/content-row-expansion/ContentRowExpansion.js +16 -24
  40. package/lib/content-row/index.js +407 -318
  41. package/lib/content-row/index.umd.cjs +1 -1
  42. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +24 -39
  43. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +13 -5
  44. package/lib/content-row/style.css +2 -1
  45. package/lib/content-tiles/content-tile/ContentTile.js +71 -60
  46. package/lib/content-tiles/content-tile/ContentTile.ve.js +36 -14
  47. package/lib/content-tiles/content-tile-list/ContentTileList.js +12 -13
  48. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +4 -5
  49. package/lib/content-tiles/index.js +156 -118
  50. package/lib/content-tiles/index.umd.cjs +1 -1
  51. package/lib/content-tiles/style.css +2 -1
  52. package/lib/core.css +2 -1
  53. package/lib/dropdowns/dropdown/Dropdown.js +56 -68
  54. package/lib/dropdowns/dropdown/Dropdown.ve.js +37 -8
  55. package/lib/dropdowns/index.js +171 -171
  56. package/lib/dropdowns/index.umd.cjs +1 -1
  57. package/lib/dropdowns/option-list/Option.js +14 -18
  58. package/lib/dropdowns/option-list/Option.ve.js +4 -5
  59. package/lib/dropdowns/option-list/OptionList.js +28 -44
  60. package/lib/dropdowns/option-list/OptionList.ve.js +4 -5
  61. package/lib/dropdowns/style.css +2 -1
  62. package/lib/editable-table/EditableTable.js +68 -85
  63. package/lib/editable-table/index.js +1 -4
  64. package/lib/feedback-block/FeedbackBlock.js +40 -35
  65. package/lib/feedback-block/FeedbackBlock.ve.js +56 -7
  66. package/lib/feedback-block/index.js +132 -85
  67. package/lib/feedback-block/index.umd.cjs +1 -1
  68. package/lib/feedback-block/style.css +2 -1
  69. package/lib/file-upload/file-upload/FileUpload.js +164 -202
  70. package/lib/file-upload/file-upload/FileUpload.ve.js +84 -18
  71. package/lib/file-upload/file-upload/mime-type.enum.js +106 -106
  72. package/lib/file-upload/index.js +390 -353
  73. package/lib/file-upload/index.umd.cjs +1 -1
  74. package/lib/file-upload/style.css +2 -1
  75. package/lib/filter-tiles/filter-tile/FilterTile.js +41 -46
  76. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +51 -9
  77. package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +12 -15
  78. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +4 -4
  79. package/lib/filter-tiles/index.js +142 -107
  80. package/lib/filter-tiles/index.umd.cjs +1 -1
  81. package/lib/filter-tiles/style.css +2 -1
  82. package/lib/focused-task/focused-task/FocusedTask.js +52 -74
  83. package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -12
  84. package/lib/focused-task/focused-task/useFocusedTask.js +20 -18
  85. package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +12 -13
  86. package/lib/focused-task/index.js +127 -144
  87. package/lib/focused-task/index.umd.cjs +1 -1
  88. package/lib/focused-task/style.css +2 -1
  89. package/lib/growler/Growler.js +78 -90
  90. package/lib/growler/Growler.ve.js +23 -12
  91. package/lib/growler/GrowlerListProvider.js +38 -39
  92. package/lib/growler/Sonner.ve.js +17 -12
  93. package/lib/growler/index.js +249 -274
  94. package/lib/growler/index.umd.cjs +1 -1
  95. package/lib/growler/sonner.js +73 -102
  96. package/lib/growler/style.css +2 -1
  97. package/lib/index.js +520 -501
  98. package/lib/index.umd.cjs +4 -4
  99. package/lib/insight-card/InsightCard.js +90 -84
  100. package/lib/insight-card/InsightCard.ve.js +148 -15
  101. package/lib/insight-card/InsightCardSet.js +12 -12
  102. package/lib/insight-card/index.js +269 -141
  103. package/lib/insight-card/index.umd.cjs +1 -1
  104. package/lib/insight-card/style.css +2 -1
  105. package/lib/key-value-set/index.js +97 -87
  106. package/lib/key-value-set/index.umd.cjs +1 -1
  107. package/lib/key-value-set/key-value-set/KeyValueSet.js +17 -21
  108. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +10 -5
  109. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +25 -21
  110. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +13 -6
  111. package/lib/key-value-set/style.css +2 -1
  112. package/lib/list-bar/advanced-search/AdvancedSearch.js +51 -54
  113. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +30 -8
  114. package/lib/list-bar/index.js +305 -301
  115. package/lib/list-bar/index.umd.cjs +1 -1
  116. package/lib/list-bar/list-bar/InputGroupWrapper.js +10 -19
  117. package/lib/list-bar/list-bar/ListBar.js +105 -121
  118. package/lib/list-bar/list-bar/ListBar.ve.js +13 -17
  119. package/lib/list-bar/list-bar/ListBarSearch.js +20 -21
  120. package/lib/list-bar/list-bar/ListBarSearchInfo.js +8 -12
  121. package/lib/list-bar/list-bar/ListBarSortBy.js +28 -38
  122. package/lib/list-bar/search-results-bar/SearchResultsBar.js +38 -28
  123. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +4 -11
  124. package/lib/list-bar/style.css +2 -1
  125. package/lib/matrix/index.js +79 -87
  126. package/lib/matrix/index.umd.cjs +1 -1
  127. package/lib/matrix/matrix/Matrix.js +18 -26
  128. package/lib/matrix/matrix/Matrix.ve.js +4 -7
  129. package/lib/matrix/matrix-body/MatrixBody.js +10 -13
  130. package/lib/matrix/matrix-cell/MatrixCell.js +23 -18
  131. package/lib/matrix/matrix-head/MatrixHead.js +10 -13
  132. package/lib/matrix/matrix-header/MatrixHeader.js +20 -23
  133. package/lib/matrix/matrix-row/MatrixRow.js +10 -13
  134. package/lib/matrix/style.css +2 -1
  135. package/lib/modal/index.js +197 -187
  136. package/lib/modal/index.umd.cjs +1 -1
  137. package/lib/modal/modal/Modal.js +90 -108
  138. package/lib/modal/modal/Modal.ve.js +43 -13
  139. package/lib/modal/modal/useModal.js +19 -24
  140. package/lib/modal/modal-footer/ModalFooter.js +11 -12
  141. package/lib/modal/style.css +2 -1
  142. package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +49 -0
  143. package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +8 -10
  144. package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +4 -4
  145. package/lib/page-title/heading-level/HeadingLevel.js +8 -12
  146. package/lib/page-title/index.js +33 -40
  147. package/lib/page-title/index.umd.cjs +1 -1
  148. package/lib/page-title/page-subtitle/PageSubtitle.js +13 -18
  149. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +4 -5
  150. package/lib/page-title/page-title/PageTitle.js +15 -19
  151. package/lib/page-title/page-title/PageTitle.ve.js +4 -7
  152. package/lib/page-title/style.css +2 -1
  153. package/lib/photo/index.js +174 -177
  154. package/lib/photo/index.umd.cjs +1 -1
  155. package/lib/photo/photo/Photo.js +72 -81
  156. package/lib/photo/photo/Photo.ve.js +21 -7
  157. package/lib/photo/photo-carousel/PhotoCarousel.js +36 -51
  158. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +13 -9
  159. package/lib/photo/style.css +2 -1
  160. package/lib/product-bar/hooks/usePriorityPlus.js +88 -104
  161. package/lib/product-bar/index.js +372 -395
  162. package/lib/product-bar/index.umd.cjs +1 -1
  163. package/lib/product-bar/product-bar/ProductBar.js +77 -103
  164. package/lib/product-bar/product-bar/ProductBar.ve.js +46 -15
  165. package/lib/product-bar/product-bar-name/ProductBarName.js +37 -40
  166. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +48 -70
  167. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +4 -8
  168. package/lib/product-bar/product-bar-tab/ProductBarTab.js +28 -26
  169. package/lib/product-bar/slack-link/SlackLink.js +26 -30
  170. package/lib/product-bar/slack-link/SlackLink.ve.js +4 -5
  171. package/lib/product-bar/style.css +2 -1
  172. package/lib/product-bar-vertical/index.js +240 -251
  173. package/lib/product-bar-vertical/index.umd.cjs +1 -1
  174. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +42 -61
  175. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +53 -23
  176. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +30 -42
  177. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +71 -89
  178. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +22 -29
  179. package/lib/product-bar-vertical/style.css +2 -1
  180. package/lib/progress-indicators/index.js +372 -255
  181. package/lib/progress-indicators/index.umd.cjs +1 -1
  182. package/lib/progress-indicators/progress-bar/ProgressBar.js +66 -110
  183. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +66 -13
  184. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +34 -54
  185. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +136 -8
  186. package/lib/progress-indicators/progress-ring/ProgressRing.js +45 -52
  187. package/lib/progress-indicators/style.css +2 -1
  188. package/lib/rich-text-editor/index.js +556 -582
  189. package/lib/rich-text-editor/index.umd.cjs +11 -11
  190. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +29 -33
  191. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +23 -37
  192. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +13 -6
  193. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +68 -77
  194. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +21 -8
  195. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +14 -20
  196. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +14 -20
  197. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +33 -27
  198. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +79 -88
  199. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +28 -36
  200. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +195 -211
  201. package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -4
  202. package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -4
  203. package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -4
  204. package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -4
  205. package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -4
  206. package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -4
  207. package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -4
  208. package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -4
  209. package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -4
  210. package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -4
  211. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +12 -12
  212. package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +20 -19
  213. package/lib/rich-text-editor/rich-text-editor/utils/utils.js +11 -15
  214. package/lib/rich-text-editor/style.css +2 -1
  215. package/lib/scrollable-container/ScrollableContainer.js +18 -27
  216. package/lib/scrollable-container/ScrollableContainer.ve.js +4 -4
  217. package/lib/scrollable-container/index.js +20 -27
  218. package/lib/scrollable-container/index.umd.cjs +1 -1
  219. package/lib/scrollable-container/style.css +2 -1
  220. package/lib/side-nav/index.js +190 -228
  221. package/lib/side-nav/index.umd.cjs +1 -1
  222. package/lib/side-nav/side-nav/SideNav.js +43 -60
  223. package/lib/side-nav/side-nav/SideNav.ve.js +22 -16
  224. package/lib/side-nav/side-nav/navContext.js +7 -7
  225. package/lib/side-nav/side-nav-header/SideNavHeader.js +14 -15
  226. package/lib/side-nav/side-nav-item/SideNavItem.js +68 -94
  227. package/lib/side-nav/side-nav-section/SideNavSection.js +16 -26
  228. package/lib/side-nav/style.css +2 -1
  229. package/lib/sorting-header/caret/caret.ve.js +13 -5
  230. package/lib/sorting-header/index.js +269 -251
  231. package/lib/sorting-header/index.umd.cjs +1 -1
  232. package/lib/sorting-header/sorting-header/SortingHeader.js +110 -124
  233. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +30 -6
  234. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -83
  235. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -7
  236. package/lib/sorting-header/style.css +2 -1
  237. package/lib/style.css +2 -1
  238. package/lib/tabs/index.js +255 -201
  239. package/lib/tabs/index.umd.cjs +1 -1
  240. package/lib/tabs/style.css +2 -1
  241. package/lib/tabs/tab/Tab.js +24 -27
  242. package/lib/tabs/tab/Tab.ve.js +76 -6
  243. package/lib/tabs/tab-panel/TabPanel.js +16 -25
  244. package/lib/tabs/tabs/Tabs.js +101 -112
  245. package/lib/tabs/tabs/Tabs.ve.js +13 -11
  246. package/lib/tags/clickable-tag/ClickableTag.js +86 -90
  247. package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
  248. package/lib/tags/index.js +342 -199
  249. package/lib/tags/index.umd.cjs +1 -1
  250. package/lib/tags/split-tag/SplitTag.js +49 -30
  251. package/lib/tags/split-tag/SplitTag.ve.js +35 -9
  252. package/lib/tags/style.css +2 -1
  253. package/lib/tags/tag/Tag.js +42 -38
  254. package/lib/tags/tag/Tag.ve.js +41 -6
  255. package/lib/utils/cl.js +5 -5
  256. package/lib/zero-state/ZeroState.js +36 -29
  257. package/lib/zero-state/ZeroState.ve.js +29 -11
  258. package/lib/zero-state/index.js +103 -78
  259. package/lib/zero-state/index.umd.cjs +1 -1
  260. package/lib/zero-state/style.css +2 -1
  261. package/package.json +12 -12
  262. 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 +0 -57
@@ -1,61 +1,46 @@
1
- import * as e from "react";
2
- import { Button as s } from "@sps-woodland/core/button";
3
- import { Metadata as u, selectChildren as p, cl as f } from "@sps-woodland/core";
4
- import { Tag as S } from "@sps-woodland/core/tag";
5
- import { useWoodlandLanguage as B } from "@spscommerce/i18n";
6
- import { root as E, content as g, contentMainBar as N, itemsSelected as v, itemsSelectedTag as A, actionButtons as C, clearSelected as y } from "./ActionBar.ve.js";
7
- import { ActionBarAdditionalContent as b } from "../action-bar-additional-content/ActionBarAdditionalContent.js";
8
- function q({
9
- className: r,
10
- children: l,
11
- clearSelected: c,
12
- itemsSelected: a,
13
- itemsSelectedLabel: n,
14
- clearSelectedLabel: i,
15
- ...o
16
- }) {
17
- const { t } = B(), [m, d] = p(l, [
18
- { type: b }
19
- ]);
20
- return Number(a) > 0 ? /* @__PURE__ */ e.createElement(
21
- "div",
22
- {
23
- className: f(E, r),
24
- ...o
25
- },
26
- /* @__PURE__ */ e.createElement("div", { className: g }, m, /* @__PURE__ */ e.createElement("div", { className: N }, /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement(S, { kind: "info", className: A }, a), n ?? t("listActionBar.itemsSelected", { defaultValue: "Items Selected" })), /* @__PURE__ */ e.createElement("div", { className: C }, d), /* @__PURE__ */ e.createElement("div", { className: y }, /* @__PURE__ */ e.createElement(
27
- s,
28
- {
29
- title: t("listActionBar.clearSelected", { defaultValue: "Clear Selected" }),
30
- kind: "link",
31
- icon: "x",
32
- onPress: c
33
- },
34
- i ?? t("listActionBar.clearSelected", { defaultValue: "Clear Selected" })
35
- ))))
36
- ) : /* @__PURE__ */ e.createElement(e.Fragment, null);
1
+ import { actionButtons as e, clearSelected as t, content as n, contentMainBar as r, itemsSelected as i, itemsSelectedTag as a, root as o } from "./ActionBar.ve.js";
2
+ import { ActionBarAdditionalContent as s } from "../action-bar-additional-content/ActionBarAdditionalContent.js";
3
+ import { Metadata as c, cl as l, selectChildren as u } from "@sps-woodland/core";
4
+ import * as d from "react";
5
+ import { useWoodlandLanguage as f } from "@spscommerce/i18n";
6
+ import { Button as p } from "@sps-woodland/core/button";
7
+ import { Tag as m } from "@sps-woodland/core/tag";
8
+ //#region src/action-bar/action-bar/ActionBar.tsx
9
+ function h({ className: c, children: h, clearSelected: g, itemsSelected: _, itemsSelectedLabel: v, clearSelectedLabel: y, ...b }) {
10
+ let { t: x } = f(), [S, C] = u(h, [{ type: s }]);
11
+ return Number(_) > 0 ? /* @__PURE__ */ d.createElement("div", {
12
+ className: l(o, c),
13
+ ...b
14
+ }, /* @__PURE__ */ d.createElement("div", { className: n }, S, /* @__PURE__ */ d.createElement("div", { className: r }, /* @__PURE__ */ d.createElement("div", { className: i }, /* @__PURE__ */ d.createElement(m, {
15
+ kind: "info",
16
+ className: a
17
+ }, _), v ?? x("listActionBar.itemsSelected", { defaultValue: "Items Selected" })), /* @__PURE__ */ d.createElement("div", { className: e }, C), /* @__PURE__ */ d.createElement("div", { className: t }, /* @__PURE__ */ d.createElement(p, {
18
+ title: x("listActionBar.clearSelected", { defaultValue: "Clear Selected" }),
19
+ kind: "link",
20
+ icon: "x",
21
+ onPress: g
22
+ }, y ?? x("listActionBar.clearSelected", { defaultValue: "Clear Selected" })))))) : /* @__PURE__ */ d.createElement(d.Fragment, null);
37
23
  }
38
- u.set(q, {
39
- name: "ActionBar",
40
- props: {
41
- clearSelected: {
42
- type: "() => void",
43
- required: !0
44
- },
45
- itemsSelected: {
46
- type: "number | string",
47
- required: !0
48
- },
49
- itemsSelectedLabel: {
50
- type: "string",
51
- required: !1
52
- },
53
- clearSelectedLabel: {
54
- type: "string",
55
- required: !1
56
- }
57
- }
24
+ c.set(h, {
25
+ name: "ActionBar",
26
+ props: {
27
+ clearSelected: {
28
+ type: "() => void",
29
+ required: !0
30
+ },
31
+ itemsSelected: {
32
+ type: "number | string",
33
+ required: !0
34
+ },
35
+ itemsSelectedLabel: {
36
+ type: "string",
37
+ required: !1
38
+ },
39
+ clearSelectedLabel: {
40
+ type: "string",
41
+ required: !1
42
+ }
43
+ }
58
44
  });
59
- export {
60
- q as ActionBar
61
- };
45
+ //#endregion
46
+ export { h as ActionBar };
@@ -1,12 +1,5 @@
1
1
  /* empty css */
2
- var a = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l0", o = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l1", n = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l2", r = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l3", s = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l4", e = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l5", i = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l6", l = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l7";
3
- export {
4
- e as actionButtons,
5
- l as additionalContent,
6
- i as clearSelected,
7
- o as content,
8
- n as contentMainBar,
9
- r as itemsSelected,
10
- s as itemsSelectedTag,
11
- a as root
12
- };
2
+ //#region src/action-bar/action-bar/ActionBar.css.ts
3
+ var e = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l0", t = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l1", n = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l2", r = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l3", i = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l4", a = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l5", o = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l6", s = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l7";
4
+ //#endregion
5
+ export { a as actionButtons, s as additionalContent, o as clearSelected, t as content, n as contentMainBar, r as itemsSelected, i as itemsSelectedTag, e as root };
@@ -1,24 +1,16 @@
1
- import * as a from "react";
2
- import { Metadata as e, Box as r, cl as i } from "@sps-woodland/core";
3
- import { additionalContent as m } from "../action-bar/ActionBar.ve.js";
4
- function c({
5
- className: t,
6
- children: o,
7
- ...n
8
- }) {
9
- return /* @__PURE__ */ a.createElement(
10
- r,
11
- {
12
- className: i(m, t),
13
- ...n
14
- },
15
- o
16
- );
1
+ import { additionalContent as e } from "../action-bar/ActionBar.ve.js";
2
+ import { Box as t, Metadata as n, cl as r } from "@sps-woodland/core";
3
+ import * as i from "react";
4
+ //#region src/action-bar/action-bar-additional-content/ActionBarAdditionalContent.tsx
5
+ function a({ className: n, children: a, ...o }) {
6
+ return /* @__PURE__ */ i.createElement(t, {
7
+ className: r(e, n),
8
+ ...o
9
+ }, a);
17
10
  }
18
- e.set(c, {
19
- name: "ActionBarAdditionalContent",
20
- props: {}
11
+ n.set(a, {
12
+ name: "ActionBarAdditionalContent",
13
+ props: {}
21
14
  });
22
- export {
23
- c as ActionBarAdditionalContent
24
- };
15
+ //#endregion
16
+ export { a as ActionBarAdditionalContent };
@@ -1,79 +1,59 @@
1
1
  import * as e from "react";
2
- import { Button as u } from "@sps-woodland/core/button";
3
- import { Metadata as l, Box as v, cl as o, selectChildren as f } from "@sps-woodland/core";
4
- import { Tag as h } from "@sps-woodland/core/tag";
5
- import { useWoodlandLanguage as g } from "@spscommerce/i18n";
6
- var S = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l0", y = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l1", b = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l2", k = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l3", B = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l4", E = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l5", A = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l6", N = "pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l7";
7
- function i({
8
- className: a,
9
- children: t,
10
- ..._
11
- }) {
12
- return /* @__PURE__ */ e.createElement(
13
- v,
14
- {
15
- className: o(N, a),
16
- ..._
17
- },
18
- t
19
- );
2
+ import { Button as t } from "@sps-woodland/core/button";
3
+ import { Box as n, Metadata as r, cl as i, selectChildren as a } from "@sps-woodland/core";
4
+ import { Tag as o } from "@sps-woodland/core/tag";
5
+ import { useWoodlandLanguage as s } from "@spscommerce/i18n";
6
+ //#region src/action-bar/action-bar/ActionBar.css.ts
7
+ var c = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l0", l = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l1", u = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l2", d = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l3", f = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l4", p = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l5", m = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l6", h = "pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l7";
8
+ //#endregion
9
+ //#region src/action-bar/action-bar-additional-content/ActionBarAdditionalContent.tsx
10
+ function g({ className: t, children: r, ...a }) {
11
+ return /* @__PURE__ */ e.createElement(n, {
12
+ className: i(h, t),
13
+ ...a
14
+ }, r);
20
15
  }
21
- l.set(i, {
22
- name: "ActionBarAdditionalContent",
23
- props: {}
16
+ r.set(g, {
17
+ name: "ActionBarAdditionalContent",
18
+ props: {}
24
19
  });
25
- function w({
26
- className: a,
27
- children: t,
28
- clearSelected: _,
29
- itemsSelected: n,
30
- itemsSelectedLabel: s,
31
- clearSelectedLabel: c,
32
- ...d
33
- }) {
34
- const { t: r } = g(), [m, p] = f(t, [
35
- { type: i }
36
- ]);
37
- return Number(n) > 0 ? /* @__PURE__ */ e.createElement(
38
- "div",
39
- {
40
- className: o(S, a),
41
- ...d
42
- },
43
- /* @__PURE__ */ e.createElement("div", { className: y }, m, /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: k }, /* @__PURE__ */ e.createElement(h, { kind: "info", className: B }, n), s ?? r("listActionBar.itemsSelected", { defaultValue: "Items Selected" })), /* @__PURE__ */ e.createElement("div", { className: E }, p), /* @__PURE__ */ e.createElement("div", { className: A }, /* @__PURE__ */ e.createElement(
44
- u,
45
- {
46
- title: r("listActionBar.clearSelected", { defaultValue: "Clear Selected" }),
47
- kind: "link",
48
- icon: "x",
49
- onPress: _
50
- },
51
- c ?? r("listActionBar.clearSelected", { defaultValue: "Clear Selected" })
52
- ))))
53
- ) : /* @__PURE__ */ e.createElement(e.Fragment, null);
20
+ //#endregion
21
+ //#region src/action-bar/action-bar/ActionBar.tsx
22
+ function _({ className: n, children: r, clearSelected: h, itemsSelected: _, itemsSelectedLabel: v, clearSelectedLabel: y, ...b }) {
23
+ let { t: x } = s(), [S, C] = a(r, [{ type: g }]);
24
+ return Number(_) > 0 ? /* @__PURE__ */ e.createElement("div", {
25
+ className: i(c, n),
26
+ ...b
27
+ }, /* @__PURE__ */ e.createElement("div", { className: l }, S, /* @__PURE__ */ e.createElement("div", { className: u }, /* @__PURE__ */ e.createElement("div", { className: d }, /* @__PURE__ */ e.createElement(o, {
28
+ kind: "info",
29
+ className: f
30
+ }, _), v ?? x("listActionBar.itemsSelected", { defaultValue: "Items Selected" })), /* @__PURE__ */ e.createElement("div", { className: p }, C), /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(t, {
31
+ title: x("listActionBar.clearSelected", { defaultValue: "Clear Selected" }),
32
+ kind: "link",
33
+ icon: "x",
34
+ onPress: h
35
+ }, y ?? x("listActionBar.clearSelected", { defaultValue: "Clear Selected" })))))) : /* @__PURE__ */ e.createElement(e.Fragment, null);
54
36
  }
55
- l.set(w, {
56
- name: "ActionBar",
57
- props: {
58
- clearSelected: {
59
- type: "() => void",
60
- required: !0
61
- },
62
- itemsSelected: {
63
- type: "number | string",
64
- required: !0
65
- },
66
- itemsSelectedLabel: {
67
- type: "string",
68
- required: !1
69
- },
70
- clearSelectedLabel: {
71
- type: "string",
72
- required: !1
73
- }
74
- }
37
+ r.set(_, {
38
+ name: "ActionBar",
39
+ props: {
40
+ clearSelected: {
41
+ type: "() => void",
42
+ required: !0
43
+ },
44
+ itemsSelected: {
45
+ type: "number | string",
46
+ required: !0
47
+ },
48
+ itemsSelectedLabel: {
49
+ type: "string",
50
+ required: !1
51
+ },
52
+ clearSelectedLabel: {
53
+ type: "string",
54
+ required: !1
55
+ }
56
+ }
75
57
  });
76
- export {
77
- w as ActionBar,
78
- i as ActionBarAdditionalContent
79
- };
58
+ //#endregion
59
+ export { _ as ActionBar, g as ActionBarAdditionalContent };
@@ -1 +1 @@
1
- (function(e,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("react"),require("@sps-woodland/core/button"),require("@sps-woodland/core"),require("@sps-woodland/core/tag"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core/button","@sps-woodland/core","@sps-woodland/core/tag","@spscommerce/i18n"],s):(e=typeof globalThis<"u"?globalThis:e||self,s(e.ActionBar={},e.react,e.spsWoodlandCoreButton,e.spsWoodlandCore,e.spsWoodlandCoreTag,e.spscommerceI18n))})(this,(function(e,s,d,r,m,u){"use strict";function p(a){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const _=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(o,n,_.get?_:{enumerable:!0,get:()=>a[n]})}}return o.default=a,Object.freeze(o)}const t=p(s);var f="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l0",v="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l1",h="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l2",g="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l3",y="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l4",b="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l5",S="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l6",w="pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l7";function i({className:a,children:o,...n}){return t.createElement(r.Box,{className:r.cl(w,a),...n},o)}r.Metadata.set(i,{name:"ActionBarAdditionalContent",props:{}});function c({className:a,children:o,clearSelected:n,itemsSelected:_,itemsSelectedLabel:B,clearSelectedLabel:A,...k}){const{t:l}=u.useWoodlandLanguage(),[C,E]=r.selectChildren(o,[{type:i}]);return Number(_)>0?t.createElement("div",{className:r.cl(f,a),...k},t.createElement("div",{className:v},C,t.createElement("div",{className:h},t.createElement("div",{className:g},t.createElement(m.Tag,{kind:"info",className:y},_),B??l("listActionBar.itemsSelected",{defaultValue:"Items Selected"})),t.createElement("div",{className:b},E),t.createElement("div",{className:S},t.createElement(d.Button,{title:l("listActionBar.clearSelected",{defaultValue:"Clear Selected"}),kind:"link",icon:"x",onPress:n},A??l("listActionBar.clearSelected",{defaultValue:"Clear Selected"})))))):t.createElement(t.Fragment,null)}r.Metadata.set(c,{name:"ActionBar",props:{clearSelected:{type:"() => void",required:!0},itemsSelected:{type:"number | string",required:!0},itemsSelectedLabel:{type:"string",required:!1},clearSelectedLabel:{type:"string",required:!1}}}),e.ActionBar=c,e.ActionBarAdditionalContent=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("react"),require("@sps-woodland/core/button"),require("@sps-woodland/core"),require("@sps-woodland/core/tag"),require("@spscommerce/i18n")):typeof define==`function`&&define.amd?define([`exports`,`react`,`@sps-woodland/core/button`,`@sps-woodland/core`,`@sps-woodland/core/tag`,`@spscommerce/i18n`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.ActionBar={},e.react,e.spsWoodlandCoreButton,e.spsWoodlandCore,e.spsWoodlandCoreTag,e.spscommerceI18n))})(this,function(e,t,n,r,i,a){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var o=Object.create,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=l(t),a=0,o=i.length,u;a<o;a++)u=i[a],!d.call(e,u)&&u!==n&&s(e,u,{get:(e=>t[e]).bind(null,u),enumerable:!(r=c(t,u))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:o(u(e)),f(t||!e||!e.__esModule||!d.call(e,`default`)?s(n,`default`,{value:e,enumerable:!0}):n,e)))(t,1);var p=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l0`,m=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l1`,h=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l2`,g=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l3`,_=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l4`,v=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l5`,y=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l6`,b=`pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l7`;function x({className:e,children:n,...i}){return t.createElement(r.Box,{className:(0,r.cl)(b,e),...i},n)}r.Metadata.set(x,{name:`ActionBarAdditionalContent`,props:{}});function S({className:e,children:o,clearSelected:s,itemsSelected:c,itemsSelectedLabel:l,clearSelectedLabel:u,...d}){let{t:f}=(0,a.useWoodlandLanguage)(),[b,S]=(0,r.selectChildren)(o,[{type:x}]);return Number(c)>0?t.createElement(`div`,{className:(0,r.cl)(p,e),...d},t.createElement(`div`,{className:m},b,t.createElement(`div`,{className:h},t.createElement(`div`,{className:g},t.createElement(i.Tag,{kind:`info`,className:_},c),l??f(`listActionBar.itemsSelected`,{defaultValue:`Items Selected`})),t.createElement(`div`,{className:v},S),t.createElement(`div`,{className:y},t.createElement(n.Button,{title:f(`listActionBar.clearSelected`,{defaultValue:`Clear Selected`}),kind:`link`,icon:`x`,onPress:s},u??f(`listActionBar.clearSelected`,{defaultValue:`Clear Selected`})))))):t.createElement(t.Fragment,null)}r.Metadata.set(S,{name:`ActionBar`,props:{clearSelected:{type:`() => void`,required:!0},itemsSelected:{type:`number | string`,required:!0},itemsSelectedLabel:{type:`string`,required:!1},clearSelectedLabel:{type:`string`,required:!1}}}),e.ActionBar=S,e.ActionBarAdditionalContent=x});
@@ -1 +1,2 @@
1
- .pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l0{background-color:#fff;display:flex;bottom:0;position:fixed;justify-content:center;left:0;right:0;padding:.5rem;box-shadow:0 0 .25rem .25rem #1f282c1a;z-index:99}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l1{display:flex;flex-direction:column;max-width:1280px;padding-left:1.25rem;padding-right:1.25rem;width:100%}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l2{height:2rem;display:flex;align-items:center;width:100%}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l3{flex:1}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l4{margin-right:.25rem}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l5{display:flex;flex:2;align-items:center;justify-content:center}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l6{flex:1;text-align:right}.pkg_sps-woodland_core__family_action-bar__version_8_56_2__hash_nz1a1l7{margin-bottom:.5rem}
1
+ .pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l0{z-index:99;background-color:#fff;justify-content:center;padding:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 0 .25rem .25rem #1f282c1a}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l1{flex-direction:column;width:100%;max-width:1280px;padding-left:1.25rem;padding-right:1.25rem;display:flex}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l2{align-items:center;width:100%;height:2rem;display:flex}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l3{flex:1}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l4{margin-right:.25rem}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l5{flex:2;justify-content:center;align-items:center;display:flex}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l6{text-align:right;flex:1}.pkg_sps-woodland_core__family_action-bar__version_8_56_4__hash_nz1a1l7{margin-bottom:.5rem}
2
+ /*$vite$:1*/