@sps-woodland/core 8.51.2 → 8.52.0
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/components/app-root/AppRoot.css.d.ts +1 -2
- package/lib/components/app-root/AppRoot.d.ts +0 -1
- package/lib/components/box/Box.d.ts +0 -1
- package/lib/components/cap-content/CapContent.css.d.ts +0 -1
- package/lib/components/cap-content/CapContent.d.ts +0 -1
- package/lib/components/cap-content/CapContentTitle.d.ts +0 -1
- package/lib/components/content/Content.css.d.ts +0 -1
- package/lib/components/content/Content.d.ts +0 -1
- package/lib/components/icon/Icon.css.d.ts +1 -2
- package/lib/components/icon/Icon.d.ts +0 -1
- package/lib/components/icon/icons/index.d.ts +0 -1
- package/lib/components/input-panel/InputPanel.css.d.ts +0 -1
- package/lib/components/input-panel/InputPanel.d.ts +0 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +0 -1
- package/lib/components/spinner/Spinner.css.d.ts +1 -2
- package/lib/components/spinner/Spinner.d.ts +0 -1
- package/lib/components/spinner/Spinner.examples.d.ts +0 -1
- package/lib/components/title/Title.css.d.ts +1 -2
- package/lib/components/title/Title.d.ts +0 -1
- package/lib/components/vertical-rule/VerticalRule.css.d.ts +0 -1
- package/lib/components/vertical-rule/VerticalRule.d.ts +0 -1
- package/lib/examples.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +8 -8
- package/lib/index.umd.cjs +1 -1
- package/lib/manifest.d.ts +0 -1
- package/lib/metadata/metadata.d.ts +0 -1
- package/lib/style.css +1 -1
- package/lib/types/table.d.ts +0 -1
- package/lib/utils/ChildrenFn.d.ts +0 -1
- package/lib/utils/ComponentProps.d.ts +0 -1
- package/lib/utils/Provide.d.ts +0 -1
- package/lib/utils/VariantDefinitions.d.ts +0 -1
- package/lib/utils/addClassName.d.ts +0 -1
- package/lib/utils/addProps.d.ts +0 -1
- package/lib/utils/bindProps.d.ts +0 -1
- package/lib/utils/cl.d.ts +0 -1
- package/lib/utils/combineEventHandlers.d.ts +0 -1
- package/lib/utils/contentOf.d.ts +0 -1
- package/lib/utils/getScrollParent.d.ts +0 -1
- package/lib/utils/modChildren.d.ts +0 -1
- package/lib/utils/selectChildren.d.ts +0 -1
- package/lib/utils/useChildTestIdAttrBuilder.d.ts +0 -1
- package/lib/utils/useElementId.d.ts +0 -1
- package/lib/utils/usePatchReducer.d.ts +0 -1
- package/lib/utils/usePortal.d.ts +0 -1
- package/package.json +6 -755
- package/vite.config.mjs +1 -7
- package/lib/action-bar/action-bar/ActionBar.css.d.ts +0 -10
- package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +0 -1
- package/lib/action-bar/action-bar/ActionBar.css.js +0 -12
- package/lib/action-bar/action-bar/ActionBar.d.ts +0 -9
- package/lib/action-bar/action-bar/ActionBar.d.ts.map +0 -1
- package/lib/action-bar/action-bar/ActionBar.js +0 -61
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +0 -4
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +0 -1
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +0 -24
- package/lib/action-bar/index.d.ts +0 -3
- package/lib/action-bar/index.d.ts.map +0 -1
- package/lib/action-bar/index.js +0 -79
- package/lib/action-bar/index.umd.cjs +0 -1
- package/lib/action-bar/style.css +0 -1
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts +0 -91
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/AddToList.css.js +0 -25
- package/lib/add-to-list/add-to-list/AddToList.d.ts +0 -31
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/AddToList.js +0 -284
- package/lib/add-to-list/add-to-list/ItemsList.d.ts +0 -17
- package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/ItemsList.js +0 -67
- package/lib/add-to-list/add-to-list/ListItem.d.ts +0 -8
- package/lib/add-to-list/add-to-list/ListItem.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/ListItem.js +0 -51
- package/lib/add-to-list/index.d.ts +0 -2
- package/lib/add-to-list/index.d.ts.map +0 -1
- package/lib/add-to-list/index.js +0 -441
- package/lib/add-to-list/index.umd.cjs +0 -1
- package/lib/add-to-list/style.css +0 -1
- package/lib/buttons/button/Button.css.d.ts +0 -15
- package/lib/buttons/button/Button.css.d.ts.map +0 -1
- package/lib/buttons/button/Button.css.js +0 -10
- package/lib/buttons/button/Button.d.ts +0 -19
- package/lib/buttons/button/Button.d.ts.map +0 -1
- package/lib/buttons/button/Button.js +0 -116
- package/lib/buttons/index.d.ts +0 -2
- package/lib/buttons/index.d.ts.map +0 -1
- package/lib/buttons/index.js +0 -169
- package/lib/buttons/index.umd.cjs +0 -1
- package/lib/buttons/style.css +0 -1
- package/lib/cards/card/Card.css.d.ts +0 -2
- package/lib/cards/card/Card.css.d.ts.map +0 -1
- package/lib/cards/card/Card.css.js +0 -5
- package/lib/cards/card/Card.d.ts +0 -4
- package/lib/cards/card/Card.d.ts.map +0 -1
- package/lib/cards/card/Card.js +0 -28
- package/lib/cards/card-footer/CardFooter.css.d.ts +0 -2
- package/lib/cards/card-footer/CardFooter.css.d.ts.map +0 -1
- package/lib/cards/card-footer/CardFooter.css.js +0 -5
- package/lib/cards/card-footer/CardFooter.d.ts +0 -4
- package/lib/cards/card-footer/CardFooter.d.ts.map +0 -1
- package/lib/cards/card-footer/CardFooter.js +0 -14
- package/lib/cards/card-header/CardHeader.css.d.ts +0 -2
- package/lib/cards/card-header/CardHeader.css.d.ts.map +0 -1
- package/lib/cards/card-header/CardHeader.css.js +0 -5
- package/lib/cards/card-header/CardHeader.d.ts +0 -4
- package/lib/cards/card-header/CardHeader.d.ts.map +0 -1
- package/lib/cards/card-header/CardHeader.js +0 -14
- package/lib/cards/card-title/CardTitle.css.d.ts +0 -2
- package/lib/cards/card-title/CardTitle.css.d.ts.map +0 -1
- package/lib/cards/card-title/CardTitle.css.js +0 -5
- package/lib/cards/card-title/CardTitle.d.ts +0 -4
- package/lib/cards/card-title/CardTitle.d.ts.map +0 -1
- package/lib/cards/card-title/CardTitle.js +0 -14
- package/lib/cards/index.d.ts +0 -5
- package/lib/cards/index.d.ts.map +0 -1
- package/lib/cards/index.js +0 -56
- package/lib/cards/index.umd.cjs +0 -1
- package/lib/cards/style.css +0 -1
- package/lib/column-manager/column-manager/ColumnManager.d.ts +0 -23
- package/lib/column-manager/column-manager/ColumnManager.d.ts.map +0 -1
- package/lib/column-manager/column-manager/ColumnManager.js +0 -114
- package/lib/column-manager/column-manager/useColumnManager.d.ts +0 -27
- package/lib/column-manager/column-manager/useColumnManager.d.ts.map +0 -1
- package/lib/column-manager/column-manager/useColumnManager.js +0 -49
- package/lib/column-manager/index.d.ts +0 -3
- package/lib/column-manager/index.d.ts.map +0 -1
- package/lib/column-manager/index.js +0 -6
- package/lib/components/app-root/AppRoot.css.d.ts.map +0 -1
- package/lib/components/app-root/AppRoot.d.ts.map +0 -1
- package/lib/components/box/Box.d.ts.map +0 -1
- package/lib/components/cap-content/CapContent.css.d.ts.map +0 -1
- package/lib/components/cap-content/CapContent.d.ts.map +0 -1
- package/lib/components/cap-content/CapContentTitle.d.ts.map +0 -1
- package/lib/components/content/Content.css.d.ts.map +0 -1
- package/lib/components/content/Content.d.ts.map +0 -1
- package/lib/components/icon/Icon.css.d.ts.map +0 -1
- package/lib/components/icon/Icon.d.ts.map +0 -1
- package/lib/components/icon/icons/index.d.ts.map +0 -1
- package/lib/components/input-panel/InputPanel.css.d.ts.map +0 -1
- package/lib/components/input-panel/InputPanel.d.ts.map +0 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +0 -1
- package/lib/components/spinner/Spinner.css.d.ts.map +0 -1
- package/lib/components/spinner/Spinner.d.ts.map +0 -1
- package/lib/components/spinner/Spinner.examples.d.ts.map +0 -1
- package/lib/components/title/Title.css.d.ts.map +0 -1
- package/lib/components/title/Title.d.ts.map +0 -1
- package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +0 -1
- package/lib/components/vertical-rule/VerticalRule.d.ts.map +0 -1
- package/lib/content-row/content-row/ContentRow.css.d.ts +0 -150
- package/lib/content-row/content-row/ContentRow.css.d.ts.map +0 -1
- package/lib/content-row/content-row/ContentRow.css.js +0 -19
- package/lib/content-row/content-row/ContentRow.d.ts +0 -27
- package/lib/content-row/content-row/ContentRow.d.ts.map +0 -1
- package/lib/content-row/content-row/ContentRow.js +0 -175
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +0 -51
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +0 -1
- package/lib/content-row/content-row-col/ContentRowCol.css.js +0 -8
- package/lib/content-row/content-row-col/ContentRowCol.d.ts +0 -11
- package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +0 -1
- package/lib/content-row/content-row-col/ContentRowCol.js +0 -50
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +0 -6
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +0 -1
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +0 -25
- package/lib/content-row/index.d.ts +0 -5
- package/lib/content-row/index.d.ts.map +0 -1
- package/lib/content-row/index.js +0 -336
- package/lib/content-row/index.umd.cjs +0 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +0 -9
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +0 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +0 -6
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +0 -6
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +0 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +0 -48
- package/lib/content-row/style.css +0 -1
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts +0 -59
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +0 -1
- package/lib/content-tiles/content-tile/ContentTile.css.js +0 -15
- package/lib/content-tiles/content-tile/ContentTile.d.ts +0 -16
- package/lib/content-tiles/content-tile/ContentTile.d.ts.map +0 -1
- package/lib/content-tiles/content-tile/ContentTile.js +0 -62
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +0 -3
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +0 -1
- package/lib/content-tiles/content-tile-list/ContentTileList.css.js +0 -6
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +0 -3
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +0 -1
- package/lib/content-tiles/content-tile-list/ContentTileList.js +0 -14
- package/lib/content-tiles/index.d.ts +0 -3
- package/lib/content-tiles/index.d.ts.map +0 -1
- package/lib/content-tiles/index.js +0 -124
- package/lib/content-tiles/index.umd.cjs +0 -1
- package/lib/content-tiles/style.css +0 -1
- package/lib/core.css +0 -1
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts +0 -74
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +0 -1
- package/lib/dropdowns/dropdown/Dropdown.css.js +0 -9
- package/lib/dropdowns/dropdown/Dropdown.d.ts +0 -16
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +0 -1
- package/lib/dropdowns/dropdown/Dropdown.js +0 -70
- package/lib/dropdowns/index.d.ts +0 -4
- package/lib/dropdowns/index.d.ts.map +0 -1
- package/lib/dropdowns/index.js +0 -180
- package/lib/dropdowns/index.umd.cjs +0 -1
- package/lib/dropdowns/option-list/Option.css.d.ts +0 -3
- package/lib/dropdowns/option-list/Option.css.d.ts.map +0 -1
- package/lib/dropdowns/option-list/Option.css.js +0 -6
- package/lib/dropdowns/option-list/Option.d.ts +0 -5
- package/lib/dropdowns/option-list/Option.d.ts.map +0 -1
- package/lib/dropdowns/option-list/Option.js +0 -22
- package/lib/dropdowns/option-list/OptionList.css.d.ts +0 -3
- package/lib/dropdowns/option-list/OptionList.css.d.ts.map +0 -1
- package/lib/dropdowns/option-list/OptionList.css.js +0 -6
- package/lib/dropdowns/option-list/OptionList.d.ts +0 -11
- package/lib/dropdowns/option-list/OptionList.d.ts.map +0 -1
- package/lib/dropdowns/option-list/OptionList.js +0 -46
- package/lib/dropdowns/style.css +0 -1
- package/lib/editable-table/EditableTable.d.ts +0 -6
- package/lib/editable-table/EditableTable.d.ts.map +0 -1
- package/lib/editable-table/EditableTable.js +0 -71
- package/lib/editable-table/index.d.ts +0 -2
- package/lib/editable-table/index.d.ts.map +0 -1
- package/lib/editable-table/index.js +0 -4
- package/lib/editable-table/style.css +0 -157
- package/lib/examples.d.ts.map +0 -1
- package/lib/feedback-block/FeedbackBlock.css.d.ts +0 -12
- package/lib/feedback-block/FeedbackBlock.css.d.ts.map +0 -1
- package/lib/feedback-block/FeedbackBlock.css.js +0 -8
- package/lib/feedback-block/FeedbackBlock.d.ts +0 -10
- package/lib/feedback-block/FeedbackBlock.d.ts.map +0 -1
- package/lib/feedback-block/FeedbackBlock.js +0 -38
- package/lib/feedback-block/index.d.ts +0 -2
- package/lib/feedback-block/index.d.ts.map +0 -1
- package/lib/feedback-block/index.js +0 -91
- package/lib/feedback-block/index.umd.cjs +0 -1
- package/lib/feedback-block/style.css +0 -1
- package/lib/file-upload/file-upload/FileUpload.css.d.ts +0 -95
- package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +0 -1
- package/lib/file-upload/file-upload/FileUpload.css.js +0 -19
- package/lib/file-upload/file-upload/FileUpload.d.ts +0 -20
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +0 -1
- package/lib/file-upload/file-upload/FileUpload.js +0 -197
- package/lib/file-upload/file-upload/mime-type.enum.d.ts +0 -98
- package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +0 -1
- package/lib/file-upload/file-upload/mime-type.enum.js +0 -106
- package/lib/file-upload/index.d.ts +0 -2
- package/lib/file-upload/index.d.ts.map +0 -1
- package/lib/file-upload/index.js +0 -352
- package/lib/file-upload/index.umd.cjs +0 -1
- package/lib/file-upload/style.css +0 -1
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +0 -37
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile/FilterTile.css.js +0 -10
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts +0 -9
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +0 -35
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +0 -2
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +0 -5
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +0 -4
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +0 -16
- package/lib/filter-tiles/index.d.ts +0 -3
- package/lib/filter-tiles/index.d.ts.map +0 -1
- package/lib/filter-tiles/index.js +0 -100
- package/lib/filter-tiles/index.umd.cjs +0 -1
- package/lib/filter-tiles/style.css +0 -1
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts +0 -15
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +0 -1
- package/lib/focused-task/focused-task/FocusedTask.css.js +0 -13
- package/lib/focused-task/focused-task/FocusedTask.d.ts +0 -17
- package/lib/focused-task/focused-task/FocusedTask.d.ts.map +0 -1
- package/lib/focused-task/focused-task/FocusedTask.js +0 -77
- package/lib/focused-task/focused-task/useFocusedTask.d.ts +0 -17
- package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +0 -1
- package/lib/focused-task/focused-task/useFocusedTask.js +0 -19
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +0 -4
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +0 -1
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +0 -14
- package/lib/focused-task/index.d.ts +0 -4
- package/lib/focused-task/index.d.ts.map +0 -1
- package/lib/focused-task/index.js +0 -154
- package/lib/focused-task/index.umd.cjs +0 -1
- package/lib/focused-task/style.css +0 -1
- package/lib/growler/Growler.css.d.ts +0 -18
- package/lib/growler/Growler.css.d.ts.map +0 -1
- package/lib/growler/Growler.css.js +0 -13
- package/lib/growler/Growler.d.ts +0 -23
- package/lib/growler/Growler.d.ts.map +0 -1
- package/lib/growler/Growler.js +0 -93
- package/lib/growler/GrowlerListProvider.d.ts +0 -14
- package/lib/growler/GrowlerListProvider.d.ts.map +0 -1
- package/lib/growler/GrowlerListProvider.js +0 -42
- package/lib/growler/Sonner.css.d.ts +0 -17
- package/lib/growler/Sonner.css.d.ts.map +0 -1
- package/lib/growler/Sonner.css.js +0 -13
- package/lib/growler/index.d.ts +0 -4
- package/lib/growler/index.d.ts.map +0 -1
- package/lib/growler/index.js +0 -267
- package/lib/growler/index.umd.cjs +0 -1
- package/lib/growler/sonner.d.ts +0 -87
- package/lib/growler/sonner.d.ts.map +0 -1
- package/lib/growler/sonner.js +0 -86
- package/lib/growler/style.css +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/insight-card/InsightCard.css.d.ts +0 -20
- package/lib/insight-card/InsightCard.css.d.ts.map +0 -1
- package/lib/insight-card/InsightCard.css.js +0 -14
- package/lib/insight-card/InsightCard.d.ts +0 -15
- package/lib/insight-card/InsightCard.d.ts.map +0 -1
- package/lib/insight-card/InsightCard.js +0 -69
- package/lib/insight-card/InsightCardSet.d.ts +0 -3
- package/lib/insight-card/InsightCardSet.d.ts.map +0 -1
- package/lib/insight-card/InsightCardSet.js +0 -13
- package/lib/insight-card/index.d.ts +0 -3
- package/lib/insight-card/index.d.ts.map +0 -1
- package/lib/insight-card/index.js +0 -130
- package/lib/insight-card/index.umd.cjs +0 -1
- package/lib/insight-card/style.css +0 -1
- package/lib/key-value-set/index.d.ts +0 -3
- package/lib/key-value-set/index.d.ts.map +0 -1
- package/lib/key-value-set/index.js +0 -95
- package/lib/key-value-set/index.umd.cjs +0 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +0 -7
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.css.js +0 -6
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +0 -6
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +0 -23
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +0 -14
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +0 -8
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +0 -7
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +0 -23
- package/lib/key-value-set/style.css +0 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +0 -11
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +0 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.js +0 -9
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +0 -16
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +0 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.js +0 -56
- package/lib/list-bar/index.d.ts +0 -8
- package/lib/list-bar/index.d.ts.map +0 -1
- package/lib/list-bar/index.js +0 -317
- package/lib/list-bar/index.umd.cjs +0 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +0 -4
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +0 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.js +0 -20
- package/lib/list-bar/list-bar/ListBar.css.d.ts +0 -39
- package/lib/list-bar/list-bar/ListBar.css.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBar.css.js +0 -18
- package/lib/list-bar/list-bar/ListBar.d.ts +0 -20
- package/lib/list-bar/list-bar/ListBar.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBar.js +0 -123
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +0 -6
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBarSearch.js +0 -23
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +0 -4
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +0 -13
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +0 -16
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBarSortBy.js +0 -40
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +0 -10
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +0 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +0 -14
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +0 -11
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +0 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +0 -30
- package/lib/list-bar/style.css +0 -1
- package/lib/manifest.d.ts.map +0 -1
- package/lib/matrix/index.d.ts +0 -7
- package/lib/matrix/index.d.ts.map +0 -1
- package/lib/matrix/index.js +0 -95
- package/lib/matrix/index.umd.cjs +0 -1
- package/lib/matrix/matrix/Matrix.css.d.ts +0 -5
- package/lib/matrix/matrix/Matrix.css.d.ts.map +0 -1
- package/lib/matrix/matrix/Matrix.css.js +0 -8
- package/lib/matrix/matrix/Matrix.d.ts +0 -6
- package/lib/matrix/matrix/Matrix.d.ts.map +0 -1
- package/lib/matrix/matrix/Matrix.js +0 -28
- package/lib/matrix/matrix-body/MatrixBody.d.ts +0 -4
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +0 -1
- package/lib/matrix/matrix-body/MatrixBody.js +0 -15
- package/lib/matrix/matrix-cell/MatrixCell.d.ts +0 -4
- package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +0 -1
- package/lib/matrix/matrix-cell/MatrixCell.js +0 -19
- package/lib/matrix/matrix-head/MatrixHead.d.ts +0 -4
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +0 -1
- package/lib/matrix/matrix-head/MatrixHead.js +0 -15
- package/lib/matrix/matrix-header/MatrixHeader.d.ts +0 -16
- package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +0 -1
- package/lib/matrix/matrix-header/MatrixHeader.js +0 -25
- package/lib/matrix/matrix-row/MatrixRow.d.ts +0 -4
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +0 -1
- package/lib/matrix/matrix-row/MatrixRow.js +0 -15
- package/lib/matrix/style.css +0 -1
- package/lib/metadata/metadata.d.ts.map +0 -1
- package/lib/modal/index.d.ts +0 -4
- package/lib/modal/index.d.ts.map +0 -1
- package/lib/modal/index.js +0 -197
- package/lib/modal/index.umd.cjs +0 -1
- package/lib/modal/modal/Modal.css.d.ts +0 -20
- package/lib/modal/modal/Modal.css.d.ts.map +0 -1
- package/lib/modal/modal/Modal.css.js +0 -14
- package/lib/modal/modal/Modal.d.ts +0 -27
- package/lib/modal/modal/Modal.d.ts.map +0 -1
- package/lib/modal/modal/Modal.js +0 -113
- package/lib/modal/modal/useModal.d.ts +0 -17
- package/lib/modal/modal/useModal.d.ts.map +0 -1
- package/lib/modal/modal/useModal.js +0 -26
- package/lib/modal/modal-footer/ModalFooter.d.ts +0 -4
- package/lib/modal/modal-footer/ModalFooter.d.ts.map +0 -1
- package/lib/modal/modal-footer/ModalFooter.js +0 -14
- package/lib/modal/style.css +0 -1
- 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/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +0 -11
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +0 -4
- package/lib/page-title/index.d.ts +0 -3
- package/lib/page-title/index.d.ts.map +0 -1
- package/lib/page-title/index.js +0 -32
- package/lib/page-title/index.umd.cjs +0 -1
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +0 -3
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +0 -1
- package/lib/page-title/page-subtitle/PageSubtitle.css.js +0 -6
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts +0 -4
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +0 -1
- package/lib/page-title/page-subtitle/PageSubtitle.js +0 -19
- package/lib/page-title/page-title/PageTitle.css.d.ts +0 -4
- package/lib/page-title/page-title/PageTitle.css.d.ts.map +0 -1
- package/lib/page-title/page-title/PageTitle.css.js +0 -7
- package/lib/page-title/page-title/PageTitle.d.ts +0 -4
- package/lib/page-title/page-title/PageTitle.d.ts.map +0 -1
- package/lib/page-title/page-title/PageTitle.js +0 -17
- package/lib/page-title/style.css +0 -1
- package/lib/photo/index.d.ts +0 -3
- package/lib/photo/index.d.ts.map +0 -1
- package/lib/photo/index.js +0 -179
- package/lib/photo/index.umd.cjs +0 -1
- package/lib/photo/photo/Photo.css.d.ts +0 -12
- package/lib/photo/photo/Photo.css.d.ts.map +0 -1
- package/lib/photo/photo/Photo.css.js +0 -8
- package/lib/photo/photo/Photo.d.ts +0 -11
- package/lib/photo/photo/Photo.d.ts.map +0 -1
- package/lib/photo/photo/Photo.js +0 -83
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +0 -13
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +0 -1
- package/lib/photo/photo-carousel/PhotoCarousel.css.js +0 -10
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +0 -4
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +0 -1
- package/lib/photo/photo-carousel/PhotoCarousel.js +0 -48
- package/lib/photo/style.css +0 -1
- package/lib/product-bar/hooks/usePriorityPlus.d.ts +0 -33
- package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +0 -1
- package/lib/product-bar/hooks/usePriorityPlus.js +0 -106
- package/lib/product-bar/index.d.ts +0 -5
- package/lib/product-bar/index.d.ts.map +0 -1
- package/lib/product-bar/index.js +0 -397
- package/lib/product-bar/index.umd.cjs +0 -1
- package/lib/product-bar/product-bar/ProductBar.css.d.ts +0 -43
- package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +0 -1
- package/lib/product-bar/product-bar/ProductBar.css.js +0 -15
- package/lib/product-bar/product-bar/ProductBar.d.ts +0 -14
- package/lib/product-bar/product-bar/ProductBar.d.ts.map +0 -1
- package/lib/product-bar/product-bar/ProductBar.js +0 -107
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts +0 -12
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +0 -1
- package/lib/product-bar/product-bar-name/ProductBarName.js +0 -33
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +0 -23
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +0 -1
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +0 -9
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +0 -13
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +0 -1
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +0 -71
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +0 -16
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +0 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +0 -24
- package/lib/product-bar/slack-link/SlackLink.css.d.ts +0 -3
- package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +0 -1
- package/lib/product-bar/slack-link/SlackLink.css.js +0 -6
- package/lib/product-bar/slack-link/SlackLink.d.ts +0 -6
- package/lib/product-bar/slack-link/SlackLink.d.ts.map +0 -1
- package/lib/product-bar/slack-link/SlackLink.js +0 -32
- package/lib/product-bar/style.css +0 -1
- package/lib/product-bar-vertical/index.d.ts +0 -5
- package/lib/product-bar-vertical/index.d.ts.map +0 -1
- package/lib/product-bar-vertical/index.js +0 -261
- package/lib/product-bar-vertical/index.umd.cjs +0 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +0 -78
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +0 -24
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +0 -8
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +0 -62
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +0 -9
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +0 -44
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +0 -15
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +0 -91
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +0 -10
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +0 -30
- package/lib/product-bar-vertical/style.css +0 -1
- package/lib/progress-indicators/index.d.ts +0 -4
- package/lib/progress-indicators/index.d.ts.map +0 -1
- package/lib/progress-indicators/index.js +0 -264
- package/lib/progress-indicators/index.umd.cjs +0 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +0 -19
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.js +0 -14
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +0 -13
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +0 -112
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +0 -14
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +0 -9
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +0 -14
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +0 -56
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +0 -8
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +0 -1
- package/lib/progress-indicators/progress-ring/ProgressRing.js +0 -54
- package/lib/progress-indicators/style.css +0 -1
- package/lib/rich-text-editor/index.d.ts +0 -3
- package/lib/rich-text-editor/index.d.ts.map +0 -1
- package/lib/rich-text-editor/index.js +0 -588
- package/lib/rich-text-editor/index.umd.cjs +0 -13
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +0 -13
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +0 -35
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +0 -16
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +0 -7
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +0 -11
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +0 -38
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +0 -15
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +0 -9
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +0 -8
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +0 -81
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +0 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +0 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +0 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +0 -22
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +0 -14
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +0 -28
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +0 -6
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +0 -94
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +0 -7
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +0 -37
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +0 -15
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +0 -214
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +0 -12
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +0 -10
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +0 -13
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +0 -3
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +0 -16
- package/lib/rich-text-editor/style.css +0 -1
- package/lib/scrollable-container/ScrollableContainer.css.d.ts +0 -2
- package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +0 -1
- package/lib/scrollable-container/ScrollableContainer.css.js +0 -5
- package/lib/scrollable-container/ScrollableContainer.d.ts +0 -6
- package/lib/scrollable-container/ScrollableContainer.d.ts.map +0 -1
- package/lib/scrollable-container/ScrollableContainer.js +0 -29
- package/lib/scrollable-container/index.d.ts +0 -2
- package/lib/scrollable-container/index.d.ts.map +0 -1
- package/lib/scrollable-container/index.js +0 -29
- package/lib/scrollable-container/index.umd.cjs +0 -1
- package/lib/scrollable-container/style.css +0 -1
- package/lib/side-nav/index.d.ts +0 -5
- package/lib/side-nav/index.d.ts.map +0 -1
- package/lib/side-nav/index.js +0 -228
- package/lib/side-nav/index.umd.cjs +0 -1
- package/lib/side-nav/side-nav/SideNav.css.d.ts +0 -30
- package/lib/side-nav/side-nav/SideNav.css.d.ts.map +0 -1
- package/lib/side-nav/side-nav/SideNav.css.js +0 -17
- package/lib/side-nav/side-nav/SideNav.d.ts +0 -9
- package/lib/side-nav/side-nav/SideNav.d.ts.map +0 -1
- package/lib/side-nav/side-nav/SideNav.js +0 -62
- package/lib/side-nav/side-nav/navContext.d.ts +0 -5
- package/lib/side-nav/side-nav/navContext.d.ts.map +0 -1
- package/lib/side-nav/side-nav/navContext.js +0 -8
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +0 -4
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +0 -1
- package/lib/side-nav/side-nav-header/SideNavHeader.js +0 -17
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts +0 -25
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +0 -1
- package/lib/side-nav/side-nav-item/SideNavItem.js +0 -84
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts +0 -7
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +0 -1
- package/lib/side-nav/side-nav-section/SideNavSection.js +0 -28
- package/lib/side-nav/style.css +0 -1
- package/lib/sorting-header/caret/caret.css.d.ts +0 -21
- package/lib/sorting-header/caret/caret.css.d.ts.map +0 -1
- package/lib/sorting-header/caret/caret.css.js +0 -6
- package/lib/sorting-header/index.d.ts +0 -3
- package/lib/sorting-header/index.d.ts.map +0 -1
- package/lib/sorting-header/index.js +0 -250
- package/lib/sorting-header/index.umd.cjs +0 -1
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +0 -39
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header/SortingHeader.css.js +0 -7
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts +0 -9
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header/SortingHeader.js +0 -126
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +0 -35
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +0 -6
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +0 -12
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +0 -77
- package/lib/sorting-header/style.css +0 -1
- package/lib/tabs/index.d.ts +0 -4
- package/lib/tabs/index.d.ts.map +0 -1
- package/lib/tabs/index.js +0 -206
- package/lib/tabs/index.umd.cjs +0 -1
- package/lib/tabs/style.css +0 -1
- package/lib/tabs/tab/Tab.css.d.ts +0 -12
- package/lib/tabs/tab/Tab.css.d.ts.map +0 -1
- package/lib/tabs/tab/Tab.css.js +0 -7
- package/lib/tabs/tab/Tab.d.ts +0 -10
- package/lib/tabs/tab/Tab.d.ts.map +0 -1
- package/lib/tabs/tab/Tab.js +0 -28
- package/lib/tabs/tab-panel/TabPanel.d.ts +0 -9
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +0 -1
- package/lib/tabs/tab-panel/TabPanel.js +0 -24
- package/lib/tabs/tabs/Tabs.css.d.ts +0 -30
- package/lib/tabs/tabs/Tabs.css.d.ts.map +0 -1
- package/lib/tabs/tabs/Tabs.css.js +0 -11
- package/lib/tabs/tabs/Tabs.d.ts +0 -6
- package/lib/tabs/tabs/Tabs.d.ts.map +0 -1
- package/lib/tabs/tabs/Tabs.js +0 -113
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts +0 -17
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +0 -1
- package/lib/tags/clickable-tag/ClickableTag.css.js +0 -10
- package/lib/tags/clickable-tag/ClickableTag.d.ts +0 -13
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +0 -1
- package/lib/tags/clickable-tag/ClickableTag.js +0 -72
- package/lib/tags/index.d.ts +0 -4
- package/lib/tags/index.d.ts.map +0 -1
- package/lib/tags/index.js +0 -189
- package/lib/tags/index.umd.cjs +0 -1
- package/lib/tags/split-tag/SplitTag.css.d.ts +0 -67
- package/lib/tags/split-tag/SplitTag.css.d.ts.map +0 -1
- package/lib/tags/split-tag/SplitTag.css.js +0 -10
- package/lib/tags/split-tag/SplitTag.d.ts +0 -14
- package/lib/tags/split-tag/SplitTag.d.ts.map +0 -1
- package/lib/tags/split-tag/SplitTag.js +0 -32
- package/lib/tags/style.css +0 -1
- package/lib/tags/tag/Tag.css.d.ts +0 -24
- package/lib/tags/tag/Tag.css.d.ts.map +0 -1
- package/lib/tags/tag/Tag.css.js +0 -7
- package/lib/tags/tag/Tag.d.ts +0 -11
- package/lib/tags/tag/Tag.d.ts.map +0 -1
- package/lib/tags/tag/Tag.js +0 -41
- package/lib/types/table.d.ts.map +0 -1
- package/lib/utils/ChildrenFn.d.ts.map +0 -1
- package/lib/utils/ComponentProps.d.ts.map +0 -1
- package/lib/utils/Provide.d.ts.map +0 -1
- package/lib/utils/VariantDefinitions.d.ts.map +0 -1
- package/lib/utils/addClassName.d.ts.map +0 -1
- package/lib/utils/addProps.d.ts.map +0 -1
- package/lib/utils/bindProps.d.ts.map +0 -1
- package/lib/utils/cl.d.ts.map +0 -1
- package/lib/utils/combineEventHandlers.d.ts.map +0 -1
- package/lib/utils/contentOf.d.ts.map +0 -1
- package/lib/utils/getScrollParent.d.ts.map +0 -1
- package/lib/utils/modChildren.d.ts.map +0 -1
- package/lib/utils/selectChildren.d.ts.map +0 -1
- package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +0 -1
- package/lib/utils/useElementId.d.ts.map +0 -1
- package/lib/utils/usePatchReducer.d.ts.map +0 -1
- package/lib/utils/usePortal.d.ts.map +0 -1
- package/lib/zero-state/ZeroState.css.d.ts +0 -41
- package/lib/zero-state/ZeroState.css.d.ts.map +0 -1
- package/lib/zero-state/ZeroState.css.js +0 -12
- package/lib/zero-state/ZeroState.d.ts +0 -12
- package/lib/zero-state/ZeroState.d.ts.map +0 -1
- package/lib/zero-state/ZeroState.js +0 -31
- package/lib/zero-state/index.d.ts +0 -2
- package/lib/zero-state/index.d.ts.map +0 -1
- package/lib/zero-state/index.js +0 -84
- package/lib/zero-state/index.umd.cjs +0 -1
- package/lib/zero-state/style.css +0 -1
- package/vite.action-bar.config.mjs +0 -40
- package/vite.add-to-list.config.mjs +0 -40
- package/vite.buttons.config.mjs +0 -41
- package/vite.cards.config.mjs +0 -40
- package/vite.content-row.config.mjs +0 -40
- package/vite.content-tiles.config.mjs +0 -40
- package/vite.dropdowns.config.mjs +0 -41
- package/vite.editable-table.config.mjs +0 -68
- package/vite.feedback-block.config.mjs +0 -40
- package/vite.file-upload.config.mjs +0 -40
- package/vite.filter-tiles.config.mjs +0 -40
- package/vite.focused-task.config.mjs +0 -40
- package/vite.growler.config.mjs +0 -41
- package/vite.insight-card.config.mjs +0 -40
- package/vite.key-value-set.config.mjs +0 -40
- package/vite.list-bar.config.mjs +0 -40
- package/vite.matrix.config.mjs +0 -40
- package/vite.modal.config.mjs +0 -40
- package/vite.page-title.config.mjs +0 -40
- package/vite.photo.config.mjs +0 -40
- package/vite.product-bar-vertical.config.mjs +0 -40
- package/vite.product-bar.config.mjs +0 -42
- package/vite.progress-indicators.config.mjs +0 -40
- package/vite.rich-text-editor.config.mjs +0 -48
- package/vite.scrollable-container.config.mjs +0 -40
- package/vite.side-nav.config.mjs +0 -40
- package/vite.sorting-header.config.mjs +0 -40
- package/vite.subpaths.config.mjs +0 -246
- package/vite.tabs.config.mjs +0 -43
- package/vite.tags.config.mjs +0 -40
- package/vite.zero-state.config.mjs +0 -40
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
import * as r from "react";
|
|
2
|
-
import { Metadata as x, cl as E, SortDirection as C, getScrollParent as L, selectChildren as T, modChildren as W } from "@sps-woodland/core";
|
|
3
|
-
import { lockToAnimationFrames as G } from "@spscommerce/utils";
|
|
4
|
-
function H(e, s, n) {
|
|
5
|
-
return s in e ? Object.defineProperty(e, s, {
|
|
6
|
-
value: n,
|
|
7
|
-
enumerable: !0,
|
|
8
|
-
configurable: !0,
|
|
9
|
-
writable: !0
|
|
10
|
-
}) : e[s] = n, e;
|
|
11
|
-
}
|
|
12
|
-
function A(e, s) {
|
|
13
|
-
var n = Object.keys(e);
|
|
14
|
-
if (Object.getOwnPropertySymbols) {
|
|
15
|
-
var t = Object.getOwnPropertySymbols(e);
|
|
16
|
-
s && (t = t.filter(function(l) {
|
|
17
|
-
return Object.getOwnPropertyDescriptor(e, l).enumerable;
|
|
18
|
-
})), n.push.apply(n, t);
|
|
19
|
-
}
|
|
20
|
-
return n;
|
|
21
|
-
}
|
|
22
|
-
function D(e) {
|
|
23
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
24
|
-
var n = arguments[s] != null ? arguments[s] : {};
|
|
25
|
-
s % 2 ? A(Object(n), !0).forEach(function(t) {
|
|
26
|
-
H(e, t, n[t]);
|
|
27
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A(Object(n)).forEach(function(t) {
|
|
28
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
return e;
|
|
32
|
-
}
|
|
33
|
-
var F = (e, s, n) => {
|
|
34
|
-
for (var t of Object.keys(e)) {
|
|
35
|
-
var l;
|
|
36
|
-
if (e[t] !== ((l = s[t]) !== null && l !== void 0 ? l : n[t]))
|
|
37
|
-
return !1;
|
|
38
|
-
}
|
|
39
|
-
return !0;
|
|
40
|
-
}, O = (e) => (s) => {
|
|
41
|
-
var n = e.defaultClassName, t = D(D({}, e.defaultVariants), s);
|
|
42
|
-
for (var l in t) {
|
|
43
|
-
var _, i = (_ = t[l]) !== null && _ !== void 0 ? _ : e.defaultVariants[l];
|
|
44
|
-
if (i != null) {
|
|
45
|
-
var u = i;
|
|
46
|
-
typeof u == "boolean" && (u = u === !0 ? "true" : "false");
|
|
47
|
-
var v = (
|
|
48
|
-
// @ts-expect-error
|
|
49
|
-
e.variantClassNames[l][u]
|
|
50
|
-
);
|
|
51
|
-
v && (n += " " + v);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
for (var [a, p] of e.compoundVariants)
|
|
55
|
-
F(a, t, e.defaultVariants) && (n += " " + p);
|
|
56
|
-
return n;
|
|
57
|
-
}, I = O({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf0", variantClassNames: { up: { true: "pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf1" }, down: { true: "pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf2" } }, defaultVariants: {}, compoundVariants: [] }), R = O({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id1" }, active: { true: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id2" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id3", false: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id4" } }, defaultVariants: { disabled: !1, active: !1, __autoLayout: !1 }, compoundVariants: [] });
|
|
58
|
-
function B({
|
|
59
|
-
className: e,
|
|
60
|
-
sortKey: s,
|
|
61
|
-
sort: n,
|
|
62
|
-
sortDisabled: t,
|
|
63
|
-
onSortChange: l,
|
|
64
|
-
onClick: _,
|
|
65
|
-
children: i,
|
|
66
|
-
style: u,
|
|
67
|
-
widthPx: v,
|
|
68
|
-
widthRem: a,
|
|
69
|
-
__autoLayout: p = !1,
|
|
70
|
-
...d
|
|
71
|
-
}) {
|
|
72
|
-
const c = r.useMemo(() => {
|
|
73
|
-
const y = !!s && !t && Array.isArray(n) && n.find((b) => b.key === s);
|
|
74
|
-
return y ? y.direction : void 0;
|
|
75
|
-
}, [n, s, t]), S = v ? v / 16 : a, m = S ? { ...u, width: `${S}rem` } : u, N = (y) => {
|
|
76
|
-
s && !t && l && l([
|
|
77
|
-
{
|
|
78
|
-
key: s,
|
|
79
|
-
direction: c === C.ASCENDING ? C.DESCENDING : C.ASCENDING
|
|
80
|
-
}
|
|
81
|
-
]), _ && _(y);
|
|
82
|
-
};
|
|
83
|
-
return p ? /* @__PURE__ */ r.createElement(
|
|
84
|
-
"td",
|
|
85
|
-
{
|
|
86
|
-
className: E(
|
|
87
|
-
e,
|
|
88
|
-
R({ disabled: t, active: !!c, __autoLayout: p }),
|
|
89
|
-
c && I({
|
|
90
|
-
up: c === C.ASCENDING,
|
|
91
|
-
down: c === C.DESCENDING
|
|
92
|
-
})
|
|
93
|
-
),
|
|
94
|
-
onClick: N,
|
|
95
|
-
style: m,
|
|
96
|
-
...d
|
|
97
|
-
},
|
|
98
|
-
i
|
|
99
|
-
) : /* @__PURE__ */ r.createElement(
|
|
100
|
-
"div",
|
|
101
|
-
{
|
|
102
|
-
className: E(
|
|
103
|
-
e,
|
|
104
|
-
R({ disabled: t, active: !!c, __autoLayout: p }),
|
|
105
|
-
c && I({
|
|
106
|
-
up: c === C.ASCENDING,
|
|
107
|
-
down: c === C.DESCENDING
|
|
108
|
-
})
|
|
109
|
-
),
|
|
110
|
-
onClick: N,
|
|
111
|
-
style: m,
|
|
112
|
-
...d
|
|
113
|
-
},
|
|
114
|
-
i
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
x.set(B, {
|
|
118
|
-
name: "Sorting Header Cell",
|
|
119
|
-
props: {
|
|
120
|
-
sortKey: { type: "string" },
|
|
121
|
-
sort: { type: "SortedColumn[]" },
|
|
122
|
-
sortDisabled: { type: "boolean" },
|
|
123
|
-
onSortChange: { type: "SortChangeHandler" },
|
|
124
|
-
widthPx: { type: "number" },
|
|
125
|
-
widthRem: { type: "number" }
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
var k = O({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu0", variantClassNames: { pinned: { true: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu1", false: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu2" }, scrollParentIsWindow: { true: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu3", false: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu4" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu5", false: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu6" } }, defaultVariants: { pinned: !1, scrollParentIsWindow: !1, __autoLayout: !1 }, compoundVariants: [[{ pinned: !0, scrollParentIsWindow: !0 }, "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu7"]] }), M = "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu8";
|
|
129
|
-
function Y({
|
|
130
|
-
sort: e,
|
|
131
|
-
onSortChange: s,
|
|
132
|
-
children: n,
|
|
133
|
-
className: t,
|
|
134
|
-
pinSortingHeader: l = !1,
|
|
135
|
-
__autoLayout: _ = !1,
|
|
136
|
-
...i
|
|
137
|
-
}) {
|
|
138
|
-
const [u, v] = r.useState(!1), a = r.useRef(null), p = r.useRef(null), d = r.useRef({
|
|
139
|
-
height: "",
|
|
140
|
-
width: "",
|
|
141
|
-
unpinAtTop: 0,
|
|
142
|
-
unpinAtBottom: 0,
|
|
143
|
-
cellWidths: []
|
|
144
|
-
}), c = r.useCallback(() => a.current && L(a.current) || window, []), S = r.useCallback((o) => {
|
|
145
|
-
const f = o || c();
|
|
146
|
-
return f.scrollY || f.scrollTop || 0;
|
|
147
|
-
}, []), m = r.useCallback(
|
|
148
|
-
(o) => {
|
|
149
|
-
if (l && a.current) {
|
|
150
|
-
const f = o || c(), w = S(f), g = _ ? a.current.parentElement?.parentElement?.getBoundingClientRect() : a.current.parentElement?.getBoundingClientRect();
|
|
151
|
-
if (g) {
|
|
152
|
-
const h = a.current.getBoundingClientRect();
|
|
153
|
-
d.current.height = `${h.height}px`, d.current.width = `${h.width}px`, f === window ? (d.current.unpinAtBottom = g.bottom + w - h.height * 2, d.current.unpinAtTop = h.top + w - h.height) : (d.current.unpinAtBottom = g.bottom + w - h.height * 2, d.current.unpinAtTop = g.top + w), d.current.cellWidths = [], a.current.childNodes.forEach((j, V) => {
|
|
154
|
-
j instanceof HTMLElement && (d.current.cellWidths[V] = `${j.getBoundingClientRect().width}px`);
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
[l]
|
|
160
|
-
), N = r.useCallback(() => {
|
|
161
|
-
p.current && (p.current.style.width = d.current.width, p.current.style.height = d.current.height, p.current.childNodes.forEach((o, f) => {
|
|
162
|
-
o instanceof HTMLElement && (o.style.width = d.current.cellWidths[f] || "");
|
|
163
|
-
}));
|
|
164
|
-
}, []);
|
|
165
|
-
r.useLayoutEffect(() => {
|
|
166
|
-
m();
|
|
167
|
-
}), r.useLayoutEffect(() => {
|
|
168
|
-
let o;
|
|
169
|
-
const f = c();
|
|
170
|
-
return l ? (o = G(() => {
|
|
171
|
-
m(f);
|
|
172
|
-
const { unpinAtTop: w, unpinAtBottom: g } = d.current, h = S(f);
|
|
173
|
-
w && g && (h >= w && h <= g ? (v(!0), a.current && (a.current.style.visibility = "hidden")) : (v(!1), a.current && (a.current.style.visibility = "visible")));
|
|
174
|
-
}), f.addEventListener("scroll", o), o()) : a.current && (a.current.style.visibility = "visible"), () => {
|
|
175
|
-
o && f.removeEventListener("scroll", o);
|
|
176
|
-
};
|
|
177
|
-
}, [l, m]), r.useLayoutEffect(() => {
|
|
178
|
-
let o;
|
|
179
|
-
return u && (o = () => {
|
|
180
|
-
m(), N();
|
|
181
|
-
}, window.addEventListener("resize", o), o()), () => {
|
|
182
|
-
o && window.removeEventListener("resize", o);
|
|
183
|
-
};
|
|
184
|
-
}, [u, m, N]);
|
|
185
|
-
const [y] = T(n, [{ type: B }]), b = W(y, () => [{ sort: e, onSortChange: s }]), P = c() === window;
|
|
186
|
-
if (_) {
|
|
187
|
-
const o = /* @__PURE__ */ r.createElement("tr", null, /* @__PURE__ */ r.createElement("td", { className: E(M), colSpan: 100 }));
|
|
188
|
-
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
189
|
-
"tr",
|
|
190
|
-
{
|
|
191
|
-
ref: a,
|
|
192
|
-
className: E(
|
|
193
|
-
k({ pinned: !1, scrollParentIsWindow: P, __autoLayout: _ }),
|
|
194
|
-
t
|
|
195
|
-
),
|
|
196
|
-
...i
|
|
197
|
-
},
|
|
198
|
-
b
|
|
199
|
-
), o, u && /* @__PURE__ */ r.createElement(
|
|
200
|
-
"tr",
|
|
201
|
-
{
|
|
202
|
-
ref: p,
|
|
203
|
-
className: E(
|
|
204
|
-
t,
|
|
205
|
-
k({ pinned: !0, scrollParentIsWindow: P, __autoLayout: _ })
|
|
206
|
-
),
|
|
207
|
-
...i,
|
|
208
|
-
id: i.id ? `pinned-${i.id}` : void 0,
|
|
209
|
-
"data-testid": i["data-testid"] ? `pinned-${i["data-testid"]}` : void 0
|
|
210
|
-
},
|
|
211
|
-
b
|
|
212
|
-
));
|
|
213
|
-
}
|
|
214
|
-
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
215
|
-
"div",
|
|
216
|
-
{
|
|
217
|
-
ref: a,
|
|
218
|
-
className: E(
|
|
219
|
-
t,
|
|
220
|
-
k({ pinned: !1, scrollParentIsWindow: P, __autoLayout: _ })
|
|
221
|
-
),
|
|
222
|
-
...i
|
|
223
|
-
},
|
|
224
|
-
b
|
|
225
|
-
), u && /* @__PURE__ */ r.createElement(
|
|
226
|
-
"div",
|
|
227
|
-
{
|
|
228
|
-
ref: p,
|
|
229
|
-
className: E(
|
|
230
|
-
t,
|
|
231
|
-
k({ pinned: !0, scrollParentIsWindow: P, __autoLayout: _ })
|
|
232
|
-
),
|
|
233
|
-
...i,
|
|
234
|
-
id: i.id ? `pinned-${i.id}` : void 0,
|
|
235
|
-
"data-testid": i["data-testid"] ? `pinned-${i["data-testid"]}` : void 0
|
|
236
|
-
},
|
|
237
|
-
b
|
|
238
|
-
));
|
|
239
|
-
}
|
|
240
|
-
x.set(Y, {
|
|
241
|
-
name: "Sorting Header",
|
|
242
|
-
props: {
|
|
243
|
-
sort: { type: "SortedColumn[]" },
|
|
244
|
-
onSortChange: { type: "SortChangeHandler" }
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
export {
|
|
248
|
-
Y as SortingHeader,
|
|
249
|
-
B as SortingHeaderCell
|
|
250
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(v,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("@sps-woodland/core"),require("@spscommerce/utils")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@spscommerce/utils"],b):(v=typeof globalThis<"u"?globalThis:v||self,b(v.SortingHeader={},v.React,v.core,v.utils))})(this,(function(v,b,o,H){"use strict";function V(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const s=V(b);function L(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function A(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),n.push.apply(n,t)}return n}function R(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?A(Object(n),!0).forEach(function(t){L(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var W=(e,r,n)=>{for(var t of Object.keys(e)){var d;if(e[t]!==((d=r[t])!==null&&d!==void 0?d:n[t]))return!1}return!0},D=e=>r=>{var n=e.defaultClassName,t=R(R({},e.defaultVariants),r);for(var d in t){var _,l=(_=t[d])!==null&&_!==void 0?_:e.defaultVariants[d];if(l!=null){var p=l;typeof p=="boolean"&&(p=p===!0?"true":"false");var g=e.variantClassNames[d][p];g&&(n+=" "+g)}}for(var[a,f]of e.compoundVariants)W(a,t,e.defaultVariants)&&(n+=" "+f);return n},I=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf0",variantClassNames:{up:{true:"pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf1"},down:{true:"pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf2"}},defaultVariants:{},compoundVariants:[]}),T=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_11ho8id0",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_51_2__hash_11ho8id1"},active:{true:"pkg_sps-woodland_core__version_8_51_2__hash_11ho8id2"},__autoLayout:{true:"pkg_sps-woodland_core__version_8_51_2__hash_11ho8id3",false:"pkg_sps-woodland_core__version_8_51_2__hash_11ho8id4"}},defaultVariants:{disabled:!1,active:!1,__autoLayout:!1},compoundVariants:[]});function k({className:e,sortKey:r,sort:n,sortDisabled:t,onSortChange:d,onClick:_,children:l,style:p,widthPx:g,widthRem:a,__autoLayout:f=!1,...c}){const u=s.useMemo(()=>{const S=!!r&&!t&&Array.isArray(n)&&n.find(E=>E.key===r);return S?S.direction:void 0},[n,r,t]),P=g?g/16:a,w=P?{...p,width:`${P}rem`}:p,O=S=>{r&&!t&&d&&d([{key:r,direction:u===o.SortDirection.ASCENDING?o.SortDirection.DESCENDING:o.SortDirection.ASCENDING}]),_&&_(S)};return f?s.createElement("td",{className:o.cl(e,T({disabled:t,active:!!u,__autoLayout:f}),u&&I({up:u===o.SortDirection.ASCENDING,down:u===o.SortDirection.DESCENDING})),onClick:O,style:w,...c},l):s.createElement("div",{className:o.cl(e,T({disabled:t,active:!!u,__autoLayout:f}),u&&I({up:u===o.SortDirection.ASCENDING,down:u===o.SortDirection.DESCENDING})),onClick:O,style:w,...c},l)}o.Metadata.set(k,{name:"Sorting Header Cell",props:{sortKey:{type:"string"},sort:{type:"SortedColumn[]"},sortDisabled:{type:"boolean"},onSortChange:{type:"SortChangeHandler"},widthPx:{type:"number"},widthRem:{type:"number"}}});var j=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu0",variantClassNames:{pinned:{true:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu1",false:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu2"},scrollParentIsWindow:{true:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu3",false:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu4"},__autoLayout:{true:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu5",false:"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu6"}},defaultVariants:{pinned:!1,scrollParentIsWindow:!1,__autoLayout:!1},compoundVariants:[[{pinned:!0,scrollParentIsWindow:!0},"pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu7"]]}),G="pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu8";function x({sort:e,onSortChange:r,children:n,className:t,pinSortingHeader:d=!1,__autoLayout:_=!1,...l}){const[p,g]=s.useState(!1),a=s.useRef(null),f=s.useRef(null),c=s.useRef({height:"",width:"",unpinAtTop:0,unpinAtBottom:0,cellWidths:[]}),u=s.useCallback(()=>a.current&&o.getScrollParent(a.current)||window,[]),P=s.useCallback(i=>{const h=i||u();return h.scrollY||h.scrollTop||0},[]),w=s.useCallback(i=>{if(d&&a.current){const h=i||u(),y=P(h),C=_?a.current.parentElement?.parentElement?.getBoundingClientRect():a.current.parentElement?.getBoundingClientRect();if(C){const m=a.current.getBoundingClientRect();c.current.height=`${m.height}px`,c.current.width=`${m.width}px`,h===window?(c.current.unpinAtBottom=C.bottom+y-m.height*2,c.current.unpinAtTop=m.top+y-m.height):(c.current.unpinAtBottom=C.bottom+y-m.height*2,c.current.unpinAtTop=C.top+y),c.current.cellWidths=[],a.current.childNodes.forEach((B,M)=>{B instanceof HTMLElement&&(c.current.cellWidths[M]=`${B.getBoundingClientRect().width}px`)})}}},[d]),O=s.useCallback(()=>{f.current&&(f.current.style.width=c.current.width,f.current.style.height=c.current.height,f.current.childNodes.forEach((i,h)=>{i instanceof HTMLElement&&(i.style.width=c.current.cellWidths[h]||"")}))},[]);s.useLayoutEffect(()=>{w()}),s.useLayoutEffect(()=>{let i;const h=u();return d?(i=H.lockToAnimationFrames(()=>{w(h);const{unpinAtTop:y,unpinAtBottom:C}=c.current,m=P(h);y&&C&&(m>=y&&m<=C?(g(!0),a.current&&(a.current.style.visibility="hidden")):(g(!1),a.current&&(a.current.style.visibility="visible")))}),h.addEventListener("scroll",i),i()):a.current&&(a.current.style.visibility="visible"),()=>{i&&h.removeEventListener("scroll",i)}},[d,w]),s.useLayoutEffect(()=>{let i;return p&&(i=()=>{w(),O()},window.addEventListener("resize",i),i()),()=>{i&&window.removeEventListener("resize",i)}},[p,w,O]);const[S]=o.selectChildren(n,[{type:k}]),E=o.modChildren(S,()=>[{sort:e,onSortChange:r}]),N=u()===window;if(_){const i=s.createElement("tr",null,s.createElement("td",{className:o.cl(G),colSpan:100}));return s.createElement(s.Fragment,null,s.createElement("tr",{ref:a,className:o.cl(j({pinned:!1,scrollParentIsWindow:N,__autoLayout:_}),t),...l},E),i,p&&s.createElement("tr",{ref:f,className:o.cl(t,j({pinned:!0,scrollParentIsWindow:N,__autoLayout:_})),...l,id:l.id?`pinned-${l.id}`:void 0,"data-testid":l["data-testid"]?`pinned-${l["data-testid"]}`:void 0},E))}return s.createElement(s.Fragment,null,s.createElement("div",{ref:a,className:o.cl(t,j({pinned:!1,scrollParentIsWindow:N,__autoLayout:_})),...l},E),p&&s.createElement("div",{ref:f,className:o.cl(t,j({pinned:!0,scrollParentIsWindow:N,__autoLayout:_})),...l,id:l.id?`pinned-${l.id}`:void 0,"data-testid":l["data-testid"]?`pinned-${l["data-testid"]}`:void 0},E))}o.Metadata.set(x,{name:"Sorting Header",props:{sort:{type:"SortedColumn[]"},onSortChange:{type:"SortChangeHandler"}}}),v.SortingHeader=x,v.SortingHeaderCell=k,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const sortingHeader: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
2
|
-
pinned: {
|
|
3
|
-
true: {
|
|
4
|
-
borderRadius: number;
|
|
5
|
-
position: "fixed";
|
|
6
|
-
top: "0";
|
|
7
|
-
zIndex: number;
|
|
8
|
-
selectors: {
|
|
9
|
-
"&:after": {
|
|
10
|
-
background: "linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent)";
|
|
11
|
-
content: "";
|
|
12
|
-
display: "block";
|
|
13
|
-
height: string;
|
|
14
|
-
position: "absolute";
|
|
15
|
-
top: "calc(100%)";
|
|
16
|
-
left: string;
|
|
17
|
-
width: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
false: {};
|
|
22
|
-
};
|
|
23
|
-
scrollParentIsWindow: {
|
|
24
|
-
true: {};
|
|
25
|
-
false: {};
|
|
26
|
-
};
|
|
27
|
-
__autoLayout: {
|
|
28
|
-
true: {
|
|
29
|
-
display: "table-row";
|
|
30
|
-
};
|
|
31
|
-
false: {
|
|
32
|
-
display: "table";
|
|
33
|
-
tableLayout: "fixed";
|
|
34
|
-
width: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
export declare const sortingHeaderSpacer: string;
|
|
39
|
-
//# sourceMappingURL=SortingHeader.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SortingHeader.css.d.ts","sourceRoot":"","sources":["../../../src/sorting-header/sorting-header/SortingHeader.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgExB,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAI9B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
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 a = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu0", variantClassNames: { pinned: { true: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu1", false: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu2" }, scrollParentIsWindow: { true: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu3", false: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu4" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu5", false: "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu6" } }, defaultVariants: { pinned: !1, scrollParentIsWindow: !1, __autoLayout: !1 }, compoundVariants: [[{ pinned: !0, scrollParentIsWindow: !0 }, "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu7"]] }), e = "pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu8";
|
|
4
|
-
export {
|
|
5
|
-
a as sortingHeader,
|
|
6
|
-
e as sortingHeaderSpacer
|
|
7
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { ComponentProps, SortChangeHandler, SortedColumn } from "@sps-woodland/core";
|
|
3
|
-
export declare function SortingHeader({ sort, onSortChange, children, className, pinSortingHeader, __autoLayout, ...rest }: ComponentProps<{
|
|
4
|
-
sort: SortedColumn[];
|
|
5
|
-
onSortChange: SortChangeHandler;
|
|
6
|
-
pinSortingHeader?: boolean;
|
|
7
|
-
__autoLayout?: boolean;
|
|
8
|
-
}, HTMLDivElement>): React.ReactElement;
|
|
9
|
-
//# sourceMappingURL=SortingHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SortingHeader.d.ts","sourceRoot":"","sources":["../../../src/sorting-header/sorting-header/SortingHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAK1F,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,gBAAwB,EACxB,YAAoB,EACpB,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,YAAY,EAAE,iBAAiB,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CA6NrB"}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
import { Metadata as $, getScrollParent as L, selectChildren as k, modChildren as H, cl as p } from "@sps-woodland/core";
|
|
3
|
-
import { lockToAnimationFrames as W } from "@spscommerce/utils";
|
|
4
|
-
import { SortingHeaderCell as x } from "../sorting-header-cell/SortingHeaderCell.js";
|
|
5
|
-
import { sortingHeaderSpacer as N, sortingHeader as C } from "./SortingHeader.css.js";
|
|
6
|
-
function Y({
|
|
7
|
-
sort: B,
|
|
8
|
-
onSortChange: P,
|
|
9
|
-
children: R,
|
|
10
|
-
className: f,
|
|
11
|
-
pinSortingHeader: m = !1,
|
|
12
|
-
__autoLayout: d = !1,
|
|
13
|
-
...r
|
|
14
|
-
}) {
|
|
15
|
-
const [h, v] = e.useState(!1), n = e.useRef(null), a = e.useRef(null), i = e.useRef({
|
|
16
|
-
height: "",
|
|
17
|
-
width: "",
|
|
18
|
-
unpinAtTop: 0,
|
|
19
|
-
unpinAtBottom: 0,
|
|
20
|
-
cellWidths: []
|
|
21
|
-
}), g = e.useCallback(() => n.current && L(n.current) || window, []), y = e.useCallback((t) => {
|
|
22
|
-
const l = t || g();
|
|
23
|
-
return l.scrollY || l.scrollTop || 0;
|
|
24
|
-
}, []), u = e.useCallback(
|
|
25
|
-
(t) => {
|
|
26
|
-
if (m && n.current) {
|
|
27
|
-
const l = t || g(), o = y(l), s = d ? n.current.parentElement?.parentElement?.getBoundingClientRect() : n.current.parentElement?.getBoundingClientRect();
|
|
28
|
-
if (s) {
|
|
29
|
-
const c = n.current.getBoundingClientRect();
|
|
30
|
-
i.current.height = `${c.height}px`, i.current.width = `${c.width}px`, l === window ? (i.current.unpinAtBottom = s.bottom + o - c.height * 2, i.current.unpinAtTop = c.top + o - c.height) : (i.current.unpinAtBottom = s.bottom + o - c.height * 2, i.current.unpinAtTop = s.top + o), i.current.cellWidths = [], n.current.childNodes.forEach((S, T) => {
|
|
31
|
-
S instanceof HTMLElement && (i.current.cellWidths[T] = `${S.getBoundingClientRect().width}px`);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
[m]
|
|
37
|
-
), b = e.useCallback(() => {
|
|
38
|
-
a.current && (a.current.style.width = i.current.width, a.current.style.height = i.current.height, a.current.childNodes.forEach((t, l) => {
|
|
39
|
-
t instanceof HTMLElement && (t.style.width = i.current.cellWidths[l] || "");
|
|
40
|
-
}));
|
|
41
|
-
}, []);
|
|
42
|
-
e.useLayoutEffect(() => {
|
|
43
|
-
u();
|
|
44
|
-
}), e.useLayoutEffect(() => {
|
|
45
|
-
let t;
|
|
46
|
-
const l = g();
|
|
47
|
-
return m ? (t = W(() => {
|
|
48
|
-
u(l);
|
|
49
|
-
const { unpinAtTop: o, unpinAtBottom: s } = i.current, c = y(l);
|
|
50
|
-
o && s && (c >= o && c <= s ? (v(!0), n.current && (n.current.style.visibility = "hidden")) : (v(!1), n.current && (n.current.style.visibility = "visible")));
|
|
51
|
-
}), l.addEventListener("scroll", t), t()) : n.current && (n.current.style.visibility = "visible"), () => {
|
|
52
|
-
t && l.removeEventListener("scroll", t);
|
|
53
|
-
};
|
|
54
|
-
}, [m, u]), e.useLayoutEffect(() => {
|
|
55
|
-
let t;
|
|
56
|
-
return h && (t = () => {
|
|
57
|
-
u(), b();
|
|
58
|
-
}, window.addEventListener("resize", t), t()), () => {
|
|
59
|
-
t && window.removeEventListener("resize", t);
|
|
60
|
-
};
|
|
61
|
-
}, [h, u, b]);
|
|
62
|
-
const [A] = k(R, [{ type: x }]), E = H(A, () => [{ sort: B, onSortChange: P }]), w = g() === window;
|
|
63
|
-
if (d) {
|
|
64
|
-
const t = /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", { className: p(N), colSpan: 100 }));
|
|
65
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
66
|
-
"tr",
|
|
67
|
-
{
|
|
68
|
-
ref: n,
|
|
69
|
-
className: p(
|
|
70
|
-
C({ pinned: !1, scrollParentIsWindow: w, __autoLayout: d }),
|
|
71
|
-
f
|
|
72
|
-
),
|
|
73
|
-
...r
|
|
74
|
-
},
|
|
75
|
-
E
|
|
76
|
-
), t, h && /* @__PURE__ */ e.createElement(
|
|
77
|
-
"tr",
|
|
78
|
-
{
|
|
79
|
-
ref: a,
|
|
80
|
-
className: p(
|
|
81
|
-
f,
|
|
82
|
-
C({ pinned: !0, scrollParentIsWindow: w, __autoLayout: d })
|
|
83
|
-
),
|
|
84
|
-
...r,
|
|
85
|
-
id: r.id ? `pinned-${r.id}` : void 0,
|
|
86
|
-
"data-testid": r["data-testid"] ? `pinned-${r["data-testid"]}` : void 0
|
|
87
|
-
},
|
|
88
|
-
E
|
|
89
|
-
));
|
|
90
|
-
}
|
|
91
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
92
|
-
"div",
|
|
93
|
-
{
|
|
94
|
-
ref: n,
|
|
95
|
-
className: p(
|
|
96
|
-
f,
|
|
97
|
-
C({ pinned: !1, scrollParentIsWindow: w, __autoLayout: d })
|
|
98
|
-
),
|
|
99
|
-
...r
|
|
100
|
-
},
|
|
101
|
-
E
|
|
102
|
-
), h && /* @__PURE__ */ e.createElement(
|
|
103
|
-
"div",
|
|
104
|
-
{
|
|
105
|
-
ref: a,
|
|
106
|
-
className: p(
|
|
107
|
-
f,
|
|
108
|
-
C({ pinned: !0, scrollParentIsWindow: w, __autoLayout: d })
|
|
109
|
-
),
|
|
110
|
-
...r,
|
|
111
|
-
id: r.id ? `pinned-${r.id}` : void 0,
|
|
112
|
-
"data-testid": r["data-testid"] ? `pinned-${r["data-testid"]}` : void 0
|
|
113
|
-
},
|
|
114
|
-
E
|
|
115
|
-
));
|
|
116
|
-
}
|
|
117
|
-
$.set(Y, {
|
|
118
|
-
name: "Sorting Header",
|
|
119
|
-
props: {
|
|
120
|
-
sort: { type: "SortedColumn[]" },
|
|
121
|
-
onSortChange: { type: "SortChangeHandler" }
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
export {
|
|
125
|
-
Y as SortingHeader
|
|
126
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const headerCell: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
2
|
-
disabled: {
|
|
3
|
-
true: {
|
|
4
|
-
cursor: "default";
|
|
5
|
-
selectors: {
|
|
6
|
-
"&:hover": {
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
active: {
|
|
13
|
-
true: {
|
|
14
|
-
color: string;
|
|
15
|
-
backgroundColor: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
__autoLayout: {
|
|
19
|
-
true: {
|
|
20
|
-
textAlign: "left";
|
|
21
|
-
selectors: {
|
|
22
|
-
"&:first-child": {
|
|
23
|
-
borderTopLeftRadius: string;
|
|
24
|
-
borderBottomLeftRadius: string;
|
|
25
|
-
};
|
|
26
|
-
"&:last-child": {
|
|
27
|
-
borderTopRightRadius: string;
|
|
28
|
-
borderBottomRightRadius: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
false: {};
|
|
33
|
-
};
|
|
34
|
-
}>;
|
|
35
|
-
//# sourceMappingURL=SortingHeaderCell.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SortingHeaderCell.css.d.ts","sourceRoot":"","sources":["../../../src/sorting-header/sorting-header-cell/SortingHeaderCell.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDrB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
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 s = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id1" }, active: { true: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id2" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id3", false: "pkg_sps-woodland_core__version_8_51_2__hash_11ho8id4" } }, defaultVariants: { disabled: !1, active: !1, __autoLayout: !1 }, compoundVariants: [] });
|
|
4
|
-
export {
|
|
5
|
-
s as headerCell
|
|
6
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { SortedColumn, SortChangeHandler, ComponentProps } from "@sps-woodland/core";
|
|
3
|
-
export declare function SortingHeaderCell({ className, sortKey, sort, sortDisabled, onSortChange, onClick, children, style, widthPx, widthRem, __autoLayout, ...rest }: ComponentProps<{
|
|
4
|
-
sortKey?: string;
|
|
5
|
-
sortDisabled?: boolean;
|
|
6
|
-
sort?: SortedColumn[];
|
|
7
|
-
onSortChange?: SortChangeHandler;
|
|
8
|
-
widthPx?: number;
|
|
9
|
-
widthRem?: number;
|
|
10
|
-
__autoLayout?: boolean;
|
|
11
|
-
}, HTMLDivElement>): React.ReactElement;
|
|
12
|
-
//# sourceMappingURL=SortingHeaderCell.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SortingHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/sorting-header/sorting-header-cell/SortingHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAI1F,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAQ,EACR,YAAoB,EACpB,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAoErB"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as d from "react";
|
|
2
|
-
import { Metadata as u, cl as s, SortDirection as t } from "@sps-woodland/core";
|
|
3
|
-
import { headerCaret as y } from "../caret/caret.css.js";
|
|
4
|
-
import { headerCell as G } from "./SortingHeaderCell.css.js";
|
|
5
|
-
function A({
|
|
6
|
-
className: c,
|
|
7
|
-
sortKey: n,
|
|
8
|
-
sort: o,
|
|
9
|
-
sortDisabled: r,
|
|
10
|
-
onSortChange: l,
|
|
11
|
-
onClick: m,
|
|
12
|
-
children: p,
|
|
13
|
-
style: C,
|
|
14
|
-
widthPx: N,
|
|
15
|
-
widthRem: I,
|
|
16
|
-
__autoLayout: a = !1,
|
|
17
|
-
...S
|
|
18
|
-
}) {
|
|
19
|
-
const e = d.useMemo(() => {
|
|
20
|
-
const i = !!n && !r && Array.isArray(o) && o.find((h) => h.key === n);
|
|
21
|
-
return i ? i.direction : void 0;
|
|
22
|
-
}, [o, n, r]), E = N ? N / 16 : I, f = E ? { ...C, width: `${E}rem` } : C, D = (i) => {
|
|
23
|
-
n && !r && l && l([
|
|
24
|
-
{
|
|
25
|
-
key: n,
|
|
26
|
-
direction: e === t.ASCENDING ? t.DESCENDING : t.ASCENDING
|
|
27
|
-
}
|
|
28
|
-
]), m && m(i);
|
|
29
|
-
};
|
|
30
|
-
return a ? /* @__PURE__ */ d.createElement(
|
|
31
|
-
"td",
|
|
32
|
-
{
|
|
33
|
-
className: s(
|
|
34
|
-
c,
|
|
35
|
-
G({ disabled: r, active: !!e, __autoLayout: a }),
|
|
36
|
-
e && y({
|
|
37
|
-
up: e === t.ASCENDING,
|
|
38
|
-
down: e === t.DESCENDING
|
|
39
|
-
})
|
|
40
|
-
),
|
|
41
|
-
onClick: D,
|
|
42
|
-
style: f,
|
|
43
|
-
...S
|
|
44
|
-
},
|
|
45
|
-
p
|
|
46
|
-
) : /* @__PURE__ */ d.createElement(
|
|
47
|
-
"div",
|
|
48
|
-
{
|
|
49
|
-
className: s(
|
|
50
|
-
c,
|
|
51
|
-
G({ disabled: r, active: !!e, __autoLayout: a }),
|
|
52
|
-
e && y({
|
|
53
|
-
up: e === t.ASCENDING,
|
|
54
|
-
down: e === t.DESCENDING
|
|
55
|
-
})
|
|
56
|
-
),
|
|
57
|
-
onClick: D,
|
|
58
|
-
style: f,
|
|
59
|
-
...S
|
|
60
|
-
},
|
|
61
|
-
p
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
u.set(A, {
|
|
65
|
-
name: "Sorting Header Cell",
|
|
66
|
-
props: {
|
|
67
|
-
sortKey: { type: "string" },
|
|
68
|
-
sort: { type: "SortedColumn[]" },
|
|
69
|
-
sortDisabled: { type: "boolean" },
|
|
70
|
-
onSortChange: { type: "SortChangeHandler" },
|
|
71
|
-
widthPx: { type: "number" },
|
|
72
|
-
widthRem: { type: "number" }
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
export {
|
|
76
|
-
A as SortingHeaderCell
|
|
77
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf0:after{content:"";border-left-color:transparent;border-right-color:transparent;border-style:solid;border-width:.375rem .25rem;height:0;position:absolute;right:.5rem}.pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf1:after{border-bottom-color:#1f282c;border-top-color:transparent;top:calc(50% - 9px)}.pkg_sps-woodland_core__version_8_51_2__hash_ax8xqf2:after{border-top-color:#1f282c;border-bottom-color:transparent;top:calc(50% - 3px)}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id0{display:table-cell;vertical-align:middle;color:#4b5356;font-size:.75rem;font-weight:600;line-height:1.25rem;padding:.5rem;position:relative}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id0:hover{background-color:#f3f4f4}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id1{cursor:default}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id1:hover{background-color:#e9e9ea}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id2{color:#1f282c;background-color:#d2d4d4}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id3{text-align:left}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id3:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.pkg_sps-woodland_core__version_8_51_2__hash_11ho8id3:last-child{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu0{padding:0;border-radius:.25rem;vertical-align:bottom;cursor:pointer;background-color:#e9e9ea}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu1{border-radius:0;position:fixed;top:0;z-index:999}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu1:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.1),transparent);display:block;height:.625rem;position:absolute;top:100%;left:-.0625rem;width:100%}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu5{display:table-row}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu6{display:table;table-layout:fixed;width:100%}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu7{top:3.75rem}.pkg_sps-woodland_core__version_8_51_2__hash_1jpcvsu8{height:1rem;background:transparent;border:0}
|
package/lib/tabs/index.d.ts
DELETED
package/lib/tabs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC"}
|