@sps-woodland/core 8.51.2 → 8.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/app-root/AppRoot.css.d.ts +1 -2
- package/lib/components/app-root/AppRoot.d.ts +0 -1
- package/lib/components/box/Box.d.ts +0 -1
- package/lib/components/cap-content/CapContent.css.d.ts +0 -1
- package/lib/components/cap-content/CapContent.d.ts +0 -1
- package/lib/components/cap-content/CapContentTitle.d.ts +0 -1
- package/lib/components/content/Content.css.d.ts +0 -1
- package/lib/components/content/Content.d.ts +0 -1
- package/lib/components/icon/Icon.css.d.ts +1 -2
- package/lib/components/icon/Icon.d.ts +0 -1
- package/lib/components/icon/icons/index.d.ts +0 -1
- package/lib/components/input-panel/InputPanel.css.d.ts +0 -1
- package/lib/components/input-panel/InputPanel.d.ts +0 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +0 -1
- package/lib/components/spinner/Spinner.css.d.ts +1 -2
- package/lib/components/spinner/Spinner.d.ts +0 -1
- package/lib/components/spinner/Spinner.examples.d.ts +0 -1
- package/lib/components/title/Title.css.d.ts +1 -2
- package/lib/components/title/Title.d.ts +0 -1
- package/lib/components/vertical-rule/VerticalRule.css.d.ts +0 -1
- package/lib/components/vertical-rule/VerticalRule.d.ts +0 -1
- package/lib/examples.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +8 -8
- package/lib/index.umd.cjs +1 -1
- package/lib/manifest.d.ts +0 -1
- package/lib/metadata/metadata.d.ts +0 -1
- package/lib/style.css +1 -1
- package/lib/types/table.d.ts +0 -1
- package/lib/utils/ChildrenFn.d.ts +0 -1
- package/lib/utils/ComponentProps.d.ts +0 -1
- package/lib/utils/Provide.d.ts +0 -1
- package/lib/utils/VariantDefinitions.d.ts +0 -1
- package/lib/utils/addClassName.d.ts +0 -1
- package/lib/utils/addProps.d.ts +0 -1
- package/lib/utils/bindProps.d.ts +0 -1
- package/lib/utils/cl.d.ts +0 -1
- package/lib/utils/combineEventHandlers.d.ts +0 -1
- package/lib/utils/contentOf.d.ts +0 -1
- package/lib/utils/getScrollParent.d.ts +0 -1
- package/lib/utils/modChildren.d.ts +0 -1
- package/lib/utils/selectChildren.d.ts +0 -1
- package/lib/utils/useChildTestIdAttrBuilder.d.ts +0 -1
- package/lib/utils/useElementId.d.ts +0 -1
- package/lib/utils/usePatchReducer.d.ts +0 -1
- package/lib/utils/usePortal.d.ts +0 -1
- package/package.json +6 -755
- package/vite.config.mjs +1 -7
- package/lib/action-bar/action-bar/ActionBar.css.d.ts +0 -10
- package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +0 -1
- package/lib/action-bar/action-bar/ActionBar.css.js +0 -12
- package/lib/action-bar/action-bar/ActionBar.d.ts +0 -9
- package/lib/action-bar/action-bar/ActionBar.d.ts.map +0 -1
- package/lib/action-bar/action-bar/ActionBar.js +0 -61
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +0 -4
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +0 -1
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +0 -24
- package/lib/action-bar/index.d.ts +0 -3
- package/lib/action-bar/index.d.ts.map +0 -1
- package/lib/action-bar/index.js +0 -79
- package/lib/action-bar/index.umd.cjs +0 -1
- package/lib/action-bar/style.css +0 -1
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts +0 -91
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/AddToList.css.js +0 -25
- package/lib/add-to-list/add-to-list/AddToList.d.ts +0 -31
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/AddToList.js +0 -284
- package/lib/add-to-list/add-to-list/ItemsList.d.ts +0 -17
- package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/ItemsList.js +0 -67
- package/lib/add-to-list/add-to-list/ListItem.d.ts +0 -8
- package/lib/add-to-list/add-to-list/ListItem.d.ts.map +0 -1
- package/lib/add-to-list/add-to-list/ListItem.js +0 -51
- package/lib/add-to-list/index.d.ts +0 -2
- package/lib/add-to-list/index.d.ts.map +0 -1
- package/lib/add-to-list/index.js +0 -441
- package/lib/add-to-list/index.umd.cjs +0 -1
- package/lib/add-to-list/style.css +0 -1
- package/lib/buttons/button/Button.css.d.ts +0 -15
- package/lib/buttons/button/Button.css.d.ts.map +0 -1
- package/lib/buttons/button/Button.css.js +0 -10
- package/lib/buttons/button/Button.d.ts +0 -19
- package/lib/buttons/button/Button.d.ts.map +0 -1
- package/lib/buttons/button/Button.js +0 -116
- package/lib/buttons/index.d.ts +0 -2
- package/lib/buttons/index.d.ts.map +0 -1
- package/lib/buttons/index.js +0 -169
- package/lib/buttons/index.umd.cjs +0 -1
- package/lib/buttons/style.css +0 -1
- package/lib/cards/card/Card.css.d.ts +0 -2
- package/lib/cards/card/Card.css.d.ts.map +0 -1
- package/lib/cards/card/Card.css.js +0 -5
- package/lib/cards/card/Card.d.ts +0 -4
- package/lib/cards/card/Card.d.ts.map +0 -1
- package/lib/cards/card/Card.js +0 -28
- package/lib/cards/card-footer/CardFooter.css.d.ts +0 -2
- package/lib/cards/card-footer/CardFooter.css.d.ts.map +0 -1
- package/lib/cards/card-footer/CardFooter.css.js +0 -5
- package/lib/cards/card-footer/CardFooter.d.ts +0 -4
- package/lib/cards/card-footer/CardFooter.d.ts.map +0 -1
- package/lib/cards/card-footer/CardFooter.js +0 -14
- package/lib/cards/card-header/CardHeader.css.d.ts +0 -2
- package/lib/cards/card-header/CardHeader.css.d.ts.map +0 -1
- package/lib/cards/card-header/CardHeader.css.js +0 -5
- package/lib/cards/card-header/CardHeader.d.ts +0 -4
- package/lib/cards/card-header/CardHeader.d.ts.map +0 -1
- package/lib/cards/card-header/CardHeader.js +0 -14
- package/lib/cards/card-title/CardTitle.css.d.ts +0 -2
- package/lib/cards/card-title/CardTitle.css.d.ts.map +0 -1
- package/lib/cards/card-title/CardTitle.css.js +0 -5
- package/lib/cards/card-title/CardTitle.d.ts +0 -4
- package/lib/cards/card-title/CardTitle.d.ts.map +0 -1
- package/lib/cards/card-title/CardTitle.js +0 -14
- package/lib/cards/index.d.ts +0 -5
- package/lib/cards/index.d.ts.map +0 -1
- package/lib/cards/index.js +0 -56
- package/lib/cards/index.umd.cjs +0 -1
- package/lib/cards/style.css +0 -1
- package/lib/column-manager/column-manager/ColumnManager.d.ts +0 -23
- package/lib/column-manager/column-manager/ColumnManager.d.ts.map +0 -1
- package/lib/column-manager/column-manager/ColumnManager.js +0 -114
- package/lib/column-manager/column-manager/useColumnManager.d.ts +0 -27
- package/lib/column-manager/column-manager/useColumnManager.d.ts.map +0 -1
- package/lib/column-manager/column-manager/useColumnManager.js +0 -49
- package/lib/column-manager/index.d.ts +0 -3
- package/lib/column-manager/index.d.ts.map +0 -1
- package/lib/column-manager/index.js +0 -6
- package/lib/components/app-root/AppRoot.css.d.ts.map +0 -1
- package/lib/components/app-root/AppRoot.d.ts.map +0 -1
- package/lib/components/box/Box.d.ts.map +0 -1
- package/lib/components/cap-content/CapContent.css.d.ts.map +0 -1
- package/lib/components/cap-content/CapContent.d.ts.map +0 -1
- package/lib/components/cap-content/CapContentTitle.d.ts.map +0 -1
- package/lib/components/content/Content.css.d.ts.map +0 -1
- package/lib/components/content/Content.d.ts.map +0 -1
- package/lib/components/icon/Icon.css.d.ts.map +0 -1
- package/lib/components/icon/Icon.d.ts.map +0 -1
- package/lib/components/icon/icons/index.d.ts.map +0 -1
- package/lib/components/input-panel/InputPanel.css.d.ts.map +0 -1
- package/lib/components/input-panel/InputPanel.d.ts.map +0 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +0 -1
- package/lib/components/spinner/Spinner.css.d.ts.map +0 -1
- package/lib/components/spinner/Spinner.d.ts.map +0 -1
- package/lib/components/spinner/Spinner.examples.d.ts.map +0 -1
- package/lib/components/title/Title.css.d.ts.map +0 -1
- package/lib/components/title/Title.d.ts.map +0 -1
- package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +0 -1
- package/lib/components/vertical-rule/VerticalRule.d.ts.map +0 -1
- package/lib/content-row/content-row/ContentRow.css.d.ts +0 -150
- package/lib/content-row/content-row/ContentRow.css.d.ts.map +0 -1
- package/lib/content-row/content-row/ContentRow.css.js +0 -19
- package/lib/content-row/content-row/ContentRow.d.ts +0 -27
- package/lib/content-row/content-row/ContentRow.d.ts.map +0 -1
- package/lib/content-row/content-row/ContentRow.js +0 -175
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +0 -51
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +0 -1
- package/lib/content-row/content-row-col/ContentRowCol.css.js +0 -8
- package/lib/content-row/content-row-col/ContentRowCol.d.ts +0 -11
- package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +0 -1
- package/lib/content-row/content-row-col/ContentRowCol.js +0 -50
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +0 -6
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +0 -1
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +0 -25
- package/lib/content-row/index.d.ts +0 -5
- package/lib/content-row/index.d.ts.map +0 -1
- package/lib/content-row/index.js +0 -336
- package/lib/content-row/index.umd.cjs +0 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +0 -9
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +0 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +0 -6
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +0 -6
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +0 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +0 -48
- package/lib/content-row/style.css +0 -1
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts +0 -59
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +0 -1
- package/lib/content-tiles/content-tile/ContentTile.css.js +0 -15
- package/lib/content-tiles/content-tile/ContentTile.d.ts +0 -16
- package/lib/content-tiles/content-tile/ContentTile.d.ts.map +0 -1
- package/lib/content-tiles/content-tile/ContentTile.js +0 -62
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +0 -3
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +0 -1
- package/lib/content-tiles/content-tile-list/ContentTileList.css.js +0 -6
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +0 -3
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +0 -1
- package/lib/content-tiles/content-tile-list/ContentTileList.js +0 -14
- package/lib/content-tiles/index.d.ts +0 -3
- package/lib/content-tiles/index.d.ts.map +0 -1
- package/lib/content-tiles/index.js +0 -124
- package/lib/content-tiles/index.umd.cjs +0 -1
- package/lib/content-tiles/style.css +0 -1
- package/lib/core.css +0 -1
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts +0 -74
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +0 -1
- package/lib/dropdowns/dropdown/Dropdown.css.js +0 -9
- package/lib/dropdowns/dropdown/Dropdown.d.ts +0 -16
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +0 -1
- package/lib/dropdowns/dropdown/Dropdown.js +0 -70
- package/lib/dropdowns/index.d.ts +0 -4
- package/lib/dropdowns/index.d.ts.map +0 -1
- package/lib/dropdowns/index.js +0 -180
- package/lib/dropdowns/index.umd.cjs +0 -1
- package/lib/dropdowns/option-list/Option.css.d.ts +0 -3
- package/lib/dropdowns/option-list/Option.css.d.ts.map +0 -1
- package/lib/dropdowns/option-list/Option.css.js +0 -6
- package/lib/dropdowns/option-list/Option.d.ts +0 -5
- package/lib/dropdowns/option-list/Option.d.ts.map +0 -1
- package/lib/dropdowns/option-list/Option.js +0 -22
- package/lib/dropdowns/option-list/OptionList.css.d.ts +0 -3
- package/lib/dropdowns/option-list/OptionList.css.d.ts.map +0 -1
- package/lib/dropdowns/option-list/OptionList.css.js +0 -6
- package/lib/dropdowns/option-list/OptionList.d.ts +0 -11
- package/lib/dropdowns/option-list/OptionList.d.ts.map +0 -1
- package/lib/dropdowns/option-list/OptionList.js +0 -46
- package/lib/dropdowns/style.css +0 -1
- package/lib/editable-table/EditableTable.d.ts +0 -6
- package/lib/editable-table/EditableTable.d.ts.map +0 -1
- package/lib/editable-table/EditableTable.js +0 -71
- package/lib/editable-table/index.d.ts +0 -2
- package/lib/editable-table/index.d.ts.map +0 -1
- package/lib/editable-table/index.js +0 -4
- package/lib/editable-table/style.css +0 -157
- package/lib/examples.d.ts.map +0 -1
- package/lib/feedback-block/FeedbackBlock.css.d.ts +0 -12
- package/lib/feedback-block/FeedbackBlock.css.d.ts.map +0 -1
- package/lib/feedback-block/FeedbackBlock.css.js +0 -8
- package/lib/feedback-block/FeedbackBlock.d.ts +0 -10
- package/lib/feedback-block/FeedbackBlock.d.ts.map +0 -1
- package/lib/feedback-block/FeedbackBlock.js +0 -38
- package/lib/feedback-block/index.d.ts +0 -2
- package/lib/feedback-block/index.d.ts.map +0 -1
- package/lib/feedback-block/index.js +0 -91
- package/lib/feedback-block/index.umd.cjs +0 -1
- package/lib/feedback-block/style.css +0 -1
- package/lib/file-upload/file-upload/FileUpload.css.d.ts +0 -95
- package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +0 -1
- package/lib/file-upload/file-upload/FileUpload.css.js +0 -19
- package/lib/file-upload/file-upload/FileUpload.d.ts +0 -20
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +0 -1
- package/lib/file-upload/file-upload/FileUpload.js +0 -197
- package/lib/file-upload/file-upload/mime-type.enum.d.ts +0 -98
- package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +0 -1
- package/lib/file-upload/file-upload/mime-type.enum.js +0 -106
- package/lib/file-upload/index.d.ts +0 -2
- package/lib/file-upload/index.d.ts.map +0 -1
- package/lib/file-upload/index.js +0 -352
- package/lib/file-upload/index.umd.cjs +0 -1
- package/lib/file-upload/style.css +0 -1
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +0 -37
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile/FilterTile.css.js +0 -10
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts +0 -9
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +0 -35
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +0 -2
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +0 -5
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +0 -4
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +0 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +0 -16
- package/lib/filter-tiles/index.d.ts +0 -3
- package/lib/filter-tiles/index.d.ts.map +0 -1
- package/lib/filter-tiles/index.js +0 -100
- package/lib/filter-tiles/index.umd.cjs +0 -1
- package/lib/filter-tiles/style.css +0 -1
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts +0 -15
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +0 -1
- package/lib/focused-task/focused-task/FocusedTask.css.js +0 -13
- package/lib/focused-task/focused-task/FocusedTask.d.ts +0 -17
- package/lib/focused-task/focused-task/FocusedTask.d.ts.map +0 -1
- package/lib/focused-task/focused-task/FocusedTask.js +0 -77
- package/lib/focused-task/focused-task/useFocusedTask.d.ts +0 -17
- package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +0 -1
- package/lib/focused-task/focused-task/useFocusedTask.js +0 -19
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +0 -4
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +0 -1
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +0 -14
- package/lib/focused-task/index.d.ts +0 -4
- package/lib/focused-task/index.d.ts.map +0 -1
- package/lib/focused-task/index.js +0 -154
- package/lib/focused-task/index.umd.cjs +0 -1
- package/lib/focused-task/style.css +0 -1
- package/lib/growler/Growler.css.d.ts +0 -18
- package/lib/growler/Growler.css.d.ts.map +0 -1
- package/lib/growler/Growler.css.js +0 -13
- package/lib/growler/Growler.d.ts +0 -23
- package/lib/growler/Growler.d.ts.map +0 -1
- package/lib/growler/Growler.js +0 -93
- package/lib/growler/GrowlerListProvider.d.ts +0 -14
- package/lib/growler/GrowlerListProvider.d.ts.map +0 -1
- package/lib/growler/GrowlerListProvider.js +0 -42
- package/lib/growler/Sonner.css.d.ts +0 -17
- package/lib/growler/Sonner.css.d.ts.map +0 -1
- package/lib/growler/Sonner.css.js +0 -13
- package/lib/growler/index.d.ts +0 -4
- package/lib/growler/index.d.ts.map +0 -1
- package/lib/growler/index.js +0 -267
- package/lib/growler/index.umd.cjs +0 -1
- package/lib/growler/sonner.d.ts +0 -87
- package/lib/growler/sonner.d.ts.map +0 -1
- package/lib/growler/sonner.js +0 -86
- package/lib/growler/style.css +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/insight-card/InsightCard.css.d.ts +0 -20
- package/lib/insight-card/InsightCard.css.d.ts.map +0 -1
- package/lib/insight-card/InsightCard.css.js +0 -14
- package/lib/insight-card/InsightCard.d.ts +0 -15
- package/lib/insight-card/InsightCard.d.ts.map +0 -1
- package/lib/insight-card/InsightCard.js +0 -69
- package/lib/insight-card/InsightCardSet.d.ts +0 -3
- package/lib/insight-card/InsightCardSet.d.ts.map +0 -1
- package/lib/insight-card/InsightCardSet.js +0 -13
- package/lib/insight-card/index.d.ts +0 -3
- package/lib/insight-card/index.d.ts.map +0 -1
- package/lib/insight-card/index.js +0 -130
- package/lib/insight-card/index.umd.cjs +0 -1
- package/lib/insight-card/style.css +0 -1
- package/lib/key-value-set/index.d.ts +0 -3
- package/lib/key-value-set/index.d.ts.map +0 -1
- package/lib/key-value-set/index.js +0 -95
- package/lib/key-value-set/index.umd.cjs +0 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +0 -7
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.css.js +0 -6
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +0 -6
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +0 -23
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +0 -14
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +0 -8
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +0 -7
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +0 -1
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +0 -23
- package/lib/key-value-set/style.css +0 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +0 -11
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +0 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.css.js +0 -9
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +0 -16
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +0 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.js +0 -56
- package/lib/list-bar/index.d.ts +0 -8
- package/lib/list-bar/index.d.ts.map +0 -1
- package/lib/list-bar/index.js +0 -317
- package/lib/list-bar/index.umd.cjs +0 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +0 -4
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +0 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.js +0 -20
- package/lib/list-bar/list-bar/ListBar.css.d.ts +0 -39
- package/lib/list-bar/list-bar/ListBar.css.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBar.css.js +0 -18
- package/lib/list-bar/list-bar/ListBar.d.ts +0 -20
- package/lib/list-bar/list-bar/ListBar.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBar.js +0 -123
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +0 -6
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBarSearch.js +0 -23
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +0 -4
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +0 -13
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +0 -16
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +0 -1
- package/lib/list-bar/list-bar/ListBarSortBy.js +0 -40
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +0 -10
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +0 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +0 -14
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +0 -11
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +0 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +0 -30
- package/lib/list-bar/style.css +0 -1
- package/lib/manifest.d.ts.map +0 -1
- package/lib/matrix/index.d.ts +0 -7
- package/lib/matrix/index.d.ts.map +0 -1
- package/lib/matrix/index.js +0 -95
- package/lib/matrix/index.umd.cjs +0 -1
- package/lib/matrix/matrix/Matrix.css.d.ts +0 -5
- package/lib/matrix/matrix/Matrix.css.d.ts.map +0 -1
- package/lib/matrix/matrix/Matrix.css.js +0 -8
- package/lib/matrix/matrix/Matrix.d.ts +0 -6
- package/lib/matrix/matrix/Matrix.d.ts.map +0 -1
- package/lib/matrix/matrix/Matrix.js +0 -28
- package/lib/matrix/matrix-body/MatrixBody.d.ts +0 -4
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +0 -1
- package/lib/matrix/matrix-body/MatrixBody.js +0 -15
- package/lib/matrix/matrix-cell/MatrixCell.d.ts +0 -4
- package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +0 -1
- package/lib/matrix/matrix-cell/MatrixCell.js +0 -19
- package/lib/matrix/matrix-head/MatrixHead.d.ts +0 -4
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +0 -1
- package/lib/matrix/matrix-head/MatrixHead.js +0 -15
- package/lib/matrix/matrix-header/MatrixHeader.d.ts +0 -16
- package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +0 -1
- package/lib/matrix/matrix-header/MatrixHeader.js +0 -25
- package/lib/matrix/matrix-row/MatrixRow.d.ts +0 -4
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +0 -1
- package/lib/matrix/matrix-row/MatrixRow.js +0 -15
- package/lib/matrix/style.css +0 -1
- package/lib/metadata/metadata.d.ts.map +0 -1
- package/lib/modal/index.d.ts +0 -4
- package/lib/modal/index.d.ts.map +0 -1
- package/lib/modal/index.js +0 -197
- package/lib/modal/index.umd.cjs +0 -1
- package/lib/modal/modal/Modal.css.d.ts +0 -20
- package/lib/modal/modal/Modal.css.d.ts.map +0 -1
- package/lib/modal/modal/Modal.css.js +0 -14
- package/lib/modal/modal/Modal.d.ts +0 -27
- package/lib/modal/modal/Modal.d.ts.map +0 -1
- package/lib/modal/modal/Modal.js +0 -113
- package/lib/modal/modal/useModal.d.ts +0 -17
- package/lib/modal/modal/useModal.d.ts.map +0 -1
- package/lib/modal/modal/useModal.js +0 -26
- package/lib/modal/modal-footer/ModalFooter.d.ts +0 -4
- package/lib/modal/modal-footer/ModalFooter.d.ts.map +0 -1
- package/lib/modal/modal-footer/ModalFooter.js +0 -14
- package/lib/modal/style.css +0 -1
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +0 -57
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +0 -11
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +0 -4
- package/lib/page-title/index.d.ts +0 -3
- package/lib/page-title/index.d.ts.map +0 -1
- package/lib/page-title/index.js +0 -32
- package/lib/page-title/index.umd.cjs +0 -1
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +0 -3
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +0 -1
- package/lib/page-title/page-subtitle/PageSubtitle.css.js +0 -6
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts +0 -4
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +0 -1
- package/lib/page-title/page-subtitle/PageSubtitle.js +0 -19
- package/lib/page-title/page-title/PageTitle.css.d.ts +0 -4
- package/lib/page-title/page-title/PageTitle.css.d.ts.map +0 -1
- package/lib/page-title/page-title/PageTitle.css.js +0 -7
- package/lib/page-title/page-title/PageTitle.d.ts +0 -4
- package/lib/page-title/page-title/PageTitle.d.ts.map +0 -1
- package/lib/page-title/page-title/PageTitle.js +0 -17
- package/lib/page-title/style.css +0 -1
- package/lib/photo/index.d.ts +0 -3
- package/lib/photo/index.d.ts.map +0 -1
- package/lib/photo/index.js +0 -179
- package/lib/photo/index.umd.cjs +0 -1
- package/lib/photo/photo/Photo.css.d.ts +0 -12
- package/lib/photo/photo/Photo.css.d.ts.map +0 -1
- package/lib/photo/photo/Photo.css.js +0 -8
- package/lib/photo/photo/Photo.d.ts +0 -11
- package/lib/photo/photo/Photo.d.ts.map +0 -1
- package/lib/photo/photo/Photo.js +0 -83
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +0 -13
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +0 -1
- package/lib/photo/photo-carousel/PhotoCarousel.css.js +0 -10
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +0 -4
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +0 -1
- package/lib/photo/photo-carousel/PhotoCarousel.js +0 -48
- package/lib/photo/style.css +0 -1
- package/lib/product-bar/hooks/usePriorityPlus.d.ts +0 -33
- package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +0 -1
- package/lib/product-bar/hooks/usePriorityPlus.js +0 -106
- package/lib/product-bar/index.d.ts +0 -5
- package/lib/product-bar/index.d.ts.map +0 -1
- package/lib/product-bar/index.js +0 -397
- package/lib/product-bar/index.umd.cjs +0 -1
- package/lib/product-bar/product-bar/ProductBar.css.d.ts +0 -43
- package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +0 -1
- package/lib/product-bar/product-bar/ProductBar.css.js +0 -15
- package/lib/product-bar/product-bar/ProductBar.d.ts +0 -14
- package/lib/product-bar/product-bar/ProductBar.d.ts.map +0 -1
- package/lib/product-bar/product-bar/ProductBar.js +0 -107
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts +0 -12
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +0 -1
- package/lib/product-bar/product-bar-name/ProductBarName.js +0 -33
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +0 -23
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +0 -1
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +0 -9
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +0 -13
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +0 -1
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +0 -71
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +0 -16
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +0 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +0 -24
- package/lib/product-bar/slack-link/SlackLink.css.d.ts +0 -3
- package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +0 -1
- package/lib/product-bar/slack-link/SlackLink.css.js +0 -6
- package/lib/product-bar/slack-link/SlackLink.d.ts +0 -6
- package/lib/product-bar/slack-link/SlackLink.d.ts.map +0 -1
- package/lib/product-bar/slack-link/SlackLink.js +0 -32
- package/lib/product-bar/style.css +0 -1
- package/lib/product-bar-vertical/index.d.ts +0 -5
- package/lib/product-bar-vertical/index.d.ts.map +0 -1
- package/lib/product-bar-vertical/index.js +0 -261
- package/lib/product-bar-vertical/index.umd.cjs +0 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +0 -78
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +0 -24
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +0 -8
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +0 -62
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +0 -9
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +0 -44
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +0 -15
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +0 -91
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +0 -10
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +0 -1
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +0 -30
- package/lib/product-bar-vertical/style.css +0 -1
- package/lib/progress-indicators/index.d.ts +0 -4
- package/lib/progress-indicators/index.d.ts.map +0 -1
- package/lib/progress-indicators/index.js +0 -264
- package/lib/progress-indicators/index.umd.cjs +0 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +0 -19
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.css.js +0 -14
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +0 -13
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +0 -112
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +0 -14
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +0 -9
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +0 -14
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +0 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +0 -56
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +0 -8
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +0 -1
- package/lib/progress-indicators/progress-ring/ProgressRing.js +0 -54
- package/lib/progress-indicators/style.css +0 -1
- package/lib/rich-text-editor/index.d.ts +0 -3
- package/lib/rich-text-editor/index.d.ts.map +0 -1
- package/lib/rich-text-editor/index.js +0 -588
- package/lib/rich-text-editor/index.umd.cjs +0 -13
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +0 -13
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +0 -35
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +0 -16
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +0 -7
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +0 -11
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +0 -38
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +0 -15
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +0 -9
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +0 -8
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +0 -81
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +0 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +0 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +0 -2
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +0 -22
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +0 -14
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +0 -28
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +0 -6
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +0 -94
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +0 -7
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +0 -37
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +0 -15
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +0 -214
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +0 -4
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +0 -12
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +0 -10
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +0 -13
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +0 -3
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +0 -1
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +0 -16
- package/lib/rich-text-editor/style.css +0 -1
- package/lib/scrollable-container/ScrollableContainer.css.d.ts +0 -2
- package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +0 -1
- package/lib/scrollable-container/ScrollableContainer.css.js +0 -5
- package/lib/scrollable-container/ScrollableContainer.d.ts +0 -6
- package/lib/scrollable-container/ScrollableContainer.d.ts.map +0 -1
- package/lib/scrollable-container/ScrollableContainer.js +0 -29
- package/lib/scrollable-container/index.d.ts +0 -2
- package/lib/scrollable-container/index.d.ts.map +0 -1
- package/lib/scrollable-container/index.js +0 -29
- package/lib/scrollable-container/index.umd.cjs +0 -1
- package/lib/scrollable-container/style.css +0 -1
- package/lib/side-nav/index.d.ts +0 -5
- package/lib/side-nav/index.d.ts.map +0 -1
- package/lib/side-nav/index.js +0 -228
- package/lib/side-nav/index.umd.cjs +0 -1
- package/lib/side-nav/side-nav/SideNav.css.d.ts +0 -30
- package/lib/side-nav/side-nav/SideNav.css.d.ts.map +0 -1
- package/lib/side-nav/side-nav/SideNav.css.js +0 -17
- package/lib/side-nav/side-nav/SideNav.d.ts +0 -9
- package/lib/side-nav/side-nav/SideNav.d.ts.map +0 -1
- package/lib/side-nav/side-nav/SideNav.js +0 -62
- package/lib/side-nav/side-nav/navContext.d.ts +0 -5
- package/lib/side-nav/side-nav/navContext.d.ts.map +0 -1
- package/lib/side-nav/side-nav/navContext.js +0 -8
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +0 -4
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +0 -1
- package/lib/side-nav/side-nav-header/SideNavHeader.js +0 -17
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts +0 -25
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +0 -1
- package/lib/side-nav/side-nav-item/SideNavItem.js +0 -84
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts +0 -7
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +0 -1
- package/lib/side-nav/side-nav-section/SideNavSection.js +0 -28
- package/lib/side-nav/style.css +0 -1
- package/lib/sorting-header/caret/caret.css.d.ts +0 -21
- package/lib/sorting-header/caret/caret.css.d.ts.map +0 -1
- package/lib/sorting-header/caret/caret.css.js +0 -6
- package/lib/sorting-header/index.d.ts +0 -3
- package/lib/sorting-header/index.d.ts.map +0 -1
- package/lib/sorting-header/index.js +0 -250
- package/lib/sorting-header/index.umd.cjs +0 -1
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +0 -39
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header/SortingHeader.css.js +0 -7
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts +0 -9
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header/SortingHeader.js +0 -126
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +0 -35
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +0 -6
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +0 -12
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +0 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +0 -77
- package/lib/sorting-header/style.css +0 -1
- package/lib/tabs/index.d.ts +0 -4
- package/lib/tabs/index.d.ts.map +0 -1
- package/lib/tabs/index.js +0 -206
- package/lib/tabs/index.umd.cjs +0 -1
- package/lib/tabs/style.css +0 -1
- package/lib/tabs/tab/Tab.css.d.ts +0 -12
- package/lib/tabs/tab/Tab.css.d.ts.map +0 -1
- package/lib/tabs/tab/Tab.css.js +0 -7
- package/lib/tabs/tab/Tab.d.ts +0 -10
- package/lib/tabs/tab/Tab.d.ts.map +0 -1
- package/lib/tabs/tab/Tab.js +0 -28
- package/lib/tabs/tab-panel/TabPanel.d.ts +0 -9
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +0 -1
- package/lib/tabs/tab-panel/TabPanel.js +0 -24
- package/lib/tabs/tabs/Tabs.css.d.ts +0 -30
- package/lib/tabs/tabs/Tabs.css.d.ts.map +0 -1
- package/lib/tabs/tabs/Tabs.css.js +0 -11
- package/lib/tabs/tabs/Tabs.d.ts +0 -6
- package/lib/tabs/tabs/Tabs.d.ts.map +0 -1
- package/lib/tabs/tabs/Tabs.js +0 -113
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts +0 -17
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +0 -1
- package/lib/tags/clickable-tag/ClickableTag.css.js +0 -10
- package/lib/tags/clickable-tag/ClickableTag.d.ts +0 -13
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +0 -1
- package/lib/tags/clickable-tag/ClickableTag.js +0 -72
- package/lib/tags/index.d.ts +0 -4
- package/lib/tags/index.d.ts.map +0 -1
- package/lib/tags/index.js +0 -189
- package/lib/tags/index.umd.cjs +0 -1
- package/lib/tags/split-tag/SplitTag.css.d.ts +0 -67
- package/lib/tags/split-tag/SplitTag.css.d.ts.map +0 -1
- package/lib/tags/split-tag/SplitTag.css.js +0 -10
- package/lib/tags/split-tag/SplitTag.d.ts +0 -14
- package/lib/tags/split-tag/SplitTag.d.ts.map +0 -1
- package/lib/tags/split-tag/SplitTag.js +0 -32
- package/lib/tags/style.css +0 -1
- package/lib/tags/tag/Tag.css.d.ts +0 -24
- package/lib/tags/tag/Tag.css.d.ts.map +0 -1
- package/lib/tags/tag/Tag.css.js +0 -7
- package/lib/tags/tag/Tag.d.ts +0 -11
- package/lib/tags/tag/Tag.d.ts.map +0 -1
- package/lib/tags/tag/Tag.js +0 -41
- package/lib/types/table.d.ts.map +0 -1
- package/lib/utils/ChildrenFn.d.ts.map +0 -1
- package/lib/utils/ComponentProps.d.ts.map +0 -1
- package/lib/utils/Provide.d.ts.map +0 -1
- package/lib/utils/VariantDefinitions.d.ts.map +0 -1
- package/lib/utils/addClassName.d.ts.map +0 -1
- package/lib/utils/addProps.d.ts.map +0 -1
- package/lib/utils/bindProps.d.ts.map +0 -1
- package/lib/utils/cl.d.ts.map +0 -1
- package/lib/utils/combineEventHandlers.d.ts.map +0 -1
- package/lib/utils/contentOf.d.ts.map +0 -1
- package/lib/utils/getScrollParent.d.ts.map +0 -1
- package/lib/utils/modChildren.d.ts.map +0 -1
- package/lib/utils/selectChildren.d.ts.map +0 -1
- package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +0 -1
- package/lib/utils/useElementId.d.ts.map +0 -1
- package/lib/utils/usePatchReducer.d.ts.map +0 -1
- package/lib/utils/usePortal.d.ts.map +0 -1
- package/lib/zero-state/ZeroState.css.d.ts +0 -41
- package/lib/zero-state/ZeroState.css.d.ts.map +0 -1
- package/lib/zero-state/ZeroState.css.js +0 -12
- package/lib/zero-state/ZeroState.d.ts +0 -12
- package/lib/zero-state/ZeroState.d.ts.map +0 -1
- package/lib/zero-state/ZeroState.js +0 -31
- package/lib/zero-state/index.d.ts +0 -2
- package/lib/zero-state/index.d.ts.map +0 -1
- package/lib/zero-state/index.js +0 -84
- package/lib/zero-state/index.umd.cjs +0 -1
- package/lib/zero-state/style.css +0 -1
- package/vite.action-bar.config.mjs +0 -40
- package/vite.add-to-list.config.mjs +0 -40
- package/vite.buttons.config.mjs +0 -41
- package/vite.cards.config.mjs +0 -40
- package/vite.content-row.config.mjs +0 -40
- package/vite.content-tiles.config.mjs +0 -40
- package/vite.dropdowns.config.mjs +0 -41
- package/vite.editable-table.config.mjs +0 -68
- package/vite.feedback-block.config.mjs +0 -40
- package/vite.file-upload.config.mjs +0 -40
- package/vite.filter-tiles.config.mjs +0 -40
- package/vite.focused-task.config.mjs +0 -40
- package/vite.growler.config.mjs +0 -41
- package/vite.insight-card.config.mjs +0 -40
- package/vite.key-value-set.config.mjs +0 -40
- package/vite.list-bar.config.mjs +0 -40
- package/vite.matrix.config.mjs +0 -40
- package/vite.modal.config.mjs +0 -40
- package/vite.page-title.config.mjs +0 -40
- package/vite.photo.config.mjs +0 -40
- package/vite.product-bar-vertical.config.mjs +0 -40
- package/vite.product-bar.config.mjs +0 -42
- package/vite.progress-indicators.config.mjs +0 -40
- package/vite.rich-text-editor.config.mjs +0 -48
- package/vite.scrollable-container.config.mjs +0 -40
- package/vite.side-nav.config.mjs +0 -40
- package/vite.sorting-header.config.mjs +0 -40
- package/vite.subpaths.config.mjs +0 -246
- package/vite.tabs.config.mjs +0 -43
- package/vite.tags.config.mjs +0 -40
- package/vite.zero-state.config.mjs +0 -40
|
@@ -1,106 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/lib/product-bar/index.js
DELETED
|
@@ -1,397 +0,0 @@
|
|
|
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_2__hash_g6gjux0", _e = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux2", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), de = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux5", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), fe = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux7", pe = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux8", me = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux9", he = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxa", X = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxc", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxe", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), ge = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxg", ve = q({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxi", false: "pkg_sps-woodland_core__version_8_51_2__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_2__hash_5klvkn0", be = "pkg_sps-woodland_core__version_8_51_2__hash_5klvkn1", ye = "pkg_sps-woodland_core__version_8_51_2__hash_5klvkn2", z = "pkg_sps-woodland_core__version_8_51_2__hash_5klvkn3", G = "pkg_sps-woodland_core__version_8_51_2__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_2__hash_pqijiy0", je = "pkg_sps-woodland_core__version_8_51_2__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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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_2__hash_g6gjux0",oe=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjux1",variantClassNames:{fullWidth:{true:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjux2",false:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjux3"}},defaultVariants:{fullWidth:!1},compoundVariants:[]}),le=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjux4",variantClassNames:{hideNameText:{true:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjux5",false:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjux6"}},defaultVariants:{hideNameText:!1},compoundVariants:[]}),ie="pkg_sps-woodland_core__version_8_51_2__hash_g6gjux7",ce="pkg_sps-woodland_core__version_8_51_2__hash_g6gjux8",ue="pkg_sps-woodland_core__version_8_51_2__hash_g6gjux9",_e="pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxa",Z=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxb",variantClassNames:{active:{true:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxc",false:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxd"},disabled:{true:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxe",false:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxf"}},defaultVariants:{active:!1,disabled:!1},compoundVariants:[]}),de="pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxg",fe=D({defaultClassName:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxh",variantClassNames:{priorityPlus:{true:"pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxi",false:"pkg_sps-woodland_core__version_8_51_2__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_2__hash_5klvkn0",me="pkg_sps-woodland_core__version_8_51_2__hash_5klvkn1",he="pkg_sps-woodland_core__version_8_51_2__hash_5klvkn2",J="pkg_sps-woodland_core__version_8_51_2__hash_5klvkn3",Q="pkg_sps-woodland_core__version_8_51_2__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_2__hash_pqijiy0",ke="pkg_sps-woodland_core__version_8_51_2__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"})}));
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
-
var o = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux0", r = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux1", variantClassNames: { fullWidth: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux2", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux3" } }, defaultVariants: { fullWidth: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux4", variantClassNames: { hideNameText: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux5", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux6" } }, defaultVariants: { hideNameText: !1 }, compoundVariants: [] }), d = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux7", n = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux8", g = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjux9", l = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxa", p = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxb", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxc", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxd" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxe", false: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxf" } }, defaultVariants: { active: !1, disabled: !1 }, compoundVariants: [] }), i = "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxg", u = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxh", variantClassNames: { priorityPlus: { true: "pkg_sps-woodland_core__version_8_51_2__hash_g6gjuxi", false: "pkg_sps-woodland_core__version_8_51_2__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
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|