@sps-woodland/core 8.53.30 → 8.53.31

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 (155) hide show
  1. package/lib/action-bar/action-bar/ActionBar.ve.js +1 -1
  2. package/lib/action-bar/index.js +1 -1
  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 +1 -1
  6. package/lib/add-to-list/index.js +1 -1
  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.css.d.ts +3 -1
  10. package/lib/buttons/button/Button.css.d.ts.map +1 -1
  11. package/lib/buttons/button/Button.d.ts +2 -0
  12. package/lib/buttons/button/Button.d.ts.map +1 -1
  13. package/lib/buttons/button/Button.js +65 -59
  14. package/lib/buttons/button/Button.ve.js +1 -1
  15. package/lib/buttons/index.js +91 -85
  16. package/lib/buttons/index.umd.cjs +1 -1
  17. package/lib/buttons/style.css +1 -1
  18. package/lib/cards/card/Card.ve.js +1 -1
  19. package/lib/cards/card-footer/CardFooter.ve.js +1 -1
  20. package/lib/cards/card-header/CardHeader.ve.js +1 -1
  21. package/lib/cards/card-title/CardTitle.ve.js +1 -1
  22. package/lib/cards/index.js +4 -4
  23. package/lib/cards/index.umd.cjs +1 -1
  24. package/lib/cards/style.css +1 -1
  25. package/lib/components/icon/Icon.ve.js +1 -1
  26. package/lib/content-row/content-row/ContentRow.ve.js +1 -1
  27. package/lib/content-row/content-row-col/ContentRowCol.ve.js +1 -1
  28. package/lib/content-row/index.js +3 -3
  29. package/lib/content-row/index.umd.cjs +1 -1
  30. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +1 -1
  31. package/lib/content-row/style.css +1 -1
  32. package/lib/content-tiles/content-tile/ContentTile.ve.js +1 -1
  33. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +1 -1
  34. package/lib/content-tiles/index.js +2 -2
  35. package/lib/content-tiles/index.umd.cjs +1 -1
  36. package/lib/content-tiles/style.css +1 -1
  37. package/lib/core.css +1 -1
  38. package/lib/dropdowns/dropdown/Dropdown.ve.js +1 -1
  39. package/lib/dropdowns/index.js +3 -3
  40. package/lib/dropdowns/index.umd.cjs +1 -1
  41. package/lib/dropdowns/option-list/Option.ve.js +1 -1
  42. package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
  43. package/lib/dropdowns/style.css +1 -1
  44. package/lib/feedback-block/FeedbackBlock.ve.js +1 -1
  45. package/lib/feedback-block/index.js +1 -1
  46. package/lib/feedback-block/index.umd.cjs +1 -1
  47. package/lib/feedback-block/style.css +1 -1
  48. package/lib/file-upload/file-upload/FileUpload.ve.js +1 -1
  49. package/lib/file-upload/index.js +1 -1
  50. package/lib/file-upload/index.umd.cjs +1 -1
  51. package/lib/file-upload/style.css +1 -1
  52. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +1 -1
  53. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +1 -1
  54. package/lib/filter-tiles/index.js +2 -2
  55. package/lib/filter-tiles/index.umd.cjs +1 -1
  56. package/lib/filter-tiles/style.css +1 -1
  57. package/lib/focused-task/focused-task/FocusedTask.ve.js +1 -1
  58. package/lib/focused-task/index.js +1 -1
  59. package/lib/focused-task/index.umd.cjs +1 -1
  60. package/lib/focused-task/style.css +1 -1
  61. package/lib/growler/Growler.ve.js +1 -1
  62. package/lib/growler/Sonner.ve.js +1 -1
  63. package/lib/growler/index.js +2 -2
  64. package/lib/growler/index.umd.cjs +1 -1
  65. package/lib/growler/style.css +1 -1
  66. package/lib/index.js +8 -8
  67. package/lib/index.umd.cjs +1 -1
  68. package/lib/insight-card/InsightCard.ve.js +1 -1
  69. package/lib/insight-card/index.js +1 -1
  70. package/lib/insight-card/index.umd.cjs +1 -1
  71. package/lib/insight-card/style.css +1 -1
  72. package/lib/key-value-set/index.js +2 -2
  73. package/lib/key-value-set/index.umd.cjs +1 -1
  74. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +1 -1
  75. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +1 -1
  76. package/lib/key-value-set/style.css +1 -1
  77. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +1 -1
  78. package/lib/list-bar/index.js +60 -60
  79. package/lib/list-bar/index.umd.cjs +1 -1
  80. package/lib/list-bar/list-bar/ListBar.ve.js +1 -1
  81. package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +0 -1
  82. package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +1 -1
  83. package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -1
  84. package/lib/list-bar/search-results-bar/SearchResultsBar.js +7 -7
  85. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +1 -2
  86. package/lib/list-bar/style.css +1 -1
  87. package/lib/matrix/index.js +1 -1
  88. package/lib/matrix/index.umd.cjs +1 -1
  89. package/lib/matrix/matrix/Matrix.ve.js +1 -1
  90. package/lib/matrix/style.css +1 -1
  91. package/lib/modal/index.js +1 -1
  92. package/lib/modal/index.umd.cjs +1 -1
  93. package/lib/modal/modal/Modal.ve.js +1 -1
  94. package/lib/modal/style.css +1 -1
  95. package/lib/page-title/index.js +2 -2
  96. package/lib/page-title/index.umd.cjs +1 -1
  97. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +1 -1
  98. package/lib/page-title/page-title/PageTitle.ve.js +1 -1
  99. package/lib/page-title/style.css +1 -1
  100. package/lib/photo/index.js +2 -2
  101. package/lib/photo/index.umd.cjs +1 -1
  102. package/lib/photo/photo/Photo.ve.js +1 -1
  103. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +1 -1
  104. package/lib/photo/style.css +1 -1
  105. package/lib/product-bar/index.js +3 -3
  106. package/lib/product-bar/index.umd.cjs +1 -1
  107. package/lib/product-bar/product-bar/ProductBar.ve.js +1 -1
  108. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +1 -1
  109. package/lib/product-bar/slack-link/SlackLink.ve.js +1 -1
  110. package/lib/product-bar/style.css +1 -1
  111. package/lib/product-bar-vertical/index.js +1 -1
  112. package/lib/product-bar-vertical/index.umd.cjs +1 -1
  113. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +1 -1
  114. package/lib/product-bar-vertical/style.css +1 -1
  115. package/lib/progress-indicators/index.js +1 -1
  116. package/lib/progress-indicators/index.umd.cjs +1 -1
  117. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +1 -1
  118. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +1 -1
  119. package/lib/progress-indicators/style.css +1 -1
  120. package/lib/rich-text-editor/index.js +2 -2
  121. package/lib/rich-text-editor/index.umd.cjs +1 -1
  122. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +1 -1
  123. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +1 -1
  124. package/lib/rich-text-editor/style.css +1 -1
  125. package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
  126. package/lib/scrollable-container/index.js +1 -1
  127. package/lib/scrollable-container/index.umd.cjs +1 -1
  128. package/lib/scrollable-container/style.css +1 -1
  129. package/lib/side-nav/index.js +1 -1
  130. package/lib/side-nav/index.umd.cjs +1 -1
  131. package/lib/side-nav/side-nav/SideNav.ve.js +1 -1
  132. package/lib/side-nav/style.css +1 -1
  133. package/lib/sorting-header/caret/caret.ve.js +1 -1
  134. package/lib/sorting-header/index.js +2 -2
  135. package/lib/sorting-header/index.umd.cjs +1 -1
  136. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +1 -1
  137. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +1 -1
  138. package/lib/sorting-header/style.css +1 -1
  139. package/lib/style.css +1 -1
  140. package/lib/tabs/index.js +2 -2
  141. package/lib/tabs/index.umd.cjs +1 -1
  142. package/lib/tabs/style.css +1 -1
  143. package/lib/tabs/tab/Tab.ve.js +1 -1
  144. package/lib/tabs/tabs/Tabs.ve.js +1 -1
  145. package/lib/tags/clickable-tag/ClickableTag.ve.js +1 -1
  146. package/lib/tags/index.js +3 -3
  147. package/lib/tags/index.umd.cjs +1 -1
  148. package/lib/tags/split-tag/SplitTag.ve.js +1 -1
  149. package/lib/tags/style.css +1 -1
  150. package/lib/tags/tag/Tag.ve.js +1 -1
  151. package/lib/zero-state/ZeroState.ve.js +1 -1
  152. package/lib/zero-state/index.js +1 -1
  153. package/lib/zero-state/index.umd.cjs +1 -1
  154. package/lib/zero-state/style.css +1 -1
  155. package/package.json +10 -10
