@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,206 @@
|
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { useTabListState as A } from "@react-stately/tabs";
|
|
3
|
+
import { useTab as F, useTabPanel as D, useTabList as z } from "@react-aria/tabs";
|
|
4
|
+
import { Metadata as v, modChildren as q, cl as g, Content as U, useChildTestIdAttrBuilder as M, Icon as C } from "@sps-woodland/core";
|
|
5
|
+
function X(e, a, t) {
|
|
6
|
+
return a in e ? Object.defineProperty(e, a, {
|
|
7
|
+
value: t,
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
configurable: !0,
|
|
10
|
+
writable: !0
|
|
11
|
+
}) : e[a] = t, e;
|
|
12
|
+
}
|
|
13
|
+
function O(e, a) {
|
|
14
|
+
var t = Object.keys(e);
|
|
15
|
+
if (Object.getOwnPropertySymbols) {
|
|
16
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
17
|
+
a && (o = o.filter(function(n) {
|
|
18
|
+
return Object.getOwnPropertyDescriptor(e, n).enumerable;
|
|
19
|
+
})), t.push.apply(t, o);
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
}
|
|
23
|
+
function L(e) {
|
|
24
|
+
for (var a = 1; a < arguments.length; a++) {
|
|
25
|
+
var t = arguments[a] != null ? arguments[a] : {};
|
|
26
|
+
a % 2 ? O(Object(t), !0).forEach(function(o) {
|
|
27
|
+
X(e, o, t[o]);
|
|
28
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : O(Object(t)).forEach(function(o) {
|
|
29
|
+
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
var G = (e, a, t) => {
|
|
35
|
+
for (var o of Object.keys(e)) {
|
|
36
|
+
var n;
|
|
37
|
+
if (e[o] !== ((n = a[o]) !== null && n !== void 0 ? n : t[o]))
|
|
38
|
+
return !1;
|
|
39
|
+
}
|
|
40
|
+
return !0;
|
|
41
|
+
}, w = (e) => (a) => {
|
|
42
|
+
var t = e.defaultClassName, o = L(L({}, e.defaultVariants), a);
|
|
43
|
+
for (var n in o) {
|
|
44
|
+
var c, d = (c = o[n]) !== null && c !== void 0 ? c : e.defaultVariants[n];
|
|
45
|
+
if (d != null) {
|
|
46
|
+
var _ = d;
|
|
47
|
+
typeof _ == "boolean" && (_ = _ === !0 ? "true" : "false");
|
|
48
|
+
var l = (
|
|
49
|
+
// @ts-expect-error
|
|
50
|
+
e.variantClassNames[n][_]
|
|
51
|
+
);
|
|
52
|
+
l && (t += " " + l);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
for (var [h, p] of e.compoundVariants)
|
|
56
|
+
G(h, o, e.defaultVariants) && (t += " " + p);
|
|
57
|
+
return t;
|
|
58
|
+
}, H = w({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_p40u540", variantClassNames: { context: { container: "pkg_sps-woodland_core__version_8_51_1__hash_p40u541", navigation: "pkg_sps-woodland_core__version_8_51_1__hash_p40u542" }, active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u543", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u544" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u545", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u546" } }, defaultVariants: {}, compoundVariants: [[{ context: "container", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u547"], [{ context: "container", active: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u548"], [{ context: "container", active: !1, disabled: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u549"], [{ context: "navigation", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54a"], [{ context: "navigation", active: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54b"], [{ context: "navigation", active: !1, disabled: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54c"], [{ context: "navigation", active: !1, disabled: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54d"]] }), J = w({ defaultClassName: "", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54e", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54f" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54g", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54h" }, context: { navigation: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54i", container: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54j" } }, defaultVariants: {}, compoundVariants: [[{ context: "navigation", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54k"]] });
|
|
59
|
+
function T({
|
|
60
|
+
context: e,
|
|
61
|
+
item: a,
|
|
62
|
+
state: t,
|
|
63
|
+
...o
|
|
64
|
+
}) {
|
|
65
|
+
const { key: n } = a, c = r.useRef(null), { tabProps: d } = F({ key: n }, t, c), _ = t.selectedKey === n, l = t.disabledKeys.has(n), h = q(a.rendered, (p) => p.type.displayName === "SpsTag" || v.isWoodlandComponent(p.type) && v.get(p.type).name === "Tag" ? [{
|
|
66
|
+
className: g(p.props.className, J({ active: _, disabled: l, context: e }))
|
|
67
|
+
}] : [{}]);
|
|
68
|
+
return /* @__PURE__ */ r.createElement(
|
|
69
|
+
"div",
|
|
70
|
+
{
|
|
71
|
+
...d,
|
|
72
|
+
ref: c,
|
|
73
|
+
className: H({ active: _, disabled: l, context: e }),
|
|
74
|
+
...o
|
|
75
|
+
},
|
|
76
|
+
h
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
v.set(T, { name: "Tab" });
|
|
80
|
+
function R({
|
|
81
|
+
context: e,
|
|
82
|
+
"data-testid": a,
|
|
83
|
+
state: t,
|
|
84
|
+
...o
|
|
85
|
+
}) {
|
|
86
|
+
const n = r.useRef(null), { tabPanelProps: c } = D(o, t, n), d = e === "container" ? U : "div";
|
|
87
|
+
return /* @__PURE__ */ r.createElement(
|
|
88
|
+
d,
|
|
89
|
+
{
|
|
90
|
+
...c,
|
|
91
|
+
ref: n,
|
|
92
|
+
"data-testid": a
|
|
93
|
+
},
|
|
94
|
+
t.selectedItem ? t.selectedItem.props.children : null
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
v.set(R, { name: "TabPanel" });
|
|
98
|
+
var Q = 39, Y = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k1", P = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k2", Z = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k3", $ = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k4", ee = w({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k5 pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k0", variantClassNames: { context: { container: "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k6", navigation: "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k7" } }, defaultVariants: {}, compoundVariants: [] });
|
|
99
|
+
const te = 0.75;
|
|
100
|
+
function se({
|
|
101
|
+
className: e,
|
|
102
|
+
context: a = "navigation",
|
|
103
|
+
"data-testid": t,
|
|
104
|
+
selectedKey: o,
|
|
105
|
+
defaultSelectedKey: n,
|
|
106
|
+
...c
|
|
107
|
+
}) {
|
|
108
|
+
const d = {
|
|
109
|
+
...c,
|
|
110
|
+
selectedKey: o ?? void 0,
|
|
111
|
+
defaultSelectedKey: n ?? void 0
|
|
112
|
+
}, _ = A(d), l = r.useRef(null), { tabListProps: h } = z(d, _, l), p = M({ "data-testid": t }), y = a === "container", [E, B] = r.useState(!1), [N, V] = r.useState(!1), f = r.useCallback(() => {
|
|
113
|
+
const s = l.current;
|
|
114
|
+
if (!s) return;
|
|
115
|
+
const i = s.scrollWidth - s.clientWidth;
|
|
116
|
+
B(s.scrollLeft > 1), V(i - s.scrollLeft > 1);
|
|
117
|
+
}, []);
|
|
118
|
+
r.useEffect(() => {
|
|
119
|
+
const s = l.current;
|
|
120
|
+
if (!s) return;
|
|
121
|
+
f(), s.addEventListener("scroll", f, { passive: !0 });
|
|
122
|
+
const i = new ResizeObserver(f);
|
|
123
|
+
return i.observe(s), () => {
|
|
124
|
+
s.removeEventListener("scroll", f), i.disconnect();
|
|
125
|
+
};
|
|
126
|
+
}, [f]);
|
|
127
|
+
const S = (s) => {
|
|
128
|
+
const i = l.current;
|
|
129
|
+
if (!i) return;
|
|
130
|
+
const u = i.clientWidth * te;
|
|
131
|
+
i.scrollBy({ left: s === "left" ? -u : u, behavior: "smooth" });
|
|
132
|
+
}, k = r.useCallback(() => {
|
|
133
|
+
const s = l.current;
|
|
134
|
+
if (!s) return;
|
|
135
|
+
const i = s.querySelector('[aria-selected="true"]');
|
|
136
|
+
if (!i) return;
|
|
137
|
+
const u = s.getBoundingClientRect(), m = i.getBoundingClientRect(), b = Q, x = s.scrollLeft > 1, I = s.scrollWidth - s.clientWidth - s.scrollLeft > 1, W = u.left + (x ? b : 0), K = u.right - (I ? b : 0);
|
|
138
|
+
m.left < W ? s.scrollBy({
|
|
139
|
+
left: m.left - (u.left + b),
|
|
140
|
+
behavior: "smooth"
|
|
141
|
+
}) : m.right > K && s.scrollBy({
|
|
142
|
+
left: m.right - (u.right - b),
|
|
143
|
+
behavior: "smooth"
|
|
144
|
+
});
|
|
145
|
+
}, []);
|
|
146
|
+
r.useEffect(() => {
|
|
147
|
+
k();
|
|
148
|
+
}, [_.selectedKey, k]);
|
|
149
|
+
const j = () => {
|
|
150
|
+
requestAnimationFrame(() => k());
|
|
151
|
+
};
|
|
152
|
+
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("div", { className: Y, "data-testid": t }, y && E && /* @__PURE__ */ r.createElement(
|
|
153
|
+
"button",
|
|
154
|
+
{
|
|
155
|
+
"aria-label": "Show previous tabs",
|
|
156
|
+
title: "Show previous tabs",
|
|
157
|
+
className: g(P, Z),
|
|
158
|
+
"data-side": "left",
|
|
159
|
+
onClick: () => S("left"),
|
|
160
|
+
type: "button"
|
|
161
|
+
},
|
|
162
|
+
/* @__PURE__ */ r.createElement(C, { icon: "chevron-left", size: "sm", "aria-hidden": "true" })
|
|
163
|
+
), /* @__PURE__ */ r.createElement(
|
|
164
|
+
"div",
|
|
165
|
+
{
|
|
166
|
+
...h,
|
|
167
|
+
ref: l,
|
|
168
|
+
className: g(ee({ context: a }), e),
|
|
169
|
+
onClickCapture: j
|
|
170
|
+
},
|
|
171
|
+
[..._.collection].map((s) => /* @__PURE__ */ r.createElement(
|
|
172
|
+
T,
|
|
173
|
+
{
|
|
174
|
+
key: s.key,
|
|
175
|
+
item: s,
|
|
176
|
+
state: _,
|
|
177
|
+
context: a,
|
|
178
|
+
...p(`tab-${String(s.key)}`)
|
|
179
|
+
}
|
|
180
|
+
))
|
|
181
|
+
), y && N && /* @__PURE__ */ r.createElement(
|
|
182
|
+
"button",
|
|
183
|
+
{
|
|
184
|
+
"aria-label": "Show more tabs",
|
|
185
|
+
title: "Show more tabs",
|
|
186
|
+
className: g(P, $),
|
|
187
|
+
onClick: () => S("right"),
|
|
188
|
+
type: "button"
|
|
189
|
+
},
|
|
190
|
+
/* @__PURE__ */ r.createElement(C, { icon: "chevron-right", size: "sm", "aria-hidden": "true" })
|
|
191
|
+
)), /* @__PURE__ */ r.createElement(
|
|
192
|
+
R,
|
|
193
|
+
{
|
|
194
|
+
key: _.selectedItem ? _.selectedItem.key : null,
|
|
195
|
+
state: _,
|
|
196
|
+
context: a,
|
|
197
|
+
...p("tab-panel")
|
|
198
|
+
}
|
|
199
|
+
));
|
|
200
|
+
}
|
|
201
|
+
v.set(se, { name: "Tabs" });
|
|
202
|
+
export {
|
|
203
|
+
T as Tab,
|
|
204
|
+
R as TabPanel,
|
|
205
|
+
se as Tabs
|
|
206
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(i,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react"),require("@react-stately/tabs"),require("@react-aria/tabs"),require("@sps-woodland/core")):typeof define=="function"&&define.amd?define(["exports","react","@react-stately/tabs","@react-aria/tabs","@sps-woodland/core"],v):(i=typeof globalThis<"u"?globalThis:i||self,v(i.Tabs={},i.React,i.tabs$2,i.tabs$1,i.core))})(this,(function(i,v,N,k,l){"use strict";function B(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const r=B(v);function V(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function P(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,s)}return t}function C(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?P(Object(t),!0).forEach(function(s){V(e,s,t[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))})}return e}var I=(e,a,t)=>{for(var s of Object.keys(e)){var o;if(e[s]!==((o=a[s])!==null&&o!==void 0?o:t[s]))return!1}return!0},y=e=>a=>{var t=e.defaultClassName,s=C(C({},e.defaultVariants),a);for(var o in s){var u,p=(u=s[o])!==null&&u!==void 0?u:e.defaultVariants[o];if(p!=null){var _=p;typeof _=="boolean"&&(_=_===!0?"true":"false");var c=e.variantClassNames[o][_];c&&(t+=" "+c)}}for(var[b,f]of e.compoundVariants)I(b,s,e.defaultVariants)&&(t+=" "+f);return t},x=y({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_p40u540",variantClassNames:{context:{container:"pkg_sps-woodland_core__version_8_51_1__hash_p40u541",navigation:"pkg_sps-woodland_core__version_8_51_1__hash_p40u542"},active:{true:"pkg_sps-woodland_core__version_8_51_1__hash_p40u543",false:"pkg_sps-woodland_core__version_8_51_1__hash_p40u544"},disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_p40u545",false:"pkg_sps-woodland_core__version_8_51_1__hash_p40u546"}},defaultVariants:{},compoundVariants:[[{context:"container",active:!0},"pkg_sps-woodland_core__version_8_51_1__hash_p40u547"],[{context:"container",active:!1},"pkg_sps-woodland_core__version_8_51_1__hash_p40u548"],[{context:"container",active:!1,disabled:!1},"pkg_sps-woodland_core__version_8_51_1__hash_p40u549"],[{context:"navigation",active:!0},"pkg_sps-woodland_core__version_8_51_1__hash_p40u54a"],[{context:"navigation",active:!1},"pkg_sps-woodland_core__version_8_51_1__hash_p40u54b"],[{context:"navigation",active:!1,disabled:!1},"pkg_sps-woodland_core__version_8_51_1__hash_p40u54c"],[{context:"navigation",active:!1,disabled:!0},"pkg_sps-woodland_core__version_8_51_1__hash_p40u54d"]]}),M=y({defaultClassName:"",variantClassNames:{active:{true:"pkg_sps-woodland_core__version_8_51_1__hash_p40u54e",false:"pkg_sps-woodland_core__version_8_51_1__hash_p40u54f"},disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_p40u54g",false:"pkg_sps-woodland_core__version_8_51_1__hash_p40u54h"},context:{navigation:"pkg_sps-woodland_core__version_8_51_1__hash_p40u54i",container:"pkg_sps-woodland_core__version_8_51_1__hash_p40u54j"}},defaultVariants:{},compoundVariants:[[{context:"navigation",active:!0},"pkg_sps-woodland_core__version_8_51_1__hash_p40u54k"]]});function S({context:e,item:a,state:t,...s}){const{key:o}=a,u=r.useRef(null),{tabProps:p}=k.useTab({key:o},t,u),_=t.selectedKey===o,c=t.disabledKeys.has(o),b=l.modChildren(a.rendered,f=>f.type.displayName==="SpsTag"||l.Metadata.isWoodlandComponent(f.type)&&l.Metadata.get(f.type).name==="Tag"?[{className:l.cl(f.props.className,M({active:_,disabled:c,context:e}))}]:[{}]);return r.createElement("div",{...p,ref:u,className:x({active:_,disabled:c,context:e}),...s},b)}l.Metadata.set(S,{name:"Tab"});function O({context:e,"data-testid":a,state:t,...s}){const o=r.useRef(null),{tabPanelProps:u}=k.useTabPanel(s,t,o),p=e==="container"?l.Content:"div";return r.createElement(p,{...u,ref:o,"data-testid":a},t.selectedItem?t.selectedItem.props.children:null)}l.Metadata.set(O,{name:"TabPanel"});var W=39,q="pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k1",L="pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k2",D="pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k3",K="pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k4",A=y({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k5 pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k0",variantClassNames:{context:{container:"pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k6",navigation:"pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k7"}},defaultVariants:{},compoundVariants:[]});const F=.75;function R({className:e,context:a="navigation","data-testid":t,selectedKey:s,defaultSelectedKey:o,...u}){const p={...u,selectedKey:s??void 0,defaultSelectedKey:o??void 0},_=N.useTabListState(p),c=r.useRef(null),{tabListProps:b}=k.useTabList(p,_,c),f=l.useChildTestIdAttrBuilder({"data-testid":t}),E=a==="container",[z,U]=r.useState(!1),[X,G]=r.useState(!1),m=r.useCallback(()=>{const n=c.current;if(!n)return;const d=n.scrollWidth-n.clientWidth;U(n.scrollLeft>1),G(d-n.scrollLeft>1)},[]);r.useEffect(()=>{const n=c.current;if(!n)return;m(),n.addEventListener("scroll",m,{passive:!0});const d=new ResizeObserver(m);return d.observe(n),()=>{n.removeEventListener("scroll",m),d.disconnect()}},[m]);const j=n=>{const d=c.current;if(!d)return;const h=d.clientWidth*F;d.scrollBy({left:n==="left"?-h:h,behavior:"smooth"})},T=r.useCallback(()=>{const n=c.current;if(!n)return;const d=n.querySelector('[aria-selected="true"]');if(!d)return;const h=n.getBoundingClientRect(),g=d.getBoundingClientRect(),w=W,J=n.scrollLeft>1,Q=n.scrollWidth-n.clientWidth-n.scrollLeft>1,Y=h.left+(J?w:0),Z=h.right-(Q?w:0);g.left<Y?n.scrollBy({left:g.left-(h.left+w),behavior:"smooth"}):g.right>Z&&n.scrollBy({left:g.right-(h.right-w),behavior:"smooth"})},[]);r.useEffect(()=>{T()},[_.selectedKey,T]);const H=()=>{requestAnimationFrame(()=>T())};return r.createElement(r.Fragment,null,r.createElement("div",{className:q,"data-testid":t},E&&z&&r.createElement("button",{"aria-label":"Show previous tabs",title:"Show previous tabs",className:l.cl(L,D),"data-side":"left",onClick:()=>j("left"),type:"button"},r.createElement(l.Icon,{icon:"chevron-left",size:"sm","aria-hidden":"true"})),r.createElement("div",{...b,ref:c,className:l.cl(A({context:a}),e),onClickCapture:H},[..._.collection].map(n=>r.createElement(S,{key:n.key,item:n,state:_,context:a,...f(`tab-${String(n.key)}`)}))),E&&X&&r.createElement("button",{"aria-label":"Show more tabs",title:"Show more tabs",className:l.cl(L,K),onClick:()=>j("right"),type:"button"},r.createElement(l.Icon,{icon:"chevron-right",size:"sm","aria-hidden":"true"}))),r.createElement(O,{key:_.selectedItem?_.selectedItem.key:null,state:_,context:a,...f("tab-panel")}))}l.Metadata.set(R,{name:"Tabs"}),i.Tab=S,i.TabPanel=O,i.Tabs=R,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_1__hash_p40u540{align-items:center;border-top-width:.0625rem;border-right-width:.0625rem;border-style:solid;cursor:pointer;display:flex;font-size:.75rem;font-weight:600;line-height:.875rem;padding:.5rem 1rem;white-space:nowrap}.pkg_sps-woodland_core__version_8_51_1__hash_p40u541{border-bottom-width:0;border-left-width:.0625rem;border-top-left-radius:.25rem;border-top-right-radius:.25rem;color:#717779;margin-bottom:-1px}.pkg_sps-woodland_core__version_8_51_1__hash_p40u542{border-bottom-width:.0625rem;border-left-width:0}.pkg_sps-woodland_core__version_8_51_1__hash_p40u542:first-child{border-left-width:.0625rem;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_p40u542:last-child{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_p40u545{cursor:not-allowed}.pkg_sps-woodland_core__version_8_51_1__hash_p40u547{background-color:#fff;border-color:#d2d4d4;color:#1f282c}.pkg_sps-woodland_core__version_8_51_1__hash_p40u548{border-color:transparent}.pkg_sps-woodland_core__version_8_51_1__hash_p40u549:hover{background-color:#f3f4f4;border-color:#d2d4d4;box-shadow:0 -.0625rem #d2d4d4 inset}.pkg_sps-woodland_core__version_8_51_1__hash_p40u54a{background-color:#007db8;border-color:#007db8;color:#fff}.pkg_sps-woodland_core__version_8_51_1__hash_p40u54b{background-color:#fff;border-color:#d2d4d4;color:#4b5356}.pkg_sps-woodland_core__version_8_51_1__hash_p40u54c:hover{background-color:#f3f4f4}.pkg_sps-woodland_core__version_8_51_1__hash_p40u54d{color:#717779}.pkg_sps-woodland_core__version_8_51_1__hash_p40u54k{background-color:#fff!important;color:#4b5356!important}.pkg_sps-woodland_core__version_8_51_1__hash_p40u540 svg{margin-bottom:0}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k0{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k0::-webkit-scrollbar{display:none}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k1{position:relative}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k2{position:absolute;bottom:1px;z-index:1;display:flex;align-items:center;height:34px;width:32px;background-color:#e9e9ea;justify-content:center;border:none;padding:0;cursor:pointer}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k2:focus{outline:none}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k2:after{content:"";position:absolute;display:block;height:34px;width:8px}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k3{left:0}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k3:after{background:linear-gradient(to right,#e9e9eaff,transparent);right:-7px}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k4{right:0}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k4:after{background:linear-gradient(to left,#e9e9eaff,transparent);left:-7px}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k6{background-color:#e9e9ea;border-bottom-color:#d2d4d4;border-bottom-style:solid;border-bottom-width:.0625rem;border-top-left-radius:.25rem;border-top-right-radius:.25rem;padding-top:1rem;padding-left:1rem;padding-right:1rem}.pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k7{margin-bottom:1rem}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RecipeVariants } from "@vanilla-extract/recipes";
|
|
2
|
+
import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
|
|
3
|
+
interface TabVariantDefinitions extends VariantDefinitions {
|
|
4
|
+
context: RecipeVariant<"container" | "navigation">;
|
|
5
|
+
active: BooleanRecipeVariant;
|
|
6
|
+
disabled: BooleanRecipeVariant;
|
|
7
|
+
}
|
|
8
|
+
export declare const tab: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<TabVariantDefinitions>;
|
|
9
|
+
export type TabVariants = NonNullable<RecipeVariants<typeof tab>>;
|
|
10
|
+
export declare const tabTag: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<TabVariantDefinitions>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Tab.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.css.d.ts","sourceRoot":"","sources":["../../../src/tabs/tab/Tab.css.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAKlG,UAAU,qBAAsB,SAAQ,kBAAkB;IACxD,OAAO,EAAE,aAAa,CAAC,WAAW,GAAG,YAAY,CAAC,CAAC;IACnD,MAAM,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,eAAO,MAAM,GAAG,8GAyHd,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;AAElE,eAAO,MAAM,MAAM,8GA2BjB,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 s = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_p40u540", variantClassNames: { context: { container: "pkg_sps-woodland_core__version_8_51_1__hash_p40u541", navigation: "pkg_sps-woodland_core__version_8_51_1__hash_p40u542" }, active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u543", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u544" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u545", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u546" } }, defaultVariants: {}, compoundVariants: [[{ context: "container", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u547"], [{ context: "container", active: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u548"], [{ context: "container", active: !1, disabled: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u549"], [{ context: "navigation", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54a"], [{ context: "navigation", active: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54b"], [{ context: "navigation", active: !1, disabled: !1 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54c"], [{ context: "navigation", active: !1, disabled: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54d"]] }), e = _({ defaultClassName: "", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54e", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54f" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54g", false: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54h" }, context: { navigation: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54i", container: "pkg_sps-woodland_core__version_8_51_1__hash_p40u54j" } }, defaultVariants: {}, compoundVariants: [[{ context: "navigation", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_p40u54k"]] });
|
|
4
|
+
export {
|
|
5
|
+
s as tab,
|
|
6
|
+
e as tabTag
|
|
7
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TabListState } from "@react-stately/tabs";
|
|
2
|
+
import type { Node } from "@react-types/shared";
|
|
3
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import type { TabsVariants } from "../tabs/Tabs.css";
|
|
6
|
+
export declare function Tab<T>({ context, item, state, ...rest }: ComponentProps<TabsVariants & {
|
|
7
|
+
item: Node<T>;
|
|
8
|
+
state: TabListState<T>;
|
|
9
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
10
|
+
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../src/tabs/tab/Tab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,wBAAgB,GAAG,CAAC,CAAC,EAAE,EACrB,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,YAAY,GAAG;IAC/B,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CACxB,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAgCtC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useTab as b } from "@react-aria/tabs";
|
|
2
|
+
import { Metadata as s, modChildren as f, cl as u } from "@sps-woodland/core";
|
|
3
|
+
import * as p from "react";
|
|
4
|
+
import { tabTag as y, tab as T } from "./Tab.css.js";
|
|
5
|
+
function g({
|
|
6
|
+
context: r,
|
|
7
|
+
item: o,
|
|
8
|
+
state: a,
|
|
9
|
+
...i
|
|
10
|
+
}) {
|
|
11
|
+
const { key: t } = o, n = p.useRef(null), { tabProps: l } = b({ key: t }, a, n), m = a.selectedKey === t, c = a.disabledKeys.has(t), d = f(o.rendered, (e) => e.type.displayName === "SpsTag" || s.isWoodlandComponent(e.type) && s.get(e.type).name === "Tag" ? [{
|
|
12
|
+
className: u(e.props.className, y({ active: m, disabled: c, context: r }))
|
|
13
|
+
}] : [{}]);
|
|
14
|
+
return /* @__PURE__ */ p.createElement(
|
|
15
|
+
"div",
|
|
16
|
+
{
|
|
17
|
+
...l,
|
|
18
|
+
ref: n,
|
|
19
|
+
className: T({ active: m, disabled: c, context: r }),
|
|
20
|
+
...i
|
|
21
|
+
},
|
|
22
|
+
d
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
s.set(g, { name: "Tab" });
|
|
26
|
+
export {
|
|
27
|
+
g as Tab
|
|
28
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TabListState } from "@react-stately/tabs";
|
|
2
|
+
import type { AriaTabPanelProps } from "@react-types/tabs";
|
|
3
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import type { TabsVariants } from "../tabs/Tabs.css";
|
|
6
|
+
export declare function TabPanel<T>({ context, "data-testid": dataTestId, state, ...rest }: AriaTabPanelProps & ComponentProps<TabsVariants & {
|
|
7
|
+
state: TabListState<T>;
|
|
8
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
9
|
+
//# sourceMappingURL=TabPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPanel.d.ts","sourceRoot":"","sources":["../../../src/tabs/tab-panel/TabPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,wBAAgB,QAAQ,CAAC,CAAC,EACxB,EACE,OAAO,EACP,aAAa,EAAE,UAAU,EACzB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,iBAAiB,GAAG,cAAc,CAAC,YAAY,GAAG;IACnD,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CACxB,EAAE,cAAc,CAAC,GACjB,KAAK,CAAC,YAAY,CAiBpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useTabPanel as c } from "@react-aria/tabs";
|
|
2
|
+
import { Metadata as m, Content as d } from "@sps-woodland/core";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
function i({
|
|
5
|
+
context: a,
|
|
6
|
+
"data-testid": o,
|
|
7
|
+
state: e,
|
|
8
|
+
...r
|
|
9
|
+
}) {
|
|
10
|
+
const t = n.useRef(null), { tabPanelProps: l } = c(r, e, t), s = a === "container" ? d : "div";
|
|
11
|
+
return /* @__PURE__ */ n.createElement(
|
|
12
|
+
s,
|
|
13
|
+
{
|
|
14
|
+
...l,
|
|
15
|
+
ref: t,
|
|
16
|
+
"data-testid": o
|
|
17
|
+
},
|
|
18
|
+
e.selectedItem ? e.selectedItem.props.children : null
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
m.set(i, { name: "TabPanel" });
|
|
22
|
+
export {
|
|
23
|
+
i as TabPanel
|
|
24
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { RecipeVariants } from "@vanilla-extract/recipes";
|
|
2
|
+
export declare const SCROLL_BUTTON_WIDTH_PX = 32;
|
|
3
|
+
export declare const SCROLL_BUTTON_HEIGHT_PX = 34;
|
|
4
|
+
export declare const SCROLL_BUTTON_FADE_WIDTH_PX = 8;
|
|
5
|
+
export declare const SCROLL_BUTTON_FADE_OVERHANG_PX: number;
|
|
6
|
+
export declare const SCROLL_BUTTON_VISUAL_FOOTPRINT_PX: number;
|
|
7
|
+
export declare const tabsScrollWrapper: string;
|
|
8
|
+
export declare const tabsScrollButton: string;
|
|
9
|
+
export declare const tabsScrollButtonLeft: string;
|
|
10
|
+
export declare const tabsScrollButtonRight: string;
|
|
11
|
+
export declare const tabs: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
12
|
+
context: {
|
|
13
|
+
container: {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
borderBottomColor: string;
|
|
16
|
+
borderBottomStyle: any;
|
|
17
|
+
borderBottomWidth: string;
|
|
18
|
+
borderTopLeftRadius: string;
|
|
19
|
+
borderTopRightRadius: string;
|
|
20
|
+
paddingTop: string;
|
|
21
|
+
paddingLeft: string;
|
|
22
|
+
paddingRight: string;
|
|
23
|
+
};
|
|
24
|
+
navigation: {
|
|
25
|
+
marginBottom: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
export type TabsVariants = RecipeVariants<typeof tabs>;
|
|
30
|
+
//# sourceMappingURL=Tabs.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.css.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs/Tabs.css.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO/D,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,eAAO,MAAM,8BAA8B,QAAkC,CAAC;AAE9E,eAAO,MAAM,iCAAiC,QACW,CAAC;AAc1D,eAAO,MAAM,iBAAiB,QAE5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAuB3B,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAM/B,CAAC;AACH,eAAO,MAAM,qBAAqB,QAMhC,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;+BAQ+C,GAAG;;;;;;;;;;;;EAajE,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 = 39, n = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k1", r = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k2", e = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k3", d = "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k4", t = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k5 pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k0", variantClassNames: { context: { container: "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k6", navigation: "pkg_sps-woodland_core__version_8_51_1__hash_1mdnm0k7" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
s as SCROLL_BUTTON_VISUAL_FOOTPRINT_PX,
|
|
6
|
+
t as tabs,
|
|
7
|
+
r as tabsScrollButton,
|
|
8
|
+
e as tabsScrollButtonLeft,
|
|
9
|
+
d as tabsScrollButtonRight,
|
|
10
|
+
n as tabsScrollWrapper
|
|
11
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { TabListProps } from "@react-types/tabs";
|
|
3
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
4
|
+
import type { TabsVariants } from "./Tabs.css";
|
|
5
|
+
export declare function Tabs({ className, context, "data-testid": dataTestId, selectedKey, defaultSelectedKey, ...rest }: TabListProps<Record<string, unknown>> & ComponentProps<TabsVariants, HTMLDivElement>): React.ReactElement;
|
|
6
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAYzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,OAAsB,EACtB,aAAa,EAAE,UAAU,EACzB,WAAW,EACX,kBAAkB,EAClB,GAAG,IAAI,EACR,EAAE,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACtC,cAAc,CAAC,YAAY,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAmJlE"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { useTabListState as O } from "@react-stately/tabs";
|
|
3
|
+
import { useTabList as A } from "@react-aria/tabs";
|
|
4
|
+
import { Metadata as F, useChildTestIdAttrBuilder as _, cl as f, Icon as p } from "@sps-woodland/core";
|
|
5
|
+
import { Tab as z } from "../tab/Tab.js";
|
|
6
|
+
import { TabPanel as K } from "../tab-panel/TabPanel.js";
|
|
7
|
+
import { tabsScrollWrapper as q, tabsScrollButton as v, tabsScrollButtonLeft as U, tabs as V, tabsScrollButtonRight as M, SCROLL_BUTTON_VISUAL_FOOTPRINT_PX as X } from "./Tabs.css.js";
|
|
8
|
+
const $ = 0.75;
|
|
9
|
+
function j({
|
|
10
|
+
className: L,
|
|
11
|
+
context: a = "navigation",
|
|
12
|
+
"data-testid": m,
|
|
13
|
+
selectedKey: g,
|
|
14
|
+
defaultSelectedKey: y,
|
|
15
|
+
...R
|
|
16
|
+
}) {
|
|
17
|
+
const b = {
|
|
18
|
+
...R,
|
|
19
|
+
selectedKey: g ?? void 0,
|
|
20
|
+
defaultSelectedKey: y ?? void 0
|
|
21
|
+
}, o = O(b), r = e.useRef(null), { tabListProps: B } = A(b, o, r), d = _({ "data-testid": m }), h = a === "container", [C, E] = e.useState(!1), [T, k] = e.useState(!1), n = e.useCallback(() => {
|
|
22
|
+
const t = r.current;
|
|
23
|
+
if (!t) return;
|
|
24
|
+
const l = t.scrollWidth - t.clientWidth;
|
|
25
|
+
E(t.scrollLeft > 1), k(l - t.scrollLeft > 1);
|
|
26
|
+
}, []);
|
|
27
|
+
e.useEffect(() => {
|
|
28
|
+
const t = r.current;
|
|
29
|
+
if (!t) return;
|
|
30
|
+
n(), t.addEventListener("scroll", n, { passive: !0 });
|
|
31
|
+
const l = new ResizeObserver(n);
|
|
32
|
+
return l.observe(t), () => {
|
|
33
|
+
t.removeEventListener("scroll", n), l.disconnect();
|
|
34
|
+
};
|
|
35
|
+
}, [n]);
|
|
36
|
+
const S = (t) => {
|
|
37
|
+
const l = r.current;
|
|
38
|
+
if (!l) return;
|
|
39
|
+
const s = l.clientWidth * $;
|
|
40
|
+
l.scrollBy({ left: t === "left" ? -s : s, behavior: "smooth" });
|
|
41
|
+
}, u = e.useCallback(() => {
|
|
42
|
+
const t = r.current;
|
|
43
|
+
if (!t) return;
|
|
44
|
+
const l = t.querySelector('[aria-selected="true"]');
|
|
45
|
+
if (!l) return;
|
|
46
|
+
const s = t.getBoundingClientRect(), c = l.getBoundingClientRect(), i = X, I = t.scrollLeft > 1, N = t.scrollWidth - t.clientWidth - t.scrollLeft > 1, P = s.left + (I ? i : 0), W = s.right - (N ? i : 0);
|
|
47
|
+
c.left < P ? t.scrollBy({
|
|
48
|
+
left: c.left - (s.left + i),
|
|
49
|
+
behavior: "smooth"
|
|
50
|
+
}) : c.right > W && t.scrollBy({
|
|
51
|
+
left: c.right - (s.right - i),
|
|
52
|
+
behavior: "smooth"
|
|
53
|
+
});
|
|
54
|
+
}, []);
|
|
55
|
+
e.useEffect(() => {
|
|
56
|
+
u();
|
|
57
|
+
}, [o.selectedKey, u]);
|
|
58
|
+
const w = () => {
|
|
59
|
+
requestAnimationFrame(() => u());
|
|
60
|
+
};
|
|
61
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: q, "data-testid": m }, h && C && /* @__PURE__ */ e.createElement(
|
|
62
|
+
"button",
|
|
63
|
+
{
|
|
64
|
+
"aria-label": "Show previous tabs",
|
|
65
|
+
title: "Show previous tabs",
|
|
66
|
+
className: f(v, U),
|
|
67
|
+
"data-side": "left",
|
|
68
|
+
onClick: () => S("left"),
|
|
69
|
+
type: "button"
|
|
70
|
+
},
|
|
71
|
+
/* @__PURE__ */ e.createElement(p, { icon: "chevron-left", size: "sm", "aria-hidden": "true" })
|
|
72
|
+
), /* @__PURE__ */ e.createElement(
|
|
73
|
+
"div",
|
|
74
|
+
{
|
|
75
|
+
...B,
|
|
76
|
+
ref: r,
|
|
77
|
+
className: f(V({ context: a }), L),
|
|
78
|
+
onClickCapture: w
|
|
79
|
+
},
|
|
80
|
+
[...o.collection].map((t) => /* @__PURE__ */ e.createElement(
|
|
81
|
+
z,
|
|
82
|
+
{
|
|
83
|
+
key: t.key,
|
|
84
|
+
item: t,
|
|
85
|
+
state: o,
|
|
86
|
+
context: a,
|
|
87
|
+
...d(`tab-${String(t.key)}`)
|
|
88
|
+
}
|
|
89
|
+
))
|
|
90
|
+
), h && T && /* @__PURE__ */ e.createElement(
|
|
91
|
+
"button",
|
|
92
|
+
{
|
|
93
|
+
"aria-label": "Show more tabs",
|
|
94
|
+
title: "Show more tabs",
|
|
95
|
+
className: f(v, M),
|
|
96
|
+
onClick: () => S("right"),
|
|
97
|
+
type: "button"
|
|
98
|
+
},
|
|
99
|
+
/* @__PURE__ */ e.createElement(p, { icon: "chevron-right", size: "sm", "aria-hidden": "true" })
|
|
100
|
+
)), /* @__PURE__ */ e.createElement(
|
|
101
|
+
K,
|
|
102
|
+
{
|
|
103
|
+
key: o.selectedItem ? o.selectedItem.key : null,
|
|
104
|
+
state: o,
|
|
105
|
+
context: a,
|
|
106
|
+
...d("tab-panel")
|
|
107
|
+
}
|
|
108
|
+
));
|
|
109
|
+
}
|
|
110
|
+
F.set(j, { name: "Tabs" });
|
|
111
|
+
export {
|
|
112
|
+
j as Tabs
|
|
113
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tokens } from "@sps-woodland/tokens";
|
|
2
|
+
import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
|
|
3
|
+
export type ClickableTagKind = keyof typeof Tokens.component["clickable-tag"]["kind"];
|
|
4
|
+
interface ClickableTagVariantDefinitions extends VariantDefinitions {
|
|
5
|
+
kind: RecipeVariant<ClickableTagKind>;
|
|
6
|
+
disabled: BooleanRecipeVariant;
|
|
7
|
+
wrap: BooleanRecipeVariant;
|
|
8
|
+
link: BooleanRecipeVariant;
|
|
9
|
+
addOrRemove: BooleanRecipeVariant;
|
|
10
|
+
}
|
|
11
|
+
export declare const clickableTag: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ClickableTagVariantDefinitions, "disabled" | "kind" | "wrap">>;
|
|
12
|
+
export declare const clickableTagLabel: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Omit<ClickableTagVariantDefinitions, "kind">>;
|
|
13
|
+
export declare const clickableTagIconWrapper: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ClickableTagVariantDefinitions, "wrap">>;
|
|
14
|
+
export declare const clickableTagIcon: string;
|
|
15
|
+
export declare const clickableTagLink: string;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=ClickableTag.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickableTag.css.d.ts","sourceRoot":"","sources":["../../../src/tags/clickable-tag/ClickableTag.css.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAIlG,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtF,UAAU,8BAA+B,SAAQ,kBAAkB;IACjE,IAAI,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACtC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,EAAE,oBAAoB,CAAC;CACnC;AAED,eAAO,MAAM,YAAY,2JA6CvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,qIAsE5B,CAAC;AAEH,eAAO,MAAM,uBAAuB,qIAoClC,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAO3B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAS3B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu50", variantClassNames: { kind: { blue: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu51", gray: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu52" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu53", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu54" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu55", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu56" } }, defaultVariants: { kind: "blue", disabled: !1, wrap: !1 }, compoundVariants: [] }), o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu57", variantClassNames: { link: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu58", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu59" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5a", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5b" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5c", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5d" }, addOrRemove: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5e", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5f" } }, defaultVariants: { link: !1, wrap: !1, disabled: !1, addOrRemove: !1 }, compoundVariants: [[{ disabled: !1, wrap: !1, addOrRemove: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5g"]] }), l = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5h", variantClassNames: { wrap: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5i", false: "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5j" } }, defaultVariants: { wrap: !1 }, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5k", d = "pkg_sps-woodland_core__version_8_51_1__hash_1avalu5l";
|
|
4
|
+
export {
|
|
5
|
+
e as clickableTag,
|
|
6
|
+
r as clickableTagIcon,
|
|
7
|
+
l as clickableTagIconWrapper,
|
|
8
|
+
o as clickableTagLabel,
|
|
9
|
+
d as clickableTagLink
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
|
+
import type { ClickableTagKind } from "./ClickableTag.css";
|
|
4
|
+
export declare function ClickableTag({ children, className, onClick, disabled, wrap, href, target, kind, onAdd, onRemove, ...rest }: ComponentProps<{
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
wrap?: boolean;
|
|
7
|
+
href?: string;
|
|
8
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
9
|
+
kind?: ClickableTagKind;
|
|
10
|
+
onAdd?: () => void;
|
|
11
|
+
onRemove?: () => void;
|
|
12
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
13
|
+
//# sourceMappingURL=ClickableTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickableTag.d.ts","sourceRoot":"","sources":["../../../src/tags/clickable-tag/ClickableTag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,cAAc,CACjB;IACE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,EACD,cAAc,CACb,GAAG,KAAK,CAAC,YAAY,CAkErB"}
|