@sps-woodland/core 8.56.1 → 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 (289) 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.css.d.ts.map +1 -1
  8. package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -1
  9. package/lib/add-to-list/add-to-list/AddToList.js +220 -295
  10. package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
  11. package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -1
  12. package/lib/add-to-list/add-to-list/ItemsList.js +42 -66
  13. package/lib/add-to-list/add-to-list/ListItem.js +24 -50
  14. package/lib/add-to-list/index.js +393 -444
  15. package/lib/add-to-list/index.umd.cjs +1 -1
  16. package/lib/add-to-list/style.css +2 -1
  17. package/lib/buttons/button/Button.css.d.ts.map +1 -1
  18. package/lib/buttons/button/Button.js +95 -121
  19. package/lib/buttons/button/Button.ve.js +150 -9
  20. package/lib/buttons/index.js +281 -171
  21. package/lib/buttons/index.umd.cjs +1 -1
  22. package/lib/buttons/style.css +2 -1
  23. package/lib/cards/card/Card.css.d.ts.map +1 -1
  24. package/lib/cards/card/Card.js +19 -27
  25. package/lib/cards/card/Card.ve.js +4 -4
  26. package/lib/cards/card-footer/CardFooter.js +12 -13
  27. package/lib/cards/card-footer/CardFooter.ve.js +4 -4
  28. package/lib/cards/card-header/CardHeader.js +12 -13
  29. package/lib/cards/card-header/CardHeader.ve.js +4 -4
  30. package/lib/cards/card-title/CardTitle.js +11 -12
  31. package/lib/cards/card-title/CardTitle.ve.js +4 -4
  32. package/lib/cards/index.js +52 -52
  33. package/lib/cards/index.umd.cjs +1 -1
  34. package/lib/cards/style.css +2 -1
  35. package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -1
  36. package/lib/column-manager/column-manager/ColumnManager.js +95 -112
  37. package/lib/column-manager/column-manager/useColumnManager.js +59 -48
  38. package/lib/column-manager/index.js +2 -5
  39. package/lib/components/icon/Icon.ve.js +15 -5
  40. package/lib/components/icon/icons/sprite.svg.js +4 -4
  41. package/lib/content-row/content-row/ContentRow.js +146 -173
  42. package/lib/content-row/content-row/ContentRow.ve.js +105 -18
  43. package/lib/content-row/content-row-col/ContentRowCol.js +37 -48
  44. package/lib/content-row/content-row-col/ContentRowCol.ve.js +49 -6
  45. package/lib/content-row/content-row-expansion/ContentRowExpansion.js +16 -24
  46. package/lib/content-row/index.js +407 -318
  47. package/lib/content-row/index.umd.cjs +1 -1
  48. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +24 -39
  49. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +13 -5
  50. package/lib/content-row/style.css +2 -1
  51. package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +1 -1
  52. package/lib/content-tiles/content-tile/ContentTile.js +71 -60
  53. package/lib/content-tiles/content-tile/ContentTile.ve.js +36 -14
  54. package/lib/content-tiles/content-tile-list/ContentTileList.js +12 -13
  55. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +4 -5
  56. package/lib/content-tiles/index.js +156 -118
  57. package/lib/content-tiles/index.umd.cjs +1 -1
  58. package/lib/content-tiles/style.css +2 -1
  59. package/lib/core.css +2 -1
  60. package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +1 -1
  61. package/lib/dropdowns/dropdown/Dropdown.js +56 -68
  62. package/lib/dropdowns/dropdown/Dropdown.ve.js +37 -8
  63. package/lib/dropdowns/index.js +171 -171
  64. package/lib/dropdowns/index.umd.cjs +1 -1
  65. package/lib/dropdowns/option-list/Option.css.d.ts.map +1 -1
  66. package/lib/dropdowns/option-list/Option.js +14 -18
  67. package/lib/dropdowns/option-list/Option.ve.js +4 -5
  68. package/lib/dropdowns/option-list/OptionList.js +28 -44
  69. package/lib/dropdowns/option-list/OptionList.ve.js +4 -5
  70. package/lib/dropdowns/style.css +2 -1
  71. package/lib/editable-table/EditableTable.js +68 -85
  72. package/lib/editable-table/index.js +1 -4
  73. package/lib/feedback-block/FeedbackBlock.js +40 -35
  74. package/lib/feedback-block/FeedbackBlock.ve.js +56 -7
  75. package/lib/feedback-block/index.js +132 -85
  76. package/lib/feedback-block/index.umd.cjs +1 -1
  77. package/lib/feedback-block/style.css +2 -1
  78. package/lib/file-upload/file-upload/FileUpload.js +164 -202
  79. package/lib/file-upload/file-upload/FileUpload.ve.js +84 -18
  80. package/lib/file-upload/file-upload/mime-type.enum.js +106 -106
  81. package/lib/file-upload/index.js +390 -353
  82. package/lib/file-upload/index.umd.cjs +1 -1
  83. package/lib/file-upload/style.css +2 -1
  84. package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +1 -1
  85. package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -1
  86. package/lib/filter-tiles/filter-tile/FilterTile.js +41 -33
  87. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +51 -9
  88. package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +12 -15
  89. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +4 -4
  90. package/lib/filter-tiles/index.js +142 -94
  91. package/lib/filter-tiles/index.umd.cjs +1 -1
  92. package/lib/filter-tiles/style.css +2 -1
  93. package/lib/focused-task/focused-task/FocusedTask.js +52 -74
  94. package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -12
  95. package/lib/focused-task/focused-task/useFocusedTask.js +20 -18
  96. package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +12 -13
  97. package/lib/focused-task/index.js +127 -144
  98. package/lib/focused-task/index.umd.cjs +1 -1
  99. package/lib/focused-task/style.css +2 -1
  100. package/lib/growler/Growler.js +78 -90
  101. package/lib/growler/Growler.ve.js +23 -12
  102. package/lib/growler/GrowlerListProvider.js +38 -39
  103. package/lib/growler/Sonner.ve.js +17 -12
  104. package/lib/growler/index.js +249 -274
  105. package/lib/growler/index.umd.cjs +1 -1
  106. package/lib/growler/sonner.js +73 -102
  107. package/lib/growler/style.css +2 -1
  108. package/lib/index.js +520 -501
  109. package/lib/index.umd.cjs +4 -4
  110. package/lib/insight-card/InsightCard.js +90 -84
  111. package/lib/insight-card/InsightCard.ve.js +148 -15
  112. package/lib/insight-card/InsightCardSet.js +12 -12
  113. package/lib/insight-card/index.js +269 -141
  114. package/lib/insight-card/index.umd.cjs +1 -1
  115. package/lib/insight-card/style.css +2 -1
  116. package/lib/key-value-set/index.js +97 -87
  117. package/lib/key-value-set/index.umd.cjs +1 -1
  118. package/lib/key-value-set/key-value-set/KeyValueSet.js +17 -21
  119. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +10 -5
  120. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +25 -21
  121. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +13 -6
  122. package/lib/key-value-set/style.css +2 -1
  123. package/lib/list-bar/advanced-search/AdvancedSearch.js +51 -54
  124. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +30 -8
  125. package/lib/list-bar/index.js +305 -301
  126. package/lib/list-bar/index.umd.cjs +1 -1
  127. package/lib/list-bar/list-bar/InputGroupWrapper.js +10 -19
  128. package/lib/list-bar/list-bar/ListBar.js +105 -121
  129. package/lib/list-bar/list-bar/ListBar.ve.js +13 -17
  130. package/lib/list-bar/list-bar/ListBarSearch.js +20 -21
  131. package/lib/list-bar/list-bar/ListBarSearchInfo.js +8 -12
  132. package/lib/list-bar/list-bar/ListBarSortBy.js +28 -38
  133. package/lib/list-bar/search-results-bar/SearchResultsBar.js +38 -28
  134. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +4 -11
  135. package/lib/list-bar/style.css +2 -1
  136. package/lib/matrix/index.js +79 -87
  137. package/lib/matrix/index.umd.cjs +1 -1
  138. package/lib/matrix/matrix/Matrix.js +18 -26
  139. package/lib/matrix/matrix/Matrix.ve.js +4 -7
  140. package/lib/matrix/matrix-body/MatrixBody.js +10 -13
  141. package/lib/matrix/matrix-cell/MatrixCell.js +23 -18
  142. package/lib/matrix/matrix-head/MatrixHead.js +10 -13
  143. package/lib/matrix/matrix-header/MatrixHeader.js +20 -23
  144. package/lib/matrix/matrix-row/MatrixRow.js +10 -13
  145. package/lib/matrix/style.css +2 -1
  146. package/lib/modal/index.js +197 -187
  147. package/lib/modal/index.umd.cjs +1 -1
  148. package/lib/modal/modal/Modal.js +90 -108
  149. package/lib/modal/modal/Modal.ve.js +43 -13
  150. package/lib/modal/modal/useModal.js +19 -24
  151. package/lib/modal/modal-footer/ModalFooter.js +11 -12
  152. package/lib/modal/style.css +2 -1
  153. 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
  154. package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +8 -10
  155. package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +4 -4
  156. package/lib/page-title/heading-level/HeadingLevel.js +8 -12
  157. package/lib/page-title/index.js +33 -40
  158. package/lib/page-title/index.umd.cjs +1 -1
  159. package/lib/page-title/page-subtitle/PageSubtitle.js +13 -18
  160. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +4 -5
  161. package/lib/page-title/page-title/PageTitle.js +15 -19
  162. package/lib/page-title/page-title/PageTitle.ve.js +4 -7
  163. package/lib/page-title/style.css +2 -1
  164. package/lib/photo/index.js +174 -173
  165. package/lib/photo/index.umd.cjs +1 -1
  166. package/lib/photo/photo/Photo.js +72 -81
  167. package/lib/photo/photo/Photo.ve.js +21 -7
  168. package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +1 -1
  169. package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -1
  170. package/lib/photo/photo-carousel/PhotoCarousel.js +36 -47
  171. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +13 -9
  172. package/lib/photo/style.css +2 -1
  173. package/lib/product-bar/hooks/usePriorityPlus.js +88 -104
  174. package/lib/product-bar/index.js +372 -395
  175. package/lib/product-bar/index.umd.cjs +1 -1
  176. package/lib/product-bar/product-bar/ProductBar.js +77 -103
  177. package/lib/product-bar/product-bar/ProductBar.ve.js +46 -15
  178. package/lib/product-bar/product-bar-name/ProductBarName.js +37 -40
  179. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +48 -70
  180. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +4 -8
  181. package/lib/product-bar/product-bar-tab/ProductBarTab.js +28 -26
  182. package/lib/product-bar/slack-link/SlackLink.js +26 -30
  183. package/lib/product-bar/slack-link/SlackLink.ve.js +4 -5
  184. package/lib/product-bar/style.css +2 -1
  185. package/lib/product-bar-vertical/index.js +240 -251
  186. package/lib/product-bar-vertical/index.umd.cjs +1 -1
  187. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +42 -61
  188. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +53 -23
  189. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +30 -42
  190. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +71 -89
  191. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +22 -29
  192. package/lib/product-bar-vertical/style.css +2 -1
  193. package/lib/progress-indicators/index.js +372 -255
  194. package/lib/progress-indicators/index.umd.cjs +1 -1
  195. package/lib/progress-indicators/progress-bar/ProgressBar.js +66 -110
  196. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +66 -13
  197. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +34 -54
  198. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +136 -8
  199. package/lib/progress-indicators/progress-ring/ProgressRing.js +45 -52
  200. package/lib/progress-indicators/style.css +2 -1
  201. package/lib/rich-text-editor/index.js +556 -582
  202. package/lib/rich-text-editor/index.umd.cjs +11 -11
  203. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +29 -33
  204. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +1 -1
  205. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +23 -37
  206. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +13 -6
  207. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +68 -77
  208. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +21 -8
  209. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +14 -20
  210. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +14 -20
  211. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +33 -27
  212. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +79 -88
  213. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +28 -36
  214. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +195 -211
  215. package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -4
  216. package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -4
  217. package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -4
  218. package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -4
  219. package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -4
  220. package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -4
  221. package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -4
  222. package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -4
  223. package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -4
  224. package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -4
  225. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +12 -12
  226. package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +20 -19
  227. package/lib/rich-text-editor/rich-text-editor/utils/utils.js +11 -15
  228. package/lib/rich-text-editor/style.css +2 -1
  229. package/lib/scrollable-container/ScrollableContainer.js +18 -27
  230. package/lib/scrollable-container/ScrollableContainer.ve.js +4 -4
  231. package/lib/scrollable-container/index.js +20 -27
  232. package/lib/scrollable-container/index.umd.cjs +1 -1
  233. package/lib/scrollable-container/style.css +2 -1
  234. package/lib/side-nav/index.js +190 -216
  235. package/lib/side-nav/index.umd.cjs +1 -1
  236. package/lib/side-nav/side-nav/SideNav.css.d.ts.map +1 -1
  237. package/lib/side-nav/side-nav/SideNav.js +43 -60
  238. package/lib/side-nav/side-nav/SideNav.ve.js +22 -16
  239. package/lib/side-nav/side-nav/navContext.js +7 -7
  240. package/lib/side-nav/side-nav-header/SideNavHeader.js +14 -15
  241. package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -1
  242. package/lib/side-nav/side-nav-item/SideNavItem.js +68 -82
  243. package/lib/side-nav/side-nav-section/SideNavSection.js +16 -26
  244. package/lib/side-nav/style.css +2 -1
  245. package/lib/sorting-header/caret/caret.ve.js +13 -5
  246. package/lib/sorting-header/index.js +269 -243
  247. package/lib/sorting-header/index.umd.cjs +1 -1
  248. package/lib/sorting-header/sorting-header/SortingHeader.js +110 -124
  249. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +30 -6
  250. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +2 -0
  251. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -1
  252. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -1
  253. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -75
  254. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -5
  255. package/lib/sorting-header/style.css +2 -1
  256. package/lib/style.css +2 -1
  257. package/lib/tabs/index.js +255 -200
  258. package/lib/tabs/index.umd.cjs +1 -1
  259. package/lib/tabs/style.css +2 -1
  260. package/lib/tabs/tab/Tab.css.d.ts.map +1 -1
  261. package/lib/tabs/tab/Tab.js +24 -27
  262. package/lib/tabs/tab/Tab.ve.js +76 -6
  263. package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -1
  264. package/lib/tabs/tab-panel/TabPanel.js +16 -23
  265. package/lib/tabs/tabs/Tabs.css.d.ts +1 -0
  266. package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -1
  267. package/lib/tabs/tabs/Tabs.js +101 -112
  268. package/lib/tabs/tabs/Tabs.ve.js +13 -10
  269. package/lib/tags/clickable-tag/ClickableTag.css.d.ts +1 -1
  270. package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -1
  271. package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -1
  272. package/lib/tags/clickable-tag/ClickableTag.js +86 -70
  273. package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
  274. package/lib/tags/index.js +342 -179
  275. package/lib/tags/index.umd.cjs +1 -1
  276. package/lib/tags/split-tag/SplitTag.css.d.ts.map +1 -1
  277. package/lib/tags/split-tag/SplitTag.js +49 -30
  278. package/lib/tags/split-tag/SplitTag.ve.js +35 -9
  279. package/lib/tags/style.css +2 -1
  280. package/lib/tags/tag/Tag.js +42 -38
  281. package/lib/tags/tag/Tag.ve.js +41 -6
  282. package/lib/utils/cl.js +5 -5
  283. package/lib/zero-state/ZeroState.js +36 -29
  284. package/lib/zero-state/ZeroState.ve.js +29 -11
  285. package/lib/zero-state/index.js +103 -78
  286. package/lib/zero-state/index.umd.cjs +1 -1
  287. package/lib/zero-state/style.css +2 -1
  288. package/package.json +12 -12
  289. 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,148 +1,276 @@
