@sps-woodland/core 8.56.1 → 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.css.d.ts.map +1 -1
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -1
- package/lib/add-to-list/add-to-list/AddToList.js +220 -295
- package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
- package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -1
- package/lib/add-to-list/add-to-list/ItemsList.js +42 -66
- package/lib/add-to-list/add-to-list/ListItem.js +24 -50
- package/lib/add-to-list/index.js +393 -444
- package/lib/add-to-list/index.umd.cjs +1 -1
- package/lib/add-to-list/style.css +2 -1
- package/lib/buttons/button/Button.css.d.ts.map +1 -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.css.d.ts.map +1 -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.d.ts.map +1 -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.css.d.ts.map +1 -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.css.d.ts.map +1 -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.css.d.ts.map +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.css.d.ts.map +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +41 -33
- 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 -94
- 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 -173
- 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.css.d.ts.map +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.js +36 -47
- 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.css.d.ts.map +1 -1
- 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 -216
- package/lib/side-nav/index.umd.cjs +1 -1
- package/lib/side-nav/side-nav/SideNav.css.d.ts.map +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.d.ts.map +1 -1
- package/lib/side-nav/side-nav-item/SideNavItem.js +68 -82
- 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 -243
- 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.css.d.ts +2 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -75
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -5
- package/lib/sorting-header/style.css +2 -1
- package/lib/style.css +2 -1
- package/lib/tabs/index.js +255 -200
- package/lib/tabs/index.umd.cjs +1 -1
- package/lib/tabs/style.css +2 -1
- package/lib/tabs/tab/Tab.css.d.ts.map +1 -1
- package/lib/tabs/tab/Tab.js +24 -27
- package/lib/tabs/tab/Tab.ve.js +76 -6
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -1
- package/lib/tabs/tab-panel/TabPanel.js +16 -23
- package/lib/tabs/tabs/Tabs.css.d.ts +1 -0
- package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -1
- package/lib/tabs/tabs/Tabs.js +101 -112
- package/lib/tabs/tabs/Tabs.ve.js +13 -10
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts +1 -1
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -1
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -1
- package/lib/tags/clickable-tag/ClickableTag.js +86 -70
- package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
- package/lib/tags/index.js +342 -179
- package/lib/tags/index.umd.cjs +1 -1
- package/lib/tags/split-tag/SplitTag.css.d.ts.map +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,124 +1,162 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { grid as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { Icon as e, Metadata as t, cl as n, contentOf as r, selectChildren as i } from "@sps-woodland/core";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { grid as o } from "@sps-woodland/tokens";
|
|
4
|
+
//#region src/content-tiles/content-tile-list/ContentTileList.css.ts
|
|
5
|
+
var s = "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e0", c = "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e1";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ../../../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
|
|
8
|
+
function l(e, t, n) {
|
|
9
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
10
|
+
value: n,
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
configurable: !0,
|
|
13
|
+
writable: !0
|
|
14
|
+
}) : e[t] = n, e;
|
|
12
15
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
function u(e, t) {
|
|
17
|
+
var n = Object.keys(e);
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
20
|
+
t && (r = r.filter(function(t) {
|
|
21
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
22
|
+
})), n.push.apply(n, r);
|
|
23
|
+
}
|
|
24
|
+
return n;
|
|
22
25
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
function d(e) {
|
|
27
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
28
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
29
|
+
t % 2 ? u(Object(n), !0).forEach(function(t) {
|
|
30
|
+
l(e, t, n[t]);
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function(t) {
|
|
32
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return e;
|
|
33
36
|
}
|
|
34
|
-
var
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
37
|
+
var f = (e, t, n) => {
|
|
38
|
+
for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
|
|
39
|
+
return !0;
|
|
40
|
+
}, p = (e) => (t) => {
|
|
41
|
+
var n = e.defaultClassName, r = d(d({}, e.defaultVariants), t);
|
|
42
|
+
for (var i in r) {
|
|
43
|
+
var a = r[i] ?? e.defaultVariants[i];
|
|
44
|
+
if (a != null) {
|
|
45
|
+
var o = a;
|
|
46
|
+
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
47
|
+
var s = e.variantClassNames[i][o];
|
|
48
|
+
s && (n += " " + s);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
for (var [c, l] of e.compoundVariants) f(c, r, e.defaultVariants) && (n += " " + l);
|
|
52
|
+
return n;
|
|
53
|
+
}, m = "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw0", h = p({
|
|
54
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw1",
|
|
55
|
+
variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw2" } },
|
|
56
|
+
defaultVariants: { disabled: !1 },
|
|
57
|
+
compoundVariants: []
|
|
58
|
+
}), g = "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw3", _ = p({
|
|
59
|
+
defaultClassName: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw4",
|
|
60
|
+
variantClassNames: {
|
|
61
|
+
error: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw5" },
|
|
62
|
+
warning: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw6" },
|
|
63
|
+
disabled: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw7" }
|
|
64
|
+
},
|
|
65
|
+
defaultVariants: {
|
|
66
|
+
error: !1,
|
|
67
|
+
warning: !1,
|
|
68
|
+
disabled: !1
|
|
69
|
+
},
|
|
70
|
+
compoundVariants: []
|
|
71
|
+
}), v = p({
|
|
72
|
+
defaultClassName: "",
|
|
73
|
+
variantClassNames: {
|
|
74
|
+
error: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw8" },
|
|
75
|
+
warning: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw9" },
|
|
76
|
+
disabled: { true: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwa" }
|
|
77
|
+
},
|
|
78
|
+
defaultVariants: {
|
|
79
|
+
error: !1,
|
|
80
|
+
disabled: !1,
|
|
81
|
+
warning: !1
|
|
82
|
+
},
|
|
83
|
+
compoundVariants: []
|
|
84
|
+
}), y = "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwc", b = "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwd";
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region src/content-tiles/content-tile/ContentTile.tsx
|
|
87
|
+
function x({ className: s, href: l, icon: u, error: d = !1, errorIcon: f, title: p, warning: x = !1, warningIcon: S, disabled: C = !1, target: w, onClick: T, tagElement: E, ...D }) {
|
|
88
|
+
let [O] = i(E, [{ custom: (e) => t.isWoodlandComponent(e) && t.get(e).name === "Tag" }]);
|
|
89
|
+
return /* @__PURE__ */ a.createElement("div", {
|
|
90
|
+
className: n(o[3], m, s),
|
|
91
|
+
...D
|
|
92
|
+
}, /* @__PURE__ */ a.createElement("a", {
|
|
93
|
+
href: C ? void 0 : l,
|
|
94
|
+
className: n(_({
|
|
95
|
+
error: d,
|
|
96
|
+
warning: x,
|
|
97
|
+
disabled: C
|
|
98
|
+
}), c),
|
|
99
|
+
target: w,
|
|
100
|
+
onClick: T
|
|
101
|
+
}, (x || d) && /* @__PURE__ */ a.createElement("div", { className: "pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwb" }, x && (S ? r(S) : /* @__PURE__ */ a.createElement(e, {
|
|
102
|
+
icon: "status-warning",
|
|
103
|
+
className: n(v({
|
|
104
|
+
warning: x,
|
|
105
|
+
disabled: C
|
|
106
|
+
}))
|
|
107
|
+
})), d && (f ? r(f) : /* @__PURE__ */ a.createElement(e, {
|
|
108
|
+
icon: "ban",
|
|
109
|
+
className: n(v({
|
|
110
|
+
error: d,
|
|
111
|
+
disabled: C
|
|
112
|
+
}))
|
|
113
|
+
}))), O[0] && /* @__PURE__ */ a.createElement("div", { className: n("pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwf") }, O[0]), /* @__PURE__ */ a.createElement("div", null, /* @__PURE__ */ a.createElement("div", { className: n(g) }, typeof u == "string" ? /* @__PURE__ */ a.createElement("img", {
|
|
114
|
+
className: n(h({ disabled: C })),
|
|
115
|
+
src: u,
|
|
116
|
+
alt: ""
|
|
117
|
+
}) : r(u)), /* @__PURE__ */ a.createElement("div", { className: n(y) }, /* @__PURE__ */ a.createElement("p", { className: n(b) }, p, w === "_blank" && /* @__PURE__ */ a.createElement(e, {
|
|
118
|
+
icon: "tabs",
|
|
119
|
+
className: n("pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwe")
|
|
120
|
+
}))))));
|
|
97
121
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
122
|
+
t.set(x, {
|
|
123
|
+
name: "Content Tile",
|
|
124
|
+
props: {
|
|
125
|
+
href: { type: "string" },
|
|
126
|
+
icon: {
|
|
127
|
+
type: "React.ReactNode | (() => React.ReactNode)",
|
|
128
|
+
required: !0
|
|
129
|
+
},
|
|
130
|
+
error: {
|
|
131
|
+
type: "boolean",
|
|
132
|
+
default: "false"
|
|
133
|
+
},
|
|
134
|
+
errorIcon: { type: "React.ReactNode | (() => React.ReactNode)" },
|
|
135
|
+
title: {
|
|
136
|
+
type: "string",
|
|
137
|
+
required: !0
|
|
138
|
+
},
|
|
139
|
+
warning: {
|
|
140
|
+
type: "boolean",
|
|
141
|
+
default: "false"
|
|
142
|
+
},
|
|
143
|
+
warningIcon: { type: "React.ReactNode | (() => React.ReactNode)" },
|
|
144
|
+
disabled: {
|
|
145
|
+
type: "boolean",
|
|
146
|
+
default: "false"
|
|
147
|
+
},
|
|
148
|
+
target: { type: "string" },
|
|
149
|
+
onClick: { type: "() => void" }
|
|
150
|
+
}
|
|
112
151
|
});
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/content-tiles/content-tile-list/ContentTileList.tsx
|
|
154
|
+
function S({ children: e, className: t, ...r }) {
|
|
155
|
+
return /* @__PURE__ */ a.createElement("div", {
|
|
156
|
+
className: n(s, t),
|
|
157
|
+
...r
|
|
158
|
+
}, e);
|
|
119
159
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
K as ContentTileList
|
|
124
|
-
};
|
|
160
|
+
t.set(S, { name: "Content Tile List" });
|
|
161
|
+
//#endregion
|
|
162
|
+
export { x as ContentTile, S as ContentTileList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("@sps-woodland/core"),require("react"),require("@sps-woodland/tokens")):typeof define==`function`&&define.amd?define([`exports`,`@sps-woodland/core`,`react`,`@sps-woodland/tokens`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.ContentTiles={},e.spsWoodlandCore,e.react,e.spsWoodlandTokens))})(this,function(e,t,n,r){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var i=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=s(t),c=0,u=i.length,d;c<u;c++)d=i[c],!l.call(e,d)&&d!==n&&a(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=o(t,d))||r.enumerable});return e};n=((e,t,n)=>(n=e==null?{}:i(c(e)),u(t||!e||!e.__esModule||!l.call(e,`default`)?a(n,`default`,{value:e,enumerable:!0}):n,e)))(n,1);var d=`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e0`,f=`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e1`;function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?m(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g=(e,t,n)=>{for(var r of Object.keys(e))if(e[r]!==(t[r]??n[r]))return!1;return!0},_=e=>t=>{var n=e.defaultClassName,r=h(h({},e.defaultVariants),t);for(var i in r){var a=r[i]??e.defaultVariants[i];if(a!=null){var o=a;typeof o==`boolean`&&(o=o===!0?`true`:`false`);var s=e.variantClassNames[i][o];s&&(n+=` `+s)}}for(var[c,l]of e.compoundVariants)g(c,r,e.defaultVariants)&&(n+=` `+l);return n},v=`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw0`,y=_({defaultClassName:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw1`,variantClassNames:{disabled:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw2`}},defaultVariants:{disabled:!1},compoundVariants:[]}),b=`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw3`,x=_({defaultClassName:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw4`,variantClassNames:{error:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw5`},warning:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw6`},disabled:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw7`}},defaultVariants:{error:!1,warning:!1,disabled:!1},compoundVariants:[]}),S=_({defaultClassName:``,variantClassNames:{error:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw8`},warning:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw9`},disabled:{true:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwa`}},defaultVariants:{error:!1,disabled:!1,warning:!1},compoundVariants:[]}),C=`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwc`,w=`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwd`;function T({className:e,href:i,icon:a,error:o=!1,errorIcon:s,title:c,warning:l=!1,warningIcon:u,disabled:d=!1,target:p,onClick:m,tagElement:h,...g}){let[_]=(0,t.selectChildren)(h,[{custom:e=>t.Metadata.isWoodlandComponent(e)&&t.Metadata.get(e).name===`Tag`}]);return n.createElement(`div`,{className:(0,t.cl)(r.grid[3],v,e),...g},n.createElement(`a`,{href:d?void 0:i,className:(0,t.cl)(x({error:o,warning:l,disabled:d}),f),target:p,onClick:m},(l||o)&&n.createElement(`div`,{className:`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwb`},l&&(u?(0,t.contentOf)(u):n.createElement(t.Icon,{icon:`status-warning`,className:(0,t.cl)(S({warning:l,disabled:d}))})),o&&(s?(0,t.contentOf)(s):n.createElement(t.Icon,{icon:`ban`,className:(0,t.cl)(S({error:o,disabled:d}))}))),_[0]&&n.createElement(`div`,{className:(0,t.cl)(`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwf`)},_[0]),n.createElement(`div`,null,n.createElement(`div`,{className:(0,t.cl)(b)},typeof a==`string`?n.createElement(`img`,{className:(0,t.cl)(y({disabled:d})),src:a,alt:``}):(0,t.contentOf)(a)),n.createElement(`div`,{className:(0,t.cl)(C)},n.createElement(`p`,{className:(0,t.cl)(w)},c,p===`_blank`&&n.createElement(t.Icon,{icon:`tabs`,className:(0,t.cl)(`pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwe`)}))))))}t.Metadata.set(T,{name:`Content Tile`,props:{href:{type:`string`},icon:{type:`React.ReactNode | (() => React.ReactNode)`,required:!0},error:{type:`boolean`,default:`false`},errorIcon:{type:`React.ReactNode | (() => React.ReactNode)`},title:{type:`string`,required:!0},warning:{type:`boolean`,default:`false`},warningIcon:{type:`React.ReactNode | (() => React.ReactNode)`},disabled:{type:`boolean`,default:`false`},target:{type:`string`},onClick:{type:`() => void`}}});function E({children:e,className:r,...i}){return n.createElement(`div`,{className:(0,t.cl)(d,r),...i},e)}t.Metadata.set(E,{name:`Content Tile List`}),e.ContentTile=T,e.ContentTileList=E});
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_content-
|
|
1
|
+
.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e0{grid-template-columns:1fr 1fr 1fr 1fr;gap:1rem;display:grid}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e1{color:#000}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_1dggj5e1:hover{color:#000;text-decoration:none}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw0{transition:all .25s}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw1{width:3.75rem;height:3.75rem}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw2{opacity:.25}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw3{width:3.75rem;height:3.75rem;margin:1rem auto}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw4{cursor:pointer;background-color:#fff;border:.0625rem solid #d2d4d4;border-radius:.25rem;height:8.625rem;text-decoration:none;display:block;position:relative}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw4:hover{color:#000;border-color:#007db8}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw4:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw5{border-color:#de002e}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw5:hover{cursor:not-allowed;border-color:#de002e}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw6{border-color:#e7760b}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw7{color:#d2d4d4;background-color:#f3f4f4;border-color:#d2d4d4}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw7:hover{cursor:not-allowed;border-color:#d2d4d4}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw8{color:#de002e}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inw9{color:#e7760b}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwa{color:#717779}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwb{padding:.5rem;position:absolute}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwc{text-align:center;padding-left:.5rem;padding-right:.5rem}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwd{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwe{color:#007db8;margin-left:.5rem}.pkg_sps-woodland_core__family_content-tiles__version_8_56_3__hash_w95inwf{padding:.5rem;position:absolute;right:0}
|
|
2
|
+
/*$vite$:1*/
|