@sps-woodland/core 8.53.11 → 8.53.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action-bar/action-bar/ActionBar.ve.js +8 -8
- package/lib/action-bar/index.js +30 -30
- package/lib/action-bar/index.umd.cjs +1 -1
- package/lib/action-bar/style.css +1 -1
- package/lib/add-to-list/add-to-list/AddToList.ve.js +19 -19
- package/lib/add-to-list/index.js +183 -183
- package/lib/add-to-list/index.umd.cjs +1 -1
- package/lib/add-to-list/style.css +1 -1
- package/lib/buttons/button/Button.ve.js +4 -4
- package/lib/buttons/index.js +48 -48
- package/lib/buttons/index.umd.cjs +1 -1
- package/lib/buttons/style.css +1 -1
- package/lib/cards/card/Card.ve.js +1 -1
- package/lib/cards/card-footer/CardFooter.ve.js +2 -2
- package/lib/cards/card-header/CardHeader.ve.js +1 -1
- package/lib/cards/card-title/CardTitle.ve.js +2 -2
- package/lib/cards/index.js +21 -21
- package/lib/cards/index.umd.cjs +1 -1
- package/lib/cards/style.css +1 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +2 -2
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -1
- package/lib/components/title/Title.d.ts +1 -1
- package/lib/components/title/Title.d.ts.map +1 -1
- package/lib/content-row/content-row/ContentRow.ve.js +13 -13
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +2 -2
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +1 -1
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -1
- package/lib/content-row/index.js +159 -165
- package/lib/content-row/index.umd.cjs +1 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +10 -16
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +2 -2
- package/lib/content-row/style.css +1 -1
- package/lib/content-tiles/content-tile/ContentTile.ve.js +7 -7
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +3 -3
- package/lib/content-tiles/index.js +59 -59
- package/lib/content-tiles/index.umd.cjs +1 -1
- package/lib/content-tiles/style.css +1 -1
- package/lib/core.css +1 -1
- package/lib/dropdowns/dropdown/Dropdown.d.ts +1 -1
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -1
- package/lib/dropdowns/dropdown/Dropdown.ve.js +3 -3
- package/lib/dropdowns/index.js +84 -84
- package/lib/dropdowns/index.umd.cjs +1 -1
- package/lib/dropdowns/option-list/Option.d.ts +1 -1
- package/lib/dropdowns/option-list/Option.d.ts.map +1 -1
- package/lib/dropdowns/option-list/Option.ve.js +1 -1
- package/lib/dropdowns/option-list/OptionList.d.ts +1 -1
- package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -1
- package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
- package/lib/dropdowns/style.css +1 -1
- package/lib/editable-table/style.css +50 -17
- package/lib/examples.d.ts.map +1 -1
- package/lib/feedback-block/FeedbackBlock.ve.js +3 -3
- package/lib/feedback-block/index.js +54 -54
- package/lib/feedback-block/index.umd.cjs +1 -1
- package/lib/feedback-block/style.css +1 -1
- package/lib/file-upload/file-upload/FileUpload.d.ts +1 -1
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -1
- package/lib/file-upload/file-upload/FileUpload.js +46 -41
- package/lib/file-upload/file-upload/FileUpload.ve.js +14 -14
- package/lib/file-upload/index.js +115 -110
- package/lib/file-upload/index.umd.cjs +1 -1
- package/lib/file-upload/style.css +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +5 -5
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +2 -2
- package/lib/filter-tiles/index.js +55 -55
- package/lib/filter-tiles/index.umd.cjs +1 -1
- package/lib/filter-tiles/style.css +1 -1
- package/lib/focused-task/focused-task/FocusedTask.ve.js +9 -9
- package/lib/focused-task/index.js +49 -49
- package/lib/focused-task/index.umd.cjs +1 -1
- package/lib/focused-task/style.css +1 -1
- package/lib/growler/Growler.d.ts.map +1 -1
- package/lib/growler/Growler.ve.js +7 -7
- package/lib/growler/Sonner.ve.js +7 -7
- package/lib/growler/index.js +95 -101
- package/lib/growler/index.umd.cjs +1 -1
- package/lib/growler/sonner.js +21 -27
- package/lib/growler/style.css +1 -1
- package/lib/index.js +166 -167
- package/lib/index.umd.cjs +2 -2
- package/lib/insight-card/InsightCard.ve.js +7 -7
- package/lib/insight-card/index.js +59 -59
- package/lib/insight-card/index.umd.cjs +1 -1
- package/lib/insight-card/style.css +1 -1
- package/lib/key-value-set/index.js +53 -53
- package/lib/key-value-set/index.umd.cjs +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +2 -2
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +3 -3
- package/lib/key-value-set/style.css +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +5 -5
- package/lib/list-bar/index.js +88 -88
- package/lib/list-bar/index.umd.cjs +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBar.ve.js +12 -12
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +1 -1
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +1 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +2 -2
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +2 -4
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +8 -8
- package/lib/list-bar/style.css +1 -1
- package/lib/matrix/index.js +29 -29
- package/lib/matrix/index.umd.cjs +1 -1
- package/lib/matrix/matrix/Matrix.ve.js +2 -2
- package/lib/matrix/matrix-body/MatrixBody.d.ts +1 -1
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -1
- package/lib/matrix/matrix-head/MatrixHead.d.ts +1 -1
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -1
- package/lib/matrix/matrix-row/MatrixRow.d.ts +1 -1
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -1
- package/lib/matrix/style.css +1 -1
- package/lib/modal/index.js +86 -86
- package/lib/modal/index.umd.cjs +1 -1
- package/lib/modal/modal/Modal.ve.js +9 -9
- package/lib/modal/style.css +1 -1
- package/lib/page-title/index.js +17 -17
- package/lib/page-title/index.umd.cjs +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +3 -3
- package/lib/page-title/page-title/PageTitle.ve.js +4 -4
- package/lib/page-title/style.css +1 -1
- package/lib/photo/index.js +67 -67
- package/lib/photo/index.umd.cjs +1 -1
- package/lib/photo/photo/Photo.d.ts +2 -2
- package/lib/photo/photo/Photo.d.ts.map +1 -1
- package/lib/photo/photo/Photo.js +11 -11
- package/lib/photo/photo/Photo.ve.js +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +1 -1
- package/lib/photo/style.css +1 -1
- package/lib/product-bar/index.js +91 -93
- package/lib/product-bar/index.umd.cjs +1 -1
- package/lib/product-bar/product-bar/ProductBar.ve.js +10 -10
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -1
- package/lib/product-bar/product-bar-name/ProductBarName.js +13 -15
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +5 -5
- package/lib/product-bar/slack-link/SlackLink.ve.js +2 -2
- package/lib/product-bar/style.css +1 -1
- package/lib/product-bar-vertical/index.js +69 -69
- package/lib/product-bar-vertical/index.umd.cjs +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +20 -20
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -1
- package/lib/product-bar-vertical/style.css +1 -1
- package/lib/progress-indicators/index.js +79 -79
- package/lib/progress-indicators/index.umd.cjs +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +2 -2
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +10 -10
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +3 -3
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +4 -4
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +2 -2
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -1
- package/lib/progress-indicators/style.css +1 -1
- package/lib/rich-text-editor/index.js +86 -86
- package/lib/rich-text-editor/index.umd.cjs +2 -2
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +1 -1
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +2 -2
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +5 -5
- package/lib/rich-text-editor/style.css +1 -1
- package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
- package/lib/scrollable-container/index.js +8 -8
- package/lib/scrollable-container/index.umd.cjs +1 -1
- package/lib/scrollable-container/style.css +1 -1
- package/lib/side-nav/index.js +78 -78
- package/lib/side-nav/index.umd.cjs +1 -1
- package/lib/side-nav/side-nav/SideNav.ve.js +12 -12
- package/lib/side-nav/style.css +1 -1
- package/lib/sorting-header/caret/caret.ve.js +2 -2
- package/lib/sorting-header/index.js +125 -125
- package/lib/sorting-header/index.umd.cjs +1 -1
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +3 -3
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +2 -2
- package/lib/sorting-header/style.css +1 -1
- package/lib/style.css +1 -1
- package/lib/tabs/index.js +100 -100
- package/lib/tabs/index.umd.cjs +1 -1
- package/lib/tabs/style.css +1 -1
- package/lib/tabs/tab/Tab.ve.js +2 -2
- package/lib/tabs/tabs/Tabs.ve.js +5 -5
- package/lib/tags/clickable-tag/ClickableTag.ve.js +4 -4
- package/lib/tags/index.js +80 -80
- package/lib/tags/index.umd.cjs +1 -1
- package/lib/tags/split-tag/SplitTag.ve.js +2 -2
- package/lib/tags/style.css +1 -1
- package/lib/tags/tag/Tag.ve.js +3 -3
- package/lib/utils/VariantDefinitions.d.ts +1 -3
- package/lib/utils/VariantDefinitions.d.ts.map +1 -1
- package/lib/utils/combineEventHandlers.d.ts.map +1 -1
- package/lib/utils/getScrollParent.d.ts.map +1 -1
- package/lib/utils/modChildren.d.ts.map +1 -1
- package/lib/zero-state/ZeroState.ve.js +6 -6
- package/lib/zero-state/index.js +42 -42
- package/lib/zero-state/index.umd.cjs +1 -1
- package/lib/zero-state/style.css +1 -1
- package/package.json +11 -11
- package/scripts/watch-all.mjs +1 -1
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { Metadata as
|
|
2
|
+
import { Metadata as b, selectChildren as V, modChildren as D, cl as u, Icon as N } from "@sps-woodland/core";
|
|
3
3
|
import { Button as A } from "@sps-woodland/core/button";
|
|
4
|
-
function H(a,
|
|
5
|
-
return
|
|
4
|
+
function H(a, _, t) {
|
|
5
|
+
return _ in a ? Object.defineProperty(a, _, {
|
|
6
6
|
value: t,
|
|
7
7
|
enumerable: !0,
|
|
8
8
|
configurable: !0,
|
|
9
9
|
writable: !0
|
|
10
|
-
}) : a[
|
|
10
|
+
}) : a[_] = t, a;
|
|
11
11
|
}
|
|
12
|
-
function O(a,
|
|
12
|
+
function O(a, _) {
|
|
13
13
|
var t = Object.keys(a);
|
|
14
14
|
if (Object.getOwnPropertySymbols) {
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
return Object.getOwnPropertyDescriptor(a,
|
|
18
|
-
})), t.push.apply(t,
|
|
15
|
+
var l = Object.getOwnPropertySymbols(a);
|
|
16
|
+
_ && (l = l.filter(function(s) {
|
|
17
|
+
return Object.getOwnPropertyDescriptor(a, s).enumerable;
|
|
18
|
+
})), t.push.apply(t, l);
|
|
19
19
|
}
|
|
20
20
|
return t;
|
|
21
21
|
}
|
|
22
22
|
function P(a) {
|
|
23
|
-
for (var
|
|
24
|
-
var t = arguments[
|
|
25
|
-
|
|
26
|
-
H(a,
|
|
27
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : O(Object(t)).forEach(function(
|
|
28
|
-
Object.defineProperty(a,
|
|
23
|
+
for (var _ = 1; _ < arguments.length; _++) {
|
|
24
|
+
var t = arguments[_] != null ? arguments[_] : {};
|
|
25
|
+
_ % 2 ? O(Object(t), !0).forEach(function(l) {
|
|
26
|
+
H(a, l, t[l]);
|
|
27
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : O(Object(t)).forEach(function(l) {
|
|
28
|
+
Object.defineProperty(a, l, Object.getOwnPropertyDescriptor(t, l));
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
return a;
|
|
32
32
|
}
|
|
33
|
-
var K = (a,
|
|
34
|
-
for (var
|
|
35
|
-
var
|
|
36
|
-
if (a[
|
|
33
|
+
var K = (a, _, t) => {
|
|
34
|
+
for (var l of Object.keys(a)) {
|
|
35
|
+
var s;
|
|
36
|
+
if (a[l] !== ((s = _[l]) !== null && s !== void 0 ? s : t[l]))
|
|
37
37
|
return !1;
|
|
38
38
|
}
|
|
39
39
|
return !0;
|
|
40
|
-
},
|
|
41
|
-
var t = a.defaultClassName,
|
|
42
|
-
for (var
|
|
43
|
-
var d, r = (d =
|
|
40
|
+
}, y = (a) => (_) => {
|
|
41
|
+
var t = a.defaultClassName, l = P(P({}, a.defaultVariants), _);
|
|
42
|
+
for (var s in l) {
|
|
43
|
+
var d, r = (d = l[s]) !== null && d !== void 0 ? d : a.defaultVariants[s];
|
|
44
44
|
if (r != null) {
|
|
45
45
|
var m = r;
|
|
46
46
|
typeof m == "boolean" && (m = m === !0 ? "true" : "false");
|
|
47
47
|
var v = (
|
|
48
48
|
// @ts-expect-error
|
|
49
|
-
a.variantClassNames[
|
|
49
|
+
a.variantClassNames[s][m]
|
|
50
50
|
);
|
|
51
51
|
v && (t += " " + v);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
for (var [c, f] of a.compoundVariants)
|
|
55
|
-
K(c,
|
|
55
|
+
K(c, l, a.defaultVariants) && (t += " " + f);
|
|
56
56
|
return t;
|
|
57
|
-
}, R = "pkg_sps-
|
|
58
|
-
function
|
|
57
|
+
}, R = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb800", W = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb801", F = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb802", G = y({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb803", variantClassNames: { minimized: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb804", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb805" } }, defaultVariants: { minimized: !1 }, compoundVariants: [] }), J = y({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb806", variantClassNames: { minimized: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb807", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb808" } }, defaultVariants: { minimized: !1 }, compoundVariants: [] }), Q = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb809", U = y({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80a", variantClassNames: { minimized: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80b", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80c" } }, defaultVariants: { minimized: !1 }, compoundVariants: [] }), X = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80d", Y = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e", j = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80f", Z = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g", z = y({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80i", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80j" } }, defaultVariants: { selected: !1 }, compoundVariants: [] }), $ = y({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80l", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80m" } }, defaultVariants: { selected: !1 }, compoundVariants: [] }), M = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80n", x = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o", I = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p", ee = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80q", S = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80r", ae = y({ defaultClassName: "", variantClassNames: { active: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80s", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80t" } }, defaultVariants: {}, compoundVariants: [[{ active: !0 }, "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80u"]] });
|
|
58
|
+
function g({
|
|
59
59
|
children: a,
|
|
60
|
-
className:
|
|
60
|
+
className: _,
|
|
61
61
|
as: t,
|
|
62
|
-
keyId:
|
|
63
|
-
active:
|
|
62
|
+
keyId: l,
|
|
63
|
+
active: s = !1,
|
|
64
64
|
collapsed: d = !1,
|
|
65
65
|
isMinimized: r = !1,
|
|
66
66
|
isMinimizable: m = !1,
|
|
@@ -68,11 +68,11 @@ function y({
|
|
|
68
68
|
icon: c,
|
|
69
69
|
...f
|
|
70
70
|
}) {
|
|
71
|
-
const i = t ?? "a", [h, w] = V(a, [{ type:
|
|
71
|
+
const i = t ?? "a", [h, w] = V(a, [{ type: g }]), [p, o] = e.useState(!d), [E] = V(a, [{ type: g }], !0), k = E.some((n) => n.props.active), T = s || !p && k, B = e.useRef(null), C = D(
|
|
72
72
|
w,
|
|
73
|
-
(
|
|
73
|
+
(n) => n.type?.displayName === "SpsTag" || b.isWoodlandComponent(n.type) && b.get(n.type).name === "Tag" ? [
|
|
74
74
|
{
|
|
75
|
-
className: u(
|
|
75
|
+
className: u(n.props?.className, ae({ active: T }))
|
|
76
76
|
}
|
|
77
77
|
] : []
|
|
78
78
|
);
|
|
@@ -85,15 +85,15 @@ function y({
|
|
|
85
85
|
selected: (r || !p) && k
|
|
86
86
|
}),
|
|
87
87
|
"aria-expanded": !r && p,
|
|
88
|
-
onClick: () => r ? v?.() :
|
|
88
|
+
onClick: () => r ? v?.() : o(!p)
|
|
89
89
|
},
|
|
90
90
|
/* @__PURE__ */ e.createElement(
|
|
91
91
|
i,
|
|
92
92
|
{
|
|
93
93
|
className: x,
|
|
94
94
|
tabIndex: 0,
|
|
95
|
-
onKeyDown: (
|
|
96
|
-
(
|
|
95
|
+
onKeyDown: (n) => {
|
|
96
|
+
(n.key === "Enter" || n.key === " ") && (n.preventDefault(), r ? v?.() : o(!p));
|
|
97
97
|
},
|
|
98
98
|
...f,
|
|
99
99
|
"aria-expanded": !r && p
|
|
@@ -111,7 +111,7 @@ function y({
|
|
|
111
111
|
{
|
|
112
112
|
ref: B,
|
|
113
113
|
className: u(z({
|
|
114
|
-
selected:
|
|
114
|
+
selected: s
|
|
115
115
|
}), r && !c && "visually-hidden")
|
|
116
116
|
},
|
|
117
117
|
/* @__PURE__ */ e.createElement(
|
|
@@ -119,8 +119,8 @@ function y({
|
|
|
119
119
|
{
|
|
120
120
|
className: x,
|
|
121
121
|
tabIndex: 0,
|
|
122
|
-
onKeyDown: (
|
|
123
|
-
(
|
|
122
|
+
onKeyDown: (n) => {
|
|
123
|
+
(n.key === "Enter" || n.key === " ") && (n.preventDefault(), n.currentTarget.click());
|
|
124
124
|
},
|
|
125
125
|
...f
|
|
126
126
|
},
|
|
@@ -128,7 +128,7 @@ function y({
|
|
|
128
128
|
)
|
|
129
129
|
));
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
b.set(g, {
|
|
132
132
|
name: "ProductBarVerticalItem",
|
|
133
133
|
props: {
|
|
134
134
|
keyId: { type: "string", required: !0 },
|
|
@@ -143,39 +143,39 @@ g.set(y, {
|
|
|
143
143
|
const re = "file";
|
|
144
144
|
function q({
|
|
145
145
|
children: a,
|
|
146
|
-
className:
|
|
146
|
+
className: _,
|
|
147
147
|
title: t,
|
|
148
|
-
onSelect:
|
|
149
|
-
isMinimized:
|
|
148
|
+
onSelect: l,
|
|
149
|
+
isMinimized: s,
|
|
150
150
|
isMinimizable: d,
|
|
151
151
|
onExpandSidebar: r,
|
|
152
152
|
...m
|
|
153
153
|
}) {
|
|
154
154
|
const [v, c] = V(a, [
|
|
155
|
-
{ type:
|
|
155
|
+
{ type: g }
|
|
156
156
|
]), f = v.map((i) => {
|
|
157
157
|
if (!e.isValidElement(i)) return i;
|
|
158
|
-
const h = { isMinimized:
|
|
158
|
+
const h = { isMinimized: s, onExpandSidebar: r };
|
|
159
159
|
return d && !i.props.icon && (h.icon = re), e.cloneElement(i, h);
|
|
160
160
|
});
|
|
161
161
|
return /* @__PURE__ */ e.createElement("div", { className: Y, ...m }, /* @__PURE__ */ e.createElement("ul", { className: j }, f), c);
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
b.set(q, {
|
|
164
164
|
name: "ProductBarVerticalSection"
|
|
165
165
|
});
|
|
166
166
|
function L({
|
|
167
167
|
className: a,
|
|
168
|
-
name:
|
|
168
|
+
name: _,
|
|
169
169
|
logoSrc: t,
|
|
170
|
-
href:
|
|
171
|
-
isMinimized:
|
|
170
|
+
href: l,
|
|
171
|
+
isMinimized: s,
|
|
172
172
|
...d
|
|
173
173
|
}) {
|
|
174
|
-
return /* @__PURE__ */ e.createElement("div", { className: u(J({ minimized: !!
|
|
174
|
+
return /* @__PURE__ */ e.createElement("div", { className: u(J({ minimized: !!s }), a), ...d }, /* @__PURE__ */ e.createElement(
|
|
175
175
|
"a",
|
|
176
176
|
{
|
|
177
177
|
className: Q,
|
|
178
|
-
href:
|
|
178
|
+
href: l,
|
|
179
179
|
tabIndex: 0,
|
|
180
180
|
onKeyDown: (r) => {
|
|
181
181
|
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.currentTarget.click());
|
|
@@ -184,16 +184,16 @@ function L({
|
|
|
184
184
|
t && /* @__PURE__ */ e.createElement(
|
|
185
185
|
"img",
|
|
186
186
|
{
|
|
187
|
-
className: U({ minimized: !!
|
|
187
|
+
className: U({ minimized: !!s }),
|
|
188
188
|
src: t,
|
|
189
189
|
"aria-hidden": "true",
|
|
190
|
-
alt: `${
|
|
190
|
+
alt: `${_} Logo`
|
|
191
191
|
}
|
|
192
192
|
),
|
|
193
|
-
!
|
|
193
|
+
!s && _ && /* @__PURE__ */ e.createElement("span", { className: X }, _)
|
|
194
194
|
));
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
b.set(L, {
|
|
197
197
|
name: "ProductBarVerticalHeader",
|
|
198
198
|
props: {
|
|
199
199
|
name: { type: "string" },
|
|
@@ -203,29 +203,29 @@ g.set(L, {
|
|
|
203
203
|
});
|
|
204
204
|
function te({
|
|
205
205
|
children: a,
|
|
206
|
-
className:
|
|
206
|
+
className: _,
|
|
207
207
|
isMinimizable: t,
|
|
208
|
-
initialIsMinimized:
|
|
209
|
-
onMinimizeToggle:
|
|
208
|
+
initialIsMinimized: l = !1,
|
|
209
|
+
onMinimizeToggle: s,
|
|
210
210
|
...d
|
|
211
211
|
}) {
|
|
212
|
-
const [r, m] = e.useState(
|
|
212
|
+
const [r, m] = e.useState(l), [v, c, f] = V(a, [
|
|
213
213
|
{ type: L },
|
|
214
214
|
{ type: q },
|
|
215
|
-
{ type:
|
|
215
|
+
{ type: g }
|
|
216
216
|
]);
|
|
217
217
|
function i() {
|
|
218
|
-
const
|
|
219
|
-
m(
|
|
218
|
+
const o = !r;
|
|
219
|
+
m(o), s && s(o);
|
|
220
220
|
}
|
|
221
221
|
const h = e.Children.map(
|
|
222
222
|
v,
|
|
223
|
-
(
|
|
223
|
+
(o) => e.isValidElement(o) ? e.cloneElement(o, { isMinimized: r }) : o
|
|
224
224
|
), w = c.map(
|
|
225
|
-
(
|
|
226
|
-
), p = D(f, (
|
|
225
|
+
(o) => e.isValidElement(o) ? e.cloneElement(o, { isMinimized: r, isMinimizable: t, onExpandSidebar: i }) : o
|
|
226
|
+
), p = D(f, (o) => {
|
|
227
227
|
const E = { isMinimized: r, isMinimizable: t, onExpandSidebar: i };
|
|
228
|
-
return t && !
|
|
228
|
+
return t && !o.props.icon && (E.icon = "file"), [E];
|
|
229
229
|
}, !1);
|
|
230
230
|
return /* @__PURE__ */ e.createElement(
|
|
231
231
|
"div",
|
|
@@ -233,7 +233,7 @@ function te({
|
|
|
233
233
|
className: u(
|
|
234
234
|
R,
|
|
235
235
|
r && W,
|
|
236
|
-
|
|
236
|
+
_
|
|
237
237
|
),
|
|
238
238
|
...d
|
|
239
239
|
},
|
|
@@ -250,12 +250,12 @@ function te({
|
|
|
250
250
|
/* @__PURE__ */ e.createElement("ul", { className: j }, e.Children.toArray(p))
|
|
251
251
|
);
|
|
252
252
|
}
|
|
253
|
-
|
|
253
|
+
b.set(te, {
|
|
254
254
|
name: "ProductBarVertical"
|
|
255
255
|
});
|
|
256
256
|
export {
|
|
257
257
|
te as ProductBarVertical,
|
|
258
258
|
L as ProductBarVerticalHeader,
|
|
259
|
-
|
|
259
|
+
g as ProductBarVerticalItem,
|
|
260
260
|
q as ProductBarVerticalSection
|
|
261
261
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(i,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("react"),require("@sps-woodland/core"),require("@sps-woodland/core/button")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@sps-woodland/core/button"],V):(i=typeof globalThis<"u"?globalThis:i||self,V(i.ProductBarVertical={},i.react,i.spsWoodlandCore,i.spsWoodlandCoreButton))})(this,(function(i,V,
|
|
1
|
+
(function(i,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("react"),require("@sps-woodland/core"),require("@sps-woodland/core/button")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@sps-woodland/core/button"],V):(i=typeof globalThis<"u"?globalThis:i||self,V(i.ProductBarVertical={},i.react,i.spsWoodlandCore,i.spsWoodlandCoreButton))})(this,(function(i,V,s,T){"use strict";function L(a){const _=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(_,r,l.get?l:{enumerable:!0,get:()=>a[r]})}}return _.default=a,Object.freeze(_)}const e=L(V);function A(a,_,r){return _ in a?Object.defineProperty(a,_,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[_]=r,a}function C(a,_){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);_&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),r.push.apply(r,l)}return r}function P(a){for(var _=1;_<arguments.length;_++){var r=arguments[_]!=null?arguments[_]:{};_%2?C(Object(r),!0).forEach(function(l){A(a,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(l){Object.defineProperty(a,l,Object.getOwnPropertyDescriptor(r,l))})}return a}var H=(a,_,r)=>{for(var l of Object.keys(a)){var n;if(a[l]!==((n=_[l])!==null&&n!==void 0?n:r[l]))return!1}return!0},y=a=>_=>{var r=a.defaultClassName,l=P(P({},a.defaultVariants),_);for(var n in l){var p,t=(p=l[n])!==null&&p!==void 0?p:a.defaultVariants[n];if(t!=null){var f=t;typeof f=="boolean"&&(f=f===!0?"true":"false");var v=a.variantClassNames[n][f];v&&(r+=" "+v)}}for(var[d,h]of a.compoundVariants)H(d,l,a.defaultVariants)&&(r+=" "+h);return r},W="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb800",K="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb801",R="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb802",F=y({defaultClassName:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb803",variantClassNames:{minimized:{true:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb804",false:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb805"}},defaultVariants:{minimized:!1},compoundVariants:[]}),G=y({defaultClassName:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb806",variantClassNames:{minimized:{true:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb807",false:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb808"}},defaultVariants:{minimized:!1},compoundVariants:[]}),J="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb809",Q=y({defaultClassName:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80a",variantClassNames:{minimized:{true:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80b",false:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80c"}},defaultVariants:{minimized:!1},compoundVariants:[]}),U="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80d",X="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e",O="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80f",Y="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g",Z=y({defaultClassName:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h",variantClassNames:{selected:{true:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80i",false:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80j"}},defaultVariants:{selected:!1},compoundVariants:[]}),z=y({defaultClassName:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k",variantClassNames:{selected:{true:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80l",false:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80m"}},defaultVariants:{selected:!1},compoundVariants:[]}),M="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80n",I="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o",S="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p",$="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80q",j="pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80r",ee=y({defaultClassName:"",variantClassNames:{active:{true:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80s",false:"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80t"}},defaultVariants:{},compoundVariants:[[{active:!0},"pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80u"]]});function g({children:a,className:_,as:r,keyId:l,active:n=!1,collapsed:p=!1,isMinimized:t=!1,isMinimizable:f=!1,onExpandSidebar:v,icon:d,...h}){const u=r??"a",[b,N]=s.selectChildren(a,[{type:g}]),[m,o]=e.useState(!p),[w]=s.selectChildren(a,[{type:g}],!0),B=w.some(c=>c.props.active),re=n||!m&&B,D=e.useRef(null),q=s.modChildren(N,c=>c.type?.displayName==="SpsTag"||s.Metadata.isWoodlandComponent(c.type)&&s.Metadata.get(c.type).name==="Tag"?[{className:s.cl(c.props?.className,ee({active:re}))}]:[]);return e.createElement(e.Fragment,null,b.length?e.createElement("ul",{className:s.cl(Y,d&&$,t&&!d&&"visually-hidden")},e.createElement("li",{ref:D,"data-selected":(t||!m)&&B,className:z({selected:(t||!m)&&B}),"aria-expanded":!t&&m,onClick:()=>t?v?.():o(!m)},e.createElement(u,{className:I,tabIndex:0,onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),t?v?.():o(!m))},...h,"aria-expanded":!t&&m},e.createElement("div",{className:s.cl("d-flex align-items-center",S)},d&&e.createElement(s.Icon,{icon:d,className:"mr-3"}),!t&&e.createElement(s.Icon,{className:M,icon:m?"chevron-down":"chevron-right"}),e.createElement("div",{className:s.cl(j,t&&"visually-hidden")},q)))),m&&(t?e.createElement("div",{className:"visually-hidden"},b):b)):e.createElement("li",{ref:D,className:s.cl(Z({selected:n}),t&&!d&&"visually-hidden")},e.createElement(u,{className:I,tabIndex:0,onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),c.currentTarget.click())},...h},e.createElement("div",{className:s.cl("d-flex align-items-center",S)},d&&e.createElement(s.Icon,{icon:d,className:"mr-2"}),e.createElement("div",{className:s.cl(j,t&&"visually-hidden")},q)))))}s.Metadata.set(g,{name:"ProductBarVerticalItem",props:{keyId:{type:"string",required:!0},as:{type:"string"},active:{type:"boolean",required:!0},collapsed:{type:"boolean",required:!1},icon:{type:"string",required:!1},isMinimized:{type:"boolean",required:!1},onExpandSidebar:{type:"function",required:!1}}});const ae="file";function E({children:a,className:_,title:r,onSelect:l,isMinimized:n,isMinimizable:p,onExpandSidebar:t,...f}){const[v,d]=s.selectChildren(a,[{type:g}]),h=v.map(u=>{if(!e.isValidElement(u))return u;const b={isMinimized:n,onExpandSidebar:t};return p&&!u.props.icon&&(b.icon=ae),e.cloneElement(u,b)});return e.createElement("div",{className:X,...f},e.createElement("ul",{className:O},h),d)}s.Metadata.set(E,{name:"ProductBarVerticalSection"});function k({className:a,name:_,logoSrc:r,href:l,isMinimized:n,...p}){return e.createElement("div",{className:s.cl(G({minimized:!!n}),a),...p},e.createElement("a",{className:J,href:l,tabIndex:0,onKeyDown:t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.currentTarget.click())}},r&&e.createElement("img",{className:Q({minimized:!!n}),src:r,"aria-hidden":"true",alt:`${_} Logo`}),!n&&_&&e.createElement("span",{className:U},_)))}s.Metadata.set(k,{name:"ProductBarVerticalHeader",props:{name:{type:"string"},logoSrc:{type:"string"},isMinimized:{type:"boolean"}}});function x({children:a,className:_,isMinimizable:r,initialIsMinimized:l=!1,onMinimizeToggle:n,...p}){const[t,f]=e.useState(l),[v,d,h]=s.selectChildren(a,[{type:k},{type:E},{type:g}]);function u(){const o=!t;f(o),n&&n(o)}const b=e.Children.map(v,o=>e.isValidElement(o)?e.cloneElement(o,{isMinimized:t}):o),N=d.map(o=>e.isValidElement(o)?e.cloneElement(o,{isMinimized:t,isMinimizable:r,onExpandSidebar:u}):o),m=s.modChildren(h,o=>{const w={isMinimized:t,isMinimizable:r,onExpandSidebar:u};return r&&!o.props.icon&&(w.icon="file"),[w]},!1);return e.createElement("div",{className:s.cl(W,t&&K,_),...p},e.createElement("div",{className:R},b,r&&e.createElement("div",{className:s.cl(F({minimized:t}))},e.createElement(T.Button,{kind:"icon",icon:t?"chevron-right":"chevron-left",onClick:u,"aria-expanded":!t}))),e.Children.toArray(N),e.createElement("ul",{className:O},e.Children.toArray(m)))}s.Metadata.set(x,{name:"ProductBarVertical"}),i.ProductBarVertical=x,i.ProductBarVerticalHeader=k,i.ProductBarVerticalItem=g,i.ProductBarVerticalSection=E,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
-
var
|
|
3
|
+
var o = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb800", e = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb801", l = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb802", s = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb803", variantClassNames: { minimized: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb804", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb805" } }, defaultVariants: { minimized: !1 }, compoundVariants: [] }), i = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb806", variantClassNames: { minimized: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb807", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb808" } }, defaultVariants: { minimized: !1 }, compoundVariants: [] }), t = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb809", d = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80a", variantClassNames: { minimized: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80b", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80c" } }, defaultVariants: { minimized: !1 }, compoundVariants: [] }), c = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80d", p = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e", n = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80f", v = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g", u = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80i", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80j" } }, defaultVariants: { selected: !1 }, compoundVariants: [] }), m = _({ defaultClassName: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80l", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80m" } }, defaultVariants: { selected: !1 }, compoundVariants: [] }), h = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80n", b = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o", f = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p", k = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80q", g = "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80r", w = _({ defaultClassName: "", variantClassNames: { active: { true: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80s", false: "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80t" } }, defaultVariants: {}, compoundVariants: [[{ active: !0 }, "pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80u"]] });
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
5
|
+
n as productBarVerticalBranch,
|
|
6
|
+
t as productBarVerticalBrand,
|
|
7
|
+
d as productBarVerticalBrandLogo,
|
|
8
|
+
c as productBarVerticalBrandName,
|
|
9
|
+
s as productBarVerticalCollapseButton,
|
|
10
|
+
e as productBarVerticalCollapsed,
|
|
11
|
+
o as productBarVerticalContainer,
|
|
12
|
+
v as productBarVerticalExpand,
|
|
13
|
+
h as productBarVerticalExpandIcon,
|
|
14
|
+
m as productBarVerticalExpandLeaf,
|
|
15
|
+
k as productBarVerticalExpandWithIcon,
|
|
16
|
+
i as productBarVerticalHeader,
|
|
17
|
+
l as productBarVerticalHeaderWrapper,
|
|
18
|
+
u as productBarVerticalLeaf,
|
|
19
|
+
b as productBarVerticalLink,
|
|
20
|
+
g as productBarVerticalLinkContent,
|
|
21
|
+
f as productBarVerticalLinkInner,
|
|
22
|
+
p as productBarVerticalSection,
|
|
23
|
+
w as tabTag
|
|
24
24
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { PolymorphicComponentProps } from "@sps-woodland/core";
|
|
3
|
-
import { IconName } from "@sps-woodland/tokens";
|
|
3
|
+
import type { IconName } from "@sps-woodland/tokens";
|
|
4
4
|
type ProductBarVerticalItemProps<T extends React.ElementType> = PolymorphicComponentProps<{
|
|
5
5
|
keyId: string;
|
|
6
6
|
active?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBarVerticalItem.d.ts","sourceRoot":"","sources":["../../../src/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAY,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAa9E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductBarVerticalItem.d.ts","sourceRoot":"","sources":["../../../src/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAY,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAa9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,KAAK,2BAA2B,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI,yBAAyB,CACvF;IACE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,EACD,CAAC,CACF,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,EAAE,EACxE,QAAQ,EACR,SAAS,EACT,EAAE,EACF,KAAK,EACL,MAAc,EACd,SAAiB,EACjB,WAAmB,EACnB,aAAqB,EACrB,eAAe,EACf,IAAI,EACJ,GAAG,IAAI,EACR,EAAE,2BAA2B,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CA6FrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb800{word-wrap:break-word;background-clip:border-box;background-color:#fff;border-width:.0625rem;border-style:solid;border-color:#d2d4d4;border-radius:.125rem;display:flex;flex-direction:column;width:19.25rem;height:100vh;position:sticky;top:0;overflow-y:auto}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb801{width:48px;overflow:hidden}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb802{position:sticky;top:0;z-index:1}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb803{position:absolute;right:.625rem;width:1.625rem;top:50%;transform:translateY(-50%)}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb804{top:3rem;transform:none}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb806{background-color:#fff;border-bottom:.0625rem solid #d2d4d4ff;margin-bottom:0;padding:.5rem;display:flex;flex-direction:column;justify-content:center;height:3.5rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb807{height:5.625rem;padding:.98rem .5rem;justify-content:start}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb809{align-content:center;cursor:pointer;display:flex;text-decoration:none}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb809:hover{text-decoration:none}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80a{align-content:center;display:flex;height:1.5rem;width:1.5rem;margin-right:.5rem;margin-left:3px}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80b{margin-left:auto;margin-right:auto}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80d{align-content:center;color:#1f282c;display:flex;font-size:1rem;font-weight:600}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e{margin:0}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e:last-of-type{border-bottom:.0625rem solid #d2d4d4ff}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e+.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80e{border-top:.0625rem solid #d2d4d4ff}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80f{list-style:none;margin-top:0;margin-bottom:0;padding:0;font-size:.875rem;line-height:1.25rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g{list-style:none;margin:0;padding-left:0}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h{display:block;width:100%}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80i{background-color:#007db8;color:#fff}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80j:hover{background-color:#f3f4f4}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k{display:block;width:100%}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80l{background-color:#007db8;color:#fff}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80m:hover{background-color:#f3f4f4}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80n{font-size:.625rem;vertical-align:middle;display:inline-block;line-height:1.25rem;margin-top:0;margin-right:.25rem;margin-bottom:0;margin-left:-.875rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o{color:inherit;cursor:pointer;display:flex;font-size:.875rem;line-height:1.5rem;padding-top:.5rem;padding-right:1rem;padding-bottom:.5rem;text-decoration:none;min-height:2.5rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o:hover{color:inherit;text-decoration:none}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{flex:1;padding-left:1rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80q>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>li>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{margin-left:2rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80r{display:flex;justify-content:space-between;align-items:center;width:100%}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:2.125rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:3rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:3.875rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80h>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:4.75rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:2.125rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:3rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:3.875rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80g>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80k>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80o>.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80p{padding-left:4.75rem}.pkg_sps-woodland_core__family_product-bar-vertical__version_8_53_13__hash_1l0rb80u{background-color:#fff!important;color:#4b5356!important}
|