@sps-woodland/core 8.50.2 → 8.51.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/action-bar/action-bar/ActionBar.css.d.ts +10 -0
- package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +1 -0
- package/lib/action-bar/action-bar/ActionBar.css.js +12 -0
- package/lib/action-bar/action-bar/ActionBar.d.ts +9 -0
- package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -0
- package/lib/action-bar/action-bar/ActionBar.js +61 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +4 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +1 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +24 -0
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/action-bar/index.d.ts.map +1 -0
- package/lib/action-bar/index.js +79 -0
- package/lib/action-bar/index.umd.cjs +1 -0
- package/lib/action-bar/style.css +1 -0
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts +91 -0
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/AddToList.css.js +25 -0
- package/lib/add-to-list/add-to-list/AddToList.d.ts +31 -0
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/AddToList.js +284 -0
- package/lib/add-to-list/add-to-list/ItemsList.d.ts +17 -0
- package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/ItemsList.js +67 -0
- package/lib/add-to-list/add-to-list/ListItem.d.ts +8 -0
- package/lib/add-to-list/add-to-list/ListItem.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/ListItem.js +51 -0
- package/lib/add-to-list/index.d.ts +2 -0
- package/lib/add-to-list/index.d.ts.map +1 -0
- package/lib/add-to-list/index.js +441 -0
- package/lib/add-to-list/index.umd.cjs +1 -0
- package/lib/add-to-list/style.css +1 -0
- package/lib/buttons/button/Button.css.d.ts +15 -0
- package/lib/buttons/button/Button.css.d.ts.map +1 -0
- package/lib/buttons/button/Button.css.js +10 -0
- package/lib/buttons/button/Button.d.ts +19 -0
- package/lib/buttons/button/Button.d.ts.map +1 -0
- package/lib/buttons/button/Button.js +116 -0
- package/lib/buttons/index.d.ts +2 -0
- package/lib/buttons/index.d.ts.map +1 -0
- package/lib/buttons/index.js +169 -0
- package/lib/buttons/index.umd.cjs +1 -0
- package/lib/buttons/style.css +1 -0
- package/lib/cards/card/Card.css.d.ts +2 -0
- package/lib/cards/card/Card.css.d.ts.map +1 -0
- package/lib/cards/card/Card.css.js +5 -0
- package/lib/cards/card/Card.d.ts +4 -0
- package/lib/cards/card/Card.d.ts.map +1 -0
- package/lib/cards/card/Card.js +28 -0
- package/lib/cards/card-footer/CardFooter.css.d.ts +2 -0
- package/lib/cards/card-footer/CardFooter.css.d.ts.map +1 -0
- package/lib/cards/card-footer/CardFooter.css.js +5 -0
- package/lib/cards/card-footer/CardFooter.d.ts +4 -0
- package/lib/cards/card-footer/CardFooter.d.ts.map +1 -0
- package/lib/cards/card-footer/CardFooter.js +14 -0
- package/lib/cards/card-header/CardHeader.css.d.ts +2 -0
- package/lib/cards/card-header/CardHeader.css.d.ts.map +1 -0
- package/lib/cards/card-header/CardHeader.css.js +5 -0
- package/lib/cards/card-header/CardHeader.d.ts +4 -0
- package/lib/cards/card-header/CardHeader.d.ts.map +1 -0
- package/lib/cards/card-header/CardHeader.js +14 -0
- package/lib/cards/card-title/CardTitle.css.d.ts +2 -0
- package/lib/cards/card-title/CardTitle.css.d.ts.map +1 -0
- package/lib/cards/card-title/CardTitle.css.js +5 -0
- package/lib/cards/card-title/CardTitle.d.ts +4 -0
- package/lib/cards/card-title/CardTitle.d.ts.map +1 -0
- package/lib/cards/card-title/CardTitle.js +14 -0
- package/lib/cards/index.d.ts +5 -0
- package/lib/cards/index.d.ts.map +1 -0
- package/lib/cards/index.js +56 -0
- package/lib/cards/index.umd.cjs +1 -0
- package/lib/cards/style.css +1 -0
- package/lib/column-manager/column-manager/ColumnManager.d.ts +23 -0
- package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -0
- package/lib/column-manager/column-manager/ColumnManager.js +114 -0
- package/lib/column-manager/column-manager/useColumnManager.d.ts +27 -0
- package/lib/column-manager/column-manager/useColumnManager.d.ts.map +1 -0
- package/lib/column-manager/column-manager/useColumnManager.js +49 -0
- package/lib/column-manager/index.d.ts +3 -0
- package/lib/column-manager/index.d.ts.map +1 -0
- package/lib/column-manager/index.js +6 -0
- package/lib/components/app-root/AppRoot.css.d.ts +2 -1
- package/lib/components/app-root/AppRoot.css.d.ts.map +1 -0
- package/lib/components/app-root/AppRoot.d.ts +1 -0
- package/lib/components/app-root/AppRoot.d.ts.map +1 -0
- package/lib/components/box/Box.d.ts +1 -0
- package/lib/components/box/Box.d.ts.map +1 -0
- package/lib/components/cap-content/CapContent.css.d.ts +1 -0
- package/lib/components/cap-content/CapContent.css.d.ts.map +1 -0
- package/lib/components/cap-content/CapContent.d.ts +1 -0
- package/lib/components/cap-content/CapContent.d.ts.map +1 -0
- package/lib/components/cap-content/CapContentTitle.d.ts +1 -0
- package/lib/components/cap-content/CapContentTitle.d.ts.map +1 -0
- package/lib/components/content/Content.css.d.ts +1 -0
- package/lib/components/content/Content.css.d.ts.map +1 -0
- package/lib/components/content/Content.d.ts +1 -0
- package/lib/components/content/Content.d.ts.map +1 -0
- package/lib/components/icon/Icon.css.d.ts +2 -1
- package/lib/components/icon/Icon.css.d.ts.map +1 -0
- package/lib/components/icon/Icon.d.ts +1 -0
- package/lib/components/icon/Icon.d.ts.map +1 -0
- package/lib/components/icon/icons/index.d.ts +1 -0
- package/lib/components/icon/icons/index.d.ts.map +1 -0
- package/lib/components/input-panel/InputPanel.css.d.ts +1 -0
- package/lib/components/input-panel/InputPanel.css.d.ts.map +1 -0
- package/lib/components/input-panel/InputPanel.d.ts +1 -0
- package/lib/components/input-panel/InputPanel.d.ts.map +1 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +1 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.css.d.ts +2 -1
- package/lib/components/spinner/Spinner.css.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.d.ts +1 -0
- package/lib/components/spinner/Spinner.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.examples.d.ts +1 -0
- package/lib/components/spinner/Spinner.examples.d.ts.map +1 -0
- package/lib/components/title/Title.css.d.ts +2 -1
- package/lib/components/title/Title.css.d.ts.map +1 -0
- package/lib/components/title/Title.d.ts +1 -0
- package/lib/components/title/Title.d.ts.map +1 -0
- package/lib/components/vertical-rule/VerticalRule.css.d.ts +1 -0
- package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +1 -0
- package/lib/components/vertical-rule/VerticalRule.d.ts +1 -0
- package/lib/components/vertical-rule/VerticalRule.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.css.d.ts +150 -0
- package/lib/content-row/content-row/ContentRow.css.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.css.js +19 -0
- package/lib/content-row/content-row/ContentRow.d.ts +27 -0
- package/lib/content-row/content-row/ContentRow.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.js +175 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +51 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +1 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.js +8 -0
- package/lib/content-row/content-row-col/ContentRowCol.d.ts +11 -0
- package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -0
- package/lib/content-row/content-row-col/ContentRowCol.js +50 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +6 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +25 -0
- package/lib/content-row/index.d.ts +5 -0
- package/lib/content-row/index.d.ts.map +1 -0
- package/lib/content-row/index.js +336 -0
- package/lib/content-row/index.umd.cjs +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +9 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +6 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +6 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +48 -0
- package/lib/content-row/style.css +1 -0
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts +59 -0
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +1 -0
- package/lib/content-tiles/content-tile/ContentTile.css.js +15 -0
- package/lib/content-tiles/content-tile/ContentTile.d.ts +16 -0
- package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -0
- package/lib/content-tiles/content-tile/ContentTile.js +62 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +3 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +1 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.js +6 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +3 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.js +14 -0
- package/lib/content-tiles/index.d.ts +3 -0
- package/lib/content-tiles/index.d.ts.map +1 -0
- package/lib/content-tiles/index.js +124 -0
- package/lib/content-tiles/index.umd.cjs +1 -0
- package/lib/content-tiles/style.css +1 -0
- package/lib/core.css +1 -0
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts +74 -0
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +1 -0
- package/lib/dropdowns/dropdown/Dropdown.css.js +9 -0
- package/lib/dropdowns/dropdown/Dropdown.d.ts +16 -0
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -0
- package/lib/dropdowns/dropdown/Dropdown.js +70 -0
- package/lib/dropdowns/index.d.ts +4 -0
- package/lib/dropdowns/index.d.ts.map +1 -0
- package/lib/dropdowns/index.js +180 -0
- package/lib/dropdowns/index.umd.cjs +1 -0
- package/lib/dropdowns/option-list/Option.css.d.ts +3 -0
- package/lib/dropdowns/option-list/Option.css.d.ts.map +1 -0
- package/lib/dropdowns/option-list/Option.css.js +6 -0
- package/lib/dropdowns/option-list/Option.d.ts +5 -0
- package/lib/dropdowns/option-list/Option.d.ts.map +1 -0
- package/lib/dropdowns/option-list/Option.js +22 -0
- package/lib/dropdowns/option-list/OptionList.css.d.ts +3 -0
- package/lib/dropdowns/option-list/OptionList.css.d.ts.map +1 -0
- package/lib/dropdowns/option-list/OptionList.css.js +6 -0
- package/lib/dropdowns/option-list/OptionList.d.ts +11 -0
- package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -0
- package/lib/dropdowns/option-list/OptionList.js +46 -0
- package/lib/dropdowns/style.css +1 -0
- package/lib/editable-table/EditableTable.d.ts +6 -0
- package/lib/editable-table/EditableTable.d.ts.map +1 -0
- package/lib/editable-table/EditableTable.js +71 -0
- package/lib/editable-table/index.d.ts +2 -0
- package/lib/editable-table/index.d.ts.map +1 -0
- package/lib/editable-table/index.js +4 -0
- package/lib/editable-table/style.css +157 -0
- package/lib/examples.d.ts +1 -0
- package/lib/examples.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.css.d.ts +12 -0
- package/lib/feedback-block/FeedbackBlock.css.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.css.js +8 -0
- package/lib/feedback-block/FeedbackBlock.d.ts +10 -0
- package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.js +38 -0
- package/lib/feedback-block/index.d.ts +2 -0
- package/lib/feedback-block/index.d.ts.map +1 -0
- package/lib/feedback-block/index.js +91 -0
- package/lib/feedback-block/index.umd.cjs +1 -0
- package/lib/feedback-block/style.css +1 -0
- package/lib/file-upload/file-upload/FileUpload.css.d.ts +95 -0
- package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.css.js +19 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts +20 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.js +197 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts +98 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +1 -0
- package/lib/file-upload/file-upload/mime-type.enum.js +106 -0
- package/lib/file-upload/index.d.ts +2 -0
- package/lib/file-upload/index.d.ts.map +1 -0
- package/lib/file-upload/index.js +352 -0
- package/lib/file-upload/index.umd.cjs +1 -0
- package/lib/file-upload/style.css +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +37 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.js +10 -0
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts +9 -0
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.js +35 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +2 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +5 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +4 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +16 -0
- package/lib/filter-tiles/index.d.ts +3 -0
- package/lib/filter-tiles/index.d.ts.map +1 -0
- package/lib/filter-tiles/index.js +100 -0
- package/lib/filter-tiles/index.umd.cjs +1 -0
- package/lib/filter-tiles/style.css +1 -0
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts +15 -0
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +1 -0
- package/lib/focused-task/focused-task/FocusedTask.css.js +13 -0
- package/lib/focused-task/focused-task/FocusedTask.d.ts +17 -0
- package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -0
- package/lib/focused-task/focused-task/FocusedTask.js +77 -0
- package/lib/focused-task/focused-task/useFocusedTask.d.ts +17 -0
- package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +1 -0
- package/lib/focused-task/focused-task/useFocusedTask.js +19 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +4 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +1 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +14 -0
- package/lib/focused-task/index.d.ts +4 -0
- package/lib/focused-task/index.d.ts.map +1 -0
- package/lib/focused-task/index.js +154 -0
- package/lib/focused-task/index.umd.cjs +1 -0
- package/lib/focused-task/style.css +1 -0
- package/lib/growler/Growler.css.d.ts +18 -0
- package/lib/growler/Growler.css.d.ts.map +1 -0
- package/lib/growler/Growler.css.js +13 -0
- package/lib/growler/Growler.d.ts +23 -0
- package/lib/growler/Growler.d.ts.map +1 -0
- package/lib/growler/Growler.js +93 -0
- package/lib/growler/GrowlerListProvider.d.ts +14 -0
- package/lib/growler/GrowlerListProvider.d.ts.map +1 -0
- package/lib/growler/GrowlerListProvider.js +42 -0
- package/lib/growler/Sonner.css.d.ts +17 -0
- package/lib/growler/Sonner.css.d.ts.map +1 -0
- package/lib/growler/Sonner.css.js +13 -0
- package/lib/growler/index.d.ts +4 -0
- package/lib/growler/index.d.ts.map +1 -0
- package/lib/growler/index.js +267 -0
- package/lib/growler/index.umd.cjs +1 -0
- package/lib/growler/sonner.d.ts +87 -0
- package/lib/growler/sonner.d.ts.map +1 -0
- package/lib/growler/sonner.js +86 -0
- package/lib/growler/style.css +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +38 -36
- package/lib/index.umd.cjs +4 -4
- package/lib/insight-card/InsightCard.css.d.ts +20 -0
- package/lib/insight-card/InsightCard.css.d.ts.map +1 -0
- package/lib/insight-card/InsightCard.css.js +14 -0
- package/lib/insight-card/InsightCard.d.ts +15 -0
- package/lib/insight-card/InsightCard.d.ts.map +1 -0
- package/lib/insight-card/InsightCard.js +69 -0
- package/lib/insight-card/InsightCardSet.d.ts +3 -0
- package/lib/insight-card/InsightCardSet.d.ts.map +1 -0
- package/lib/insight-card/InsightCardSet.js +13 -0
- package/lib/insight-card/index.d.ts +3 -0
- package/lib/insight-card/index.d.ts.map +1 -0
- package/lib/insight-card/index.js +130 -0
- package/lib/insight-card/index.umd.cjs +1 -0
- package/lib/insight-card/style.css +1 -0
- package/lib/key-value-set/index.d.ts +3 -0
- package/lib/key-value-set/index.d.ts.map +1 -0
- package/lib/key-value-set/index.js +95 -0
- package/lib/key-value-set/index.umd.cjs +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +7 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.js +6 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +6 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.js +23 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +14 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +8 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +7 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +23 -0
- package/lib/key-value-set/style.css +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +11 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.js +9 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +16 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.js +56 -0
- package/lib/list-bar/index.d.ts +8 -0
- package/lib/list-bar/index.d.ts.map +1 -0
- package/lib/list-bar/index.js +317 -0
- package/lib/list-bar/index.umd.cjs +1 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +4 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.js +20 -0
- package/lib/list-bar/list-bar/ListBar.css.d.ts +39 -0
- package/lib/list-bar/list-bar/ListBar.css.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBar.css.js +18 -0
- package/lib/list-bar/list-bar/ListBar.d.ts +20 -0
- package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBar.js +123 -0
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +6 -0
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSearch.js +23 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +4 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +13 -0
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +16 -0
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSortBy.js +40 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +10 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +1 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +14 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +11 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +30 -0
- package/lib/list-bar/style.css +1 -0
- package/lib/manifest.d.ts +1 -0
- package/lib/manifest.d.ts.map +1 -0
- package/lib/matrix/index.d.ts +7 -0
- package/lib/matrix/index.d.ts.map +1 -0
- package/lib/matrix/index.js +95 -0
- package/lib/matrix/index.umd.cjs +1 -0
- package/lib/matrix/matrix/Matrix.css.d.ts +5 -0
- package/lib/matrix/matrix/Matrix.css.d.ts.map +1 -0
- package/lib/matrix/matrix/Matrix.css.js +8 -0
- package/lib/matrix/matrix/Matrix.d.ts +6 -0
- package/lib/matrix/matrix/Matrix.d.ts.map +1 -0
- package/lib/matrix/matrix/Matrix.js +28 -0
- package/lib/matrix/matrix-body/MatrixBody.d.ts +4 -0
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -0
- package/lib/matrix/matrix-body/MatrixBody.js +15 -0
- package/lib/matrix/matrix-cell/MatrixCell.d.ts +4 -0
- package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +1 -0
- package/lib/matrix/matrix-cell/MatrixCell.js +19 -0
- package/lib/matrix/matrix-head/MatrixHead.d.ts +4 -0
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -0
- package/lib/matrix/matrix-head/MatrixHead.js +15 -0
- package/lib/matrix/matrix-header/MatrixHeader.d.ts +16 -0
- package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +1 -0
- package/lib/matrix/matrix-header/MatrixHeader.js +25 -0
- package/lib/matrix/matrix-row/MatrixRow.d.ts +4 -0
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -0
- package/lib/matrix/matrix-row/MatrixRow.js +15 -0
- package/lib/matrix/style.css +1 -0
- package/lib/metadata/metadata.d.ts +1 -0
- package/lib/metadata/metadata.d.ts.map +1 -0
- package/lib/modal/index.d.ts +4 -0
- package/lib/modal/index.d.ts.map +1 -0
- package/lib/modal/index.js +197 -0
- package/lib/modal/index.umd.cjs +1 -0
- package/lib/modal/modal/Modal.css.d.ts +20 -0
- package/lib/modal/modal/Modal.css.d.ts.map +1 -0
- package/lib/modal/modal/Modal.css.js +14 -0
- package/lib/modal/modal/Modal.d.ts +27 -0
- package/lib/modal/modal/Modal.d.ts.map +1 -0
- package/lib/modal/modal/Modal.js +113 -0
- package/lib/modal/modal/useModal.d.ts +17 -0
- package/lib/modal/modal/useModal.d.ts.map +1 -0
- package/lib/modal/modal/useModal.js +26 -0
- package/lib/modal/modal-footer/ModalFooter.d.ts +4 -0
- package/lib/modal/modal-footer/ModalFooter.d.ts.map +1 -0
- package/lib/modal/modal-footer/ModalFooter.js +14 -0
- package/lib/modal/style.css +1 -0
- 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 +57 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +11 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +4 -0
- package/lib/page-title/index.d.ts +3 -0
- package/lib/page-title/index.d.ts.map +1 -0
- package/lib/page-title/index.js +32 -0
- package/lib/page-title/index.umd.cjs +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +3 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.js +6 -0
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts +4 -0
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.js +19 -0
- package/lib/page-title/page-title/PageTitle.css.d.ts +4 -0
- package/lib/page-title/page-title/PageTitle.css.d.ts.map +1 -0
- package/lib/page-title/page-title/PageTitle.css.js +7 -0
- package/lib/page-title/page-title/PageTitle.d.ts +4 -0
- package/lib/page-title/page-title/PageTitle.d.ts.map +1 -0
- package/lib/page-title/page-title/PageTitle.js +17 -0
- package/lib/page-title/style.css +1 -0
- package/lib/photo/index.d.ts +3 -0
- package/lib/photo/index.d.ts.map +1 -0
- package/lib/photo/index.js +179 -0
- package/lib/photo/index.umd.cjs +1 -0
- package/lib/photo/photo/Photo.css.d.ts +12 -0
- package/lib/photo/photo/Photo.css.d.ts.map +1 -0
- package/lib/photo/photo/Photo.css.js +8 -0
- package/lib/photo/photo/Photo.d.ts +11 -0
- package/lib/photo/photo/Photo.d.ts.map +1 -0
- package/lib/photo/photo/Photo.js +83 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +13 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +1 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.js +10 -0
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +4 -0
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -0
- package/lib/photo/photo-carousel/PhotoCarousel.js +48 -0
- package/lib/photo/style.css +1 -0
- package/lib/product-bar/hooks/usePriorityPlus.d.ts +33 -0
- package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +1 -0
- package/lib/product-bar/hooks/usePriorityPlus.js +106 -0
- package/lib/product-bar/index.d.ts +5 -0
- package/lib/product-bar/index.d.ts.map +1 -0
- package/lib/product-bar/index.js +397 -0
- package/lib/product-bar/index.umd.cjs +1 -0
- package/lib/product-bar/product-bar/ProductBar.css.d.ts +43 -0
- package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +1 -0
- package/lib/product-bar/product-bar/ProductBar.css.js +15 -0
- package/lib/product-bar/product-bar/ProductBar.d.ts +14 -0
- package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -0
- package/lib/product-bar/product-bar/ProductBar.js +107 -0
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts +12 -0
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -0
- package/lib/product-bar/product-bar-name/ProductBarName.js +33 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +23 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +1 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +9 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +13 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +1 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +71 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +16 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +1 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +24 -0
- package/lib/product-bar/slack-link/SlackLink.css.d.ts +3 -0
- package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +1 -0
- package/lib/product-bar/slack-link/SlackLink.css.js +6 -0
- package/lib/product-bar/slack-link/SlackLink.d.ts +6 -0
- package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -0
- package/lib/product-bar/slack-link/SlackLink.js +32 -0
- package/lib/product-bar/style.css +1 -0
- package/lib/product-bar-vertical/index.d.ts +5 -0
- package/lib/product-bar-vertical/index.d.ts.map +1 -0
- package/lib/product-bar-vertical/index.js +261 -0
- package/lib/product-bar-vertical/index.umd.cjs +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +78 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +24 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +8 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +62 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +9 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +44 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +15 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +91 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +10 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +30 -0
- package/lib/product-bar-vertical/style.css +1 -0
- package/lib/progress-indicators/index.d.ts +4 -0
- package/lib/progress-indicators/index.d.ts.map +1 -0
- package/lib/progress-indicators/index.js +264 -0
- package/lib/progress-indicators/index.umd.cjs +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +19 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.js +14 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +13 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.js +112 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +14 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +9 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +14 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +56 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +8 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.js +54 -0
- package/lib/progress-indicators/style.css +1 -0
- package/lib/rich-text-editor/index.d.ts +3 -0
- package/lib/rich-text-editor/index.d.ts.map +1 -0
- package/lib/rich-text-editor/index.js +588 -0
- package/lib/rich-text-editor/index.umd.cjs +13 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +13 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +35 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +16 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +7 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +11 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +38 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +15 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +9 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +8 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +81 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +2 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +20 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +2 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +22 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +14 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +28 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +6 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +94 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +7 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +37 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +15 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +214 -0
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +12 -0
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +10 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +13 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +3 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +16 -0
- package/lib/rich-text-editor/style.css +1 -0
- package/lib/scrollable-container/ScrollableContainer.css.d.ts +2 -0
- package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +1 -0
- package/lib/scrollable-container/ScrollableContainer.css.js +5 -0
- package/lib/scrollable-container/ScrollableContainer.d.ts +6 -0
- package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -0
- package/lib/scrollable-container/ScrollableContainer.js +29 -0
- package/lib/scrollable-container/index.d.ts +2 -0
- package/lib/scrollable-container/index.d.ts.map +1 -0
- package/lib/scrollable-container/index.js +29 -0
- package/lib/scrollable-container/index.umd.cjs +1 -0
- package/lib/scrollable-container/style.css +1 -0
- package/lib/side-nav/index.d.ts +5 -0
- package/lib/side-nav/index.d.ts.map +1 -0
- package/lib/side-nav/index.js +228 -0
- package/lib/side-nav/index.umd.cjs +1 -0
- package/lib/side-nav/side-nav/SideNav.css.d.ts +30 -0
- package/lib/side-nav/side-nav/SideNav.css.d.ts.map +1 -0
- package/lib/side-nav/side-nav/SideNav.css.js +17 -0
- package/lib/side-nav/side-nav/SideNav.d.ts +9 -0
- package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -0
- package/lib/side-nav/side-nav/SideNav.js +62 -0
- package/lib/side-nav/side-nav/navContext.d.ts +5 -0
- package/lib/side-nav/side-nav/navContext.d.ts.map +1 -0
- package/lib/side-nav/side-nav/navContext.js +8 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +4 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +1 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.js +17 -0
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts +25 -0
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -0
- package/lib/side-nav/side-nav-item/SideNavItem.js +84 -0
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts +7 -0
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +1 -0
- package/lib/side-nav/side-nav-section/SideNavSection.js +28 -0
- package/lib/side-nav/style.css +1 -0
- package/lib/sorting-header/caret/caret.css.d.ts +21 -0
- package/lib/sorting-header/caret/caret.css.d.ts.map +1 -0
- package/lib/sorting-header/caret/caret.css.js +6 -0
- package/lib/sorting-header/index.d.ts +3 -0
- package/lib/sorting-header/index.d.ts.map +1 -0
- package/lib/sorting-header/index.js +250 -0
- package/lib/sorting-header/index.umd.cjs +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +39 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.js +7 -0
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts +9 -0
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.js +126 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +35 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +6 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +12 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +77 -0
- package/lib/sorting-header/style.css +1 -0
- package/lib/style.css +1 -1
- package/lib/tabs/index.d.ts +4 -0
- package/lib/tabs/index.d.ts.map +1 -0
- package/lib/tabs/index.js +206 -0
- package/lib/tabs/index.umd.cjs +1 -0
- package/lib/tabs/style.css +1 -0
- package/lib/tabs/tab/Tab.css.d.ts +12 -0
- package/lib/tabs/tab/Tab.css.d.ts.map +1 -0
- package/lib/tabs/tab/Tab.css.js +7 -0
- package/lib/tabs/tab/Tab.d.ts +10 -0
- package/lib/tabs/tab/Tab.d.ts.map +1 -0
- package/lib/tabs/tab/Tab.js +28 -0
- package/lib/tabs/tab-panel/TabPanel.d.ts +9 -0
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -0
- package/lib/tabs/tab-panel/TabPanel.js +24 -0
- package/lib/tabs/tabs/Tabs.css.d.ts +30 -0
- package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.css.js +11 -0
- package/lib/tabs/tabs/Tabs.d.ts +6 -0
- package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.js +113 -0
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts +17 -0
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -0
- package/lib/tags/clickable-tag/ClickableTag.css.js +10 -0
- package/lib/tags/clickable-tag/ClickableTag.d.ts +13 -0
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -0
- package/lib/tags/clickable-tag/ClickableTag.js +72 -0
- package/lib/tags/index.d.ts +4 -0
- package/lib/tags/index.d.ts.map +1 -0
- package/lib/tags/index.js +189 -0
- package/lib/tags/index.umd.cjs +1 -0
- package/lib/tags/split-tag/SplitTag.css.d.ts +67 -0
- package/lib/tags/split-tag/SplitTag.css.d.ts.map +1 -0
- package/lib/tags/split-tag/SplitTag.css.js +10 -0
- package/lib/tags/split-tag/SplitTag.d.ts +14 -0
- package/lib/tags/split-tag/SplitTag.d.ts.map +1 -0
- package/lib/tags/split-tag/SplitTag.js +32 -0
- package/lib/tags/style.css +1 -0
- package/lib/tags/tag/Tag.css.d.ts +24 -0
- package/lib/tags/tag/Tag.css.d.ts.map +1 -0
- package/lib/tags/tag/Tag.css.js +7 -0
- package/lib/tags/tag/Tag.d.ts +11 -0
- package/lib/tags/tag/Tag.d.ts.map +1 -0
- package/lib/tags/tag/Tag.js +41 -0
- package/lib/types/table.d.ts +1 -0
- package/lib/types/table.d.ts.map +1 -0
- package/lib/utils/ChildrenFn.d.ts +1 -0
- package/lib/utils/ChildrenFn.d.ts.map +1 -0
- package/lib/utils/ComponentProps.d.ts +1 -0
- package/lib/utils/ComponentProps.d.ts.map +1 -0
- package/lib/utils/Provide.d.ts +1 -0
- package/lib/utils/Provide.d.ts.map +1 -0
- package/lib/utils/VariantDefinitions.d.ts +1 -0
- package/lib/utils/VariantDefinitions.d.ts.map +1 -0
- package/lib/utils/addClassName.d.ts +1 -0
- package/lib/utils/addClassName.d.ts.map +1 -0
- package/lib/utils/addProps.d.ts +1 -0
- package/lib/utils/addProps.d.ts.map +1 -0
- package/lib/utils/bindProps.d.ts +1 -0
- package/lib/utils/bindProps.d.ts.map +1 -0
- package/lib/utils/cl.d.ts +1 -0
- package/lib/utils/cl.d.ts.map +1 -0
- package/lib/utils/combineEventHandlers.d.ts +1 -0
- package/lib/utils/combineEventHandlers.d.ts.map +1 -0
- package/lib/utils/contentOf.d.ts +1 -0
- package/lib/utils/contentOf.d.ts.map +1 -0
- package/lib/utils/getScrollParent.d.ts +1 -0
- package/lib/utils/getScrollParent.d.ts.map +1 -0
- package/lib/utils/modChildren.d.ts +1 -0
- package/lib/utils/modChildren.d.ts.map +1 -0
- package/lib/utils/selectChildren.d.ts +1 -0
- package/lib/utils/selectChildren.d.ts.map +1 -0
- package/lib/utils/useChildTestIdAttrBuilder.d.ts +1 -0
- package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +1 -0
- package/lib/utils/useElementId.d.ts +1 -0
- package/lib/utils/useElementId.d.ts.map +1 -0
- package/lib/utils/usePatchReducer.d.ts +1 -0
- package/lib/utils/usePatchReducer.d.ts.map +1 -0
- package/lib/utils/usePortal.d.ts +1 -0
- package/lib/utils/usePortal.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.css.d.ts +41 -0
- package/lib/zero-state/ZeroState.css.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.css.js +12 -0
- package/lib/zero-state/ZeroState.d.ts +12 -0
- package/lib/zero-state/ZeroState.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.js +31 -0
- package/lib/zero-state/index.d.ts +2 -0
- package/lib/zero-state/index.d.ts.map +1 -0
- package/lib/zero-state/index.js +84 -0
- package/lib/zero-state/index.umd.cjs +1 -0
- package/lib/zero-state/style.css +1 -0
- package/package.json +755 -6
- package/vite.action-bar.config.mjs +40 -0
- package/vite.add-to-list.config.mjs +40 -0
- package/vite.buttons.config.mjs +41 -0
- package/vite.cards.config.mjs +40 -0
- package/vite.config.mjs +5 -1
- package/vite.content-row.config.mjs +40 -0
- package/vite.content-tiles.config.mjs +40 -0
- package/vite.dropdowns.config.mjs +41 -0
- package/vite.editable-table.config.mjs +68 -0
- package/vite.feedback-block.config.mjs +40 -0
- package/vite.file-upload.config.mjs +40 -0
- package/vite.filter-tiles.config.mjs +40 -0
- package/vite.focused-task.config.mjs +40 -0
- package/vite.growler.config.mjs +41 -0
- package/vite.insight-card.config.mjs +40 -0
- package/vite.key-value-set.config.mjs +40 -0
- package/vite.list-bar.config.mjs +40 -0
- package/vite.matrix.config.mjs +40 -0
- package/vite.modal.config.mjs +40 -0
- package/vite.page-title.config.mjs +40 -0
- package/vite.photo.config.mjs +40 -0
- package/vite.product-bar-vertical.config.mjs +40 -0
- package/vite.product-bar.config.mjs +42 -0
- package/vite.progress-indicators.config.mjs +40 -0
- package/vite.rich-text-editor.config.mjs +48 -0
- package/vite.scrollable-container.config.mjs +40 -0
- package/vite.side-nav.config.mjs +40 -0
- package/vite.sorting-header.config.mjs +40 -0
- package/vite.subpaths.config.mjs +246 -0
- package/vite.tabs.config.mjs +43 -0
- package/vite.tags.config.mjs +40 -0
- package/vite.zero-state.config.mjs +40 -0
|
@@ -0,0 +1,250 @@
|
|
|
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_0__hash_ax8xqf0", variantClassNames: { up: { true: "pkg_sps-woodland_core__version_8_51_0__hash_ax8xqf1" }, down: { true: "pkg_sps-woodland_core__version_8_51_0__hash_ax8xqf2" } }, defaultVariants: {}, compoundVariants: [] }), R = O({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id1" }, active: { true: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id2" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id3", false: "pkg_sps-woodland_core__version_8_51_0__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_0__hash_1jpcvsu0", variantClassNames: { pinned: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu1", false: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu2" }, scrollParentIsWindow: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu3", false: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu4" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu5", false: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu6" } }, defaultVariants: { pinned: !1, scrollParentIsWindow: !1, __autoLayout: !1 }, compoundVariants: [[{ pinned: !0, scrollParentIsWindow: !0 }, "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu7"]] }), M = "pkg_sps-woodland_core__version_8_51_0__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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
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_0__hash_ax8xqf0",variantClassNames:{up:{true:"pkg_sps-woodland_core__version_8_51_0__hash_ax8xqf1"},down:{true:"pkg_sps-woodland_core__version_8_51_0__hash_ax8xqf2"}},defaultVariants:{},compoundVariants:[]}),T=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_11ho8id0",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_51_0__hash_11ho8id1"},active:{true:"pkg_sps-woodland_core__version_8_51_0__hash_11ho8id2"},__autoLayout:{true:"pkg_sps-woodland_core__version_8_51_0__hash_11ho8id3",false:"pkg_sps-woodland_core__version_8_51_0__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_0__hash_1jpcvsu0",variantClassNames:{pinned:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu1",false:"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu2"},scrollParentIsWindow:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu3",false:"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu4"},__autoLayout:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu5",false:"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu6"}},defaultVariants:{pinned:!1,scrollParentIsWindow:!1,__autoLayout:!1},compoundVariants:[[{pinned:!0,scrollParentIsWindow:!0},"pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu7"]]}),G="pkg_sps-woodland_core__version_8_51_0__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"})}));
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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_0__hash_1jpcvsu0", variantClassNames: { pinned: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu1", false: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu2" }, scrollParentIsWindow: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu3", false: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu4" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu5", false: "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu6" } }, defaultVariants: { pinned: !1, scrollParentIsWindow: !1, __autoLayout: !1 }, compoundVariants: [[{ pinned: !0, scrollParentIsWindow: !0 }, "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu7"]] }), e = "pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu8";
|
|
4
|
+
export {
|
|
5
|
+
a as sortingHeader,
|
|
6
|
+
e as sortingHeaderSpacer
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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_0__hash_11ho8id0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id1" }, active: { true: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id2" }, __autoLayout: { true: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id3", false: "pkg_sps-woodland_core__version_8_51_0__hash_11ho8id4" } }, defaultVariants: { disabled: !1, active: !1, __autoLayout: !1 }, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
s as headerCell
|
|
6
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_0__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_0__hash_ax8xqf1:after{border-bottom-color:#1f282c;border-top-color:transparent;top:calc(50% - 9px)}.pkg_sps-woodland_core__version_8_51_0__hash_ax8xqf2:after{border-top-color:#1f282c;border-bottom-color:transparent;top:calc(50% - 3px)}.pkg_sps-woodland_core__version_8_51_0__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_0__hash_11ho8id0:hover{background-color:#f3f4f4}.pkg_sps-woodland_core__version_8_51_0__hash_11ho8id1{cursor:default}.pkg_sps-woodland_core__version_8_51_0__hash_11ho8id1:hover{background-color:#e9e9ea}.pkg_sps-woodland_core__version_8_51_0__hash_11ho8id2{color:#1f282c;background-color:#d2d4d4}.pkg_sps-woodland_core__version_8_51_0__hash_11ho8id3{text-align:left}.pkg_sps-woodland_core__version_8_51_0__hash_11ho8id3:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.pkg_sps-woodland_core__version_8_51_0__hash_11ho8id3:last-child{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu0{padding:0;border-radius:.25rem;vertical-align:bottom;cursor:pointer;background-color:#e9e9ea}.pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu1{border-radius:0;position:fixed;top:0;z-index:999}.pkg_sps-woodland_core__version_8_51_0__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_0__hash_1jpcvsu5{display:table-row}.pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu6{display:table;table-layout:fixed;width:100%}.pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu7{top:3.75rem}.pkg_sps-woodland_core__version_8_51_0__hash_1jpcvsu8{height:1rem;background:transparent;border:0}
|