@sps-woodland/core 8.56.21 → 8.56.23
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.
- package/lib/action-bar/action-bar/ActionBar.js +1 -2
- package/lib/action-bar/action-bar/ActionBar.ve.js +2 -3
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +1 -2
- package/lib/action-bar/index.js +3 -3
- package/lib/action-bar/style.css +1 -1
- package/lib/add-to-list/add-to-list/AddToList.js +65 -66
- package/lib/add-to-list/add-to-list/AddToList.ve.js +34 -35
- package/lib/add-to-list/add-to-list/ItemsList.js +4 -5
- package/lib/add-to-list/add-to-list/ListItem.js +2 -3
- package/lib/add-to-list/style.css +1 -1
- package/lib/buttons/button/Button.js +3 -4
- package/lib/buttons/button/Button.ve.js +58 -59
- package/lib/buttons/style.css +1 -1
- package/lib/cards/card/Card.js +1 -2
- package/lib/cards/card/Card.ve.js +2 -3
- package/lib/cards/card-footer/CardFooter.js +1 -2
- package/lib/cards/card-footer/CardFooter.ve.js +2 -3
- package/lib/cards/card-header/CardHeader.js +1 -2
- package/lib/cards/card-header/CardHeader.ve.js +2 -3
- package/lib/cards/card-title/CardTitle.js +1 -2
- package/lib/cards/card-title/CardTitle.ve.js +2 -3
- package/lib/cards/index.js +3 -3
- package/lib/cards/style.css +4 -4
- package/lib/column-manager/column-manager/ColumnManager.js +1 -2
- package/lib/column-manager/column-manager/useColumnManager.js +1 -2
- package/lib/components/icon/Icon.ve.js +7 -8
- package/lib/components/icon/icons/sprite.svg.js +1 -2
- package/lib/content-row/content-row/ContentRow.js +17 -18
- package/lib/content-row/content-row/ContentRow.ve.js +39 -40
- package/lib/content-row/content-row-col/ContentRowCol.js +1 -2
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +16 -17
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +1 -2
- package/lib/content-row/index.js +4 -4
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +1 -2
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +5 -6
- package/lib/content-row/style.css +3 -3
- package/lib/content-tiles/content-tile/ContentTile.js +4 -5
- package/lib/content-tiles/content-tile/ContentTile.ve.js +15 -16
- package/lib/content-tiles/content-tile-list/ContentTileList.js +1 -2
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +2 -3
- package/lib/content-tiles/style.css +2 -2
- package/lib/dropdowns/dropdown/Dropdown.js +2 -3
- package/lib/dropdowns/dropdown/Dropdown.ve.js +17 -18
- package/lib/dropdowns/index.js +3 -3
- package/lib/dropdowns/option-list/Option.js +2 -3
- package/lib/dropdowns/option-list/Option.ve.js +2 -3
- package/lib/dropdowns/option-list/OptionList.js +2 -3
- package/lib/dropdowns/option-list/OptionList.ve.js +2 -3
- package/lib/dropdowns/style.css +3 -3
- package/lib/editable-table/EditableTable.js +1 -2
- package/lib/feedback-block/FeedbackBlock.js +1 -2
- package/lib/feedback-block/FeedbackBlock.ve.js +22 -23
- package/lib/feedback-block/style.css +1 -1
- package/lib/file-upload/file-upload/FileUpload.js +5 -6
- package/lib/file-upload/file-upload/FileUpload.ve.js +30 -31
- package/lib/file-upload/file-upload/mime-type.enum.js +1 -2
- package/lib/file-upload/style.css +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +1 -2
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +22 -23
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +1 -2
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +2 -3
- package/lib/filter-tiles/style.css +2 -2
- package/lib/focused-task/focused-task/FocusedTask.js +9 -10
- package/lib/focused-task/focused-task/FocusedTask.ve.js +7 -8
- package/lib/focused-task/focused-task/useFocusedTask.js +1 -2
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +1 -2
- package/lib/focused-task/index.js +4 -4
- package/lib/focused-task/style.css +1 -1
- package/lib/growler/Growler.js +2 -3
- package/lib/growler/Growler.ve.js +12 -13
- package/lib/growler/GrowlerListProvider.js +12 -13
- package/lib/growler/Sonner.ve.js +10 -11
- package/lib/growler/sonner.js +1 -2
- package/lib/growler/style.css +2 -2
- package/lib/index.js +64 -100
- package/lib/index.umd.cjs +2 -2
- package/lib/insight-card/InsightCard.js +1 -2
- package/lib/insight-card/InsightCard.ve.js +55 -56
- package/lib/insight-card/InsightCardSet.js +1 -2
- package/lib/insight-card/style.css +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +1 -2
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +4 -5
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +1 -2
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +6 -7
- package/lib/key-value-set/style.css +2 -2
- package/lib/list-bar/advanced-search/AdvancedSearch.js +1 -2
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +11 -12
- package/lib/list-bar/index.js +7 -7
- package/lib/list-bar/list-bar/InputGroupWrapper.js +1 -2
- package/lib/list-bar/list-bar/ListBar.js +16 -17
- package/lib/list-bar/list-bar/ListBar.ve.js +6 -7
- package/lib/list-bar/list-bar/ListBarSearch.js +1 -2
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +1 -2
- package/lib/list-bar/list-bar/ListBarSortBy.js +1 -2
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +3 -4
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +2 -3
- package/lib/list-bar/style.css +3 -3
- package/lib/matrix/matrix/Matrix.js +1 -2
- package/lib/matrix/matrix/Matrix.ve.js +2 -3
- package/lib/matrix/matrix-body/MatrixBody.js +1 -2
- package/lib/matrix/matrix-cell/MatrixCell.js +1 -2
- package/lib/matrix/matrix-head/MatrixHead.js +1 -2
- package/lib/matrix/matrix-header/MatrixHeader.js +1 -2
- package/lib/matrix/matrix-row/MatrixRow.js +1 -2
- package/lib/matrix/style.css +1 -1
- package/lib/modal/index.js +4 -4
- package/lib/modal/modal/Modal.js +15 -16
- package/lib/modal/modal/Modal.ve.js +25 -26
- package/lib/modal/modal/useModal.js +1 -2
- package/lib/modal/modal-footer/ModalFooter.js +1 -2
- package/lib/modal/style.css +1 -1
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +1 -2
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +1 -2
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +1 -2
- package/lib/page-title/heading-level/HeadingLevel.js +1 -2
- package/lib/page-title/index.js +4 -4
- package/lib/page-title/page-subtitle/PageSubtitle.js +1 -2
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +2 -3
- package/lib/page-title/page-title/PageTitle.js +1 -2
- package/lib/page-title/page-title/PageTitle.ve.js +2 -3
- package/lib/page-title/style.css +2 -2
- package/lib/photo/photo/Photo.js +1 -2
- package/lib/photo/photo/Photo.ve.js +9 -10
- package/lib/photo/photo-carousel/PhotoCarousel.js +1 -2
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +6 -7
- package/lib/photo/style.css +2 -2
- package/lib/product-bar/hooks/usePriorityPlus.js +1 -2
- package/lib/product-bar/index.js +4 -4
- package/lib/product-bar/product-bar/ProductBar.js +12 -13
- package/lib/product-bar/product-bar/ProductBar.ve.js +19 -20
- package/lib/product-bar/product-bar-name/ProductBarName.js +3 -4
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +4 -5
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +2 -3
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +2 -3
- package/lib/product-bar/slack-link/SlackLink.js +1 -2
- package/lib/product-bar/slack-link/SlackLink.ve.js +2 -3
- package/lib/product-bar/style.css +3 -3
- package/lib/product-bar-vertical/index.js +5 -5
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +11 -12
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +25 -26
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +2 -3
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +3 -4
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +6 -7
- package/lib/product-bar-vertical/style.css +1 -1
- package/lib/progress-indicators/index.js +3 -3
- package/lib/progress-indicators/progress-bar/ProgressBar.js +8 -9
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +28 -29
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +1 -2
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +45 -46
- package/lib/progress-indicators/progress-ring/ProgressRing.js +1 -2
- package/lib/progress-indicators/style.css +2 -2
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +6 -7
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +3 -4
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +9 -10
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +64 -65
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +1 -2
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +1 -2
- package/lib/rich-text-editor/style.css +2 -2
- package/lib/scrollable-container/ScrollableContainer.js +1 -2
- package/lib/scrollable-container/ScrollableContainer.ve.js +2 -3
- package/lib/scrollable-container/style.css +1 -1
- package/lib/side-nav/index.js +4 -4
- package/lib/side-nav/side-nav/SideNav.js +13 -14
- package/lib/side-nav/side-nav/SideNav.ve.js +9 -10
- package/lib/side-nav/side-nav/navContext.js +1 -2
- package/lib/side-nav/side-nav-header/SideNavHeader.js +1 -2
- package/lib/side-nav/side-nav-item/SideNavItem.js +1 -2
- package/lib/side-nav/side-nav-section/SideNavSection.js +2 -3
- package/lib/side-nav/style.css +1 -1
- package/lib/sorting-header/caret/caret.ve.js +5 -6
- package/lib/sorting-header/index.js +3 -3
- package/lib/sorting-header/sorting-header/SortingHeader.js +1 -2
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +11 -12
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +1 -2
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +8 -9
- package/lib/sorting-header/style.css +3 -3
- package/lib/style.css +1 -1
- package/lib/tabs/index.js +4 -4
- package/lib/tabs/style.css +2 -2
- package/lib/tabs/tab/Tab.js +1 -2
- package/lib/tabs/tab/Tab.ve.js +24 -25
- package/lib/tabs/tab-panel/TabPanel.js +1 -2
- package/lib/tabs/tabs/Tabs.js +8 -9
- package/lib/tabs/tabs/Tabs.ve.js +7 -8
- package/lib/tags/clickable-tag/ClickableTag.js +2 -3
- package/lib/tags/clickable-tag/ClickableTag.ve.js +23 -24
- package/lib/tags/split-tag/SplitTag.js +2 -3
- package/lib/tags/split-tag/SplitTag.ve.js +17 -18
- package/lib/tags/style.css +3 -3
- package/lib/tags/tag/Tag.js +1 -2
- package/lib/tags/tag/Tag.ve.js +21 -22
- package/lib/utils/cl.js +1 -2
- package/lib/zero-state/ZeroState.js +2 -3
- package/lib/zero-state/ZeroState.ve.js +13 -14
- package/lib/zero-state/style.css +1 -1
- package/package.json +11 -11
|
@@ -4,14 +4,14 @@ import * as o from "react";
|
|
|
4
4
|
import { useWoodlandLanguage as s } from "@spscommerce/i18n";
|
|
5
5
|
import { Button as c } from "@sps-woodland/core/button";
|
|
6
6
|
import { Tag as l } from "@sps-woodland/core/tag";
|
|
7
|
-
|
|
7
|
+
// src/list-bar/search-results-bar/SearchResultsBar.tsx
|
|
8
8
|
function u({ results: a, selections: u, zeroStateText: d, onClear: f, className: p, children: m, ...h }) {
|
|
9
9
|
let { t: g } = s(), _ = u ? Object.keys(u).reduce((e, t) => (u[t].length > 0 && (e[t] = u[t]), e), {}) : {};
|
|
10
10
|
return /* @__PURE__ */ o.createElement("div", {
|
|
11
11
|
className: e,
|
|
12
12
|
...h
|
|
13
|
-
}, a != null && /* @__PURE__ */ o.createElement("div", { className: "pkg_sps-woodland_core__family_list-
|
|
14
|
-
className: "pkg_sps-woodland_core__family_list-
|
|
13
|
+
}, a != null && /* @__PURE__ */ o.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h2" }, /* @__PURE__ */ o.createElement("span", null, g("searchResultsBar.results", { defaultValue: "Results:" })), /* @__PURE__ */ o.createElement(l, {
|
|
14
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h3",
|
|
15
15
|
kind: "info"
|
|
16
16
|
}, /* @__PURE__ */ o.createElement("span", null, a))), /* @__PURE__ */ o.createElement("div", { className: i }, Object.keys(_).length > 0 ? Object.keys(_).map((e, t) => /* @__PURE__ */ o.createElement(o.Fragment, { key: e }, /* @__PURE__ */ o.createElement("span", {
|
|
17
17
|
key: t,
|
|
@@ -36,5 +36,4 @@ a.set(u, {
|
|
|
36
36
|
onClear: { type: "() => void" }
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
//#endregion
|
|
40
39
|
export { u as SearchResultsBar };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
var e = "pkg_sps-woodland_core__family_list-
|
|
5
|
-
//#endregion
|
|
3
|
+
// src/list-bar/search-results-bar/SearchResultsBar.css.ts
|
|
4
|
+
var e = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h0", t = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h1", n = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h2", r = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h3", i = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h4", a = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h5", o = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h6", s = "pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h7";
|
|
6
5
|
export { t as searchResultsBar, s as searchResultsBarButtons, n as searchResultsBarResults, a as searchResultsBarSelection, o as searchResultsBarSelectionTag, i as searchResultsBarSelections, e as searchResultsBarWrapper, r as searchResutlsBarResultsTag };
|
package/lib/list-bar/style.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_list-
|
|
2
|
-
.pkg_sps-woodland_core__family_list-
|
|
3
|
-
.pkg_sps-woodland_core__family_list-
|
|
1
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv1{background:#fff;border:.0625rem solid #d2d4d4;border-radius:.25rem;flex-flow:column wrap;margin:0 0 .5rem;display:flex;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv2{z-index:999;border-radius:0;width:calc(1280px - 2.5rem);position:fixed;top:3.75rem;left:50%;transform:translate(-50%)}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv2:after{content:"";background:linear-gradient(#0000001a,#0000);width:100%;height:.625rem;display:block;position:absolute;top:calc(100% + 1px)}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv4{flex-wrap:wrap;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv5{border-right:.0625rem solid #d2d4d4;align-items:center;margin:-.5rem .5rem -.5rem -.5rem;padding:1rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv6{vertical-align:middle;flex:1 0 auto;align-items:center;height:2rem;display:inline-flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv7{white-space:nowrap;padding:.25rem 0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv8{display:inline-block;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv9{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwva{float:left;text-transform:uppercase;align-items:center;margin-bottom:0;padding-left:.5rem;font-size:.75rem;font-weight:600;line-height:1.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvb{text-align:right;vertical-align:middle;white-space:nowrap;height:2rem;margin-left:auto;display:inline-block}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvc{flex:1;max-width:25rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwve{background-color:#e9e9ea;border:.0625rem solid #717779;border-left-width:0;border-radius:0 .25rem .25rem 0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwve:hover{background-color:#d2d4d4;border:.0625rem solid #717779;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvf>.sps-button{color:#4b5356;background:0 0;border-color:#0000;margin:0!important}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvf>.sps-button>button{padding:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwve>button{height:1.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwva>i{margin-right:.25rem;font-size:.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group{flex-wrap:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-autocomplete,.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-multi-select{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-select{min-width:30%}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-select:not(:last-child)>.sps-select__dropctrl{border-top-right-radius:0;border-bottom-right-radius:0;height:2rem;line-height:2rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:first-child)>.sps-text-input>.sps-form-control{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:last-child)>.sps-text-input>.sps-form-control{border-top-right-radius:0;border-bottom-right-radius:0;height:2rem;line-height:2rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:last-child)>.sps-form-control{border-top-right-radius:0;border-bottom-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-multi-select>.sps-text-input>.sps-form-control{border-left:0;border-radius:0;height:32px}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:first-child):not(:only-child)>.sps-form-control{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwvd svg{margin-bottom:0}
|
|
2
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h1{background-color:#e9e9ea;border:.0625rem solid #d2d4d4;border-radius:.25rem;min-height:3.25rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_uzzgwv1>.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h0>.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h1{border-width:.0625rem 0 0;border-radius:0 0 .125rem .125rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h2{border-right:.0625rem solid #d2d4d4;flex:auto;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h3{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h4{flex-wrap:wrap;flex:100%;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h5{margin:0 .25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h5:first-child{margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h6{margin-top:.125rem;margin-bottom:.125rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h6:last-child{margin-right:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h7{border-left:.0625rem solid #d2d4d4;flex:auto;align-items:center;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_1o1g57h7:hover{background:#d2d4d4}
|
|
3
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc0{background:#fff;border:.0625rem solid #d2d4d4;border-top-width:0;border-radius:0 0 .25rem .25rem;margin:-.625rem 0 1rem;display:none}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc1,.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc3{display:block}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc5{padding:1rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc7{display:none}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc8{background:#f3f4f4;border-radius:0 0 .25rem .25rem;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc9{text-align:right}.pkg_sps-woodland_core__family_list-bar__version_8_56_23__hash_am9pfc8>*{flex:1}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { matrix as e } from "./Matrix.ve.js";
|
|
2
2
|
import { Metadata as t, Title as n, cl as r } from "@sps-woodland/core";
|
|
3
3
|
import i from "react";
|
|
4
|
-
|
|
4
|
+
// src/matrix/matrix/Matrix.tsx
|
|
5
5
|
function a({ title: t, children: a, "data-testid": o, ...s }) {
|
|
6
6
|
return /* @__PURE__ */ i.createElement("div", {
|
|
7
7
|
className: r(e),
|
|
@@ -16,5 +16,4 @@ t.set(a, {
|
|
|
16
16
|
name: "Matrix",
|
|
17
17
|
props: { title: "string" }
|
|
18
18
|
});
|
|
19
|
-
//#endregion
|
|
20
19
|
export { a as Matrix };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var e = "pkg_sps-
|
|
4
|
-
//#endregion
|
|
2
|
+
// src/matrix/matrix/Matrix.css.ts
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v0", t = "pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v1", n = "pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v2", r = "pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v3";
|
|
5
4
|
export { e as matrix, n as matrixCell, t as matrixHeader, r as matrixHeaderIcon };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Metadata as e } from "@sps-woodland/core";
|
|
2
2
|
import t from "react";
|
|
3
|
-
|
|
3
|
+
// src/matrix/matrix-body/MatrixBody.tsx
|
|
4
4
|
function n({ children: e, "data-testid": n, ...r }) {
|
|
5
5
|
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tbody", {
|
|
6
6
|
"data-testid": `${n}`,
|
|
@@ -8,5 +8,4 @@ function n({ children: e, "data-testid": n, ...r }) {
|
|
|
8
8
|
}, e));
|
|
9
9
|
}
|
|
10
10
|
e.set(n, { name: "Matrix Body" });
|
|
11
|
-
//#endregion
|
|
12
11
|
export { n as MatrixBody };
|
|
@@ -2,7 +2,7 @@ import { matrixCell as e } from "../matrix/Matrix.ve.js";
|
|
|
2
2
|
import { Metadata as t, cl as n } from "@sps-woodland/core";
|
|
3
3
|
import r from "react";
|
|
4
4
|
import { useWoodlandLanguage as i } from "@spscommerce/i18n";
|
|
5
|
-
|
|
5
|
+
// src/matrix/matrix-cell/MatrixCell.tsx
|
|
6
6
|
function a({ className: t, children: a, "data-testid": o, ...s }) {
|
|
7
7
|
let { t: c } = i();
|
|
8
8
|
return a === void 0 ? /* @__PURE__ */ r.createElement("td", {
|
|
@@ -20,5 +20,4 @@ function a({ className: t, children: a, "data-testid": o, ...s }) {
|
|
|
20
20
|
}, a);
|
|
21
21
|
}
|
|
22
22
|
t.set(a, { name: "Matrix Cell" });
|
|
23
|
-
//#endregion
|
|
24
23
|
export { a as MatrixCell };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Metadata as e } from "@sps-woodland/core";
|
|
2
2
|
import t from "react";
|
|
3
|
-
|
|
3
|
+
// src/matrix/matrix-head/MatrixHead.tsx
|
|
4
4
|
function n({ children: e, "data-testid": n, ...r }) {
|
|
5
5
|
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("thead", {
|
|
6
6
|
"data-testid": `${n}`,
|
|
@@ -8,5 +8,4 @@ function n({ children: e, "data-testid": n, ...r }) {
|
|
|
8
8
|
}, e));
|
|
9
9
|
}
|
|
10
10
|
e.set(n, { name: "Matrix Head" });
|
|
11
|
-
//#endregion
|
|
12
11
|
export { n as MatrixHead };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { matrixHeader as e, matrixHeaderIcon as t } from "../matrix/Matrix.ve.js";
|
|
2
2
|
import { Metadata as n, cl as r } from "@sps-woodland/core";
|
|
3
3
|
import i from "react";
|
|
4
|
-
|
|
4
|
+
// src/matrix/matrix-header/MatrixHeader.tsx
|
|
5
5
|
function a({ icon: n, tooltip: a, width: o, className: s, children: c, "data-testid": l, ...u }) {
|
|
6
6
|
return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("th", {
|
|
7
7
|
className: r(e),
|
|
@@ -18,5 +18,4 @@ n.set(a, {
|
|
|
18
18
|
width: "string"
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
|
-
//#endregion
|
|
22
21
|
export { a as MatrixHeader };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Metadata as e } from "@sps-woodland/core";
|
|
2
2
|
import t from "react";
|
|
3
|
-
|
|
3
|
+
// src/matrix/matrix-row/MatrixRow.tsx
|
|
4
4
|
function n({ children: e, "data-testid": n, ...r }) {
|
|
5
5
|
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tr", {
|
|
6
6
|
"data-testid": `${n}`,
|
|
@@ -8,5 +8,4 @@ function n({ children: e, "data-testid": n, ...r }) {
|
|
|
8
8
|
}, e));
|
|
9
9
|
}
|
|
10
10
|
e.set(n, { name: "Matrix Row" });
|
|
11
|
-
//#endregion
|
|
12
11
|
export { n as MatrixRow };
|
package/lib/matrix/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v0{word-wrap:break-word;table-layout:fixed;border-radius:.125rem;flex-direction:column;width:100%;font-size:.875rem;overflow:hidden}.pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v1{vertical-align:top;background-color:#f3f4f4;border:.0625rem solid #d2d4d4;padding:.5rem;line-height:1.25rem}.pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v2{vertical-align:top;border:.0625rem solid #d2d4d4;padding:.5rem}.pkg_sps-woodland_core__family_matrix__version_8_56_23__hash_6q9a8v3{float:right}
|
package/lib/modal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { Modal as e, ModalIcons as t } from "./modal/Modal.js";
|
|
2
|
+
import { useModal as n } from "./modal/useModal.js";
|
|
3
|
+
import { ModalFooter as r } from "./modal-footer/ModalFooter.js";
|
|
4
|
+
export { e as Modal, r as ModalFooter, t as ModalIcons, n as useModal };
|
package/lib/modal/modal/Modal.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ModalFooter as e } from "../modal-footer/ModalFooter.js";
|
|
2
|
+
import { body as t, closeButtonBox as n, closeButtonIcon as r, footer as i, modal as a, title as o, titleContent as s, underlay as c } from "./Modal.ve.js";
|
|
3
3
|
import { Icon as l, Metadata as u, cl as d, combineEventHandlers as f, contentOf as p, modChildren as m, selectChildren as h, useChildTestIdAttrBuilder as g } from "@sps-woodland/core";
|
|
4
4
|
import * as _ from "react";
|
|
5
5
|
import { useWoodlandLanguage as v } from "@spscommerce/i18n";
|
|
6
6
|
import { Overlay as y, useDialog as b, useModalOverlay as x } from "react-aria";
|
|
7
7
|
import { Button as S } from "@sps-woodland/core/button";
|
|
8
|
-
|
|
9
|
-
function C({ dismissableValue: e, handleClose:
|
|
8
|
+
// src/modal/modal/Modal.tsx
|
|
9
|
+
function C({ dismissableValue: e, handleClose: t }) {
|
|
10
10
|
return e ? /* @__PURE__ */ _.createElement(S, {
|
|
11
11
|
"aria-label": "Close",
|
|
12
|
-
onClick:
|
|
12
|
+
onClick: t,
|
|
13
13
|
kind: "icon",
|
|
14
14
|
icon: "x",
|
|
15
|
-
className:
|
|
15
|
+
className: n
|
|
16
16
|
}) : null;
|
|
17
17
|
}
|
|
18
18
|
var w = Object.freeze({
|
|
@@ -24,15 +24,15 @@ var w = Object.freeze({
|
|
|
24
24
|
successWithFailures: "status-warning",
|
|
25
25
|
warning: "status-warning"
|
|
26
26
|
});
|
|
27
|
-
function T({ children:
|
|
27
|
+
function T({ children: n, className: u, "data-testid": T, kind: E = "informational", onBlur: D, onFocus: O, overlayProps: k, size: A = "sm", state: j, title: M, dismissible: N, dismissable: P = !0, onClose: F, fullHeight: I = !1, ...L }) {
|
|
28
28
|
let R = N ?? P, z = _.useRef(null), { modalProps: B, underlayProps: V } = x({
|
|
29
29
|
isKeyboardDismissDisabled: !R,
|
|
30
30
|
...L
|
|
31
|
-
}, j, z), { dialogProps: H, titleProps: U } = b(L, z), W = f(B.onFocus, H.onFocus, O), G = f(B.onBlur, H.onBlur, D), { t: K } = v(), q = g({ "data-testid": T }), [J, Y] = h(
|
|
31
|
+
}, j, z), { dialogProps: H, titleProps: U } = b(L, z), W = f(B.onFocus, H.onFocus, O), G = f(B.onBlur, H.onBlur, D), { t: K } = v(), q = g({ "data-testid": T }), [J, Y] = h(n, [{ type: e }]), X = _.useCallback(() => {
|
|
32
32
|
F && typeof F == "function" && F(), j.close();
|
|
33
|
-
}, [F, j.close]), Z = m(Y, (e) => e.type === C ? [{ className: d(e.props.classname,
|
|
33
|
+
}, [F, j.close]), Z = m(Y, (e) => e.type === C ? [{ className: d(e.props.classname, r) }] : []);
|
|
34
34
|
return /* @__PURE__ */ _.createElement(y, null, /* @__PURE__ */ _.createElement("div", {
|
|
35
|
-
className:
|
|
35
|
+
className: c,
|
|
36
36
|
"data-react-aria-top-layer": "true",
|
|
37
37
|
...V,
|
|
38
38
|
...L
|
|
@@ -44,21 +44,21 @@ function T({ children: t, className: u, "data-testid": T, kind: E = "information
|
|
|
44
44
|
onBlur: G,
|
|
45
45
|
...q("dialog"),
|
|
46
46
|
ref: z,
|
|
47
|
-
className: d(
|
|
47
|
+
className: d(a({
|
|
48
48
|
kind: E,
|
|
49
49
|
size: A,
|
|
50
50
|
fullHeight: I
|
|
51
51
|
}), u)
|
|
52
52
|
}, /* @__PURE__ */ _.createElement("div", {
|
|
53
53
|
...U,
|
|
54
|
-
className:
|
|
54
|
+
className: o({ kind: E })
|
|
55
55
|
}, E && /* @__PURE__ */ _.createElement(l, {
|
|
56
56
|
icon: w[E] || w.informational,
|
|
57
|
-
className: "pkg_sps-
|
|
58
|
-
}), /* @__PURE__ */ _.createElement("div", { className:
|
|
57
|
+
className: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemn"
|
|
58
|
+
}), /* @__PURE__ */ _.createElement("div", { className: s }, p(M, j.close)), /* @__PURE__ */ _.createElement(C, {
|
|
59
59
|
dismissableValue: R,
|
|
60
60
|
handleClose: X
|
|
61
|
-
})), /* @__PURE__ */ _.createElement("div", { className:
|
|
61
|
+
})), /* @__PURE__ */ _.createElement("div", { className: t }, p(Z, j.close)), J && J.length > 0 ? /* @__PURE__ */ _.createElement(_.Fragment, null, p(J, j.close)) : /* @__PURE__ */ _.createElement("div", { className: i }, /* @__PURE__ */ _.createElement(S, {
|
|
62
62
|
kind: "key",
|
|
63
63
|
onClick: X
|
|
64
64
|
}, K("modal.defaultButtonLabel", { defaultValue: "Okay" }))))));
|
|
@@ -91,5 +91,4 @@ u.set(E, {
|
|
|
91
91
|
title: { type: "string" }
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
//#endregion
|
|
95
94
|
export { E as Modal, w as ModalIcons };
|
|
@@ -1,44 +1,43 @@
|
|
|
1
|
-
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
2
1
|
/* empty css */
|
|
3
|
-
|
|
2
|
+
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
3
|
+
// src/modal/modal/Modal.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem0",
|
|
6
6
|
variantClassNames: {
|
|
7
7
|
kind: {
|
|
8
|
-
informational: "pkg_sps-
|
|
9
|
-
delete: "pkg_sps-
|
|
10
|
-
failure: "pkg_sps-
|
|
11
|
-
success: "pkg_sps-
|
|
12
|
-
warning: "pkg_sps-
|
|
13
|
-
successWithFailures: "pkg_sps-
|
|
14
|
-
form: "pkg_sps-
|
|
8
|
+
informational: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem1",
|
|
9
|
+
delete: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem2",
|
|
10
|
+
failure: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem3",
|
|
11
|
+
success: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem4",
|
|
12
|
+
warning: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem5",
|
|
13
|
+
successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem6",
|
|
14
|
+
form: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem7"
|
|
15
15
|
},
|
|
16
16
|
size: {
|
|
17
|
-
sm: "pkg_sps-
|
|
18
|
-
md: "pkg_sps-
|
|
19
|
-
lg: "pkg_sps-
|
|
20
|
-
xl: "pkg_sps-
|
|
17
|
+
sm: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem8",
|
|
18
|
+
md: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem9",
|
|
19
|
+
lg: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksema",
|
|
20
|
+
xl: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemb"
|
|
21
21
|
},
|
|
22
22
|
fullHeight: {
|
|
23
|
-
true: "pkg_sps-
|
|
24
|
-
false: "pkg_sps-
|
|
23
|
+
true: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemc",
|
|
24
|
+
false: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemd"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
defaultVariants: {},
|
|
28
28
|
compoundVariants: []
|
|
29
29
|
}), n = e({
|
|
30
|
-
defaultClassName: "pkg_sps-
|
|
30
|
+
defaultClassName: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41kseme",
|
|
31
31
|
variantClassNames: { kind: {
|
|
32
|
-
form: "pkg_sps-
|
|
33
|
-
delete: "pkg_sps-
|
|
34
|
-
failure: "pkg_sps-
|
|
35
|
-
informational: "pkg_sps-
|
|
36
|
-
success: "pkg_sps-
|
|
37
|
-
warning: "pkg_sps-
|
|
38
|
-
successWithFailures: "pkg_sps-
|
|
32
|
+
form: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemf",
|
|
33
|
+
delete: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemg",
|
|
34
|
+
failure: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemh",
|
|
35
|
+
informational: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemi",
|
|
36
|
+
success: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemj",
|
|
37
|
+
warning: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemk",
|
|
38
|
+
successWithFailures: "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41kseml"
|
|
39
39
|
} },
|
|
40
40
|
defaultVariants: {},
|
|
41
41
|
compoundVariants: []
|
|
42
|
-
}), r = "pkg_sps-
|
|
43
|
-
//#endregion
|
|
42
|
+
}), r = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemm", i = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemn", a = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemo", o = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemp", s = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemq", c = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemr", l = "pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksems";
|
|
44
43
|
export { a as body, s as closeButtonBox, c as closeButtonIcon, o as footer, t as modal, i as modalIcon, n as title, r as titleContent, l as underlay };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useRef as e } from "react";
|
|
2
2
|
import { useOverlayTrigger as t } from "react-aria";
|
|
3
3
|
import { useOverlayTriggerState as n } from "react-stately";
|
|
4
|
-
|
|
4
|
+
// src/modal/modal/useModal.ts
|
|
5
5
|
function r(r = {}) {
|
|
6
6
|
let i = n(r), a = e(null), { triggerProps: o, overlayProps: s } = t({ type: "dialog" }, i, a), { onPress: c, ...l } = o;
|
|
7
7
|
return {
|
|
@@ -17,5 +17,4 @@ function r(r = {}) {
|
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
//#endregion
|
|
21
20
|
export { r as useModal };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { footer as e } from "../modal/Modal.ve.js";
|
|
2
2
|
import { Metadata as t, cl as n } from "@sps-woodland/core";
|
|
3
3
|
import * as r from "react";
|
|
4
|
-
|
|
4
|
+
// src/modal/modal-footer/ModalFooter.tsx
|
|
5
5
|
function i({ children: t, className: i = "", ...a }) {
|
|
6
6
|
return /* @__PURE__ */ r.createElement("div", {
|
|
7
7
|
className: n(e, i),
|
|
@@ -9,5 +9,4 @@ function i({ children: t, className: i = "", ...a }) {
|
|
|
9
9
|
}, t);
|
|
10
10
|
}
|
|
11
11
|
t.set(i, { name: "ModalFooter" });
|
|
12
|
-
//#endregion
|
|
13
12
|
export { i as ModalFooter };
|
package/lib/modal/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;flex-direction:column;max-height:100%;display:flex;overflow:hidden}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem1{border-color:#007db8}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem2,.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem3{border-color:#de002e}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem4{border-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem5,.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem6{border-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem7{border-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem8{width:23.75rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksem9{width:36.25rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksema{width:48.75rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemb{width:73.75rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemc{height:100%}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41kseme{color:#fff;align-items:center;padding:1rem;display:flex}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemf{background-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemg,.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemh{background-color:#de002e}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemi{background-color:#007db8}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemj{background-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemk,.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41kseml{background-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemm{flex-grow:1;font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemn{margin-right:.5rem;font-size:.875rem;font-weight:600;line-height:.875rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemo{flex:1;padding:1rem;overflow-y:auto}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemp{background-color:#f3f4f4;justify-content:flex-end;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemq{color:#fff;border-width:0}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksemr{padding:0 .25rem}.pkg_sps-woodland_core__family_modal__version_8_56_23__hash_41ksems{z-index:1000;background:#f3f4f4cc;justify-content:center;align-items:start;padding:4rem 1rem 1rem;display:flex;position:fixed;inset:0}.z-stratum-dropdown{z-index:1100}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (typeof e != "object" || !e) return e;
|
|
4
4
|
var n = e[Symbol.toPrimitive];
|
|
@@ -74,5 +74,4 @@ var o = (e, t, n) => {
|
|
|
74
74
|
}
|
|
75
75
|
}, t;
|
|
76
76
|
};
|
|
77
|
-
//#endregion
|
|
78
77
|
export { s as c, a as m };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { urlAlphabet as e } from "./url-alphabet/index.js";
|
|
2
|
-
|
|
2
|
+
// ../../../node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js
|
|
3
3
|
var t = (t = 21) => {
|
|
4
4
|
let n = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
|
|
5
5
|
for (; t--;) n += e[r[t] & 63];
|
|
6
6
|
return n;
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { t as nanoid };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../../node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js
|
|
2
2
|
var e = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
3
|
-
//#endregion
|
|
4
3
|
export { e as urlAlphabet };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
|
|
2
|
+
// src/page-title/heading-level/HeadingLevel.tsx
|
|
3
3
|
var t = e.createContext(void 0);
|
|
4
4
|
function n({ level: n, children: r }) {
|
|
5
5
|
return /* @__PURE__ */ e.createElement(t.Provider, { value: n }, r);
|
|
@@ -7,5 +7,4 @@ function n({ level: n, children: r }) {
|
|
|
7
7
|
function r() {
|
|
8
8
|
return e.useContext(t);
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as HeadingLevelProvider, r as useHeadingLevel };
|
package/lib/page-title/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { PageTitle as e } from "./page-title/PageTitle.js";
|
|
2
|
+
import { PageSubtitle as t } from "./page-subtitle/PageSubtitle.js";
|
|
3
|
+
import { HeadingLevelProvider as n, useHeadingLevel as r } from "./heading-level/HeadingLevel.js";
|
|
4
|
+
export { n as HeadingLevelProvider, t as PageSubtitle, e as PageTitle, r as useHeadingLevel };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { pageSubtitle as e, pageSubtitleIcon as t } from "./PageSubtitle.ve.js";
|
|
2
2
|
import { Icon as n, Metadata as r, cl as i, modChildren as a } from "@sps-woodland/core";
|
|
3
3
|
import * as o from "react";
|
|
4
|
-
|
|
4
|
+
// src/page-title/page-subtitle/PageSubtitle.tsx
|
|
5
5
|
function s({ children: r, className: s, ...c }) {
|
|
6
6
|
let l = a(r, (e) => e.type === n ? [{ className: i(e.props.className, t) }] : []);
|
|
7
7
|
return /* @__PURE__ */ o.createElement("div", {
|
|
@@ -10,5 +10,4 @@ function s({ children: r, className: s, ...c }) {
|
|
|
10
10
|
}, o.Children.toArray(l));
|
|
11
11
|
}
|
|
12
12
|
r.set(s, { name: "Page Subtitle" });
|
|
13
|
-
//#endregion
|
|
14
13
|
export { s as PageSubtitle };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_page-
|
|
4
|
-
//#endregion
|
|
2
|
+
// src/page-title/page-subtitle/PageSubtitle.css.ts
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_14qi3ku0", t = "pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_14qi3ku1";
|
|
5
4
|
export { e as pageSubtitle, t as pageSubtitleIcon };
|
|
@@ -3,7 +3,7 @@ import { useHeadingLevel as t } from "../heading-level/HeadingLevel.js";
|
|
|
3
3
|
import { pageTitle as n, pageTitleHeading as r, pageTitleIcon as i, pageTitleText as a } from "./PageTitle.ve.js";
|
|
4
4
|
import { Icon as o, Metadata as s, addClassName as c, cl as l, selectChildren as u } from "@sps-woodland/core";
|
|
5
5
|
import * as d from "react";
|
|
6
|
-
|
|
6
|
+
// src/page-title/page-title/PageTitle.tsx
|
|
7
7
|
function f({ as: s, children: f, className: p, ...m }) {
|
|
8
8
|
let [[h], g, _] = u(f, [{ type: o }, { type: e }]), v = t(), y = s ?? (v ? `h${v}` : "h1"), b = h ? c(h, i) : "";
|
|
9
9
|
return /* @__PURE__ */ d.createElement("div", {
|
|
@@ -12,5 +12,4 @@ function f({ as: s, children: f, className: p, ...m }) {
|
|
|
12
12
|
}, b, /* @__PURE__ */ d.createElement("div", { className: a }, y === "div" ? _ : d.createElement(y, { className: r }, _), g));
|
|
13
13
|
}
|
|
14
14
|
s.set(f, { name: "Page Title" });
|
|
15
|
-
//#endregion
|
|
16
15
|
export { f as PageTitle };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_page-
|
|
4
|
-
//#endregion
|
|
2
|
+
// src/page-title/page-title/PageTitle.css.ts
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl00", t = "pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl01", n = "pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl02", r = "pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl03";
|
|
5
4
|
export { e as pageTitle, r as pageTitleHeading, n as pageTitleIcon, t as pageTitleText };
|
package/lib/page-title/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_page-
|
|
2
|
-
.pkg_sps-woodland_core__family_page-
|
|
1
|
+
.pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_14qi3ku0{color:#4b5356;margin-top:.25rem;font-size:1.125rem;line-height:1.125rem}.pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_14qi3ku1{margin-top:.25rem;margin-left:.25rem;margin-right:.25rem;font-size:.75rem;line-height:1.125rem}
|
|
2
|
+
.pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl00{flex-direction:row;display:flex}.pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl01{color:#1f282c;flex-direction:column;font-size:1.5rem;line-height:1.5rem;display:flex}.pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl02{align-self:flex-start;margin-top:.1875rem;margin-right:.25rem;font-size:1.125rem;line-height:1.5rem}.pkg_sps-woodland_core__family_page-title__version_8_56_23__hash_6nwwl03{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}
|
package/lib/photo/photo/Photo.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { photo as e, photoPlaceholder as t, photoWrapper as n } from "./Photo.ve.js";
|
|
2
2
|
import { Icon as r, Metadata as i, cl as a } from "@sps-woodland/core";
|
|
3
3
|
import * as o from "react";
|
|
4
|
-
|
|
4
|
+
// src/photo/photo/Photo.tsx
|
|
5
5
|
function s({ className: i, src: s, altText: c, mode: l = "fill", placeholderIcon: u = "photo", ...d }) {
|
|
6
6
|
let f = o.useRef(null), p = o.useRef(null), m = o.useRef(null), h = o.useRef(null), [g, _] = o.useState(), [v, y] = o.useState(!1);
|
|
7
7
|
o.useEffect(() => {
|
|
@@ -70,5 +70,4 @@ i.set(s, {
|
|
|
70
70
|
placeholderIcon: "IconName"
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
-
//#endregion
|
|
74
73
|
export { s as Photo };
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
2
1
|
/* empty css */
|
|
3
|
-
|
|
2
|
+
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
3
|
+
// src/photo/photo/Photo.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w0",
|
|
6
6
|
variantClassNames: { placeholder: {
|
|
7
|
-
true: "pkg_sps-
|
|
8
|
-
false: "pkg_sps-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w2"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { placeholder: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
}), n = e({
|
|
13
|
-
defaultClassName: "pkg_sps-
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w3",
|
|
14
14
|
variantClassNames: { mode: {
|
|
15
|
-
fill: "pkg_sps-
|
|
16
|
-
fit: "pkg_sps-
|
|
15
|
+
fill: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w4",
|
|
16
|
+
fit: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w5"
|
|
17
17
|
} },
|
|
18
18
|
defaultVariants: { mode: "fill" },
|
|
19
19
|
compoundVariants: []
|
|
20
|
-
}), r = "pkg_sps-
|
|
21
|
-
//#endregion
|
|
20
|
+
}), r = "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1orib4w6";
|
|
22
21
|
export { n as photo, r as photoPlaceholder, t as photoWrapper };
|
|
@@ -5,7 +5,7 @@ import * as c from "react";
|
|
|
5
5
|
import { useWoodlandLanguage as l } from "@spscommerce/i18n";
|
|
6
6
|
import { grid as u } from "@sps-woodland/tokens";
|
|
7
7
|
import { Button as d } from "@sps-woodland/core/buttons";
|
|
8
|
-
|
|
8
|
+
// src/photo/photo-carousel/PhotoCarousel.tsx
|
|
9
9
|
function f({ children: f, className: p, ...m }) {
|
|
10
10
|
let [h] = s(f, [{ type: e }]), [g, _] = c.useState(0), { t: v } = l();
|
|
11
11
|
function y() {
|
|
@@ -33,5 +33,4 @@ function f({ children: f, className: p, ...m }) {
|
|
|
33
33
|
onClick: y
|
|
34
34
|
}))));
|
|
35
35
|
}
|
|
36
|
-
//#endregion
|
|
37
36
|
export { f as PhotoCarousel };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
2
1
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
3
|
+
// src/photo/photo-carousel/PhotoCarousel.css.ts
|
|
4
|
+
var t = "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba10", n = "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba11", r = "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba12", i = "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba13", a = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba14",
|
|
6
6
|
variantClassNames: { selected: {
|
|
7
|
-
true: "pkg_sps-
|
|
8
|
-
false: "pkg_sps-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba15",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_photo__version_8_56_23__hash_1744ba16"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { selected: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
});
|
|
13
|
-
//#endregion
|
|
14
13
|
export { n as photoCarouselButton, t as photoCarouselButtonWrapper, i as photoCarouselDisplayPhoto, r as photoCarouselList, a as photoCarouselListPhoto };
|