1
- import { Metadata as w, useChildTestIdAttrBuilder as b, cl as N, Icon as m } from "@sps-woodland/core";
2
- import * as s from "react";
3
- import { useWoodlandLanguage as V } from "@spscommerce/i18n";
4
- function O(_, r, a) {
5
- return r in _ ? Object.defineProperty(_, r, {
6
- value: a,
7
- enumerable: !0,
8
- configurable: !0,
9
- writable: !0
10
- }) : _[r] = a, _;
1
+ import { Icon as e, Metadata as t, cl as n, useChildTestIdAttrBuilder as r } from "@sps-woodland/core";
2
+ import * as i from "react";
3
+ import { useWoodlandLanguage as a } from "@spscommerce/i18n";
4
+ //#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
5
+ function o(e, t, n) {
6
+ return t in e ? Object.defineProperty(e, t, {
7
+ value: n,
8
+ enumerable: !0,
9
+ configurable: !0,
10
+ writable: !0
11
+ }) : e[t] = n, e;
11
12
  }
12
- function y(_, r) {
13
- var a = Object.keys(_);
14
- if (Object.getOwnPropertySymbols) {
15
- var e = Object.getOwnPropertySymbols(_);
16
- r && (e = e.filter(function(i) {
17
- return Object.getOwnPropertyDescriptor(_, i).enumerable;
18
- })), a.push.apply(a, e);
19
- }
20
- return a;
13
+ function s(e, t) {
14
+ var n = Object.keys(e);
15
+ if (Object.getOwnPropertySymbols) {
16
+ var r = Object.getOwnPropertySymbols(e);
17
+ t && (r = r.filter(function(t) {
18
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
19
+ })), n.push.apply(n, r);
20
+ }
21
+ return n;
21
22
  }
22
- function v(_) {
23
- for (var r = 1; r < arguments.length; r++) {
24
- var a = arguments[r] != null ? arguments[r] : {};
25
- r % 2 ? y(Object(a), !0).forEach(function(e) {
26
- O(_, e, a[e]);
27
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(a)) : y(Object(a)).forEach(function(e) {
28
- Object.defineProperty(_, e, Object.getOwnPropertyDescriptor(a, e));
29
- });
30
- }
31
- return _;
23
+ function c(e) {
24
+ for (var t = 1; t < arguments.length; t++) {
25
+ var n = arguments[t] == null ? {} : arguments[t];
26
+ t % 2 ? s(Object(n), !0).forEach(function(t) {
27
+ o(e, t, n[t]);
28
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
29
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
30
+ });
31
+ }
32
+ return e;
32
33
  }
33
- var E = (_, r, a) => {
34
- for (var e of Object.keys(_)) {
35
- var i;
36
- if (_[e] !== ((i = r[e]) !== null && i !== void 0 ? i : a[e]))
37
- return !1;
38
- }
39
- return !0;
40
- }, o = (_) => (r) => {
41
- var a = _.defaultClassName, e = v(v({}, _.defaultVariants), r);
42
- for (var i in e) {
43
- var c, g = (c = e[i]) !== null && c !== void 0 ? c : _.defaultVariants[i];
44
- if (g != null) {
45
- var l = g;
46
- typeof l == "boolean" && (l = l === !0 ? "true" : "false");
47
- var h = (
48
- // @ts-expect-error
49
- _.variantClassNames[i][l]
50
- );
51
- h && (a += " " + h);
52
- }
53
- }
54
- for (var [t, p] of _.compoundVariants)
55
- E(t, e, _.defaultVariants) && (a += " " + p);
56
- return a;
57
- }, P = "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l0", I = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l2", error: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l3", success: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l4", warning: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l5", processing: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l7", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), D = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4la", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), j = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4li", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lj", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lk" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), T = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ll", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lm", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ln" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), x = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lo", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lp", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lq" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), S = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lr", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ls", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lt" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), A = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lu", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lv", error: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lw", success: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lx", warning: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ly", processing: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lz" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l10", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l11" }, editable: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l12", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l13" } }, defaultVariants: { kind: "general", horizontal: !1, editable: !1 }, compoundVariants: [[{ kind: "general", editable: !0 }, "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l14"], [{ kind: "error", editable: !0 }, "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l15"], [{ kind: "success", editable: !0 }, "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l16"], [{ kind: "warning", editable: !0 }, "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l17"], [{ kind: "processing", editable: !0 }, "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l18"]] }), K = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l19", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1a", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1b" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), R = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1c", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1d", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1e" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), F = o({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1f", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1g", false: "pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1h" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
58
- const L = Object.freeze({
59
- general: "status-new",
60
- success: "status-ok",
61
- error: "status-error",
62
- warning: "status-warning",
63
- processing: "status-in-process"
34
+ var l = (e, t, n) => {
35
+ for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
36
+ return !0;
37
+ }, u = (e) => (t) => {
38
+ var n = e.defaultClassName, r = c(c({}, e.defaultVariants), t);
39
+ for (var i in r) {
40
+ var a = r[i] ?? e.defaultVariants[i];
41
+ if (a != null) {
42
+ var o = a;
43
+ typeof o == "boolean" && (o = o === !0 ? "true" : "false");
44
+ var s = e.variantClassNames[i][o];
45
+ s && (n += " " + s);
46
+ }
47
+ }
48
+ for (var [u, d] of e.compoundVariants) l(u, r, e.defaultVariants) && (n += " " + d);
49
+ return n;
50
+ }, d = "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l0", f = u({
51
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1",
52
+ variantClassNames: {
53
+ kind: {
54
+ general: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l2",
55
+ error: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l3",
56
+ success: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l4",
57
+ warning: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l5",
58
+ processing: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l6"
59
+ },
60
+ horizontal: {
61
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l7",
62
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l8"
63
+ }
64
+ },
65
+ defaultVariants: {
66
+ kind: "general",
67
+ horizontal: !1
68
+ },
69
+ compoundVariants: []
70
+ }), p = u({
71
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9",
72
+ variantClassNames: { horizontal: {
73
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4la",
74
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lb"
75
+ } },
76
+ defaultVariants: { horizontal: !1 },
77
+ compoundVariants: []
78
+ }), m = u({
79
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4li",
80
+ variantClassNames: { horizontal: {
81
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lj",
82
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lk"
83
+ } },
84
+ defaultVariants: { horizontal: !1 },
85
+ compoundVariants: []
86
+ }), h = u({
87
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ll",
88
+ variantClassNames: { horizontal: {
89
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lm",
90
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ln"
91
+ } },
92
+ defaultVariants: { horizontal: !1 },
93
+ compoundVariants: []
94
+ }), g = u({
95
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lo",
96
+ variantClassNames: { horizontal: {
97
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lp",
98
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lq"
99
+ } },
100
+ defaultVariants: { horizontal: !1 },
101
+ compoundVariants: []
102
+ }), _ = u({
103
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lr",
104
+ variantClassNames: { hasDetail: {
105
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ls",
106
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lt"
107
+ } },
108
+ defaultVariants: { hasDetail: !1 },
109
+ compoundVariants: []
110
+ }), v = u({
111
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lu",
112
+ variantClassNames: {
113
+ kind: {
114
+ general: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lv",
115
+ error: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lw",
116
+ success: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lx",
117
+ warning: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ly",
118
+ processing: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lz"
119
+ },
120
+ horizontal: {
121
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l10",
122
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l11"
123
+ },
124
+ editable: {
125
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l12",
126
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l13"
127
+ }
128
+ },
129
+ defaultVariants: {
130
+ kind: "general",
131
+ horizontal: !1,
132
+ editable: !1
133
+ },
134
+ compoundVariants: [
135
+ [{
136
+ kind: "general",
137
+ editable: !0
138
+ }, "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l14"],
139
+ [{
140
+ kind: "error",
141
+ editable: !0
142
+ }, "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l15"],
143
+ [{
144
+ kind: "success",
145
+ editable: !0
146
+ }, "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l16"],
147
+ [{
148
+ kind: "warning",
149
+ editable: !0
150
+ }, "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l17"],
151
+ [{
152
+ kind: "processing",
153
+ editable: !0
154
+ }, "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l18"]
155
+ ]
156
+ }), y = u({
157
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l19",
158
+ variantClassNames: { horizontal: {
159
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1a",
160
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1b"
161
+ } },
162
+ defaultVariants: { horizontal: !1 },
163
+ compoundVariants: []
164
+ }), b = u({
165
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1c",
166
+ variantClassNames: { horizontal: {
167
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1d",
168
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1e"
169
+ } },
170
+ defaultVariants: { horizontal: !1 },
171
+ compoundVariants: []
172
+ }), x = u({
173
+ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1f",
174
+ variantClassNames: { horizontal: {
175
+ true: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1g",
176
+ false: "pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1h"
177
+ } },
178
+ defaultVariants: { horizontal: !1 },
179
+ compoundVariants: []
180
+ }), S = Object.freeze({
181
+ general: "status-new",
182
+ success: "status-ok",
183
+ error: "status-error",
184
+ warning: "status-warning",
185
+ processing: "status-in-process"
64
186
  });
65
- function B({
66
- children: _,
67
- className: r,
68
- horizontal: a = !1,
69
- icon: e,
70
- kind: i = "general",
71
- title: c,
72
- metric: g,
73
- partnerCount: l,
74
- totalPartners: h,
75
- onEdit: t,
76
- onClick: p,
77
- ...u
78
- }) {
79
- const { t: f } = V(), d = b(u), [z, k, C] = (l ? f("insightTile.partnerCount", {
80
- count: l,
81
- total: h,
82
- defaultValue: `${l} |of| ${h}`
83
- }) : "").split("|");
84
- return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(
85
- "div",
86
- {
87
- className: N(I({ kind: i, horizontal: a }), r),
88
- onClick: p,
89
- tabIndex: p ? 0 : void 0,
90
- role: p && "button",
91
- onKeyDown: p ? (n) => {
92
- (n.key === "Enter" || n.key === " ") && (n.preventDefault(), n.currentTarget.click());
93
- } : void 0,
94
- ...u
95
- },
96
- /* @__PURE__ */ s.createElement("div", { className: D({ horizontal: a }), ...d("body") }, e ? /* @__PURE__ */ s.createElement(m, { icon: `${e}`, ...d("icon") }) : /* @__PURE__ */ s.createElement(m, { icon: `${L[i]}`, ...d("icon") }), g && /* @__PURE__ */ s.createElement("div", { className: j({ horizontal: a }), ...d("metric") }, g), c && /* @__PURE__ */ s.createElement("div", { className: x({ horizontal: a }), ...d("description") }, /* @__PURE__ */ s.createElement(
97
- "div",
98
- {
99
- className: T({ horizontal: a }),
100
- style: { "-webkit-box-orient": "vertical" },
101
- ...d("title")
102
- },
103
- c
104
- ), /* @__PURE__ */ s.createElement("div", { className: S({ hasDetail: !!_ }), ...d("detail") }, _))),
105
- l && /* @__PURE__ */ s.createElement(
106
- "div",
107
- {
108
- role: t && "button",
109
- tabIndex: t ? 0 : void 0,
110
- onClick: t ? (n) => {
111
- n.stopPropagation(), t();
112
- } : void 0,
113
- onKeyDown: t ? (n) => {
114
- (n.key === "Enter" || n.key === " ") && (n.preventDefault(), n.stopPropagation(), t());
115
- } : void 0,
116
- className: A({ kind: i, horizontal: a, editable: !!t }),
117
- ...d("partner-count")
118
- },
119
- /* @__PURE__ */ s.createElement("div", { className: R({ horizontal: a }) }, l === h ? /* @__PURE__ */ s.createElement("div", null, f("insightTile.all", { defaultValue: "ALL" })) : /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("div", null, z), /* @__PURE__ */ s.createElement("div", null, k), /* @__PURE__ */ s.createElement("div", null, C)), /* @__PURE__ */ s.createElement("div", { className: K({ horizontal: a }) }, f("insightTile.partners", { defaultValue: "PARTNERS" }))),
120
- t && /* @__PURE__ */ s.createElement(m, { className: F({ horizontal: a }), icon: "pencil" })
121
- )
122
- ));
187
+ function C({ children: t, className: o, horizontal: s = !1, icon: c, kind: l = "general", title: u, metric: d, partnerCount: C, totalPartners: w, onEdit: T, onClick: E, ...D }) {
188
+ let { t: O } = a(), k = r(D), [A, j, M] = (C ? O("insightTile.partnerCount", {
189
+ count: C,
190
+ total: w,
191
+ defaultValue: `${C} |of| ${w}`
192
+ }) : "").split("|");
193
+ return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("div", {
194
+ className: n(f({
195
+ kind: l,
196
+ horizontal: s
197
+ }), o),
198
+ onClick: E,
199
+ tabIndex: E ? 0 : void 0,
200
+ role: E && "button",
201
+ onKeyDown: E ? (e) => {
202
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.currentTarget.click());
203
+ } : void 0,
204
+ ...D
205
+ }, /* @__PURE__ */ i.createElement("div", {
206
+ className: p({ horizontal: s }),
207
+ ...k("body")
208
+ }, c ? /* @__PURE__ */ i.createElement(e, {
209
+ icon: `${c}`,
210
+ ...k("icon")
211
+ }) : /* @__PURE__ */ i.createElement(e, {
212
+ icon: `${S[l]}`,
213
+ ...k("icon")
214
+ }), d && /* @__PURE__ */ i.createElement("div", {
215
+ className: m({ horizontal: s }),
216
+ ...k("metric")
217
+ }, d), u && /* @__PURE__ */ i.createElement("div", {
218
+ className: g({ horizontal: s }),
219
+ ...k("description")
220
+ }, /* @__PURE__ */ i.createElement("div", {
221
+ className: h({ horizontal: s }),
222
+ style: { "-webkit-box-orient": "vertical" },
223
+ ...k("title")
224
+ }, u), /* @__PURE__ */ i.createElement("div", {
225
+ className: _({ hasDetail: !!t }),
226
+ ...k("detail")
227
+ }, t))), C && /* @__PURE__ */ i.createElement("div", {
228
+ role: T && "button",
229
+ tabIndex: T ? 0 : void 0,
230
+ onClick: T ? (e) => {
231
+ e.stopPropagation(), T();
232
+ } : void 0,
233
+ onKeyDown: T ? (e) => {
234
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), T());
235
+ } : void 0,
236
+ className: v({
237
+ kind: l,
238
+ horizontal: s,
239
+ editable: !!T
240
+ }),
241
+ ...k("partner-count")
242
+ }, /* @__PURE__ */ i.createElement("div", { className: b({ horizontal: s }) }, C === w ? /* @__PURE__ */ i.createElement("div", null, O("insightTile.all", { defaultValue: "ALL" })) : /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("div", null, A), /* @__PURE__ */ i.createElement("div", null, j), /* @__PURE__ */ i.createElement("div", null, M)), /* @__PURE__ */ i.createElement("div", { className: y({ horizontal: s }) }, O("insightTile.partners", { defaultValue: "PARTNERS" }))), T && /* @__PURE__ */ i.createElement(e, {
243
+ className: x({ horizontal: s }),
244
+ icon: "pencil"
245
+ }))));
123
246
  }
