@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,106 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
function j(n, z = {}) {
|
|
3
|
+
const {
|
|
4
|
+
enabled: i = !0,
|
|
5
|
+
minVisibleItems: P = 1,
|
|
6
|
+
debounceMs: k = 16
|
|
7
|
+
// ~1 frame for responsive resize handling
|
|
8
|
+
} = z, R = e.useRef(null), b = e.useRef(null), x = e.useRef(null), A = e.useRef(null), w = e.useRef(null), M = e.useRef([]), E = e.useRef(0), H = e.useRef(0), v = e.useRef(!1), [I, y] = e.useState(n.length), [T, F] = e.useState(!1), N = e.useCallback(() => {
|
|
9
|
+
if (!R.current) return !1;
|
|
10
|
+
const t = R.current, o = Array.from(t.children), r = x.current;
|
|
11
|
+
r && (E.current = r.getBoundingClientRect().width);
|
|
12
|
+
const u = o.filter((f) => f !== r);
|
|
13
|
+
if (u.length < n.length)
|
|
14
|
+
return !1;
|
|
15
|
+
if (M.current = u.map((f) => f.getBoundingClientRect().width), w.current) {
|
|
16
|
+
const f = w.current.querySelector("span:last-of-type");
|
|
17
|
+
if (f) {
|
|
18
|
+
const s = f.getBoundingClientRect().width, g = getComputedStyle(w.current), m = parseFloat(g.marginRight) || 0, l = Math.max(0, m - 8);
|
|
19
|
+
H.current = s + l;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return v.current = !0, !0;
|
|
23
|
+
}, [n.length]), V = e.useCallback(() => {
|
|
24
|
+
if (!b.current) return 0;
|
|
25
|
+
const t = b.current, o = t.getBoundingClientRect(), r = getComputedStyle(t), u = parseFloat(r.paddingLeft) + parseFloat(r.paddingRight), f = parseFloat(r.gap) || 0;
|
|
26
|
+
let s = u;
|
|
27
|
+
const g = Array.from(t.children), m = g.filter((l) => getComputedStyle(l).display !== "none");
|
|
28
|
+
m.length > 1 && (s += f * (m.length - 1));
|
|
29
|
+
for (const l of g) {
|
|
30
|
+
if (l === R.current) continue;
|
|
31
|
+
const B = getComputedStyle(l), S = parseFloat(B.marginLeft) + parseFloat(B.marginRight);
|
|
32
|
+
if (l === A.current) {
|
|
33
|
+
const p = Array.from(l.children), W = getComputedStyle(l), h = parseFloat(W.gap) || 0;
|
|
34
|
+
for (const c of p) {
|
|
35
|
+
const d = getComputedStyle(c), q = parseFloat(d.marginLeft) + parseFloat(d.marginRight);
|
|
36
|
+
s += c.getBoundingClientRect().width + q;
|
|
37
|
+
}
|
|
38
|
+
p.length > 1 && (s += h * (p.length - 1)), s += parseFloat(W.paddingLeft) + parseFloat(W.paddingRight), s += S;
|
|
39
|
+
} else
|
|
40
|
+
s += l.getBoundingClientRect().width + S;
|
|
41
|
+
}
|
|
42
|
+
return Math.max(0, o.width - s - 2);
|
|
43
|
+
}, []), a = e.useRef(!1), L = e.useCallback(() => {
|
|
44
|
+
if (!i || !v.current) {
|
|
45
|
+
F(!1), a.current = !1;
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
let t = V();
|
|
49
|
+
const o = M.current, r = E.current || 100, u = H.current || 0;
|
|
50
|
+
if (a.current && u > 0 && (t -= u), o.length === 0 || t <= 0) {
|
|
51
|
+
y(n.length), F(!1), a.current = !1;
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (o.reduce((c, d) => c + d, 0) <= t) {
|
|
55
|
+
y(n.length), F(!1), a.current = !1;
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
let s = 0, g = 0;
|
|
59
|
+
const m = t - r;
|
|
60
|
+
for (let c = 0; c < o.length; c++) {
|
|
61
|
+
const d = o[c];
|
|
62
|
+
if (s + d <= m)
|
|
63
|
+
s += d, g++;
|
|
64
|
+
else
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
const C = Math.min(P, n.length), l = Math.max(g, C), S = o.slice(0, C).reduce((c, d) => c + d, 0) + r, p = g < C && S > t && u > 0, W = !p && t > S + u + 20;
|
|
68
|
+
let h = a.current;
|
|
69
|
+
p && !a.current ? h = !0 : W && a.current && (h = !1), h !== a.current && (a.current = h, F(h)), y(l);
|
|
70
|
+
}, [i, n.length, P, V]);
|
|
71
|
+
e.useEffect(() => {
|
|
72
|
+
if (!i) {
|
|
73
|
+
y(n.length);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
v.current = !1, M.current = [], y(n.length);
|
|
77
|
+
}, [i, n.length]), e.useLayoutEffect(() => {
|
|
78
|
+
if (!i || !R.current) return;
|
|
79
|
+
N() && L();
|
|
80
|
+
}), e.useEffect(() => {
|
|
81
|
+
if (!i) return;
|
|
82
|
+
let t;
|
|
83
|
+
const o = () => {
|
|
84
|
+
clearTimeout(t), t = setTimeout(() => {
|
|
85
|
+
v.current || N(), L();
|
|
86
|
+
}, k);
|
|
87
|
+
}, r = new ResizeObserver(o);
|
|
88
|
+
return b.current && r.observe(b.current), () => {
|
|
89
|
+
clearTimeout(t), r.disconnect();
|
|
90
|
+
};
|
|
91
|
+
}, [i, N, L, k]);
|
|
92
|
+
const G = i ? n.slice(0, I) : n, O = i && I < n.length ? n.slice(I) : [];
|
|
93
|
+
return {
|
|
94
|
+
visibleItems: G,
|
|
95
|
+
overflowItems: O,
|
|
96
|
+
containerRef: R,
|
|
97
|
+
parentRef: b,
|
|
98
|
+
overflowButtonRef: x,
|
|
99
|
+
contentRef: A,
|
|
100
|
+
brandRef: w,
|
|
101
|
+
hideProductName: T
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
export {
|
|
105
|
+
j as usePriorityPlus
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/product-bar/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { Metadata as H, cl as k, Icon as Q, selectChildren as re, PortalContext as ne } from "@sps-woodland/core";
|
|
3
|
+
import { useLink as ae } from "@react-aria/link";
|
|
4
|
+
import { MenuProvider as se, MenuButton as oe, Menu as le, MenuItem as D } from "@ariakit/react";
|
|
5
|
+
import { useWoodlandLanguage as U } from "@spscommerce/i18n";
|
|
6
|
+
function ce(e, n, r) {
|
|
7
|
+
return n in e ? Object.defineProperty(e, n, {
|
|
8
|
+
value: r,
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
configurable: !0,
|
|
11
|
+
writable: !0
|
|
12
|
+
}) : e[n] = r, e;
|
|
13
|
+
}
|
|
14
|
+
function K(e, n) {
|
|
15
|
+
var r = Object.keys(e);
|
|
16
|
+
if (Object.getOwnPropertySymbols) {
|
|
17
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
18
|
+
n && (a = a.filter(function(o) {
|
|
19
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
20
|
+
})), r.push.apply(r, a);
|
|
21
|
+
}
|
|
22
|
+
return r;
|
|
23
|
+
}
|
|
24
|
+
function J(e) {
|
|
25
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
26
|
+
var r = arguments[n] != null ? arguments[n] : {};
|
|
27
|
+
n % 2 ? K(Object(r), !0).forEach(function(a) {
|
|
28
|
+
ce(e, a, r[a]);
|
|
29
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : K(Object(r)).forEach(function(a) {
|
|
30
|
+
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return e;
|
|
34
|
+
}
|
|
35
|
+
var ie = (e, n, r) => {
|
|
36
|
+
for (var a of Object.keys(e)) {
|
|
37
|
+
var o;
|
|
38
|
+
if (e[a] !== ((o = n[a]) !== null && o !== void 0 ? o : r[a]))
|
|
39
|
+
return !1;
|
|
40
|
+
}
|
|
41
|
+
return !0;
|
|
42
|
+
}, q = (e) => (n) => {
|
|
43
|
+
var r = e.defaultClassName, a = J(J({}, e.defaultVariants), n);
|
|
44
|
+
for (var o in a) {
|
|
45
|
+
var s, l = (s = a[o]) !== null && s !== void 0 ? s : e.defaultVariants[o];
|
|
46
|
+
if (l != null) {
|
|
47
|
+
var c = l;
|
|
48
|
+
typeof c == "boolean" && (c = c === !0 ? "true" : "false");
|
|
49
|
+
var p = (
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
e.variantClassNames[o][c]
|
|
52
|
+
);
|
|
53
|
+
p && (r += " " + p);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
for (var [m, u] of e.compoundVariants)
|
|
57
|
+
ie(m, a, e.defaultVariants) && (r += " " + u);
|
|
58
|
+
return r;
|
|
59
|
+
}, ue = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux0", _e = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux2", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), de = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux5", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), fe = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux7", pe = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux8", me = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux9", he = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxa", X = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxc", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxe", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), ge = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxg", ve = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxi", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxj" } }, defaultVariants: { priorityPlus: !1 }, compoundVariants: [] });
|
|
60
|
+
function Y(e) {
|
|
61
|
+
const n = t.useRef(null), { linkProps: r } = ae(e, n), { active: a, priority: o, ...s } = e, l = {
|
|
62
|
+
...s,
|
|
63
|
+
...r,
|
|
64
|
+
ref: n,
|
|
65
|
+
className: k(X({ active: a, disabled: !1 }), e.className)
|
|
66
|
+
}, c = e.as ?? (e.href ? "a" : "span");
|
|
67
|
+
return /* @__PURE__ */ t.createElement(c, { ...l }, e.children);
|
|
68
|
+
}
|
|
69
|
+
H.set(Y, {
|
|
70
|
+
name: "Product Bar Tab",
|
|
71
|
+
props: {
|
|
72
|
+
active: { type: "boolean", required: !0 },
|
|
73
|
+
href: { type: "string" },
|
|
74
|
+
priority: { type: "number" }
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
const Z = t.forwardRef(function({
|
|
78
|
+
children: n,
|
|
79
|
+
className: r,
|
|
80
|
+
name: a,
|
|
81
|
+
logoSrc: o,
|
|
82
|
+
hideNameText: s = !1,
|
|
83
|
+
...l
|
|
84
|
+
}, c) {
|
|
85
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("a", { className: k(de({ hideNameText: s }), r), ...l, ref: c }, o && /* @__PURE__ */ t.createElement(
|
|
86
|
+
"img",
|
|
87
|
+
{
|
|
88
|
+
className: fe,
|
|
89
|
+
src: o,
|
|
90
|
+
"aria-hidden": "true",
|
|
91
|
+
alt: `${a} Logo`,
|
|
92
|
+
title: a
|
|
93
|
+
}
|
|
94
|
+
), a && /* @__PURE__ */ t.createElement("span", { className: k(pe, s && me) }, a)), /* @__PURE__ */ t.createElement("span", { className: ge }));
|
|
95
|
+
});
|
|
96
|
+
H.set(Z, {
|
|
97
|
+
name: "ProductBarName",
|
|
98
|
+
props: {
|
|
99
|
+
name: { type: "string" },
|
|
100
|
+
logoSrc: { type: "string" },
|
|
101
|
+
hideNameText: { type: "boolean", default: "false" }
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
var we = "pkg_sps-woodland_core__version_8_51_1__hash_5klvkn0", be = "pkg_sps-woodland_core__version_8_51_1__hash_5klvkn1", ye = "pkg_sps-woodland_core__version_8_51_1__hash_5klvkn2", z = "pkg_sps-woodland_core__version_8_51_1__hash_5klvkn3", G = "pkg_sps-woodland_core__version_8_51_1__hash_5klvkn4";
|
|
105
|
+
function ke({
|
|
106
|
+
items: e,
|
|
107
|
+
wrapperRef: n
|
|
108
|
+
}) {
|
|
109
|
+
const { t: r } = U();
|
|
110
|
+
if (e.length === 0)
|
|
111
|
+
return null;
|
|
112
|
+
const a = e.some((s) => s.props?.active), o = r("productBar.more", { defaultValue: "More" });
|
|
113
|
+
return (
|
|
114
|
+
// Wrap in span for width measurement - don't put ref directly on MenuButton
|
|
115
|
+
// as it interferes with ariakit's internal anchor element ref handling
|
|
116
|
+
/* @__PURE__ */ t.createElement("span", { ref: n }, /* @__PURE__ */ t.createElement(se, null, /* @__PURE__ */ t.createElement(
|
|
117
|
+
oe,
|
|
118
|
+
{
|
|
119
|
+
className: k(X({ active: a, disabled: !1 }), we),
|
|
120
|
+
"aria-label": o
|
|
121
|
+
},
|
|
122
|
+
o,
|
|
123
|
+
/* @__PURE__ */ t.createElement(
|
|
124
|
+
Q,
|
|
125
|
+
{
|
|
126
|
+
icon: "chevron-down",
|
|
127
|
+
className: be,
|
|
128
|
+
"aria-hidden": "true"
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
), /* @__PURE__ */ t.createElement(le, { className: ye, gutter: 4 }, e.map((s, l) => {
|
|
132
|
+
const c = s.props?.active, p = s.props?.children, m = s.props?.onPress, u = s.props?.href, R = s.props?.as, I = () => {
|
|
133
|
+
m && m();
|
|
134
|
+
};
|
|
135
|
+
if (u && R) {
|
|
136
|
+
const N = R;
|
|
137
|
+
return /* @__PURE__ */ t.createElement(
|
|
138
|
+
D,
|
|
139
|
+
{
|
|
140
|
+
key: l,
|
|
141
|
+
className: k(z, c && G),
|
|
142
|
+
render: /* @__PURE__ */ t.createElement(N, { to: u })
|
|
143
|
+
},
|
|
144
|
+
p
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
return u ? /* @__PURE__ */ t.createElement(
|
|
148
|
+
D,
|
|
149
|
+
{
|
|
150
|
+
key: l,
|
|
151
|
+
className: k(z, c && G),
|
|
152
|
+
render: /* @__PURE__ */ t.createElement("a", { href: u })
|
|
153
|
+
},
|
|
154
|
+
p
|
|
155
|
+
) : /* @__PURE__ */ t.createElement(
|
|
156
|
+
D,
|
|
157
|
+
{
|
|
158
|
+
key: l,
|
|
159
|
+
className: k(z, c && G),
|
|
160
|
+
onClick: I
|
|
161
|
+
},
|
|
162
|
+
p
|
|
163
|
+
);
|
|
164
|
+
}))))
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
function Re(e, n = {}) {
|
|
168
|
+
const {
|
|
169
|
+
enabled: r = !0,
|
|
170
|
+
minVisibleItems: a = 1,
|
|
171
|
+
debounceMs: o = 16
|
|
172
|
+
// ~1 frame for responsive resize handling
|
|
173
|
+
} = n, s = t.useRef(null), l = t.useRef(null), c = t.useRef(null), p = t.useRef(null), m = t.useRef(null), u = t.useRef([]), R = t.useRef(0), I = t.useRef(0), N = t.useRef(!1), [M, E] = t.useState(e.length), [A, B] = t.useState(!1), S = t.useCallback(() => {
|
|
174
|
+
if (!s.current) return !1;
|
|
175
|
+
const i = s.current, g = Array.from(i.children), _ = c.current;
|
|
176
|
+
_ && (R.current = _.getBoundingClientRect().width);
|
|
177
|
+
const w = g.filter((b) => b !== _);
|
|
178
|
+
if (w.length < e.length)
|
|
179
|
+
return !1;
|
|
180
|
+
if (u.current = w.map((b) => b.getBoundingClientRect().width), m.current) {
|
|
181
|
+
const b = m.current.querySelector("span:last-of-type");
|
|
182
|
+
if (b) {
|
|
183
|
+
const d = b.getBoundingClientRect().width, C = getComputedStyle(m.current), P = parseFloat(C.marginRight) || 0, f = Math.max(0, P - 8);
|
|
184
|
+
I.current = d + f;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return N.current = !0, !0;
|
|
188
|
+
}, [e.length]), V = t.useCallback(() => {
|
|
189
|
+
if (!l.current) return 0;
|
|
190
|
+
const i = l.current, g = i.getBoundingClientRect(), _ = getComputedStyle(i), w = parseFloat(_.paddingLeft) + parseFloat(_.paddingRight), b = parseFloat(_.gap) || 0;
|
|
191
|
+
let d = w;
|
|
192
|
+
const C = Array.from(i.children), P = C.filter((f) => getComputedStyle(f).display !== "none");
|
|
193
|
+
P.length > 1 && (d += b * (P.length - 1));
|
|
194
|
+
for (const f of C) {
|
|
195
|
+
if (f === s.current) continue;
|
|
196
|
+
const T = getComputedStyle(f), L = parseFloat(T.marginLeft) + parseFloat(T.marginRight);
|
|
197
|
+
if (f === p.current) {
|
|
198
|
+
const O = Array.from(f.children), F = getComputedStyle(f), j = parseFloat(F.gap) || 0;
|
|
199
|
+
for (const v of O) {
|
|
200
|
+
const y = getComputedStyle(v), te = parseFloat(y.marginLeft) + parseFloat(y.marginRight);
|
|
201
|
+
d += v.getBoundingClientRect().width + te;
|
|
202
|
+
}
|
|
203
|
+
O.length > 1 && (d += j * (O.length - 1)), d += parseFloat(F.paddingLeft) + parseFloat(F.paddingRight), d += L;
|
|
204
|
+
} else
|
|
205
|
+
d += f.getBoundingClientRect().width + L;
|
|
206
|
+
}
|
|
207
|
+
return Math.max(0, g.width - d - 2);
|
|
208
|
+
}, []), h = t.useRef(!1), x = t.useCallback(() => {
|
|
209
|
+
if (!r || !N.current) {
|
|
210
|
+
B(!1), h.current = !1;
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
let i = V();
|
|
214
|
+
const g = u.current, _ = R.current || 100, w = I.current || 0;
|
|
215
|
+
if (h.current && w > 0 && (i -= w), g.length === 0 || i <= 0) {
|
|
216
|
+
E(e.length), B(!1), h.current = !1;
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (g.reduce((v, y) => v + y, 0) <= i) {
|
|
220
|
+
E(e.length), B(!1), h.current = !1;
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
let d = 0, C = 0;
|
|
224
|
+
const P = i - _;
|
|
225
|
+
for (let v = 0; v < g.length; v++) {
|
|
226
|
+
const y = g[v];
|
|
227
|
+
if (d + y <= P)
|
|
228
|
+
d += y, C++;
|
|
229
|
+
else
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
const W = Math.min(a, e.length), f = Math.max(C, W), L = g.slice(0, W).reduce((v, y) => v + y, 0) + _, O = C < W && L > i && w > 0, F = !O && i > L + w + 20;
|
|
233
|
+
let j = h.current;
|
|
234
|
+
O && !h.current ? j = !0 : F && h.current && (j = !1), j !== h.current && (h.current = j, B(j)), E(f);
|
|
235
|
+
}, [r, e.length, a, V]);
|
|
236
|
+
t.useEffect(() => {
|
|
237
|
+
if (!r) {
|
|
238
|
+
E(e.length);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
N.current = !1, u.current = [], E(e.length);
|
|
242
|
+
}, [r, e.length]), t.useLayoutEffect(() => {
|
|
243
|
+
if (!r || !s.current) return;
|
|
244
|
+
S() && x();
|
|
245
|
+
}), t.useEffect(() => {
|
|
246
|
+
if (!r) return;
|
|
247
|
+
let i;
|
|
248
|
+
const g = () => {
|
|
249
|
+
clearTimeout(i), i = setTimeout(() => {
|
|
250
|
+
N.current || S(), x();
|
|
251
|
+
}, o);
|
|
252
|
+
}, _ = new ResizeObserver(g);
|
|
253
|
+
return l.current && _.observe(l.current), () => {
|
|
254
|
+
clearTimeout(i), _.disconnect();
|
|
255
|
+
};
|
|
256
|
+
}, [r, S, x, o]);
|
|
257
|
+
const $ = r ? e.slice(0, M) : e, ee = r && M < e.length ? e.slice(M) : [];
|
|
258
|
+
return {
|
|
259
|
+
visibleItems: $,
|
|
260
|
+
overflowItems: ee,
|
|
261
|
+
containerRef: s,
|
|
262
|
+
parentRef: l,
|
|
263
|
+
overflowButtonRef: c,
|
|
264
|
+
contentRef: p,
|
|
265
|
+
brandRef: m,
|
|
266
|
+
hideProductName: A
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function Ne(e) {
|
|
270
|
+
return [...e].sort((n, r) => {
|
|
271
|
+
const a = n.props?.priority ?? 1 / 0, o = r.props?.priority ?? 1 / 0;
|
|
272
|
+
return a === o ? 0 : a - o;
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
function Ce(e, n) {
|
|
276
|
+
if (n.length === 0)
|
|
277
|
+
return { visible: e, overflow: n };
|
|
278
|
+
const r = n.findIndex((c) => c.props?.active);
|
|
279
|
+
if (r === -1)
|
|
280
|
+
return { visible: e, overflow: n };
|
|
281
|
+
const a = n[r], o = e[e.length - 1], s = [...e.slice(0, -1), a], l = [
|
|
282
|
+
...n.slice(0, r),
|
|
283
|
+
o,
|
|
284
|
+
...n.slice(r + 1)
|
|
285
|
+
];
|
|
286
|
+
return { visible: s, overflow: l };
|
|
287
|
+
}
|
|
288
|
+
function Ee({
|
|
289
|
+
fullWidth: e,
|
|
290
|
+
enablePriorityPlus: n = !0,
|
|
291
|
+
children: r,
|
|
292
|
+
className: a,
|
|
293
|
+
...o
|
|
294
|
+
}) {
|
|
295
|
+
const s = t.useRef(null), [l, c, p] = re(r, [
|
|
296
|
+
{ type: Z },
|
|
297
|
+
{ type: Y }
|
|
298
|
+
]), m = t.useMemo(
|
|
299
|
+
() => n ? Ne(c) : c,
|
|
300
|
+
[n, c]
|
|
301
|
+
), {
|
|
302
|
+
visibleItems: u,
|
|
303
|
+
overflowItems: R,
|
|
304
|
+
containerRef: I,
|
|
305
|
+
parentRef: N,
|
|
306
|
+
overflowButtonRef: M,
|
|
307
|
+
contentRef: E,
|
|
308
|
+
brandRef: A,
|
|
309
|
+
hideProductName: B
|
|
310
|
+
} = Re(m, {
|
|
311
|
+
enabled: n
|
|
312
|
+
}), { visible: S, overflow: V } = t.useMemo(
|
|
313
|
+
() => Ce(
|
|
314
|
+
u,
|
|
315
|
+
R
|
|
316
|
+
),
|
|
317
|
+
[u, R]
|
|
318
|
+
), h = t.useMemo(() => {
|
|
319
|
+
if (!n || !l || l.length === 0)
|
|
320
|
+
return l;
|
|
321
|
+
const x = l[0];
|
|
322
|
+
return t.isValidElement(x) ? [t.cloneElement(x, {
|
|
323
|
+
hideNameText: B,
|
|
324
|
+
ref: A
|
|
325
|
+
})] : l;
|
|
326
|
+
}, [n, l, B, A]);
|
|
327
|
+
return /* @__PURE__ */ t.createElement("div", { className: k(ue, a), ...o, ref: s }, /* @__PURE__ */ t.createElement(
|
|
328
|
+
"nav",
|
|
329
|
+
{
|
|
330
|
+
className: _e({ fullWidth: e }),
|
|
331
|
+
ref: N
|
|
332
|
+
},
|
|
333
|
+
h,
|
|
334
|
+
/* @__PURE__ */ t.createElement(
|
|
335
|
+
"div",
|
|
336
|
+
{
|
|
337
|
+
className: ve({ priorityPlus: n }),
|
|
338
|
+
ref: I
|
|
339
|
+
},
|
|
340
|
+
S,
|
|
341
|
+
V.length > 0 && /* @__PURE__ */ t.createElement(
|
|
342
|
+
ke,
|
|
343
|
+
{
|
|
344
|
+
items: V,
|
|
345
|
+
wrapperRef: M
|
|
346
|
+
}
|
|
347
|
+
)
|
|
348
|
+
),
|
|
349
|
+
/* @__PURE__ */ t.createElement(
|
|
350
|
+
"div",
|
|
351
|
+
{
|
|
352
|
+
className: he,
|
|
353
|
+
ref: E
|
|
354
|
+
},
|
|
355
|
+
/* @__PURE__ */ t.createElement(ne.Provider, { value: { parentElementRef: s, fixed: !0 } }, p)
|
|
356
|
+
)
|
|
357
|
+
));
|
|
358
|
+
}
|
|
359
|
+
H.set(Ee, {
|
|
360
|
+
name: "ProductBar",
|
|
361
|
+
props: {
|
|
362
|
+
fullWidth: { type: "boolean" },
|
|
363
|
+
enablePriorityPlus: { type: "boolean", default: "true" }
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
var Be = "pkg_sps-woodland_core__version_8_51_1__hash_pqijiy0", je = "pkg_sps-woodland_core__version_8_51_1__hash_pqijiy1";
|
|
367
|
+
function Ie({
|
|
368
|
+
channelId: e,
|
|
369
|
+
className: n,
|
|
370
|
+
...r
|
|
371
|
+
}) {
|
|
372
|
+
const { t: a } = U();
|
|
373
|
+
return /* @__PURE__ */ t.createElement(
|
|
374
|
+
"a",
|
|
375
|
+
{
|
|
376
|
+
className: k(Be, n),
|
|
377
|
+
target: "_blank",
|
|
378
|
+
rel: "noreferrer",
|
|
379
|
+
href: `https://spscommerce.slack.com/archives/${e}`,
|
|
380
|
+
...r
|
|
381
|
+
},
|
|
382
|
+
/* @__PURE__ */ t.createElement(Q, { className: je, icon: "conversation", "aria-hidden": "true" }),
|
|
383
|
+
/* @__PURE__ */ t.createElement("span", null, a("slackLink.label", { defaultValue: "Chat" }))
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
H.set(Ie, {
|
|
387
|
+
name: "Slack Link",
|
|
388
|
+
props: {
|
|
389
|
+
channelId: { type: "string", required: !0 }
|
|
390
|
+
}
|
|
391
|
+
});
|
|
392
|
+
export {
|
|
393
|
+
Ee as ProductBar,
|
|
394
|
+
Z as ProductBarName,
|
|
395
|
+
Y as ProductBarTab,
|
|
396
|
+
Ie as SlackLink
|
|
397
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("react"),require("@sps-woodland/core"),require("@react-aria/link"),require("@ariakit/react"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@react-aria/link","@ariakit/react","@spscommerce/i18n"],V):(_=typeof globalThis<"u"?globalThis:_||self,V(_.ProductBar={},_.React,_.core,_.link,_.react,_.i18n))})(this,(function(_,V,c,te,I,U){"use strict";function ne(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const t=ne(V);function re(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function X(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function Y(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?X(Object(n),!0).forEach(function(a){re(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}var ae=(e,r,n)=>{for(var a of Object.keys(e)){var o;if(e[a]!==((o=r[a])!==null&&o!==void 0?o:n[a]))return!1}return!0},D=e=>r=>{var n=e.defaultClassName,a=Y(Y({},e.defaultVariants),r);for(var o in a){var s,l=(s=a[o])!==null&&s!==void 0?s:e.defaultVariants[o];if(l!=null){var i=l;typeof i=="boolean"&&(i=i===!0?"true":"false");var h=e.variantClassNames[o][i];h&&(n+=" "+h)}}for(var[g,d]of e.compoundVariants)ae(g,a,e.defaultVariants)&&(n+=" "+d);return n},se="pkg_sps-woodland_core__version_8_51_1__hash_g6gjux0",oe=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjux1",variantClassNames:{fullWidth:{true:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjux2",false:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjux3"}},defaultVariants:{fullWidth:!1},compoundVariants:[]}),le=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjux4",variantClassNames:{hideNameText:{true:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjux5",false:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjux6"}},defaultVariants:{hideNameText:!1},compoundVariants:[]}),ie="pkg_sps-woodland_core__version_8_51_1__hash_g6gjux7",ce="pkg_sps-woodland_core__version_8_51_1__hash_g6gjux8",ue="pkg_sps-woodland_core__version_8_51_1__hash_g6gjux9",_e="pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxa",Z=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxb",variantClassNames:{active:{true:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxc",false:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxd"},disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxe",false:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxf"}},defaultVariants:{active:!1,disabled:!1},compoundVariants:[]}),de="pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxg",fe=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxh",variantClassNames:{priorityPlus:{true:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxi",false:"pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxj"}},defaultVariants:{priorityPlus:!1},compoundVariants:[]});function G(e){const r=t.useRef(null),{linkProps:n}=te.useLink(e,r),{active:a,priority:o,...s}=e,l={...s,...n,ref:r,className:c.cl(Z({active:a,disabled:!1}),e.className)},i=e.as??(e.href?"a":"span");return t.createElement(i,{...l},e.children)}c.Metadata.set(G,{name:"Product Bar Tab",props:{active:{type:"boolean",required:!0},href:{type:"string"},priority:{type:"number"}}});const K=t.forwardRef(function({children:r,className:n,name:a,logoSrc:o,hideNameText:s=!1,...l},i){return t.createElement(t.Fragment,null,t.createElement("a",{className:c.cl(le({hideNameText:s}),n),...l,ref:i},o&&t.createElement("img",{className:ie,src:o,"aria-hidden":"true",alt:`${a} Logo`,title:a}),a&&t.createElement("span",{className:c.cl(ce,s&&ue)},a)),t.createElement("span",{className:de}))});c.Metadata.set(K,{name:"ProductBarName",props:{name:{type:"string"},logoSrc:{type:"string"},hideNameText:{type:"boolean",default:"false"}}});var pe="pkg_sps-woodland_core__version_8_51_1__hash_5klvkn0",me="pkg_sps-woodland_core__version_8_51_1__hash_5klvkn1",he="pkg_sps-woodland_core__version_8_51_1__hash_5klvkn2",J="pkg_sps-woodland_core__version_8_51_1__hash_5klvkn3",Q="pkg_sps-woodland_core__version_8_51_1__hash_5klvkn4";function ge({items:e,wrapperRef:r}){const{t:n}=U.useWoodlandLanguage();if(e.length===0)return null;const a=e.some(s=>s.props?.active),o=n("productBar.more",{defaultValue:"More"});return t.createElement("span",{ref:r},t.createElement(I.MenuProvider,null,t.createElement(I.MenuButton,{className:c.cl(Z({active:a,disabled:!1}),pe),"aria-label":o},o,t.createElement(c.Icon,{icon:"chevron-down",className:me,"aria-hidden":"true"})),t.createElement(I.Menu,{className:he,gutter:4},e.map((s,l)=>{const i=s.props?.active,h=s.props?.children,g=s.props?.onPress,d=s.props?.href,N=s.props?.as,M=()=>{g&&g()};if(d&&N){const B=N;return t.createElement(I.MenuItem,{key:l,className:c.cl(J,i&&Q),render:t.createElement(B,{to:d})},h)}return d?t.createElement(I.MenuItem,{key:l,className:c.cl(J,i&&Q),render:t.createElement("a",{href:d})},h):t.createElement(I.MenuItem,{key:l,className:c.cl(J,i&&Q),onClick:M},h)}))))}function ve(e,r={}){const{enabled:n=!0,minVisibleItems:a=1,debounceMs:o=16}=r,s=t.useRef(null),l=t.useRef(null),i=t.useRef(null),h=t.useRef(null),g=t.useRef(null),d=t.useRef([]),N=t.useRef(0),M=t.useRef(0),B=t.useRef(!1),[W,E]=t.useState(e.length),[H,j]=t.useState(!1),L=t.useCallback(()=>{if(!s.current)return!1;const u=s.current,b=Array.from(u.children),f=i.current;f&&(N.current=f.getBoundingClientRect().width);const y=b.filter(k=>k!==f);if(y.length<e.length)return!1;if(d.current=y.map(k=>k.getBoundingClientRect().width),g.current){const k=g.current.querySelector("span:last-of-type");if(k){const p=k.getBoundingClientRect().width,C=getComputedStyle(g.current),S=parseFloat(C.marginRight)||0,m=Math.max(0,S-8);M.current=p+m}}return B.current=!0,!0},[e.length]),F=t.useCallback(()=>{if(!l.current)return 0;const u=l.current,b=u.getBoundingClientRect(),f=getComputedStyle(u),y=parseFloat(f.paddingLeft)+parseFloat(f.paddingRight),k=parseFloat(f.gap)||0;let p=y;const C=Array.from(u.children),S=C.filter(m=>getComputedStyle(m).display!=="none");S.length>1&&(p+=k*(S.length-1));for(const m of C){if(m===s.current)continue;const z=getComputedStyle(m),A=parseFloat(z.marginLeft)+parseFloat(z.marginRight);if(m===h.current){const x=Array.from(m.children),q=getComputedStyle(m),P=parseFloat(q.gap)||0;for(const w of x){const R=getComputedStyle(w),Be=parseFloat(R.marginLeft)+parseFloat(R.marginRight);p+=w.getBoundingClientRect().width+Be}x.length>1&&(p+=P*(x.length-1)),p+=parseFloat(q.paddingLeft)+parseFloat(q.paddingRight),p+=A}else p+=m.getBoundingClientRect().width+A}return Math.max(0,b.width-p-2)},[]),v=t.useRef(!1),O=t.useCallback(()=>{if(!n||!B.current){j(!1),v.current=!1;return}let u=F();const b=d.current,f=N.current||100,y=M.current||0;if(v.current&&y>0&&(u-=y),b.length===0||u<=0){E(e.length),j(!1),v.current=!1;return}if(b.reduce((w,R)=>w+R,0)<=u){E(e.length),j(!1),v.current=!1;return}let p=0,C=0;const S=u-f;for(let w=0;w<b.length;w++){const R=b[w];if(p+R<=S)p+=R,C++;else break}const T=Math.min(a,e.length),m=Math.max(C,T),A=b.slice(0,T).reduce((w,R)=>w+R,0)+f,x=C<T&&A>u&&y>0,q=!x&&u>A+y+20;let P=v.current;x&&!v.current?P=!0:q&&v.current&&(P=!1),P!==v.current&&(v.current=P,j(P)),E(m)},[n,e.length,a,F]);t.useEffect(()=>{if(!n){E(e.length);return}B.current=!1,d.current=[],E(e.length)},[n,e.length]),t.useLayoutEffect(()=>{if(!n||!s.current)return;L()&&O()}),t.useEffect(()=>{if(!n)return;let u;const b=()=>{clearTimeout(u),u=setTimeout(()=>{B.current||L(),O()},o)},f=new ResizeObserver(b);return l.current&&f.observe(l.current),()=>{clearTimeout(u),f.disconnect()}},[n,L,O,o]);const Re=n?e.slice(0,W):e,Ne=n&&W<e.length?e.slice(W):[];return{visibleItems:Re,overflowItems:Ne,containerRef:s,parentRef:l,overflowButtonRef:i,contentRef:h,brandRef:g,hideProductName:H}}function be(e){return[...e].sort((r,n)=>{const a=r.props?.priority??1/0,o=n.props?.priority??1/0;return a===o?0:a-o})}function we(e,r){if(r.length===0)return{visible:e,overflow:r};const n=r.findIndex(i=>i.props?.active);if(n===-1)return{visible:e,overflow:r};const a=r[n],o=e[e.length-1],s=[...e.slice(0,-1),a],l=[...r.slice(0,n),o,...r.slice(n+1)];return{visible:s,overflow:l}}function $({fullWidth:e,enablePriorityPlus:r=!0,children:n,className:a,...o}){const s=t.useRef(null),[l,i,h]=c.selectChildren(n,[{type:K},{type:G}]),g=t.useMemo(()=>r?be(i):i,[r,i]),{visibleItems:d,overflowItems:N,containerRef:M,parentRef:B,overflowButtonRef:W,contentRef:E,brandRef:H,hideProductName:j}=ve(g,{enabled:r}),{visible:L,overflow:F}=t.useMemo(()=>we(d,N),[d,N]),v=t.useMemo(()=>{if(!r||!l||l.length===0)return l;const O=l[0];return t.isValidElement(O)?[t.cloneElement(O,{hideNameText:j,ref:H})]:l},[r,l,j,H]);return t.createElement("div",{className:c.cl(se,a),...o,ref:s},t.createElement("nav",{className:oe({fullWidth:e}),ref:B},v,t.createElement("div",{className:fe({priorityPlus:r}),ref:M},L,F.length>0&&t.createElement(ge,{items:F,wrapperRef:W})),t.createElement("div",{className:_e,ref:E},t.createElement(c.PortalContext.Provider,{value:{parentElementRef:s,fixed:!0}},h))))}c.Metadata.set($,{name:"ProductBar",props:{fullWidth:{type:"boolean"},enablePriorityPlus:{type:"boolean",default:"true"}}});var ye="pkg_sps-woodland_core__version_8_51_1__hash_pqijiy0",ke="pkg_sps-woodland_core__version_8_51_1__hash_pqijiy1";function ee({channelId:e,className:r,...n}){const{t:a}=U.useWoodlandLanguage();return t.createElement("a",{className:c.cl(ye,r),target:"_blank",rel:"noreferrer",href:`https://spscommerce.slack.com/archives/${e}`,...n},t.createElement(c.Icon,{className:ke,icon:"conversation","aria-hidden":"true"}),t.createElement("span",null,a("slackLink.label",{defaultValue:"Chat"})))}c.Metadata.set(ee,{name:"Slack Link",props:{channelId:{type:"string",required:!0}}}),_.ProductBar=$,_.ProductBarName=K,_.ProductBarTab=G,_.SlackLink=ee,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const productBarContainer: string;
|
|
2
|
+
export declare const productBar: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
3
|
+
fullWidth: {
|
|
4
|
+
true: {
|
|
5
|
+
width: "100%";
|
|
6
|
+
};
|
|
7
|
+
false: {};
|
|
8
|
+
};
|
|
9
|
+
}>;
|
|
10
|
+
export declare const productBarBrand: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
11
|
+
hideNameText: {
|
|
12
|
+
true: {
|
|
13
|
+
marginRight: string;
|
|
14
|
+
};
|
|
15
|
+
false: {};
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
export declare const productBarBrandLogo: string;
|
|
19
|
+
export declare const productBarBrandName: string;
|
|
20
|
+
export declare const visuallyHidden: string;
|
|
21
|
+
export declare const productBarContent: string;
|
|
22
|
+
export declare const navItem: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
23
|
+
active: {
|
|
24
|
+
true: {
|
|
25
|
+
boxShadow: `inset 0 -${string} ${string}`;
|
|
26
|
+
};
|
|
27
|
+
false: {};
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
true: {
|
|
31
|
+
color: string;
|
|
32
|
+
};
|
|
33
|
+
false: {};
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
export declare const verticalRule: string;
|
|
37
|
+
export declare const productNavNav: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
38
|
+
priorityPlus: {
|
|
39
|
+
true: {};
|
|
40
|
+
false: {};
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
43
|
+
//# sourceMappingURL=ProductBar.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductBar.css.d.ts","sourceRoot":"","sources":["../../../src/product-bar/product-bar/ProductBar.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,QAS9B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;EAyBrB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;EAyB1B,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAM9B,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAM9B,CAAC;AAGH,eAAO,MAAM,cAAc,QAUzB,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAG5B,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;EA2ClB,CAAC;AAEH,eAAO,MAAM,YAAY,QASvB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;EAmBxB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 o = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux0", r = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux2", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux5", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), d = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux7", n = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux8", g = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjux9", l = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxa", p = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxc", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxe", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), i = "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxg", u = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxi", false: "pkg_sps-woodland_core__version_8_51_1__hash_g6gjuxj" } }, defaultVariants: { priorityPlus: !1 }, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
p as navItem,
|
|
6
|
+
r as productBar,
|
|
7
|
+
e as productBarBrand,
|
|
8
|
+
d as productBarBrandLogo,
|
|
9
|
+
n as productBarBrandName,
|
|
10
|
+
o as productBarContainer,
|
|
11
|
+
l as productBarContent,
|
|
12
|
+
u as productNavNav,
|
|
13
|
+
i as verticalRule,
|
|
14
|
+
g as visuallyHidden
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
|
+
export interface ProductBarProps {
|
|
4
|
+
/** Stretch nav to full width of container */
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Priority+ behavior - tabs that don't fit collapse into a "More" menu.
|
|
8
|
+
* Set to false to disable responsive overflow.
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
11
|
+
enablePriorityPlus?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function ProductBar({ fullWidth, enablePriorityPlus, children, className, ...rest }: ComponentProps<ProductBarProps, HTMLDivElement>): React.ReactElement;
|
|
14
|
+
//# sourceMappingURL=ProductBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductBar.d.ts","sourceRoot":"","sources":["../../../src/product-bar/product-bar/ProductBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAgBzD,MAAM,WAAW,eAAe;IAC9B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAoDD,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,kBAAyB,EACzB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,eAAe,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAkFtE"}
|