@sps-woodland/core 8.53.12 → 8.53.13

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 (145) hide show
  1. package/lib/action-bar/action-bar/ActionBar.ve.js +8 -8
  2. package/lib/action-bar/index.js +30 -30
  3. package/lib/action-bar/index.umd.cjs +1 -1
  4. package/lib/action-bar/style.css +1 -1
  5. package/lib/add-to-list/add-to-list/AddToList.ve.js +19 -19
  6. package/lib/add-to-list/index.js +183 -183
  7. package/lib/add-to-list/index.umd.cjs +1 -1
  8. package/lib/add-to-list/style.css +1 -1
  9. package/lib/buttons/button/Button.ve.js +4 -4
  10. package/lib/buttons/index.js +48 -48
  11. package/lib/buttons/index.umd.cjs +1 -1
  12. package/lib/buttons/style.css +1 -1
  13. package/lib/cards/card/Card.ve.js +1 -1
  14. package/lib/cards/card-footer/CardFooter.ve.js +2 -2
  15. package/lib/cards/card-header/CardHeader.ve.js +1 -1
  16. package/lib/cards/card-title/CardTitle.ve.js +2 -2
  17. package/lib/cards/index.js +21 -21
  18. package/lib/cards/index.umd.cjs +1 -1
  19. package/lib/cards/style.css +1 -1
  20. package/lib/content-row/content-row/ContentRow.ve.js +13 -13
  21. package/lib/content-row/content-row-col/ContentRowCol.ve.js +2 -2
  22. package/lib/content-row/index.js +152 -152
  23. package/lib/content-row/index.umd.cjs +1 -1
  24. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +2 -2
  25. package/lib/content-row/style.css +1 -1
  26. package/lib/content-tiles/content-tile/ContentTile.ve.js +7 -7
  27. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +3 -3
  28. package/lib/content-tiles/index.js +59 -59
  29. package/lib/content-tiles/index.umd.cjs +1 -1
  30. package/lib/content-tiles/style.css +1 -1
  31. package/lib/core.css +1 -1
  32. package/lib/dropdowns/dropdown/Dropdown.ve.js +3 -3
  33. package/lib/dropdowns/index.js +84 -84
  34. package/lib/dropdowns/index.umd.cjs +1 -1
  35. package/lib/dropdowns/option-list/Option.ve.js +1 -1
  36. package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
  37. package/lib/dropdowns/style.css +1 -1
  38. package/lib/feedback-block/FeedbackBlock.ve.js +3 -3
  39. package/lib/feedback-block/index.js +54 -54
  40. package/lib/feedback-block/index.umd.cjs +1 -1
  41. package/lib/feedback-block/style.css +1 -1
  42. package/lib/file-upload/file-upload/FileUpload.ve.js +14 -14
  43. package/lib/file-upload/index.js +110 -110
  44. package/lib/file-upload/index.umd.cjs +1 -1
  45. package/lib/file-upload/style.css +1 -1
  46. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +5 -5
  47. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +2 -2
  48. package/lib/filter-tiles/index.js +55 -55
  49. package/lib/filter-tiles/index.umd.cjs +1 -1
  50. package/lib/filter-tiles/style.css +1 -1
  51. package/lib/focused-task/focused-task/FocusedTask.ve.js +9 -9
  52. package/lib/focused-task/index.js +49 -49
  53. package/lib/focused-task/index.umd.cjs +1 -1
  54. package/lib/focused-task/style.css +1 -1
  55. package/lib/growler/Growler.ve.js +7 -7
  56. package/lib/growler/Sonner.ve.js +7 -7
  57. package/lib/growler/index.js +80 -80
  58. package/lib/growler/index.umd.cjs +1 -1
  59. package/lib/growler/style.css +1 -1
  60. package/lib/index.js +104 -104
  61. package/lib/index.umd.cjs +2 -2
  62. package/lib/insight-card/InsightCard.ve.js +7 -7
  63. package/lib/insight-card/index.js +59 -59
  64. package/lib/insight-card/index.umd.cjs +1 -1
  65. package/lib/insight-card/style.css +1 -1
  66. package/lib/key-value-set/index.js +53 -53
  67. package/lib/key-value-set/index.umd.cjs +1 -1
  68. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +2 -2
  69. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +3 -3
  70. package/lib/key-value-set/style.css +1 -1
  71. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +5 -5
  72. package/lib/list-bar/index.js +88 -88
  73. package/lib/list-bar/index.umd.cjs +1 -1
  74. package/lib/list-bar/list-bar/ListBar.ve.js +12 -12
  75. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +8 -8
  76. package/lib/list-bar/style.css +1 -1
  77. package/lib/matrix/index.js +29 -29
  78. package/lib/matrix/index.umd.cjs +1 -1
  79. package/lib/matrix/matrix/Matrix.ve.js +2 -2
  80. package/lib/matrix/style.css +1 -1
  81. package/lib/modal/index.js +86 -86
  82. package/lib/modal/index.umd.cjs +1 -1
  83. package/lib/modal/modal/Modal.ve.js +9 -9
  84. package/lib/modal/style.css +1 -1
  85. package/lib/page-title/index.js +17 -17
  86. package/lib/page-title/index.umd.cjs +1 -1
  87. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +3 -3
  88. package/lib/page-title/page-title/PageTitle.ve.js +4 -4
  89. package/lib/page-title/style.css +1 -1
  90. package/lib/photo/index.js +67 -67
  91. package/lib/photo/index.umd.cjs +1 -1
  92. package/lib/photo/photo/Photo.ve.js +1 -1
  93. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +1 -1
  94. package/lib/photo/style.css +1 -1
  95. package/lib/product-bar/index.js +62 -62
  96. package/lib/product-bar/index.umd.cjs +1 -1
  97. package/lib/product-bar/product-bar/ProductBar.ve.js +10 -10
  98. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +5 -5
  99. package/lib/product-bar/slack-link/SlackLink.ve.js +2 -2
  100. package/lib/product-bar/style.css +1 -1
  101. package/lib/product-bar-vertical/index.js +69 -69
  102. package/lib/product-bar-vertical/index.umd.cjs +1 -1
  103. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +20 -20
  104. package/lib/product-bar-vertical/style.css +1 -1
  105. package/lib/progress-indicators/index.js +79 -79
  106. package/lib/progress-indicators/index.umd.cjs +1 -1
  107. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +10 -10
  108. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +4 -4
  109. package/lib/progress-indicators/style.css +1 -1
  110. package/lib/rich-text-editor/index.js +85 -85
  111. package/lib/rich-text-editor/index.umd.cjs +2 -2
  112. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +2 -2
  113. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +5 -5
  114. package/lib/rich-text-editor/style.css +1 -1
  115. package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
  116. package/lib/scrollable-container/index.js +8 -8
  117. package/lib/scrollable-container/index.umd.cjs +1 -1
  118. package/lib/scrollable-container/style.css +1 -1
  119. package/lib/side-nav/index.js +78 -78
  120. package/lib/side-nav/index.umd.cjs +1 -1
  121. package/lib/side-nav/side-nav/SideNav.ve.js +12 -12
  122. package/lib/side-nav/style.css +1 -1
  123. package/lib/sorting-header/caret/caret.ve.js +2 -2
  124. package/lib/sorting-header/index.js +125 -125
  125. package/lib/sorting-header/index.umd.cjs +1 -1
  126. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +3 -3
  127. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +2 -2
  128. package/lib/sorting-header/style.css +1 -1
  129. package/lib/style.css +1 -1
  130. package/lib/tabs/index.js +100 -100
  131. package/lib/tabs/index.umd.cjs +1 -1
  132. package/lib/tabs/style.css +1 -1
  133. package/lib/tabs/tab/Tab.ve.js +2 -2
  134. package/lib/tabs/tabs/Tabs.ve.js +5 -5
  135. package/lib/tags/clickable-tag/ClickableTag.ve.js +4 -4
  136. package/lib/tags/index.js +80 -80
  137. package/lib/tags/index.umd.cjs +1 -1
  138. package/lib/tags/split-tag/SplitTag.ve.js +2 -2
  139. package/lib/tags/style.css +1 -1
  140. package/lib/tags/tag/Tag.ve.js +3 -3
  141. package/lib/zero-state/ZeroState.ve.js +6 -6
  142. package/lib/zero-state/index.js +42 -42
  143. package/lib/zero-state/index.umd.cjs +1 -1
  144. package/lib/zero-state/style.css +1 -1
  145. package/package.json +10 -10
