@sps-woodland/core 8.56.2 → 8.56.3

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.2/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,330 +1,419 @@
1
1
  import * as e from "react";
2
- import { Metadata as f, cl as s, selectChildren as Y, Icon as te, modChildren as re } from "@sps-woodland/core";
3
- import { Button as K } from "@sps-woodland/core/button";
4
- import { SpsTextInput as se, SpsCheckbox as le } from "@spscommerce/ds-react";
5
- import { useWoodlandLanguage as de } from "@spscommerce/i18n";
6
- import { SpsIcon as M, ButtonKind as z } from "@spscommerce/ds-shared";
7
- function ce(_, n, a) {
8
- return n in _ ? Object.defineProperty(_, n, {
9
- value: a,
10
- enumerable: !0,
11
- configurable: !0,
12
- writable: !0
13
- }) : _[n] = a, _;
2
+ import { Icon as t, Metadata as n, cl as r, modChildren as i, selectChildren as a } from "@sps-woodland/core";
3
+ import { Button as o } from "@sps-woodland/core/button";
4
+ import { SpsCheckbox as s, SpsTextInput as c } from "@spscommerce/ds-react";
5
+ import { useWoodlandLanguage as l } from "@spscommerce/i18n";
6
+ import { ButtonKind as u, SpsIcon as d } from "@spscommerce/ds-shared";
7
+ //#region ../../../node_modules/.pnpm/@vanilla-extract+recipes@0.2.5_@vanilla-extract+css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js
8
+ function f(e, t, n) {
9
+ return t in e ? Object.defineProperty(e, t, {
10
+ value: n,
11
+ enumerable: !0,
12
+ configurable: !0,
13
+ writable: !0
14
+ }) : e[t] = n, e;
14
15
  }
15
- function G(_, n) {
16
- var a = Object.keys(_);
17
- if (Object.getOwnPropertySymbols) {
18
- var o = Object.getOwnPropertySymbols(_);
19
- n && (o = o.filter(function(t) {
20
- return Object.getOwnPropertyDescriptor(_, t).enumerable;
21
- })), a.push.apply(a, o);
22
- }
23
- return a;
16
+ function p(e, t) {
17
+ var n = Object.keys(e);
18
+ if (Object.getOwnPropertySymbols) {
19
+ var r = Object.getOwnPropertySymbols(e);
20
+ t && (r = r.filter(function(t) {
21
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
22
+ })), n.push.apply(n, r);
23
+ }
24
+ return n;
24
25
  }
25
- function U(_) {
26
- for (var n = 1; n < arguments.length; n++) {
27
- var a = arguments[n] != null ? arguments[n] : {};
28
- n % 2 ? G(Object(a), !0).forEach(function(o) {
29
- ce(_, o, a[o]);
30
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(a)) : G(Object(a)).forEach(function(o) {
31
- Object.defineProperty(_, o, Object.getOwnPropertyDescriptor(a, o));
32
- });
33
- }
34
- return _;
26
+ function m(e) {
27
+ for (var t = 1; t < arguments.length; t++) {
28
+ var n = arguments[t] == null ? {} : arguments[t];
29
+ t % 2 ? p(Object(n), !0).forEach(function(t) {
30
+ f(e, t, n[t]);
31
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p(Object(n)).forEach(function(t) {
32
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
33
+ });
34
+ }
35
+ return e;
35
36
  }
36
- var ie = (_, n, a) => {
37
- for (var o of Object.keys(_)) {
38
- var t;
39
- if (_[o] !== ((t = n[o]) !== null && t !== void 0 ? t : a[o]))
40
- return !1;
41
- }
42
- return !0;
43
- }, i = (_) => (n) => {
44
- var a = _.defaultClassName, o = U(U({}, _.defaultVariants), n);
45
- for (var t in o) {
46
- var l, c = (l = o[t]) !== null && l !== void 0 ? l : _.defaultVariants[t];
47
- if (c != null) {
48
- var r = c;
49
- typeof r == "boolean" && (r = r === !0 ? "true" : "false");
50
- var y = (
51
- // @ts-expect-error
52
- _.variantClassNames[t][r]
53
- );
54
- y && (a += " " + y);
55
- }
56
- }
57
- for (var [u, h] of _.compoundVariants)
58
- ie(u, o, _.defaultVariants) && (a += " " + h);
59
- return a;
60
- }, pe = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr0", variantClassNames: { lean: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr1", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr2" }, borderless: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr3", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr4" }, wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr5", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr6" } }, defaultVariants: { lean: !1, borderless: !1, wrapContent: !1 }, compoundVariants: [] }), me = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr7", variantClassNames: { lean: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr8", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jr9" }, borderless: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jra", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jrb" }, wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jrc", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_gqq3jrd" } }, defaultVariants: { lean: !1, borderless: !1, wrapContent: !1 }, compoundVariants: [] });
61
- function m({
62
- children: _,
63
- className: n,
64
- borderless: a,
65
- lean: o,
66
- widthPx: t,
67
- widthRem: l,
68
- style: c,
69
- wrapContent: r = !1,
70
- __autoLayout: y = !1,
71
- ...u
72
- }) {
73
- const h = t ? t / 16 : l, w = h ? {
74
- ...c,
75
- width: `${h}rem`
76
- } : c;
77
- return y ? /* @__PURE__ */ e.createElement(
78
- "td",
79
- {
80
- className: s(me({ lean: o, borderless: a, wrapContent: r }), n),
81
- ...u,
82
- style: w
83
- },
84
- _
85
- ) : /* @__PURE__ */ e.createElement(
86
- "div",
87
- {
88
- className: s(pe({ lean: o, borderless: a, wrapContent: r }), n),
89
- ...u,
90
- style: w
91
- },
92
- _
93
- );
94
- }
95
- f.set(m, {
96
- name: "Content Row Col",
97
- props: {
98
- borderless: { type: "boolean" },
99
- lean: { type: "boolean" },
100
- widthPx: { type: "number" },
101
- widthRem: { type: "number" },
102
- wrapContent: { type: "boolean" }
103
- }
37
+ var h = (e, t, n) => {
38
+ for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
39
+ return !0;
40
+ }, g = (e) => (t) => {
41
+ var n = e.defaultClassName, r = m(m({}, e.defaultVariants), t);
42
+ for (var i in r) {
43
+ var a = r[i] ?? e.defaultVariants[i];
44
+ if (a != null) {
45
+ var o = a;
46
+ typeof o == "boolean" && (o = o === !0 ? "true" : "false");
47
+ var s = e.variantClassNames[i][o];
48
+ s && (n += " " + s);
49
+ }
50
+ }
51
+ for (var [c, l] of e.compoundVariants) h(c, r, e.defaultVariants) && (n += " " + l);
52
+ return n;
53
+ }, _ = g({
54
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr0",
55
+ variantClassNames: {
56
+ lean: {
57
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr1",
58
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr2"
59
+ },
60
+ borderless: {
61
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr3",
62
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr4"
63
+ },
64
+ wrapContent: {
65
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr5",
66
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr6"
67
+ }
68
+ },
69
+ defaultVariants: {
70
+ lean: !1,
71
+ borderless: !1,
72
+ wrapContent: !1
73
+ },
74
+ compoundVariants: []
75
+ }), v = g({
76
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr7",
77
+ variantClassNames: {
78
+ lean: {
79
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr8",
80
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jr9"
81
+ },
82
+ borderless: {
83
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jra",
84
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jrb"
85
+ },
86
+ wrapContent: {
87
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jrc",
88
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_gqq3jrd"
89
+ }
90
+ },
91
+ defaultVariants: {
92
+ lean: !1,
93
+ borderless: !1,
94
+ wrapContent: !1
95
+ },
96
+ compoundVariants: []
104
97
  });
105
- var fe = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv4", variantClassNames: { expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv5", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv6" } }, defaultVariants: { expanded: !1 }, compoundVariants: [] }), ue = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv7", variantClassNames: { cardSpacing: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv8", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv9" }, expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhva", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvb" }, selected: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvc", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvd" }, reorderable: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhve", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvf" } }, defaultVariants: { expanded: !1, selected: !1, cardSpacing: !1 }, compoundVariants: [[{ expanded: !0, cardSpacing: !0 }, "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvg"]] }), he = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvh", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvi", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvj" }, expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvk", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvl" } }, defaultVariants: { selected: !1, expanded: !1 }, compoundVariants: [] }), we = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvm", ve = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvn", ye = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvo", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvp", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvq" } }, defaultVariants: {}, compoundVariants: [] }), J = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvr", variantClassNames: { __autoLayout: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvs", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvt" } }, defaultVariants: { __autoLayout: !1 }, compoundVariants: [] }), N = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvu", ge = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvv", Q = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvw", variantClassNames: { reorderable: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvx", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvy" } }, defaultVariants: { reorderable: !1 }, compoundVariants: [] }), xe = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhvz", Ce = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv10", be = "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv11", X = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv12", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv13", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv14" }, up: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv15", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv16" }, down: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv17", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_1m5rxhv18" } }, defaultVariants: { disabled: !1, up: !1, down: !1 }, compoundVariants: [] });
106
- function Z({
107
- children: _,
108
- className: n,
109
- __autoLayout: a = !1,
110
- ...o
111
- }) {
112
- return a ? /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement(
113
- "td",
114
- {
115
- className: s(J({ __autoLayout: a }), n),
116
- colSpan: 100,
117
- ...o
118
- },
119
- _
120
- )) : /* @__PURE__ */ e.createElement("div", { className: s(J({ __autoLayout: a }), n), ...o }, _);
98
+ //#endregion
99
+ //#region src/content-row/content-row-col/ContentRowCol.tsx
100
+ function y({ children: t, className: n, borderless: i, lean: a, widthPx: o, widthRem: s, style: c, wrapContent: l = !1, __autoLayout: u = !1, ...d }) {
101
+ let f = o ? o / 16 : s, p = f ? {
102
+ ...c,
103
+ width: `${f}rem`
104
+ } : c;
105
+ return u ? /* @__PURE__ */ e.createElement("td", {
106
+ className: r(v({
107
+ lean: a,
108
+ borderless: i,
109
+ wrapContent: l
110
+ }), n),
111
+ ...d,
112
+ style: p
113
+ }, t) : /* @__PURE__ */ e.createElement("div", {
114
+ className: r(_({
115
+ lean: a,
116
+ borderless: i,
117
+ wrapContent: l
118
+ }), n),
119
+ ...d,
120
+ style: p
121
+ }, t);
121
122
  }
