@sps-woodland/core 8.56.11 → 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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_key-value-
|
|
2
|
-
|
|
1
|
+
.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_1ovxcsc0{grid-template-columns:auto auto}.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_1ovxcsc1{column-gap:.5rem;max-width:100%;font-size:.75rem;line-height:1.125rem;display:inline-grid}
|
|
2
|
+
.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_fm6p690{min-width:0;font-weight:600}.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_1ovxcsc0 .pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_fm6p690{text-align:right}.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_fm6p691{overflow-wrap:break-word;min-width:0}.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_fm6p692{overflow-wrap:normal}.pkg_sps-woodland_core__family_key-value-set__version_8_56_13__hash_fm6p693{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
|
|
@@ -2,15 +2,15 @@ import { createRuntimeFn as e } from "../../node_modules/.pnpm/@vanilla-extract_
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/list-bar/advanced-search/AdvancedSearch.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-woodland_core__family_list-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc0",
|
|
6
6
|
variantClassNames: {
|
|
7
7
|
open: {
|
|
8
|
-
true: "pkg_sps-woodland_core__family_list-
|
|
9
|
-
false: "pkg_sps-woodland_core__family_list-
|
|
8
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc1",
|
|
9
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc2"
|
|
10
10
|
},
|
|
11
11
|
compact: {
|
|
12
|
-
true: "pkg_sps-woodland_core__family_list-
|
|
13
|
-
false: "pkg_sps-woodland_core__family_list-
|
|
12
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc3",
|
|
13
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc4"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
defaultVariants: {
|
|
@@ -19,13 +19,13 @@ var t = e({
|
|
|
19
19
|
},
|
|
20
20
|
compoundVariants: []
|
|
21
21
|
}), n = e({
|
|
22
|
-
defaultClassName: "pkg_sps-woodland_core__family_list-
|
|
22
|
+
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc5",
|
|
23
23
|
variantClassNames: { open: {
|
|
24
|
-
true: "pkg_sps-woodland_core__family_list-
|
|
25
|
-
false: "pkg_sps-woodland_core__family_list-
|
|
24
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc6",
|
|
25
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc7"
|
|
26
26
|
} },
|
|
27
27
|
defaultVariants: { open: !0 },
|
|
28
28
|
compoundVariants: []
|
|
29
|
-
}), r = "pkg_sps-woodland_core__family_list-
|
|
29
|
+
}), r = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc8", i = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc9";
|
|
30
30
|
//#endregion
|
|
31
31
|
export { t as advancedSearch, r as advancedSearchFooter, i as advancedSearchFooterControls, n as advancedSearchForm };
|
package/lib/list-bar/index.js
CHANGED
|
@@ -1,321 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
//#region src/list-bar/search-results-bar/SearchResultsBar.css.ts
|
|
10
|
-
var _ = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h0", v = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h1", y = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h4", b = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h5", x = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h6", S = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h7";
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region src/list-bar/search-results-bar/SearchResultsBar.tsx
|
|
13
|
-
function C({ results: t, selections: n, zeroStateText: r, onClear: i, className: a, children: o, ...s }) {
|
|
14
|
-
let { t: u } = h(), d = n ? Object.keys(n).reduce((e, t) => (n[t].length > 0 && (e[t] = n[t]), e), {}) : {};
|
|
15
|
-
return /* @__PURE__ */ e.createElement("div", {
|
|
16
|
-
className: v,
|
|
17
|
-
...s
|
|
18
|
-
}, t != null && /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h2" }, /* @__PURE__ */ e.createElement("span", null, u("searchResultsBar.results", { defaultValue: "Results:" })), /* @__PURE__ */ e.createElement(l, {
|
|
19
|
-
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_1o1g57h3",
|
|
20
|
-
kind: "info"
|
|
21
|
-
}, /* @__PURE__ */ e.createElement("span", null, t))), /* @__PURE__ */ e.createElement("div", { className: y }, Object.keys(d).length > 0 ? Object.keys(d).map((t, n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: t }, /* @__PURE__ */ e.createElement("span", {
|
|
22
|
-
key: n,
|
|
23
|
-
className: b
|
|
24
|
-
}, t, ":"), d[t].map((t, n) => /* @__PURE__ */ e.createElement(l, {
|
|
25
|
-
className: x,
|
|
26
|
-
key: n,
|
|
27
|
-
kind: "key"
|
|
28
|
-
}, /* @__PURE__ */ e.createElement("span", null, t))))) : /* @__PURE__ */ e.createElement("span", { className: "font-italic" }, r || u("searchResultsBar.noAdvancedSearchSelections", { defaultValue: "No Advanced Search Selections" }))), /* @__PURE__ */ e.createElement("div", { className: S }, /* @__PURE__ */ e.createElement(c, {
|
|
29
|
-
fill: !0,
|
|
30
|
-
noWrap: !0,
|
|
31
|
-
kind: "link",
|
|
32
|
-
onClick: i
|
|
33
|
-
}, u("searchResultsBar.clearResults", { defaultValue: "Clear Results" }))));
|
|
34
|
-
}
|
|
35
|
-
t.set(C, {
|
|
36
|
-
name: "Search Results Bar",
|
|
37
|
-
props: {
|
|
38
|
-
results: { type: "number | string | null" },
|
|
39
|
-
selections: { type: "{ [key: string]: string[] }" },
|
|
40
|
-
zeroStateText: { type: "string" },
|
|
41
|
-
onClear: { type: "() => void" }
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
//#endregion
|
|
45
|
-
//#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
|
|
46
|
-
function w(e, t, n) {
|
|
47
|
-
return t in e ? Object.defineProperty(e, t, {
|
|
48
|
-
value: n,
|
|
49
|
-
enumerable: !0,
|
|
50
|
-
configurable: !0,
|
|
51
|
-
writable: !0
|
|
52
|
-
}) : e[t] = n, e;
|
|
53
|
-
}
|
|
54
|
-
function T(e, t) {
|
|
55
|
-
var n = Object.keys(e);
|
|
56
|
-
if (Object.getOwnPropertySymbols) {
|
|
57
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
58
|
-
t && (r = r.filter(function(t) {
|
|
59
|
-
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
60
|
-
})), n.push.apply(n, r);
|
|
61
|
-
}
|
|
62
|
-
return n;
|
|
63
|
-
}
|
|
64
|
-
function E(e) {
|
|
65
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
66
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
67
|
-
t % 2 ? T(Object(n), !0).forEach(function(t) {
|
|
68
|
-
w(e, t, n[t]);
|
|
69
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T(Object(n)).forEach(function(t) {
|
|
70
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
return e;
|
|
74
|
-
}
|
|
75
|
-
var D = (e, t, n) => {
|
|
76
|
-
for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
|
|
77
|
-
return !0;
|
|
78
|
-
}, O = (e) => (t) => {
|
|
79
|
-
var n = e.defaultClassName, r = E(E({}, e.defaultVariants), t);
|
|
80
|
-
for (var i in r) {
|
|
81
|
-
var a = r[i] ?? e.defaultVariants[i];
|
|
82
|
-
if (a != null) {
|
|
83
|
-
var o = a;
|
|
84
|
-
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
85
|
-
var s = e.variantClassNames[i][o];
|
|
86
|
-
s && (n += " " + s);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
for (var [c, l] of e.compoundVariants) D(c, r, e.defaultVariants) && (n += " " + l);
|
|
90
|
-
return n;
|
|
91
|
-
}, k = O({
|
|
92
|
-
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv1",
|
|
93
|
-
variantClassNames: { pinned: {
|
|
94
|
-
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv2",
|
|
95
|
-
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv3"
|
|
96
|
-
} },
|
|
97
|
-
defaultVariants: { pinned: !1 },
|
|
98
|
-
compoundVariants: []
|
|
99
|
-
}), A = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv4", j = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv6", M = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwvb", N = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwvc", P = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwvd", F = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwve", I = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwvf";
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region src/list-bar/list-bar/InputGroupWrapper.tsx
|
|
102
|
-
function L({ children: t }) {
|
|
103
|
-
let n = o(t, (e) => e.type === c ? [{ className: i(e.props.className, F) }] : []);
|
|
104
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, n);
|
|
105
|
-
}
|
|
106
|
-
//#endregion
|
|
107
|
-
//#region src/list-bar/list-bar/ListBarSearch.tsx
|
|
108
|
-
function R({ onSubmit: t, children: n }) {
|
|
109
|
-
function r(e) {
|
|
110
|
-
e.preventDefault(), t && t(e);
|
|
111
|
-
}
|
|
112
|
-
return /* @__PURE__ */ e.createElement("form", {
|
|
113
|
-
onSubmit: r,
|
|
114
|
-
className: N,
|
|
115
|
-
noValidate: !0
|
|
116
|
-
}, /* @__PURE__ */ e.createElement(m, { className: P }, /* @__PURE__ */ e.createElement(L, null, n)));
|
|
117
|
-
}
|
|
118
|
-
t.set(R, {
|
|
119
|
-
name: "ListBarSearch",
|
|
120
|
-
props: { onSubmit: { type: "FormEventHandler" } }
|
|
121
|
-
});
|
|
122
|
-
//#endregion
|
|
123
|
-
//#region src/list-bar/list-bar/ListBarSearchInfo.tsx
|
|
124
|
-
function z({ children: t }) {
|
|
125
|
-
return /* @__PURE__ */ e.createElement("div", null, t);
|
|
126
|
-
}
|
|
127
|
-
t.set(z, { name: "ListBarSearchInfo" });
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region src/list-bar/list-bar/ListBar.tsx
|
|
130
|
-
function B({ advancedSearch: a, onToggleAdvancedSearch: o, title: f, onToolbarPinned: p, selectable: m, isSelected: g, isIndeterminate: v, disableSelection: y = !1, onSelectionChange: b, pinResultsBar: x, pinToolbar: S = !0, advancedSearchToggleText: w, children: T, className: E, ...D }) {
|
|
131
|
-
let { t: O } = h(), N = null, [P, F] = e.useState(!1), I = e.useRef(null), L = e.useRef(null), { "data-testid": B } = D, V = u(() => {
|
|
132
|
-
if (I.current && S) {
|
|
133
|
-
let e = I.current.getBoundingClientRect();
|
|
134
|
-
if (!e) return;
|
|
135
|
-
let t = Math.round(e.height), n = Math.round(e.top), r = Math.round(window.scrollY);
|
|
136
|
-
t > 0 && n <= 60 && (typeof N == "number" ? r <= N && (N = null, F(!1)) : (N = Math.round(window.scrollY), F(!0), o && o(!1)));
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
e.useEffect(() => (window.addEventListener("scroll", V), window.addEventListener("resize", V), () => {
|
|
140
|
-
window.removeEventListener("scroll", V), window.removeEventListener("resize", V);
|
|
141
|
-
}), []);
|
|
142
|
-
let H = e.useRef();
|
|
143
|
-
e.useLayoutEffect(() => {
|
|
144
|
-
if (L.current && I.current && S) {
|
|
145
|
-
if (P && H.current) L.current.style.height = H.current.height, L.current.style.width = H.current.width, L.current.style.marginBottom = H.current.marginBottom;
|
|
146
|
-
else if (!P) {
|
|
147
|
-
L.current.style.height = "", L.current.style.width = "", L.current.style.marginBottom = "";
|
|
148
|
-
let e = window.getComputedStyle(I.current);
|
|
149
|
-
H.current = {
|
|
150
|
-
height: e.height,
|
|
151
|
-
width: e.width,
|
|
152
|
-
marginBottom: e.marginBottom
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}, [P]);
|
|
157
|
-
function U() {
|
|
158
|
-
o && o(!a?.isOpen);
|
|
159
|
-
}
|
|
160
|
-
function W(e) {
|
|
161
|
-
p && p(e);
|
|
162
|
-
}
|
|
163
|
-
e.useEffect(() => {
|
|
164
|
-
W(P);
|
|
165
|
-
}, [P]);
|
|
166
|
-
let [G, K, q, [J], Y] = s(T, [
|
|
167
|
-
{ type: R },
|
|
168
|
-
{ type: z },
|
|
169
|
-
{ type: C },
|
|
170
|
-
{ custom: (e) => t.isWoodlandComponent(e) && t.get(e).name === "Tabs" }
|
|
171
|
-
]);
|
|
172
|
-
return /* @__PURE__ */ e.createElement("div", {
|
|
173
|
-
className: i(E),
|
|
174
|
-
ref: L,
|
|
175
|
-
...D
|
|
176
|
-
}, /* @__PURE__ */ e.createElement("div", {
|
|
177
|
-
className: k({ pinned: P }),
|
|
178
|
-
ref: I
|
|
179
|
-
}, J ? r(J, { context: "container" }) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: A }, !!m && /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv5" }, /* @__PURE__ */ e.createElement(d, {
|
|
180
|
-
checked: g,
|
|
181
|
-
disabled: y,
|
|
182
|
-
indeterminate: v,
|
|
183
|
-
onChange: () => {
|
|
184
|
-
b?.(!g);
|
|
185
|
-
}
|
|
186
|
-
})), /* @__PURE__ */ e.createElement("div", { className: j }, !f && G, !f && K, G.length > 0 && a && /* @__PURE__ */ e.createElement("div", {
|
|
187
|
-
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv7",
|
|
188
|
-
"data-testid": `${B}__advanced-search`
|
|
189
|
-
}, /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv8" }, /* @__PURE__ */ e.createElement(c, {
|
|
190
|
-
kind: "link",
|
|
191
|
-
onClick: U
|
|
192
|
-
}, w ?? O("listToolbar.advancedSearchToggle", { defaultValue: "Advanced Search" }))), (a.enteredFields || 0) > 0 && /* @__PURE__ */ e.createElement(l, {
|
|
193
|
-
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwv9",
|
|
194
|
-
kind: "info",
|
|
195
|
-
"data-testid": `${B}__entered-fields`
|
|
196
|
-
}, /* @__PURE__ */ e.createElement("span", null, a.enteredFields))), f && /* @__PURE__ */ e.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_uzzgwva" }, f)), P ? /* @__PURE__ */ e.createElement("div", { className: M }, /* @__PURE__ */ e.createElement(n.Provider, { value: { fixed: !0 } }, Y)) : /* @__PURE__ */ e.createElement("div", { className: M }, Y)), /* @__PURE__ */ e.createElement("div", { className: _ }, (!P || x) && q))));
|
|
197
|
-
}
|
|
198
|
-
t.set(B, {
|
|
199
|
-
name: "ListBar",
|
|
200
|
-
props: {
|
|
201
|
-
activeTab: { type: "Tab" },
|
|
202
|
-
advancedSearch: { type: "{ isOpen: boolean, enteredFields: number }" },
|
|
203
|
-
onToggleAdvancedSearch: { type: "(boolean) => void" },
|
|
204
|
-
title: { type: "string" },
|
|
205
|
-
onToolbarPinned: { type: "(boolean) => void" },
|
|
206
|
-
selectable: { type: "boolean" },
|
|
207
|
-
disableSelection: {
|
|
208
|
-
type: "boolean",
|
|
209
|
-
default: "false"
|
|
210
|
-
},
|
|
211
|
-
isSelected: { type: "boolean" },
|
|
212
|
-
isIndeterminate: { type: "boolean" },
|
|
213
|
-
onSelectionChange: { type: "(boolean) => void" },
|
|
214
|
-
pinResultsBar: { type: "boolean" },
|
|
215
|
-
pinToolbar: {
|
|
216
|
-
type: "boolean",
|
|
217
|
-
default: "true"
|
|
218
|
-
},
|
|
219
|
-
advancedSearchToggleText: { type: "string" }
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/list-bar/list-bar/ListBarSortBy.tsx
|
|
224
|
-
function V({ options: t, activeOption: n, onSortChange: r, defaultOption: a, className: o, ...s }) {
|
|
225
|
-
let c = (t || []).map((e) => [{
|
|
226
|
-
label: e.label,
|
|
227
|
-
icon: e.icon
|
|
228
|
-
}, () => {
|
|
229
|
-
r && r(e);
|
|
230
|
-
}]);
|
|
231
|
-
return /* @__PURE__ */ e.createElement(f, {
|
|
232
|
-
className: i(o, I),
|
|
233
|
-
icon: n?.icon || a?.icon,
|
|
234
|
-
label: n?.label || a?.label,
|
|
235
|
-
options: c
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
t.set(V, {
|
|
239
|
-
name: "ListBarSortBy",
|
|
240
|
-
props: {
|
|
241
|
-
options: { type: "SortOption[]" },
|
|
242
|
-
activeOption: { type: "SortOption" },
|
|
243
|
-
onSortChange: { type: "(option: SortOption) => void" },
|
|
244
|
-
defaultOption: { type: "SortOption" }
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
//#endregion
|
|
248
|
-
//#region src/list-bar/advanced-search/AdvancedSearch.css.ts
|
|
249
|
-
var H = O({
|
|
250
|
-
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc0",
|
|
251
|
-
variantClassNames: {
|
|
252
|
-
open: {
|
|
253
|
-
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc1",
|
|
254
|
-
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc2"
|
|
255
|
-
},
|
|
256
|
-
compact: {
|
|
257
|
-
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc3",
|
|
258
|
-
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc4"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
defaultVariants: {
|
|
262
|
-
open: !1,
|
|
263
|
-
compact: !1
|
|
264
|
-
},
|
|
265
|
-
compoundVariants: []
|
|
266
|
-
}), U = O({
|
|
267
|
-
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc5",
|
|
268
|
-
variantClassNames: { open: {
|
|
269
|
-
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc6",
|
|
270
|
-
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc7"
|
|
271
|
-
} },
|
|
272
|
-
defaultVariants: { open: !0 },
|
|
273
|
-
compoundVariants: []
|
|
274
|
-
}), W = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc8", G = "pkg_sps-woodland_core__family_list-bar__version_8_56_11__hash_am9pfc9";
|
|
275
|
-
//#endregion
|
|
276
|
-
//#region src/list-bar/advanced-search/AdvancedSearch.tsx
|
|
277
|
-
function K({ formArray: t, formGroup: n, formMeta: r, onSubmit: o, controlsDisabled: s, footerLinks: l, isOpen: u, onClear: d, submitButtonText: f, compact: m, className: _, children: v, ...y }) {
|
|
278
|
-
let { t: b } = h();
|
|
279
|
-
function x() {
|
|
280
|
-
d && d();
|
|
281
|
-
}
|
|
282
|
-
return /* @__PURE__ */ e.createElement("div", {
|
|
283
|
-
className: i(H({
|
|
284
|
-
open: u,
|
|
285
|
-
compact: m
|
|
286
|
-
})),
|
|
287
|
-
...y
|
|
288
|
-
}, /* @__PURE__ */ e.createElement(p, {
|
|
289
|
-
onSubmit: o,
|
|
290
|
-
formArray: t,
|
|
291
|
-
formGroup: n,
|
|
292
|
-
formMeta: r
|
|
293
|
-
}, /* @__PURE__ */ e.createElement("div", { className: U({ open: u }) }, v), /* @__PURE__ */ e.createElement("div", { className: W }, l && /* @__PURE__ */ e.createElement("div", { id: "footer_links" }, a(l)), /* @__PURE__ */ e.createElement("div", { className: G }, /* @__PURE__ */ e.createElement(c, {
|
|
294
|
-
kind: "default",
|
|
295
|
-
type: "button",
|
|
296
|
-
className: g({ mr: "sm" }),
|
|
297
|
-
onClick: x,
|
|
298
|
-
disabled: s
|
|
299
|
-
}, b("advancedSearch.clear", { defaultValue: "Clear Fields" })), /* @__PURE__ */ e.createElement(c, {
|
|
300
|
-
kind: "key",
|
|
301
|
-
type: "submit",
|
|
302
|
-
disabled: s
|
|
303
|
-
}, f ?? b("advancedSearch.search", { defaultValue: "Search" }))))));
|
|
304
|
-
}
|
|
305
|
-
t.set(K, {
|
|
306
|
-
name: "Advanced Search",
|
|
307
|
-
props: {
|
|
308
|
-
formArray: { type: "SpsFormArray<any>" },
|
|
309
|
-
formGroup: { type: "SpsFormGroup" },
|
|
310
|
-
formMeta: { type: "SpsFormSetMeta<any>" },
|
|
311
|
-
onSubmit: { type: "React.FormEventHandler" },
|
|
312
|
-
controlsDisabled: { type: "boolean" },
|
|
313
|
-
footerLinks: { type: "React.ReactNode | (() => React.ReactNode)" },
|
|
314
|
-
isOpen: { type: "boolean" },
|
|
315
|
-
onClear: { type: "() => void" },
|
|
316
|
-
submitButtonText: { type: "string" },
|
|
317
|
-
compact: { type: "boolean" }
|
|
318
|
-
}
|
|
319
|
-
});
|
|
320
|
-
//#endregion
|
|
321
|
-
export { K as AdvancedSearch, L as InputGroupWrapper, B as ListBar, R as ListBarSearch, z as ListBarSearchInfo, V as ListBarSortBy, C as SearchResultsBar };
|
|
1
|
+
import { SearchResultsBar as e } from "./search-results-bar/SearchResultsBar.js";
|
|
2
|
+
import { InputGroupWrapper as t } from "./list-bar/InputGroupWrapper.js";
|
|
3
|
+
import { ListBarSearch as n } from "./list-bar/ListBarSearch.js";
|
|
4
|
+
import { ListBarSearchInfo as r } from "./list-bar/ListBarSearchInfo.js";
|
|
5
|
+
import { ListBar as i } from "./list-bar/ListBar.js";
|
|
6
|
+
import { ListBarSortBy as a } from "./list-bar/ListBarSortBy.js";
|
|
7
|
+
import { AdvancedSearch as o } from "./advanced-search/AdvancedSearch.js";
|
|
8
|
+
export { o as AdvancedSearch, t as InputGroupWrapper, i as ListBar, n as ListBarSearch, r as ListBarSearchInfo, a as ListBarSortBy, e as SearchResultsBar };
|
|
@@ -60,7 +60,7 @@ function y({ advancedSearch: y, onToggleAdvancedSearch: b, title: x, onToolbarPi
|
|
|
60
60
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
61
61
|
className: n({ pinned: I }),
|
|
62
62
|
ref: R
|
|
63
|
-
}, J ? u(J, { context: "container" }) : /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement("div", { className: r }, !!C && /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_list-
|
|
63
|
+
}, J ? u(J, { context: "container" }) : /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement("div", { className: r }, !!C && /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv5" }, /* @__PURE__ */ p.createElement(v, {
|
|
64
64
|
checked: w,
|
|
65
65
|
disabled: E,
|
|
66
66
|
indeterminate: T,
|
|
@@ -68,16 +68,16 @@ function y({ advancedSearch: y, onToggleAdvancedSearch: b, title: x, onToolbarPi
|
|
|
68
68
|
D?.(!w);
|
|
69
69
|
}
|
|
70
70
|
})), /* @__PURE__ */ p.createElement("div", { className: a }, !x && G, !x && K, G.length > 0 && y && /* @__PURE__ */ p.createElement("div", {
|
|
71
|
-
className: "pkg_sps-woodland_core__family_list-
|
|
71
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv7",
|
|
72
72
|
"data-testid": `${B}__advanced-search`
|
|
73
|
-
}, /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_list-
|
|
73
|
+
}, /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv8" }, /* @__PURE__ */ p.createElement(g, {
|
|
74
74
|
kind: "link",
|
|
75
75
|
onClick: U
|
|
76
76
|
}, A ?? P("listToolbar.advancedSearchToggle", { defaultValue: "Advanced Search" }))), (y.enteredFields || 0) > 0 && /* @__PURE__ */ p.createElement(_, {
|
|
77
|
-
className: "pkg_sps-woodland_core__family_list-
|
|
77
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv9",
|
|
78
78
|
kind: "info",
|
|
79
79
|
"data-testid": `${B}__entered-fields`
|
|
80
|
-
}, /* @__PURE__ */ p.createElement("span", null, y.enteredFields))), x && /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_list-
|
|
80
|
+
}, /* @__PURE__ */ p.createElement("span", null, y.enteredFields))), x && /* @__PURE__ */ p.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwva" }, x)), I ? /* @__PURE__ */ p.createElement("div", { className: i }, /* @__PURE__ */ p.createElement(l.Provider, { value: { fixed: !0 } }, Y)) : /* @__PURE__ */ p.createElement("div", { className: i }, Y)), /* @__PURE__ */ p.createElement("div", { className: e }, (!I || O) && q))));
|
|
81
81
|
}
|
|
82
82
|
c.set(y, {
|
|
83
83
|
name: "ListBar",
|
|
@@ -2,13 +2,13 @@ import { createRuntimeFn as e } from "../../node_modules/.pnpm/@vanilla-extract_
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/list-bar/list-bar/ListBar.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-woodland_core__family_list-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv1",
|
|
6
6
|
variantClassNames: { pinned: {
|
|
7
|
-
true: "pkg_sps-woodland_core__family_list-
|
|
8
|
-
false: "pkg_sps-woodland_core__family_list-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv2",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv3"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { pinned: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
|
-
}), n = "pkg_sps-woodland_core__family_list-
|
|
12
|
+
}), n = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv4", r = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv5", i = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv6", a = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv7", o = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv8", s = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv9", c = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwva", l = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvb", u = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvc", d = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd", f = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwve", p = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvf";
|
|
13
13
|
//#endregion
|
|
14
14
|
export { f as inputGroupIconButton, t as listBar, s as listBarAdvSearchEnteredFields, c as listBarAdvSearchTitle, a as listBarAdvSearchToggle, o as listBarAdvSearchToggleWrapper, n as listBarContent, l as listBarHeaderContent, i as listBarSearchControls, d as listBarSearchField, u as listBarSearchForm, r as listBarSelectionControls, p as listBarSortBy };
|
|
@@ -10,8 +10,8 @@ function u({ results: a, selections: u, zeroStateText: d, onClear: f, className:
|
|
|
10
10
|
return /* @__PURE__ */ o.createElement("div", {
|
|
11
11
|
className: e,
|
|
12
12
|
...h
|
|
13
|
-
}, a != null && /* @__PURE__ */ o.createElement("div", { className: "pkg_sps-woodland_core__family_list-
|
|
14
|
-
className: "pkg_sps-woodland_core__family_list-
|
|
13
|
+
}, a != null && /* @__PURE__ */ o.createElement("div", { className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h2" }, /* @__PURE__ */ o.createElement("span", null, g("searchResultsBar.results", { defaultValue: "Results:" })), /* @__PURE__ */ o.createElement(l, {
|
|
14
|
+
className: "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h3",
|
|
15
15
|
kind: "info"
|
|
16
16
|
}, /* @__PURE__ */ o.createElement("span", null, a))), /* @__PURE__ */ o.createElement("div", { className: i }, Object.keys(_).length > 0 ? Object.keys(_).map((e, t) => /* @__PURE__ */ o.createElement(o.Fragment, { key: e }, /* @__PURE__ */ o.createElement("span", {
|
|
17
17
|
key: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/list-bar/search-results-bar/SearchResultsBar.css.ts
|
|
4
|
-
var e = "pkg_sps-woodland_core__family_list-
|
|
4
|
+
var e = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h0", t = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h1", n = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h2", r = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h3", i = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h4", a = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h5", o = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h6", s = "pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h7";
|
|
5
5
|
//#endregion
|
|
6
6
|
export { t as searchResultsBar, s as searchResultsBarButtons, n as searchResultsBarResults, a as searchResultsBarSelection, o as searchResultsBarSelectionTag, i as searchResultsBarSelections, e as searchResultsBarWrapper, r as searchResutlsBarResultsTag };
|
package/lib/list-bar/style.css
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_list-
|
|
2
|
-
|
|
1
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv1{background:#fff;border:.0625rem solid #d2d4d4;border-radius:.25rem;flex-flow:column wrap;margin:0 0 .5rem;display:flex;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv2{z-index:999;border-radius:0;width:calc(1280px - 2.5rem);position:fixed;top:3.75rem;left:50%;transform:translate(-50%)}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv2:after{content:"";background:linear-gradient(#0000001a,#0000);width:100%;height:.625rem;display:block;position:absolute;top:calc(100% + 1px)}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv4{flex-wrap:wrap;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv5{border-right:.0625rem solid #d2d4d4;align-items:center;margin:-.5rem .5rem -.5rem -.5rem;padding:1rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv6{vertical-align:middle;flex:1 0 auto;align-items:center;height:2rem;display:inline-flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv7{white-space:nowrap;padding:.25rem 0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv8{display:inline-block;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv9{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwva{float:left;text-transform:uppercase;align-items:center;margin-bottom:0;padding-left:.5rem;font-size:.75rem;font-weight:600;line-height:1.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvb{text-align:right;vertical-align:middle;white-space:nowrap;height:2rem;margin-left:auto;display:inline-block}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvc{flex:1;max-width:25rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwve{background-color:#e9e9ea;border:.0625rem solid #717779;border-left-width:0;border-radius:0 .25rem .25rem 0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwve:hover{background-color:#d2d4d4;border:.0625rem solid #717779;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvf>.sps-button{color:#4b5356;background:0 0;border-color:#0000;margin:0!important}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvf>.sps-button>button{padding:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwve>button{height:1.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwva>i{margin-right:.25rem;font-size:.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group{flex-wrap:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-autocomplete,.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-multi-select{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-select{min-width:30%}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-select:not(:last-child)>.sps-select__dropctrl{border-top-right-radius:0;border-bottom-right-radius:0;height:2rem;line-height:2rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:first-child)>.sps-text-input>.sps-form-control{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:last-child)>.sps-text-input>.sps-form-control{border-top-right-radius:0;border-bottom-right-radius:0;height:2rem;line-height:2rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:last-child)>.sps-form-control{border-top-right-radius:0;border-bottom-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-multi-select>.sps-text-input>.sps-form-control{border-left:0;border-radius:0;height:32px}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:first-child):not(:only-child)>.sps-form-control{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwvd svg{margin-bottom:0}
|
|
2
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h1{background-color:#e9e9ea;border:.0625rem solid #d2d4d4;border-radius:.25rem;min-height:3.25rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_uzzgwv1>.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h0>.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h1{border-width:.0625rem 0 0;border-radius:0 0 .125rem .125rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h2{border-right:.0625rem solid #d2d4d4;flex:auto;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h3{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h4{flex-wrap:wrap;flex:100%;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h5{margin:0 .25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h5:first-child{margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h6{margin-top:.125rem;margin-bottom:.125rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h6:last-child{margin-right:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h7{border-left:.0625rem solid #d2d4d4;flex:auto;align-items:center;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_1o1g57h7:hover{background:#d2d4d4}
|
|
3
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc0{background:#fff;border:.0625rem solid #d2d4d4;border-top-width:0;border-radius:0 0 .25rem .25rem;margin:-.625rem 0 1rem;display:none}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc1,.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc3{display:block}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc5{padding:1rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc7{display:none}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc8{background:#f3f4f4;border-radius:0 0 .25rem .25rem;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc9{text-align:right}.pkg_sps-woodland_core__family_list-bar__version_8_56_13__hash_am9pfc8>*{flex:1}
|
package/lib/matrix/index.js
CHANGED
|
@@ -1,87 +1,7 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function l({ title: t, children: i, "data-testid": o, ...s }) {
|
|
9
|
-
return /* @__PURE__ */ e.createElement("div", {
|
|
10
|
-
className: r(a),
|
|
11
|
-
"data-testid": "matrix"
|
|
12
|
-
}, /* @__PURE__ */ e.createElement(n, { size: "lg" }, t), /* @__PURE__ */ e.createElement("table", {
|
|
13
|
-
className: r(a),
|
|
14
|
-
"data-testid": `${o}`,
|
|
15
|
-
...s
|
|
16
|
-
}, i));
|
|
17
|
-
}
|
|
18
|
-
t.set(l, {
|
|
19
|
-
name: "Matrix",
|
|
20
|
-
props: { title: "string" }
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region src/matrix/matrix-head/MatrixHead.tsx
|
|
24
|
-
function u({ children: t, "data-testid": n, ...r }) {
|
|
25
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("thead", {
|
|
26
|
-
"data-testid": `${n}`,
|
|
27
|
-
...r
|
|
28
|
-
}, t));
|
|
29
|
-
}
|
|
30
|
-
t.set(u, { name: "Matrix Head" });
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/matrix/matrix-header/MatrixHeader.tsx
|
|
33
|
-
function d({ icon: t, tooltip: n, width: i, className: a, children: s, "data-testid": l, ...u }) {
|
|
34
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("th", {
|
|
35
|
-
className: r(o),
|
|
36
|
-
style: { width: `${i}` },
|
|
37
|
-
"data-testid": `${l}`,
|
|
38
|
-
...u
|
|
39
|
-
}, s, /* @__PURE__ */ e.createElement("div", { className: r(c) }, t, n)));
|
|
40
|
-
}
|
|
41
|
-
t.set(d, {
|
|
42
|
-
name: "Matrix Header",
|
|
43
|
-
props: {
|
|
44
|
-
icon: "Icon",
|
|
45
|
-
tooltip: "SpsTooltip",
|
|
46
|
-
width: "string"
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region src/matrix/matrix-body/MatrixBody.tsx
|
|
51
|
-
function f({ children: t, "data-testid": n, ...r }) {
|
|
52
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("tbody", {
|
|
53
|
-
"data-testid": `${n}`,
|
|
54
|
-
...r
|
|
55
|
-
}, t));
|
|
56
|
-
}
|
|
57
|
-
t.set(f, { name: "Matrix Body" });
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region src/matrix/matrix-row/MatrixRow.tsx
|
|
60
|
-
function p({ children: t, "data-testid": n, ...r }) {
|
|
61
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("tr", {
|
|
62
|
-
"data-testid": `${n}`,
|
|
63
|
-
...r
|
|
64
|
-
}, t));
|
|
65
|
-
}
|
|
66
|
-
t.set(p, { name: "Matrix Row" });
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/matrix/matrix-cell/MatrixCell.tsx
|
|
69
|
-
function m({ className: t, children: n, "data-testid": a, ...o }) {
|
|
70
|
-
let { t: c } = i();
|
|
71
|
-
return n === void 0 ? /* @__PURE__ */ e.createElement("td", {
|
|
72
|
-
className: r(s),
|
|
73
|
-
"data-testid": `${a}`,
|
|
74
|
-
...o
|
|
75
|
-
}, "—") : n === null ? /* @__PURE__ */ e.createElement("td", {
|
|
76
|
-
className: r(s),
|
|
77
|
-
"data-testid": `${a}`,
|
|
78
|
-
...o
|
|
79
|
-
}, c("matrix.cell.null", { defaultValue: "null" })) : /* @__PURE__ */ e.createElement("td", {
|
|
80
|
-
className: r(s),
|
|
81
|
-
"data-testid": `${a}`,
|
|
82
|
-
...o
|
|
83
|
-
}, n);
|
|
84
|
-
}
|
|
85
|
-
t.set(m, { name: "Matrix Cell" });
|
|
86
|
-
//#endregion
|
|
87
|
-
export { l as Matrix, f as MatrixBody, m as MatrixCell, u as MatrixHead, d as MatrixHeader, p as MatrixRow };
|
|
1
|
+
import { Matrix as e } from "./matrix/Matrix.js";
|
|
2
|
+
import { MatrixHead as t } from "./matrix-head/MatrixHead.js";
|
|
3
|
+
import { MatrixHeader as n } from "./matrix-header/MatrixHeader.js";
|
|
4
|
+
import { MatrixBody as r } from "./matrix-body/MatrixBody.js";
|
|
5
|
+
import { MatrixRow as i } from "./matrix-row/MatrixRow.js";
|
|
6
|
+
import { MatrixCell as a } from "./matrix-cell/MatrixCell.js";
|
|
7
|
+
export { e as Matrix, r as MatrixBody, a as MatrixCell, t as MatrixHead, n as MatrixHeader, i as MatrixRow };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
//#region src/matrix/matrix/Matrix.css.ts
|
|
3
|
-
var e = "pkg_sps-
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v0", t = "pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v1", n = "pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v2", r = "pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v3";
|
|
4
4
|
//#endregion
|
|
5
5
|
export { e as matrix, n as matrixCell, t as matrixHeader, r as matrixHeaderIcon };
|
package/lib/matrix/style.css
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
2
|
-
/*$vite$:1*/
|
|
1
|
+
.pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v0{word-wrap:break-word;table-layout:fixed;border-radius:.125rem;flex-direction:column;width:100%;font-size:.875rem;overflow:hidden}.pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v1{vertical-align:top;background-color:#f3f4f4;border:.0625rem solid #d2d4d4;padding:.5rem;line-height:1.25rem}.pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v2{vertical-align:top;border:.0625rem solid #d2d4d4;padding:.5rem}.pkg_sps-woodland_core__family_matrix__version_8_56_13__hash_6q9a8v3{float:right}
|