@sps-woodland/core 8.50.2 → 8.51.1
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 +8 -8
- package/lib/index.umd.cjs +1 -1
- 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 +7 -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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { Spinner as I, cl as T, Metadata as z, Icon as g } from "@sps-woodland/core";
|
|
3
|
+
import { useButton as F } from "@react-aria/button";
|
|
4
|
+
import { useHover as x } from "@react-aria/interactions";
|
|
5
|
+
import { mergeProps as H } from "@react-aria/utils";
|
|
6
|
+
import { FocusRing as L } from "@react-aria/focus";
|
|
7
|
+
import { useWoodlandLanguage as M } from "@spscommerce/i18n";
|
|
8
|
+
function A(_, o, e) {
|
|
9
|
+
return o in _ ? Object.defineProperty(_, o, {
|
|
10
|
+
value: e,
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
configurable: !0,
|
|
13
|
+
writable: !0
|
|
14
|
+
}) : _[o] = e, _;
|
|
15
|
+
}
|
|
16
|
+
function m(_, o) {
|
|
17
|
+
var e = Object.keys(_);
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var s = Object.getOwnPropertySymbols(_);
|
|
20
|
+
o && (s = s.filter(function(n) {
|
|
21
|
+
return Object.getOwnPropertyDescriptor(_, n).enumerable;
|
|
22
|
+
})), e.push.apply(e, s);
|
|
23
|
+
}
|
|
24
|
+
return e;
|
|
25
|
+
}
|
|
26
|
+
function k(_) {
|
|
27
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
28
|
+
var e = arguments[o] != null ? arguments[o] : {};
|
|
29
|
+
o % 2 ? m(Object(e), !0).forEach(function(s) {
|
|
30
|
+
A(_, s, e[s]);
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(e)) : m(Object(e)).forEach(function(s) {
|
|
32
|
+
Object.defineProperty(_, s, Object.getOwnPropertyDescriptor(e, s));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return _;
|
|
36
|
+
}
|
|
37
|
+
var K = (_, o, e) => {
|
|
38
|
+
for (var s of Object.keys(_)) {
|
|
39
|
+
var n;
|
|
40
|
+
if (_[s] !== ((n = o[s]) !== null && n !== void 0 ? n : e[s]))
|
|
41
|
+
return !1;
|
|
42
|
+
}
|
|
43
|
+
return !0;
|
|
44
|
+
}, f = (_) => (o) => {
|
|
45
|
+
var e = _.defaultClassName, s = k(k({}, _.defaultVariants), o);
|
|
46
|
+
for (var n in s) {
|
|
47
|
+
var d, p = (d = s[n]) !== null && d !== void 0 ? d : _.defaultVariants[n];
|
|
48
|
+
if (p != null) {
|
|
49
|
+
var r = p;
|
|
50
|
+
typeof r == "boolean" && (r = r === !0 ? "true" : "false");
|
|
51
|
+
var l = (
|
|
52
|
+
// @ts-expect-error
|
|
53
|
+
_.variantClassNames[n][r]
|
|
54
|
+
);
|
|
55
|
+
l && (e += " " + l);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
for (var [a, t] of _.compoundVariants)
|
|
59
|
+
K(a, s, _.defaultVariants) && (e += " " + t);
|
|
60
|
+
return e;
|
|
61
|
+
}, W = f({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq1", false: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq2" }, kind: { default: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq3", link: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq4", confirm: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq5", delete: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq6", key: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq7", icon: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq8" }, spinning: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq9", false: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqa" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [[{ kind: "icon", spinning: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqb"], [{ kind: "default", spinning: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqc"], [{ kind: "confirm", spinning: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqd"], [{ kind: "delete", spinning: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqe"], [{ kind: "key", spinning: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqf"], [{ disabled: !0, spinning: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqg"], [{ kind: "link", disabled: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqh"]] }), $ = f({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqi", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqj", false: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqk" }, kind: { icon: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieql", default: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqm", delete: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqn", key: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqo", confirm: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqp", link: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqq" }, spinning: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqr", false: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqs" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [] }), G = f({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqt", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1flqiequ", false: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqv" }, kind: { icon: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqw", default: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqx", delete: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqy", key: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieqz", confirm: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq10", link: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq11" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] }), w = "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq12", J = f({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq13", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq14", false: "pkg_sps-woodland_core__version_8_51_1__hash_1flqieq15" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] });
|
|
62
|
+
const Q = i.forwardRef(
|
|
63
|
+
({
|
|
64
|
+
as: _,
|
|
65
|
+
onClick: o,
|
|
66
|
+
onPress: e,
|
|
67
|
+
children: s,
|
|
68
|
+
className: n,
|
|
69
|
+
isDisabled: d,
|
|
70
|
+
disabled: p,
|
|
71
|
+
href: r,
|
|
72
|
+
icon: l,
|
|
73
|
+
kind: a = "default",
|
|
74
|
+
spinning: t,
|
|
75
|
+
spinningTitle: b,
|
|
76
|
+
title: y,
|
|
77
|
+
...c
|
|
78
|
+
}, O) => {
|
|
79
|
+
const P = _ ?? (r ? "a" : "button"), q = {
|
|
80
|
+
onPress: e ?? o,
|
|
81
|
+
// the button element should be disabled if the button is marked as disabled or spinning
|
|
82
|
+
isDisabled: t ?? p ?? d,
|
|
83
|
+
...c
|
|
84
|
+
}, { "data-testid": u } = c, N = i.useRef(null), v = O || N, { buttonProps: V } = F(
|
|
85
|
+
q,
|
|
86
|
+
v
|
|
87
|
+
), { hoverProps: C } = x({ isDisabled: q.isDisabled }), { type: E, ...j } = V, R = {
|
|
88
|
+
...H(j, C),
|
|
89
|
+
ref: v,
|
|
90
|
+
title: y,
|
|
91
|
+
className: r ? G({ spinning: t, kind: a }) : $({ disabled: d || p, kind: a, spinning: t }),
|
|
92
|
+
...r ? { href: r } : { type: E },
|
|
93
|
+
...c
|
|
94
|
+
}, { t: D } = M(), S = l && (l === "ai-color" ? (
|
|
95
|
+
// ai-color can only be used on default or link buttons for contrast/accessibility reasons
|
|
96
|
+
// if the user tries to use ai-color on a non-approved button swap it out for the regular ai icon
|
|
97
|
+
/* @__PURE__ */ i.createElement(
|
|
98
|
+
g,
|
|
99
|
+
{
|
|
100
|
+
className: w,
|
|
101
|
+
icon: a === "default" || a === "link" ? "ai-color" : "ai",
|
|
102
|
+
size: "sm",
|
|
103
|
+
"aria-hidden": "true",
|
|
104
|
+
"data-testid": `${u}__${l}-icon`
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
) : /* @__PURE__ */ i.createElement(
|
|
108
|
+
g,
|
|
109
|
+
{
|
|
110
|
+
className: w,
|
|
111
|
+
icon: l,
|
|
112
|
+
size: "sm",
|
|
113
|
+
"aria-hidden": "true",
|
|
114
|
+
"data-testid": `${u}__${l}-icon`
|
|
115
|
+
}
|
|
116
|
+
));
|
|
117
|
+
let h;
|
|
118
|
+
a === "default" || a === "icon" || a === "link" ? h = "dark" : h = "light";
|
|
119
|
+
const B = t && /* @__PURE__ */ i.createElement(
|
|
120
|
+
I,
|
|
121
|
+
{
|
|
122
|
+
color: h,
|
|
123
|
+
className: J({ spinning: t }),
|
|
124
|
+
title: b || D("button.spinningTitle", { defaultValue: "Loading..." }),
|
|
125
|
+
"data-testid": `${u}__spinner`
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
return /* @__PURE__ */ i.createElement(L, null, /* @__PURE__ */ i.createElement(
|
|
129
|
+
"div",
|
|
130
|
+
{
|
|
131
|
+
className: T(
|
|
132
|
+
W({
|
|
133
|
+
disabled: d || p,
|
|
134
|
+
kind: a,
|
|
135
|
+
spinning: t
|
|
136
|
+
}),
|
|
137
|
+
n
|
|
138
|
+
)
|
|
139
|
+
},
|
|
140
|
+
/* @__PURE__ */ i.createElement(P, { ...R }, S, s ? /* @__PURE__ */ i.createElement("span", null, s) : "", B)
|
|
141
|
+
));
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
z.set(Q, {
|
|
145
|
+
name: "Button",
|
|
146
|
+
props: {
|
|
147
|
+
disabled: "boolean",
|
|
148
|
+
href: "string",
|
|
149
|
+
icon: "IconName",
|
|
150
|
+
kind: {
|
|
151
|
+
type: '"default" | "link" | "icon" | "confirm" | "delete" | "key"',
|
|
152
|
+
default: '"default"'
|
|
153
|
+
},
|
|
154
|
+
spinning: "boolean",
|
|
155
|
+
spinningTitle: "string",
|
|
156
|
+
type: { type: '"button" | "submit"', default: '"button"' },
|
|
157
|
+
as: "button | a",
|
|
158
|
+
onClick: "() => void",
|
|
159
|
+
onPress: "() => void",
|
|
160
|
+
children: "ReactNode",
|
|
161
|
+
className: "string",
|
|
162
|
+
isDisabled: "boolean",
|
|
163
|
+
style: "CSSProperties"
|
|
164
|
+
},
|
|
165
|
+
panellable: !0
|
|
166
|
+
});
|
|
167
|
+
export {
|
|
168
|
+
Q as Button
|
|
169
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(o,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("@sps-woodland/core"),require("@react-aria/button"),require("@react-aria/interactions"),require("@react-aria/utils"),require("@react-aria/focus"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@react-aria/button","@react-aria/interactions","@react-aria/utils","@react-aria/focus","@spscommerce/i18n"],c):(o=typeof globalThis<"u"?globalThis:o||self,c(o.Buttons={},o.React,o.core,o.button$1,o.interactions,o.utils,o.focus,o.i18n))})(this,(function(o,c,u,P,j,N,V,C){"use strict";function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const _ in e)if(_!=="default"){const s=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(n,_,s.get?s:{enumerable:!0,get:()=>e[_]})}}return n.default=e,Object.freeze(n)}const t=E(c);function S(e,n,_){return n in e?Object.defineProperty(e,n,{value:_,enumerable:!0,configurable:!0,writable:!0}):e[n]=_,e}function m(e,n){var _=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),_.push.apply(_,s)}return _}function k(e){for(var n=1;n<arguments.length;n++){var _=arguments[n]!=null?arguments[n]:{};n%2?m(Object(_),!0).forEach(function(s){S(e,s,_[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(_)):m(Object(_)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(_,s))})}return e}var R=(e,n,_)=>{for(var s of Object.keys(e)){var a;if(e[s]!==((a=n[s])!==null&&a!==void 0?a:_[s]))return!1}return!0},h=e=>n=>{var _=e.defaultClassName,s=k(k({},e.defaultVariants),n);for(var a in s){var p,f=(p=s[a])!==null&&p!==void 0?p:e.defaultVariants[a];if(f!=null){var i=f;typeof i=="boolean"&&(i=i===!0?"true":"false");var l=e.variantClassNames[a][i];l&&(_+=" "+l)}}for(var[r,d]of e.compoundVariants)R(r,s,e.defaultVariants)&&(_+=" "+d);return _},D=h({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq0",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq1",false:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq2"},kind:{default:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq3",link:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq4",confirm:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq5",delete:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq6",key:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq7",icon:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq8"},spinning:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq9",false:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqa"}},defaultVariants:{disabled:!1,kind:"default",spinning:!1},compoundVariants:[[{kind:"icon",spinning:!0},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqb"],[{kind:"default",spinning:!0},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqc"],[{kind:"confirm",spinning:!0},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqd"],[{kind:"delete",spinning:!0},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqe"],[{kind:"key",spinning:!0},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqf"],[{disabled:!0,spinning:!1},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqg"],[{kind:"link",disabled:!0},"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqh"]]}),T=h({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqi",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqj",false:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqk"},kind:{icon:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieql",default:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqm",delete:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqn",key:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqo",confirm:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqp",link:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqq"},spinning:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqr",false:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqs"}},defaultVariants:{disabled:!1,kind:"default",spinning:!1},compoundVariants:[]}),B=h({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqt",variantClassNames:{spinning:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1flqiequ",false:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqv"},kind:{icon:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqw",default:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqx",delete:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqy",key:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieqz",confirm:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq10",link:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq11"}},defaultVariants:{spinning:!1},compoundVariants:[]}),w="pkg_sps-woodland_core__version_8_51_1__hash_1flqieq12",I=h({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq13",variantClassNames:{spinning:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq14",false:"pkg_sps-woodland_core__version_8_51_1__hash_1flqieq15"}},defaultVariants:{spinning:!1},compoundVariants:[]});const b=t.forwardRef(({as:e,onClick:n,onPress:_,children:s,className:a,isDisabled:p,disabled:f,href:i,icon:l,kind:r="default",spinning:d,spinningTitle:z,title:M,...q},x)=>{const F=e??(i?"a":"button"),y={onPress:_??n,isDisabled:d??f??p,...q},{"data-testid":v}=q,H=t.useRef(null),O=x||H,{buttonProps:L}=P.useButton(y,O),{hoverProps:$}=j.useHover({isDisabled:y.isDisabled}),{type:A,...K}=L,W={...N.mergeProps(K,$),ref:O,title:M,className:i?B({spinning:d,kind:r}):T({disabled:p||f,kind:r,spinning:d}),...i?{href:i}:{type:A},...q},{t:G}=C.useWoodlandLanguage(),J=l&&(l==="ai-color"?t.createElement(u.Icon,{className:w,icon:r==="default"||r==="link"?"ai-color":"ai",size:"sm","aria-hidden":"true","data-testid":`${v}__${l}-icon`}):t.createElement(u.Icon,{className:w,icon:l,size:"sm","aria-hidden":"true","data-testid":`${v}__${l}-icon`}));let g;r==="default"||r==="icon"||r==="link"?g="dark":g="light";const Q=d&&t.createElement(u.Spinner,{color:g,className:I({spinning:d}),title:z||G("button.spinningTitle",{defaultValue:"Loading..."}),"data-testid":`${v}__spinner`});return t.createElement(V.FocusRing,null,t.createElement("div",{className:u.cl(D({disabled:p||f,kind:r,spinning:d}),a)},t.createElement(F,{...W},J,s?t.createElement("span",null,s):"",Q)))});u.Metadata.set(b,{name:"Button",props:{disabled:"boolean",href:"string",icon:"IconName",kind:{type:'"default" | "link" | "icon" | "confirm" | "delete" | "key"',default:'"default"'},spinning:"boolean",spinningTitle:"string",type:{type:'"button" | "submit"',default:'"button"'},as:"button | a",onClick:"() => void",onPress:"() => void",children:"ReactNode",className:"string",isDisabled:"boolean",style:"CSSProperties"},panellable:!0}),o.Button=b,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq0{border-width:.0625rem;border-style:solid;border-radius:.25rem;cursor:pointer;display:inline-block;font-size:.75rem;font-weight:600;line-height:.875rem;padding:0;position:relative;vertical-align:middle}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq3{background:#e9e9ea;border-color:#d2d4d4;color:#4b5356}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq3:hover{background:#d2d4d4}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq4{background:none transparent;border:0;color:#007db8}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq4:hover{background:none transparent;color:#09638d;text-decoration:none}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq5{background:#007db8;border-color:#09638d;color:#fff}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq5:hover{background:#09638d}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq6{background:#de002e;border-color:#a30d2d;color:#fff}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq6:hover{background:#a30d2d}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq7{background:#4b5356;border-color:#1f282c;color:#fff}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq7:hover{background:#1f282c}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq8{background:transparent;border-color:transparent;color:#4b5356}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq8:hover{background-color:#d2d4d4;border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq9{color:transparent!important;cursor:not-allowed}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqb{background:#e9e9ea;border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqb:hover,.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqc:hover{background:#e9e9ea}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqd:hover{background:#007db8}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqe:hover{background:#de002e}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqf:hover{background:#4b5356}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqg{background:#fff!important;border-color:#d2d4d4!important;color:#717779!important;cursor:not-allowed}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqg:hover{background:#fff}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqh{background:none transparent!important}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqi{background:none transparent;border:0 none;color:inherit;display:flex;align-items:center;font-size:inherit;font-weight:inherit;margin:0;text-decoration:none;padding:.5rem 1rem}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqi:hover{text-decoration:none}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqj{cursor:not-allowed!important}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieql{padding:.25rem .5rem}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqq{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqr{cursor:not-allowed!important}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqt{background:none transparent;border:0 none;color:inherit;cursor:inherit;display:flex;align-items:center;font-size:inherit;font-weight:inherit;margin:0;padding:.5rem 1rem;text-decoration:none}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqt:hover{text-decoration:none;color:inherit}.pkg_sps-woodland_core__version_8_51_1__hash_1flqiequ{cursor:not-allowed}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieqw{padding:.25rem .5rem}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq11{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq12:not(:last-child){margin-right:.5rem}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq13{left:50%;margin:-.875rem -.4375rem;position:absolute}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq14{cursor:not-allowed;display:inline}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq15{display:none}.pkg_sps-woodland_core__version_8_51_1__hash_1flqieq13>i{border-width:.125rem;height:.875rem;width:.875rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card/Card.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAWf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/cards/card/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAY,MAAM,oBAAoB,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAqC9D"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Metadata as t, selectChildren as p, useChildTestIdAttrBuilder as C, cl as l, addProps as f, Content as u } from "@sps-woodland/core";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { CardFooter as b } from "../card-footer/CardFooter.js";
|
|
4
|
+
import { CardHeader as y } from "../card-header/CardHeader.js";
|
|
5
|
+
import { card as h } from "./Card.css.js";
|
|
6
|
+
function x({
|
|
7
|
+
children: n,
|
|
8
|
+
className: d,
|
|
9
|
+
...e
|
|
10
|
+
}) {
|
|
11
|
+
const [
|
|
12
|
+
m,
|
|
13
|
+
[o],
|
|
14
|
+
s,
|
|
15
|
+
c
|
|
16
|
+
] = p(n, [
|
|
17
|
+
{ type: y },
|
|
18
|
+
{
|
|
19
|
+
custom: (r) => t.isWoodlandComponent(r) && t.get(r).name === "Tabs"
|
|
20
|
+
},
|
|
21
|
+
{ type: b }
|
|
22
|
+
]), i = C(e);
|
|
23
|
+
return /* @__PURE__ */ a.createElement("div", { className: l(h, d), ...e }, m, o ? f(o, { context: "container" }) : /* @__PURE__ */ a.createElement(u, { ...i("body") }, c), s);
|
|
24
|
+
}
|
|
25
|
+
t.set(x, { name: "Card" });
|
|
26
|
+
export {
|
|
27
|
+
x as Card
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFooter.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-footer/CardFooter.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAIrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../src/cards/card-footer/CardFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Metadata as o, CapContent as a, cl as m } from "@sps-woodland/core";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { cardFooter as c } from "./CardFooter.css.js";
|
|
4
|
+
function p({
|
|
5
|
+
children: t,
|
|
6
|
+
className: r = "",
|
|
7
|
+
...e
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ n.createElement(a, { className: m(c, r), ...e }, t);
|
|
10
|
+
}
|
|
11
|
+
o.set(p, { name: "CardFooter" });
|
|
12
|
+
export {
|
|
13
|
+
p as CardFooter
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-header/CardHeader.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAIrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../src/cards/card-header/CardHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Metadata as t, CapContent as m, cl as o } from "@sps-woodland/core";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cardHeader as n } from "./CardHeader.css.js";
|
|
4
|
+
function c({
|
|
5
|
+
children: e,
|
|
6
|
+
className: a = "",
|
|
7
|
+
...r
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ d.createElement(m, { className: o(n, a), ...r }, e);
|
|
10
|
+
}
|
|
11
|
+
t.set(c, { name: "CardHeader" });
|
|
12
|
+
export {
|
|
13
|
+
c as CardHeader
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTitle.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-title/CardTitle.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,QAEpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../src/cards/card-title/CardTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Metadata as r, CapContentTitle as m, cl as o } from "@sps-woodland/core";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { cardTitle as l } from "./CardTitle.css.js";
|
|
4
|
+
function n({
|
|
5
|
+
children: t,
|
|
6
|
+
className: e = "",
|
|
7
|
+
...a
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ i.createElement(m, { className: o(l, e), ...a }, t);
|
|
10
|
+
}
|
|
11
|
+
r.set(n, { name: "CardTitle" });
|
|
12
|
+
export {
|
|
13
|
+
n as CardTitle
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cards/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Metadata as r, CapContent as d, cl as n, selectChildren as u, useChildTestIdAttrBuilder as h, addProps as v, Content as f, CapContentTitle as y } from "@sps-woodland/core";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
var g = "pkg_sps-woodland_core__version_8_51_1__hash_jj9br00";
|
|
4
|
+
function c({
|
|
5
|
+
children: t,
|
|
6
|
+
className: a = "",
|
|
7
|
+
...e
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ o.createElement(d, { className: n(g, a), ...e }, t);
|
|
10
|
+
}
|
|
11
|
+
r.set(c, { name: "CardFooter" });
|
|
12
|
+
var T = "pkg_sps-woodland_core__version_8_51_1__hash_171xmyc0";
|
|
13
|
+
function l({
|
|
14
|
+
children: t,
|
|
15
|
+
className: a = "",
|
|
16
|
+
...e
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ o.createElement(d, { className: n(T, a), ...e }, t);
|
|
19
|
+
}
|
|
20
|
+
r.set(l, { name: "CardHeader" });
|
|
21
|
+
var b = "pkg_sps-woodland_core__version_8_51_1__hash_1yomitg0";
|
|
22
|
+
function k({
|
|
23
|
+
children: t,
|
|
24
|
+
className: a,
|
|
25
|
+
...e
|
|
26
|
+
}) {
|
|
27
|
+
const [
|
|
28
|
+
m,
|
|
29
|
+
[_],
|
|
30
|
+
i,
|
|
31
|
+
p
|
|
32
|
+
] = u(t, [
|
|
33
|
+
{ type: l },
|
|
34
|
+
{
|
|
35
|
+
custom: (s) => r.isWoodlandComponent(s) && r.get(s).name === "Tabs"
|
|
36
|
+
},
|
|
37
|
+
{ type: c }
|
|
38
|
+
]), C = h(e);
|
|
39
|
+
return /* @__PURE__ */ o.createElement("div", { className: n(b, a), ...e }, m, _ ? v(_, { context: "container" }) : /* @__PURE__ */ o.createElement(f, { ...C("body") }, p), i);
|
|
40
|
+
}
|
|
41
|
+
r.set(k, { name: "Card" });
|
|
42
|
+
var E = "pkg_sps-woodland_core__version_8_51_1__hash_1c9yfku0";
|
|
43
|
+
function w({
|
|
44
|
+
children: t,
|
|
45
|
+
className: a = "",
|
|
46
|
+
...e
|
|
47
|
+
}) {
|
|
48
|
+
return /* @__PURE__ */ o.createElement(y, { className: n(E, a), ...e }, t);
|
|
49
|
+
}
|
|
50
|
+
r.set(w, { name: "CardTitle" });
|
|
51
|
+
export {
|
|
52
|
+
k as Card,
|
|
53
|
+
c as CardFooter,
|
|
54
|
+
l as CardHeader,
|
|
55
|
+
w as CardTitle
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@sps-woodland/core"),require("react")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.Cards={},n.core,n.React))})(this,(function(n,e,f){"use strict";function p(t){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(d,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return d.default=t,Object.freeze(d)}const r=p(f);var m="pkg_sps-woodland_core__version_8_51_1__hash_jj9br00";function s({children:t,className:d="",...a}){return r.createElement(e.CapContent,{className:e.cl(m,d),...a},t)}e.Metadata.set(s,{name:"CardFooter"});var C="pkg_sps-woodland_core__version_8_51_1__hash_171xmyc0";function i({children:t,className:d="",...a}){return r.createElement(e.CapContent,{className:e.cl(C,d),...a},t)}e.Metadata.set(i,{name:"CardHeader"});var y="pkg_sps-woodland_core__version_8_51_1__hash_1yomitg0";function _({children:t,className:d,...a}){const[o,[l],b,g]=e.selectChildren(t,[{type:i},{custom:u=>e.Metadata.isWoodlandComponent(u)&&e.Metadata.get(u).name==="Tabs"},{type:s}]),v=e.useChildTestIdAttrBuilder(a);return r.createElement("div",{className:e.cl(y,d),...a},o,l?e.addProps(l,{context:"container"}):r.createElement(e.Content,{...v("body")},g),b)}e.Metadata.set(_,{name:"Card"});var h="pkg_sps-woodland_core__version_8_51_1__hash_1c9yfku0";function c({children:t,className:d="",...a}){return r.createElement(e.CapContentTitle,{className:e.cl(h,d),...a},t)}e.Metadata.set(c,{name:"CardTitle"}),n.Card=_,n.CardFooter=s,n.CardHeader=i,n.CardTitle=c,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_1__hash_jj9br00{border-top-color:#d2d4d4;border-top-style:solid;border-top-width:.0625rem}.pkg_sps-woodland_core__version_8_51_1__hash_171xmyc0{border-bottom-color:#d2d4d4;border-bottom-style:solid;border-bottom-width:.0625rem}.pkg_sps-woodland_core__version_8_51_1__hash_171xmyc0 svg{margin-bottom:0}.pkg_sps-woodland_core__version_8_51_1__hash_1yomitg0{background-clip:border-box;background-color:#fff;border-color:#d2d4d4;border-radius:.25rem;border-style:solid;border-width:.0625rem;display:flex;flex-direction:column;min-width:0;word-wrap:break-word}.pkg_sps-woodland_core__version_8_51_1__hash_1c9yfku0{font-weight:600}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
2
|
+
import type { ItemProps } from "@sps-woodland/core/add-to-list";
|
|
3
|
+
export type ColumnmanagerProps = ComponentProps<{
|
|
4
|
+
isOpen?: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
visibleColumnsHeader?: string;
|
|
7
|
+
hiddenColumnsHeader?: string;
|
|
8
|
+
visibleColumns: ItemProps[];
|
|
9
|
+
hiddenColumns: ItemProps[];
|
|
10
|
+
manualSort?: boolean;
|
|
11
|
+
maxDisplayedItems?: number;
|
|
12
|
+
showIcons?: boolean;
|
|
13
|
+
showCount?: boolean;
|
|
14
|
+
showFilter?: boolean;
|
|
15
|
+
showMoveAllLinks?: boolean;
|
|
16
|
+
cancelButtonText?: string;
|
|
17
|
+
saveButtonText?: string;
|
|
18
|
+
onSave?: (visibleColumns: ItemProps[], hiddenColumns: ItemProps[]) => void;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onOpen?: () => void;
|
|
21
|
+
}>;
|
|
22
|
+
export declare function ColumnManager({ isOpen: isOpenProp, title, visibleColumnsHeader, hiddenColumnsHeader, visibleColumns, hiddenColumns, maxDisplayedItems, manualSort, showIcons, showCount, showFilter, showMoveAllLinks, cancelButtonText, saveButtonText, onSave, onOpen, onClose, "data-testid": dataTestId, }: ColumnmanagerProps): JSX.Element | null;
|
|
23
|
+
//# sourceMappingURL=ColumnManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnManager.d.ts","sourceRoot":"","sources":["../../../src/column-manager/column-manager/ColumnManager.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAOhE,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,SAAS,EAAE,CAAC;IAC5B,aAAa,EAAE,SAAS,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,CAAC,cAAc,EAAE,SAAS,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IAC3E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EAAE,UAAU,EAClB,KAAK,EACL,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,UAAiB,EACjB,SAAgB,EAChB,SAAgB,EAChB,UAAiB,EACjB,gBAAuB,EACvB,gBAAgB,EAChB,cAAc,EACd,MAAM,EACN,MAAM,EACN,OAAO,EACP,aAAa,EAAE,UAAU,GAC1B,EAAE,kBAAkB,sBAqFpB"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { Metadata as A, useChildTestIdAttrBuilder as V } from "@sps-woodland/core";
|
|
3
|
+
import { AddToList as T } from "@sps-woodland/core/add-to-list";
|
|
4
|
+
import { sprinkles as w } from "@sps-woodland/tokens";
|
|
5
|
+
import { SpsModal as x, SpsModalFooter as q, SpsButton as c } from "@spscommerce/ds-react";
|
|
6
|
+
import { ModalSize as F, ModalKind as K, ButtonKind as f } from "@spscommerce/ds-shared";
|
|
7
|
+
import { useWoodlandLanguage as O } from "@spscommerce/i18n";
|
|
8
|
+
function R({
|
|
9
|
+
isOpen: n,
|
|
10
|
+
title: C,
|
|
11
|
+
visibleColumnsHeader: y,
|
|
12
|
+
hiddenColumnsHeader: g,
|
|
13
|
+
visibleColumns: a,
|
|
14
|
+
hiddenColumns: l,
|
|
15
|
+
maxDisplayedItems: b,
|
|
16
|
+
manualSort: M = !0,
|
|
17
|
+
showIcons: v = !0,
|
|
18
|
+
showCount: E = !0,
|
|
19
|
+
showFilter: L = !0,
|
|
20
|
+
showMoveAllLinks: h = !0,
|
|
21
|
+
cancelButtonText: S,
|
|
22
|
+
saveButtonText: I,
|
|
23
|
+
onSave: k,
|
|
24
|
+
onOpen: B,
|
|
25
|
+
onClose: H,
|
|
26
|
+
"data-testid": d
|
|
27
|
+
}) {
|
|
28
|
+
const [s, m] = e.useState(!!n), { t } = O(), r = V({ "data-testid": d }), [o, i] = e.useState({
|
|
29
|
+
visibleColumns: a,
|
|
30
|
+
hiddenColumns: l
|
|
31
|
+
}), u = () => {
|
|
32
|
+
m(!1), H?.();
|
|
33
|
+
};
|
|
34
|
+
return e.useEffect(() => {
|
|
35
|
+
s && (i({ visibleColumns: a, hiddenColumns: l }), B?.());
|
|
36
|
+
}, [s]), e.useEffect(() => {
|
|
37
|
+
m(!!n);
|
|
38
|
+
}, [n]), s ? /* @__PURE__ */ e.createElement(
|
|
39
|
+
x,
|
|
40
|
+
{
|
|
41
|
+
title: C || t("columnManager.title", { defaultValue: "Manage Table Columns" }),
|
|
42
|
+
kind: K.GENERAL,
|
|
43
|
+
size: F.LARGE,
|
|
44
|
+
"data-testid": d,
|
|
45
|
+
onClose: u
|
|
46
|
+
},
|
|
47
|
+
/* @__PURE__ */ e.createElement(
|
|
48
|
+
T,
|
|
49
|
+
{
|
|
50
|
+
onHeader: y || t("columnManager.onListHeader", { defaultValue: "Visible Columns" }),
|
|
51
|
+
offHeader: g || t("columnManager.offListHeader", { defaultValue: "Hidden Columns" }),
|
|
52
|
+
onList: o.visibleColumns,
|
|
53
|
+
offList: o.hiddenColumns,
|
|
54
|
+
onChange: (p) => {
|
|
55
|
+
i({ visibleColumns: p.onList, hiddenColumns: p.offList });
|
|
56
|
+
},
|
|
57
|
+
manualSort: M,
|
|
58
|
+
maxDisplayedItems: b,
|
|
59
|
+
showIcons: v,
|
|
60
|
+
showCount: E,
|
|
61
|
+
showFilter: L,
|
|
62
|
+
showMoveAllLinks: h,
|
|
63
|
+
...r("add-to-list")
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ e.createElement(q, null, /* @__PURE__ */ e.createElement(
|
|
67
|
+
c,
|
|
68
|
+
{
|
|
69
|
+
kind: f.DEFAULT,
|
|
70
|
+
onClick: () => {
|
|
71
|
+
i({ visibleColumns: a, hiddenColumns: l }), u();
|
|
72
|
+
},
|
|
73
|
+
className: w({ mr: "sm" }),
|
|
74
|
+
...r("cancel-button")
|
|
75
|
+
},
|
|
76
|
+
S || t("columnManager.cancelButton", { defaultValue: "Cancel" })
|
|
77
|
+
), /* @__PURE__ */ e.createElement(
|
|
78
|
+
c,
|
|
79
|
+
{
|
|
80
|
+
kind: f.KEY,
|
|
81
|
+
onClick: () => {
|
|
82
|
+
k?.(o.visibleColumns, o.hiddenColumns), u();
|
|
83
|
+
},
|
|
84
|
+
...r("save-button")
|
|
85
|
+
},
|
|
86
|
+
I || t("columnManager.saveButton", { defaultValue: "Save" })
|
|
87
|
+
))
|
|
88
|
+
) : null;
|
|
89
|
+
}
|
|
90
|
+
A.set(R, {
|
|
91
|
+
name: "Column Manager",
|
|
92
|
+
props: {
|
|
93
|
+
isOpen: { type: "boolean", required: !0 },
|
|
94
|
+
title: { type: "string" },
|
|
95
|
+
visibleColumnsHeader: { type: "string" },
|
|
96
|
+
hiddenColumnsHeader: { type: "string" },
|
|
97
|
+
visibleColumns: { type: "ItemProps[]", required: !0 },
|
|
98
|
+
hiddenColumns: { type: "ItemProps[]", required: !0 },
|
|
99
|
+
manualSort: { type: "boolean" },
|
|
100
|
+
maxDisplayedItems: { type: "number" },
|
|
101
|
+
showIcons: { type: "boolean" },
|
|
102
|
+
showCount: { type: "boolean" },
|
|
103
|
+
showFilter: { type: "boolean" },
|
|
104
|
+
showMoveAllLinks: { type: "boolean" },
|
|
105
|
+
cancelButtonText: { type: "string" },
|
|
106
|
+
saveButtonText: { type: "string" },
|
|
107
|
+
onSave: { type: "(visibleColumns: ItemProps[], hiddenColumns: ItemProps[]) => void" },
|
|
108
|
+
onClose: { type: "() => void" },
|
|
109
|
+
onOpen: { type: "() => void" }
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
export {
|
|
113
|
+
R as ColumnManager
|
|
114
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ItemProps } from "@sps-woodland/core/add-to-list";
|
|
2
|
+
export interface UseColumnManagerArgs {
|
|
3
|
+
visibleColumns: ItemProps[];
|
|
4
|
+
hiddenColumns: ItemProps[];
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
onOpen?: () => void;
|
|
8
|
+
onSave?: (visibleColumns: ItemProps[], hiddenColumns: ItemProps[]) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const useColumnManager: ({ isOpen: isOpenArg, visibleColumns, hiddenColumns, onClose, onOpen, onSave, }: UseColumnManagerArgs) => {
|
|
11
|
+
visibleColumns: ItemProps[];
|
|
12
|
+
hiddenColumns: ItemProps[];
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
columnManagerProps: {
|
|
15
|
+
visibleColumns: ItemProps[];
|
|
16
|
+
hiddenColumns: ItemProps[];
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
onSave: (visible: ItemProps[], hidden: ItemProps[]) => void;
|
|
20
|
+
};
|
|
21
|
+
triggerProps: {
|
|
22
|
+
onClick: () => void;
|
|
23
|
+
};
|
|
24
|
+
setColumns: (visible: ItemProps[], hidden: ItemProps[]) => void;
|
|
25
|
+
setOpen: (open: boolean) => void;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=useColumnManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useColumnManager.d.ts","sourceRoot":"","sources":["../../../src/column-manager/column-manager/useColumnManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAGhE,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,SAAS,EAAE,CAAC;IAC5B,aAAa,EAAE,SAAS,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,cAAc,EAAE,SAAS,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC5E;AAED,eAAO,MAAM,gBAAgB,GAAI,gFAO9B,oBAAoB;;;;;;;;;0BAqBQ,SAAS,EAAE,UAAU,SAAS,EAAE;;;;;0BAKd,SAAS,EAAE,UAAU,SAAS,EAAE;oBAItC,OAAO;CAqBjD,CAAC"}
|