122
- f.set(Z, {
123
- name: "Content Row Expansion"
123
+ n.set(y, {
124
+ name: "Content Row Col",
125
+ props: {
126
+ borderless: { type: "boolean" },
127
+ lean: { type: "boolean" },
128
+ widthPx: { type: "number" },
129
+ widthRem: { type: "number" },
130
+ wrapContent: { type: "boolean" }
131
+ }
132
+ });
133
+ //#endregion
134
+ //#region src/content-row/content-row/ContentRow.css.ts
135
+ var ee = g({
136
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv4",
137
+ variantClassNames: { expanded: {
138
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv5",
139
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv6"
140
+ } },
141
+ defaultVariants: { expanded: !1 },
142
+ compoundVariants: []
143
+ }), te = g({
144
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv7",
145
+ variantClassNames: {
146
+ cardSpacing: {
147
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv8",
148
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv9"
149
+ },
150
+ expanded: {
151
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhva",
152
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvb"
153
+ },
154
+ selected: {
155
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvc",
156
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvd"
157
+ },
158
+ reorderable: {
159
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhve",
160
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvf"
161
+ }
162
+ },
163
+ defaultVariants: {
164
+ expanded: !1,
165
+ selected: !1,
166
+ cardSpacing: !1
167
+ },
168
+ compoundVariants: [[{
169
+ expanded: !0,
170
+ cardSpacing: !0
171
+ }, "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvg"]]
172
+ }), ne = g({
173
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvh",
174
+ variantClassNames: {
175
+ selected: {
176
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvi",
177
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvj"
178
+ },
179
+ expanded: {
180
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvk",
181
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvl"
182
+ }
183
+ },
184
+ defaultVariants: {
185
+ selected: !1,
186
+ expanded: !1
187
+ },
188
+ compoundVariants: []
189
+ }), re = "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvm", ie = "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvn", b = g({
190
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvo",
191
+ variantClassNames: { disabled: {
192
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvp",
193
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvq"
194
+ } },
195
+ defaultVariants: {},
196
+ compoundVariants: []
197
+ }), x = g({
198
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvr",
199
+ variantClassNames: { __autoLayout: {
200
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvs",
201
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvt"
202
+ } },
203
+ defaultVariants: { __autoLayout: !1 },
204
+ compoundVariants: []
205
+ }), ae = "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvv", S = g({
206
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvw",
207
+ variantClassNames: { reorderable: {
208
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvx",
209
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvy"
210
+ } },
211
+ defaultVariants: { reorderable: !1 },
212
+ compoundVariants: []
213
+ }), C = "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvz", oe = "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv10", w = "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv11", T = g({
214
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv12",
215
+ variantClassNames: {
216
+ disabled: {
217
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv13",
218
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv14"
219
+ },
220
+ up: {
221
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv15",
222
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv16"
223
+ },
224
+ down: {
225
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv17",
226
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhv18"
227
+ }
228
+ },
229
+ defaultVariants: {
230
+ disabled: !1,
231
+ up: !1,
232
+ down: !1
233
+ },
234
+ compoundVariants: []
124
235
  });
125
- function ke({
126
- children: _,
127
- className: n,
128
- alternateLayout: a = !1,
129
- initiallyExpanded: o = !1,
130
- cardSpacing: t = !1,
131
- expanded: l,
132
- onBeforeCollapsed: c,
133
- onBeforeExpanded: r,
134
- onSelectionChange: y,
135
- onCollapsed: u,
136
- onExpanded: h,
137
- selectable: w = !1,
138
- selected: q,
139
- selectIndeterminate: S,
140
- renderExpandedContent: V = !0,
141
- disableSelection: $ = !1,
142
- disableExpansion: O = !1,
143
- hideExpansionControl: b = !1,
144
- __autoLayout: P = !1,
145
- __reorderable: C = !1,
146
- __onOrderChange: k = () => {
147
- },
148
- __index: d = 0,
149
- __canBeMovedUp: I,
150
- __canBeMovedDown: L,
151
- ...H
152
- }) {
153
- const [T, [g]] = Y(_, [
154
- { type: m },
155
- { type: Z }
156
- ]), { t: ee } = de(), [_e, B] = e.useState(
157
- V || o
158
- ), [ae, W] = e.useState(o), p = typeof l == "boolean" ? l : ae, A = P ? p : _e, [R, j] = e.useState((d + 1).toString() || "");
159
- e.useEffect(() => {
160
- j((d + 1).toString() || "");
161
- }, [d]);
162
- function oe(v) {
163
- j(v.target.value);
164
- }
165
- function D() {
166
- Number(R) ? k(d, Number(R) - 1) : (j((d + 1).toString() || ""), k(d, d));
167
- }
168
- function ne(v) {
169
- v.stopPropagation(), p && (!c || c()) ? (W(!1), V || B(!1), u && u()) : !p && (!r || r()) && (W(!0), V || B(!0), h && h());
170
- }
171
- const x = () => /* @__PURE__ */ e.createElement(
172
- le,
173
- {
174
- disabled: $,
175
- checked: q,
176
- indeterminate: S,
177
- onChange: y
178
- }
179
- ), E = /* @__PURE__ */ e.createElement(
180
- "button",
181
- {
182
- type: "button",
183
- className: s(ve),
184
- onClick: ne,
185
- "aria-label": ee(`contentRow.${p ? "collapse" : "expand"}`, { defaultValue: `${p ? "Collapse" : "Expand"}` }),
186
- disabled: O
187
- },
188
- /* @__PURE__ */ e.createElement(
189
- te,
190
- {
191
- className: s(ye({ disabled: O })),
192
- icon: p ? "minus-circle" : "plus-circle"
193
- }
194
- )
195
- );
196
- if (P) {
197
- const v = /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", { className: s(we), colSpan: 100 }));
198
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
199
- "tr",
200
- {
201
- className: s(
202
- he({ selected: q || S, expanded: p })
203
- ),
204
- ...H
205
- },
206
- w && !a && /* @__PURE__ */ e.createElement(m, { widthPx: 46, __autoLayout: !0 }, /* @__PURE__ */ e.createElement(x, null)),
207
- g && !a && !b && /* @__PURE__ */ e.createElement(m, { widthPx: 44, __autoLayout: !0 }, E),
208
- g && w && a && /* @__PURE__ */ e.createElement(m, { widthPx: 46, __autoLayout: !0 }, b ? /* @__PURE__ */ e.createElement(x, null) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("section", { className: N }, /* @__PURE__ */ e.createElement(x, null)), /* @__PURE__ */ e.createElement("section", { className: N }, E))),
209
- T
210
- ), A && g, v);
211
- }
212
- const F = /* @__PURE__ */ e.createElement("div", { className: s(fe({ expanded: p }), n), ...H }, /* @__PURE__ */ e.createElement(
213
- "div",
214
- {
215
- className: s(
216
- ue({
217
- expanded: p,
218
- selected: q,
219
- cardSpacing: t,
220
- reorderable: C
221
- })
222
- )
223
- },
224
- C && /* @__PURE__ */ e.createElement(m, { widthPx: 53, style: { position: "relative" } }, /* @__PURE__ */ e.createElement("section", { className: Q({ reorderable: C }) }, /* @__PURE__ */ e.createElement(
225
- K,
226
- {
227
- className: X({
228
- up: !0,
229
- disabled: !I
230
- }),
231
- kind: z.ICON,
232
- icon: M.CHEVRON_UP,
233
- onClick: () => k(d, d - 1),
234
- disabled: !I
235
- }
236
- )), /* @__PURE__ */ e.createElement("section", { className: Q({ reorderable: C }) }, /* @__PURE__ */ e.createElement(
237
- K,
238
- {
239
- className: X({
240
- down: !0,
241
- disabled: !L
242
- }),
243
- kind: z.ICON,
244
- icon: M.CHEVRON_DOWN,
245
- onClick: () => k(d, d + 1),
246
- disabled: !L
247
- }
248
- ))),
249
- w && !a && /* @__PURE__ */ e.createElement(m, { widthPx: 46 }, /* @__PURE__ */ e.createElement(x, null)),
250
- g && !a && !b && /* @__PURE__ */ e.createElement(m, { widthPx: 44 }, E),
251
- g && w && a && /* @__PURE__ */ e.createElement(m, { widthPx: 46 }, b ? /* @__PURE__ */ e.createElement(x, null) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("section", { className: N }, /* @__PURE__ */ e.createElement(x, null)), /* @__PURE__ */ e.createElement("section", { className: N }, E))),
252
- T
253
- ), A && g);
254
- return C ? /* @__PURE__ */ e.createElement("div", { className: ge }, /* @__PURE__ */ e.createElement("div", { className: s(xe, n) }, /* @__PURE__ */ e.createElement("div", { className: Ce }, /* @__PURE__ */ e.createElement(
255
- se,
256
- {
257
- className: be,
258
- value: R,
259
- onChange: oe,
260
- onBlur: () => D(),
261
- onKeyUp: (v) => {
262
- v.key === "Enter" && D();
263
- },
264
- notClearable: !0
265
- }
266
- ))), F) : F;
236
+ //#endregion
237
+ //#region src/content-row/content-row-expansion/ContentRowExpansion.tsx
238
+ function E({ children: t, className: n, __autoLayout: i = !1, ...a }) {
239
+ return i ? /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", {
240
+ className: r(x({ __autoLayout: i }), n),
241
+ colSpan: 100,
242
+ ...a
243
+ }, t)) : /* @__PURE__ */ e.createElement("div", {
244
+ className: r(x({ __autoLayout: i }), n),
245
+ ...a
246
+ }, t);
247
+ }
248
+ n.set(E, { name: "Content Row Expansion" });
249
+ //#endregion
250
+ //#region src/content-row/content-row/ContentRow.tsx
251
+ function D({ children: n, className: i, alternateLayout: f = !1, initiallyExpanded: p = !1, cardSpacing: m = !1, expanded: h, onBeforeCollapsed: g, onBeforeExpanded: _, onSelectionChange: v, onCollapsed: x, onExpanded: D, selectable: O = !1, selected: k, selectIndeterminate: A, renderExpandedContent: j = !0, disableSelection: M = !1, disableExpansion: N = !1, hideExpansionControl: P = !1, __autoLayout: F = !1, __reorderable: I = !1, __onOrderChange: L = () => {}, __index: R = 0, __canBeMovedUp: z, __canBeMovedDown: B, ...V }) {
252
+ let [H, [U]] = a(n, [{ type: y }, { type: E }]), { t: se } = l(), [ce, W] = e.useState(j || p), [le, G] = e.useState(p), K = typeof h == "boolean" ? h : le, q = F ? K : ce, [J, Y] = e.useState((R + 1).toString() || "");
253
+ e.useEffect(() => {
254
+ Y((R + 1).toString() || "");
255
+ }, [R]);
256
+ function ue(e) {
257
+ Y(e.target.value);
258
+ }
259
+ function X() {
260
+ Number(J) ? L(R, Number(J) - 1) : (Y((R + 1).toString() || ""), L(R, R));
261
+ }
262
+ function de(e) {
263
+ e.stopPropagation(), K && (!g || g()) ? (G(!1), j || W(!1), x && x()) : !K && (!_ || _()) && (G(!0), j || W(!0), D && D());
264
+ }
265
+ let Z = () => /* @__PURE__ */ e.createElement(s, {
266
+ disabled: M,
267
+ checked: k,
268
+ indeterminate: A,
269
+ onChange: v
270
+ }), Q = /* @__PURE__ */ e.createElement("button", {
271
+ type: "button",
272
+ className: r(ie),
273
+ onClick: de,
274
+ "aria-label": se(`contentRow.${K ? "collapse" : "expand"}`, { defaultValue: `${K ? "Collapse" : "Expand"}` }),
275
+ disabled: N
276
+ }, /* @__PURE__ */ e.createElement(t, {
277
+ className: r(b({ disabled: N })),
278
+ icon: K ? "minus-circle" : "plus-circle"
279
+ }));
280
+ if (F) {
281
+ let t = /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", {
282
+ className: r(re),
283
+ colSpan: 100
284
+ }));
285
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("tr", {
286
+ className: r(ne({
287
+ selected: k || A,
288
+ expanded: K
289
+ })),
290
+ ...V
291
+ }, O && !f && /* @__PURE__ */ e.createElement(y, {
292
+ widthPx: 46,
293
+ __autoLayout: !0
294
+ }, /* @__PURE__ */ e.createElement(Z, null)), U && !f && !P && /* @__PURE__ */ e.createElement(y, {
295
+ widthPx: 44,
296
+ __autoLayout: !0
297
+ }, Q), U && O && f && /* @__PURE__ */ e.createElement(y, {
298
+ widthPx: 46,
299
+ __autoLayout: !0
300
+ }, P ? /* @__PURE__ */ e.createElement(Z, null) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvu" }, /* @__PURE__ */ e.createElement(Z, null)), /* @__PURE__ */ e.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvu" }, Q))), H), q && U, t);
301
+ }
302
+ let $ = /* @__PURE__ */ e.createElement("div", {
303
+ className: r(ee({ expanded: K }), i),
304
+ ...V
305
+ }, /* @__PURE__ */ e.createElement("div", { className: r(te({
306
+ expanded: K,
307
+ selected: k,
308
+ cardSpacing: m,
309
+ reorderable: I
310
+ })) }, I && /* @__PURE__ */ e.createElement(y, {
311
+ widthPx: 53,
312
+ style: { position: "relative" }
313
+ }, /* @__PURE__ */ e.createElement("section", { className: S({ reorderable: I }) }, /* @__PURE__ */ e.createElement(o, {
314
+ className: T({
315
+ up: !0,
316
+ disabled: !z
317
+ }),
318
+ kind: u.ICON,
319
+ icon: d.CHEVRON_UP,
320
+ onClick: () => L(R, R - 1),
321
+ disabled: !z
322
+ })), /* @__PURE__ */ e.createElement("section", { className: S({ reorderable: I }) }, /* @__PURE__ */ e.createElement(o, {
323
+ className: T({
324
+ down: !0,
325
+ disabled: !B
326
+ }),
327
+ kind: u.ICON,
328
+ icon: d.CHEVRON_DOWN,
329
+ onClick: () => L(R, R + 1),
330
+ disabled: !B
331
+ }))), O && !f && /* @__PURE__ */ e.createElement(y, { widthPx: 46 }, /* @__PURE__ */ e.createElement(Z, null)), U && !f && !P && /* @__PURE__ */ e.createElement(y, { widthPx: 44 }, Q), U && O && f && /* @__PURE__ */ e.createElement(y, { widthPx: 46 }, P ? /* @__PURE__ */ e.createElement(Z, null) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvu" }, /* @__PURE__ */ e.createElement(Z, null)), /* @__PURE__ */ e.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_1m5rxhvu" }, Q))), H), q && U);
332
+ return I ? /* @__PURE__ */ e.createElement("div", { className: ae }, /* @__PURE__ */ e.createElement("div", { className: r(C, i) }, /* @__PURE__ */ e.createElement("div", { className: oe }, /* @__PURE__ */ e.createElement(c, {
333
+ className: w,
334
+ value: J,
335
+ onChange: ue,
336
+ onBlur: () => X(),
337
+ onKeyUp: (e) => {
338
+ e.key === "Enter" && X();
339
+ },
340
+ notClearable: !0
341
+ }))), $) : $;
267
342
  }
