@sps-woodland/core 8.56.12 → 8.56.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 +1 -1
- package/lib/action-bar/index.js +3 -59
- package/lib/action-bar/style.css +1 -2
- package/lib/add-to-list/add-to-list/AddToList.js +4 -4
- package/lib/add-to-list/add-to-list/AddToList.ve.js +32 -32
- package/lib/add-to-list/add-to-list/ItemsList.js +3 -3
- package/lib/add-to-list/add-to-list/ListItem.js +1 -1
- package/lib/add-to-list/index.js +1 -402
- package/lib/add-to-list/style.css +1 -2
- package/lib/buttons/button/Button.js +2 -2
- package/lib/buttons/button/Button.ve.js +56 -56
- package/lib/buttons/index.js +1 -285
- package/lib/buttons/style.css +1 -2
- package/lib/cards/card/Card.ve.js +1 -1
- package/lib/cards/card-footer/CardFooter.ve.js +1 -1
- package/lib/cards/card-header/CardHeader.ve.js +1 -1
- package/lib/cards/card-title/CardTitle.ve.js +1 -1
- package/lib/cards/index.js +5 -56
- package/lib/cards/style.css +4 -2
- package/lib/components/icon/Icon.ve.js +5 -5
- package/lib/content-row/content-row/ContentRow.js +2 -2
- package/lib/content-row/content-row/ContentRow.ve.js +37 -37
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +14 -14
- package/lib/content-row/index.js +5 -419
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +3 -3
- package/lib/content-row/style.css +3 -2
- package/lib/content-tiles/content-tile/ContentTile.js +3 -3
- package/lib/content-tiles/content-tile/ContentTile.ve.js +12 -12
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +1 -1
- package/lib/content-tiles/index.js +3 -162
- package/lib/content-tiles/style.css +2 -2
- package/lib/dropdowns/dropdown/Dropdown.js +1 -1
- package/lib/dropdowns/dropdown/Dropdown.ve.js +13 -13
- package/lib/dropdowns/index.js +4 -180
- package/lib/dropdowns/option-list/Option.js +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 +3 -2
- package/lib/feedback-block/FeedbackBlock.ve.js +18 -18
- package/lib/feedback-block/index.js +1 -138
- package/lib/feedback-block/style.css +1 -2
- package/lib/file-upload/file-upload/FileUpload.js +4 -4
- package/lib/file-upload/file-upload/FileUpload.ve.js +28 -28
- package/lib/file-upload/index.js +1 -398
- package/lib/file-upload/style.css +1 -2
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +20 -20
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +1 -1
- package/lib/filter-tiles/index.js +3 -148
- package/lib/filter-tiles/style.css +2 -2
- package/lib/focused-task/focused-task/FocusedTask.ve.js +5 -5
- package/lib/focused-task/index.js +4 -137
- package/lib/focused-task/style.css +1 -2
- package/lib/growler/Growler.js +1 -1
- package/lib/growler/Growler.ve.js +10 -10
- package/lib/growler/Sonner.ve.js +8 -8
- package/lib/growler/index.js +4 -261
- package/lib/growler/style.css +2 -2
- package/lib/index.js +28 -28
- package/lib/index.umd.cjs +1 -1
- package/lib/insight-card/InsightCard.ve.js +54 -54
- package/lib/insight-card/index.js +3 -276
- package/lib/insight-card/style.css +1 -2
- package/lib/key-value-set/index.js +3 -105
- 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 +4 -4
- package/lib/key-value-set/style.css +2 -2
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +9 -9
- package/lib/list-bar/index.js +8 -321
- package/lib/list-bar/list-bar/ListBar.js +5 -5
- package/lib/list-bar/list-bar/ListBar.ve.js +4 -4
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +2 -2
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +1 -1
- package/lib/list-bar/style.css +3 -2
- package/lib/matrix/index.js +7 -87
- package/lib/matrix/matrix/Matrix.ve.js +1 -1
- package/lib/matrix/style.css +1 -2
- package/lib/modal/index.js +4 -207
- package/lib/modal/modal/Modal.js +1 -1
- package/lib/modal/modal/Modal.ve.js +23 -23
- package/lib/modal/style.css +1 -2
- package/lib/page-title/index.js +4 -38
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +1 -1
- package/lib/page-title/page-title/PageTitle.ve.js +1 -1
- package/lib/page-title/style.css +2 -2
- package/lib/photo/index.js +3 -180
- package/lib/photo/photo/Photo.ve.js +7 -7
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +4 -4
- package/lib/photo/style.css +2 -2
- package/lib/product-bar/index.js +5 -387
- package/lib/product-bar/product-bar/ProductBar.ve.js +17 -17
- package/lib/product-bar/product-bar-name/ProductBarName.js +2 -2
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +3 -3
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +1 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +1 -1
- package/lib/product-bar/slack-link/SlackLink.ve.js +1 -1
- package/lib/product-bar/style.css +3 -2
- package/lib/product-bar-vertical/index.js +5 -250
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +22 -22
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +2 -2
- package/lib/product-bar-vertical/style.css +1 -2
- package/lib/progress-indicators/index.js +4 -381
- package/lib/progress-indicators/progress-bar/ProgressBar.js +2 -2
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +26 -26
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +42 -42
- package/lib/progress-indicators/style.css +2 -2
- package/lib/rich-text-editor/index.js +1 -580
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +2 -2
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +7 -7
- package/lib/rich-text-editor/style.css +2 -2
- package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
- package/lib/scrollable-container/index.js +1 -22
- package/lib/scrollable-container/style.css +1 -2
- package/lib/side-nav/index.js +5 -202
- package/lib/side-nav/side-nav/SideNav.js +1 -1
- package/lib/side-nav/side-nav/SideNav.ve.js +7 -7
- package/lib/side-nav/side-nav-section/SideNavSection.js +1 -1
- package/lib/side-nav/style.css +1 -2
- package/lib/sorting-header/caret/caret.ve.js +3 -3
- package/lib/sorting-header/index.js +3 -276
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +9 -9
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +6 -6
- package/lib/sorting-header/style.css +3 -2
- package/lib/style.css +1 -1
- package/lib/tabs/index.js +4 -261
- package/lib/tabs/style.css +2 -2
- package/lib/tabs/tab/Tab.ve.js +21 -21
- package/lib/tabs/tabs/Tabs.js +2 -2
- package/lib/tabs/tabs/Tabs.ve.js +5 -5
- package/lib/tags/clickable-tag/ClickableTag.js +1 -1
- package/lib/tags/clickable-tag/ClickableTag.ve.js +21 -21
- package/lib/tags/index.js +4 -352
- package/lib/tags/split-tag/SplitTag.js +1 -1
- package/lib/tags/split-tag/SplitTag.ve.js +15 -15
- package/lib/tags/style.css +3 -2
- package/lib/tags/tag/Tag.ve.js +19 -19
- package/lib/zero-state/ZeroState.js +1 -1
- package/lib/zero-state/ZeroState.ve.js +11 -11
- package/lib/zero-state/index.js +1 -109
- package/lib/zero-state/style.css +1 -2
- package/package.json +11 -41
- package/scripts/family-stylesheets.mjs +100 -0
- package/scripts/watch-all.mjs +11 -24
- package/vite.subpaths.config.mjs +15 -4
- package/lib/action-bar/index.umd.cjs +0 -1
- package/lib/add-to-list/index.umd.cjs +0 -1
- package/lib/buttons/index.umd.cjs +0 -1
- package/lib/cards/index.umd.cjs +0 -1
- package/lib/content-row/index.umd.cjs +0 -1
- package/lib/content-tiles/index.umd.cjs +0 -1
- package/lib/core.css +0 -2
- package/lib/dropdowns/index.umd.cjs +0 -1
- package/lib/feedback-block/index.umd.cjs +0 -1
- package/lib/file-upload/index.umd.cjs +0 -1
- package/lib/filter-tiles/index.umd.cjs +0 -1
- package/lib/focused-task/index.umd.cjs +0 -1
- package/lib/growler/index.umd.cjs +0 -1
- package/lib/insight-card/index.umd.cjs +0 -1
- package/lib/key-value-set/index.umd.cjs +0 -1
- package/lib/list-bar/index.umd.cjs +0 -1
- package/lib/matrix/index.umd.cjs +0 -1
- package/lib/modal/index.umd.cjs +0 -1
- package/lib/page-title/index.umd.cjs +0 -1
- package/lib/photo/index.umd.cjs +0 -1
- package/lib/product-bar/index.umd.cjs +0 -1
- package/lib/product-bar-vertical/index.umd.cjs +0 -1
- package/lib/progress-indicators/index.umd.cjs +0 -1
- package/lib/rich-text-editor/index.umd.cjs +0 -13
- package/lib/scrollable-container/index.umd.cjs +0 -1
- package/lib/side-nav/index.umd.cjs +0 -1
- package/lib/sorting-header/index.umd.cjs +0 -1
- package/lib/tabs/index.umd.cjs +0 -1
- package/lib/tags/index.umd.cjs +0 -1
- package/lib/zero-state/index.umd.cjs +0 -1
- package/vite.action-bar.config.mjs +0 -43
- package/vite.add-to-list.config.mjs +0 -43
- package/vite.buttons.config.mjs +0 -44
- package/vite.cards.config.mjs +0 -43
- package/vite.content-row.config.mjs +0 -43
- package/vite.content-tiles.config.mjs +0 -43
- package/vite.dropdowns.config.mjs +0 -44
- package/vite.editable-table.config.mjs +0 -71
- package/vite.feedback-block.config.mjs +0 -43
- package/vite.file-upload.config.mjs +0 -43
- package/vite.filter-tiles.config.mjs +0 -43
- package/vite.focused-task.config.mjs +0 -43
- package/vite.growler.config.mjs +0 -44
- package/vite.insight-card.config.mjs +0 -43
- package/vite.key-value-set.config.mjs +0 -43
- package/vite.list-bar.config.mjs +0 -43
- package/vite.matrix.config.mjs +0 -43
- package/vite.modal.config.mjs +0 -43
- package/vite.page-title.config.mjs +0 -43
- package/vite.photo.config.mjs +0 -43
- package/vite.product-bar-vertical.config.mjs +0 -43
- package/vite.product-bar.config.mjs +0 -45
- package/vite.progress-indicators.config.mjs +0 -43
- package/vite.rich-text-editor.config.mjs +0 -51
- package/vite.scrollable-container.config.mjs +0 -43
- package/vite.side-nav.config.mjs +0 -43
- package/vite.sorting-header.config.mjs +0 -43
- package/vite.tabs.config.mjs +0 -46
- package/vite.tags.config.mjs +0 -43
- package/vite.zero-state.config.mjs +0 -43
package/lib/product-bar/index.js
CHANGED
|
@@ -1,387 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
//#region ../../../node_modules/.pnpm/@vanilla-extract+recipes@0.2.5_@vanilla-extract+css@1.21.3/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js
|
|
7
|
-
function f(e, t, n) {
|
|
8
|
-
return t in e ? Object.defineProperty(e, t, {
|
|
9
|
-
value: n,
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
configurable: !0,
|
|
12
|
-
writable: !0
|
|
13
|
-
}) : e[t] = n, e;
|
|
14
|
-
}
|
|
15
|
-
function p(e, t) {
|
|
16
|
-
var n = Object.keys(e);
|
|
17
|
-
if (Object.getOwnPropertySymbols) {
|
|
18
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
19
|
-
t && (r = r.filter(function(t) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
21
|
-
})), n.push.apply(n, r);
|
|
22
|
-
}
|
|
23
|
-
return n;
|
|
24
|
-
}
|
|
25
|
-
function m(e) {
|
|
26
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
27
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
28
|
-
t % 2 ? p(Object(n), !0).forEach(function(t) {
|
|
29
|
-
f(e, t, n[t]);
|
|
30
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p(Object(n)).forEach(function(t) {
|
|
31
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
return e;
|
|
35
|
-
}
|
|
36
|
-
var h = (e, t, n) => {
|
|
37
|
-
for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
|
|
38
|
-
return !0;
|
|
39
|
-
}, g = (e) => (t) => {
|
|
40
|
-
var n = e.defaultClassName, r = m(m({}, e.defaultVariants), t);
|
|
41
|
-
for (var i in r) {
|
|
42
|
-
var a = r[i] ?? e.defaultVariants[i];
|
|
43
|
-
if (a != null) {
|
|
44
|
-
var o = a;
|
|
45
|
-
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
46
|
-
var s = e.variantClassNames[i][o];
|
|
47
|
-
s && (n += " " + s);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
for (var [c, l] of e.compoundVariants) h(c, r, e.defaultVariants) && (n += " " + l);
|
|
51
|
-
return n;
|
|
52
|
-
}, _ = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux0", v = g({
|
|
53
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux1",
|
|
54
|
-
variantClassNames: { fullWidth: {
|
|
55
|
-
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux2",
|
|
56
|
-
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux3"
|
|
57
|
-
} },
|
|
58
|
-
defaultVariants: { fullWidth: !1 },
|
|
59
|
-
compoundVariants: []
|
|
60
|
-
}), y = g({
|
|
61
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux4",
|
|
62
|
-
variantClassNames: { hideNameText: {
|
|
63
|
-
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux5",
|
|
64
|
-
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux6"
|
|
65
|
-
} },
|
|
66
|
-
defaultVariants: { hideNameText: !1 },
|
|
67
|
-
compoundVariants: []
|
|
68
|
-
}), b = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxa", x = g({
|
|
69
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxb",
|
|
70
|
-
variantClassNames: {
|
|
71
|
-
active: {
|
|
72
|
-
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxc",
|
|
73
|
-
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxd"
|
|
74
|
-
},
|
|
75
|
-
disabled: {
|
|
76
|
-
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxe",
|
|
77
|
-
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxf"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
defaultVariants: {
|
|
81
|
-
active: !1,
|
|
82
|
-
disabled: !1
|
|
83
|
-
},
|
|
84
|
-
compoundVariants: []
|
|
85
|
-
}), S = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxh", C = g({
|
|
86
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxi",
|
|
87
|
-
variantClassNames: { priorityPlus: {
|
|
88
|
-
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxj",
|
|
89
|
-
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxk"
|
|
90
|
-
} },
|
|
91
|
-
defaultVariants: { priorityPlus: !1 },
|
|
92
|
-
compoundVariants: []
|
|
93
|
-
});
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/product-bar/product-bar-tab/ProductBarTab.tsx
|
|
96
|
-
function w(t) {
|
|
97
|
-
let n = e.useRef(null), { linkProps: r } = o(t, n), { active: a, priority: s, ...c } = t, l = t.as ?? (t.href ? "a" : "button"), u = {
|
|
98
|
-
...c,
|
|
99
|
-
...r,
|
|
100
|
-
ref: n,
|
|
101
|
-
className: i(x({
|
|
102
|
-
active: a,
|
|
103
|
-
disabled: !1
|
|
104
|
-
}), l === "button" && "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjuxg", t.className)
|
|
105
|
-
};
|
|
106
|
-
return /* @__PURE__ */ e.createElement(l, u, t.children);
|
|
107
|
-
}
|
|
108
|
-
n.set(w, {
|
|
109
|
-
name: "Product Bar Tab",
|
|
110
|
-
props: {
|
|
111
|
-
active: {
|
|
112
|
-
type: "boolean",
|
|
113
|
-
required: !0
|
|
114
|
-
},
|
|
115
|
-
href: { type: "string" },
|
|
116
|
-
priority: { type: "number" }
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
//#endregion
|
|
120
|
-
//#region src/product-bar/product-bar-name/ProductBarName.tsx
|
|
121
|
-
function T(e) {
|
|
122
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.currentTarget.click());
|
|
123
|
-
}
|
|
124
|
-
var E = e.forwardRef(({ children: t, className: n, name: r, logoSrc: a, hideNameText: o = !1, ...s }, c) => {
|
|
125
|
-
let l = !!s.onClick && !("href" in s && s.href);
|
|
126
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("a", {
|
|
127
|
-
className: i(y({ hideNameText: o }), n),
|
|
128
|
-
...l ? {
|
|
129
|
-
role: "button",
|
|
130
|
-
tabIndex: 0,
|
|
131
|
-
onKeyDown: T
|
|
132
|
-
} : {},
|
|
133
|
-
...s,
|
|
134
|
-
ref: c
|
|
135
|
-
}, a && /* @__PURE__ */ e.createElement("img", {
|
|
136
|
-
className: "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux7",
|
|
137
|
-
src: a,
|
|
138
|
-
"aria-hidden": "true",
|
|
139
|
-
alt: `${r} Logo`,
|
|
140
|
-
title: r
|
|
141
|
-
}), r && /* @__PURE__ */ e.createElement("span", { className: i("pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux8", o && "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux9") }, r)), /* @__PURE__ */ e.createElement("span", { className: S }));
|
|
142
|
-
});
|
|
143
|
-
n.set(E, {
|
|
144
|
-
name: "ProductBarName",
|
|
145
|
-
props: {
|
|
146
|
-
name: { type: "string" },
|
|
147
|
-
logoSrc: { type: "string" },
|
|
148
|
-
hideNameText: {
|
|
149
|
-
type: "boolean",
|
|
150
|
-
default: "false"
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.ts
|
|
156
|
-
var D = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn0", O = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn1", k = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn2", A = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn3";
|
|
157
|
-
//#endregion
|
|
158
|
-
//#region src/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.tsx
|
|
159
|
-
function j({ items: n, wrapperRef: r }) {
|
|
160
|
-
let { t: a } = d();
|
|
161
|
-
if (n.length === 0) return null;
|
|
162
|
-
let o = n.some((e) => e.props?.active), f = a("productBar.more", { defaultValue: "More" });
|
|
163
|
-
return /* @__PURE__ */ e.createElement("span", { ref: r }, /* @__PURE__ */ e.createElement(u, null, /* @__PURE__ */ e.createElement(c, {
|
|
164
|
-
className: i(x({
|
|
165
|
-
active: o,
|
|
166
|
-
disabled: !1
|
|
167
|
-
}), D),
|
|
168
|
-
"aria-label": f
|
|
169
|
-
}, f, /* @__PURE__ */ e.createElement(t, {
|
|
170
|
-
icon: "chevron-down",
|
|
171
|
-
className: O,
|
|
172
|
-
"aria-hidden": "true"
|
|
173
|
-
})), /* @__PURE__ */ e.createElement(s, {
|
|
174
|
-
className: k,
|
|
175
|
-
gutter: 4
|
|
176
|
-
}, n.map((t, n) => {
|
|
177
|
-
let r = t.props?.active, a = t.props?.children, o = t.props?.onPress, s = t.props?.href, c = t.props?.as, u = () => {
|
|
178
|
-
o && o();
|
|
179
|
-
};
|
|
180
|
-
if (s && c) {
|
|
181
|
-
let t = c;
|
|
182
|
-
return /* @__PURE__ */ e.createElement(l, {
|
|
183
|
-
key: n,
|
|
184
|
-
className: i(A, r && "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn4"),
|
|
185
|
-
render: /* @__PURE__ */ e.createElement(t, { to: s })
|
|
186
|
-
}, a);
|
|
187
|
-
}
|
|
188
|
-
return s ? /* @__PURE__ */ e.createElement(l, {
|
|
189
|
-
key: n,
|
|
190
|
-
className: i(A, r && "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn4"),
|
|
191
|
-
render: /* @__PURE__ */ e.createElement("a", { href: s })
|
|
192
|
-
}, a) : /* @__PURE__ */ e.createElement(l, {
|
|
193
|
-
key: n,
|
|
194
|
-
className: i(A, r && "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_5klvkn4"),
|
|
195
|
-
onClick: u
|
|
196
|
-
}, a);
|
|
197
|
-
}))));
|
|
198
|
-
}
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region src/product-bar/hooks/usePriorityPlus.ts
|
|
201
|
-
function M(t, n = {}) {
|
|
202
|
-
let { enabled: r = !0, minVisibleItems: i = 1, debounceMs: a = 16 } = n, o = e.useRef(null), s = e.useRef(null), c = e.useRef(null), l = e.useRef(null), u = e.useRef(null), d = e.useRef([]), f = e.useRef(0), p = e.useRef(0), m = e.useRef(!1), [h, g] = e.useState(t.length), [_, v] = e.useState(!1), y = e.useCallback(() => {
|
|
203
|
-
if (!o.current) return !1;
|
|
204
|
-
let e = o.current, n = Array.from(e.children), r = c.current;
|
|
205
|
-
r && (f.current = r.getBoundingClientRect().width);
|
|
206
|
-
let i = n.filter((e) => e !== r);
|
|
207
|
-
if (i.length < t.length) return !1;
|
|
208
|
-
if (d.current = i.map((e) => e.getBoundingClientRect().width), u.current) {
|
|
209
|
-
let e = u.current.querySelector("span:last-of-type");
|
|
210
|
-
if (e) {
|
|
211
|
-
let t = e.getBoundingClientRect().width, n = getComputedStyle(u.current), r = parseFloat(n.marginRight) || 0, i = Math.max(0, r - 8);
|
|
212
|
-
p.current = t + i;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
return m.current = !0, !0;
|
|
216
|
-
}, [t.length]), b = e.useCallback(() => {
|
|
217
|
-
if (!s.current) return 0;
|
|
218
|
-
let e = s.current, t = e.getBoundingClientRect(), n = getComputedStyle(e), r = parseFloat(n.paddingLeft) + parseFloat(n.paddingRight), i = parseFloat(n.gap) || 0, a = r, c = Array.from(e.children), u = c.filter((e) => getComputedStyle(e).display !== "none");
|
|
219
|
-
u.length > 1 && (a += i * (u.length - 1));
|
|
220
|
-
for (let e of c) {
|
|
221
|
-
if (e === o.current) continue;
|
|
222
|
-
let t = getComputedStyle(e), n = parseFloat(t.marginLeft) + parseFloat(t.marginRight);
|
|
223
|
-
if (e === l.current) {
|
|
224
|
-
let t = Array.from(e.children), r = getComputedStyle(e), i = parseFloat(r.gap) || 0;
|
|
225
|
-
for (let e of t) {
|
|
226
|
-
let t = getComputedStyle(e), n = parseFloat(t.marginLeft) + parseFloat(t.marginRight);
|
|
227
|
-
a += e.getBoundingClientRect().width + n;
|
|
228
|
-
}
|
|
229
|
-
t.length > 1 && (a += i * (t.length - 1)), a += parseFloat(r.paddingLeft) + parseFloat(r.paddingRight), a += n;
|
|
230
|
-
} else a += e.getBoundingClientRect().width + n;
|
|
231
|
-
}
|
|
232
|
-
return Math.max(0, t.width - a - 2);
|
|
233
|
-
}, []), x = e.useRef(!1), S = e.useCallback(() => {
|
|
234
|
-
if (!r || !m.current) {
|
|
235
|
-
v(!1), x.current = !1;
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
let e = b(), n = d.current, a = f.current || 100, o = p.current || 0;
|
|
239
|
-
if (x.current && o > 0 && (e -= o), n.length === 0 || e <= 0 || n.reduce((e, t) => e + t, 0) <= e) {
|
|
240
|
-
g(t.length), v(!1), x.current = !1;
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
let s = 0, c = 0, l = e - a;
|
|
244
|
-
for (let e = 0; e < n.length; e++) {
|
|
245
|
-
let t = n[e];
|
|
246
|
-
if (s + t <= l) s += t, c++;
|
|
247
|
-
else break;
|
|
248
|
-
}
|
|
249
|
-
let u = Math.min(i, t.length), h = Math.max(c, u), _ = n.slice(0, u).reduce((e, t) => e + t, 0) + a, y = c < u && _ > e && o > 0, S = !y && e > _ + o + 20, C = x.current;
|
|
250
|
-
y && !x.current ? C = !0 : S && x.current && (C = !1), C !== x.current && (x.current = C, v(C)), g(h);
|
|
251
|
-
}, [
|
|
252
|
-
r,
|
|
253
|
-
t.length,
|
|
254
|
-
i,
|
|
255
|
-
b
|
|
256
|
-
]);
|
|
257
|
-
return e.useEffect(() => {
|
|
258
|
-
r && (m.current = !1, d.current = []), g(t.length);
|
|
259
|
-
}, [r, t.length]), e.useLayoutEffect(() => {
|
|
260
|
-
r && o.current && y() && S();
|
|
261
|
-
}), e.useEffect(() => {
|
|
262
|
-
if (!r) return;
|
|
263
|
-
let e, t = new ResizeObserver(() => {
|
|
264
|
-
clearTimeout(e), e = setTimeout(() => {
|
|
265
|
-
m.current || y(), S();
|
|
266
|
-
}, a);
|
|
267
|
-
});
|
|
268
|
-
return s.current && t.observe(s.current), () => {
|
|
269
|
-
clearTimeout(e), t.disconnect();
|
|
270
|
-
};
|
|
271
|
-
}, [
|
|
272
|
-
r,
|
|
273
|
-
y,
|
|
274
|
-
S,
|
|
275
|
-
a
|
|
276
|
-
]), {
|
|
277
|
-
visibleItems: r ? t.slice(0, h) : t,
|
|
278
|
-
overflowItems: r && h < t.length ? t.slice(h) : [],
|
|
279
|
-
containerRef: o,
|
|
280
|
-
parentRef: s,
|
|
281
|
-
overflowButtonRef: c,
|
|
282
|
-
contentRef: l,
|
|
283
|
-
brandRef: u,
|
|
284
|
-
hideProductName: _
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
//#endregion
|
|
288
|
-
//#region src/product-bar/product-bar/ProductBar.tsx
|
|
289
|
-
function N(e) {
|
|
290
|
-
return [...e].sort((e, t) => {
|
|
291
|
-
let n = e.props?.priority ?? Infinity, r = t.props?.priority ?? Infinity;
|
|
292
|
-
return n === r ? 0 : n - r;
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
function P(e, t) {
|
|
296
|
-
if (t.length === 0) return {
|
|
297
|
-
visible: e,
|
|
298
|
-
overflow: t
|
|
299
|
-
};
|
|
300
|
-
let n = t.findIndex((e) => e.props?.active);
|
|
301
|
-
if (n === -1) return {
|
|
302
|
-
visible: e,
|
|
303
|
-
overflow: t
|
|
304
|
-
};
|
|
305
|
-
let r = t[n], i = e[e.length - 1];
|
|
306
|
-
return {
|
|
307
|
-
visible: [...e.slice(0, -1), r],
|
|
308
|
-
overflow: [
|
|
309
|
-
...t.slice(0, n),
|
|
310
|
-
i,
|
|
311
|
-
...t.slice(n + 1)
|
|
312
|
-
]
|
|
313
|
-
};
|
|
314
|
-
}
|
|
315
|
-
function F({ fullWidth: t, enablePriorityPlus: n = !0, children: o, className: s, ...c }) {
|
|
316
|
-
let l = e.useRef(null), [u, d, f] = a(o, [{ type: E }, { type: w }]), { visibleItems: p, overflowItems: m, containerRef: h, parentRef: g, overflowButtonRef: y, contentRef: x, brandRef: S, hideProductName: T } = M(e.useMemo(() => n ? N(d) : d, [n, d]), { enabled: n }), { visible: D, overflow: O } = e.useMemo(() => P(p, m), [p, m]), k = e.useMemo(() => {
|
|
317
|
-
if (!n || !u || u.length === 0) return u;
|
|
318
|
-
let t = u[0];
|
|
319
|
-
return e.isValidElement(t) ? [e.cloneElement(t, {
|
|
320
|
-
hideNameText: T,
|
|
321
|
-
ref: S
|
|
322
|
-
})] : u;
|
|
323
|
-
}, [
|
|
324
|
-
n,
|
|
325
|
-
u,
|
|
326
|
-
T,
|
|
327
|
-
S
|
|
328
|
-
]);
|
|
329
|
-
return /* @__PURE__ */ e.createElement("div", {
|
|
330
|
-
className: i(_, s),
|
|
331
|
-
...c,
|
|
332
|
-
ref: l
|
|
333
|
-
}, /* @__PURE__ */ e.createElement("nav", {
|
|
334
|
-
className: v({ fullWidth: t }),
|
|
335
|
-
ref: g
|
|
336
|
-
}, k, /* @__PURE__ */ e.createElement("div", {
|
|
337
|
-
className: C({ priorityPlus: n }),
|
|
338
|
-
ref: h
|
|
339
|
-
}, D, O.length > 0 && /* @__PURE__ */ e.createElement(j, {
|
|
340
|
-
items: O,
|
|
341
|
-
wrapperRef: y
|
|
342
|
-
})), /* @__PURE__ */ e.createElement("div", {
|
|
343
|
-
className: b,
|
|
344
|
-
ref: x
|
|
345
|
-
}, /* @__PURE__ */ e.createElement(r.Provider, { value: {
|
|
346
|
-
parentElementRef: l,
|
|
347
|
-
fixed: !0
|
|
348
|
-
} }, f))));
|
|
349
|
-
}
|
|
350
|
-
n.set(F, {
|
|
351
|
-
name: "ProductBar",
|
|
352
|
-
props: {
|
|
353
|
-
fullWidth: { type: "boolean" },
|
|
354
|
-
enablePriorityPlus: {
|
|
355
|
-
type: "boolean",
|
|
356
|
-
default: "true"
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
//#endregion
|
|
361
|
-
//#region src/product-bar/slack-link/SlackLink.css.ts
|
|
362
|
-
var I = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_pqijiy0", L = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_pqijiy1";
|
|
363
|
-
//#endregion
|
|
364
|
-
//#region src/product-bar/slack-link/SlackLink.tsx
|
|
365
|
-
function R({ channelId: n, className: r, ...a }) {
|
|
366
|
-
let { t: o } = d();
|
|
367
|
-
return /* @__PURE__ */ e.createElement("a", {
|
|
368
|
-
className: i(I, r),
|
|
369
|
-
target: "_blank",
|
|
370
|
-
rel: "noreferrer",
|
|
371
|
-
href: `https://spscommerce.slack.com/archives/${n}`,
|
|
372
|
-
...a
|
|
373
|
-
}, /* @__PURE__ */ e.createElement(t, {
|
|
374
|
-
className: L,
|
|
375
|
-
icon: "conversation",
|
|
376
|
-
"aria-hidden": "true"
|
|
377
|
-
}), /* @__PURE__ */ e.createElement("span", null, o("slackLink.label", { defaultValue: "Chat" })));
|
|
378
|
-
}
|
|
379
|
-
n.set(R, {
|
|
380
|
-
name: "Slack Link",
|
|
381
|
-
props: { channelId: {
|
|
382
|
-
type: "string",
|
|
383
|
-
required: !0
|
|
384
|
-
} }
|
|
385
|
-
});
|
|
386
|
-
//#endregion
|
|
387
|
-
export { F as ProductBar, E as ProductBarName, w as ProductBarTab, R as SlackLink };
|
|
1
|
+
import { ProductBarTab as e } from "./product-bar-tab/ProductBarTab.js";
|
|
2
|
+
import { ProductBarName as t } from "./product-bar-name/ProductBarName.js";
|
|
3
|
+
import { ProductBar as n } from "./product-bar/ProductBar.js";
|
|
4
|
+
import { SlackLink as r } from "./slack-link/SlackLink.js";
|
|
5
|
+
export { n as ProductBar, t as ProductBarName, e as ProductBarTab, r as SlackLink };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { createRuntimeFn as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/product-bar/product-bar/ProductBar.css.ts
|
|
4
|
-
var t = "pkg_sps-woodland_core__family_product-
|
|
5
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-
|
|
4
|
+
var t = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux0", n = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux1",
|
|
6
6
|
variantClassNames: { fullWidth: {
|
|
7
|
-
true: "pkg_sps-woodland_core__family_product-
|
|
8
|
-
false: "pkg_sps-woodland_core__family_product-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux2",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux3"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { fullWidth: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
}), r = e({
|
|
13
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux4",
|
|
14
14
|
variantClassNames: { hideNameText: {
|
|
15
|
-
true: "pkg_sps-woodland_core__family_product-
|
|
16
|
-
false: "pkg_sps-woodland_core__family_product-
|
|
15
|
+
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux5",
|
|
16
|
+
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux6"
|
|
17
17
|
} },
|
|
18
18
|
defaultVariants: { hideNameText: !1 },
|
|
19
19
|
compoundVariants: []
|
|
20
|
-
}), i = "pkg_sps-woodland_core__family_product-
|
|
21
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-
|
|
20
|
+
}), i = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux7", a = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux8", o = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux9", s = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxa", c = e({
|
|
21
|
+
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxb",
|
|
22
22
|
variantClassNames: {
|
|
23
23
|
active: {
|
|
24
|
-
true: "pkg_sps-woodland_core__family_product-
|
|
25
|
-
false: "pkg_sps-woodland_core__family_product-
|
|
24
|
+
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxc",
|
|
25
|
+
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxd"
|
|
26
26
|
},
|
|
27
27
|
disabled: {
|
|
28
|
-
true: "pkg_sps-woodland_core__family_product-
|
|
29
|
-
false: "pkg_sps-woodland_core__family_product-
|
|
28
|
+
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxe",
|
|
29
|
+
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxf"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
defaultVariants: {
|
|
@@ -34,11 +34,11 @@ var t = "pkg_sps-woodland_core__family_product-bar__version_8_56_12__hash_g6gjux
|
|
|
34
34
|
disabled: !1
|
|
35
35
|
},
|
|
36
36
|
compoundVariants: []
|
|
37
|
-
}), l = "pkg_sps-woodland_core__family_product-
|
|
38
|
-
defaultClassName: "pkg_sps-woodland_core__family_product-
|
|
37
|
+
}), l = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxg", u = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxh", d = e({
|
|
38
|
+
defaultClassName: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxi",
|
|
39
39
|
variantClassNames: { priorityPlus: {
|
|
40
|
-
true: "pkg_sps-woodland_core__family_product-
|
|
41
|
-
false: "pkg_sps-woodland_core__family_product-
|
|
40
|
+
true: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxj",
|
|
41
|
+
false: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxk"
|
|
42
42
|
} },
|
|
43
43
|
defaultVariants: { priorityPlus: !1 },
|
|
44
44
|
compoundVariants: []
|
|
@@ -17,12 +17,12 @@ var o = i.forwardRef(({ children: n, className: o, name: s, logoSrc: c, hideName
|
|
|
17
17
|
...u,
|
|
18
18
|
ref: d
|
|
19
19
|
}, c && /* @__PURE__ */ i.createElement("img", {
|
|
20
|
-
className: "pkg_sps-woodland_core__family_product-
|
|
20
|
+
className: "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux7",
|
|
21
21
|
src: c,
|
|
22
22
|
"aria-hidden": "true",
|
|
23
23
|
alt: `${s} Logo`,
|
|
24
24
|
title: s
|
|
25
|
-
}), s && /* @__PURE__ */ i.createElement("span", { className: r("pkg_sps-woodland_core__family_product-
|
|
25
|
+
}), s && /* @__PURE__ */ i.createElement("span", { className: r("pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux8", l && "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux9") }, s)), /* @__PURE__ */ i.createElement("span", { className: t }));
|
|
26
26
|
});
|
|
27
27
|
n.set(o, {
|
|
28
28
|
name: "ProductBarName",
|
|
@@ -30,17 +30,17 @@ function p({ items: p, wrapperRef: m }) {
|
|
|
30
30
|
let e = l;
|
|
31
31
|
return /* @__PURE__ */ s.createElement(d, {
|
|
32
32
|
key: t,
|
|
33
|
-
className: o(i, n && "pkg_sps-woodland_core__family_product-
|
|
33
|
+
className: o(i, n && "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn4"),
|
|
34
34
|
render: /* @__PURE__ */ s.createElement(e, { to: c })
|
|
35
35
|
}, r);
|
|
36
36
|
}
|
|
37
37
|
return c ? /* @__PURE__ */ s.createElement(d, {
|
|
38
38
|
key: t,
|
|
39
|
-
className: o(i, n && "pkg_sps-woodland_core__family_product-
|
|
39
|
+
className: o(i, n && "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn4"),
|
|
40
40
|
render: /* @__PURE__ */ s.createElement("a", { href: c })
|
|
41
41
|
}, r) : /* @__PURE__ */ s.createElement(d, {
|
|
42
42
|
key: t,
|
|
43
|
-
className: o(i, n && "pkg_sps-woodland_core__family_product-
|
|
43
|
+
className: o(i, n && "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn4"),
|
|
44
44
|
onClick: u
|
|
45
45
|
}, r);
|
|
46
46
|
}))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
//#region src/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.ts
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_product-
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn0", t = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn1", n = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn2", r = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn3", i = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn4";
|
|
4
4
|
//#endregion
|
|
5
5
|
export { e as overflowButton, t as overflowButtonChevron, n as overflowMenu, r as overflowMenuItem, i as overflowMenuItemActive };
|
|
@@ -11,7 +11,7 @@ function a(t) {
|
|
|
11
11
|
className: n(e({
|
|
12
12
|
active: s,
|
|
13
13
|
disabled: !1
|
|
14
|
-
}), u === "button" && "pkg_sps-woodland_core__family_product-
|
|
14
|
+
}), u === "button" && "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxg", t.className)
|
|
15
15
|
};
|
|
16
16
|
return /* @__PURE__ */ r.createElement(u, d, t.children);
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
//#region src/product-bar/slack-link/SlackLink.css.ts
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_product-
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_pqijiy0", t = "pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_pqijiy1";
|
|
4
4
|
//#endregion
|
|
5
5
|
export { e as slackLink, t as slackLinkIcon };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_product-
|
|
2
|
-
|
|
1
|
+
.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux0{background-color:#fff;justify-content:center;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 1px 2px #00000026}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux1{background-color:#fff;align-items:center;width:1280px;min-height:3.75rem;padding:0 2rem;display:flex}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux2{width:100%}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux4{cursor:pointer;align-content:center;margin-right:2rem;text-decoration:none;display:flex}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux4:hover{text-decoration:none}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux4:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux5{margin-right:.5rem}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux7{align-content:center;width:1.5rem;height:1.5rem;margin-right:.5rem;display:flex}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux8{color:#1f282c;align-content:center;font-size:1rem;font-weight:600;display:flex}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjux9{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxa{text-align:right;flex:1}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxb{cursor:pointer;justify-content:center;align-items:center;height:3.625rem;margin-top:.125rem;padding:0 1rem;text-decoration:none;display:flex;position:relative;color:#4b5356!important;font-size:.875rem!important}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxb:hover{text-decoration:none}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxb:focus{outline-offset:.125rem;z-index:1;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxc{box-shadow:inset 0 -.125rem #007db8}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxe{color:#d2d4d4}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxg{font:inherit;background:0 0;border:none}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxg:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxh{background:#d2d4d4;width:.0625rem;height:2.125rem;margin:0 1rem 0 0;display:inline-block}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_g6gjuxi{flex-direction:row;margin-bottom:0;padding-left:0;list-style:none;display:flex}
|
|
2
|
+
.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn0{font:inherit;background:0 0;border:none;flex-shrink:0;gap:.25rem}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn1{font-size:.75rem;transition:transform .15s}[aria-expanded=true] .pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn1{transform:rotate(180deg)}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn2{overscroll-behavior:contain;z-index:100;background:#fff;border:.0625rem solid #717779;border-radius:.25rem;min-width:120px;overflow-y:auto;box-shadow:0 2px 8px #00000026}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn2:focus{outline-offset:.125rem;outline:.125rem solid #007db8!important}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn3{color:#4b5356;cursor:pointer;white-space:nowrap;align-items:center;padding:.5rem 1rem;font-size:.875rem;font-weight:400;text-decoration:none;display:flex}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn3:hover{background:#e6f2f8;text-decoration:none}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn3:focus{outline-offset:-.125rem;background:#e6f2f8;outline:.125rem solid #007db8!important}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_5klvkn4{font-weight:600;box-shadow:inset 3px 0 #007db8}
|
|
3
|
+
.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_pqijiy0{align-items:center;font-size:.875rem;text-decoration:none;display:inline-flex}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_pqijiy0:hover{border-bottom:.0625rem solid #007db8;text-decoration:none!important}.pkg_sps-woodland_core__family_product-bar__version_8_56_13__hash_pqijiy1{margin-right:.25rem;font-size:1rem}
|