@@ -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 r = _({ defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv1", variantClassNames: { pinned: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv2", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv3" } }, defaultVariants: { pinned: !1 }, compoundVariants: [] }), o = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv4", l = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv5", i = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv6", e = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv7", n = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv8", t = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv9", v = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwva", d = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvb", p = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvc", h = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd", g = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwve", w = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvf";
3
+ var r = _({ defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv1", variantClassNames: { pinned: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv2", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv3" } }, defaultVariants: { pinned: !1 }, compoundVariants: [] }), o = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv4", l = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv5", i = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv6", e = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv7", n = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv8", t = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv9", v = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwva", d = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvb", p = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvc", h = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd", g = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwve", w = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvf";
4
4
  export {
5
5
  g as inputGroupIconButton,
6
6
  r as listBar,
@@ -6,5 +6,4 @@ export declare const searchResultsBarSelections: string;
6
6
  export declare const searchResultsBarSelection: string;
7
7
  export declare const searchResultsBarSelectionTag: string;
8
8
  export declare const searchResultsBarButtons: string;
9
- export declare const searchResultsBarButton: string;
10
9
  //# sourceMappingURL=SearchResultsBar.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchResultsBar.css.d.ts","sourceRoot":"","sources":["../../../src/list-bar/search-results-bar/SearchResultsBar.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,QAAY,CAAC;AAEjD,eAAO,MAAM,gBAAgB,QAQ3B,CAAC;AAcH,eAAO,MAAM,uBAAuB,QAUlC,CAAC;AAEH,eAAO,MAAM,0BAA0B,QAErC,CAAC;AAEH,eAAO,MAAM,0BAA0B,QAMrC,CAAC;AAEH,eAAO,MAAM,yBAAyB,QAWpC,CAAC;AAEH,eAAO,MAAM,4BAA4B,QAUvC,CAAC;AAEH,eAAO,MAAM,uBAAuB,QAclC,CAAC;AAEH,eAAO,MAAM,sBAAsB,QAGjC,CAAC"}
1
+ {"version":3,"file":"SearchResultsBar.css.d.ts","sourceRoot":"","sources":["../../../src/list-bar/search-results-bar/SearchResultsBar.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,QAAY,CAAC;AAEjD,eAAO,MAAM,gBAAgB,QAQ3B,CAAC;AAcH,eAAO,MAAM,uBAAuB,QAUlC,CAAC;AAEH,eAAO,MAAM,0BAA0B,QAErC,CAAC;AAEH,eAAO,MAAM,0BAA0B,QAMrC,CAAC;AAEH,eAAO,MAAM,yBAAyB,QAWpC,CAAC;AAEH,eAAO,MAAM,4BAA4B,QAUvC,CAAC;AAEH,eAAO,MAAM,uBAAuB,QAclC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchResultsBar.d.ts","sourceRoot":"","sources":["../../../src/list-bar/search-results-bar/SearchResultsBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAgBzD,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,UAAU,EACV,aAAa,EACb,OAAO,EACP,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAgDrB"}
1
+ {"version":3,"file":"SearchResultsBar.d.ts","sourceRoot":"","sources":["../../../src/list-bar/search-results-bar/SearchResultsBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAezD,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,UAAU,EACV,aAAa,EACb,OAAO,EACP,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAgDrB"}
@@ -2,21 +2,21 @@ import * as e from "react";
2
2
  import { Metadata as p } from "@sps-woodland/core";
3
3
  import { Tag as c } from "@sps-woodland/core/tag";
4
4
  import { Button as R } from "@sps-woodland/core/button";
5
- import { searchResultsBar as h, searchResultsBarResults as B, searchResutlsBarResultsTag as f, searchResultsBarSelections as E, searchResultsBarSelection as g, searchResultsBarSelectionTag as k, searchResultsBarButtons as y, searchResultsBarButton as N } from "./SearchResultsBar.ve.js";
5
+ import { searchResultsBar as h, searchResultsBarResults as f, searchResutlsBarResultsTag as B, searchResultsBarSelections as k, searchResultsBarSelection as E, searchResultsBarSelectionTag as g, searchResultsBarButtons as y } from "./SearchResultsBar.ve.js";
6
6
  import { useWoodlandLanguage as S } from "@spscommerce/i18n";
7
- function v({
7
+ function N({
8
8
  results: r,
9
9
  selections: s,
10
10
  zeroStateText: m,
11
11
  onClear: u,
12
- className: b,
13
- children: T,
12
+ className: v,
13
+ children: b,
14
14
  ...o
15
15
  }) {
16
16
  const { t: l } = S(), n = s ? Object.keys(s).reduce((t, a) => (s[a].length > 0 && (t[a] = s[a]), t), {}) : {};
17
- return /* @__PURE__ */ e.createElement("div", { className: h, ...o }, r != null && /* @__PURE__ */ e.createElement("div", { className: B }, /* @__PURE__ */ e.createElement("span", null, l("searchResultsBar.results", { defaultValue: "Results:" })), /* @__PURE__ */ e.createElement(c, { className: f, kind: "info" }, /* @__PURE__ */ e.createElement("span", null, r))), /* @__PURE__ */ e.createElement("div", { className: E }, Object.keys(n).length > 0 ? Object.keys(n).map((t, a) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { key: a, className: g }, t, ":"), n[t].map((i, d) => /* @__PURE__ */ e.createElement(c, { className: k, key: d, kind: "key" }, /* @__PURE__ */ e.createElement("span", null, i))))) : /* @__PURE__ */ e.createElement("span", { className: "font-italic" }, m || l("searchResultsBar.noAdvancedSearchSelections", { defaultValue: "No Advanced Search Selections" }))), /* @__PURE__ */ e.createElement("div", { className: y }, /* @__PURE__ */ e.createElement(R, { className: N, kind: "link", onClick: u }, l("searchResultsBar.clearResults", { defaultValue: "Clear Results" }))));
17
+ return /* @__PURE__ */ e.createElement("div", { className: h, ...o }, r != null && /* @__PURE__ */ e.createElement("div", { className: f }, /* @__PURE__ */ e.createElement("span", null, l("searchResultsBar.results", { defaultValue: "Results:" })), /* @__PURE__ */ e.createElement(c, { className: B, kind: "info" }, /* @__PURE__ */ e.createElement("span", null, r))), /* @__PURE__ */ e.createElement("div", { className: k }, Object.keys(n).length > 0 ? Object.keys(n).map((t, a) => /* @__PURE__ */ e.createElement(e.Fragment, { key: t }, /* @__PURE__ */ e.createElement("span", { key: a, className: E }, t, ":"), n[t].map((i, d) => /* @__PURE__ */ e.createElement(c, { className: g, key: d, kind: "key" }, /* @__PURE__ */ e.createElement("span", null, i))))) : /* @__PURE__ */ e.createElement("span", { className: "font-italic" }, m || l("searchResultsBar.noAdvancedSearchSelections", { defaultValue: "No Advanced Search Selections" }))), /* @__PURE__ */ e.createElement("div", { className: y }, /* @__PURE__ */ e.createElement(R, { fill: !0, noWrap: !0, kind: "link", onClick: u }, l("searchResultsBar.clearResults", { defaultValue: "Clear Results" }))));
18
18
  }
19
- p.set(v, {
19
+ p.set(N, {
20
20
  name: "Search Results Bar",
21
21
  props: {
22
22
  results: { type: "number | string | null" },
@@ -26,5 +26,5 @@ p.set(v, {
26
26
  }
27
27
  });
28
28
  export {
29
- v as SearchResultsBar
29
+ N as SearchResultsBar
30
30
  };
@@ -1,9 +1,8 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- var a = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h0", r = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h1", o = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h2", e = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h3", l = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h4", h = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h5", i = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h6", t = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h7", n = "pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h8";
3
+ var a = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h0", r = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h1", o = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h2", e = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h3", l = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h4", h = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h5", i = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h6", t = "pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h7";
4
4
  export {
5
5
  r as searchResultsBar,
6
- n as searchResultsBarButton,
7
6
  t as searchResultsBarButtons,
8
7
  o as searchResultsBarResults,
9
8
  h as searchResultsBarSelection,
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv1{background:#fff;border-color:#d2d4d4;border-style:solid;border-width:.0625rem;border-radius:.25rem;display:flex;flex-flow:column wrap;margin-top:0;margin-right:0;margin-bottom:.5rem;margin-left:0;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv2{width:calc(1280px - 2.5rem);border-radius:0;transform:translate(-50%);position:fixed;top:3.75rem;left:50%;z-index:999}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv2:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.1),transparent);display:block;height:.625rem;position:absolute;top:calc(100% + 1px);width:100%}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv4{display:flex;flex-wrap:wrap;padding:.5rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv5{display:flex;align-items:center;border-right-color:#d2d4d4;border-right-style:solid;border-right-width:.0625rem;padding:1rem;margin:-.5rem .5rem -.5rem -.5rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv6{align-items:center;display:inline-flex;flex:1 0 auto;height:2rem;vertical-align:middle}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv7{padding-top:.25rem;padding-right:0;padding-bottom:.25rem;padding-left:0;white-space:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv8{display:inline-block;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv9{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwva{align-items:center;display:flex;float:left;font-size:.75rem;font-weight:600;line-height:1.5rem;margin-bottom:0;padding-left:.5rem;text-transform:uppercase}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvb{display:inline-block;height:2rem;margin-left:auto;text-align:right;vertical-align:middle;white-space:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvc{flex:1;margin-right:.25rem;max-width:25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwve{background-color:#e9e9ea;border-color:#717779;border-width:.0625rem;border-style:solid;border-bottom-left-radius:0;border-bottom-right-radius:.25rem;border-top-left-radius:0;border-top-right-radius:.25rem;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwve:hover{background-color:#d2d4d4;border-width:.0625rem;border-style:solid;border-color:#717779;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvf>.sps-button{margin:0!important;background:transparent;border-color:transparent;color:#4b5356}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvf>.sps-button>button{padding:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwve>button{height:1.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwva>i{font-size:.875rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group{flex-wrap:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-autocomplete{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-multi-select{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-select{min-width:30%}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-select:not(:last-child)>.sps-select__dropctrl{height:2rem;line-height:2rem;border-bottom-right-radius:0;border-top-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:first-child)>.sps-text-input>.sps-form-control{border-bottom-left-radius:0;border-top-left-radius:0;border-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:last-child)>.sps-text-input>.sps-form-control{height:2rem;line-height:2rem;border-bottom-right-radius:0;border-top-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:last-child)>.sps-form-control{border-bottom-right-radius:0;border-top-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-multi-select>.sps-text-input>.sps-form-control{border-radius:0;border-left:0;height:32px}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:first-child):not(:only-child)>.sps-form-control{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwvd svg{margin-bottom:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h1{background-color:#e9e9ea;border-width:.0625rem;border-color:#d2d4d4;border-style:solid;border-radius:.25rem;display:flex;min-height:3.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_uzzgwv1>.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h0>.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h1{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem;border-top-width:.0625rem;border-right-width:0;border-bottom-width:0;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h2{flex:1 1 auto;border-right-width:.0625rem;border-right-color:#d2d4d4;border-right-style:solid;padding:.5rem;display:flex;align-items:center}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h3{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h4{flex:1 1 100%;padding:.5rem;display:flex;align-items:center;flex-wrap:wrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h5{margin-top:0;margin-bottom:0;margin-right:.25rem;margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h5:first-child{margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h6{margin-top:.125rem;margin-bottom:.125rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h6:last-child{margin-right:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h7{flex:1 1 auto;border-left-width:.0625rem;border-left-style:solid;border-left-color:#d2d4d4;display:flex;align-items:center}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h7:hover{background:#d2d4d4}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_1o1g57h8{padding:.5rem;width:5.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc0{background:#fff;border-color:#d2d4d4;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;border-style:solid;border-top-width:0;border-right-width:.0625rem;border-bottom-width:.0625rem;border-left-width:.0625rem;display:none;margin-top:-.625rem;margin-right:0;margin-bottom:1rem;margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc1,.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc3{display:block}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc5{padding:1rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc7{display:none}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc8{background:#f3f4f4;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;display:flex;padding:.5rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc9{text-align:right}.pkg_sps-woodland_core__family_list-bar__version_8_53_30__hash_am9pfc8>*{flex:1}
1
+ .pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv1{background:#fff;border-color:#d2d4d4;border-style:solid;border-width:.0625rem;border-radius:.25rem;display:flex;flex-flow:column wrap;margin-top:0;margin-right:0;margin-bottom:.5rem;margin-left:0;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv2{width:calc(1280px - 2.5rem);border-radius:0;transform:translate(-50%);position:fixed;top:3.75rem;left:50%;z-index:999}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv2:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.1),transparent);display:block;height:.625rem;position:absolute;top:calc(100% + 1px);width:100%}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv4{display:flex;flex-wrap:wrap;padding:.5rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv5{display:flex;align-items:center;border-right-color:#d2d4d4;border-right-style:solid;border-right-width:.0625rem;padding:1rem;margin:-.5rem .5rem -.5rem -.5rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv6{align-items:center;display:inline-flex;flex:1 0 auto;height:2rem;vertical-align:middle}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv7{padding-top:.25rem;padding-right:0;padding-bottom:.25rem;padding-left:0;white-space:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv8{display:inline-block;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv9{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwva{align-items:center;display:flex;float:left;font-size:.75rem;font-weight:600;line-height:1.5rem;margin-bottom:0;padding-left:.5rem;text-transform:uppercase}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvb{display:inline-block;height:2rem;margin-left:auto;text-align:right;vertical-align:middle;white-space:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvc{flex:1;margin-right:.25rem;max-width:25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwve{background-color:#e9e9ea;border-color:#717779;border-width:.0625rem;border-style:solid;border-bottom-left-radius:0;border-bottom-right-radius:.25rem;border-top-left-radius:0;border-top-right-radius:.25rem;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwve:hover{background-color:#d2d4d4;border-width:.0625rem;border-style:solid;border-color:#717779;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvf>.sps-button{margin:0!important;background:transparent;border-color:transparent;color:#4b5356}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvf>.sps-button>button{padding:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwve>button{height:1.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwva>i{font-size:.875rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group{flex-wrap:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-autocomplete{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-multi-select{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-select{min-width:30%}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-select:not(:last-child)>.sps-select__dropctrl{height:2rem;line-height:2rem;border-bottom-right-radius:0;border-top-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:first-child)>.sps-text-input>.sps-form-control{border-bottom-left-radius:0;border-top-left-radius:0;border-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:last-child)>.sps-text-input>.sps-form-control{height:2rem;line-height:2rem;border-bottom-right-radius:0;border-top-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:last-child)>.sps-form-control{border-bottom-right-radius:0;border-top-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-multi-select>.sps-text-input>.sps-form-control{border-radius:0;border-left:0;height:32px}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:first-child):not(:only-child)>.sps-form-control{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwvd svg{margin-bottom:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h1{background-color:#e9e9ea;border-width:.0625rem;border-color:#d2d4d4;border-style:solid;border-radius:.25rem;display:flex;min-height:3.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_uzzgwv1>.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h0>.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h1{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem;border-top-width:.0625rem;border-right-width:0;border-bottom-width:0;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h2{flex:1 1 auto;border-right-width:.0625rem;border-right-color:#d2d4d4;border-right-style:solid;padding:.5rem;display:flex;align-items:center}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h3{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h4{flex:1 1 100%;padding:.5rem;display:flex;align-items:center;flex-wrap:wrap}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h5{margin-top:0;margin-bottom:0;margin-right:.25rem;margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h5:first-child{margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h6{margin-top:.125rem;margin-bottom:.125rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h6:last-child{margin-right:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h7{flex:1 1 auto;border-left-width:.0625rem;border-left-style:solid;border-left-color:#d2d4d4;display:flex;align-items:center}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_1o1g57h7:hover{background:#d2d4d4}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc0{background:#fff;border-color:#d2d4d4;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;border-style:solid;border-top-width:0;border-right-width:.0625rem;border-bottom-width:.0625rem;border-left-width:.0625rem;display:none;margin-top:-.625rem;margin-right:0;margin-bottom:1rem;margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc1,.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc3{display:block}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc5{padding:1rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc7{display:none}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc8{background:#f3f4f4;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;display:flex;padding:.5rem}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc9{text-align:right}.pkg_sps-woodland_core__family_list-bar__version_8_53_31__hash_am9pfc8>*{flex:1}
@@ -1,7 +1,7 @@
1
1
  import t from "react";
2
2
  import { Metadata as l, cl as i, Title as c } from "@sps-woodland/core";
3
3
  import { useWoodlandLanguage as u } from "@spscommerce/i18n";
4
- var m = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v0", x = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v1", d = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v2", p = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v3";
4
+ var m = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v0", x = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v1", d = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v2", p = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v3";
5
5
  function f({
6
6
  title: r,
7
7
  children: e,
@@ -1 +1 @@
1
- (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react"),require("@sps-woodland/core"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@spscommerce/i18n"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Matrix={},t.react,t.spsWoodlandCore,t.spscommerceI18n))})(this,(function(t,e,a,f){"use strict";var m="pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v0",p="pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v1",s="pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v2",v="pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v3";function _({title:r,children:i,"data-testid":n,...d}){return e.createElement("div",{className:a.cl(m),"data-testid":"matrix"},e.createElement(a.Title,{size:"lg"},r),e.createElement("table",{className:a.cl(m),"data-testid":`${n}`,...d},i))}a.Metadata.set(_,{name:"Matrix",props:{title:"string"}});function o({children:r,"data-testid":i,...n}){return e.createElement(e.Fragment,null,e.createElement("thead",{"data-testid":`${i}`,...n},r))}a.Metadata.set(o,{name:"Matrix Head"});function u({icon:r,tooltip:i,width:n,className:d,children:l,"data-testid":E,...h}){return e.createElement(e.Fragment,null,e.createElement("th",{className:a.cl(p),style:{width:`${n}`},"data-testid":`${E}`,...h},l,e.createElement("div",{className:a.cl(v)},r,i)))}a.Metadata.set(u,{name:"Matrix Header",props:{icon:"Icon",tooltip:"SpsTooltip",width:"string"}});function c({children:r,"data-testid":i,...n}){return e.createElement(e.Fragment,null,e.createElement("tbody",{"data-testid":`${i}`,...n},r))}a.Metadata.set(c,{name:"Matrix Body"});function x({children:r,"data-testid":i,...n}){return e.createElement(e.Fragment,null,e.createElement("tr",{"data-testid":`${i}`,...n},r))}a.Metadata.set(x,{name:"Matrix Row"});function M({className:r,children:i,"data-testid":n,...d}){const{t:l}=f.useWoodlandLanguage();return i!==void 0?i===null?e.createElement("td",{className:a.cl(s),"data-testid":`${n}`,...d},l("matrix.cell.null",{defaultValue:"null"})):e.createElement("td",{className:a.cl(s),"data-testid":`${n}`,...d},i):e.createElement("td",{className:a.cl(s),"data-testid":`${n}`,...d},"—")}a.Metadata.set(M,{name:"Matrix Cell"}),t.Matrix=_,t.MatrixBody=c,t.MatrixCell=M,t.MatrixHead=o,t.MatrixHeader=u,t.MatrixRow=x,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react"),require("@sps-woodland/core"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@spscommerce/i18n"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Matrix={},t.react,t.spsWoodlandCore,t.spscommerceI18n))})(this,(function(t,e,a,f){"use strict";var m="pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v0",p="pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v1",s="pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v2",v="pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v3";function _({title:r,children:i,"data-testid":n,...d}){return e.createElement("div",{className:a.cl(m),"data-testid":"matrix"},e.createElement(a.Title,{size:"lg"},r),e.createElement("table",{className:a.cl(m),"data-testid":`${n}`,...d},i))}a.Metadata.set(_,{name:"Matrix",props:{title:"string"}});function o({children:r,"data-testid":i,...n}){return e.createElement(e.Fragment,null,e.createElement("thead",{"data-testid":`${i}`,...n},r))}a.Metadata.set(o,{name:"Matrix Head"});function u({icon:r,tooltip:i,width:n,className:d,children:l,"data-testid":E,...h}){return e.createElement(e.Fragment,null,e.createElement("th",{className:a.cl(p),style:{width:`${n}`},"data-testid":`${E}`,...h},l,e.createElement("div",{className:a.cl(v)},r,i)))}a.Metadata.set(u,{name:"Matrix Header",props:{icon:"Icon",tooltip:"SpsTooltip",width:"string"}});function c({children:r,"data-testid":i,...n}){return e.createElement(e.Fragment,null,e.createElement("tbody",{"data-testid":`${i}`,...n},r))}a.Metadata.set(c,{name:"Matrix Body"});function x({children:r,"data-testid":i,...n}){return e.createElement(e.Fragment,null,e.createElement("tr",{"data-testid":`${i}`,...n},r))}a.Metadata.set(x,{name:"Matrix Row"});function M({className:r,children:i,"data-testid":n,...d}){const{t:l}=f.useWoodlandLanguage();return i!==void 0?i===null?e.createElement("td",{className:a.cl(s),"data-testid":`${n}`,...d},l("matrix.cell.null",{defaultValue:"null"})):e.createElement("td",{className:a.cl(s),"data-testid":`${n}`,...d},i):e.createElement("td",{className:a.cl(s),"data-testid":`${n}`,...d},"—")}a.Metadata.set(M,{name:"Matrix Cell"}),t.Matrix=_,t.MatrixBody=c,t.MatrixCell=M,t.MatrixHead=o,t.MatrixHeader=u,t.MatrixRow=x,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- var a = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v0", r = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v1", o = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v2", i = "pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v3";
2
+ var a = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v0", r = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v1", o = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v2", i = "pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v3";
3
3
  export {
4
4
  a as matrix,
5
5
  o as matrixCell,
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v0{width:100%;flex-direction:column;word-wrap:break-word;table-layout:fixed;overflow:hidden;border-radius:.125rem;font-size:.875rem}.pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v1{background-color:#f3f4f4;border-color:#d2d4d4;border-style:solid;border-width:.0625rem;padding:.5rem;vertical-align:top;line-height:1.25rem}.pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v2{border-style:solid;border-color:#d2d4d4;border-width:.0625rem;padding:.5rem;vertical-align:top}.pkg_sps-woodland_core__family_matrix__version_8_53_30__hash_6q9a8v3{float:right}
1
+ .pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v0{width:100%;flex-direction:column;word-wrap:break-word;table-layout:fixed;overflow:hidden;border-radius:.125rem;font-size:.875rem}.pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v1{background-color:#f3f4f4;border-color:#d2d4d4;border-style:solid;border-width:.0625rem;padding:.5rem;vertical-align:top;line-height:1.25rem}.pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v2{border-style:solid;border-color:#d2d4d4;border-width:.0625rem;padding:.5rem;vertical-align:top}.pkg_sps-woodland_core__family_matrix__version_8_53_31__hash_6q9a8v3{float:right}
@@ -58,7 +58,7 @@ var _e = (e, _, a) => {
58
58
  for (var [m, c] of e.compoundVariants)
59
59
  _e(m, o, e.defaultVariants) && (a += " " + c);
60
60
  return a;
61
- }, ae = j({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem1", delete: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem2", failure: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem3", success: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem4", warning: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem6", form: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem8", md: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem9", lg: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksema", xl: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemc", false: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), oe = j({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemf", delete: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemg", failure: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemh", informational: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemi", success: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemj", warning: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), se = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemm", re = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemn", le = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemo", M = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemp", ne = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemq", te = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemr", ie = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksems";
61
+ }, ae = j({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem1", delete: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem2", failure: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem3", success: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem4", warning: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem6", form: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem8", md: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem9", lg: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksema", xl: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemc", false: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), oe = j({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemf", delete: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemg", failure: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemh", informational: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemi", success: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemj", warning: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), se = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemm", re = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemn", le = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemo", M = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemp", ne = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemq", te = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemr", ie = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksems";
62
62
  function V({
63
63
  children: e,
64
64
  className: _ = "",
@@ -1 +1 @@
1
- (function(r,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@sps-woodland/core"),require("@sps-woodland/core/button"),require("react-aria"),require("react"),require("@spscommerce/i18n"),require("react-stately")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","@sps-woodland/core/button","react-aria","react","@spscommerce/i18n","react-stately"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.Modal={},r.spsWoodlandCore,r.spsWoodlandCoreButton,r.reactAria,r.react,r.spscommerceI18n,r.reactStately))})(this,(function(r,n,b,c,P,D,I){"use strict";function q(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const _ in e)if(_!=="default"){const o=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(a,_,o.get?o:{enumerable:!0,get:()=>e[_]})}}return a.default=e,Object.freeze(a)}const s=q(P);function T(e,a,_){return a in e?Object.defineProperty(e,a,{value:_,enumerable:!0,configurable:!0,writable:!0}):e[a]=_,e}function E(e,a){var _=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);a&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),_.push.apply(_,o)}return _}function M(e){for(var a=1;a<arguments.length;a++){var _=arguments[a]!=null?arguments[a]:{};a%2?E(Object(_),!0).forEach(function(o){T(e,o,_[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(_)):E(Object(_)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(_,o))})}return e}var W=(e,a,_)=>{for(var o of Object.keys(e)){var l;if(e[o]!==((l=a[o])!==null&&l!==void 0?l:_[o]))return!1}return!0},C=e=>a=>{var _=e.defaultClassName,o=M(M({},e.defaultVariants),a);for(var l in o){var d,m=(d=o[l])!==null&&d!==void 0?d:e.defaultVariants[l];if(m!=null){var i=m;typeof i=="boolean"&&(i=i===!0?"true":"false");var t=e.variantClassNames[l][i];t&&(_+=" "+t)}}for(var[h,v]of e.compoundVariants)W(h,o,e.defaultVariants)&&(_+=" "+v);return _},z=C({defaultClassName:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem0",variantClassNames:{kind:{informational:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem1",delete:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem2",failure:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem3",success:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem4",warning:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem5",successWithFailures:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem6",form:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem7"},size:{sm:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem8",md:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem9",lg:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksema",xl:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemb"},fullHeight:{true:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemc",false:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemd"}},defaultVariants:{},compoundVariants:[]}),R=C({defaultClassName:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseme",variantClassNames:{kind:{form:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemf",delete:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemg",failure:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemh",informational:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemi",success:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemj",warning:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemk",successWithFailures:"pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseml"}},defaultVariants:{},compoundVariants:[]}),H="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemm",K="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemn",x="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemo",j="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemp",L="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemq",A="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemr",G="pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksems";function f({children:e,className:a="",..._}){return s.createElement("div",{className:n.cl(j,a),..._},e)}n.Metadata.set(f,{name:"ModalFooter"});function B({dismissableValue:e,handleClose:a}){return e?s.createElement(b.Button,{"aria-label":"Close",onClick:a,kind:"icon",icon:"x",className:L}):null}const p=Object.freeze({form:"pencil",delete:"trash",failure:"status-error",informational:"info-circle",success:"status-ok",successWithFailures:"status-warning",warning:"status-warning"});function J({children:e,className:a,"data-testid":_,kind:o="informational",onBlur:l,onFocus:d,overlayProps:m,size:i="sm",state:t,title:h,dismissible:v,dismissable:U=!0,onClose:u,fullHeight:X=!1,...y}){const N=v??U,k=s.useRef(null),{modalProps:g,underlayProps:Y}=c.useModalOverlay({isKeyboardDismissDisabled:!N,...y},t,k),{dialogProps:w,titleProps:Z}=c.useDialog(y,k),$=n.combineEventHandlers(g.onFocus,w.onFocus,d),ee=n.combineEventHandlers(g.onBlur,w.onBlur,l),{t:_e}=D.useWoodlandLanguage(),ae=n.useChildTestIdAttrBuilder({"data-testid":_}),[O,oe]=n.selectChildren(e,[{type:f}]),S=s.useCallback(()=>{u&&typeof u=="function"&&u(),t.close()},[u,t.close]),se=n.modChildren(oe,V=>V.type===B?[{className:n.cl(V.props.classname,A)}]:[]);return s.createElement(c.Overlay,null,s.createElement("div",{className:G,"data-react-aria-top-layer":"true",...Y,...y},s.createElement("div",{...g,...w,...m,onFocus:$,onBlur:ee,...ae("dialog"),ref:k,className:n.cl(z({kind:o,size:i,fullHeight:X}),a)},s.createElement("div",{...Z,className:R({kind:o})},o&&s.createElement(n.Icon,{icon:p[o]||p.informational,className:K}),s.createElement("div",{className:H},n.contentOf(h,t.close)),s.createElement(B,{dismissableValue:N,handleClose:S})),s.createElement("div",{className:x},n.contentOf(se,t.close)),O&&O.length>0?s.createElement(s.Fragment,null,n.contentOf(O,t.close)):s.createElement("div",{className:j},s.createElement(b.Button,{kind:"key",onClick:S},_e("modal.defaultButtonLabel",{defaultValue:"Okay"}))))))}function F(e){return e.state.isOpen?s.createElement(J,{...e},e.children):s.createElement(s.Fragment,null)}n.Metadata.set(F,{name:"Modal",props:{dismissable:{type:"boolean",default:"true"},fullHeight:{type:"boolean",default:"false"},kind:{type:"ModalKind",default:"informational"},onBlur:{type:"() => void"},onClose:{type:"() => void"},onFocus:{type:"() => void"},size:{type:"ModalSize",default:"sm"},title:{type:"string"}}});function Q(e={}){const a=I.useOverlayTriggerState(e),_=P.useRef(null),{triggerProps:o,overlayProps:l}=c.useOverlayTrigger({type:"dialog"},a,_),{onPress:d,...m}=o;return{triggerProps:{...m,onClick:d?i=>d(i):void 0,ref:_},modalState:a,modalProps:{overlayProps:l,state:a}}}r.Modal=F,r.ModalFooter=f,r.ModalIcons=p,r.useModal=Q,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(r,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@sps-woodland/core"),require("@sps-woodland/core/button"),require("react-aria"),require("react"),require("@spscommerce/i18n"),require("react-stately")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","@sps-woodland/core/button","react-aria","react","@spscommerce/i18n","react-stately"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.Modal={},r.spsWoodlandCore,r.spsWoodlandCoreButton,r.reactAria,r.react,r.spscommerceI18n,r.reactStately))})(this,(function(r,n,b,c,P,D,I){"use strict";function q(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const _ in e)if(_!=="default"){const o=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(a,_,o.get?o:{enumerable:!0,get:()=>e[_]})}}return a.default=e,Object.freeze(a)}const s=q(P);function T(e,a,_){return a in e?Object.defineProperty(e,a,{value:_,enumerable:!0,configurable:!0,writable:!0}):e[a]=_,e}function E(e,a){var _=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);a&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),_.push.apply(_,o)}return _}function M(e){for(var a=1;a<arguments.length;a++){var _=arguments[a]!=null?arguments[a]:{};a%2?E(Object(_),!0).forEach(function(o){T(e,o,_[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(_)):E(Object(_)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(_,o))})}return e}var W=(e,a,_)=>{for(var o of Object.keys(e)){var l;if(e[o]!==((l=a[o])!==null&&l!==void 0?l:_[o]))return!1}return!0},C=e=>a=>{var _=e.defaultClassName,o=M(M({},e.defaultVariants),a);for(var l in o){var d,m=(d=o[l])!==null&&d!==void 0?d:e.defaultVariants[l];if(m!=null){var i=m;typeof i=="boolean"&&(i=i===!0?"true":"false");var t=e.variantClassNames[l][i];t&&(_+=" "+t)}}for(var[h,v]of e.compoundVariants)W(h,o,e.defaultVariants)&&(_+=" "+v);return _},z=C({defaultClassName:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem0",variantClassNames:{kind:{informational:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem1",delete:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem2",failure:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem3",success:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem4",warning:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem5",successWithFailures:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem6",form:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem7"},size:{sm:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem8",md:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem9",lg:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksema",xl:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemb"},fullHeight:{true:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemc",false:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemd"}},defaultVariants:{},compoundVariants:[]}),R=C({defaultClassName:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseme",variantClassNames:{kind:{form:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemf",delete:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemg",failure:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemh",informational:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemi",success:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemj",warning:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemk",successWithFailures:"pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseml"}},defaultVariants:{},compoundVariants:[]}),H="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemm",K="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemn",x="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemo",j="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemp",L="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemq",A="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemr",G="pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksems";function f({children:e,className:a="",..._}){return s.createElement("div",{className:n.cl(j,a),..._},e)}n.Metadata.set(f,{name:"ModalFooter"});function B({dismissableValue:e,handleClose:a}){return e?s.createElement(b.Button,{"aria-label":"Close",onClick:a,kind:"icon",icon:"x",className:L}):null}const p=Object.freeze({form:"pencil",delete:"trash",failure:"status-error",informational:"info-circle",success:"status-ok",successWithFailures:"status-warning",warning:"status-warning"});function J({children:e,className:a,"data-testid":_,kind:o="informational",onBlur:l,onFocus:d,overlayProps:m,size:i="sm",state:t,title:h,dismissible:v,dismissable:U=!0,onClose:u,fullHeight:X=!1,...y}){const N=v??U,k=s.useRef(null),{modalProps:g,underlayProps:Y}=c.useModalOverlay({isKeyboardDismissDisabled:!N,...y},t,k),{dialogProps:w,titleProps:Z}=c.useDialog(y,k),$=n.combineEventHandlers(g.onFocus,w.onFocus,d),ee=n.combineEventHandlers(g.onBlur,w.onBlur,l),{t:_e}=D.useWoodlandLanguage(),ae=n.useChildTestIdAttrBuilder({"data-testid":_}),[O,oe]=n.selectChildren(e,[{type:f}]),S=s.useCallback(()=>{u&&typeof u=="function"&&u(),t.close()},[u,t.close]),se=n.modChildren(oe,V=>V.type===B?[{className:n.cl(V.props.classname,A)}]:[]);return s.createElement(c.Overlay,null,s.createElement("div",{className:G,"data-react-aria-top-layer":"true",...Y,...y},s.createElement("div",{...g,...w,...m,onFocus:$,onBlur:ee,...ae("dialog"),ref:k,className:n.cl(z({kind:o,size:i,fullHeight:X}),a)},s.createElement("div",{...Z,className:R({kind:o})},o&&s.createElement(n.Icon,{icon:p[o]||p.informational,className:K}),s.createElement("div",{className:H},n.contentOf(h,t.close)),s.createElement(B,{dismissableValue:N,handleClose:S})),s.createElement("div",{className:x},n.contentOf(se,t.close)),O&&O.length>0?s.createElement(s.Fragment,null,n.contentOf(O,t.close)):s.createElement("div",{className:j},s.createElement(b.Button,{kind:"key",onClick:S},_e("modal.defaultButtonLabel",{defaultValue:"Okay"}))))))}function F(e){return e.state.isOpen?s.createElement(J,{...e},e.children):s.createElement(s.Fragment,null)}n.Metadata.set(F,{name:"Modal",props:{dismissable:{type:"boolean",default:"true"},fullHeight:{type:"boolean",default:"false"},kind:{type:"ModalKind",default:"informational"},onBlur:{type:"() => void"},onClose:{type:"() => void"},onFocus:{type:"() => void"},size:{type:"ModalSize",default:"sm"},title:{type:"string"}}});function Q(e={}){const a=I.useOverlayTriggerState(e),_=P.useRef(null),{triggerProps:o,overlayProps:l}=c.useOverlayTrigger({type:"dialog"},a,_),{onPress:d,...m}=o;return{triggerProps:{...m,onClick:d?i=>d(i):void 0,ref:_},modalState:a,modalProps:{overlayProps:l,state:a}}}r.Modal=F,r.ModalFooter=f,r.ModalIcons=p,r.useModal=Q,Object.defineProperty(r,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 a = _({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem1", delete: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem2", failure: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem3", success: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem4", warning: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem6", form: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem8", md: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem9", lg: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksema", xl: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemc", false: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemf", delete: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemg", failure: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemh", informational: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemi", success: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemj", warning: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), l = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemm", m = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemn", d = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemo", r = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemp", i = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemq", n = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemr", p = "pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksems";
3
+ var a = _({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem1", delete: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem2", failure: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem3", success: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem4", warning: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem6", form: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem8", md: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem9", lg: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksema", xl: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemc", false: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemf", delete: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemg", failure: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemh", informational: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemi", success: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemj", warning: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), l = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemm", m = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemn", d = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemo", r = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemp", i = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemq", n = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemr", p = "pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksems";
4
4
  export {
5
5
  d as body,
6
6
  i as closeButtonBox,
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;display:flex;flex-direction:column;overflow:hidden;max-height:100%}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem1{border-color:#007db8}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem2,.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem3{border-color:#de002e}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem4{border-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem5,.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem6{border-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem7{border-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem8{width:23.75rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksem9{width:36.25rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksema{width:48.75rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemb{width:73.75rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemc{height:100%}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseme{align-items:center;color:#fff;display:flex;padding:1rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemf{background-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemg,.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemh{background-color:#de002e}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemi{background-color:#007db8}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemj{background-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemk,.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41kseml{background-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemm{flex-grow:1;font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemn{font-weight:600;line-height:.875rem;font-size:.875rem;margin-right:.5rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemo{overflow-y:auto;padding:1rem;flex:1}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemp{align-items:center;background-color:#f3f4f4;display:flex;justify-content:flex-end;padding:.5rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemq{color:#fff;border-width:0}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksemr{padding:0 .25rem}.pkg_sps-woodland_core__family_modal__version_8_53_30__hash_41ksems{position:fixed;z-index:1000;inset:0;background:#f3f4f4cc;display:flex;align-items:start;justify-content:center;padding:4rem 1rem 1rem}.z-stratum-dropdown{z-index:1100}
1
+ .pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;display:flex;flex-direction:column;overflow:hidden;max-height:100%}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem1{border-color:#007db8}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem2,.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem3{border-color:#de002e}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem4{border-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem5,.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem6{border-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem7{border-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem8{width:23.75rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksem9{width:36.25rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksema{width:48.75rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemb{width:73.75rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemc{height:100%}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseme{align-items:center;color:#fff;display:flex;padding:1rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemf{background-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemg,.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemh{background-color:#de002e}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemi{background-color:#007db8}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemj{background-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemk,.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41kseml{background-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemm{flex-grow:1;font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemn{font-weight:600;line-height:.875rem;font-size:.875rem;margin-right:.5rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemo{overflow-y:auto;padding:1rem;flex:1}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemp{align-items:center;background-color:#f3f4f4;display:flex;justify-content:flex-end;padding:.5rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemq{color:#fff;border-width:0}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksemr{padding:0 .25rem}.pkg_sps-woodland_core__family_modal__version_8_53_31__hash_41ksems{position:fixed;z-index:1000;inset:0;background:#f3f4f4cc;display:flex;align-items:start;justify-content:center;padding:4rem 1rem 1rem}.z-stratum-dropdown{z-index:1100}
@@ -1,6 +1,6 @@
1
1
  import * as o from "react";
2
2
  import { Metadata as i, selectChildren as p, Icon as n, addClassName as d, cl as s, modChildren as c } from "@sps-woodland/core";
3
- var m = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl00", g = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl01", h = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl02";
3
+ var m = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl00", g = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl01", h = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl02";
4
4
  function v({
5
5
  children: a,
6
6
  className: t,
@@ -12,7 +12,7 @@ function v({
12
12
  i.set(v, {
13
13
  name: "Page Title"
14
14
  });
15
- var w = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku0", u = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku1";
15
+ var w = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku0", u = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku1";
16
16
  function f({
17
17
  children: a,
18
18
  className: t,
@@ -1 +1 @@
1
- (function(t,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("@sps-woodland/core")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core"],l):(t=typeof globalThis<"u"?globalThis:t||self,l(t.PageTitle={},t.react,t.spsWoodlandCore))})(this,(function(t,l,e){"use strict";function c(a){const _=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(_,n,i.get?i:{enumerable:!0,get:()=>a[n]})}}return _.default=a,Object.freeze(_)}const s=c(l);var p="pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl00",u="pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl01",f="pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl02";function d({children:a,className:_,...n}){const[[i],o]=e.selectChildren(a,[{type:e.Icon}]),h=i?e.addClassName(i,f):"";return s.createElement("div",{className:e.cl(p,_),...n},h,s.createElement("div",{className:u},o))}e.Metadata.set(d,{name:"Page Title"});var g="pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku0",m="pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku1";function r({children:a,className:_,...n}){const i=e.modChildren(a,o=>o.type===e.Icon?[{className:e.cl(o.props.className,m)}]:[]);return s.createElement("div",{className:e.cl(g,_),...n},i)}e.Metadata.set(r,{name:"Page Subtitle"}),t.PageSubtitle=r,t.PageTitle=d,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(t,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react"),require("@sps-woodland/core")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core"],l):(t=typeof globalThis<"u"?globalThis:t||self,l(t.PageTitle={},t.react,t.spsWoodlandCore))})(this,(function(t,l,e){"use strict";function c(a){const _=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(_,n,i.get?i:{enumerable:!0,get:()=>a[n]})}}return _.default=a,Object.freeze(_)}const s=c(l);var p="pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl00",u="pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl01",f="pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl02";function d({children:a,className:_,...n}){const[[i],o]=e.selectChildren(a,[{type:e.Icon}]),h=i?e.addClassName(i,f):"";return s.createElement("div",{className:e.cl(p,_),...n},h,s.createElement("div",{className:u},o))}e.Metadata.set(d,{name:"Page Title"});var g="pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku0",m="pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku1";function r({children:a,className:_,...n}){const i=e.modChildren(a,o=>o.type===e.Icon?[{className:e.cl(o.props.className,m)}]:[]);return s.createElement("div",{className:e.cl(g,_),...n},i)}e.Metadata.set(r,{name:"Page Subtitle"}),t.PageSubtitle=r,t.PageTitle=d,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- var e = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku0", a = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku1";
2
+ var e = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku0", a = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku1";
3
3
  export {
4
4
  e as pageSubtitle,
5
5
  a as pageSubtitleIcon
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- var e = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl00", a = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl01", l = "pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl02";
2
+ var e = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl00", a = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl01", l = "pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl02";
3
3
  export {
4
4
  e as pageTitle,
5
5
  l as pageTitleIcon,
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl00{display:flex;flex-direction:row}.pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl01{color:#1f282c;display:flex;flex-direction:column;font-size:1.5rem;line-height:1.5rem}.pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_6nwwl02{align-self:flex-start;font-size:1.125rem;line-height:1.5rem;margin-right:.25rem;margin-top:.1875rem}.pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku0{color:#4b5356;font-size:1.125rem;line-height:1.125rem;margin-top:.25rem}.pkg_sps-woodland_core__family_page-title__version_8_53_30__hash_14qi3ku1{font-size:.75rem;line-height:1.125rem;margin-left:.25rem;margin-right:.25rem;margin-top:.25rem}
1
+ .pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl00{display:flex;flex-direction:row}.pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl01{color:#1f282c;display:flex;flex-direction:column;font-size:1.5rem;line-height:1.5rem}.pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_6nwwl02{align-self:flex-start;font-size:1.125rem;line-height:1.5rem;margin-right:.25rem;margin-top:.1875rem}.pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku0{color:#4b5356;font-size:1.125rem;line-height:1.125rem;margin-top:.25rem}.pkg_sps-woodland_core__family_page-title__version_8_53_31__hash_14qi3ku1{font-size:.75rem;line-height:1.125rem;margin-left:.25rem;margin-right:.25rem;margin-top:.25rem}
@@ -56,7 +56,7 @@ var F = (e, a, o) => {
56
56
  for (var [s, u] of e.compoundVariants)
57
57
  F(s, t, e.defaultVariants) && (o += " " + u);
58
58
  return o;
59
- }, L = m({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w0", variantClassNames: { placeholder: { true: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w1", false: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w2" } }, defaultVariants: { placeholder: !1 }, compoundVariants: [] }), A = m({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w3", variantClassNames: { mode: { fill: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w4", fit: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w5" } }, defaultVariants: { mode: "fill" }, compoundVariants: [] }), D = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w6";
59
+ }, L = m({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w0", variantClassNames: { placeholder: { true: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w1", false: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w2" } }, defaultVariants: { placeholder: !1 }, compoundVariants: [] }), A = m({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w3", variantClassNames: { mode: { fill: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w4", fit: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w5" } }, defaultVariants: { mode: "fill" }, compoundVariants: [] }), D = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w6";
60
60
  function E({
61
61
  className: e,
62
62
  src: a,
@@ -134,7 +134,7 @@ V.set(E, {
134
134
  placeholderIcon: "IconName"
135
135
  }
136
136
  });
137
- var C = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba10", I = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba11", z = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba12", T = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba13", H = m({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba14", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba15", false: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba16" } }, defaultVariants: { selected: !1 }, compoundVariants: [] });
137
+ var C = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba10", I = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba11", z = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba12", T = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba13", H = m({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba14", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba15", false: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba16" } }, defaultVariants: { selected: !1 }, compoundVariants: [] });
138
138
  function J({
139
139
  children: e,
140
140
  className: a,
@@ -1 +1 @@
1
- (function(s,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react"),require("@sps-woodland/core"),require("@sps-woodland/tokens"),require("@spscommerce/ds-react"),require("@spscommerce/ds-shared")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@sps-woodland/tokens","@spscommerce/ds-react","@spscommerce/ds-shared"],m):(s=typeof globalThis<"u"?globalThis:s||self,m(s.Photo={},s.react,s.spsWoodlandCore,s.spsWoodlandTokens,s.spscommerceDsReact,s.spscommerceDsShared))})(this,(function(s,m,c,h,y,v){"use strict";function E(e){const n=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(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const o=E(m);function N(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?O(Object(t),!0).forEach(function(r){N(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var R=(e,n,t)=>{for(var r of Object.keys(e)){var a;if(e[r]!==((a=n[r])!==null&&a!==void 0?a:t[r]))return!1}return!0},g=e=>n=>{var t=e.defaultClassName,r=C(C({},e.defaultVariants),n);for(var a in r){var u,d=(u=r[a])!==null&&u!==void 0?u:e.defaultVariants[a];if(d!=null){var l=d;typeof l=="boolean"&&(l=l===!0?"true":"false");var i=e.variantClassNames[a][l];i&&(t+=" "+i)}}for(var[_,f]of e.compoundVariants)R(_,r,e.defaultVariants)&&(t+=" "+f);return t},j=g({defaultClassName:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w0",variantClassNames:{placeholder:{true:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w1",false:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w2"}},defaultVariants:{placeholder:!1},compoundVariants:[]}),S=g({defaultClassName:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w3",variantClassNames:{mode:{fill:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w4",fit:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w5"}},defaultVariants:{mode:"fill"},compoundVariants:[]}),k="pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w6";function b({className:e,src:n,altText:t,mode:r="fill",placeholderIcon:a="photo",...u}){const d=o.useRef(null),l=o.useRef(null),i=o.useRef(null),_=o.useRef(null),[f,B]=o.useState(),[T,F]=o.useState(!1);o.useEffect(()=>{l.current&&(i.current&&(window.clearInterval(i.current),i.current=null),i.current=window.setInterval(()=>{if(l.current){const p=l.current.getBoundingClientRect();if(p.height){i.current&&(window.clearInterval(i.current),i.current=null);const w=p.width/p.height>1;F(w===(r==="fit"))}}},1e3/60))},[d.current,l.current,n]),o.useEffect(()=>{_.current&&(window.clearInterval(_.current),_.current=null),_.current=window.setInterval(()=>{if(d.current){const p=d.current.getBoundingClientRect();p.width&&(L(p.width),_.current&&(window.clearInterval(_.current),_.current=null))}},1e3/60)},[d.current]);function L(p){if(p){const w=document?.body?.parentElement?.style?.fontSize||"16px",A=Number(w.substring(0,w.length-2));B(p/A)}}function q(){if(typeof f<"u")return f*.05}function z(){if(typeof f<"u")return .75*f}return o.createElement("div",{ref:d,className:c.cl(j({placeholder:!n}),e),style:{width:`${f}`&&`${f}rem`,fontSize:`${q()}rem`,height:`${z()}rem`},...u},n?f?o.createElement("img",{className:S({mode:T?"fit":"fill"}),ref:l,src:n,alt:t}):o.createElement("span",null):o.createElement(c.Icon,{className:k,icon:a}))}c.Metadata.set(b,{name:"Photo",props:{src:"string",altText:"string",mode:{type:'"fill" | "fit"',default:'"fill"'},placeholderIcon:"IconName"}});var I="pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba10",P="pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba11",x="pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba12",V="pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba13",W=g({defaultClassName:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba14",variantClassNames:{selected:{true:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba15",false:"pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba16"}},defaultVariants:{selected:!1},compoundVariants:[]});function D({children:e,className:n,...t}){const[r]=c.selectChildren(e,[{type:b}]),[a,u]=o.useState(0);function d(){a+1===r.length?u(0):u(a+1)}function l(){u(a===0?r.length-1:a-1)}return o.createElement("div",{className:h.grid.root,...t},o.createElement("div",{className:c.cl(I)},o.createElement("div",{className:c.cl(P)},o.createElement(y.SpsButton,{tabIndex:0,kind:v.ButtonKind.ICON,icon:v.SpsIcon.ARROW_LEFT_CIRCLE,onClick:l}))),o.createElement("div",{className:h.grid[10]},o.createElement("div",{className:c.cl(V,h.grid[12])},r[a]),o.createElement("div",{className:c.cl(x,h.grid[12])},r.map((i,_)=>o.createElement("button",{tabIndex:0,className:c.cl(W({selected:_===a})),onClick:()=>u(_)},i)))),o.createElement("div",{className:c.cl(I)},o.createElement("div",{className:c.cl(P)},o.createElement(y.SpsButton,{tabIndex:0,kind:v.ButtonKind.ICON,icon:v.SpsIcon.ARROW_RIGHT_CIRCLE,onClick:d}))))}s.Photo=b,s.PhotoCarousel=D,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(s,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react"),require("@sps-woodland/core"),require("@sps-woodland/tokens"),require("@spscommerce/ds-react"),require("@spscommerce/ds-shared")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@sps-woodland/tokens","@spscommerce/ds-react","@spscommerce/ds-shared"],m):(s=typeof globalThis<"u"?globalThis:s||self,m(s.Photo={},s.react,s.spsWoodlandCore,s.spsWoodlandTokens,s.spscommerceDsReact,s.spscommerceDsShared))})(this,(function(s,m,c,h,y,v){"use strict";function E(e){const n=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(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const o=E(m);function N(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?O(Object(t),!0).forEach(function(r){N(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var R=(e,n,t)=>{for(var r of Object.keys(e)){var a;if(e[r]!==((a=n[r])!==null&&a!==void 0?a:t[r]))return!1}return!0},g=e=>n=>{var t=e.defaultClassName,r=C(C({},e.defaultVariants),n);for(var a in r){var u,d=(u=r[a])!==null&&u!==void 0?u:e.defaultVariants[a];if(d!=null){var l=d;typeof l=="boolean"&&(l=l===!0?"true":"false");var i=e.variantClassNames[a][l];i&&(t+=" "+i)}}for(var[_,f]of e.compoundVariants)R(_,r,e.defaultVariants)&&(t+=" "+f);return t},j=g({defaultClassName:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w0",variantClassNames:{placeholder:{true:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w1",false:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w2"}},defaultVariants:{placeholder:!1},compoundVariants:[]}),S=g({defaultClassName:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w3",variantClassNames:{mode:{fill:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w4",fit:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w5"}},defaultVariants:{mode:"fill"},compoundVariants:[]}),k="pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w6";function b({className:e,src:n,altText:t,mode:r="fill",placeholderIcon:a="photo",...u}){const d=o.useRef(null),l=o.useRef(null),i=o.useRef(null),_=o.useRef(null),[f,B]=o.useState(),[T,F]=o.useState(!1);o.useEffect(()=>{l.current&&(i.current&&(window.clearInterval(i.current),i.current=null),i.current=window.setInterval(()=>{if(l.current){const p=l.current.getBoundingClientRect();if(p.height){i.current&&(window.clearInterval(i.current),i.current=null);const w=p.width/p.height>1;F(w===(r==="fit"))}}},1e3/60))},[d.current,l.current,n]),o.useEffect(()=>{_.current&&(window.clearInterval(_.current),_.current=null),_.current=window.setInterval(()=>{if(d.current){const p=d.current.getBoundingClientRect();p.width&&(L(p.width),_.current&&(window.clearInterval(_.current),_.current=null))}},1e3/60)},[d.current]);function L(p){if(p){const w=document?.body?.parentElement?.style?.fontSize||"16px",A=Number(w.substring(0,w.length-2));B(p/A)}}function q(){if(typeof f<"u")return f*.05}function z(){if(typeof f<"u")return .75*f}return o.createElement("div",{ref:d,className:c.cl(j({placeholder:!n}),e),style:{width:`${f}`&&`${f}rem`,fontSize:`${q()}rem`,height:`${z()}rem`},...u},n?f?o.createElement("img",{className:S({mode:T?"fit":"fill"}),ref:l,src:n,alt:t}):o.createElement("span",null):o.createElement(c.Icon,{className:k,icon:a}))}c.Metadata.set(b,{name:"Photo",props:{src:"string",altText:"string",mode:{type:'"fill" | "fit"',default:'"fill"'},placeholderIcon:"IconName"}});var I="pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba10",P="pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba11",x="pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba12",V="pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba13",W=g({defaultClassName:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba14",variantClassNames:{selected:{true:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba15",false:"pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba16"}},defaultVariants:{selected:!1},compoundVariants:[]});function D({children:e,className:n,...t}){const[r]=c.selectChildren(e,[{type:b}]),[a,u]=o.useState(0);function d(){a+1===r.length?u(0):u(a+1)}function l(){u(a===0?r.length-1:a-1)}return o.createElement("div",{className:h.grid.root,...t},o.createElement("div",{className:c.cl(I)},o.createElement("div",{className:c.cl(P)},o.createElement(y.SpsButton,{tabIndex:0,kind:v.ButtonKind.ICON,icon:v.SpsIcon.ARROW_LEFT_CIRCLE,onClick:l}))),o.createElement("div",{className:h.grid[10]},o.createElement("div",{className:c.cl(V,h.grid[12])},r[a]),o.createElement("div",{className:c.cl(x,h.grid[12])},r.map((i,_)=>o.createElement("button",{tabIndex:0,className:c.cl(W({selected:_===a})),onClick:()=>u(_)},i)))),o.createElement("div",{className:c.cl(I)},o.createElement("div",{className:c.cl(P)},o.createElement(y.SpsButton,{tabIndex:0,kind:v.ButtonKind.ICON,icon:v.SpsIcon.ARROW_RIGHT_CIRCLE,onClick:d}))))}s.Photo=b,s.PhotoCarousel=D,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 s = _({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w0", variantClassNames: { placeholder: { true: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w1", false: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w2" } }, defaultVariants: { placeholder: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w3", variantClassNames: { mode: { fill: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w4", fit: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w5" } }, defaultVariants: { mode: "fill" }, compoundVariants: [] }), e = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w6";
3
+ var s = _({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w0", variantClassNames: { placeholder: { true: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w1", false: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w2" } }, defaultVariants: { placeholder: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w3", variantClassNames: { mode: { fill: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w4", fit: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w5" } }, defaultVariants: { mode: "fill" }, compoundVariants: [] }), e = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w6";
4
4
  export {
5
5
  r as photo,
6
6
  e as photoPlaceholder,
@@ -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 s = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba10", e = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba11", r = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba12", p = "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba13", t = _({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba14", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba15", false: "pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba16" } }, defaultVariants: { selected: !1 }, compoundVariants: [] });
3
+ var s = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba10", e = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba11", r = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba12", p = "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba13", t = _({ defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba14", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba15", false: "pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba16" } }, defaultVariants: { selected: !1 }, compoundVariants: [] });
4
4
  export {
5
5
  e as photoCarouselButton,
6
6
  s as photoCarouselButtonWrapper,
@@ -1 +1 @@
1
- .pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w0{align-items:center;display:flex;justify-content:center;overflow:hidden;padding:0!important;vertical-align:middle}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w1{background:#f3f4f4;box-shadow:inset .0625rem 0 #d2d4d4,inset -.0625rem 0 #d2d4d4,inset 0 .0625rem #d2d4d4,inset 0 -.0625rem #d2d4d4,inset 1em 0 #fff,inset -1em 0 #fff,inset 0 1em #fff,inset 0 -1em #fff}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w3{visibility:hidden}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w4{height:100%;visibility:visible;width:auto}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w5{height:auto;visibility:visible;width:100%}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1orib4w6{font-size:6em;text-align:center;color:#717779}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba10{display:table;float:right}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba11{display:table-cell;vertical-align:middle}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba12{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba13{display:block;margin-bottom:.5rem;width:100%}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba14{display:block;background:transparent;border:0;cursor:pointer;padding:0}.pkg_sps-woodland_core__family_photo__version_8_53_30__hash_1744ba16{opacity:.4}
1
+ .pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w0{align-items:center;display:flex;justify-content:center;overflow:hidden;padding:0!important;vertical-align:middle}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w1{background:#f3f4f4;box-shadow:inset .0625rem 0 #d2d4d4,inset -.0625rem 0 #d2d4d4,inset 0 .0625rem #d2d4d4,inset 0 -.0625rem #d2d4d4,inset 1em 0 #fff,inset -1em 0 #fff,inset 0 1em #fff,inset 0 -1em #fff}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w3{visibility:hidden}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w4{height:100%;visibility:visible;width:auto}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w5{height:auto;visibility:visible;width:100%}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1orib4w6{font-size:6em;text-align:center;color:#717779}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba10{display:table;float:right}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba11{display:table-cell;vertical-align:middle}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba12{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba13{display:block;margin-bottom:.5rem;width:100%}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba14{display:block;background:transparent;border:0;cursor:pointer;padding:0}.pkg_sps-woodland_core__family_photo__version_8_53_31__hash_1744ba16{opacity:.4}
@@ -56,7 +56,7 @@ var _e = (e, n, r) => {
56
56
  for (var [m, i] of e.compoundVariants)
57
57
  _e(m, a, e.defaultVariants) && (r += " " + i);
58
58
  return r;
59
- }, ie = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux0", ue = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux2", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), de = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux5", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), fe = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux7", pe = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux8", me = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux9", he = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxa", X = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxc", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxe", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), ge = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxg", ve = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxi", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxj" } }, defaultVariants: { priorityPlus: !1 }, compoundVariants: [] });
59
+ }, ie = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux0", ue = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux2", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), de = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux5", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), fe = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux7", pe = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux8", me = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux9", he = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxa", X = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxc", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxe", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), ge = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxg", ve = q({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxi", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxj" } }, defaultVariants: { priorityPlus: !1 }, compoundVariants: [] });
60
60
  function Y(e) {
61
61
  const n = t.useRef(null), { linkProps: r } = ae(e, n), { active: a, priority: s, ...o } = e, l = {
62
62
  ...o,
@@ -99,7 +99,7 @@ H.set(Z, {
99
99
  hideNameText: { type: "boolean", default: "false" }
100
100
  }
101
101
  });
102
- var be = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn0", ye = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn1", we = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn2", z = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn3", G = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn4";
102
+ var be = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn0", ye = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn1", we = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn2", z = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn3", G = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn4";
103
103
  function ke({
104
104
  items: e,
105
105
  wrapperRef: n
@@ -361,7 +361,7 @@ H.set(Ee, {
361
361
  enablePriorityPlus: { type: "boolean", default: "true" }
362
362
  }
363
363
  });
364
- var Be = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_pqijiy0", je = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_pqijiy1";
364
+ var Be = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_pqijiy0", je = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_pqijiy1";
365
365
  function Ie({
366
366
  channelId: e,
367
367
  className: n,
@@ -1 +1 @@
1
- (function(u,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("react"),require("@sps-woodland/core"),require("@react-aria/link"),require("@ariakit/react"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@react-aria/link","@ariakit/react","@spscommerce/i18n"],V):(u=typeof globalThis<"u"?globalThis:u||self,V(u.ProductBar={},u.react,u.spsWoodlandCore,u.reactAriaLink,u.ariakitReact,u.spscommerceI18n))})(this,(function(u,V,c,te,P,U){"use strict";function re(e){const n=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(n,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=re(V);function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,a)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?X(Object(t),!0).forEach(function(a){ne(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var ae=(e,n,t)=>{for(var a of Object.keys(e)){var s;if(e[a]!==((s=n[a])!==null&&s!==void 0?s:t[a]))return!1}return!0},D=e=>n=>{var t=e.defaultClassName,a=Y(Y({},e.defaultVariants),n);for(var s in a){var o,l=(o=a[s])!==null&&o!==void 0?o:e.defaultVariants[s];if(l!=null){var i=l;typeof i=="boolean"&&(i=i===!0?"true":"false");var h=e.variantClassNames[s][i];h&&(t+=" "+h)}}for(var[g,d]of e.compoundVariants)ae(g,a,e.defaultVariants)&&(t+=" "+d);return t},se="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux0",oe=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux1",variantClassNames:{fullWidth:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux2",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux3"}},defaultVariants:{fullWidth:!1},compoundVariants:[]}),le=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux4",variantClassNames:{hideNameText:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux5",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux6"}},defaultVariants:{hideNameText:!1},compoundVariants:[]}),ie="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux7",ce="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux8",_e="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux9",ue="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxa",Z=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxb",variantClassNames:{active:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxc",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxd"},disabled:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxe",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxf"}},defaultVariants:{active:!1,disabled:!1},compoundVariants:[]}),de="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxg",fe=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxh",variantClassNames:{priorityPlus:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxi",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxj"}},defaultVariants:{priorityPlus:!1},compoundVariants:[]});function G(e){const n=r.useRef(null),{linkProps:t}=te.useLink(e,n),{active:a,priority:s,...o}=e,l={...o,...t,ref:n,className:c.cl(Z({active:a,disabled:!1}),e.className)},i=e.as??(e.href?"a":"span");return r.createElement(i,{...l},e.children)}c.Metadata.set(G,{name:"Product Bar Tab",props:{active:{type:"boolean",required:!0},href:{type:"string"},priority:{type:"number"}}});const K=r.forwardRef(({children:e,className:n,name:t,logoSrc:a,hideNameText:s=!1,...o},l)=>r.createElement(r.Fragment,null,r.createElement("a",{className:c.cl(le({hideNameText:s}),n),...o,ref:l},a&&r.createElement("img",{className:ie,src:a,"aria-hidden":"true",alt:`${t} Logo`,title:t}),t&&r.createElement("span",{className:c.cl(ce,s&&_e)},t)),r.createElement("span",{className:de})));c.Metadata.set(K,{name:"ProductBarName",props:{name:{type:"string"},logoSrc:{type:"string"},hideNameText:{type:"boolean",default:"false"}}});var pe="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn0",me="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn1",he="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn2",J="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn3",Q="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn4";function ge({items:e,wrapperRef:n}){const{t}=U.useWoodlandLanguage();if(e.length===0)return null;const a=e.some(o=>o.props?.active),s=t("productBar.more",{defaultValue:"More"});return r.createElement("span",{ref:n},r.createElement(P.MenuProvider,null,r.createElement(P.MenuButton,{className:c.cl(Z({active:a,disabled:!1}),pe),"aria-label":s},s,r.createElement(c.Icon,{icon:"chevron-down",className:me,"aria-hidden":"true"})),r.createElement(P.Menu,{className:he,gutter:4},e.map((o,l)=>{const i=o.props?.active,h=o.props?.children,g=o.props?.onPress,d=o.props?.href,N=o.props?.as,M=()=>{g&&g()};if(d&&N){const C=N;return r.createElement(P.MenuItem,{key:l,className:c.cl(J,i&&Q),render:r.createElement(C,{to:d})},h)}return d?r.createElement(P.MenuItem,{key:l,className:c.cl(J,i&&Q),render:r.createElement("a",{href:d})},h):r.createElement(P.MenuItem,{key:l,className:c.cl(J,i&&Q),onClick:M},h)}))))}function ve(e,n={}){const{enabled:t=!0,minVisibleItems:a=1,debounceMs:s=16}=n,o=r.useRef(null),l=r.useRef(null),i=r.useRef(null),h=r.useRef(null),g=r.useRef(null),d=r.useRef([]),N=r.useRef(0),M=r.useRef(0),C=r.useRef(!1),[W,B]=r.useState(e.length),[H,j]=r.useState(!1),L=r.useCallback(()=>{if(!o.current)return!1;const _=o.current,b=Array.from(_.children),f=i.current;f&&(N.current=f.getBoundingClientRect().width);const w=b.filter(k=>k!==f);if(w.length<e.length)return!1;if(d.current=w.map(k=>k.getBoundingClientRect().width),g.current){const k=g.current.querySelector("span:last-of-type");if(k){const p=k.getBoundingClientRect().width,E=getComputedStyle(g.current),S=parseFloat(E.marginRight)||0,m=Math.max(0,S-8);M.current=p+m}}return C.current=!0,!0},[e.length]),F=r.useCallback(()=>{if(!l.current)return 0;const _=l.current,b=_.getBoundingClientRect(),f=getComputedStyle(_),w=parseFloat(f.paddingLeft)+parseFloat(f.paddingRight),k=parseFloat(f.gap)||0;let p=w;const E=Array.from(_.children),S=E.filter(m=>getComputedStyle(m).display!=="none");S.length>1&&(p+=k*(S.length-1));for(const m of E){if(m===o.current)continue;const z=getComputedStyle(m),A=parseFloat(z.marginLeft)+parseFloat(z.marginRight);if(m===h.current){const x=Array.from(m.children),q=getComputedStyle(m),I=parseFloat(q.gap)||0;for(const y of x){const R=getComputedStyle(y),Ce=parseFloat(R.marginLeft)+parseFloat(R.marginRight);p+=y.getBoundingClientRect().width+Ce}x.length>1&&(p+=I*(x.length-1)),p+=parseFloat(q.paddingLeft)+parseFloat(q.paddingRight),p+=A}else p+=m.getBoundingClientRect().width+A}return Math.max(0,b.width-p-2)},[]),v=r.useRef(!1),O=r.useCallback(()=>{if(!t||!C.current){j(!1),v.current=!1;return}let _=F();const b=d.current,f=N.current||100,w=M.current||0;if(v.current&&w>0&&(_-=w),b.length===0||_<=0){B(e.length),j(!1),v.current=!1;return}if(b.reduce((y,R)=>y+R,0)<=_){B(e.length),j(!1),v.current=!1;return}let p=0,E=0;const S=_-f;for(let y=0;y<b.length;y++){const R=b[y];if(p+R<=S)p+=R,E++;else break}const T=Math.min(a,e.length),m=Math.max(E,T),A=b.slice(0,T).reduce((y,R)=>y+R,0)+f,x=E<T&&A>_&&w>0,q=!x&&_>A+w+20;let I=v.current;x&&!v.current?I=!0:q&&v.current&&(I=!1),I!==v.current&&(v.current=I,j(I)),B(m)},[t,e.length,a,F]);r.useEffect(()=>{if(!t){B(e.length);return}C.current=!1,d.current=[],B(e.length)},[t,e.length]),r.useLayoutEffect(()=>{if(!t||!o.current)return;L()&&O()}),r.useEffect(()=>{if(!t)return;let _;const b=()=>{clearTimeout(_),_=setTimeout(()=>{C.current||L(),O()},s)},f=new ResizeObserver(b);return l.current&&f.observe(l.current),()=>{clearTimeout(_),f.disconnect()}},[t,L,O,s]);const Re=t?e.slice(0,W):e,Ne=t&&W<e.length?e.slice(W):[];return{visibleItems:Re,overflowItems:Ne,containerRef:o,parentRef:l,overflowButtonRef:i,contentRef:h,brandRef:g,hideProductName:H}}function be(e){return[...e].sort((n,t)=>{const a=n.props?.priority??1/0,s=t.props?.priority??1/0;return a===s?0:a-s})}function ye(e,n){if(n.length===0)return{visible:e,overflow:n};const t=n.findIndex(i=>i.props?.active);if(t===-1)return{visible:e,overflow:n};const a=n[t],s=e[e.length-1],o=[...e.slice(0,-1),a],l=[...n.slice(0,t),s,...n.slice(t+1)];return{visible:o,overflow:l}}function $({fullWidth:e,enablePriorityPlus:n=!0,children:t,className:a,...s}){const o=r.useRef(null),[l,i,h]=c.selectChildren(t,[{type:K},{type:G}]),g=r.useMemo(()=>n?be(i):i,[n,i]),{visibleItems:d,overflowItems:N,containerRef:M,parentRef:C,overflowButtonRef:W,contentRef:B,brandRef:H,hideProductName:j}=ve(g,{enabled:n}),{visible:L,overflow:F}=r.useMemo(()=>ye(d,N),[d,N]),v=r.useMemo(()=>{if(!n||!l||l.length===0)return l;const O=l[0];return r.isValidElement(O)?[r.cloneElement(O,{hideNameText:j,ref:H})]:l},[n,l,j,H]);return r.createElement("div",{className:c.cl(se,a),...s,ref:o},r.createElement("nav",{className:oe({fullWidth:e}),ref:C},v,r.createElement("div",{className:fe({priorityPlus:n}),ref:M},L,F.length>0&&r.createElement(ge,{items:F,wrapperRef:W})),r.createElement("div",{className:ue,ref:B},r.createElement(c.PortalContext.Provider,{value:{parentElementRef:o,fixed:!0}},h))))}c.Metadata.set($,{name:"ProductBar",props:{fullWidth:{type:"boolean"},enablePriorityPlus:{type:"boolean",default:"true"}}});var we="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_pqijiy0",ke="pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_pqijiy1";function ee({channelId:e,className:n,...t}){const{t:a}=U.useWoodlandLanguage();return r.createElement("a",{className:c.cl(we,n),target:"_blank",rel:"noreferrer",href:`https://spscommerce.slack.com/archives/${e}`,...t},r.createElement(c.Icon,{className:ke,icon:"conversation","aria-hidden":"true"}),r.createElement("span",null,a("slackLink.label",{defaultValue:"Chat"})))}c.Metadata.set(ee,{name:"Slack Link",props:{channelId:{type:"string",required:!0}}}),u.ProductBar=$,u.ProductBarName=K,u.ProductBarTab=G,u.SlackLink=ee,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(u,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("react"),require("@sps-woodland/core"),require("@react-aria/link"),require("@ariakit/react"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@react-aria/link","@ariakit/react","@spscommerce/i18n"],V):(u=typeof globalThis<"u"?globalThis:u||self,V(u.ProductBar={},u.react,u.spsWoodlandCore,u.reactAriaLink,u.ariakitReact,u.spscommerceI18n))})(this,(function(u,V,c,te,P,U){"use strict";function re(e){const n=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(n,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=re(V);function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,a)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?X(Object(t),!0).forEach(function(a){ne(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var ae=(e,n,t)=>{for(var a of Object.keys(e)){var s;if(e[a]!==((s=n[a])!==null&&s!==void 0?s:t[a]))return!1}return!0},D=e=>n=>{var t=e.defaultClassName,a=Y(Y({},e.defaultVariants),n);for(var s in a){var o,l=(o=a[s])!==null&&o!==void 0?o:e.defaultVariants[s];if(l!=null){var i=l;typeof i=="boolean"&&(i=i===!0?"true":"false");var h=e.variantClassNames[s][i];h&&(t+=" "+h)}}for(var[g,d]of e.compoundVariants)ae(g,a,e.defaultVariants)&&(t+=" "+d);return t},se="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux0",oe=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux1",variantClassNames:{fullWidth:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux2",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux3"}},defaultVariants:{fullWidth:!1},compoundVariants:[]}),le=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux4",variantClassNames:{hideNameText:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux5",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux6"}},defaultVariants:{hideNameText:!1},compoundVariants:[]}),ie="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux7",ce="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux8",_e="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux9",ue="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxa",Z=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxb",variantClassNames:{active:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxc",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxd"},disabled:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxe",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxf"}},defaultVariants:{active:!1,disabled:!1},compoundVariants:[]}),de="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxg",fe=D({defaultClassName:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxh",variantClassNames:{priorityPlus:{true:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxi",false:"pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxj"}},defaultVariants:{priorityPlus:!1},compoundVariants:[]});function G(e){const n=r.useRef(null),{linkProps:t}=te.useLink(e,n),{active:a,priority:s,...o}=e,l={...o,...t,ref:n,className:c.cl(Z({active:a,disabled:!1}),e.className)},i=e.as??(e.href?"a":"span");return r.createElement(i,{...l},e.children)}c.Metadata.set(G,{name:"Product Bar Tab",props:{active:{type:"boolean",required:!0},href:{type:"string"},priority:{type:"number"}}});const K=r.forwardRef(({children:e,className:n,name:t,logoSrc:a,hideNameText:s=!1,...o},l)=>r.createElement(r.Fragment,null,r.createElement("a",{className:c.cl(le({hideNameText:s}),n),...o,ref:l},a&&r.createElement("img",{className:ie,src:a,"aria-hidden":"true",alt:`${t} Logo`,title:t}),t&&r.createElement("span",{className:c.cl(ce,s&&_e)},t)),r.createElement("span",{className:de})));c.Metadata.set(K,{name:"ProductBarName",props:{name:{type:"string"},logoSrc:{type:"string"},hideNameText:{type:"boolean",default:"false"}}});var pe="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn0",me="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn1",he="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn2",J="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn3",Q="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn4";function ge({items:e,wrapperRef:n}){const{t}=U.useWoodlandLanguage();if(e.length===0)return null;const a=e.some(o=>o.props?.active),s=t("productBar.more",{defaultValue:"More"});return r.createElement("span",{ref:n},r.createElement(P.MenuProvider,null,r.createElement(P.MenuButton,{className:c.cl(Z({active:a,disabled:!1}),pe),"aria-label":s},s,r.createElement(c.Icon,{icon:"chevron-down",className:me,"aria-hidden":"true"})),r.createElement(P.Menu,{className:he,gutter:4},e.map((o,l)=>{const i=o.props?.active,h=o.props?.children,g=o.props?.onPress,d=o.props?.href,N=o.props?.as,M=()=>{g&&g()};if(d&&N){const C=N;return r.createElement(P.MenuItem,{key:l,className:c.cl(J,i&&Q),render:r.createElement(C,{to:d})},h)}return d?r.createElement(P.MenuItem,{key:l,className:c.cl(J,i&&Q),render:r.createElement("a",{href:d})},h):r.createElement(P.MenuItem,{key:l,className:c.cl(J,i&&Q),onClick:M},h)}))))}function ve(e,n={}){const{enabled:t=!0,minVisibleItems:a=1,debounceMs:s=16}=n,o=r.useRef(null),l=r.useRef(null),i=r.useRef(null),h=r.useRef(null),g=r.useRef(null),d=r.useRef([]),N=r.useRef(0),M=r.useRef(0),C=r.useRef(!1),[W,B]=r.useState(e.length),[H,j]=r.useState(!1),L=r.useCallback(()=>{if(!o.current)return!1;const _=o.current,b=Array.from(_.children),f=i.current;f&&(N.current=f.getBoundingClientRect().width);const w=b.filter(k=>k!==f);if(w.length<e.length)return!1;if(d.current=w.map(k=>k.getBoundingClientRect().width),g.current){const k=g.current.querySelector("span:last-of-type");if(k){const p=k.getBoundingClientRect().width,E=getComputedStyle(g.current),S=parseFloat(E.marginRight)||0,m=Math.max(0,S-8);M.current=p+m}}return C.current=!0,!0},[e.length]),F=r.useCallback(()=>{if(!l.current)return 0;const _=l.current,b=_.getBoundingClientRect(),f=getComputedStyle(_),w=parseFloat(f.paddingLeft)+parseFloat(f.paddingRight),k=parseFloat(f.gap)||0;let p=w;const E=Array.from(_.children),S=E.filter(m=>getComputedStyle(m).display!=="none");S.length>1&&(p+=k*(S.length-1));for(const m of E){if(m===o.current)continue;const z=getComputedStyle(m),A=parseFloat(z.marginLeft)+parseFloat(z.marginRight);if(m===h.current){const x=Array.from(m.children),q=getComputedStyle(m),I=parseFloat(q.gap)||0;for(const y of x){const R=getComputedStyle(y),Ce=parseFloat(R.marginLeft)+parseFloat(R.marginRight);p+=y.getBoundingClientRect().width+Ce}x.length>1&&(p+=I*(x.length-1)),p+=parseFloat(q.paddingLeft)+parseFloat(q.paddingRight),p+=A}else p+=m.getBoundingClientRect().width+A}return Math.max(0,b.width-p-2)},[]),v=r.useRef(!1),O=r.useCallback(()=>{if(!t||!C.current){j(!1),v.current=!1;return}let _=F();const b=d.current,f=N.current||100,w=M.current||0;if(v.current&&w>0&&(_-=w),b.length===0||_<=0){B(e.length),j(!1),v.current=!1;return}if(b.reduce((y,R)=>y+R,0)<=_){B(e.length),j(!1),v.current=!1;return}let p=0,E=0;const S=_-f;for(let y=0;y<b.length;y++){const R=b[y];if(p+R<=S)p+=R,E++;else break}const T=Math.min(a,e.length),m=Math.max(E,T),A=b.slice(0,T).reduce((y,R)=>y+R,0)+f,x=E<T&&A>_&&w>0,q=!x&&_>A+w+20;let I=v.current;x&&!v.current?I=!0:q&&v.current&&(I=!1),I!==v.current&&(v.current=I,j(I)),B(m)},[t,e.length,a,F]);r.useEffect(()=>{if(!t){B(e.length);return}C.current=!1,d.current=[],B(e.length)},[t,e.length]),r.useLayoutEffect(()=>{if(!t||!o.current)return;L()&&O()}),r.useEffect(()=>{if(!t)return;let _;const b=()=>{clearTimeout(_),_=setTimeout(()=>{C.current||L(),O()},s)},f=new ResizeObserver(b);return l.current&&f.observe(l.current),()=>{clearTimeout(_),f.disconnect()}},[t,L,O,s]);const Re=t?e.slice(0,W):e,Ne=t&&W<e.length?e.slice(W):[];return{visibleItems:Re,overflowItems:Ne,containerRef:o,parentRef:l,overflowButtonRef:i,contentRef:h,brandRef:g,hideProductName:H}}function be(e){return[...e].sort((n,t)=>{const a=n.props?.priority??1/0,s=t.props?.priority??1/0;return a===s?0:a-s})}function ye(e,n){if(n.length===0)return{visible:e,overflow:n};const t=n.findIndex(i=>i.props?.active);if(t===-1)return{visible:e,overflow:n};const a=n[t],s=e[e.length-1],o=[...e.slice(0,-1),a],l=[...n.slice(0,t),s,...n.slice(t+1)];return{visible:o,overflow:l}}function $({fullWidth:e,enablePriorityPlus:n=!0,children:t,className:a,...s}){const o=r.useRef(null),[l,i,h]=c.selectChildren(t,[{type:K},{type:G}]),g=r.useMemo(()=>n?be(i):i,[n,i]),{visibleItems:d,overflowItems:N,containerRef:M,parentRef:C,overflowButtonRef:W,contentRef:B,brandRef:H,hideProductName:j}=ve(g,{enabled:n}),{visible:L,overflow:F}=r.useMemo(()=>ye(d,N),[d,N]),v=r.useMemo(()=>{if(!n||!l||l.length===0)return l;const O=l[0];return r.isValidElement(O)?[r.cloneElement(O,{hideNameText:j,ref:H})]:l},[n,l,j,H]);return r.createElement("div",{className:c.cl(se,a),...s,ref:o},r.createElement("nav",{className:oe({fullWidth:e}),ref:C},v,r.createElement("div",{className:fe({priorityPlus:n}),ref:M},L,F.length>0&&r.createElement(ge,{items:F,wrapperRef:W})),r.createElement("div",{className:ue,ref:B},r.createElement(c.PortalContext.Provider,{value:{parentElementRef:o,fixed:!0}},h))))}c.Metadata.set($,{name:"ProductBar",props:{fullWidth:{type:"boolean"},enablePriorityPlus:{type:"boolean",default:"true"}}});var we="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_pqijiy0",ke="pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_pqijiy1";function ee({channelId:e,className:n,...t}){const{t:a}=U.useWoodlandLanguage();return r.createElement("a",{className:c.cl(we,n),target:"_blank",rel:"noreferrer",href:`https://spscommerce.slack.com/archives/${e}`,...t},r.createElement(c.Icon,{className:ke,icon:"conversation","aria-hidden":"true"}),r.createElement("span",null,a("slackLink.label",{defaultValue:"Chat"})))}c.Metadata.set(ee,{name:"Slack Link",props:{channelId:{type:"string",required:!0}}}),u.ProductBar=$,u.ProductBarName=K,u.ProductBarTab=G,u.SlackLink=ee,Object.defineProperty(u,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 = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux0", s = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux2", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), d = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux5", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), e = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux7", l = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux8", p = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjux9", i = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxa", u = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxc", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxe", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), t = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxg", n = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxi", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_g6gjuxj" } }, defaultVariants: { priorityPlus: !1 }, compoundVariants: [] });
3
+ var o = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux0", s = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux2", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), d = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux5", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), e = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux7", l = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux8", p = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjux9", i = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxa", u = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxc", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxe", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), t = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxg", n = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxi", false: "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_g6gjuxj" } }, defaultVariants: { priorityPlus: !1 }, compoundVariants: [] });
4
4
  export {
5
5
  u as navItem,
6
6
  s as productBar,
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- var o = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn0", r = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn1", a = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn2", e = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn3", v = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_5klvkn4";
2
+ var o = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn0", r = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn1", a = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn2", e = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn3", v = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_5klvkn4";
3
3
  export {
4
4
  o as overflowButton,
5
5
  r as overflowButtonChevron,
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- var o = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_pqijiy0", a = "pkg_sps-woodland_core__family_product-bar__version_8_53_30__hash_pqijiy1";
2
+ var o = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_pqijiy0", a = "pkg_sps-woodland_core__family_product-bar__version_8_53_31__hash_pqijiy1";
3
3
  export {
4
4
  o as slackLink,
5
5
  a as slackLinkIcon