@sps-woodland/core 8.53.11 → 8.53.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action-bar/action-bar/ActionBar.ve.js +8 -8
- package/lib/action-bar/index.js +30 -30
- package/lib/action-bar/index.umd.cjs +1 -1
- package/lib/action-bar/style.css +1 -1
- package/lib/add-to-list/add-to-list/AddToList.ve.js +19 -19
- package/lib/add-to-list/index.js +183 -183
- package/lib/add-to-list/index.umd.cjs +1 -1
- package/lib/add-to-list/style.css +1 -1
- package/lib/buttons/button/Button.ve.js +4 -4
- package/lib/buttons/index.js +48 -48
- package/lib/buttons/index.umd.cjs +1 -1
- package/lib/buttons/style.css +1 -1
- package/lib/cards/card/Card.ve.js +1 -1
- package/lib/cards/card-footer/CardFooter.ve.js +2 -2
- package/lib/cards/card-header/CardHeader.ve.js +1 -1
- package/lib/cards/card-title/CardTitle.ve.js +2 -2
- package/lib/cards/index.js +21 -21
- package/lib/cards/index.umd.cjs +1 -1
- package/lib/cards/style.css +1 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +2 -2
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -1
- package/lib/components/title/Title.d.ts +1 -1
- package/lib/components/title/Title.d.ts.map +1 -1
- package/lib/content-row/content-row/ContentRow.ve.js +13 -13
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +2 -2
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +1 -1
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -1
- package/lib/content-row/index.js +159 -165
- package/lib/content-row/index.umd.cjs +1 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +10 -16
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +2 -2
- package/lib/content-row/style.css +1 -1
- package/lib/content-tiles/content-tile/ContentTile.ve.js +7 -7
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +3 -3
- package/lib/content-tiles/index.js +59 -59
- package/lib/content-tiles/index.umd.cjs +1 -1
- package/lib/content-tiles/style.css +1 -1
- package/lib/core.css +1 -1
- package/lib/dropdowns/dropdown/Dropdown.d.ts +1 -1
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -1
- package/lib/dropdowns/dropdown/Dropdown.ve.js +3 -3
- package/lib/dropdowns/index.js +84 -84
- package/lib/dropdowns/index.umd.cjs +1 -1
- package/lib/dropdowns/option-list/Option.d.ts +1 -1
- package/lib/dropdowns/option-list/Option.d.ts.map +1 -1
- package/lib/dropdowns/option-list/Option.ve.js +1 -1
- package/lib/dropdowns/option-list/OptionList.d.ts +1 -1
- package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -1
- package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
- package/lib/dropdowns/style.css +1 -1
- package/lib/editable-table/style.css +50 -17
- package/lib/examples.d.ts.map +1 -1
- package/lib/feedback-block/FeedbackBlock.ve.js +3 -3
- package/lib/feedback-block/index.js +54 -54
- package/lib/feedback-block/index.umd.cjs +1 -1
- package/lib/feedback-block/style.css +1 -1
- package/lib/file-upload/file-upload/FileUpload.d.ts +1 -1
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -1
- package/lib/file-upload/file-upload/FileUpload.js +46 -41
- package/lib/file-upload/file-upload/FileUpload.ve.js +14 -14
- package/lib/file-upload/index.js +115 -110
- package/lib/file-upload/index.umd.cjs +1 -1
- package/lib/file-upload/style.css +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +5 -5
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +2 -2
- package/lib/filter-tiles/index.js +55 -55
- package/lib/filter-tiles/index.umd.cjs +1 -1
- package/lib/filter-tiles/style.css +1 -1
- package/lib/focused-task/focused-task/FocusedTask.ve.js +9 -9
- package/lib/focused-task/index.js +49 -49
- package/lib/focused-task/index.umd.cjs +1 -1
- package/lib/focused-task/style.css +1 -1
- package/lib/growler/Growler.d.ts.map +1 -1
- package/lib/growler/Growler.ve.js +7 -7
- package/lib/growler/Sonner.ve.js +7 -7
- package/lib/growler/index.js +95 -101
- package/lib/growler/index.umd.cjs +1 -1
- package/lib/growler/sonner.js +21 -27
- package/lib/growler/style.css +1 -1
- package/lib/index.js +166 -167
- package/lib/index.umd.cjs +2 -2
- package/lib/insight-card/InsightCard.ve.js +7 -7
- package/lib/insight-card/index.js +59 -59
- package/lib/insight-card/index.umd.cjs +1 -1
- package/lib/insight-card/style.css +1 -1
- package/lib/key-value-set/index.js +53 -53
- package/lib/key-value-set/index.umd.cjs +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +2 -2
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +3 -3
- package/lib/key-value-set/style.css +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +5 -5
- package/lib/list-bar/index.js +88 -88
- package/lib/list-bar/index.umd.cjs +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBar.ve.js +12 -12
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +1 -1
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +1 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +2 -2
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +2 -4
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +8 -8
- package/lib/list-bar/style.css +1 -1
- package/lib/matrix/index.js +29 -29
- package/lib/matrix/index.umd.cjs +1 -1
- package/lib/matrix/matrix/Matrix.ve.js +2 -2
- package/lib/matrix/matrix-body/MatrixBody.d.ts +1 -1
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -1
- package/lib/matrix/matrix-head/MatrixHead.d.ts +1 -1
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -1
- package/lib/matrix/matrix-row/MatrixRow.d.ts +1 -1
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -1
- package/lib/matrix/style.css +1 -1
- package/lib/modal/index.js +86 -86
- package/lib/modal/index.umd.cjs +1 -1
- package/lib/modal/modal/Modal.ve.js +9 -9
- package/lib/modal/style.css +1 -1
- package/lib/page-title/index.js +17 -17
- package/lib/page-title/index.umd.cjs +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +3 -3
- package/lib/page-title/page-title/PageTitle.ve.js +4 -4
- package/lib/page-title/style.css +1 -1
- package/lib/photo/index.js +67 -67
- package/lib/photo/index.umd.cjs +1 -1
- package/lib/photo/photo/Photo.d.ts +2 -2
- package/lib/photo/photo/Photo.d.ts.map +1 -1
- package/lib/photo/photo/Photo.js +11 -11
- package/lib/photo/photo/Photo.ve.js +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -1
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +1 -1
- package/lib/photo/style.css +1 -1
- package/lib/product-bar/index.js +91 -93
- package/lib/product-bar/index.umd.cjs +1 -1
- package/lib/product-bar/product-bar/ProductBar.ve.js +10 -10
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -1
- package/lib/product-bar/product-bar-name/ProductBarName.js +13 -15
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +5 -5
- package/lib/product-bar/slack-link/SlackLink.ve.js +2 -2
- package/lib/product-bar/style.css +1 -1
- package/lib/product-bar-vertical/index.js +69 -69
- package/lib/product-bar-vertical/index.umd.cjs +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +20 -20
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -1
- package/lib/product-bar-vertical/style.css +1 -1
- package/lib/progress-indicators/index.js +79 -79
- package/lib/progress-indicators/index.umd.cjs +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +2 -2
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +10 -10
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +3 -3
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +4 -4
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +2 -2
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -1
- package/lib/progress-indicators/style.css +1 -1
- package/lib/rich-text-editor/index.js +86 -86
- package/lib/rich-text-editor/index.umd.cjs +2 -2
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +1 -1
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +2 -2
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +5 -5
- package/lib/rich-text-editor/style.css +1 -1
- package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
- package/lib/scrollable-container/index.js +8 -8
- package/lib/scrollable-container/index.umd.cjs +1 -1
- package/lib/scrollable-container/style.css +1 -1
- package/lib/side-nav/index.js +78 -78
- package/lib/side-nav/index.umd.cjs +1 -1
- package/lib/side-nav/side-nav/SideNav.ve.js +12 -12
- package/lib/side-nav/style.css +1 -1
- package/lib/sorting-header/caret/caret.ve.js +2 -2
- package/lib/sorting-header/index.js +125 -125
- package/lib/sorting-header/index.umd.cjs +1 -1
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +3 -3
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +2 -2
- package/lib/sorting-header/style.css +1 -1
- package/lib/style.css +1 -1
- package/lib/tabs/index.js +100 -100
- package/lib/tabs/index.umd.cjs +1 -1
- package/lib/tabs/style.css +1 -1
- package/lib/tabs/tab/Tab.ve.js +2 -2
- package/lib/tabs/tabs/Tabs.ve.js +5 -5
- package/lib/tags/clickable-tag/ClickableTag.ve.js +4 -4
- package/lib/tags/index.js +80 -80
- package/lib/tags/index.umd.cjs +1 -1
- package/lib/tags/split-tag/SplitTag.ve.js +2 -2
- package/lib/tags/style.css +1 -1
- package/lib/tags/tag/Tag.ve.js +3 -3
- package/lib/utils/VariantDefinitions.d.ts +1 -3
- package/lib/utils/VariantDefinitions.d.ts.map +1 -1
- package/lib/utils/combineEventHandlers.d.ts.map +1 -1
- package/lib/utils/getScrollParent.d.ts.map +1 -1
- package/lib/utils/modChildren.d.ts.map +1 -1
- package/lib/zero-state/ZeroState.ve.js +6 -6
- package/lib/zero-state/index.js +42 -42
- package/lib/zero-state/index.umd.cjs +1 -1
- package/lib/zero-state/style.css +1 -1
- package/package.json +11 -11
- package/scripts/watch-all.mjs +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
-
var e = _({ defaultClassName: "pkg_sps-
|
|
3
|
+
var e = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv4", variantClassNames: { expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv5", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv6" } }, defaultVariants: { expanded: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv7", variantClassNames: { cardSpacing: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv8", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv9" }, expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhva", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvb" }, selected: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvc", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvd" }, reorderable: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhve", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvf" } }, defaultVariants: { expanded: !1, selected: !1, cardSpacing: !1 }, compoundVariants: [[{ expanded: !0, cardSpacing: !0 }, "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvg"]] }), s = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvh", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvi", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvj" }, expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvk", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvl" } }, defaultVariants: { selected: !1, expanded: !1 }, compoundVariants: [] }), n = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvm", t = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvn", l = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvo", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvp", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvq" } }, defaultVariants: {}, compoundVariants: [] }), d = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvr", variantClassNames: { __autoLayout: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvs", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvt" } }, defaultVariants: { __autoLayout: !1 }, compoundVariants: [] }), h = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvu", i = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvv", p = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvw", variantClassNames: { reorderable: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvx", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvy" } }, defaultVariants: { reorderable: !1 }, compoundVariants: [] }), c = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvz", m = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv10", v = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv11", w = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv12", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv13", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv14" }, up: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv15", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv16" }, down: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv17", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv18" } }, defaultVariants: { disabled: !1, up: !1, down: !1 }, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
5
|
e as contentRow,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
r as contentRowColGroup,
|
|
7
|
+
d as contentRowExpansion,
|
|
8
|
+
s as contentTableRow,
|
|
9
9
|
n as contentTableRowSpacer,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
t as expandButton,
|
|
11
|
+
l as expandIcon,
|
|
12
|
+
m as indexContainer,
|
|
13
|
+
v as indexContainerElement,
|
|
14
|
+
c as indexContainerWrapper,
|
|
15
|
+
w as reorderableButton,
|
|
16
|
+
i as reorderableLayout,
|
|
17
|
+
p as reorderableSection,
|
|
18
|
+
h as section
|
|
19
19
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
4
|
-
var
|
|
4
|
+
var s = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr0", variantClassNames: { lean: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr1", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr2" }, borderless: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr3", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr4" }, wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr5", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr6" } }, defaultVariants: { lean: !1, borderless: !1, wrapContent: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr7", variantClassNames: { lean: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr8", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr9" }, borderless: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jra", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jrb" }, wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jrc", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jrd" } }, defaultVariants: { lean: !1, borderless: !1, wrapContent: !1 }, compoundVariants: [] });
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as contentRowCol,
|
|
7
7
|
r as contentRowTableCol
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { ComponentProps } from "@sps-woodland/core";
|
|
2
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
3
|
export declare function ContentRowExpansion({ children, className, __autoLayout, ...rest }: ComponentProps<{
|
|
4
4
|
__autoLayout?: boolean;
|
|
5
5
|
}, HTMLDivElement>): React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentRowExpansion.d.ts","sourceRoot":"","sources":["../../../src/content-row/content-row-expansion/ContentRowExpansion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"ContentRowExpansion.d.ts","sourceRoot":"","sources":["../../../src/content-row/content-row-expansion/ContentRowExpansion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKzD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,YAAoB,EACpB,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAoBrB"}
|
package/lib/content-row/index.js
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { Metadata as
|
|
2
|
+
import { Metadata as f, cl as s, selectChildren as Y, Icon as te, modChildren as re } from "@sps-woodland/core";
|
|
3
3
|
import { Button as K } from "@sps-woodland/core/button";
|
|
4
|
-
import { SpsTextInput as
|
|
4
|
+
import { SpsTextInput as se, SpsCheckbox as le } from "@spscommerce/ds-react";
|
|
5
5
|
import { useWoodlandLanguage as de } from "@spscommerce/i18n";
|
|
6
6
|
import { SpsIcon as M, ButtonKind as z } from "@spscommerce/ds-shared";
|
|
7
|
-
function
|
|
8
|
-
return
|
|
9
|
-
value:
|
|
7
|
+
function ce(_, n, a) {
|
|
8
|
+
return n in _ ? Object.defineProperty(_, n, {
|
|
9
|
+
value: a,
|
|
10
10
|
enumerable: !0,
|
|
11
11
|
configurable: !0,
|
|
12
12
|
writable: !0
|
|
13
|
-
}) :
|
|
13
|
+
}) : _[n] = a, _;
|
|
14
14
|
}
|
|
15
|
-
function G(
|
|
16
|
-
var
|
|
15
|
+
function G(_, n) {
|
|
16
|
+
var a = Object.keys(_);
|
|
17
17
|
if (Object.getOwnPropertySymbols) {
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
return Object.getOwnPropertyDescriptor(
|
|
21
|
-
})),
|
|
18
|
+
var o = Object.getOwnPropertySymbols(_);
|
|
19
|
+
n && (o = o.filter(function(t) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(_, t).enumerable;
|
|
21
|
+
})), a.push.apply(a, o);
|
|
22
22
|
}
|
|
23
|
-
return
|
|
23
|
+
return a;
|
|
24
24
|
}
|
|
25
|
-
function U(
|
|
26
|
-
for (var
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
31
|
-
Object.defineProperty(
|
|
25
|
+
function U(_) {
|
|
26
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
27
|
+
var a = arguments[n] != null ? arguments[n] : {};
|
|
28
|
+
n % 2 ? G(Object(a), !0).forEach(function(o) {
|
|
29
|
+
ce(_, o, a[o]);
|
|
30
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(a)) : G(Object(a)).forEach(function(o) {
|
|
31
|
+
Object.defineProperty(_, o, Object.getOwnPropertyDescriptor(a, o));
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return _;
|
|
35
35
|
}
|
|
36
|
-
var
|
|
37
|
-
for (var
|
|
38
|
-
var
|
|
39
|
-
if (
|
|
36
|
+
var ie = (_, n, a) => {
|
|
37
|
+
for (var o of Object.keys(_)) {
|
|
38
|
+
var t;
|
|
39
|
+
if (_[o] !== ((t = n[o]) !== null && t !== void 0 ? t : a[o]))
|
|
40
40
|
return !1;
|
|
41
41
|
}
|
|
42
42
|
return !0;
|
|
43
|
-
},
|
|
44
|
-
var
|
|
45
|
-
for (var
|
|
46
|
-
var l,
|
|
47
|
-
if (
|
|
48
|
-
var
|
|
49
|
-
typeof
|
|
50
|
-
var
|
|
43
|
+
}, i = (_) => (n) => {
|
|
44
|
+
var a = _.defaultClassName, o = U(U({}, _.defaultVariants), n);
|
|
45
|
+
for (var t in o) {
|
|
46
|
+
var l, c = (l = o[t]) !== null && l !== void 0 ? l : _.defaultVariants[t];
|
|
47
|
+
if (c != null) {
|
|
48
|
+
var r = c;
|
|
49
|
+
typeof r == "boolean" && (r = r === !0 ? "true" : "false");
|
|
50
|
+
var y = (
|
|
51
51
|
// @ts-expect-error
|
|
52
|
-
|
|
52
|
+
_.variantClassNames[t][r]
|
|
53
53
|
);
|
|
54
|
-
|
|
54
|
+
y && (a += " " + y);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
for (var [
|
|
58
|
-
|
|
59
|
-
return
|
|
60
|
-
},
|
|
61
|
-
function
|
|
62
|
-
children:
|
|
63
|
-
className:
|
|
64
|
-
borderless:
|
|
65
|
-
lean:
|
|
66
|
-
widthPx:
|
|
57
|
+
for (var [u, h] of _.compoundVariants)
|
|
58
|
+
ie(u, o, _.defaultVariants) && (a += " " + h);
|
|
59
|
+
return a;
|
|
60
|
+
}, pe = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr0", variantClassNames: { lean: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr1", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr2" }, borderless: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr3", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr4" }, wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr5", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr6" } }, defaultVariants: { lean: !1, borderless: !1, wrapContent: !1 }, compoundVariants: [] }), me = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr7", variantClassNames: { lean: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr8", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jr9" }, borderless: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jra", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jrb" }, wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jrc", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_gqq3jrd" } }, defaultVariants: { lean: !1, borderless: !1, wrapContent: !1 }, compoundVariants: [] });
|
|
61
|
+
function m({
|
|
62
|
+
children: _,
|
|
63
|
+
className: n,
|
|
64
|
+
borderless: a,
|
|
65
|
+
lean: o,
|
|
66
|
+
widthPx: t,
|
|
67
67
|
widthRem: l,
|
|
68
|
-
style:
|
|
69
|
-
wrapContent:
|
|
70
|
-
__autoLayout:
|
|
71
|
-
...
|
|
68
|
+
style: c,
|
|
69
|
+
wrapContent: r = !1,
|
|
70
|
+
__autoLayout: y = !1,
|
|
71
|
+
...u
|
|
72
72
|
}) {
|
|
73
|
-
const
|
|
74
|
-
...
|
|
75
|
-
width: `${
|
|
76
|
-
} :
|
|
77
|
-
return
|
|
73
|
+
const h = t ? t / 16 : l, w = h ? {
|
|
74
|
+
...c,
|
|
75
|
+
width: `${h}rem`
|
|
76
|
+
} : c;
|
|
77
|
+
return y ? /* @__PURE__ */ e.createElement(
|
|
78
78
|
"td",
|
|
79
79
|
{
|
|
80
|
-
className:
|
|
81
|
-
...
|
|
82
|
-
style:
|
|
80
|
+
className: s(me({ lean: o, borderless: a, wrapContent: r }), n),
|
|
81
|
+
...u,
|
|
82
|
+
style: w
|
|
83
83
|
},
|
|
84
|
-
|
|
84
|
+
_
|
|
85
85
|
) : /* @__PURE__ */ e.createElement(
|
|
86
86
|
"div",
|
|
87
87
|
{
|
|
88
|
-
className:
|
|
89
|
-
...
|
|
90
|
-
style:
|
|
88
|
+
className: s(pe({ lean: o, borderless: a, wrapContent: r }), n),
|
|
89
|
+
...u,
|
|
90
|
+
style: w
|
|
91
91
|
},
|
|
92
|
-
|
|
92
|
+
_
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
f.set(m, {
|
|
96
96
|
name: "Content Row Col",
|
|
97
97
|
props: {
|
|
98
98
|
borderless: { type: "boolean" },
|
|
@@ -102,126 +102,126 @@ h.set(u, {
|
|
|
102
102
|
wrapContent: { type: "boolean" }
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
|
-
var
|
|
105
|
+
var fe = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv4", variantClassNames: { expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv5", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv6" } }, defaultVariants: { expanded: !1 }, compoundVariants: [] }), ue = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv7", variantClassNames: { cardSpacing: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv8", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv9" }, expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhva", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvb" }, selected: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvc", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvd" }, reorderable: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhve", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvf" } }, defaultVariants: { expanded: !1, selected: !1, cardSpacing: !1 }, compoundVariants: [[{ expanded: !0, cardSpacing: !0 }, "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvg"]] }), he = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvh", variantClassNames: { selected: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvi", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvj" }, expanded: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvk", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvl" } }, defaultVariants: { selected: !1, expanded: !1 }, compoundVariants: [] }), we = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvm", ve = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvn", ye = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvo", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvp", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvq" } }, defaultVariants: {}, compoundVariants: [] }), J = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvr", variantClassNames: { __autoLayout: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvs", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvt" } }, defaultVariants: { __autoLayout: !1 }, compoundVariants: [] }), N = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvu", ge = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvv", Q = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvw", variantClassNames: { reorderable: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvx", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvy" } }, defaultVariants: { reorderable: !1 }, compoundVariants: [] }), xe = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhvz", Ce = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv10", be = "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv11", X = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv12", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv13", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv14" }, up: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv15", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv16" }, down: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv17", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_1m5rxhv18" } }, defaultVariants: { disabled: !1, up: !1, down: !1 }, compoundVariants: [] });
|
|
106
106
|
function Z({
|
|
107
|
-
children:
|
|
108
|
-
className:
|
|
109
|
-
__autoLayout:
|
|
110
|
-
...
|
|
107
|
+
children: _,
|
|
108
|
+
className: n,
|
|
109
|
+
__autoLayout: a = !1,
|
|
110
|
+
...o
|
|
111
111
|
}) {
|
|
112
|
-
return
|
|
112
|
+
return a ? /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement(
|
|
113
113
|
"td",
|
|
114
114
|
{
|
|
115
|
-
className:
|
|
115
|
+
className: s(J({ __autoLayout: a }), n),
|
|
116
116
|
colSpan: 100,
|
|
117
|
-
...
|
|
117
|
+
...o
|
|
118
118
|
},
|
|
119
|
-
|
|
120
|
-
)) : /* @__PURE__ */ e.createElement("div", { className:
|
|
119
|
+
_
|
|
120
|
+
)) : /* @__PURE__ */ e.createElement("div", { className: s(J({ __autoLayout: a }), n), ...o }, _);
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
f.set(Z, {
|
|
123
123
|
name: "Content Row Expansion"
|
|
124
124
|
});
|
|
125
|
-
function
|
|
126
|
-
children:
|
|
127
|
-
className:
|
|
128
|
-
alternateLayout:
|
|
129
|
-
initiallyExpanded:
|
|
130
|
-
cardSpacing:
|
|
125
|
+
function ke({
|
|
126
|
+
children: _,
|
|
127
|
+
className: n,
|
|
128
|
+
alternateLayout: a = !1,
|
|
129
|
+
initiallyExpanded: o = !1,
|
|
130
|
+
cardSpacing: t = !1,
|
|
131
131
|
expanded: l,
|
|
132
|
-
onBeforeCollapsed:
|
|
133
|
-
onBeforeExpanded:
|
|
134
|
-
onSelectionChange:
|
|
135
|
-
onCollapsed:
|
|
136
|
-
onExpanded:
|
|
137
|
-
selectable:
|
|
132
|
+
onBeforeCollapsed: c,
|
|
133
|
+
onBeforeExpanded: r,
|
|
134
|
+
onSelectionChange: y,
|
|
135
|
+
onCollapsed: u,
|
|
136
|
+
onExpanded: h,
|
|
137
|
+
selectable: w = !1,
|
|
138
138
|
selected: q,
|
|
139
139
|
selectIndeterminate: S,
|
|
140
140
|
renderExpandedContent: V = !0,
|
|
141
141
|
disableSelection: $ = !1,
|
|
142
142
|
disableExpansion: O = !1,
|
|
143
|
-
hideExpansionControl:
|
|
143
|
+
hideExpansionControl: b = !1,
|
|
144
144
|
__autoLayout: P = !1,
|
|
145
|
-
__reorderable:
|
|
146
|
-
__onOrderChange:
|
|
145
|
+
__reorderable: C = !1,
|
|
146
|
+
__onOrderChange: k = () => {
|
|
147
147
|
},
|
|
148
148
|
__index: d = 0,
|
|
149
149
|
__canBeMovedUp: I,
|
|
150
150
|
__canBeMovedDown: L,
|
|
151
151
|
...H
|
|
152
152
|
}) {
|
|
153
|
-
const [T, [
|
|
154
|
-
{ type:
|
|
153
|
+
const [T, [g]] = Y(_, [
|
|
154
|
+
{ type: m },
|
|
155
155
|
{ type: Z }
|
|
156
|
-
]), { t: ee } = de(), [
|
|
157
|
-
V ||
|
|
158
|
-
), [
|
|
156
|
+
]), { t: ee } = de(), [_e, B] = e.useState(
|
|
157
|
+
V || o
|
|
158
|
+
), [ae, W] = e.useState(o), p = typeof l == "boolean" ? l : ae, A = P ? p : _e, [R, j] = e.useState((d + 1).toString() || "");
|
|
159
159
|
e.useEffect(() => {
|
|
160
160
|
j((d + 1).toString() || "");
|
|
161
161
|
}, [d]);
|
|
162
|
-
function
|
|
163
|
-
j(
|
|
162
|
+
function oe(v) {
|
|
163
|
+
j(v.target.value);
|
|
164
164
|
}
|
|
165
165
|
function D() {
|
|
166
|
-
Number(R) ?
|
|
166
|
+
Number(R) ? k(d, Number(R) - 1) : (j((d + 1).toString() || ""), k(d, d));
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
168
|
+
function ne(v) {
|
|
169
|
+
v.stopPropagation(), p && (!c || c()) ? (W(!1), V || B(!1), u && u()) : !p && (!r || r()) && (W(!0), V || B(!0), h && h());
|
|
170
170
|
}
|
|
171
|
-
const
|
|
171
|
+
const x = () => /* @__PURE__ */ e.createElement(
|
|
172
172
|
le,
|
|
173
173
|
{
|
|
174
174
|
disabled: $,
|
|
175
175
|
checked: q,
|
|
176
176
|
indeterminate: S,
|
|
177
|
-
onChange:
|
|
177
|
+
onChange: y
|
|
178
178
|
}
|
|
179
|
-
),
|
|
179
|
+
), E = /* @__PURE__ */ e.createElement(
|
|
180
180
|
"button",
|
|
181
181
|
{
|
|
182
182
|
type: "button",
|
|
183
|
-
className:
|
|
184
|
-
onClick:
|
|
185
|
-
"aria-label": ee(`contentRow.${
|
|
183
|
+
className: s(ve),
|
|
184
|
+
onClick: ne,
|
|
185
|
+
"aria-label": ee(`contentRow.${p ? "collapse" : "expand"}`, { defaultValue: `${p ? "Collapse" : "Expand"}` }),
|
|
186
186
|
disabled: O
|
|
187
187
|
},
|
|
188
188
|
/* @__PURE__ */ e.createElement(
|
|
189
|
-
|
|
189
|
+
te,
|
|
190
190
|
{
|
|
191
|
-
className:
|
|
192
|
-
icon:
|
|
191
|
+
className: s(ye({ disabled: O })),
|
|
192
|
+
icon: p ? "minus-circle" : "plus-circle"
|
|
193
193
|
}
|
|
194
194
|
)
|
|
195
195
|
);
|
|
196
196
|
if (P) {
|
|
197
|
-
const
|
|
197
|
+
const v = /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", { className: s(we), colSpan: 100 }));
|
|
198
198
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
199
199
|
"tr",
|
|
200
200
|
{
|
|
201
|
-
className:
|
|
202
|
-
|
|
201
|
+
className: s(
|
|
202
|
+
he({ selected: q || S, expanded: p })
|
|
203
203
|
),
|
|
204
204
|
...H
|
|
205
205
|
},
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
w && !a && /* @__PURE__ */ e.createElement(m, { widthPx: 46, __autoLayout: !0 }, /* @__PURE__ */ e.createElement(x, null)),
|
|
207
|
+
g && !a && !b && /* @__PURE__ */ e.createElement(m, { widthPx: 44, __autoLayout: !0 }, E),
|
|
208
|
+
g && w && a && /* @__PURE__ */ e.createElement(m, { widthPx: 46, __autoLayout: !0 }, b ? /* @__PURE__ */ e.createElement(x, null) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("section", { className: N }, /* @__PURE__ */ e.createElement(x, null)), /* @__PURE__ */ e.createElement("section", { className: N }, E))),
|
|
209
209
|
T
|
|
210
|
-
), A &&
|
|
210
|
+
), A && g, v);
|
|
211
211
|
}
|
|
212
|
-
const F = /* @__PURE__ */ e.createElement("div", { className:
|
|
212
|
+
const F = /* @__PURE__ */ e.createElement("div", { className: s(fe({ expanded: p }), n), ...H }, /* @__PURE__ */ e.createElement(
|
|
213
213
|
"div",
|
|
214
214
|
{
|
|
215
|
-
className:
|
|
216
|
-
|
|
217
|
-
expanded:
|
|
215
|
+
className: s(
|
|
216
|
+
ue({
|
|
217
|
+
expanded: p,
|
|
218
218
|
selected: q,
|
|
219
|
-
cardSpacing:
|
|
220
|
-
reorderable:
|
|
219
|
+
cardSpacing: t,
|
|
220
|
+
reorderable: C
|
|
221
221
|
})
|
|
222
222
|
)
|
|
223
223
|
},
|
|
224
|
-
|
|
224
|
+
C && /* @__PURE__ */ e.createElement(m, { widthPx: 53, style: { position: "relative" } }, /* @__PURE__ */ e.createElement("section", { className: Q({ reorderable: C }) }, /* @__PURE__ */ e.createElement(
|
|
225
225
|
K,
|
|
226
226
|
{
|
|
227
227
|
className: X({
|
|
@@ -230,10 +230,10 @@ function Ee({
|
|
|
230
230
|
}),
|
|
231
231
|
kind: z.ICON,
|
|
232
232
|
icon: M.CHEVRON_UP,
|
|
233
|
-
onClick: () =>
|
|
233
|
+
onClick: () => k(d, d - 1),
|
|
234
234
|
disabled: !I
|
|
235
235
|
}
|
|
236
|
-
)), /* @__PURE__ */ e.createElement("section", { className: Q({ reorderable:
|
|
236
|
+
)), /* @__PURE__ */ e.createElement("section", { className: Q({ reorderable: C }) }, /* @__PURE__ */ e.createElement(
|
|
237
237
|
K,
|
|
238
238
|
{
|
|
239
239
|
className: X({
|
|
@@ -242,30 +242,30 @@ function Ee({
|
|
|
242
242
|
}),
|
|
243
243
|
kind: z.ICON,
|
|
244
244
|
icon: M.CHEVRON_DOWN,
|
|
245
|
-
onClick: () =>
|
|
245
|
+
onClick: () => k(d, d + 1),
|
|
246
246
|
disabled: !L
|
|
247
247
|
}
|
|
248
248
|
))),
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
w && !a && /* @__PURE__ */ e.createElement(m, { widthPx: 46 }, /* @__PURE__ */ e.createElement(x, null)),
|
|
250
|
+
g && !a && !b && /* @__PURE__ */ e.createElement(m, { widthPx: 44 }, E),
|
|
251
|
+
g && w && a && /* @__PURE__ */ e.createElement(m, { widthPx: 46 }, b ? /* @__PURE__ */ e.createElement(x, null) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("section", { className: N }, /* @__PURE__ */ e.createElement(x, null)), /* @__PURE__ */ e.createElement("section", { className: N }, E))),
|
|
252
252
|
T
|
|
253
|
-
), A &&
|
|
254
|
-
return
|
|
255
|
-
|
|
253
|
+
), A && g);
|
|
254
|
+
return C ? /* @__PURE__ */ e.createElement("div", { className: ge }, /* @__PURE__ */ e.createElement("div", { className: s(xe, n) }, /* @__PURE__ */ e.createElement("div", { className: Ce }, /* @__PURE__ */ e.createElement(
|
|
255
|
+
se,
|
|
256
256
|
{
|
|
257
|
-
className:
|
|
257
|
+
className: be,
|
|
258
258
|
value: R,
|
|
259
|
-
onChange:
|
|
259
|
+
onChange: oe,
|
|
260
260
|
onBlur: () => D(),
|
|
261
|
-
onKeyUp: (
|
|
262
|
-
|
|
261
|
+
onKeyUp: (v) => {
|
|
262
|
+
v.key === "Enter" && D();
|
|
263
263
|
},
|
|
264
264
|
notClearable: !0
|
|
265
265
|
}
|
|
266
266
|
))), F) : F;
|
|
267
267
|
}
|
|
268
|
-
|
|
268
|
+
f.set(ke, {
|
|
269
269
|
name: "Content Row",
|
|
270
270
|
props: {
|
|
271
271
|
alternateLayout: { type: "boolean", default: "false" },
|
|
@@ -285,7 +285,7 @@ h.set(Ee, {
|
|
|
285
285
|
hideExpansionControl: { type: "boolean", default: "false" }
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
|
-
var
|
|
288
|
+
var Ee = i({ defaultClassName: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_14j3gmi0", variantClassNames: { wrapContent: { true: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_14j3gmi1", false: "pkg_sps-woodland_core__family_content-row__version_8_53_13__hash_14j3gmi2" } }, defaultVariants: { wrapContent: !1 }, compoundVariants: [] });
|
|
289
289
|
const Ne = /* @__PURE__ */ new Set([
|
|
290
290
|
"Content Row",
|
|
291
291
|
"Content Row Col",
|
|
@@ -294,43 +294,37 @@ const Ne = /* @__PURE__ */ new Set([
|
|
|
294
294
|
"Sorting Header Cell"
|
|
295
295
|
]);
|
|
296
296
|
function qe({
|
|
297
|
-
children:
|
|
298
|
-
className:
|
|
299
|
-
wrapContent:
|
|
300
|
-
...
|
|
297
|
+
children: _,
|
|
298
|
+
className: n,
|
|
299
|
+
wrapContent: a = !1,
|
|
300
|
+
...o
|
|
301
301
|
}) {
|
|
302
|
-
const
|
|
303
|
-
() => (
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
),
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
{
|
|
317
|
-
type: (n) => !!(h.isWoodlandComponent(n.type) && h.get(n.type).name === "Sorting Header")
|
|
318
|
-
}
|
|
319
|
-
])
|
|
320
|
-
),
|
|
321
|
-
[r]
|
|
302
|
+
const t = e.useMemo(
|
|
303
|
+
() => re(_, (r) => f.isWoodlandComponent(r.type) && Ne.has(f.get(r.type).name) ? [
|
|
304
|
+
{
|
|
305
|
+
__autoLayout: !0
|
|
306
|
+
}
|
|
307
|
+
] : [{}]),
|
|
308
|
+
[_]
|
|
309
|
+
), [[l], c] = e.useMemo(
|
|
310
|
+
() => Y(t, [
|
|
311
|
+
{
|
|
312
|
+
type: (r) => !!(f.isWoodlandComponent(r.type) && f.get(r.type).name === "Sorting Header")
|
|
313
|
+
}
|
|
314
|
+
]),
|
|
315
|
+
[t]
|
|
322
316
|
);
|
|
323
|
-
return /* @__PURE__ */ e.createElement("table", { className:
|
|
317
|
+
return /* @__PURE__ */ e.createElement("table", { className: s(Ee({ wrapContent: a }), n), ...o }, l ? /* @__PURE__ */ e.createElement("thead", null, l) : null, /* @__PURE__ */ e.createElement("tbody", null, c));
|
|
324
318
|
}
|
|
325
|
-
|
|
319
|
+
f.set(qe, {
|
|
326
320
|
name: "Row List Auto Layout",
|
|
327
321
|
props: {
|
|
328
322
|
wrapContent: { type: "boolean", default: "false" }
|
|
329
323
|
}
|
|
330
324
|
});
|
|
331
325
|
export {
|
|
332
|
-
|
|
333
|
-
|
|
326
|
+
ke as ContentRow,
|
|
327
|
+
m as ContentRowCol,
|
|
334
328
|
Z as ContentRowExpansion,
|
|
335
329
|
qe as RowListAutoLayout
|
|
336
330
|
};
|