@sps-woodland/core 8.56.2 → 8.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action-bar/action-bar/ActionBar.js +44 -59
- package/lib/action-bar/action-bar/ActionBar.ve.js +4 -11
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +14 -22
- package/lib/action-bar/index.js +54 -74
- package/lib/action-bar/index.umd.cjs +1 -1
- package/lib/action-bar/style.css +2 -1
- package/lib/add-to-list/add-to-list/AddToList.js +220 -302
- package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
- package/lib/add-to-list/add-to-list/ItemsList.js +42 -67
- package/lib/add-to-list/add-to-list/ListItem.js +24 -50
- package/lib/add-to-list/index.js +393 -453
- package/lib/add-to-list/index.umd.cjs +1 -1
- package/lib/add-to-list/style.css +2 -1
- package/lib/buttons/button/Button.js +95 -121
- package/lib/buttons/button/Button.ve.js +150 -9
- package/lib/buttons/index.js +281 -171
- package/lib/buttons/index.umd.cjs +1 -1
- package/lib/buttons/style.css +2 -1
- package/lib/cards/card/Card.js +19 -27
- package/lib/cards/card/Card.ve.js +4 -4
- package/lib/cards/card-footer/CardFooter.js +12 -13
- package/lib/cards/card-footer/CardFooter.ve.js +4 -4
- package/lib/cards/card-header/CardHeader.js +12 -13
- package/lib/cards/card-header/CardHeader.ve.js +4 -4
- package/lib/cards/card-title/CardTitle.js +11 -12
- package/lib/cards/card-title/CardTitle.ve.js +4 -4
- package/lib/cards/index.js +52 -52
- package/lib/cards/index.umd.cjs +1 -1
- package/lib/cards/style.css +2 -1
- package/lib/column-manager/column-manager/ColumnManager.js +95 -112
- package/lib/column-manager/column-manager/useColumnManager.js +59 -48
- package/lib/column-manager/index.js +2 -5
- package/lib/components/icon/Icon.ve.js +15 -5
- package/lib/components/icon/icons/sprite.svg.js +4 -4
- package/lib/content-row/content-row/ContentRow.js +146 -173
- package/lib/content-row/content-row/ContentRow.ve.js +105 -18
- package/lib/content-row/content-row-col/ContentRowCol.js +37 -48
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +49 -6
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +16 -24
- package/lib/content-row/index.js +407 -318
- package/lib/content-row/index.umd.cjs +1 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +24 -39
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +13 -5
- package/lib/content-row/style.css +2 -1
- package/lib/content-tiles/content-tile/ContentTile.js +71 -60
- package/lib/content-tiles/content-tile/ContentTile.ve.js +36 -14
- package/lib/content-tiles/content-tile-list/ContentTileList.js +12 -13
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +4 -5
- package/lib/content-tiles/index.js +156 -118
- package/lib/content-tiles/index.umd.cjs +1 -1
- package/lib/content-tiles/style.css +2 -1
- package/lib/core.css +2 -1
- package/lib/dropdowns/dropdown/Dropdown.js +56 -68
- package/lib/dropdowns/dropdown/Dropdown.ve.js +37 -8
- package/lib/dropdowns/index.js +171 -171
- package/lib/dropdowns/index.umd.cjs +1 -1
- package/lib/dropdowns/option-list/Option.js +14 -18
- package/lib/dropdowns/option-list/Option.ve.js +4 -5
- package/lib/dropdowns/option-list/OptionList.js +28 -44
- package/lib/dropdowns/option-list/OptionList.ve.js +4 -5
- package/lib/dropdowns/style.css +2 -1
- package/lib/editable-table/EditableTable.js +68 -85
- package/lib/editable-table/index.js +1 -4
- package/lib/feedback-block/FeedbackBlock.js +40 -35
- package/lib/feedback-block/FeedbackBlock.ve.js +56 -7
- package/lib/feedback-block/index.js +132 -85
- package/lib/feedback-block/index.umd.cjs +1 -1
- package/lib/feedback-block/style.css +2 -1
- package/lib/file-upload/file-upload/FileUpload.js +164 -202
- package/lib/file-upload/file-upload/FileUpload.ve.js +84 -18
- package/lib/file-upload/file-upload/mime-type.enum.js +106 -106
- package/lib/file-upload/index.js +390 -353
- package/lib/file-upload/index.umd.cjs +1 -1
- package/lib/file-upload/style.css +2 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +41 -46
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +51 -9
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +12 -15
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +4 -4
- package/lib/filter-tiles/index.js +142 -107
- package/lib/filter-tiles/index.umd.cjs +1 -1
- package/lib/filter-tiles/style.css +2 -1
- package/lib/focused-task/focused-task/FocusedTask.js +52 -74
- package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -12
- package/lib/focused-task/focused-task/useFocusedTask.js +20 -18
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +12 -13
- package/lib/focused-task/index.js +127 -144
- package/lib/focused-task/index.umd.cjs +1 -1
- package/lib/focused-task/style.css +2 -1
- package/lib/growler/Growler.js +78 -90
- package/lib/growler/Growler.ve.js +23 -12
- package/lib/growler/GrowlerListProvider.js +38 -39
- package/lib/growler/Sonner.ve.js +17 -12
- package/lib/growler/index.js +249 -274
- package/lib/growler/index.umd.cjs +1 -1
- package/lib/growler/sonner.js +73 -102
- package/lib/growler/style.css +2 -1
- package/lib/index.js +520 -501
- package/lib/index.umd.cjs +4 -4
- package/lib/insight-card/InsightCard.js +90 -84
- package/lib/insight-card/InsightCard.ve.js +148 -15
- package/lib/insight-card/InsightCardSet.js +12 -12
- package/lib/insight-card/index.js +269 -141
- package/lib/insight-card/index.umd.cjs +1 -1
- package/lib/insight-card/style.css +2 -1
- package/lib/key-value-set/index.js +97 -87
- package/lib/key-value-set/index.umd.cjs +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +17 -21
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +10 -5
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +25 -21
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +13 -6
- package/lib/key-value-set/style.css +2 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.js +51 -54
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +30 -8
- package/lib/list-bar/index.js +305 -301
- package/lib/list-bar/index.umd.cjs +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.js +10 -19
- package/lib/list-bar/list-bar/ListBar.js +105 -121
- package/lib/list-bar/list-bar/ListBar.ve.js +13 -17
- package/lib/list-bar/list-bar/ListBarSearch.js +20 -21
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +8 -12
- package/lib/list-bar/list-bar/ListBarSortBy.js +28 -38
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +38 -28
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +4 -11
- package/lib/list-bar/style.css +2 -1
- package/lib/matrix/index.js +79 -87
- package/lib/matrix/index.umd.cjs +1 -1
- package/lib/matrix/matrix/Matrix.js +18 -26
- package/lib/matrix/matrix/Matrix.ve.js +4 -7
- package/lib/matrix/matrix-body/MatrixBody.js +10 -13
- package/lib/matrix/matrix-cell/MatrixCell.js +23 -18
- package/lib/matrix/matrix-head/MatrixHead.js +10 -13
- package/lib/matrix/matrix-header/MatrixHeader.js +20 -23
- package/lib/matrix/matrix-row/MatrixRow.js +10 -13
- package/lib/matrix/style.css +2 -1
- package/lib/modal/index.js +197 -187
- package/lib/modal/index.umd.cjs +1 -1
- package/lib/modal/modal/Modal.js +90 -108
- package/lib/modal/modal/Modal.ve.js +43 -13
- package/lib/modal/modal/useModal.js +19 -24
- package/lib/modal/modal-footer/ModalFooter.js +11 -12
- package/lib/modal/style.css +2 -1
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +49 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +8 -10
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +4 -4
- package/lib/page-title/heading-level/HeadingLevel.js +8 -12
- package/lib/page-title/index.js +33 -40
- package/lib/page-title/index.umd.cjs +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.js +13 -18
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +4 -5
- package/lib/page-title/page-title/PageTitle.js +15 -19
- package/lib/page-title/page-title/PageTitle.ve.js +4 -7
- package/lib/page-title/style.css +2 -1
- package/lib/photo/index.js +174 -177
- package/lib/photo/index.umd.cjs +1 -1
- package/lib/photo/photo/Photo.js +72 -81
- package/lib/photo/photo/Photo.ve.js +21 -7
- package/lib/photo/photo-carousel/PhotoCarousel.js +36 -51
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +13 -9
- package/lib/photo/style.css +2 -1
- package/lib/product-bar/hooks/usePriorityPlus.js +88 -104
- package/lib/product-bar/index.js +372 -395
- package/lib/product-bar/index.umd.cjs +1 -1
- package/lib/product-bar/product-bar/ProductBar.js +77 -103
- package/lib/product-bar/product-bar/ProductBar.ve.js +46 -15
- package/lib/product-bar/product-bar-name/ProductBarName.js +37 -40
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +48 -70
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +4 -8
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +28 -26
- package/lib/product-bar/slack-link/SlackLink.js +26 -30
- package/lib/product-bar/slack-link/SlackLink.ve.js +4 -5
- package/lib/product-bar/style.css +2 -1
- package/lib/product-bar-vertical/index.js +240 -251
- package/lib/product-bar-vertical/index.umd.cjs +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +42 -61
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +53 -23
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +30 -42
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +71 -89
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +22 -29
- package/lib/product-bar-vertical/style.css +2 -1
- package/lib/progress-indicators/index.js +372 -255
- package/lib/progress-indicators/index.umd.cjs +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +66 -110
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +66 -13
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +34 -54
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +136 -8
- package/lib/progress-indicators/progress-ring/ProgressRing.js +45 -52
- package/lib/progress-indicators/style.css +2 -1
- package/lib/rich-text-editor/index.js +556 -582
- package/lib/rich-text-editor/index.umd.cjs +11 -11
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +29 -33
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +23 -37
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +13 -6
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +68 -77
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +21 -8
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +14 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +14 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +33 -27
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +79 -88
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +28 -36
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +195 -211
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +12 -12
- package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +20 -19
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +11 -15
- package/lib/rich-text-editor/style.css +2 -1
- package/lib/scrollable-container/ScrollableContainer.js +18 -27
- package/lib/scrollable-container/ScrollableContainer.ve.js +4 -4
- package/lib/scrollable-container/index.js +20 -27
- package/lib/scrollable-container/index.umd.cjs +1 -1
- package/lib/scrollable-container/style.css +2 -1
- package/lib/side-nav/index.js +190 -228
- package/lib/side-nav/index.umd.cjs +1 -1
- package/lib/side-nav/side-nav/SideNav.js +43 -60
- package/lib/side-nav/side-nav/SideNav.ve.js +22 -16
- package/lib/side-nav/side-nav/navContext.js +7 -7
- package/lib/side-nav/side-nav-header/SideNavHeader.js +14 -15
- package/lib/side-nav/side-nav-item/SideNavItem.js +68 -94
- package/lib/side-nav/side-nav-section/SideNavSection.js +16 -26
- package/lib/side-nav/style.css +2 -1
- package/lib/sorting-header/caret/caret.ve.js +13 -5
- package/lib/sorting-header/index.js +269 -251
- package/lib/sorting-header/index.umd.cjs +1 -1
- package/lib/sorting-header/sorting-header/SortingHeader.js +110 -124
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +30 -6
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -83
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -7
- package/lib/sorting-header/style.css +2 -1
- package/lib/style.css +2 -1
- package/lib/tabs/index.js +255 -201
- package/lib/tabs/index.umd.cjs +1 -1
- package/lib/tabs/style.css +2 -1
- package/lib/tabs/tab/Tab.js +24 -27
- package/lib/tabs/tab/Tab.ve.js +76 -6
- package/lib/tabs/tab-panel/TabPanel.js +16 -25
- package/lib/tabs/tabs/Tabs.js +101 -112
- package/lib/tabs/tabs/Tabs.ve.js +13 -11
- package/lib/tags/clickable-tag/ClickableTag.js +86 -90
- package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
- package/lib/tags/index.js +342 -199
- package/lib/tags/index.umd.cjs +1 -1
- package/lib/tags/split-tag/SplitTag.js +49 -30
- package/lib/tags/split-tag/SplitTag.ve.js +35 -9
- package/lib/tags/style.css +2 -1
- package/lib/tags/tag/Tag.js +42 -38
- package/lib/tags/tag/Tag.ve.js +41 -6
- package/lib/utils/cl.js +5 -5
- package/lib/zero-state/ZeroState.js +36 -29
- package/lib/zero-state/ZeroState.ve.js +29 -11
- package/lib/zero-state/index.js +103 -78
- package/lib/zero-state/index.umd.cjs +1 -1
- package/lib/zero-state/style.css +2 -1
- package/package.json +12 -12
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +0 -57
|
@@ -1,32 +1,51 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Tag as e } from "../tag/Tag.js";
|
|
2
|
+
import { splitTag as t, splitTagKey as n, splitTagLink as r, splitTagValue as i } from "./SplitTag.ve.js";
|
|
3
|
+
import { Metadata as a, cl as o } from "@sps-woodland/core";
|
|
4
|
+
import * as s from "react";
|
|
5
|
+
//#region src/tags/split-tag/SplitTag.tsx
|
|
6
|
+
function c({ children: a, className: c, color: l = "default", href: u, target: d, icon: f, tagKey: p, value: m, wrap: h = !1, ...g }) {
|
|
7
|
+
return /* @__PURE__ */ s.createElement("span", {
|
|
8
|
+
className: o(t({ wrap: h }), c),
|
|
9
|
+
...g
|
|
10
|
+
}, /* @__PURE__ */ s.createElement(e, {
|
|
11
|
+
className: o(n),
|
|
12
|
+
icon: f,
|
|
13
|
+
kind: l,
|
|
14
|
+
wrap: h
|
|
15
|
+
}, p && /* @__PURE__ */ s.createElement("span", { className: o("pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf4") }, p)), /* @__PURE__ */ s.createElement(e, {
|
|
16
|
+
className: o(i({
|
|
17
|
+
href: !!u,
|
|
18
|
+
kind: l
|
|
19
|
+
})),
|
|
20
|
+
wrap: h
|
|
21
|
+
}, u ? /* @__PURE__ */ s.createElement("a", {
|
|
22
|
+
className: r,
|
|
23
|
+
href: u,
|
|
24
|
+
target: d
|
|
25
|
+
}, m) : m));
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
a.set(c, {
|
|
28
|
+
name: "Split Tag",
|
|
29
|
+
props: {
|
|
30
|
+
color: {
|
|
31
|
+
type: "TagKind",
|
|
32
|
+
default: "key"
|
|
33
|
+
},
|
|
34
|
+
href: { type: "string" },
|
|
35
|
+
target: { type: "'_blank' | '_self' | '_parent' | '_top'" },
|
|
36
|
+
icon: {
|
|
37
|
+
type: "boolean | IconName",
|
|
38
|
+
default: "false"
|
|
39
|
+
},
|
|
40
|
+
tagKey: {
|
|
41
|
+
type: "string",
|
|
42
|
+
required: !0
|
|
43
|
+
},
|
|
44
|
+
value: {
|
|
45
|
+
type: "string",
|
|
46
|
+
required: !0
|
|
47
|
+
}
|
|
48
|
+
}
|
|
29
49
|
});
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { c as SplitTag };
|
|
@@ -1,10 +1,36 @@
|
|
|
1
|
+
import { createRuntimeFn as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
1
2
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
//#region src/tags/split-tag/SplitTag.css.ts
|
|
4
|
+
var t = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf0",
|
|
6
|
+
variantClassNames: { wrap: {
|
|
7
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf2"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { wrap: !1 },
|
|
11
|
+
compoundVariants: []
|
|
12
|
+
}), n = "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf3", r = "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf4", i = e({
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf5",
|
|
14
|
+
variantClassNames: {
|
|
15
|
+
href: {
|
|
16
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf6",
|
|
17
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf7"
|
|
18
|
+
},
|
|
19
|
+
kind: {
|
|
20
|
+
default: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf8",
|
|
21
|
+
key: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf9",
|
|
22
|
+
warning: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfa",
|
|
23
|
+
error: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfb",
|
|
24
|
+
pending: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfc",
|
|
25
|
+
success: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfd",
|
|
26
|
+
info: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfe"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
href: !1,
|
|
31
|
+
kind: "default"
|
|
32
|
+
},
|
|
33
|
+
compoundVariants: []
|
|
34
|
+
}), a = "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrff";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { t as splitTag, n as splitTagKey, r as splitTagKeyText, a as splitTagLink, i as splitTagValue };
|
package/lib/tags/style.css
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r0{text-align:left;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;border-radius:.125rem;padding:.125rem .25rem;font-size:.75rem;font-weight:600;line-height:.75rem;display:inline-block;overflow:hidden}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r1{color:#4b5356;background:#e9e9ea}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r2{color:#fff;background:#4b5356}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r3{color:#fff;background:#e7760b}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r4{color:#fff;background:#de002e}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r5{color:#fff;background:#91467f}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r6{color:#fff;background:#0b8940}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r7{color:#fff;background:#007db8}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r8{white-space:normal;word-break:break-word;text-overflow:clip;flex-wrap:nowrap;align-items:start;height:auto;line-height:.875rem;display:inline-flex}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2ra{height:1em;margin-right:.25rem;font-size:.75rem;line-height:.625rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2ra:before{vertical-align:text-bottom}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rb{display:none}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu50{color:#09638d;border-radius:.125rem;max-width:100%;height:1.125rem;font-size:.75rem;font-weight:600;line-height:.75rem;display:inline-flex}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu51{background-color:#e6f2f8}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu52{background-color:#e9e9ea}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu53{color:#717779;cursor:not-allowed;background-color:#fff;border:.0625rem solid #d2d4d4}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu55{height:auto}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu57{text-overflow:ellipsis;white-space:nowrap;border-radius:.125rem;flex-grow:1;flex-shrink:1;height:1.125rem;padding:.125rem .25rem;overflow:hidden}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu57:focus-within{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu58{cursor:pointer;text-decoration:underline}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu58:hover{color:#e6f2f8;background-color:#09638d;border-radius:.125rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5a{white-space:normal;word-break:break-word;height:auto;line-height:.875rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5g{border-radius:.125rem 0 0 .125rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5h{color:#09638d;border-radius:0 .125rem .125rem 0;height:1.125rem;padding:.125rem .25rem;line-height:.75rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5h:hover{color:#e6f2f8;cursor:pointer;background-color:#09638d}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5h:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5i{align-content:center;height:auto}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5k{cursor:pointer;vertical-align:middle;font-size:.625rem;text-decoration:none;position:relative;top:-.0625rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5l:focus{outline:none}span>.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5l{color:#09638d}span:hover>.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_1avalu5l{color:#e6f2f8}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf0{display:inline-block}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf1{display:inline-flex}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf3{border-radius:.125rem 0 0 .125rem}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf5{background:#fff;border-radius:0 .125rem .125rem 0;padding:.125rem .25rem;box-shadow:inset .0625rem 0 #e9e9ea,inset -.0625rem 0 #e9e9ea,inset 0 .0625rem #e9e9ea,inset 0 -.0625rem #e9e9ea}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf5:focus-within{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf6{cursor:pointer;color:#4b5356;text-decoration:underline}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf9{box-shadow:inset .0625rem 0 #4b5356,inset -.0625rem 0 #4b5356,inset 0 .0625rem #4b5356,inset 0 -.0625rem #4b5356}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfa{box-shadow:inset .0625rem 0 #e7760b,inset -.0625rem 0 #e7760b,inset 0 .0625rem #e7760b,inset 0 -.0625rem #e7760b}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfb{box-shadow:inset .0625rem 0 #de002e,inset -.0625rem 0 #de002e,inset 0 .0625rem #de002e,inset 0 -.0625rem #de002e}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfc{box-shadow:inset .0625rem 0 #91467f,inset -.0625rem 0 #91467f,inset 0 .0625rem #91467f,inset 0 -.0625rem #91467f}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfd{box-shadow:inset .0625rem 0 #0b8940,inset -.0625rem 0 #0b8940,inset 0 .0625rem #0b8940,inset 0 -.0625rem #0b8940}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrfe{box-shadow:inset .0625rem 0 #007db8,inset -.0625rem 0 #007db8,inset 0 .0625rem #007db8,inset 0 -.0625rem #007db8}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrff,.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrff:hover{color:#4b5356}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrff:focus{outline:none}.pkg_sps-woodland_core__family_tags__version_8_56_3__hash_16xtnrf3>i{margin-right:0}
|
|
2
|
+
/*$vite$:1*/
|
package/lib/tags/tag/Tag.js
CHANGED
|
@@ -1,41 +1,45 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { tag as e, tagIcon as t } from "./Tag.ve.js";
|
|
2
|
+
import { Icon as n, Metadata as r, cl as i } from "@sps-woodland/core";
|
|
3
|
+
import * as a from "react";
|
|
4
|
+
//#region src/tags/tag/Tag.tsx
|
|
5
|
+
var o = Object.freeze({
|
|
6
|
+
default: "info-circle",
|
|
7
|
+
key: "info-circle",
|
|
8
|
+
warning: "status-warning",
|
|
9
|
+
error: "status-error",
|
|
10
|
+
pending: "status-in-process",
|
|
11
|
+
success: "status-ok",
|
|
12
|
+
info: "info-circle"
|
|
12
13
|
});
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
className: n(p({ kind: a ? "custom" : t })),
|
|
26
|
-
icon: o
|
|
27
|
-
}
|
|
28
|
-
), r);
|
|
14
|
+
function s({ children: r, className: s, kind: c = "default", icon: l, wrap: u, ...d }) {
|
|
15
|
+
let f = typeof l == "string", p = l && f ? l : l ? o[c] : void 0;
|
|
16
|
+
return /* @__PURE__ */ a.createElement("span", {
|
|
17
|
+
className: i(e({
|
|
18
|
+
kind: c,
|
|
19
|
+
wrap: u
|
|
20
|
+
}), s),
|
|
21
|
+
...d
|
|
22
|
+
}, p && /* @__PURE__ */ a.createElement(n, {
|
|
23
|
+
className: i(t({ kind: f ? "custom" : c })),
|
|
24
|
+
icon: p
|
|
25
|
+
}), r);
|
|
29
26
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
r.set(s, {
|
|
28
|
+
name: "Tag",
|
|
29
|
+
props: {
|
|
30
|
+
kind: {
|
|
31
|
+
type: "TagKind",
|
|
32
|
+
default: "default"
|
|
33
|
+
},
|
|
34
|
+
icon: {
|
|
35
|
+
type: "boolean | IconName",
|
|
36
|
+
default: "false"
|
|
37
|
+
},
|
|
38
|
+
wrap: {
|
|
39
|
+
type: "boolean",
|
|
40
|
+
default: "false"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
37
43
|
});
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
d as TagIcons
|
|
41
|
-
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { s as Tag, o as TagIcons };
|
package/lib/tags/tag/Tag.ve.js
CHANGED
|
@@ -1,7 +1,42 @@
|
|
|
1
|
+
import { createRuntimeFn as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
1
2
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
//#region src/tags/tag/Tag.css.ts
|
|
4
|
+
var t = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r0",
|
|
6
|
+
variantClassNames: {
|
|
7
|
+
kind: {
|
|
8
|
+
default: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r1",
|
|
9
|
+
key: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r2",
|
|
10
|
+
warning: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r3",
|
|
11
|
+
error: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r4",
|
|
12
|
+
pending: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r5",
|
|
13
|
+
success: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r6",
|
|
14
|
+
info: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r7"
|
|
15
|
+
},
|
|
16
|
+
wrap: {
|
|
17
|
+
true: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r8",
|
|
18
|
+
false: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2r9"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
defaultVariants: {
|
|
22
|
+
kind: "default",
|
|
23
|
+
wrap: !1
|
|
24
|
+
},
|
|
25
|
+
compoundVariants: []
|
|
26
|
+
}), n = e({
|
|
27
|
+
defaultClassName: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2ra",
|
|
28
|
+
variantClassNames: { kind: {
|
|
29
|
+
default: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rb",
|
|
30
|
+
key: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rc",
|
|
31
|
+
warning: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rd",
|
|
32
|
+
error: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2re",
|
|
33
|
+
pending: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rf",
|
|
34
|
+
success: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rg",
|
|
35
|
+
info: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2rh",
|
|
36
|
+
custom: "pkg_sps-woodland_core__family_tags__version_8_56_3__hash_k59j2ri"
|
|
37
|
+
} },
|
|
38
|
+
defaultVariants: { kind: "default" },
|
|
39
|
+
compoundVariants: []
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { t as tag, n as tagIcon };
|
package/lib/utils/cl.js
CHANGED
|
@@ -1,31 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}) {
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { microZeroStateIcon as e, zeroState as t, zeroStateContent as n, zeroStateHeading as r, zeroStateImage as i, zeroStateWrapper as a } from "./ZeroState.ve.js";
|
|
2
|
+
import { Icon as o, Metadata as s, cl as c, contentOf as l } from "@sps-woodland/core";
|
|
3
|
+
import * as u from "react";
|
|
4
|
+
import { BUILDING_LARGE as d } from "@sps-woodland/illustrations";
|
|
5
|
+
//#region src/zero-state/ZeroState.tsx
|
|
6
|
+
function f({ artwork: s, heading: f, illustration: p, subHeading: m, micro: h = !1, children: g, className: _, icon: v, ...y }) {
|
|
7
|
+
let b = p || s || d;
|
|
8
|
+
return /* @__PURE__ */ u.createElement("div", { className: a({ micro: h }) }, /* @__PURE__ */ u.createElement("div", {
|
|
9
|
+
className: c(t({ micro: h }), _),
|
|
10
|
+
...y
|
|
11
|
+
}, h ? /* @__PURE__ */ u.createElement(u.Fragment, null, v ? /* @__PURE__ */ u.createElement(o, {
|
|
12
|
+
className: e,
|
|
13
|
+
icon: v,
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
}) : /* @__PURE__ */ u.createElement("img", {
|
|
16
|
+
style: { height: "3rem" },
|
|
17
|
+
src: b
|
|
18
|
+
})) : /* @__PURE__ */ u.createElement("img", {
|
|
19
|
+
className: i,
|
|
20
|
+
src: b,
|
|
21
|
+
alt: ""
|
|
22
|
+
}), f && (typeof f == "string" ? /* @__PURE__ */ u.createElement("h1", { className: r({ micro: h }) }, f) : l(f)), m && (typeof m == "string" ? /* @__PURE__ */ u.createElement("h2", { className: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luua" }, m) : l(m)), /* @__PURE__ */ u.createElement("div", { className: n }, g)));
|
|
18
23
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
s.set(f, {
|
|
25
|
+
name: "ZeroState",
|
|
26
|
+
props: {
|
|
27
|
+
artwork: { type: "string" },
|
|
28
|
+
heading: { type: "string | ReactNodeOrRenderFn" },
|
|
29
|
+
illustration: { type: "string" },
|
|
30
|
+
subHeading: { type: "string | ReactNodeOrRenderFn" },
|
|
31
|
+
micro: {
|
|
32
|
+
type: "boolean",
|
|
33
|
+
default: "false"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
28
36
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { f as ZeroState };
|
|
@@ -1,12 +1,30 @@
|
|
|
1
|
+
import { createRuntimeFn as e } from "../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
1
2
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
//#region src/zero-state/ZeroState.css.ts
|
|
4
|
+
var t = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu0",
|
|
6
|
+
variantClassNames: { micro: {
|
|
7
|
+
true: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu2"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: {},
|
|
11
|
+
compoundVariants: []
|
|
12
|
+
}), n = e({
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu3",
|
|
14
|
+
variantClassNames: { micro: {
|
|
15
|
+
true: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu4",
|
|
16
|
+
false: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu5"
|
|
17
|
+
} },
|
|
18
|
+
defaultVariants: { micro: !1 },
|
|
19
|
+
compoundVariants: []
|
|
20
|
+
}), r = "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu6", i = e({
|
|
21
|
+
defaultClassName: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu7",
|
|
22
|
+
variantClassNames: { micro: {
|
|
23
|
+
true: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu8",
|
|
24
|
+
false: "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luu9"
|
|
25
|
+
} },
|
|
26
|
+
defaultVariants: { micro: !1 },
|
|
27
|
+
compoundVariants: []
|
|
28
|
+
}), a = "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luua", o = "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luub", s = "pkg_sps-woodland_core__family_zero-state__version_8_56_3__hash_sa7luuc";
|
|
29
|
+
//#endregion
|
|
30
|
+
export { s as microZeroStateIcon, n as zeroState, o as zeroStateContent, i as zeroStateHeading, r as zeroStateImage, a as zeroStateSubheading, t as zeroStateWrapper };
|