@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
package/lib/list-bar/style.css
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_list-
|
|
1
|
+
.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv1{background:#fff;border:.0625rem solid #d2d4d4;border-radius:.25rem;flex-flow:column wrap;margin:0 0 .5rem;display:flex;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv2{z-index:999;border-radius:0;width:calc(1280px - 2.5rem);position:fixed;top:3.75rem;left:50%;transform:translate(-50%)}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv2:after{content:"";background:linear-gradient(#0000001a,#0000);width:100%;height:.625rem;display:block;position:absolute;top:calc(100% + 1px)}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv4{flex-wrap:wrap;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv5{border-right:.0625rem solid #d2d4d4;align-items:center;margin:-.5rem .5rem -.5rem -.5rem;padding:1rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv6{vertical-align:middle;flex:1 0 auto;align-items:center;height:2rem;display:inline-flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv7{white-space:nowrap;padding:.25rem 0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv8{display:inline-block;position:relative}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv9{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwva{float:left;text-transform:uppercase;align-items:center;margin-bottom:0;padding-left:.5rem;font-size:.75rem;font-weight:600;line-height:1.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvb{text-align:right;vertical-align:middle;white-space:nowrap;height:2rem;margin-left:auto;display:inline-block}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvc{flex:1;max-width:25rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwve{background-color:#e9e9ea;border:.0625rem solid #717779;border-left-width:0;border-radius:0 .25rem .25rem 0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwve:hover{background-color:#d2d4d4;border:.0625rem solid #717779;border-left-width:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvf>.sps-button{color:#4b5356;background:0 0;border-color:#0000;margin:0!important}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvf>.sps-button>button{padding:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwve>button{height:1.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwva>i{margin-right:.25rem;font-size:.875rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group{flex-wrap:nowrap}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-autocomplete,.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-multi-select{flex:1}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-select{min-width:30%}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-select:not(:last-child)>.sps-select__dropctrl{border-top-right-radius:0;border-bottom-right-radius:0;height:2rem;line-height:2rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:first-child)>.sps-text-input>.sps-form-control{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-autocomplete:not(:last-child)>.sps-text-input>.sps-form-control{border-top-right-radius:0;border-bottom-right-radius:0;height:2rem;line-height:2rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:last-child)>.sps-form-control{border-top-right-radius:0;border-bottom-right-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-multi-select>.sps-text-input>.sps-form-control{border-left:0;border-radius:0;height:32px}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd>.sps-input-group>.sps-text-input:not(:first-child):not(:only-child)>.sps-form-control{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwvd svg{margin-bottom:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h1{background-color:#e9e9ea;border:.0625rem solid #d2d4d4;border-radius:.25rem;min-height:3.25rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_uzzgwv1>.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h0>.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h1{border-width:.0625rem 0 0;border-radius:0 0 .125rem .125rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h2{border-right:.0625rem solid #d2d4d4;flex:auto;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h3{margin-left:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h4{flex-wrap:wrap;flex:100%;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h5{margin:0 .25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h5:first-child{margin-left:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h6{margin-top:.125rem;margin-bottom:.125rem;margin-right:.25rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h6:last-child{margin-right:0}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h7{border-left:.0625rem solid #d2d4d4;flex:auto;align-items:center;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_1o1g57h7:hover{background:#d2d4d4}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc0{background:#fff;border:.0625rem solid #d2d4d4;border-top-width:0;border-radius:0 0 .25rem .25rem;margin:-.625rem 0 1rem;display:none}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc1,.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc3{display:block}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc5{padding:1rem}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc7{display:none}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc8{background:#f3f4f4;border-radius:0 0 .25rem .25rem;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc9{text-align:right}.pkg_sps-woodland_core__family_list-bar__version_8_56_3__hash_am9pfc8>*{flex:1}
|
|
2
|
+
/*$vite$:1*/
|
package/lib/matrix/index.js
CHANGED
|
@@ -1,95 +1,87 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Metadata as
|
|
3
|
-
import { useWoodlandLanguage as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* @__PURE__ */ t.createElement(c, { size: "lg" }, r),
|
|
18
|
-
/* @__PURE__ */ t.createElement("table", { className: i(m), "data-testid": `${a}`, ...n }, e)
|
|
19
|
-
);
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { Metadata as t, Title as n, cl as r } from "@sps-woodland/core";
|
|
3
|
+
import { useWoodlandLanguage as i } from "@spscommerce/i18n";
|
|
4
|
+
//#region src/matrix/matrix/Matrix.css.ts
|
|
5
|
+
var a = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v0", o = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v1", s = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v2", c = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v3";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/matrix/matrix/Matrix.tsx
|
|
8
|
+
function l({ title: t, children: i, "data-testid": o, ...s }) {
|
|
9
|
+
return /* @__PURE__ */ e.createElement("div", {
|
|
10
|
+
className: r(a),
|
|
11
|
+
"data-testid": "matrix"
|
|
12
|
+
}, /* @__PURE__ */ e.createElement(n, { size: "lg" }, t), /* @__PURE__ */ e.createElement("table", {
|
|
13
|
+
className: r(a),
|
|
14
|
+
"data-testid": `${o}`,
|
|
15
|
+
...s
|
|
16
|
+
}, i));
|
|
20
17
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
title: "string"
|
|
25
|
-
}
|
|
18
|
+
t.set(l, {
|
|
19
|
+
name: "Matrix",
|
|
20
|
+
props: { title: "string" }
|
|
26
21
|
});
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/matrix/matrix-head/MatrixHead.tsx
|
|
24
|
+
function u({ children: t, "data-testid": n, ...r }) {
|
|
25
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("thead", {
|
|
26
|
+
"data-testid": `${n}`,
|
|
27
|
+
...r
|
|
28
|
+
}, t));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
...o
|
|
45
|
-
}) {
|
|
46
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("th", { className: i(x), style: { width: `${a}` }, "data-testid": `${_}`, ...o }, s, /* @__PURE__ */ t.createElement("div", { className: i(p) }, r, e)));
|
|
30
|
+
t.set(u, { name: "Matrix Head" });
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/matrix/matrix-header/MatrixHeader.tsx
|
|
33
|
+
function d({ icon: t, tooltip: n, width: i, className: a, children: s, "data-testid": l, ...u }) {
|
|
34
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("th", {
|
|
35
|
+
className: r(o),
|
|
36
|
+
style: { width: `${i}` },
|
|
37
|
+
"data-testid": `${l}`,
|
|
38
|
+
...u
|
|
39
|
+
}, s, /* @__PURE__ */ e.createElement("div", { className: r(c) }, t, n)));
|
|
47
40
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
t.set(d, {
|
|
42
|
+
name: "Matrix Header",
|
|
43
|
+
props: {
|
|
44
|
+
icon: "Icon",
|
|
45
|
+
tooltip: "SpsTooltip",
|
|
46
|
+
width: "string"
|
|
47
|
+
}
|
|
55
48
|
});
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/matrix/matrix-body/MatrixBody.tsx
|
|
51
|
+
function f({ children: t, "data-testid": n, ...r }) {
|
|
52
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("tbody", {
|
|
53
|
+
"data-testid": `${n}`,
|
|
54
|
+
...r
|
|
55
|
+
}, t));
|
|
62
56
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
})
|
|
71
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tr", { "data-testid": `${e}`, ...a }, r));
|
|
57
|
+
t.set(f, { name: "Matrix Body" });
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/matrix/matrix-row/MatrixRow.tsx
|
|
60
|
+
function p({ children: t, "data-testid": n, ...r }) {
|
|
61
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("tr", {
|
|
62
|
+
"data-testid": `${n}`,
|
|
63
|
+
...r
|
|
64
|
+
}, t));
|
|
72
65
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
function
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
66
|
+
t.set(p, { name: "Matrix Row" });
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/matrix/matrix-cell/MatrixCell.tsx
|
|
69
|
+
function m({ className: t, children: n, "data-testid": a, ...o }) {
|
|
70
|
+
let { t: c } = i();
|
|
71
|
+
return n === void 0 ? /* @__PURE__ */ e.createElement("td", {
|
|
72
|
+
className: r(s),
|
|
73
|
+
"data-testid": `${a}`,
|
|
74
|
+
...o
|
|
75
|
+
}, "—") : n === null ? /* @__PURE__ */ e.createElement("td", {
|
|
76
|
+
className: r(s),
|
|
77
|
+
"data-testid": `${a}`,
|
|
78
|
+
...o
|
|
79
|
+
}, c("matrix.cell.null", { defaultValue: "null" })) : /* @__PURE__ */ e.createElement("td", {
|
|
80
|
+
className: r(s),
|
|
81
|
+
"data-testid": `${a}`,
|
|
82
|
+
...o
|
|
83
|
+
}, n);
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
export {
|
|
89
|
-
f as Matrix,
|
|
90
|
-
g as MatrixBody,
|
|
91
|
-
h as MatrixCell,
|
|
92
|
-
v as MatrixHead,
|
|
93
|
-
E as MatrixHeader,
|
|
94
|
-
M as MatrixRow
|
|
95
|
-
};
|
|
85
|
+
t.set(m, { name: "Matrix Cell" });
|
|
86
|
+
//#endregion
|
|
87
|
+
export { l as Matrix, f as MatrixBody, m as MatrixCell, u as MatrixHead, d as MatrixHeader, p as MatrixRow };
|
package/lib/matrix/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(t
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("react"),require("@sps-woodland/core"),require("@spscommerce/i18n")):typeof define==`function`&&define.amd?define([`exports`,`react`,`@sps-woodland/core`,`@spscommerce/i18n`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.Matrix={},e.react,e.spsWoodlandCore,e.spscommerceI18n))})(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};t=((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)))(t,1);var d=`pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v0`,f=`pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v1`,p=`pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v2`,m=`pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v3`;function h({title:e,children:r,"data-testid":i,...a}){return t.default.createElement(`div`,{className:(0,n.cl)(d),"data-testid":`matrix`},t.default.createElement(n.Title,{size:`lg`},e),t.default.createElement(`table`,{className:(0,n.cl)(d),"data-testid":`${i}`,...a},r))}n.Metadata.set(h,{name:`Matrix`,props:{title:`string`}});function g({children:e,"data-testid":n,...r}){return t.default.createElement(t.default.Fragment,null,t.default.createElement(`thead`,{"data-testid":`${n}`,...r},e))}n.Metadata.set(g,{name:`Matrix Head`});function _({icon:e,tooltip:r,width:i,className:a,children:o,"data-testid":s,...c}){return t.default.createElement(t.default.Fragment,null,t.default.createElement(`th`,{className:(0,n.cl)(f),style:{width:`${i}`},"data-testid":`${s}`,...c},o,t.default.createElement(`div`,{className:(0,n.cl)(m)},e,r)))}n.Metadata.set(_,{name:`Matrix Header`,props:{icon:`Icon`,tooltip:`SpsTooltip`,width:`string`}});function v({children:e,"data-testid":n,...r}){return t.default.createElement(t.default.Fragment,null,t.default.createElement(`tbody`,{"data-testid":`${n}`,...r},e))}n.Metadata.set(v,{name:`Matrix Body`});function y({children:e,"data-testid":n,...r}){return t.default.createElement(t.default.Fragment,null,t.default.createElement(`tr`,{"data-testid":`${n}`,...r},e))}n.Metadata.set(y,{name:`Matrix Row`});function b({className:e,children:i,"data-testid":a,...o}){let{t:s}=(0,r.useWoodlandLanguage)();return i===void 0?t.default.createElement(`td`,{className:(0,n.cl)(p),"data-testid":`${a}`,...o},`—`):i===null?t.default.createElement(`td`,{className:(0,n.cl)(p),"data-testid":`${a}`,...o},s(`matrix.cell.null`,{defaultValue:`null`})):t.default.createElement(`td`,{className:(0,n.cl)(p),"data-testid":`${a}`,...o},i)}n.Metadata.set(b,{name:`Matrix Cell`}),e.Matrix=h,e.MatrixBody=v,e.MatrixCell=b,e.MatrixHead=g,e.MatrixHeader=_,e.MatrixRow=y});
|
|
@@ -1,28 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Metadata as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"data-testid": "matrix"
|
|
15
|
-
},
|
|
16
|
-
/* @__PURE__ */ t.createElement(d, { size: "lg" }, r),
|
|
17
|
-
/* @__PURE__ */ t.createElement("table", { className: e(a), "data-testid": `${m}`, ...l }, i)
|
|
18
|
-
);
|
|
1
|
+
import { matrix as e } from "./Matrix.ve.js";
|
|
2
|
+
import { Metadata as t, Title as n, cl as r } from "@sps-woodland/core";
|
|
3
|
+
import i from "react";
|
|
4
|
+
//#region src/matrix/matrix/Matrix.tsx
|
|
5
|
+
function a({ title: t, children: a, "data-testid": o, ...s }) {
|
|
6
|
+
return /* @__PURE__ */ i.createElement("div", {
|
|
7
|
+
className: r(e),
|
|
8
|
+
"data-testid": "matrix"
|
|
9
|
+
}, /* @__PURE__ */ i.createElement(n, { size: "lg" }, t), /* @__PURE__ */ i.createElement("table", {
|
|
10
|
+
className: r(e),
|
|
11
|
+
"data-testid": `${o}`,
|
|
12
|
+
...s
|
|
13
|
+
}, a));
|
|
19
14
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
title: "string"
|
|
24
|
-
}
|
|
15
|
+
t.set(a, {
|
|
16
|
+
name: "Matrix",
|
|
17
|
+
props: { title: "string" }
|
|
25
18
|
});
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { a as Matrix };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
r as matrixHeader,
|
|
7
|
-
i as matrixHeaderIcon
|
|
8
|
-
};
|
|
2
|
+
//#region src/matrix/matrix/Matrix.css.ts
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v0", t = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v1", n = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v2", r = "pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v3";
|
|
4
|
+
//#endregion
|
|
5
|
+
export { e as matrix, n as matrixCell, t as matrixHeader, r as matrixHeaderIcon };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { Metadata as e } from "@sps-woodland/core";
|
|
1
2
|
import t from "react";
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})
|
|
8
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tbody", { "data-testid": `${a}`, ...r }, e));
|
|
3
|
+
//#region src/matrix/matrix-body/MatrixBody.tsx
|
|
4
|
+
function n({ children: e, "data-testid": n, ...r }) {
|
|
5
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tbody", {
|
|
6
|
+
"data-testid": `${n}`,
|
|
7
|
+
...r
|
|
8
|
+
}, e));
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
o as MatrixBody
|
|
15
|
-
};
|
|
10
|
+
e.set(n, { name: "Matrix Body" });
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as MatrixBody };
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Metadata as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { matrixCell as e } from "../matrix/Matrix.ve.js";
|
|
2
|
+
import { Metadata as t, cl as n } from "@sps-woodland/core";
|
|
3
|
+
import r from "react";
|
|
4
|
+
import { useWoodlandLanguage as i } from "@spscommerce/i18n";
|
|
5
|
+
//#region src/matrix/matrix-cell/MatrixCell.tsx
|
|
6
|
+
function a({ className: t, children: a, "data-testid": o, ...s }) {
|
|
7
|
+
let { t: c } = i();
|
|
8
|
+
return a === void 0 ? /* @__PURE__ */ r.createElement("td", {
|
|
9
|
+
className: n(e),
|
|
10
|
+
"data-testid": `${o}`,
|
|
11
|
+
...s
|
|
12
|
+
}, "—") : a === null ? /* @__PURE__ */ r.createElement("td", {
|
|
13
|
+
className: n(e),
|
|
14
|
+
"data-testid": `${o}`,
|
|
15
|
+
...s
|
|
16
|
+
}, c("matrix.cell.null", { defaultValue: "null" })) : /* @__PURE__ */ r.createElement("td", {
|
|
17
|
+
className: n(e),
|
|
18
|
+
"data-testid": `${o}`,
|
|
19
|
+
...s
|
|
20
|
+
}, a);
|
|
13
21
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
n as MatrixCell
|
|
19
|
-
};
|
|
22
|
+
t.set(a, { name: "Matrix Cell" });
|
|
23
|
+
//#endregion
|
|
24
|
+
export { a as MatrixCell };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { Metadata as e } from "@sps-woodland/core";
|
|
1
2
|
import t from "react";
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})
|
|
8
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("thead", { "data-testid": `${a}`, ...r }, e));
|
|
3
|
+
//#region src/matrix/matrix-head/MatrixHead.tsx
|
|
4
|
+
function n({ children: e, "data-testid": n, ...r }) {
|
|
5
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("thead", {
|
|
6
|
+
"data-testid": `${n}`,
|
|
7
|
+
...r
|
|
8
|
+
}, e));
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
m as MatrixHead
|
|
15
|
-
};
|
|
10
|
+
e.set(n, { name: "Matrix Head" });
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as MatrixHead };
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import t from "
|
|
2
|
-
import { Metadata as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}) {
|
|
13
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("th", { className: e(n), style: { width: `${i}` }, "data-testid": `${o}`, ...d }, m, /* @__PURE__ */ t.createElement("div", { className: e(s) }, a, r)));
|
|
1
|
+
import { matrixHeader as e, matrixHeaderIcon as t } from "../matrix/Matrix.ve.js";
|
|
2
|
+
import { Metadata as n, cl as r } from "@sps-woodland/core";
|
|
3
|
+
import i from "react";
|
|
4
|
+
//#region src/matrix/matrix-header/MatrixHeader.tsx
|
|
5
|
+
function a({ icon: n, tooltip: a, width: o, className: s, children: c, "data-testid": l, ...u }) {
|
|
6
|
+
return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("th", {
|
|
7
|
+
className: r(e),
|
|
8
|
+
style: { width: `${o}` },
|
|
9
|
+
"data-testid": `${l}`,
|
|
10
|
+
...u
|
|
11
|
+
}, c, /* @__PURE__ */ i.createElement("div", { className: r(t) }, n, a)));
|
|
14
12
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
n.set(a, {
|
|
14
|
+
name: "Matrix Header",
|
|
15
|
+
props: {
|
|
16
|
+
icon: "Icon",
|
|
17
|
+
tooltip: "SpsTooltip",
|
|
18
|
+
width: "string"
|
|
19
|
+
}
|
|
22
20
|
});
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { a as MatrixHeader };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { Metadata as e } from "@sps-woodland/core";
|
|
1
2
|
import t from "react";
|
|
2
|
-
|
|
3
|
-
function n({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})
|
|
8
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tr", { "data-testid": `${a}`, ...r }, e));
|
|
3
|
+
//#region src/matrix/matrix-row/MatrixRow.tsx
|
|
4
|
+
function n({ children: e, "data-testid": n, ...r }) {
|
|
5
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tr", {
|
|
6
|
+
"data-testid": `${n}`,
|
|
7
|
+
...r
|
|
8
|
+
}, e));
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
n as MatrixRow
|
|
15
|
-
};
|
|
10
|
+
e.set(n, { name: "Matrix Row" });
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as MatrixRow };
|
package/lib/matrix/style.css
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v0{word-wrap:break-word;table-layout:fixed;border-radius:.125rem;flex-direction:column;width:100%;font-size:.875rem;overflow:hidden}.pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v1{vertical-align:top;background-color:#f3f4f4;border:.0625rem solid #d2d4d4;padding:.5rem;line-height:1.25rem}.pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v2{vertical-align:top;border:.0625rem solid #d2d4d4;padding:.5rem}.pkg_sps-woodland_core__family_matrix__version_8_56_3__hash_6q9a8v3{float:right}
|
|
2
|
+
/*$vite$:1*/
|