@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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ContentRowCol as e } from "../content-row-col/ContentRowCol.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ContentRowExpansion as t } from "../content-row-expansion/ContentRowExpansion.js";
|
|
3
|
+
import { contentRow as ee, contentRowColGroup as n, contentTableRow as r, contentTableRowSpacer as i, expandButton as te, expandIcon as ne, indexContainer as re, indexContainerElement as ie, indexContainerWrapper as ae, reorderableButton as a, reorderableLayout as o, reorderableSection as s } from "./ContentRow.ve.js";
|
|
4
4
|
import { Icon as c, Metadata as l, cl as u, selectChildren as d } from "@sps-woodland/core";
|
|
5
5
|
import * as f from "react";
|
|
6
6
|
import { useWoodlandLanguage as oe } from "@spscommerce/i18n";
|
|
7
7
|
import { Button as p } from "@sps-woodland/core/button";
|
|
8
8
|
import { SpsCheckbox as se, SpsTextInput as ce } from "@spscommerce/ds-react";
|
|
9
9
|
import { ButtonKind as m, SpsIcon as h } from "@spscommerce/ds-shared";
|
|
10
|
-
|
|
10
|
+
// src/content-row/content-row/ContentRow.tsx
|
|
11
11
|
function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpanded: v = !1, cardSpacing: y = !1, expanded: b, onBeforeCollapsed: x, onBeforeExpanded: S, onSelectionChange: C, onCollapsed: w, onExpanded: T, selectable: E = !1, selected: D, selectIndeterminate: O, renderExpandedContent: k = !0, disableSelection: A = !1, disableExpansion: j = !1, hideExpansionControl: M = !1, __autoLayout: N = !1, __reorderable: P = !1, __onOrderChange: F = () => {}, __index: I = 0, __canBeMovedUp: L, __canBeMovedDown: R, ...z }) {
|
|
12
|
-
let [B, [V]] = d(l, [{ type: e }, { type:
|
|
12
|
+
let [B, [V]] = d(l, [{ type: e }, { type: t }]), { t: H } = oe(), [U, W] = f.useState(k || v), [le, G] = f.useState(v), K = typeof b == "boolean" ? b : le, q = N ? K : U, [J, Y] = f.useState((I + 1).toString() || "");
|
|
13
13
|
f.useEffect(() => {
|
|
14
14
|
Y((I + 1).toString() || "");
|
|
15
15
|
}, [I]);
|
|
@@ -20,7 +20,7 @@ function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpand
|
|
|
20
20
|
Number(J) ? F(I, Number(J) - 1) : (Y((I + 1).toString() || ""), F(I, I));
|
|
21
21
|
}
|
|
22
22
|
function de(e) {
|
|
23
|
-
e.stopPropagation(), K && (!x || x()) ? (G(!1), k || W(!1), w && w()) :
|
|
23
|
+
e.stopPropagation(), K && (!x || x()) ? (G(!1), k || W(!1), w && w()) : K || S && !S() || (G(!0), k || W(!0), T && T());
|
|
24
24
|
}
|
|
25
25
|
let Z = /* @__PURE__ */ f.createElement(se, {
|
|
26
26
|
disabled: A,
|
|
@@ -29,22 +29,22 @@ function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpand
|
|
|
29
29
|
onChange: C
|
|
30
30
|
}), Q = /* @__PURE__ */ f.createElement("button", {
|
|
31
31
|
type: "button",
|
|
32
|
-
className: u(
|
|
32
|
+
className: u(te),
|
|
33
33
|
onClick: de,
|
|
34
34
|
"aria-label": H(`contentRow.${K ? "collapse" : "expand"}`, { defaultValue: `${K ? "Collapse" : "Expand"}` }),
|
|
35
35
|
"aria-expanded": K,
|
|
36
36
|
disabled: j
|
|
37
37
|
}, /* @__PURE__ */ f.createElement(c, {
|
|
38
|
-
className: u(
|
|
38
|
+
className: u(ne({ disabled: j })),
|
|
39
39
|
icon: K ? "minus-circle" : "plus-circle"
|
|
40
40
|
}));
|
|
41
41
|
if (N) {
|
|
42
42
|
let t = /* @__PURE__ */ f.createElement("tr", null, /* @__PURE__ */ f.createElement("td", {
|
|
43
|
-
className: u(
|
|
43
|
+
className: u(i),
|
|
44
44
|
colSpan: 100
|
|
45
45
|
}));
|
|
46
46
|
return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("tr", {
|
|
47
|
-
className: u(
|
|
47
|
+
className: u(r({
|
|
48
48
|
selected: D || O,
|
|
49
49
|
expanded: K
|
|
50
50
|
})),
|
|
@@ -58,12 +58,12 @@ function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpand
|
|
|
58
58
|
}, Q), V && E && _ && /* @__PURE__ */ f.createElement(e, {
|
|
59
59
|
widthPx: 46,
|
|
60
60
|
__autoLayout: !0
|
|
61
|
-
}, M ? Z : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { className: "pkg_sps-woodland_core__family_content-
|
|
61
|
+
}, M ? Z : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu" }, Z), /* @__PURE__ */ f.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu" }, Q))), B), q && V, t);
|
|
62
62
|
}
|
|
63
63
|
let $ = /* @__PURE__ */ f.createElement("div", {
|
|
64
|
-
className: u(
|
|
64
|
+
className: u(ee({ expanded: K }), g),
|
|
65
65
|
...z
|
|
66
|
-
}, /* @__PURE__ */ f.createElement("div", { className: u(
|
|
66
|
+
}, /* @__PURE__ */ f.createElement("div", { className: u(n({
|
|
67
67
|
expanded: K,
|
|
68
68
|
selected: D,
|
|
69
69
|
cardSpacing: y,
|
|
@@ -71,7 +71,7 @@ function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpand
|
|
|
71
71
|
})) }, P && /* @__PURE__ */ f.createElement(e, {
|
|
72
72
|
widthPx: 53,
|
|
73
73
|
style: { position: "relative" }
|
|
74
|
-
}, /* @__PURE__ */ f.createElement("section", { className:
|
|
74
|
+
}, /* @__PURE__ */ f.createElement("section", { className: s({ reorderable: P }) }, /* @__PURE__ */ f.createElement(p, {
|
|
75
75
|
className: a({
|
|
76
76
|
up: !0,
|
|
77
77
|
disabled: !L
|
|
@@ -80,7 +80,7 @@ function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpand
|
|
|
80
80
|
icon: h.CHEVRON_UP,
|
|
81
81
|
onClick: () => F(I, I - 1),
|
|
82
82
|
disabled: !L
|
|
83
|
-
})), /* @__PURE__ */ f.createElement("section", { className:
|
|
83
|
+
})), /* @__PURE__ */ f.createElement("section", { className: s({ reorderable: P }) }, /* @__PURE__ */ f.createElement(p, {
|
|
84
84
|
className: a({
|
|
85
85
|
down: !0,
|
|
86
86
|
disabled: !R
|
|
@@ -89,9 +89,9 @@ function g({ children: l, className: g, alternateLayout: _ = !1, initiallyExpand
|
|
|
89
89
|
icon: h.CHEVRON_DOWN,
|
|
90
90
|
onClick: () => F(I, I + 1),
|
|
91
91
|
disabled: !R
|
|
92
|
-
}))), E && !_ && /* @__PURE__ */ f.createElement(e, { widthPx: 46 }, Z), V && !_ && !M && /* @__PURE__ */ f.createElement(e, { widthPx: 44 }, Q), V && E && _ && /* @__PURE__ */ f.createElement(e, { widthPx: 46 }, M ? Z : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { className: "pkg_sps-woodland_core__family_content-
|
|
93
|
-
return P ? /* @__PURE__ */ f.createElement("div", { className:
|
|
94
|
-
className:
|
|
92
|
+
}))), E && !_ && /* @__PURE__ */ f.createElement(e, { widthPx: 46 }, Z), V && !_ && !M && /* @__PURE__ */ f.createElement(e, { widthPx: 44 }, Q), V && E && _ && /* @__PURE__ */ f.createElement(e, { widthPx: 46 }, M ? Z : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu" }, Z), /* @__PURE__ */ f.createElement("section", { className: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu" }, Q))), B), q && V);
|
|
93
|
+
return P ? /* @__PURE__ */ f.createElement("div", { className: o }, /* @__PURE__ */ f.createElement("div", { className: u(ae, g) }, /* @__PURE__ */ f.createElement("div", { className: re }, /* @__PURE__ */ f.createElement(ce, {
|
|
94
|
+
className: ie,
|
|
95
95
|
value: J,
|
|
96
96
|
onChange: ue,
|
|
97
97
|
onBlur: () => X(),
|
|
@@ -145,5 +145,4 @@ l.set(g, {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
|
-
//#endregion
|
|
149
148
|
export { g as ContentRow };
|
|
@@ -1,32 +1,32 @@
|
|
|
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/content-row/content-row/ContentRow.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv4",
|
|
6
6
|
variantClassNames: { expanded: {
|
|
7
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
8
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv5",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv6"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { expanded: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
}), n = e({
|
|
13
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv7",
|
|
14
14
|
variantClassNames: {
|
|
15
15
|
cardSpacing: {
|
|
16
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
17
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
16
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv8",
|
|
17
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv9"
|
|
18
18
|
},
|
|
19
19
|
expanded: {
|
|
20
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
21
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
20
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhva",
|
|
21
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvb"
|
|
22
22
|
},
|
|
23
23
|
selected: {
|
|
24
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
25
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
24
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvc",
|
|
25
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvd"
|
|
26
26
|
},
|
|
27
27
|
reorderable: {
|
|
28
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
29
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
28
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhve",
|
|
29
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvf"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
defaultVariants: {
|
|
@@ -37,17 +37,17 @@ var t = e({
|
|
|
37
37
|
compoundVariants: [[{
|
|
38
38
|
expanded: !0,
|
|
39
39
|
cardSpacing: !0
|
|
40
|
-
}, "pkg_sps-woodland_core__family_content-
|
|
40
|
+
}, "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvg"]]
|
|
41
41
|
}), r = e({
|
|
42
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
42
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvh",
|
|
43
43
|
variantClassNames: {
|
|
44
44
|
selected: {
|
|
45
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
46
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
45
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvi",
|
|
46
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvj"
|
|
47
47
|
},
|
|
48
48
|
expanded: {
|
|
49
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
50
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
49
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvk",
|
|
50
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvl"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
defaultVariants: {
|
|
@@ -55,44 +55,44 @@ var t = e({
|
|
|
55
55
|
expanded: !1
|
|
56
56
|
},
|
|
57
57
|
compoundVariants: []
|
|
58
|
-
}), i = "pkg_sps-woodland_core__family_content-
|
|
59
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
58
|
+
}), i = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvm", a = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvn", o = e({
|
|
59
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvo",
|
|
60
60
|
variantClassNames: { disabled: {
|
|
61
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
62
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
61
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvp",
|
|
62
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvq"
|
|
63
63
|
} },
|
|
64
64
|
defaultVariants: {},
|
|
65
65
|
compoundVariants: []
|
|
66
66
|
}), s = e({
|
|
67
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
67
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvr",
|
|
68
68
|
variantClassNames: { __autoLayout: {
|
|
69
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
70
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
69
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvs",
|
|
70
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvt"
|
|
71
71
|
} },
|
|
72
72
|
defaultVariants: { __autoLayout: !1 },
|
|
73
73
|
compoundVariants: []
|
|
74
|
-
}), c = "pkg_sps-woodland_core__family_content-
|
|
75
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
74
|
+
}), c = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu", l = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvv", u = e({
|
|
75
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw",
|
|
76
76
|
variantClassNames: { reorderable: {
|
|
77
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
78
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
77
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvx",
|
|
78
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvy"
|
|
79
79
|
} },
|
|
80
80
|
defaultVariants: { reorderable: !1 },
|
|
81
81
|
compoundVariants: []
|
|
82
|
-
}), d = "pkg_sps-woodland_core__family_content-
|
|
83
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
82
|
+
}), d = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvz", f = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv10", p = "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv11", m = e({
|
|
83
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv12",
|
|
84
84
|
variantClassNames: {
|
|
85
85
|
disabled: {
|
|
86
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
87
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
86
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv13",
|
|
87
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv14"
|
|
88
88
|
},
|
|
89
89
|
up: {
|
|
90
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
91
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
90
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv15",
|
|
91
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv16"
|
|
92
92
|
},
|
|
93
93
|
down: {
|
|
94
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
95
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
94
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv17",
|
|
95
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv18"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
defaultVariants: {
|
|
@@ -102,5 +102,4 @@ var t = e({
|
|
|
102
102
|
},
|
|
103
103
|
compoundVariants: []
|
|
104
104
|
});
|
|
105
|
-
//#endregion
|
|
106
105
|
export { t as contentRow, n as contentRowColGroup, s as contentRowExpansion, r as contentTableRow, i as contentTableRowSpacer, a as expandButton, o as expandIcon, f as indexContainer, p as indexContainerElement, d as indexContainerWrapper, m as reorderableButton, l as reorderableLayout, u as reorderableSection, c as section };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { contentRowCol as e, contentRowTableCol as t } from "./ContentRowCol.ve.js";
|
|
2
2
|
import { Metadata as n, cl as r } from "@sps-woodland/core";
|
|
3
3
|
import * as i from "react";
|
|
4
|
-
|
|
4
|
+
// src/content-row/content-row-col/ContentRowCol.tsx
|
|
5
5
|
function a({ children: n, className: a, borderless: o, lean: s, widthPx: c, widthRem: l, style: u, wrapContent: d = !1, __autoLayout: f = !1, ...p }) {
|
|
6
6
|
let m = c ? c / 16 : l, h = m ? {
|
|
7
7
|
...u,
|
|
@@ -35,5 +35,4 @@ n.set(a, {
|
|
|
35
35
|
wrapContent: { type: "boolean" }
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
//#endregion
|
|
39
38
|
export { a as ContentRowCol };
|
|
@@ -1,21 +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
|
/* empty css */
|
|
4
|
-
|
|
3
|
+
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";
|
|
4
|
+
// src/content-row/content-row-col/ContentRowCol.css.ts
|
|
5
5
|
var t = e({
|
|
6
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
6
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr0",
|
|
7
7
|
variantClassNames: {
|
|
8
8
|
lean: {
|
|
9
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
10
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
9
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr1",
|
|
10
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr2"
|
|
11
11
|
},
|
|
12
12
|
borderless: {
|
|
13
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
14
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
13
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr3",
|
|
14
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr4"
|
|
15
15
|
},
|
|
16
16
|
wrapContent: {
|
|
17
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
18
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
17
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr5",
|
|
18
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr6"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
defaultVariants: {
|
|
@@ -25,19 +25,19 @@ var t = e({
|
|
|
25
25
|
},
|
|
26
26
|
compoundVariants: []
|
|
27
27
|
}), n = e({
|
|
28
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
28
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr7",
|
|
29
29
|
variantClassNames: {
|
|
30
30
|
lean: {
|
|
31
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
32
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
31
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr8",
|
|
32
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr9"
|
|
33
33
|
},
|
|
34
34
|
borderless: {
|
|
35
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
36
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
35
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jra",
|
|
36
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jrb"
|
|
37
37
|
},
|
|
38
38
|
wrapContent: {
|
|
39
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
40
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
39
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jrc",
|
|
40
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jrd"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
defaultVariants: {
|
|
@@ -47,5 +47,4 @@ var t = e({
|
|
|
47
47
|
},
|
|
48
48
|
compoundVariants: []
|
|
49
49
|
});
|
|
50
|
-
//#endregion
|
|
51
50
|
export { t as contentRowCol, n as contentRowTableCol };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { contentRowExpansion as e } from "../content-row/ContentRow.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/content-row/content-row-expansion/ContentRowExpansion.tsx
|
|
5
5
|
function i({ children: t, className: i, __autoLayout: a = !1, ...o }) {
|
|
6
6
|
return a ? /* @__PURE__ */ r.createElement("tr", null, /* @__PURE__ */ r.createElement("td", {
|
|
7
7
|
className: n(e({ __autoLayout: a }), i),
|
|
@@ -13,5 +13,4 @@ function i({ children: t, className: i, __autoLayout: a = !1, ...o }) {
|
|
|
13
13
|
}, t);
|
|
14
14
|
}
|
|
15
15
|
t.set(i, { name: "Content Row Expansion" });
|
|
16
|
-
//#endregion
|
|
17
16
|
export { i as ContentRowExpansion };
|
package/lib/content-row/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ContentRow as e } from "./content-row/ContentRow.js";
|
|
2
|
+
import { ContentRowCol as t } from "./content-row-col/ContentRowCol.js";
|
|
3
|
+
import { ContentRowExpansion as n } from "./content-row-expansion/ContentRowExpansion.js";
|
|
4
4
|
import { RowListAutoLayout as r } from "./row-list-auto-layout/RowListAutoLayout.js";
|
|
5
|
-
export {
|
|
5
|
+
export { e as ContentRow, t as ContentRowCol, n as ContentRowExpansion, r as RowListAutoLayout };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { rowListAutoLayout as e } from "./RowListAutoLayout.ve.js";
|
|
2
2
|
import { Metadata as t, cl as n, modChildren as r, selectChildren as i } from "@sps-woodland/core";
|
|
3
3
|
import * as a from "react";
|
|
4
|
-
|
|
4
|
+
// src/content-row/row-list-auto-layout/RowListAutoLayout.tsx
|
|
5
5
|
var o = /* @__PURE__ */ new Set([
|
|
6
6
|
"Content Row",
|
|
7
7
|
"Content Row Col",
|
|
@@ -23,5 +23,4 @@ t.set(s, {
|
|
|
23
23
|
default: "false"
|
|
24
24
|
} }
|
|
25
25
|
});
|
|
26
|
-
//#endregion
|
|
27
26
|
export { s as RowListAutoLayout };
|
|
@@ -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
|
-
|
|
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/content-row/row-list-auto-layout/RowListAutoLayout.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_14j3gmi0",
|
|
6
6
|
variantClassNames: { wrapContent: {
|
|
7
|
-
true: "pkg_sps-woodland_core__family_content-
|
|
8
|
-
false: "pkg_sps-woodland_core__family_content-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_14j3gmi1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_14j3gmi2"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { wrapContent: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
});
|
|
13
|
-
//#endregion
|
|
14
13
|
export { t as rowListAutoLayout };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_content-
|
|
2
|
-
.pkg_sps-woodland_core__family_content-
|
|
3
|
-
.pkg_sps-woodland_core__family_content-
|
|
1
|
+
.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv4{background:#fff;border-radius:.25rem;display:block}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv5{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv0:block}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv6{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv0:none}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv7{table-layout:fixed;border:.0625rem solid #d2d4d4;border-radius:.25rem;width:100.06%;display:table}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv8{border-radius:.25rem;margin-top:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhva{border-radius:.25rem .25rem 0 0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvc{background:#e6f2f8;border-color:#007db8}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhve{min-height:3.875rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvg{border-radius:.25rem .25rem 0 0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvh{background:#fff}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvi{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv2:#007db8;background:#e6f2f8}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvj{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv2:#d2d4d4}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvk{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv1:0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvl{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv1:.25rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvm{background:0 0;border:0;height:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvn{background:0 0;border:0;padding:0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvo{cursor:pointer;margin-bottom:0;padding:0;font-size:1rem;line-height:1.125rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvp{color:#d2d4d4;cursor:not-allowed}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvq{color:#007db8}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvq:hover{color:#09638d}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvr{display:var(--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv0);background:#f3f4f4;border:.0625rem solid #d2d4d4;border-top-width:0;border-radius:0 0 .25rem .25rem;padding:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvs{display:table-cell}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvt{display:var(--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv0)}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu{padding:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu:first-child{margin:-1rem -1rem 0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvu:last-child{border-style:solid;border-width:.0625rem 0 0;border-top-color:#d2d4d4;margin:0 -1rem -1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvv{display:flex}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw{position:absolute}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw:first-child{margin:-1rem -1rem 0;top:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw:last-child{border-style:solid;border-width:.0625rem 0 0;border-top-color:#d2d4d4;margin:0 -1rem -1rem;bottom:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvx{width:3.3125rem;height:50%;min-height:1.78125rem;display:flex}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvy{padding:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvz{display:block}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv10{table-layout:fixed;background:#fff;border:.0625rem solid #d2d4d4;border-radius:.25rem;width:3.5rem;height:100%;min-height:3.5rem;margin-right:.5rem;padding:.5rem;display:table}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv11{vertical-align:middle;display:table-cell}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv12{border-radius:0;padding:0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv13{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv3:none;border:none}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv14{--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv3:inline}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv15{border-top-left-radius:.1875rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv17{border-bottom-left-radius:.1875rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw .pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv12{width:100%;height:100%}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw .pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv12 button{justify-content:center;width:100%;min-width:3.3125rem;height:100%;min-height:1.78125rem;padding:0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhvw .pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv12 button>i{display:var(--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv3)}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv11 input{text-align:center}
|
|
2
|
+
.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr0{vertical-align:middle;padding:1rem;display:table-cell}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr1{padding:.5rem 1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr4:not(:first-child){border-left:.0625rem solid #d2d4d4}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr5{word-break:break-word}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr7{vertical-align:middle;border-style:solid;border-color:var(--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv2);text-align:left;border-width:.0625rem 0 .0625rem .0625rem;padding:1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr7:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:var(--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv1)}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr7:last-child{border-top-right-radius:.25rem;border-bottom-right-radius:var(--pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_1m5rxhv1);border-right-width:.0625rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr8{padding:.5rem 1rem}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jra{border-left-width:0}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jrc{word-break:break-word}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr0>*{vertical-align:middle}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_gqq3jr0 svg{vertical-align:middle;margin-top:-.125rem;margin-bottom:0;margin-left:-.125rem}
|
|
3
|
+
.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_14j3gmi0{table-layout:auto;border-collapse:separate;border-spacing:0;white-space:normal;width:100%;overflow:hidden}.pkg_sps-woodland_core__family_content-row__version_8_56_23__hash_14j3gmi1{word-break:break-word}
|
|
@@ -3,7 +3,7 @@ import { contentTile as t, contentTileContainer as n, contentTileImage as r, con
|
|
|
3
3
|
import { Icon as c, Metadata as l, cl as u, contentOf as d, selectChildren as f } from "@sps-woodland/core";
|
|
4
4
|
import * as p from "react";
|
|
5
5
|
import { grid as m } from "@sps-woodland/tokens";
|
|
6
|
-
|
|
6
|
+
// src/content-tiles/content-tile/ContentTile.tsx
|
|
7
7
|
function h({ className: h, href: g, icon: _, error: v = !1, errorIcon: y, title: b, warning: x = !1, warningIcon: S, disabled: C = !1, target: w, onClick: T, tagElement: E, ...D }) {
|
|
8
8
|
let [O] = f(E, [{ custom: (e) => l.isWoodlandComponent(e) && l.get(e).name === "Tag" }]);
|
|
9
9
|
return /* @__PURE__ */ p.createElement("div", {
|
|
@@ -18,7 +18,7 @@ function h({ className: h, href: g, icon: _, error: v = !1, errorIcon: y, title:
|
|
|
18
18
|
}), e),
|
|
19
19
|
target: w,
|
|
20
20
|
onClick: T
|
|
21
|
-
}, (x || v) && /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_content-
|
|
21
|
+
}, (x || v) && /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwc" }, x && (S ? d(S) : /* @__PURE__ */ p.createElement(c, {
|
|
22
22
|
icon: "status-warning",
|
|
23
23
|
className: u(a({
|
|
24
24
|
warning: x,
|
|
@@ -30,13 +30,13 @@ function h({ className: h, href: g, icon: _, error: v = !1, errorIcon: y, title:
|
|
|
30
30
|
error: v,
|
|
31
31
|
disabled: C
|
|
32
32
|
}))
|
|
33
|
-
}))), O[0] && /* @__PURE__ */ p.createElement("div", { className: u("pkg_sps-woodland_core__family_content-
|
|
33
|
+
}))), O[0] && /* @__PURE__ */ p.createElement("div", { className: u("pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwg") }, O[0]), /* @__PURE__ */ p.createElement("div", null, /* @__PURE__ */ p.createElement("div", { className: u(i) }, typeof _ == "string" ? /* @__PURE__ */ p.createElement("img", {
|
|
34
34
|
className: u(r({ disabled: C })),
|
|
35
35
|
src: _,
|
|
36
36
|
alt: ""
|
|
37
37
|
}) : d(_)), /* @__PURE__ */ p.createElement("div", { className: u(o) }, /* @__PURE__ */ p.createElement("p", { className: u(s) }, b, w === "_blank" && /* @__PURE__ */ p.createElement(c, {
|
|
38
38
|
icon: "tabs",
|
|
39
|
-
className: u("pkg_sps-woodland_core__family_content-
|
|
39
|
+
className: u("pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwf")
|
|
40
40
|
}))))));
|
|
41
41
|
}
|
|
42
42
|
l.set(h, {
|
|
@@ -69,5 +69,4 @@ l.set(h, {
|
|
|
69
69
|
onClick: { type: "() => void" }
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
|
-
//#endregion
|
|
73
72
|
export { h as ContentTile };
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
-
|
|
6
|
-
|
|
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/content-tiles/content-tile/ContentTile.css.ts
|
|
4
|
+
var t = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw0", n = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw1",
|
|
6
|
+
variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw2" } },
|
|
7
7
|
defaultVariants: { disabled: !1 },
|
|
8
8
|
compoundVariants: []
|
|
9
|
-
}), r = "pkg_sps-woodland_core__family_content-
|
|
10
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
9
|
+
}), r = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw3", i = e({
|
|
10
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw4",
|
|
11
11
|
variantClassNames: {
|
|
12
|
-
error: { true: "pkg_sps-woodland_core__family_content-
|
|
13
|
-
warning: { true: "pkg_sps-woodland_core__family_content-
|
|
14
|
-
disabled: { true: "pkg_sps-woodland_core__family_content-
|
|
12
|
+
error: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw5" },
|
|
13
|
+
warning: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw6" },
|
|
14
|
+
disabled: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw7" }
|
|
15
15
|
},
|
|
16
16
|
defaultVariants: {
|
|
17
17
|
error: !1,
|
|
@@ -20,11 +20,11 @@ var t = "pkg_sps-woodland_core__family_content-tiles__version_8_56_21__hash_w95i
|
|
|
20
20
|
},
|
|
21
21
|
compoundVariants: []
|
|
22
22
|
}), a = e({
|
|
23
|
-
defaultClassName: "pkg_sps-woodland_core__family_content-
|
|
23
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw8",
|
|
24
24
|
variantClassNames: {
|
|
25
|
-
error: { true: "pkg_sps-woodland_core__family_content-
|
|
26
|
-
warning: { true: "pkg_sps-woodland_core__family_content-
|
|
27
|
-
disabled: { true: "pkg_sps-woodland_core__family_content-
|
|
25
|
+
error: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw9" },
|
|
26
|
+
warning: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwa" },
|
|
27
|
+
disabled: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwb" }
|
|
28
28
|
},
|
|
29
29
|
defaultVariants: {
|
|
30
30
|
error: !1,
|
|
@@ -32,6 +32,5 @@ var t = "pkg_sps-woodland_core__family_content-tiles__version_8_56_21__hash_w95i
|
|
|
32
32
|
warning: !1
|
|
33
33
|
},
|
|
34
34
|
compoundVariants: []
|
|
35
|
-
}), o = "pkg_sps-woodland_core__family_content-
|
|
36
|
-
//#endregion
|
|
35
|
+
}), o = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwc", s = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwd", c = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwe", l = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwf", u = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwg";
|
|
37
36
|
export { i as contentTile, t as contentTileContainer, n as contentTileImage, r as contentTileImageContainer, a as contentTileStatusIcon, o as contentTileStatusIconContainer, u as contentTileTagContainer, s as contentTileTitleContainer, l as contentTileTitleIcon, c as contentTileTitleText };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { contentTileList as e } from "./ContentTileList.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/content-tiles/content-tile-list/ContentTileList.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: "Content Tile List" });
|
|
12
|
-
//#endregion
|
|
13
12
|
export { i as ContentTileList };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_content-
|
|
4
|
-
//#endregion
|
|
2
|
+
// src/content-tiles/content-tile-list/ContentTileList.css.ts
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_1dggj5e0", t = "pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_1dggj5e1";
|
|
5
4
|
export { e as contentTileList, t as contentTileListLink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_content-
|
|
2
|
-
.pkg_sps-woodland_core__family_content-
|
|
1
|
+
.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_1dggj5e0{grid-template-columns:1fr 1fr 1fr 1fr;gap:1rem;display:grid}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_1dggj5e1{color:#000}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_1dggj5e1:hover{color:#000;text-decoration:none}
|
|
2
|
+
.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw0{transition:all .25s}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw1{width:3.75rem;height:3.75rem}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw2{opacity:.25}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw3{width:3.75rem;height:3.75rem;margin:1rem auto}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw4{cursor:pointer;background-color:#fff;border:.0625rem solid #d2d4d4;border-radius:.25rem;height:8.625rem;text-decoration:none;display:block;position:relative}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw4:hover{color:#000;border-color:#007db8}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw4:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw5{border-color:#de002e}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw5:hover{cursor:not-allowed;border-color:#de002e}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw6{border-color:#e7760b}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw7{color:#d2d4d4;background-color:#f3f4f4;border-color:#d2d4d4}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw7:hover{cursor:not-allowed;border-color:#d2d4d4}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inw9{color:#de002e}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwa{color:#e7760b}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwb{color:#717779}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwc{padding:.5rem;position:absolute}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwd{text-align:center;padding-left:.5rem;padding-right:.5rem}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwe{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwf{color:#007db8;margin-left:.5rem}.pkg_sps-woodland_core__family_content-tiles__version_8_56_23__hash_w95inwg{padding:.5rem;position:absolute;right:0}
|
|
@@ -3,7 +3,7 @@ import { Icon as r, Metadata as i, Spinner as a, cl as o, modChildren as s, useC
|
|
|
3
3
|
import * as l from "react";
|
|
4
4
|
import { useWoodlandLanguage as u } from "@spscommerce/i18n";
|
|
5
5
|
import { MenuButton as d, MenuProvider as f, useMenuContext as p } from "@ariakit/react";
|
|
6
|
-
|
|
6
|
+
// src/dropdowns/dropdown/Dropdown.tsx
|
|
7
7
|
var m = l.forwardRef(({ kind: t, disabled: n, spinning: r, className: i, ...a }, s) => {
|
|
8
8
|
let c = !!(p()?.useState("currentPlacement"))?.startsWith("top");
|
|
9
9
|
return /* @__PURE__ */ l.createElement(d, {
|
|
@@ -41,7 +41,7 @@ function h({ label: e, disabled: i, icon: o, kind: d = "default", maxHeightPx: p
|
|
|
41
41
|
"data-testid": `${T}__spinner`
|
|
42
42
|
}), o && /* @__PURE__ */ l.createElement(r, {
|
|
43
43
|
icon: o,
|
|
44
|
-
className: "pkg_sps-
|
|
44
|
+
className: "pkg_sps-woodland_core__family_dropdowns__version_8_56_23__hash_1ra15yxb",
|
|
45
45
|
"aria-hidden": "true"
|
|
46
46
|
}), e, /* @__PURE__ */ l.createElement(r, {
|
|
47
47
|
icon: "chevron-down",
|
|
@@ -66,5 +66,4 @@ i.set(h, {
|
|
|
66
66
|
spinning: "boolean"
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
//#endregion
|
|
70
69
|
export { h as Dropdown };
|