@@ -1,14 +1,14 @@
1
1
  /* empty css */
2
2
  import { createRuntimeFn as _ } from "../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
3
- var o = "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l0", r = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l2", error: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l3", success: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l4", warning: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l5", processing: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l7", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4la", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), n = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4li", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lj", error: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lk", success: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ll", warning: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lm", processing: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ln" }, horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lo", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lp" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), l = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lq", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lr", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ls" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), d = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lt", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lu", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lv" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), i = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lw", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lx", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ly" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), h = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lz", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l10", error: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l11", success: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l12", warning: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l13", processing: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l14" }, horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l15", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l16" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), p = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l17", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l18", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l19" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
3
+ var i = "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0", o = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), n = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lp" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), l = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ls" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lv" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), d = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ly" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), h = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l16" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), t = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l17", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l19" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
4
4
  export {
5
- r as insightCard,
6
- e as insightCardBody,
7
- d as insightCardDescription,
8
- i as insightCardDetail,
5
+ o as insightCard,
6
+ r as insightCardBody,
7
+ e as insightCardDescription,
8
+ d as insightCardDetail,
9
9
  n as insightCardMetricCount,
10
10
  h as insightCardPartnerCount,
11
- p as insightCardPartnersText,
11
+ t as insightCardPartnersText,
12
12
  l as insightCardTitle,
13
- o as insightCardWrapper
13
+ i as insightCardWrapper
14
14
  };
@@ -1,60 +1,60 @@
1
- import { Metadata as f, useChildTestIdAttrBuilder as z, cl as k, Icon as u } from "@sps-woodland/core";
1
+ import { Metadata as u, useChildTestIdAttrBuilder as z, cl as k, Icon as g } from "@sps-woodland/core";
2
2
  import * as r from "react";
3
3
  import { useWoodlandLanguage as C } from "@spscommerce/i18n";