268
- f.set(ke, {
269
- name: "Content Row",
270
- props: {
271
- alternateLayout: { type: "boolean", default: "false" },
272
- initiallyExpanded: { type: "boolean", default: "false" },
273
- cardSpacing: { type: "boolean", default: "false" },
274
- expanded: { type: "boolean" },
275
- onBeforeCollapsed: { type: "() => boolean" },
276
- onBeforeExpanded: { type: "() => boolean" },
277
- onSelectionChange: { type: "ChangeEventHandler" },
278
- onCollapsed: { type: "() => void" },
279
- onExpanded: { type: "() => void" },
280
- selectable: { type: "boolean", default: "false" },
281
- selected: { type: "boolean" },
282
- renderExpandedContent: { type: "boolean", default: "true" },
283
- disableSelection: { type: "boolean", default: "false" },
284
- disableExpansion: { type: "boolean", default: "false" },
285
- hideExpansionControl: { type: "boolean", default: "false" }
286
- }
343
+ n.set(D, {
344
+ name: "Content Row",
345
+ props: {
346
+ alternateLayout: {
347
+ type: "boolean",
348
+ default: "false"
349
+ },
350
+ initiallyExpanded: {
351
+ type: "boolean",
352
+ default: "false"
353
+ },
354
+ cardSpacing: {
355
+ type: "boolean",
356
+ default: "false"
357
+ },
358
+ expanded: { type: "boolean" },
359
+ onBeforeCollapsed: { type: "() => boolean" },
360
+ onBeforeExpanded: { type: "() => boolean" },
361
+ onSelectionChange: { type: "ChangeEventHandler" },
362
+ onCollapsed: { type: "() => void" },
363
+ onExpanded: { type: "() => void" },
364
+ selectable: {
365
+ type: "boolean",
366
+ default: "false"
367
+ },
368
+ selected: { type: "boolean" },
369
+ renderExpandedContent: {
370
+ type: "boolean",
371
+ default: "true"
372
+ },
373
+ disableSelection: {
374
+ type: "boolean",
375
+ default: "false"
376
+ },
377
+ disableExpansion: {
378
+ type: "boolean",
379
+ default: "false"
380
+ },
381
+ hideExpansionControl: {
382
+ type: "boolean",
383
+ default: "false"
384
+ }
385
+ }
287
386
  });
288
- var Ee = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_14j3gmi0", variantClassNames: { wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_14j3gmi1", false: "pkg_sps-woodland_core__family_content-row__version_8_56_2__hash_14j3gmi2" } }, defaultVariants: { wrapContent: !1 }, compoundVariants: [] });
289
- const Ne = /* @__PURE__ */ new Set([
290
- "Content Row",
291
- "Content Row Col",
292
- "Content Row Expansion",
293
- "Sorting Header",
294
- "Sorting Header Cell"
387
+ //#endregion
388
+ //#region src/content-row/row-list-auto-layout/RowListAutoLayout.css.ts
389
+ var O = g({
390
+ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_14j3gmi0",
391
+ variantClassNames: { wrapContent: {
392
+ true: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_14j3gmi1",
393
+ false: "pkg_sps-woodland_core__family_content-row__version_8_56_3__hash_14j3gmi2"
394
+ } },
395
+ defaultVariants: { wrapContent: !1 },
396
+ compoundVariants: []
397
+ }), k = /* @__PURE__ */ new Set([
398
+ "Content Row",
399
+ "Content Row Col",
400
+ "Content Row Expansion",
401
+ "Sorting Header",
402
+ "Sorting Header Cell"
295
403
  ]);
296
- function qe({
297
- children: _,
298
- className: n,
299
- wrapContent: a = !1,
300
- ...o
301
- }) {
302
- const t = e.useMemo(
303
- () => re(_, (r) => f.isWoodlandComponent(r.type) && Ne.has(f.get(r.type).name) ? [
304
- {
305
- __autoLayout: !0
306
- }
307
- ] : [{}]),
308
- [_]
309
- ), [[l], c] = e.useMemo(
310
- () => Y(t, [
311
- {
312
- type: (r) => !!(f.isWoodlandComponent(r.type) && f.get(r.type).name === "Sorting Header")
313
- }
314
- ]),
315
- [t]
316
- );
317
- return /* @__PURE__ */ e.createElement("table", { className: s(Ee({ wrapContent: a }), n), ...o }, l ? /* @__PURE__ */ e.createElement("thead", null, l) : null, /* @__PURE__ */ e.createElement("tbody", null, c));
404
+ function A({ children: t, className: o, wrapContent: s = !1, ...c }) {
405
+ let l = e.useMemo(() => i(t, (e) => n.isWoodlandComponent(e.type) && k.has(n.get(e.type).name) ? [{ __autoLayout: !0 }] : [{}]), [t]), [[u], d] = e.useMemo(() => a(l, [{ type: (e) => !!(n.isWoodlandComponent(e.type) && n.get(e.type).name === "Sorting Header") }]), [l]);
406
+ return /* @__PURE__ */ e.createElement("table", {
407
+ className: r(O({ wrapContent: s }), o),
408
+ ...c
409
+ }, u ? /* @__PURE__ */ e.createElement("thead", null, u) : null, /* @__PURE__ */ e.createElement("tbody", null, d));
318
410
  }
319
- f.set(qe, {
320
- name: "Row List Auto Layout",
321
- props: {
322
- wrapContent: { type: "boolean", default: "false" }
323
- }
411
+ n.set(A, {
412
+ name: "Row List Auto Layout",
413
+ props: { wrapContent: {
414
+ type: "boolean",
415
+ default: "false"
416
+ } }
324
417
  });
325
- export {
326
- ke as ContentRow,
327
- m as ContentRowCol,
328
- Z as ContentRowExpansion,
329
- qe as RowListAutoLayout
330
- };
418
+ //#endregion
419
+ export { D as ContentRow, y as ContentRowCol, E as ContentRowExpansion, A as RowListAutoLayout };