@sps-woodland/core 8.53.12 → 8.53.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/index.js +152 -152
- package/lib/content-row/index.umd.cjs +1 -1
- 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.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.ve.js +1 -1
- package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
- package/lib/dropdowns/style.css +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.ve.js +14 -14
- package/lib/file-upload/index.js +110 -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.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.ve.js +7 -7
- package/lib/growler/Sonner.ve.js +7 -7
- package/lib/growler/index.js +80 -80
- package/lib/growler/index.umd.cjs +1 -1
- package/lib/growler/style.css +1 -1
- package/lib/index.js +104 -104
- 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.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/ListBar.ve.js +12 -12
- 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/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.ve.js +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 +62 -62
- 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-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/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.ve.js +10 -10
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +4 -4
- package/lib/progress-indicators/style.css +1 -1
- package/lib/rich-text-editor/index.js +85 -85
- package/lib/rich-text-editor/index.umd.cjs +2 -2
- 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/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 +10 -10
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn as _ } from "../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
-
var
|
|
3
|
+
var i = "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0", o = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), n = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lp" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), l = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ls" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lv" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), d = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ly" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), h = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l16" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), t = _({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l17", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l19" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
o as insightCard,
|
|
6
|
+
r as insightCardBody,
|
|
7
|
+
e as insightCardDescription,
|
|
8
|
+
d as insightCardDetail,
|
|
9
9
|
n as insightCardMetricCount,
|
|
10
10
|
h as insightCardPartnerCount,
|
|
11
|
-
|
|
11
|
+
t as insightCardPartnersText,
|
|
12
12
|
l as insightCardTitle,
|
|
13
|
-
|
|
13
|
+
i as insightCardWrapper
|
|
14
14
|
};
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { Metadata as
|
|
1
|
+
import { Metadata as u, useChildTestIdAttrBuilder as z, cl as k, Icon as g } from "@sps-woodland/core";
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import { useWoodlandLanguage as C } from "@spscommerce/i18n";
|
|
4
|
-
function N(_,
|
|
5
|
-
return
|
|
6
|
-
value:
|
|
4
|
+
function N(_, e, a) {
|
|
5
|
+
return e in _ ? Object.defineProperty(_, e, {
|
|
6
|
+
value: a,
|
|
7
7
|
enumerable: !0,
|
|
8
8
|
configurable: !0,
|
|
9
9
|
writable: !0
|
|
10
|
-
}) : _[
|
|
10
|
+
}) : _[e] = a, _;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
var
|
|
12
|
+
function f(_, e) {
|
|
13
|
+
var a = Object.keys(_);
|
|
14
14
|
if (Object.getOwnPropertySymbols) {
|
|
15
|
-
var
|
|
16
|
-
|
|
15
|
+
var s = Object.getOwnPropertySymbols(_);
|
|
16
|
+
e && (s = s.filter(function(n) {
|
|
17
17
|
return Object.getOwnPropertyDescriptor(_, n).enumerable;
|
|
18
|
-
})),
|
|
18
|
+
})), a.push.apply(a, s);
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return a;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
for (var
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
N(_,
|
|
27
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(
|
|
28
|
-
Object.defineProperty(_,
|
|
22
|
+
function m(_) {
|
|
23
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
24
|
+
var a = arguments[e] != null ? arguments[e] : {};
|
|
25
|
+
e % 2 ? f(Object(a), !0).forEach(function(s) {
|
|
26
|
+
N(_, s, a[s]);
|
|
27
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(a)) : f(Object(a)).forEach(function(s) {
|
|
28
|
+
Object.defineProperty(_, s, Object.getOwnPropertyDescriptor(a, s));
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
return _;
|
|
32
32
|
}
|
|
33
|
-
var b = (_,
|
|
34
|
-
for (var
|
|
33
|
+
var b = (_, e, a) => {
|
|
34
|
+
for (var s of Object.keys(_)) {
|
|
35
35
|
var n;
|
|
36
|
-
if (_[
|
|
36
|
+
if (_[s] !== ((n = e[s]) !== null && n !== void 0 ? n : a[s]))
|
|
37
37
|
return !1;
|
|
38
38
|
}
|
|
39
39
|
return !0;
|
|
40
|
-
}, t = (_) => (
|
|
41
|
-
var
|
|
42
|
-
for (var n in
|
|
43
|
-
var
|
|
44
|
-
if (
|
|
45
|
-
var
|
|
46
|
-
typeof
|
|
40
|
+
}, t = (_) => (e) => {
|
|
41
|
+
var a = _.defaultClassName, s = m(m({}, _.defaultVariants), e);
|
|
42
|
+
for (var n in s) {
|
|
43
|
+
var o, c = (o = s[n]) !== null && o !== void 0 ? o : _.defaultVariants[n];
|
|
44
|
+
if (c != null) {
|
|
45
|
+
var i = c;
|
|
46
|
+
typeof i == "boolean" && (i = i === !0 ? "true" : "false");
|
|
47
47
|
var d = (
|
|
48
48
|
// @ts-expect-error
|
|
49
|
-
_.variantClassNames[n][
|
|
49
|
+
_.variantClassNames[n][i]
|
|
50
50
|
);
|
|
51
|
-
d && (
|
|
51
|
+
d && (a += " " + d);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
for (var [
|
|
55
|
-
b(
|
|
56
|
-
return
|
|
57
|
-
}, V = "pkg_sps-
|
|
54
|
+
for (var [p, h] of _.compoundVariants)
|
|
55
|
+
b(p, s, _.defaultVariants) && (a += " " + h);
|
|
56
|
+
return a;
|
|
57
|
+
}, V = "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0", E = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l8" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), O = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lb" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), P = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lp" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), j = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ls" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), I = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lv" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] }), D = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw", variantClassNames: { hasDetail: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ly" } }, defaultVariants: { hasDetail: !1 }, compoundVariants: [] }), T = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz", variantClassNames: { kind: { general: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10", error: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11", success: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12", warning: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13", processing: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14" }, horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l16" } }, defaultVariants: { kind: "general", horizontal: !1 }, compoundVariants: [] }), x = t({ defaultClassName: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l17", variantClassNames: { horizontal: { true: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18", false: "pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l19" } }, defaultVariants: { horizontal: !1 }, compoundVariants: [] });
|
|
58
58
|
const S = Object.freeze({
|
|
59
59
|
general: "status-new",
|
|
60
60
|
success: "status-ok",
|
|
@@ -64,47 +64,47 @@ const S = Object.freeze({
|
|
|
64
64
|
});
|
|
65
65
|
function A({
|
|
66
66
|
children: _,
|
|
67
|
-
className:
|
|
68
|
-
horizontal:
|
|
69
|
-
icon:
|
|
67
|
+
className: e,
|
|
68
|
+
horizontal: a = !1,
|
|
69
|
+
icon: s,
|
|
70
70
|
kind: n = "general",
|
|
71
|
-
title:
|
|
72
|
-
metric:
|
|
73
|
-
partnerCount:
|
|
71
|
+
title: o,
|
|
72
|
+
metric: c,
|
|
73
|
+
partnerCount: i,
|
|
74
74
|
totalPartners: d,
|
|
75
|
-
...
|
|
75
|
+
...p
|
|
76
76
|
}) {
|
|
77
|
-
const { t:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
] = (
|
|
82
|
-
count:
|
|
77
|
+
const { t: h } = C(), l = z(p), [
|
|
78
|
+
y,
|
|
79
|
+
v,
|
|
80
|
+
w
|
|
81
|
+
] = (i ? h("insightTile.partnerCount", {
|
|
82
|
+
count: i,
|
|
83
83
|
total: d,
|
|
84
|
-
defaultValue: `${
|
|
84
|
+
defaultValue: `${i} |of| ${d}`
|
|
85
85
|
}) : "").split("|");
|
|
86
86
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
className: k(
|
|
90
|
-
E({ kind: n, horizontal:
|
|
91
|
-
|
|
90
|
+
E({ kind: n, horizontal: a }),
|
|
91
|
+
e
|
|
92
92
|
),
|
|
93
|
-
...
|
|
93
|
+
...p
|
|
94
94
|
},
|
|
95
|
-
/* @__PURE__ */ r.createElement("div", { className: O({ horizontal:
|
|
95
|
+
/* @__PURE__ */ r.createElement("div", { className: O({ horizontal: a }), ...l("body") }, s ? /* @__PURE__ */ r.createElement(g, { icon: `${s}`, ...l("icon") }) : /* @__PURE__ */ r.createElement(g, { icon: `${S[n]}`, ...l("icon") }), c && /* @__PURE__ */ r.createElement("div", { className: P({ kind: n, horizontal: a }), ...l("metric") }, c), o && /* @__PURE__ */ r.createElement("div", { className: I({ horizontal: a }), ...l("description") }, /* @__PURE__ */ r.createElement(
|
|
96
96
|
"div",
|
|
97
97
|
{
|
|
98
|
-
className: j({ horizontal:
|
|
98
|
+
className: j({ horizontal: a }),
|
|
99
99
|
style: { "-webkit-box-orient": "vertical" },
|
|
100
100
|
...l("title")
|
|
101
101
|
},
|
|
102
|
-
|
|
102
|
+
o
|
|
103
103
|
), /* @__PURE__ */ r.createElement("div", { className: D({ hasDetail: !!_ }), ...l("detail") }, _))),
|
|
104
|
-
|
|
104
|
+
i && /* @__PURE__ */ r.createElement("div", { className: T({ kind: n, horizontal: a }), ...l("partner-count") }, i === d ? /* @__PURE__ */ r.createElement("div", null, h("insightTile.all", { defaultValue: "ALL" })) : /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("div", null, y), /* @__PURE__ */ r.createElement("div", null, v), /* @__PURE__ */ r.createElement("div", null, w)), /* @__PURE__ */ r.createElement("div", { className: x({ horizontal: a }) }, h("insightTile.partners", { defaultValue: "PARTNERS" })))
|
|
105
105
|
));
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
u.set(A, {
|
|
108
108
|
name: "InsightCard",
|
|
109
109
|
props: {
|
|
110
110
|
horizontal: { type: "boolean", default: "false" },
|
|
@@ -118,11 +118,11 @@ f.set(A, {
|
|
|
118
118
|
});
|
|
119
119
|
function R({
|
|
120
120
|
children: _,
|
|
121
|
-
...
|
|
121
|
+
...e
|
|
122
122
|
}) {
|
|
123
|
-
return /* @__PURE__ */ r.createElement("div", { className: V, ...
|
|
123
|
+
return /* @__PURE__ */ r.createElement("div", { className: V, ...e }, _);
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
u.set(R, { name: "InsightCardSet" });
|
|
126
126
|
export {
|
|
127
127
|
A as InsightCard,
|
|
128
128
|
S as InsightCardIcons,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(i,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("@sps-woodland/core"),require("react"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react","@spscommerce/i18n"],t):(i=typeof globalThis<"u"?globalThis:i||self,t(i.InsightCard={},i.spsWoodlandCore,i.react,i.spscommerceI18n))})(this,(function(i,t,z,k){"use strict";function C(_){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(_){for(const a in _)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(_,a);Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>_[a]})}}return e.default=_,Object.freeze(e)}const r=C(z);function b(_,e,a){return e in _?Object.defineProperty(_,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):_[e]=a,_}function u(_,e){var a=Object.keys(_);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(_);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(_,n).enumerable})),a.push.apply(a,s)}return a}function m(_){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?u(Object(a),!0).forEach(function(s){b(_,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(s){Object.defineProperty(_,s,Object.getOwnPropertyDescriptor(a,s))})}return _}var N=(_,e,a)=>{for(var s of Object.keys(_)){var n;if(_[s]!==((n=e[s])!==null&&n!==void 0?n:a[s]))return!1}return!0},o=_=>e=>{var a=_.defaultClassName,s=m(m({},_.defaultVariants),e);for(var n in s){var c,p=(c=s[n])!==null&&c!==void 0?c:_.defaultVariants[n];if(p!=null){var l=p;typeof l=="boolean"&&(l=l===!0?"true":"false");var h=_.variantClassNames[n][l];h&&(a+=" "+h)}}for(var[g,f]of _.compoundVariants)N(g,s,_.defaultVariants)&&(a+=" "+f);return a},O="pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0",V=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2",error:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3",success:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4",warning:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5",processing:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l8"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),E=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lb"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),I=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj",error:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk",success:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll",warning:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm",processing:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lp"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),j=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ls"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),P=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lv"}},defaultVariants:{horizontal:!1},compoundVariants:[]}),T=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw",variantClassNames:{hasDetail:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ly"}},defaultVariants:{hasDetail:!1},compoundVariants:[]}),D=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz",variantClassNames:{kind:{general:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10",error:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11",success:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12",warning:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13",processing:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14"},horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l16"}},defaultVariants:{kind:"general",horizontal:!1},compoundVariants:[]}),S=o({defaultClassName:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l17",variantClassNames:{horizontal:{true:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18",false:"pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l19"}},defaultVariants:{horizontal:!1},compoundVariants:[]});const y=Object.freeze({general:"status-new",success:"status-ok",error:"status-error",warning:"status-warning",processing:"status-in-process"});function v({children:_,className:e,horizontal:a=!1,icon:s,kind:n="general",title:c,metric:p,partnerCount:l,totalPartners:h,...g}){const{t:f}=k.useWoodlandLanguage(),d=t.useChildTestIdAttrBuilder(g),[M,q,x]=(l?f("insightTile.partnerCount",{count:l,total:h,defaultValue:`${l} |of| ${h}`}):"").split("|");return r.createElement(r.Fragment,null,r.createElement("div",{className:t.cl(V({kind:n,horizontal:a}),e),...g},r.createElement("div",{className:E({horizontal:a}),...d("body")},s?r.createElement(t.Icon,{icon:`${s}`,...d("icon")}):r.createElement(t.Icon,{icon:`${y[n]}`,...d("icon")}),p&&r.createElement("div",{className:I({kind:n,horizontal:a}),...d("metric")},p),c&&r.createElement("div",{className:P({horizontal:a}),...d("description")},r.createElement("div",{className:j({horizontal:a}),style:{"-webkit-box-orient":"vertical"},...d("title")},c),r.createElement("div",{className:T({hasDetail:!!_}),...d("detail")},_))),l&&r.createElement("div",{className:D({kind:n,horizontal:a}),...d("partner-count")},l===h?r.createElement("div",null,f("insightTile.all",{defaultValue:"ALL"})):r.createElement(r.Fragment,null,r.createElement("div",null,M),r.createElement("div",null,q),r.createElement("div",null,x)),r.createElement("div",{className:S({horizontal:a})},f("insightTile.partners",{defaultValue:"PARTNERS"})))))}t.Metadata.set(v,{name:"InsightCard",props:{horizontal:{type:"boolean",default:"false"},icon:"IconName",kind:{type:"InsightCardKind",default:'"general"'},title:"string",metric:"number | string",partnerCount:"number",totalPartners:"number"}});function w({children:_,...e}){return r.createElement("div",{className:O,...e},_)}t.Metadata.set(w,{name:"InsightCardSet"}),i.InsightCard=v,i.InsightCardIcons=y,i.InsightCardSet=w,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l0{display:flex;flex-wrap:wrap;margin:-.5rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1{background:#fff;border-width:.0625rem;border-style:solid;border-radius:.25rem;display:block;flex:1 0 calc(20% - 20px);margin:.5rem;min-width:0;padding:.9375rem 1.25rem;text-align:center}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2{border-color:#007db8;color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l2:hover{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3{border-color:#de002e;color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l3:hover{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4{border-color:#0b8940;color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l4:hover{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5{border-color:#e7760b;color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l5:hover{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6{border-color:#91467f;color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l6:hover{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l7{display:flex;flex:1 0 calc(50% - 20px);height:5.125rem;max-width:calc(50% - 20px)}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9{display:block;min-width:0}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4la{align-items:center;display:flex;flex:1;text-align:left}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lc{display:block;font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ld{color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4le{color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lf{color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lg{color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lh{color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4li{font-size:3rem;font-weight:600;line-height:3rem;max-width:100%;word-wrap:break-word}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lj{color:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lk{color:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ll{color:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lm{color:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4ln{color:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lo{margin-left:.5rem;order:1}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lq{-webkit-box-orient:vertical;-webkit-box-pack:center;align-items:center;color:#1f282c;display:-webkit-box;font-weight:600;min-height:2.125rem;font-size:1rem;line-height:1rem;padding-bottom:.125rem;max-width:100%;word-wrap:break-word}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lr{min-height:1rem;margin-bottom:0}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lu{flex:1;margin-left:.5rem;min-width:0}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw{color:#4b5356;display:none;height:12px;font-size:.75rem;line-height:.75rem;margin-top:.25rem;text-transform:uppercase;white-space:nowrap}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lx{display:block}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz{color:#fff;font-weight:600;font-size:.75rem;line-height:1.125rem;margin:.9375rem -1.25rem -.9375rem;padding:.625rem 1.25rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l10{background:#007db8}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l11{background:#de002e}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l12{background:#0b8940}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l13{background:#e7760b}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l14{background:#91467f}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l15{display:flex;flex-direction:column;justify-content:center;line-height:.875rem;margin:-.9375rem -1.25rem -.9375rem 1.25rem;padding:1.25rem .625rem;width:3.75rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l18{display:none!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>svg{font-size:2rem;line-height:2rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz>*{display:inline-block}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lz>*:not(:last-child){padding-right:.125rem}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover{cursor:pointer}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt>*{color:#fff!important}.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l1:hover>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4l9>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lt>.pkg_sps-woodland_core__family_insight-card__version_8_53_13__hash_z81y4lw>*{color:#fff!important}
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { Metadata as i, cl as
|
|
2
|
-
import * as
|
|
3
|
-
function O(e,
|
|
4
|
-
return
|
|
5
|
-
value:
|
|
1
|
+
import { Metadata as i, cl as m, useChildTestIdAttrBuilder as y } from "@sps-woodland/core";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
function O(e, t, a) {
|
|
4
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
5
|
+
value: a,
|
|
6
6
|
enumerable: !0,
|
|
7
7
|
configurable: !0,
|
|
8
8
|
writable: !0
|
|
9
|
-
}) : e[
|
|
9
|
+
}) : e[t] = a, e;
|
|
10
10
|
}
|
|
11
|
-
function p(e,
|
|
12
|
-
var
|
|
11
|
+
function p(e, t) {
|
|
12
|
+
var a = Object.keys(e);
|
|
13
13
|
if (Object.getOwnPropertySymbols) {
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
return Object.getOwnPropertyDescriptor(e,
|
|
17
|
-
})),
|
|
14
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
15
|
+
t && (r = r.filter(function(_) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(e, _).enumerable;
|
|
17
|
+
})), a.push.apply(a, r);
|
|
18
18
|
}
|
|
19
|
-
return
|
|
19
|
+
return a;
|
|
20
20
|
}
|
|
21
21
|
function f(e) {
|
|
22
|
-
for (var
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
O(e,
|
|
26
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(
|
|
27
|
-
Object.defineProperty(e,
|
|
22
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
23
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
24
|
+
t % 2 ? p(Object(a), !0).forEach(function(r) {
|
|
25
|
+
O(e, r, a[r]);
|
|
26
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : p(Object(a)).forEach(function(r) {
|
|
27
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(a, r));
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
return e;
|
|
31
31
|
}
|
|
32
|
-
var h = (e,
|
|
33
|
-
for (var
|
|
34
|
-
var
|
|
35
|
-
if (e[
|
|
32
|
+
var h = (e, t, a) => {
|
|
33
|
+
for (var r of Object.keys(e)) {
|
|
34
|
+
var _;
|
|
35
|
+
if (e[r] !== ((_ = t[r]) !== null && _ !== void 0 ? _ : a[r]))
|
|
36
36
|
return !1;
|
|
37
37
|
}
|
|
38
38
|
return !0;
|
|
39
|
-
},
|
|
40
|
-
var
|
|
41
|
-
for (var
|
|
42
|
-
var s,
|
|
43
|
-
if (
|
|
44
|
-
var
|
|
45
|
-
typeof
|
|
39
|
+
}, c = (e) => (t) => {
|
|
40
|
+
var a = e.defaultClassName, r = f(f({}, e.defaultVariants), t);
|
|
41
|
+
for (var _ in r) {
|
|
42
|
+
var s, l = (s = r[_]) !== null && s !== void 0 ? s : e.defaultVariants[_];
|
|
43
|
+
if (l != null) {
|
|
44
|
+
var o = l;
|
|
45
|
+
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
46
46
|
var u = (
|
|
47
47
|
// @ts-expect-error
|
|
48
|
-
e.variantClassNames[
|
|
48
|
+
e.variantClassNames[_][o]
|
|
49
49
|
);
|
|
50
|
-
u && (
|
|
50
|
+
u && (a += " " + u);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
for (var [
|
|
54
|
-
h(
|
|
55
|
-
return
|
|
56
|
-
}, w =
|
|
53
|
+
for (var [d, v] of e.compoundVariants)
|
|
54
|
+
h(d, r, e.defaultVariants) && (a += " " + v);
|
|
55
|
+
return a;
|
|
56
|
+
}, w = c({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1", variantClassNames: { inline: { true: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc2 pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
57
57
|
function b({
|
|
58
58
|
children: e,
|
|
59
|
-
className:
|
|
60
|
-
inline:
|
|
61
|
-
...
|
|
59
|
+
className: t,
|
|
60
|
+
inline: a,
|
|
61
|
+
...r
|
|
62
62
|
}) {
|
|
63
|
-
return /* @__PURE__ */
|
|
64
|
-
w({ inline:
|
|
65
|
-
|
|
66
|
-
), ...
|
|
63
|
+
return /* @__PURE__ */ n.createElement("div", { className: m(
|
|
64
|
+
w({ inline: a }),
|
|
65
|
+
t
|
|
66
|
+
), ...r }, e);
|
|
67
67
|
}
|
|
68
68
|
i.set(b, {
|
|
69
69
|
name: "KeyValueSet",
|
|
@@ -71,18 +71,18 @@ i.set(b, {
|
|
|
71
71
|
inline: { type: "boolean", default: "false" }
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
var V = "pkg_sps-
|
|
75
|
-
function
|
|
74
|
+
var V = "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690", g = c({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691", variantClassNames: { wrap: { normal: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692", truncate: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693" } }, defaultVariants: {}, compoundVariants: [] });
|
|
75
|
+
function k({
|
|
76
76
|
children: e,
|
|
77
|
-
className:
|
|
78
|
-
itemKey:
|
|
79
|
-
wrap:
|
|
80
|
-
...
|
|
77
|
+
className: t,
|
|
78
|
+
itemKey: a,
|
|
79
|
+
wrap: r,
|
|
80
|
+
..._
|
|
81
81
|
}) {
|
|
82
|
-
const s = y(
|
|
83
|
-
return /* @__PURE__ */
|
|
82
|
+
const s = y(_), l = r === "truncate" && typeof e == "string" ? e : void 0;
|
|
83
|
+
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("span", { className: V, ...s("key") }, a), /* @__PURE__ */ n.createElement("span", { className: m(g({ wrap: r }), t), title: l, ..._ }, e));
|
|
84
84
|
}
|
|
85
|
-
i.set(
|
|
85
|
+
i.set(k, {
|
|
86
86
|
name: "KeyValueSetItem",
|
|
87
87
|
props: {
|
|
88
88
|
itemKey: { type: "React.ReactNode | (() => React.ReactNode)", required: !0 },
|
|
@@ -91,5 +91,5 @@ i.set(P, {
|
|
|
91
91
|
});
|
|
92
92
|
export {
|
|
93
93
|
b as KeyValueSet,
|
|
94
|
-
|
|
94
|
+
k as KeyValueSetItem
|
|
95
95
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@sps-woodland/core"),require("react")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s.KeyValueSet={},s.spsWoodlandCore,s.react))})(this,(function(s,o,
|
|
1
|
+
(function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@sps-woodland/core"),require("react")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s.KeyValueSet={},s.spsWoodlandCore,s.react))})(this,(function(s,o,v){"use strict";function O(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const _=O(v);function b(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?i(Object(t),!0).forEach(function(a){b(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var h=(e,r,t)=>{for(var a of Object.keys(e)){var n;if(e[a]!==((n=r[a])!==null&&n!==void 0?n:t[a]))return!1}return!0},d=e=>r=>{var t=e.defaultClassName,a=p(p({},e.defaultVariants),r);for(var n in a){var l,u=(l=a[n])!==null&&l!==void 0?l:e.defaultVariants[n];if(u!=null){var f=u;typeof f=="boolean"&&(f=f===!0?"true":"false");var y=e.variantClassNames[n][f];y&&(t+=" "+y)}}for(var[j,S]of e.compoundVariants)h(j,a,e.defaultVariants)&&(t+=" "+S);return t},w=d({defaultClassName:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1",variantClassNames:{inline:{true:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc2 pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0"}},defaultVariants:{},compoundVariants:[]});function c({children:e,className:r,inline:t,...a}){return _.createElement("div",{className:o.cl(w({inline:t}),r),...a},e)}o.Metadata.set(c,{name:"KeyValueSet",props:{inline:{type:"boolean",default:"false"}}});var g="pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690",V=d({defaultClassName:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691",variantClassNames:{wrap:{normal:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692",truncate:"pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693"}},defaultVariants:{},compoundVariants:[]});function m({children:e,className:r,itemKey:t,wrap:a,...n}){const l=o.useChildTestIdAttrBuilder(n),u=a==="truncate"&&typeof e=="string"?e:void 0;return _.createElement(_.Fragment,null,_.createElement("span",{className:g,...l("key")},t),_.createElement("span",{className:o.cl(V({wrap:a}),r),title:u,...n},e))}o.Metadata.set(m,{name:"KeyValueSetItem",props:{itemKey:{type:"React.ReactNode | (() => React.ReactNode)",required:!0},wrap:{type:"'normal' | 'truncate'"}}}),s.KeyValueSet=c,s.KeyValueSetItem=m,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
-
var
|
|
3
|
+
var s = _({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1", variantClassNames: { inline: { true: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc2 pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
s as keyValueSet
|
|
6
6
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
4
|
-
var
|
|
4
|
+
var o = "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690", r = _({ defaultClassName: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691", variantClassNames: { wrap: { normal: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692", truncate: "pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
o as key,
|
|
7
|
+
r as value
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0{grid-template-columns:auto auto}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc1{column-gap:.5rem;display:inline-grid;font-size:.75rem;line-height:1.125rem;max-width:100%}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690{font-weight:600;min-width:0}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_1ovxcsc0 .pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p690{text-align:right}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p691{min-width:0;overflow-wrap:break-word}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p692{overflow-wrap:normal}.pkg_sps-woodland_core__family_key-value-set__version_8_53_13__hash_fm6p693{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
-
var
|
|
3
|
+
var o = _({ defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc0", variantClassNames: { open: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc1", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc2" }, compact: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc3", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc4" } }, defaultVariants: { open: !1, compact: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc5", variantClassNames: { open: { true: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc6", false: "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc7" } }, defaultVariants: { open: !0 }, compoundVariants: [] }), e = "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc8", l = "pkg_sps-woodland_core__family_list-bar__version_8_53_13__hash_am9pfc9";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
o as advancedSearch,
|
|
6
|
+
e as advancedSearchFooter,
|
|
7
|
+
l as advancedSearchFooterControls,
|
|
8
|
+
r as advancedSearchForm
|
|
9
9
|
};
|