4
- function N(_, s, e) {
5
- return s in _ ? Object.defineProperty(_, s, {
6
- value: e,
4
+ function N(_, e, a) {
5
+ return e in _ ? Object.defineProperty(_, e, {
6
+ value: a,
7
7
  enumerable: !0,
8
8
  configurable: !0,
9
9
  writable: !0
10
- }) : _[s] = e, _;
10
+ }) : _[e] = a, _;
11
11
  }
12
- function v(_, s) {
13
- var e = Object.keys(_);
12
+ function f(_, e) {
13
+ var a = Object.keys(_);
14
14
  if (Object.getOwnPropertySymbols) {
15
- var a = Object.getOwnPropertySymbols(_);
16
- s && (a = a.filter(function(n) {
15
+ var s = Object.getOwnPropertySymbols(_);
16
+ e && (s = s.filter(function(n) {
17
17
  return Object.getOwnPropertyDescriptor(_, n).enumerable;
18
- })), e.push.apply(e, a);
18
+ })), a.push.apply(a, s);
19
19
  }
20
- return e;
20
+ return a;
21
21
  }
22
- function g(_) {
23
- for (var s = 1; s < arguments.length; s++) {
24
- var e = arguments[s] != null ? arguments[s] : {};
25
- s % 2 ? v(Object(e), !0).forEach(function(a) {
26
- N(_, a, e[a]);
27
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(e)) : v(Object(e)).forEach(function(a) {
28
- Object.defineProperty(_, a, Object.getOwnPropertyDescriptor(e, a));
22
+ function m(_) {
23
+ for (var e = 1; e < arguments.length; e++) {
24
+ var a = arguments[e] != null ? arguments[e] : {};
25
+ e % 2 ? f(Object(a), !0).forEach(function(s) {
26
+ N(_, s, a[s]);
27
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(a)) : f(Object(a)).forEach(function(s) {
28
+ Object.defineProperty(_, s, Object.getOwnPropertyDescriptor(a, s));
29
29
  });
30
30
  }
31
31
  return _;
32
32
  }
33
- var b = (_, s, e) => {
34
- for (var a of Object.keys(_)) {
33
+ var b = (_, e, a) => {
34
+ for (var s of Object.keys(_)) {
35
35
  var n;
36
- if (_[a] !== ((n = s[a]) !== null && n !== void 0 ? n : e[a]))
36
+ if (_[s] !== ((n = e[s]) !== null && n !== void 0 ? n : a[s]))
37
37
  return !1;
38
38
  }
39
39
  return !0;
40
- }, t = (_) => (s) => {
41
- var e = _.defaultClassName, a = g(g({}, _.defaultVariants), s);
42
- for (var n in a) {
43
- var i, p = (i = a[n]) !== null && i !== void 0 ? i : _.defaultVariants[n];
44
- if (p != null) {
45
- var o = p;
46
- typeof o == "boolean" && (o = o === !0 ? "true" : "false");
40
+ }, t = (_) => (e) => {
41
+ var a = _.defaultClassName, s = m(m({}, _.defaultVariants), e);
42
+ for (var n in s) {
43
+ var o, c = (o = s[n]) !== null && o !== void 0 ? o : _.defaultVariants[n];
44
+ if (c != null) {
45
+ var i = c;
46
+ typeof i == "boolean" && (i = i === !0 ? "true" : "false");
47
47
  var d = (
48
48
  // @ts-expect-error
49
- _.variantClassNames[n][o]
49
+ _.variantClassNames[n][i]
50
50
  );
51
- d && (e += " " + d);
51
+ d && (a += " " + d);
52
52
  }
53
53
  }
54
- for (var [h, c] of _.compoundVariants)
55
- b(h, a, _.defaultVariants) && (e += " " + c);
56
- return e;
57
- }, V = "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l0", E = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l2", error: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l3", success: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l4", warning: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l5", processing: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l7", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), O = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4la", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), P = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4li", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lj", error: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lk", success: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ll", warning: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lm", processing: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ln" }, horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lo", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lp" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), j = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lq", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lr", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ls" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), I = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lt", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lu", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lv" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), D = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lw", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lx", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4ly" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), T = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4lz", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l10", error: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l11", success: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l12", warning: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l13", processing: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l14" }, horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l15", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l16" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), x = t({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l17", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l18", false: "pkg_sps-woodland_core__version_8_53_12__hash_z81y4l19" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
54
+ for (var [p, h] of _.compoundVariants)
55
+ b(p, s, _.defaultVariants) && (a += " " + h);
56
+ return a;
57
+ }, V = "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0", E = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), O = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), P = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lp" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), j = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ls" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), I = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lv" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), D = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ly" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), T = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l16" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), x = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l17", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l19" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
58
58
  const S = Object.freeze({
59
59
  general: "status-new",
60
60
  success: "status-ok",
@@ -64,47 +64,47 @@ const S = Object.freeze({
64
64
  });
65
65
  function A({
66
66
  children: _,
67
- className: s,
68
- horizontal: e = !1,
69
- icon: a,
67
+ className: e,
68
+ horizontal: a = !1,
69
+ icon: s,
70
70
  kind: n = "general",
71
- title: i,
72
- metric: p,
73
- partnerCount: o,
71
+ title: o,
72
+ metric: c,
73
+ partnerCount: i,
74
74
  totalPartners: d,
75
- ...h
75
+ ...p
76
76
  }) {
77
- const { t: c } = C(), l = z(h), [
78
- m,
79
- w,
80
- y
81
- ] = (o ? c("insightTile.partnerCount", {
82
- count: o,
77
+ const { t: h } = C(), l = z(p), [
78
+ y,
79
+ v,
80
+ w
81
+ ] = (i ? h("insightTile.partnerCount", {
82
+ count: i,
83
83
  total: d,
84
- defaultValue: `${o} |of| ${d}`
84
+ defaultValue: `${i} |of| ${d}`
85
85
  }) : "").split("|");
86
86
  return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
87
87
  "div",
88
88
  {
89
89
  className: k(
90
- E({ kind: n, horizontal: e }),
91
- s
90
+ E({ kind: n, horizontal: a }),
91
+ e
92
92
  ),
93
- ...h
93
+ ...p
94
94
  },
95
- /* @__PURE__ */ r.createElement("div", { className: O({ horizontal: e }), ...l("body") }, a ? /* @__PURE__ */ r.createElement(u, { icon: `${a}`, ...l("icon") }) : /* @__PURE__ */ r.createElement(u, { icon: `${S[n]}`, ...l("icon") }), p && /* @__PURE__ */ r.createElement("div", { className: P({ kind: n, horizontal: e }), ...l("metric") }, p), i && /* @__PURE__ */ r.createElement("div", { className: I({ horizontal: e }), ...l("description") }, /* @__PURE__ */ r.createElement(
95
+ /* @__PURE__ */ r.createElement("div", { className: O({ horizontal: a }), ...l("body") }, s ? /* @__PURE__ */ r.createElement(g, { icon: `${s}`, ...l("icon") }) : /* @__PURE__ */ r.createElement(g, { icon: `${S[n]}`, ...l("icon") }), c && /* @__PURE__ */ r.createElement("div", { className: P({ kind: n, horizontal: a }), ...l("metric") }, c), o && /* @__PURE__ */ r.createElement("div", { className: I({ horizontal: a }), ...l("description") }, /* @__PURE__ */ r.createElement(
96
96
  "div",
97
97
  {
98
- className: j({ horizontal: e }),
98
+ className: j({ horizontal: a }),
99
99
  style: { "-webkit-box-orient": "vertical" },
100
100
  ...l("title")
101
101
  },
102
- i
102
+ o
103
103
  ), /* @__PURE__ */ r.createElement("div", { className: D({ hasDetail: !!_ }), ...l("detail") }, _))),
104
- o && /* @__PURE__ */ r.createElement("div", { className: T({ kind: n, horizontal: e }), ...l("partner-count") }, o === d ? /* @__PURE__ */ r.createElement("div", null, c("insightTile.all", { defaultValue: "ALL" })) : /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("div", null, m), /* @__PURE__ */ r.createElement("div", null, w), /* @__PURE__ */ r.createElement("div", null, y)), /* @__PURE__ */ r.createElement("div", { className: x({ horizontal: e }) }, c("insightTile.partners", { defaultValue: "PARTNERS" })))
104
+ i && /* @__PURE__ */ r.createElement("div", { className: T({ kind: n, horizontal: a }), ...l("partner-count") }, i === d ? /* @__PURE__ */ r.createElement("div", null, h("insightTile.all", { defaultValue: "ALL" })) : /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("div", null, y), /* @__PURE__ */ r.createElement("div", null, v), /* @__PURE__ */ r.createElement("div", null, w)), /* @__PURE__ */ r.createElement("div", { className: x({ horizontal: a }) }, h("insightTile.partners", { defaultValue: "PARTNERS" })))
105
105
  ));
106
106
  }
107
- f.set(A, {
107
+ u.set(A, {
108
108
  name: "InsightCard",
109
109
  props: {
110
110
  horizontal: { type: "boolean", default: "false" },
@@ -118,11 +118,11 @@ f.set(A, {
118
118
  });
119
119
  function R({
120
120
  children: _,
121
- ...s
121
+ ...e
122
122
  }) {
123
- return /* @__PURE__ */ r.createElement("div", { className: V, ...s }, _);
123
+ return /* @__PURE__ */ r.createElement("div", { className: V, ...e }, _);
124
124
  }
125
- f.set(R, { name: "InsightCardSet" });
125
+ u.set(R, { name: "InsightCardSet" });
126
126
  export {
127
127
  A as InsightCard,
128
128
  S as InsightCardIcons,
@@ -1 +1 @@
1
- (function(o,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):(o=typeof globalThis<"u"?globalThis:o||self,t(o.InsightCard={},o.spsWoodlandCore,o.react,o.spscommerceI18n))})(this,(function(o,t,z,k){"use strict";function C(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const _ in e)if(_!=="default"){const s=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(a,_,s.get?s:{enumerable:!0,get:()=>e[_]})}}return a.default=e,Object.freeze(a)}const r=C(z);function b(e,a,_){return a in e?Object.defineProperty(e,a,{value:_,enumerable:!0,configurable:!0,writable:!0}):e[a]=_,e}function g(e,a){var _=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),_.push.apply(_,s)}return _}function v(e){for(var a=1;a<arguments.length;a++){var _=arguments[a]!=null?arguments[a]:{};a%2?g(Object(_),!0).forEach(function(s){b(e,s,_[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(_)):g(Object(_)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(_,s))})}return e}var N=(e,a,_)=>{for(var s of Object.keys(e)){var n;if(e[s]!==((n=a[s])!==null&&n!==void 0?n:_[s]))return!1}return!0},i=e=>a=>{var _=e.defaultClassName,s=v(v({},e.defaultVariants),a);for(var n in s){var c,u=(c=s[n])!==null&&c!==void 0?c:e.defaultVariants[n];if(u!=null){var l=u;typeof l=="boolean"&&(l=l===!0?"true":"false");var p=e.variantClassNames[n][l];p&&(_+=" "+p)}}for(var[f,h]of e.compoundVariants)N(f,s,e.defaultVariants)&&(_+=" "+h);return _},O="pkg_sps-woodland_core__version_8_53_12__hash_z81y4l0",V=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1",variantClassNames:{kind:{general:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l2",error:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l3",success:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l4",warning:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l5",processing:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l6"},horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l7",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l8"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),E=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4la",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lb"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),I=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4li",variantClassNames:{kind:{general:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lj",error:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lk",success:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4ll",warning:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lm",processing:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4ln"},horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lo",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lp"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),j=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lq",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lr",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4ls"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),P=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lt",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lu",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lv"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),T=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lw",variantClassNames:{hasDetail:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lx",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4ly"}},defaultVariants:{hasDetail:!1},compoundVariants:[]}),D=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4lz",variantClassNames:{kind:{general:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l10",error:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l11",success:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l12",warning:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l13",processing:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l14"},horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l15",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l16"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),S=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l17",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l18",false:"pkg_sps-woodland_core__version_8_53_12__hash_z81y4l19"}},defaultVariants:{horizontal:!1},compoundVariants:[]});const m=Object.freeze({general:"status-new",success:"status-ok",error:"status-error",warning:"status-warning",processing:"status-in-process"});function y({children:e,className:a,horizontal:_=!1,icon:s,kind:n="general",title:c,metric:u,partnerCount:l,totalPartners:p,...f}){const{t:h}=k.useWoodlandLanguage(),d=t.useChildTestIdAttrBuilder(f),[M,q,x]=(l?h("insightTile.partnerCount",{count:l,total:p,defaultValue:`${l} |of| ${p}`}):"").split("|");return r.createElement(r.Fragment,null,r.createElement("div",{className:t.cl(V({kind:n,horizontal:_}),a),...f},r.createElement("div",{className:E({horizontal:_}),...d("body")},s?r.createElement(t.Icon,{icon:`${s}`,...d("icon")}):r.createElement(t.Icon,{icon:`${m[n]}`,...d("icon")}),u&&r.createElement("div",{className:I({kind:n,horizontal:_}),...d("metric")},u),c&&r.createElement("div",{className:P({horizontal:_}),...d("description")},r.createElement("div",{className:j({horizontal:_}),style:{"-webkit-box-orient":"vertical"},...d("title")},c),r.createElement("div",{className:T({hasDetail:!!e}),...d("detail")},e))),l&&r.createElement("div",{className:D({kind:n,horizontal:_}),...d("partner-count")},l===p?r.createElement("div",null,h("insightTile.all",{defaultValue:"ALL"})):r.createElement(r.Fragment,null,r.createElement("div",null,M),r.createElement("div",null,q),r.createElement("div",null,x)),r.createElement("div",{className:S({horizontal:_})},h("insightTile.partners",{defaultValue:"PARTNERS"})))))}t.Metadata.set(y,{name:"InsightCard",props:{horizontal:{type:"boolean",default:"false"},icon:"IconName",kind:{type:"InsightCardKind",default:'"general"'},title:"string",metric:"number | string",partnerCount:"number",totalPartners:"number"}});function w({children:e,...a}){return r.createElement("div",{className:O,...a},e)}t.Metadata.set(w,{name:"InsightCardSet"}),o.InsightCard=y,o.InsightCardIcons=m,o.InsightCardSet=w,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
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,z,k){"use strict";function C(_){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=C(z);function b(_,e,a){return e in _?Object.defineProperty(_,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):_[e]=a,_}function u(_,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 m(_){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?u(Object(a),!0).forEach(function(s){b(_,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(s){Object.defineProperty(_,s,Object.getOwnPropertyDescriptor(a,s))})}return _}var N=(_,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=m(m({},_.defaultVariants),e);for(var n in s){var c,p=(c=s[n])!==null&&c!==void 0?c:_.defaultVariants[n];if(p!=null){var l=p;typeof l=="boolean"&&(l=l===!0?"true":"false");var h=_.variantClassNames[n][l];h&&(a+=" "+h)}}for(var[g,f]of _.compoundVariants)N(g,s,_.defaultVariants)&&(a+=" "+f);return a},O="pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0",V=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2",error:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3",success:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4",warning:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5",processing:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l8"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),E=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lb"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),I=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj",error:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk",success:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll",warning:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm",processing:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lp"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),j=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ls"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),P=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lv"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),T=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw",variantClassNames:{hasDetail:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ly"}},defaultVariants:{hasDetail:!1},compoundVariants:[]}),D=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10",error:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11",success:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12",warning:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13",processing:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l16"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),S=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l17",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l19"}},defaultVariants:{horizontal:!1},compoundVariants:[]});const y=Object.freeze({general:"status-new",success:"status-ok",error:"status-error",warning:"status-warning",processing:"status-in-process"});function v({children:_,className:e,horizontal:a=!1,icon:s,kind:n="general",title:c,metric:p,partnerCount:l,totalPartners:h,...g}){const{t:f}=k.useWoodlandLanguage(),d=t.useChildTestIdAttrBuilder(g),[M,q,x]=(l?f("insightTile.partnerCount",{count:l,total:h,defaultValue:`${l} |of| ${h}`}):"").split("|");return r.createElement(r.Fragment,null,r.createElement("div",{className:t.cl(V({kind:n,horizontal:a}),e),...g},r.createElement("div",{className:E({horizontal:a}),...d("body")},s?r.createElement(t.Icon,{icon:`${s}`,...d("icon")}):r.createElement(t.Icon,{icon:`${y[n]}`,...d("icon")}),p&&r.createElement("div",{className:I({kind:n,horizontal:a}),...d("metric")},p),c&&r.createElement("div",{className:P({horizontal:a}),...d("description")},r.createElement("div",{className:j({horizontal:a}),style:{"-webkit-box-orient":"vertical"},...d("title")},c),r.createElement("div",{className:T({hasDetail:!!_}),...d("detail")},_))),l&&r.createElement("div",{className:D({kind:n,horizontal:a}),...d("partner-count")},l===h?r.createElement("div",null,f("insightTile.all",{defaultValue:"ALL"})):r.createElement(r.Fragment,null,r.createElement("div",null,M),r.createElement("div",null,q),r.createElement("div",null,x)),r.createElement("div",{className:S({horizontal:a})},f("insightTile.partners",{defaultValue:"PARTNERS"})))))}t.Metadata.set(v,{name:"InsightCard",props:{horizontal:{type:"boolean",default:"false"},icon:"IconName",kind:{type:"InsightCardKind",default:'"general"'},title:"string",metric:"number | string",partnerCount:"number",totalPartners:"number"}});function w({children:_,...e}){return r.createElement("div",{className:O,...e},_)}t.Metadata.set(w,{name:"InsightCardSet"}),i.InsightCard=v,i.InsightCardIcons=y,i.InsightCardSet=w,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__version_8_53_12__hash_z81y4l0{display:flex;flex-wrap:wrap;margin:-.5rem}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1{background:#fff;border-width:.0625rem;border-style:solid;border-radius:.25rem;display:block;flex:1 0 calc(20% - 20px);margin:.5rem;min-width:0;padding:.9375rem 1.25rem;text-align:center}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l2{border-color:#007db8;color:#007db8}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l2:hover{background:#007db8}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l3{border-color:#de002e;color:#de002e}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l3:hover{background:#de002e}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l4{border-color:#0b8940;color:#0b8940}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l4:hover{background:#0b8940}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l5{border-color:#e7760b;color:#e7760b}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l5:hover{background:#e7760b}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l6{border-color:#91467f;color:#91467f}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l6:hover{background:#91467f}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l7{display:flex;flex:1 0 calc(50% - 20px);height:5.125rem;max-width:calc(50% - 20px)}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9{display:block;min-width:0}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4la{align-items:center;display:flex;flex:1;text-align:left}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lc{display:block;font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4ld{color:#007db8}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4le{color:#de002e}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lf{color:#0b8940}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lg{color:#e7760b}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lh{color:#91467f}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4li{font-size:3rem;font-weight:600;line-height:3rem;max-width:100%;word-wrap:break-word}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lj{color:#007db8}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lk{color:#de002e}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4ll{color:#0b8940}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lm{color:#e7760b}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4ln{color:#91467f}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lo{margin-left:.5rem;order:1}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lq{-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__version_8_53_12__hash_z81y4lr{min-height:1rem;margin-bottom:0}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lu{flex:1;margin-left:.5rem;min-width:0}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lw{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__version_8_53_12__hash_z81y4lx{display:block}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lz{color:#fff;font-weight:600;font-size:.75rem;line-height:1.125rem;margin:.9375rem -1.25rem -.9375rem;padding:.625rem 1.25rem}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l10{background:#007db8}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l11{background:#de002e}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l12{background:#0b8940}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l13{background:#e7760b}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l14{background:#91467f}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l15{display:flex;flex-direction:column;justify-content:center;line-height:.875rem;margin:-.9375rem -1.25rem -.9375rem 1.25rem;padding:1.25rem .625rem;width:3.75rem}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l18{display:none!important}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9>svg{font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lz>*{display:inline-block}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lz>*:not(:last-child){padding-right:.125rem}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1:hover{cursor:pointer}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1:hover>*{color:#fff!important}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1:hover>.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9>*{color:#fff!important}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1:hover>.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9>.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lt>*{color:#fff!important}.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l1:hover>.pkg_sps-woodland_core__version_8_53_12__hash_z81y4l9>.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lt>.pkg_sps-woodland_core__version_8_53_12__hash_z81y4lw>*{color:#fff!important}
1
+ .pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0{display:flex;flex-wrap:wrap;margin:-.5rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1{background:#fff;border-width:.0625rem;border-style:solid;border-radius:.25rem;display:block;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_53_13__hash_z81y4l2{border-color:#007db8;color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2:hover{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3{border-color:#de002e;color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3:hover{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4{border-color:#0b8940;color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4:hover{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5{border-color:#e7760b;color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5:hover{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6{border-color:#91467f;color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6:hover{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7{display:flex;flex:1 0 calc(50% - 20px);height:5.125rem;max-width:calc(50% - 20px)}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9{display:block;min-width:0}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la{align-items:center;display:flex;flex:1;text-align:left}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lc{display:block;font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ld{color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4le{color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lf{color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lg{color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lh{color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li{font-size:3rem;font-weight:600;line-height:3rem;max-width:100%;word-wrap:break-word}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj{color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk{color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll{color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm{color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln{color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo{margin-left:.5rem;order:1}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq{-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_53_13__hash_z81y4lr{min-height:1rem;margin-bottom:0}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu{flex:1;margin-left:.5rem;min-width:0}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw{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_53_13__hash_z81y4lx{display:block}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz{color:#fff;font-weight:600;font-size:.75rem;line-height:1.125rem;margin:.9375rem -1.25rem -.9375rem;padding:.625rem 1.25rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15{display:flex;flex-direction:column;justify-content:center;line-height:.875rem;margin:-.9375rem -1.25rem -.9375rem 1.25rem;padding:1.25rem .625rem;width:3.75rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18{display:none!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>svg{font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz>*{display:inline-block}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz>*:not(:last-child){padding-right:.125rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover{cursor:pointer}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw>*{color:#fff!important}
@@ -1,69 +1,69 @@
1
- import { Metadata as i, cl as c, useChildTestIdAttrBuilder as y } from "@sps-woodland/core";
2
- import * as o from "react";
3
- function O(e, a, r) {
4
- return a in e ? Object.defineProperty(e, a, {
5
- value: r,
1
+ import { Metadata as i, cl as m, useChildTestIdAttrBuilder as y } from "@sps-woodland/core";
2
+ import * as n from "react";
3
+ function O(e, t, a) {
4
+ return t in e ? Object.defineProperty(e, t, {
5
+ value: a,
6
6
  enumerable: !0,
7
7
  configurable: !0,
8
8
  writable: !0
9
- }) : e[a] = r, e;
9
+ }) : e[t] = a, e;
10
10
  }
11
- function p(e, a) {
12
- var r = Object.keys(e);
11
+ function p(e, t) {
12
+ var a = Object.keys(e);
13
13
  if (Object.getOwnPropertySymbols) {
14
- var t = Object.getOwnPropertySymbols(e);
15
- a && (t = t.filter(function(n) {
16
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
17
- })), r.push.apply(r, t);
14
+ var r = Object.getOwnPropertySymbols(e);
15
+ t && (r = r.filter(function(_) {
16
+ return Object.getOwnPropertyDescriptor(e, _).enumerable;
17
+ })), a.push.apply(a, r);
18
18
  }
19
- return r;
19
+ return a;
20
20
  }
21
21
  function f(e) {
22
- for (var a = 1; a < arguments.length; a++) {
23
- var r = arguments[a] != null ? arguments[a] : {};
24
- a % 2 ? p(Object(r), !0).forEach(function(t) {
25
- O(e, t, r[t]);
26
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : p(Object(r)).forEach(function(t) {
27
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
22
+ for (var t = 1; t < arguments.length; t++) {
23
+ var a = arguments[t] != null ? arguments[t] : {};
24
+ t % 2 ? p(Object(a), !0).forEach(function(r) {
25
+ O(e, r, a[r]);
26
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : p(Object(a)).forEach(function(r) {
27
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(a, r));
28
28
  });
29
29
  }
30
30
  return e;
31
31
  }
32
- var h = (e, a, r) => {
33
- for (var t of Object.keys(e)) {
34
- var n;
35
- if (e[t] !== ((n = a[t]) !== null && n !== void 0 ? n : r[t]))
32
+ var h = (e, t, a) => {
33
+ for (var r of Object.keys(e)) {
34
+ var _;
35
+ if (e[r] !== ((_ = t[r]) !== null && _ !== void 0 ? _ : a[r]))
36
36
  return !1;
37
37
  }
38
38
  return !0;
39
- }, d = (e) => (a) => {
40
- var r = e.defaultClassName, t = f(f({}, e.defaultVariants), a);
41
- for (var n in t) {
42
- var s, _ = (s = t[n]) !== null && s !== void 0 ? s : e.defaultVariants[n];
43
- if (_ != null) {
44
- var l = _;
45
- typeof l == "boolean" && (l = l === !0 ? "true" : "false");
39
+ }, c = (e) => (t) => {
40
+ var a = e.defaultClassName, r = f(f({}, e.defaultVariants), t);
41
+ for (var _ in r) {
42
+ var s, l = (s = r[_]) !== null && s !== void 0 ? s : e.defaultVariants[_];
43
+ if (l != null) {
44
+ var o = l;
45
+ typeof o == "boolean" && (o = o === !0 ? "true" : "false");
46
46
  var u = (
47
47
  // @ts-expect-error
48
- e.variantClassNames[n][l]
48
+ e.variantClassNames[_][o]
49
49
  );
50
- u && (r += " " + u);
50
+ u && (a += " " + u);
51
51
  }
52
52
  }
53
- for (var [m, v] of e.compoundVariants)
54
- h(m, t, e.defaultVariants) && (r += " " + v);
55
- return r;
56
- }, w = d({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc1", variantClassNames: { inline: { true: "pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc2 pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc0" } }, defaultVariants: {}, compoundVariants: [] });
53
+ for (var [d, v] of e.compoundVariants)
54
+ h(d, r, e.defaultVariants) && (a += " " + v);
55
+ return a;
56
+ }, w = c({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1", variantClassNames: { inline: { true: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc2 pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0" } }, defaultVariants: {}, compoundVariants: [] });
57
57
  function b({
58
58
  children: e,
59
- className: a,
60
- inline: r,
61
- ...t
59
+ className: t,
60
+ inline: a,
61
+ ...r
62
62
  }) {
63
- return /* @__PURE__ */ o.createElement("div", { className: c(
64
- w({ inline: r }),
65
- a
66
- ), ...t }, e);
63
+ return /* @__PURE__ */ n.createElement("div", { className: m(
64
+ w({ inline: a }),
65
+ t
66
+ ), ...r }, e);
67
67
  }
68
68
  i.set(b, {
69
69
  name: "KeyValueSet",
@@ -71,18 +71,18 @@ i.set(b, {
71
71
  inline: { type: "boolean", default: "false" }
72
72
  }
73
73
  });
74
- var V = "pkg_sps-woodland_core__version_8_53_12__hash_fm6p690", g = d({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_fm6p691", variantClassNames: { wrap: { normal: "pkg_sps-woodland_core__version_8_53_12__hash_fm6p692", truncate: "pkg_sps-woodland_core__version_8_53_12__hash_fm6p693" } }, defaultVariants: {}, compoundVariants: [] });
75
- function P({
74
+ var V = "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690", g = c({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691", variantClassNames: { wrap: { normal: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692", truncate: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693" } }, defaultVariants: {}, compoundVariants: [] });
75
+ function k({
76
76
  children: e,
77
- className: a,
78
- itemKey: r,
79
- wrap: t,
80
- ...n
77
+ className: t,
78
+ itemKey: a,
79
+ wrap: r,
80
+ ..._
81
81
  }) {
82
- const s = y(n), _ = t === "truncate" && typeof e == "string" ? e : void 0;
83
- return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("span", { className: V, ...s("key") }, r), /* @__PURE__ */ o.createElement("span", { className: c(g({ wrap: t }), a), title: _, ...n }, e));
82
+ const s = y(_), l = r === "truncate" && typeof e == "string" ? e : void 0;
83
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("span", { className: V, ...s("key") }, a), /* @__PURE__ */ n.createElement("span", { className: m(g({ wrap: r }), t), title: l, ..._ }, e));
84
84
  }
85
- i.set(P, {
85
+ i.set(k, {
86
86
  name: "KeyValueSetItem",
87
87
  props: {
88
88
  itemKey: { type: "React.ReactNode | (() => React.ReactNode)", required: !0 },
@@ -91,5 +91,5 @@ i.set(P, {
91
91
  });
92
92
  export {
93
93
  b as KeyValueSet,
94
- P as KeyValueSetItem
94
+ k as KeyValueSetItem
95
95
  };
@@ -1 +1 @@
1
- (function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@sps-woodland/core"),require("react")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s.KeyValueSet={},s.spsWoodlandCore,s.react))})(this,(function(s,o,y){"use strict";function O(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const u=O(y);function b(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function f(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function d(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?f(Object(t),!0).forEach(function(r){b(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var h=(e,a,t)=>{for(var r of Object.keys(e)){var n;if(e[r]!==((n=a[r])!==null&&n!==void 0?n:t[r]))return!1}return!0},i=e=>a=>{var t=e.defaultClassName,r=d(d({},e.defaultVariants),a);for(var n in r){var l,_=(l=r[n])!==null&&l!==void 0?l:e.defaultVariants[n];if(_!=null){var p=_;typeof p=="boolean"&&(p=p===!0?"true":"false");var v=e.variantClassNames[n][p];v&&(t+=" "+v)}}for(var[j,S]of e.compoundVariants)h(j,r,e.defaultVariants)&&(t+=" "+S);return t},w=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc1",variantClassNames:{inline:{true:"pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc2 pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc0"}},defaultVariants:{},compoundVariants:[]});function c({children:e,className:a,inline:t,...r}){return u.createElement("div",{className:o.cl(w({inline:t}),a),...r},e)}o.Metadata.set(c,{name:"KeyValueSet",props:{inline:{type:"boolean",default:"false"}}});var g="pkg_sps-woodland_core__version_8_53_12__hash_fm6p690",V=i({defaultClassName:"pkg_sps-woodland_core__version_8_53_12__hash_fm6p691",variantClassNames:{wrap:{normal:"pkg_sps-woodland_core__version_8_53_12__hash_fm6p692",truncate:"pkg_sps-woodland_core__version_8_53_12__hash_fm6p693"}},defaultVariants:{},compoundVariants:[]});function m({children:e,className:a,itemKey:t,wrap:r,...n}){const l=o.useChildTestIdAttrBuilder(n),_=r==="truncate"&&typeof e=="string"?e:void 0;return u.createElement(u.Fragment,null,u.createElement("span",{className:g,...l("key")},t),u.createElement("span",{className:o.cl(V({wrap:r}),a),title:_,...n},e))}o.Metadata.set(m,{name:"KeyValueSetItem",props:{itemKey:{type:"React.ReactNode | (() => React.ReactNode)",required:!0},wrap:{type:"'normal' | 'truncate'"}}}),s.KeyValueSet=c,s.KeyValueSetItem=m,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@sps-woodland/core"),require("react")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s.KeyValueSet={},s.spsWoodlandCore,s.react))})(this,(function(s,o,v){"use strict";function O(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const _=O(v);function b(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?i(Object(t),!0).forEach(function(a){b(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var h=(e,r,t)=>{for(var a of Object.keys(e)){var n;if(e[a]!==((n=r[a])!==null&&n!==void 0?n:t[a]))return!1}return!0},d=e=>r=>{var t=e.defaultClassName,a=p(p({},e.defaultVariants),r);for(var n in a){var l,u=(l=a[n])!==null&&l!==void 0?l:e.defaultVariants[n];if(u!=null){var f=u;typeof f=="boolean"&&(f=f===!0?"true":"false");var y=e.variantClassNames[n][f];y&&(t+=" "+y)}}for(var[j,S]of e.compoundVariants)h(j,a,e.defaultVariants)&&(t+=" "+S);return t},w=d({defaultClassName:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1",variantClassNames:{inline:{true:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc2 pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0"}},defaultVariants:{},compoundVariants:[]});function c({children:e,className:r,inline:t,...a}){return _.createElement("div",{className:o.cl(w({inline:t}),r),...a},e)}o.Metadata.set(c,{name:"KeyValueSet",props:{inline:{type:"boolean",default:"false"}}});var g="pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690",V=d({defaultClassName:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691",variantClassNames:{wrap:{normal:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692",truncate:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693"}},defaultVariants:{},compoundVariants:[]});function m({children:e,className:r,itemKey:t,wrap:a,...n}){const l=o.useChildTestIdAttrBuilder(n),u=a==="truncate"&&typeof e=="string"?e:void 0;return _.createElement(_.Fragment,null,_.createElement("span",{className:g,...l("key")},t),_.createElement("span",{className:o.cl(V({wrap:a}),r),title:u,...n},e))}o.Metadata.set(m,{name:"KeyValueSetItem",props:{itemKey:{type:"React.ReactNode | (() => React.ReactNode)",required:!0},wrap:{type:"'normal' | 'truncate'"}}}),s.KeyValueSet=c,s.KeyValueSetItem=m,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
@@ -1,6 +1,6 @@
1
1
  /* empty css */
2
2
  import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
3
- var o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc1", variantClassNames: { inline: { true: "pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc2 pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc0" } }, defaultVariants: {}, compoundVariants: [] });
3
+ var s = _({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1", variantClassNames: { inline: { true: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc2 pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0" } }, defaultVariants: {}, compoundVariants: [] });
4
4
  export {
5
- o as keyValueSet
5
+ s as keyValueSet
6
6
  };
@@ -1,8 +1,8 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
4
- var r = "pkg_sps-woodland_core__version_8_53_12__hash_fm6p690", e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_fm6p691", variantClassNames: { wrap: { normal: "pkg_sps-woodland_core__version_8_53_12__hash_fm6p692", truncate: "pkg_sps-woodland_core__version_8_53_12__hash_fm6p693" } }, defaultVariants: {}, compoundVariants: [] });
4
+ var o = "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690", r = _({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691", variantClassNames: { wrap: { normal: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692", truncate: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693" } }, defaultVariants: {}, compoundVariants: [] });
5
5
  export {
6
- r as key,
7
- e as value
6
+ o as key,
7
+ r as value
8
8
  };
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc0{grid-template-columns:auto auto}.pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc1{column-gap:.5rem;display:inline-grid;font-size:.75rem;line-height:1.125rem;max-width:100%}.pkg_sps-woodland_core__version_8_53_12__hash_fm6p690{font-weight:600;min-width:0}.pkg_sps-woodland_core__version_8_53_12__hash_1ovxcsc0 .pkg_sps-woodland_core__version_8_53_12__hash_fm6p690{text-align:right}.pkg_sps-woodland_core__version_8_53_12__hash_fm6p691{min-width:0;overflow-wrap:break-word}.pkg_sps-woodland_core__version_8_53_12__hash_fm6p692{overflow-wrap:normal}.pkg_sps-woodland_core__version_8_53_12__hash_fm6p693{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
1
+ .pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0{grid-template-columns:auto auto}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1{column-gap:.5rem;display:inline-grid;font-size:.75rem;line-height:1.125rem;max-width:100%}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690{font-weight:600;min-width:0}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0 .pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690{text-align:right}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691{min-width:0;overflow-wrap:break-word}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692{overflow-wrap:normal}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -1,9 +1,9 @@
1
1
  /* empty css */
2
2
  import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
3
- var s = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc0", variantClassNames: { open: { true: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc1", false: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc2" }, compact: { true: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc3", false: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc4" } }, defaultVariants: { open: !1, compact: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc5", variantClassNames: { open: { true: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc6", false: "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc7" } }, defaultVariants: { open: !0 }, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc8", p = "pkg_sps-woodland_core__version_8_53_12__hash_am9pfc9";
3
+ var o = _({ defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc0", variantClassNames: { open: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc1", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc2" }, compact: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc3", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc4" } }, defaultVariants: { open: !1, compact: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc5", variantClassNames: { open: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc6", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc7" } }, defaultVariants: { open: !0 }, compoundVariants: [] }), e = "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc8", l = "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc9";
4
4
  export {
5
- s as advancedSearch,
6
- r as advancedSearchFooter,
7
- p as advancedSearchFooterControls,
8
- e as advancedSearchForm
5
+ o as advancedSearch,
6
+ e as advancedSearchFooter,
7
+ l as advancedSearchFooterControls,
8
+ r as advancedSearchForm
9
9
  };