124
- w.set(B, {
125
- name: "InsightCard",
126
- props: {
127
- horizontal: { type: "boolean", default: "false" },
128
- icon: "IconName",
129
- kind: { type: "InsightCardKind", default: '"general"' },
130
- title: "string",
131
- metric: "number | string",
132
- partnerCount: "number",
133
- totalPartners: "number",
134
- onEdit: "() => void"
135
- }
247
+ t.set(C, {
248
+ name: "InsightCard",
249
+ props: {
250
+ horizontal: {
251
+ type: "boolean",
252
+ default: "false"
253
+ },
254
+ icon: "IconName",
255
+ kind: {
256
+ type: "InsightCardKind",
257
+ default: "\"general\""
258
+ },
259
+ title: "string",
260
+ metric: "number | string",
261
+ partnerCount: "number",
262
+ totalPartners: "number",
263
+ onEdit: "() => void"
264
+ }
136
265
  });
137
- function M({
138
- children: _,
139
- ...r
140
- }) {
141
- return /* @__PURE__ */ s.createElement("div", { className: P, ...r }, _);
266
+ //#endregion
267
+ //#region src/insight-card/InsightCardSet.tsx
268
+ function w({ children: e, ...t }) {
269
+ return /* @__PURE__ */ i.createElement("div", {
270
+ className: d,
271
+ ...t
272
+ }, e);
142
273
  }
143
- w.set(M, { name: "InsightCardSet" });
144
- export {
145
- B as InsightCard,
146
- L as InsightCardIcons,
147
- M as InsightCardSet
148
- };
274
+ t.set(w, { name: "InsightCardSet" });
275
+ //#endregion
276
+ export { C as InsightCard, S as InsightCardIcons, w as InsightCardSet };
@@ -1 +1 @@
1
- (function(i,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("@sps-woodland/core"),require("react"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react","@spscommerce/i18n"],t):(i=typeof globalThis<"u"?globalThis:i||self,t(i.InsightCard={},i.spsWoodlandCore,i.react,i.spscommerceI18n))})(this,(function(i,t,b,N){"use strict";function V(_){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(_){for(const a in _)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(_,a);Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>_[a]})}}return e.default=_,Object.freeze(e)}const r=V(b);function O(_,e,a){return e in _?Object.defineProperty(_,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):_[e]=a,_}function y(_,e){var a=Object.keys(_);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(_);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(_,n).enumerable})),a.push.apply(a,s)}return a}function v(_){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?y(Object(a),!0).forEach(function(s){O(_,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach(function(s){Object.defineProperty(_,s,Object.getOwnPropertyDescriptor(a,s))})}return _}var I=(_,e,a)=>{for(var s of Object.keys(_)){var n;if(_[s]!==((n=e[s])!==null&&n!==void 0?n:a[s]))return!1}return!0},o=_=>e=>{var a=_.defaultClassName,s=v(v({},_.defaultVariants),e);for(var n in s){var p,u=(p=s[n])!==null&&p!==void 0?p:_.defaultVariants[n];if(u!=null){var d=u;typeof d=="boolean"&&(d=d===!0?"true":"false");var f=_.variantClassNames[n][d];f&&(a+=" "+f)}}for(var[c,g]of _.compoundVariants)I(c,s,_.defaultVariants)&&(a+=" "+g);return a},E="pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l0",P=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l2",error:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l3",success:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l4",warning:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l5",processing:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l6"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l7",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l8"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),j=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4la",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lb"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),D=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4li",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lj",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lk"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),T=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ll",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lm",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ln"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),S=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lo",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lp",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lq"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),x=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lr",variantClassNames:{hasDetail:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ls",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lt"}},defaultVariants:{hasDetail:!1},compoundVariants:[]}),M=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lu",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lv",error:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lw",success:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lx",warning:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ly",processing:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lz"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l10",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l11"},editable:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l12",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l13"}},defaultVariants:{kind:"general",horizontal:!1,editable:!1},compoundVariants:[[{kind:"general",editable:!0},"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l14"],[{kind:"error",editable:!0},"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l15"],[{kind:"success",editable:!0},"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l16"],[{kind:"warning",editable:!0},"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l17"],[{kind:"processing",editable:!0},"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l18"]]}),q=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l19",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1a",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1b"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),A=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1c",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1d",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1e"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),K=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1f",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1g",false:"pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1h"}},defaultVariants:{horizontal:!1},compoundVariants:[]});const w=Object.freeze({general:"status-new",success:"status-ok",error:"status-error",warning:"status-warning",processing:"status-in-process"});function z({children:_,className:e,horizontal:a=!1,icon:s,kind:n="general",title:p,metric:u,partnerCount:d,totalPartners:f,onEdit:c,onClick:g,...C}){const{t:m}=N.useWoodlandLanguage(),h=t.useChildTestIdAttrBuilder(C),[R,F,L]=(d?m("insightTile.partnerCount",{count:d,total:f,defaultValue:`${d} |of| ${f}`}):"").split("|");return r.createElement(r.Fragment,null,r.createElement("div",{className:t.cl(P({kind:n,horizontal:a}),e),onClick:g,tabIndex:g?0:void 0,role:g&&"button",onKeyDown:g?l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),l.currentTarget.click())}:void 0,...C},r.createElement("div",{className:j({horizontal:a}),...h("body")},s?r.createElement(t.Icon,{icon:`${s}`,...h("icon")}):r.createElement(t.Icon,{icon:`${w[n]}`,...h("icon")}),u&&r.createElement("div",{className:D({horizontal:a}),...h("metric")},u),p&&r.createElement("div",{className:S({horizontal:a}),...h("description")},r.createElement("div",{className:T({horizontal:a}),style:{"-webkit-box-orient":"vertical"},...h("title")},p),r.createElement("div",{className:x({hasDetail:!!_}),...h("detail")},_))),d&&r.createElement("div",{role:c&&"button",tabIndex:c?0:void 0,onClick:c?l=>{l.stopPropagation(),c()}:void 0,onKeyDown:c?l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),l.stopPropagation(),c())}:void 0,className:M({kind:n,horizontal:a,editable:!!c}),...h("partner-count")},r.createElement("div",{className:A({horizontal:a})},d===f?r.createElement("div",null,m("insightTile.all",{defaultValue:"ALL"})):r.createElement(r.Fragment,null,r.createElement("div",null,R),r.createElement("div",null,F),r.createElement("div",null,L)),r.createElement("div",{className:q({horizontal:a})},m("insightTile.partners",{defaultValue:"PARTNERS"}))),c&&r.createElement(t.Icon,{className:K({horizontal:a}),icon:"pencil"}))))}t.Metadata.set(z,{name:"InsightCard",props:{horizontal:{type:"boolean",default:"false"},icon:"IconName",kind:{type:"InsightCardKind",default:'"general"'},title:"string",metric:"number | string",partnerCount:"number",totalPartners:"number",onEdit:"() => void"}});function k({children:_,...e}){return r.createElement("div",{className:E,...e},_)}t.Metadata.set(k,{name:"InsightCardSet"}),i.InsightCard=z,i.InsightCardIcons=w,i.InsightCardSet=k,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("@sps-woodland/core"),require("react"),require("@spscommerce/i18n")):typeof define==`function`&&define.amd?define([`exports`,`@sps-woodland/core`,`react`,`@spscommerce/i18n`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.InsightCard={},e.spsWoodlandCore,e.react,e.spscommerceI18n))})(this,function(e,t,n,r){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=s(t),c=0,u=i.length,d;c<u;c++)d=i[c],!l.call(e,d)&&d!==n&&a(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=o(t,d))||r.enumerable});return e};n=((e,t,n)=>(n=e==null?{}:i(c(e)),u(t||!e||!e.__esModule||!l.call(e,`default`)?a(n,`default`,{value:e,enumerable:!0}):n,e)))(n,1);function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?f(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var m=(e,t,n)=>{for(var r of Object.keys(e))if(e[r]!==(t[r]??n[r]))return!1;return!0},h=e=>t=>{var n=e.defaultClassName,r=p(p({},e.defaultVariants),t);for(var i in r){var a=r[i]??e.defaultVariants[i];if(a!=null){var o=a;typeof o==`boolean`&&(o=o===!0?`true`:`false`);var s=e.variantClassNames[i][o];s&&(n+=` `+s)}}for(var[c,l]of e.compoundVariants)m(c,r,e.defaultVariants)&&(n+=` `+l);return n},g=`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l0`,_=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1`,variantClassNames:{kind:{general:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l2`,error:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l3`,success:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l4`,warning:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l5`,processing:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l6`},horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l7`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l8`}},defaultVariants:{kind:`general`,horizontal:!1},compoundVariants:[]}),v=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4la`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lb`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),y=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4li`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lj`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lk`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),b=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ll`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lm`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ln`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),x=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lo`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lp`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lq`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),S=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lr`,variantClassNames:{hasDetail:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ls`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lt`}},defaultVariants:{hasDetail:!1},compoundVariants:[]}),C=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lu`,variantClassNames:{kind:{general:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lv`,error:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lw`,success:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lx`,warning:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ly`,processing:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lz`},horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l10`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l11`},editable:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l12`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l13`}},defaultVariants:{kind:`general`,horizontal:!1,editable:!1},compoundVariants:[[{kind:`general`,editable:!0},`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l14`],[{kind:`error`,editable:!0},`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l15`],[{kind:`success`,editable:!0},`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l16`],[{kind:`warning`,editable:!0},`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l17`],[{kind:`processing`,editable:!0},`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l18`]]}),w=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l19`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1a`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1b`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),T=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1c`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1d`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1e`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),E=h({defaultClassName:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1f`,variantClassNames:{horizontal:{true:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1g`,false:`pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1h`}},defaultVariants:{horizontal:!1},compoundVariants:[]}),D=Object.freeze({general:`status-new`,success:`status-ok`,error:`status-error`,warning:`status-warning`,processing:`status-in-process`});function O({children:e,className:i,horizontal:a=!1,icon:o,kind:s=`general`,title:c,metric:l,partnerCount:u,totalPartners:d,onEdit:f,onClick:p,...m}){let{t:h}=(0,r.useWoodlandLanguage)(),g=(0,t.useChildTestIdAttrBuilder)(m),[O,k,A]=(u?h(`insightTile.partnerCount`,{count:u,total:d,defaultValue:`${u} |of| ${d}`}):``).split(`|`);return n.createElement(n.Fragment,null,n.createElement(`div`,{className:(0,t.cl)(_({kind:s,horizontal:a}),i),onClick:p,tabIndex:p?0:void 0,role:p&&`button`,onKeyDown:p?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.currentTarget.click())}:void 0,...m},n.createElement(`div`,{className:v({horizontal:a}),...g(`body`)},o?n.createElement(t.Icon,{icon:`${o}`,...g(`icon`)}):n.createElement(t.Icon,{icon:`${D[s]}`,...g(`icon`)}),l&&n.createElement(`div`,{className:y({horizontal:a}),...g(`metric`)},l),c&&n.createElement(`div`,{className:x({horizontal:a}),...g(`description`)},n.createElement(`div`,{className:b({horizontal:a}),style:{"-webkit-box-orient":`vertical`},...g(`title`)},c),n.createElement(`div`,{className:S({hasDetail:!!e}),...g(`detail`)},e))),u&&n.createElement(`div`,{role:f&&`button`,tabIndex:f?0:void 0,onClick:f?e=>{e.stopPropagation(),f()}:void 0,onKeyDown:f?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),f())}:void 0,className:C({kind:s,horizontal:a,editable:!!f}),...g(`partner-count`)},n.createElement(`div`,{className:T({horizontal:a})},u===d?n.createElement(`div`,null,h(`insightTile.all`,{defaultValue:`ALL`})):n.createElement(n.Fragment,null,n.createElement(`div`,null,O),n.createElement(`div`,null,k),n.createElement(`div`,null,A)),n.createElement(`div`,{className:w({horizontal:a})},h(`insightTile.partners`,{defaultValue:`PARTNERS`}))),f&&n.createElement(t.Icon,{className:E({horizontal:a}),icon:`pencil`}))))}t.Metadata.set(O,{name:`InsightCard`,props:{horizontal:{type:`boolean`,default:`false`},icon:`IconName`,kind:{type:`InsightCardKind`,default:`"general"`},title:`string`,metric:`number | string`,partnerCount:`number`,totalPartners:`number`,onEdit:`() => void`}});function k({children:e,...t}){return n.createElement(`div`,{className:g,...t},e)}t.Metadata.set(k,{name:`InsightCardSet`}),e.InsightCard=O,e.InsightCardIcons=D,e.InsightCardSet=k});
@@ -1 +1,2 @@
1
- .pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l0{display:flex;flex-wrap:wrap;margin:-.5rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1{background:#fff;border-width:.0625rem;border-style:solid;border-radius:.25rem;display:flex;flex-direction:column;flex:1 0 calc(20% - 20px);margin:.5rem;min-width:0;padding:.9375rem 1.25rem;text-align:center}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1:focus{outline-color:#007db8;outline-style:solid;outline-offset:.125rem;outline-width:.125rem;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l2{border-color:#007db8;color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l2:hover{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l3{border-color:#de002e;color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l3:hover{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l4{border-color:#0b8940;color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l4:hover{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l5{border-color:#e7760b;color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l5:hover{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l6{border-color:#91467f;color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l6:hover{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l7{display:flex;flex-direction:row;flex:1 0 calc(50% - 20px);height:5.125rem;max-width:calc(50% - 20px)}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9{display:block;min-width:0}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4la{align-items:center;display:flex;flex:1;text-align:left}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lc{display:block;font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ld{color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4le{color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lf{color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lg{color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lh{color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4li{font-size:3rem;font-weight:600;line-height:3rem;max-width:100%;word-wrap:break-word;color:#000}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lj{margin-left:.5rem;order:1}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ll{-webkit-box-orient:vertical;-webkit-box-pack:center;align-items:center;color:#1f282c;display:-webkit-box;font-weight:600;min-height:2.125rem;font-size:1rem;line-height:1rem;padding-bottom:.125rem;max-width:100%;word-wrap:break-word}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lm{min-height:1rem;margin-bottom:0}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lp{flex:1;margin-left:.5rem;min-width:0}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lr{color:#4b5356;display:none;height:12px;font-size:.75rem;line-height:.75rem;margin-top:.25rem;text-transform:uppercase;white-space:nowrap}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ls{display:block}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lu{color:#fff;font-weight:600;font-size:.75rem;line-height:1.125rem;margin:.9375rem -1.25rem -.9375rem;padding:.625rem 1.25rem;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(auto,1fr);align-items:center}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lv{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lw{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lx{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4ly{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lz{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l10{display:flex;flex-direction:column;justify-content:center;align-items:center;line-height:.875rem;margin:-.9375rem -1.25rem -.9375rem 1.25rem;padding:1.25rem .625rem;width:84px}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l11{flex-grow:1}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l12:focus{outline-color:#007db8;outline-style:solid;outline-offset:.125rem;outline-width:.125rem;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l12:focus-visible{outline-color:#007db8;outline-style:solid;outline-offset:.125rem;outline-width:.125rem;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l14:hover{background:#09638d}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l15:hover{background:#a30d2d}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l16:hover{background:#106b39}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l17:hover{background:#aa5e14}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l18:hover{background:#6e3c65}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1a{display:none!important}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1c{grid-column:2}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1d{white-space:nowrap}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1g{margin-top:.25rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1h{justify-self:end;margin-left:.25rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9>svg{font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1c>*{display:inline-block}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1c>*:not(:last-child){padding-right:.125rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lu>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1f{grid-column:3;color:#fff}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1:hover{cursor:pointer}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1:hover>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lo>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lo>.pkg_sps-woodland_core__family_insight-card__version_8_56_1__hash_z81y4lr>*{color:#fff!important}
1
+ .pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l0{flex-wrap:wrap;margin:-.5rem;display:flex}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1{text-align:center;background:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;flex-direction:column;flex:1 0 calc(20% - 20px);min-width:0;margin:.5rem;padding:.9375rem 1.25rem;display:flex}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l2{color:#007db8;border-color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l2:hover{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l3{color:#de002e;border-color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l3:hover{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l4{color:#0b8940;border-color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l4:hover{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l5{color:#e7760b;border-color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l5:hover{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l6{color:#91467f;border-color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l6:hover{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l7{flex-direction:row;flex:1 0 calc(50% - 20px);max-width:calc(50% - 20px);height:5.125rem;display:flex}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9{min-width:0;display:block}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4la{text-align:left;flex:1;align-items:center;display:flex}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lc{font-size:2rem;line-height:2rem;display:block}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ld{color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4le{color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lf{color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lg{color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lh{color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4li{word-wrap:break-word;color:#000;max-width:100%;font-size:3rem;font-weight:600;line-height:3rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lj{order:1;margin-left:.5rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ll{color:#1f282c;word-wrap:break-word;-webkit-box-orient:vertical;-webkit-box-pack:center;align-items:center;max-width:100%;min-height:2.125rem;padding-bottom:.125rem;font-size:1rem;font-weight:600;line-height:1rem;display:-webkit-box}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lm{min-height:1rem;margin-bottom:0}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lp{flex:1;min-width:0;margin-left:.5rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lr{color:#4b5356;text-transform:uppercase;white-space:nowrap;height:12px;margin-top:.25rem;font-size:.75rem;line-height:.75rem;display:none}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ls{display:block}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lu{color:#fff;grid-template-columns:minmax(0,1fr) auto minmax(auto,1fr);align-items:center;margin:.9375rem -1.25rem -.9375rem;padding:.625rem 1.25rem;font-size:.75rem;font-weight:600;line-height:1.125rem;display:grid}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lv{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lw{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lx{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4ly{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lz{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l10{flex-direction:column;justify-content:center;align-items:center;width:84px;margin:-.9375rem -1.25rem -.9375rem 1.25rem;padding:1.25rem .625rem;line-height:.875rem;display:flex}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l11{flex-grow:1}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l12:focus,.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l12:focus-visible{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l14:hover{background:#09638d}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l15:hover{background:#a30d2d}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l16:hover{background:#106b39}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l17:hover{background:#aa5e14}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l18:hover{background:#6e3c65}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1a{display:none!important}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1c{grid-column:2}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1d{white-space:nowrap}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1g{margin-top:.25rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1h{justify-self:end;margin-left:.25rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9>svg{font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1c>*{display:inline-block}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1c>:not(:last-child){padding-right:.125rem}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lu>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1f{color:#fff;grid-column:3}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1:hover{cursor:pointer}.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1:hover>*,.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9>*,.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lo>*,.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lo>.pkg_sps-woodland_core__family_insight-card__version_8_56_3__hash_z81y4lr>*{color:#fff!important}
2
+ /*$vite$:1*/