@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,32 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { Metadata as r, selectChildren as d, Icon as l, addClassName as c, cl as n, modChildren as p } from "@sps-woodland/core";
|
|
3
|
+
var m = "pkg_sps-woodland_core__version_8_51_1__hash_6nwwl00", g = "pkg_sps-woodland_core__version_8_51_1__hash_6nwwl01", h = "pkg_sps-woodland_core__version_8_51_1__hash_6nwwl02";
|
|
4
|
+
function v({
|
|
5
|
+
children: a,
|
|
6
|
+
className: o,
|
|
7
|
+
...s
|
|
8
|
+
}) {
|
|
9
|
+
const [[e], _] = d(a, [{ type: l }]), i = e ? c(e, h) : "";
|
|
10
|
+
return /* @__PURE__ */ t.createElement("div", { className: n(m, o), ...s }, i, /* @__PURE__ */ t.createElement("div", { className: g }, _));
|
|
11
|
+
}
|
|
12
|
+
r.set(v, {
|
|
13
|
+
name: "Page Title"
|
|
14
|
+
});
|
|
15
|
+
var w = "pkg_sps-woodland_core__version_8_51_1__hash_14qi3ku0", u = "pkg_sps-woodland_core__version_8_51_1__hash_14qi3ku1";
|
|
16
|
+
function k({
|
|
17
|
+
children: a,
|
|
18
|
+
className: o,
|
|
19
|
+
...s
|
|
20
|
+
}) {
|
|
21
|
+
const e = p(a, (_) => _.type === l ? [{
|
|
22
|
+
className: n(_.props.className, u)
|
|
23
|
+
}] : []);
|
|
24
|
+
return /* @__PURE__ */ t.createElement("div", { className: n(w, o), ...s }, e);
|
|
25
|
+
}
|
|
26
|
+
r.set(k, {
|
|
27
|
+
name: "Page Subtitle"
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
k as PageSubtitle,
|
|
31
|
+
v as PageTitle
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(t,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("react"),require("@sps-woodland/core")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core"],_):(t=typeof globalThis<"u"?globalThis:t||self,_(t.PageTitle={},t.React,t.core))})(this,(function(t,_,e){"use strict";function c(n){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const a in n)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(o,a,s.get?s:{enumerable:!0,get:()=>n[a]})}}return o.default=n,Object.freeze(o)}const l=c(_);var p="pkg_sps-woodland_core__version_8_51_1__hash_6nwwl00",u="pkg_sps-woodland_core__version_8_51_1__hash_6nwwl01",f="pkg_sps-woodland_core__version_8_51_1__hash_6nwwl02";function d({children:n,className:o,...a}){const[[s],i]=e.selectChildren(n,[{type:e.Icon}]),h=s?e.addClassName(s,f):"";return l.createElement("div",{className:e.cl(p,o),...a},h,l.createElement("div",{className:u},i))}e.Metadata.set(d,{name:"Page Title"});var g="pkg_sps-woodland_core__version_8_51_1__hash_14qi3ku0",m="pkg_sps-woodland_core__version_8_51_1__hash_14qi3ku1";function r({children:n,className:o,...a}){const s=e.modChildren(n,i=>i.type===e.Icon?[{className:e.cl(i.props.className,m)}]:[]);return l.createElement("div",{className:e.cl(g,o),...a},s)}e.Metadata.set(r,{name:"Page Subtitle"}),t.PageSubtitle=r,t.PageTitle=d,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageSubtitle.css.d.ts","sourceRoot":"","sources":["../../../src/page-title/page-subtitle/PageSubtitle.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,QAKvB,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAM3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageSubtitle.d.ts","sourceRoot":"","sources":["../../../src/page-title/page-subtitle/PageSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOzD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAc9D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { Metadata as l, modChildren as n, Icon as s, cl as t } from "@sps-woodland/core";
|
|
3
|
+
import { pageSubtitleIcon as c, pageSubtitle as p } from "./PageSubtitle.css.js";
|
|
4
|
+
function d({
|
|
5
|
+
children: a,
|
|
6
|
+
className: o,
|
|
7
|
+
...m
|
|
8
|
+
}) {
|
|
9
|
+
const r = n(a, (e) => e.type === s ? [{
|
|
10
|
+
className: t(e.props.className, c)
|
|
11
|
+
}] : []);
|
|
12
|
+
return /* @__PURE__ */ i.createElement("div", { className: t(p, o), ...m }, r);
|
|
13
|
+
}
|
|
14
|
+
l.set(d, {
|
|
15
|
+
name: "Page Subtitle"
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
d as PageSubtitle
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageTitle.css.d.ts","sourceRoot":"","sources":["../../../src/page-title/page-title/PageTitle.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,QAGpB,CAAC;AAEH,eAAO,MAAM,aAAa,QAMxB,CAAC;AAEH,eAAO,MAAM,aAAa,QAMxB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
var o = "pkg_sps-woodland_core__version_8_51_1__hash_6nwwl00", e = "pkg_sps-woodland_core__version_8_51_1__hash_6nwwl01", a = "pkg_sps-woodland_core__version_8_51_1__hash_6nwwl02";
|
|
3
|
+
export {
|
|
4
|
+
o as pageTitle,
|
|
5
|
+
a as pageTitleIcon,
|
|
6
|
+
e as pageTitleText
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageTitle.d.ts","sourceRoot":"","sources":["../../../src/page-title/page-title/PageTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAY,MAAM,oBAAoB,CAAC;AAOnE,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAgB9D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { Metadata as n, selectChildren as r, Icon as m, addClassName as s, cl as d } from "@sps-woodland/core";
|
|
3
|
+
import { pageTitleIcon as p, pageTitle as T, pageTitleText as g } from "./PageTitle.css.js";
|
|
4
|
+
function f({
|
|
5
|
+
children: a,
|
|
6
|
+
className: o,
|
|
7
|
+
...c
|
|
8
|
+
}) {
|
|
9
|
+
const [[e], i] = r(a, [{ type: m }]), l = e ? s(e, p) : "";
|
|
10
|
+
return /* @__PURE__ */ t.createElement("div", { className: d(T, o), ...c }, l, /* @__PURE__ */ t.createElement("div", { className: g }, i));
|
|
11
|
+
}
|
|
12
|
+
n.set(f, {
|
|
13
|
+
name: "Page Title"
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
f as PageTitle
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_1__hash_6nwwl00{display:flex;flex-direction:row}.pkg_sps-woodland_core__version_8_51_1__hash_6nwwl01{color:#1f282c;display:flex;flex-direction:column;font-size:1.5rem;line-height:1.5rem}.pkg_sps-woodland_core__version_8_51_1__hash_6nwwl02{align-self:flex-start;font-size:1.125rem;line-height:1.5rem;margin-right:.25rem;margin-top:.1875rem}.pkg_sps-woodland_core__version_8_51_1__hash_14qi3ku0{color:#4b5356;font-size:1.125rem;line-height:1.125rem;margin-top:.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_14qi3ku1{font-size:.75rem;line-height:1.125rem;margin-left:.25rem;margin-right:.25rem;margin-top:.25rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/photo/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { Metadata as V, cl as f, Icon as j, selectChildren as W } from "@sps-woodland/core";
|
|
3
|
+
import { grid as h } from "@sps-woodland/tokens";
|
|
4
|
+
import { SpsButton as v } from "@spscommerce/ds-react";
|
|
5
|
+
import { SpsIcon as w, ButtonKind as g } from "@spscommerce/ds-shared";
|
|
6
|
+
function B(e, a, n) {
|
|
7
|
+
return a in e ? Object.defineProperty(e, a, {
|
|
8
|
+
value: n,
|
|
9
|
+
enumerable: !0,
|
|
10
|
+
configurable: !0,
|
|
11
|
+
writable: !0
|
|
12
|
+
}) : e[a] = n, e;
|
|
13
|
+
}
|
|
14
|
+
function b(e, a) {
|
|
15
|
+
var n = Object.keys(e);
|
|
16
|
+
if (Object.getOwnPropertySymbols) {
|
|
17
|
+
var t = Object.getOwnPropertySymbols(e);
|
|
18
|
+
a && (t = t.filter(function(o) {
|
|
19
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
20
|
+
})), n.push.apply(n, t);
|
|
21
|
+
}
|
|
22
|
+
return n;
|
|
23
|
+
}
|
|
24
|
+
function C(e) {
|
|
25
|
+
for (var a = 1; a < arguments.length; a++) {
|
|
26
|
+
var n = arguments[a] != null ? arguments[a] : {};
|
|
27
|
+
a % 2 ? b(Object(n), !0).forEach(function(t) {
|
|
28
|
+
B(e, t, n[t]);
|
|
29
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b(Object(n)).forEach(function(t) {
|
|
30
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return e;
|
|
34
|
+
}
|
|
35
|
+
var F = (e, a, n) => {
|
|
36
|
+
for (var t of Object.keys(e)) {
|
|
37
|
+
var o;
|
|
38
|
+
if (e[t] !== ((o = a[t]) !== null && o !== void 0 ? o : n[t]))
|
|
39
|
+
return !1;
|
|
40
|
+
}
|
|
41
|
+
return !0;
|
|
42
|
+
}, m = (e) => (a) => {
|
|
43
|
+
var n = e.defaultClassName, t = C(C({}, e.defaultVariants), a);
|
|
44
|
+
for (var o in t) {
|
|
45
|
+
var _, c = (_ = t[o]) !== null && _ !== void 0 ? _ : e.defaultVariants[o];
|
|
46
|
+
if (c != null) {
|
|
47
|
+
var s = c;
|
|
48
|
+
typeof s == "boolean" && (s = s === !0 ? "true" : "false");
|
|
49
|
+
var l = (
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
e.variantClassNames[o][s]
|
|
52
|
+
);
|
|
53
|
+
l && (n += " " + l);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
for (var [i, u] of e.compoundVariants)
|
|
57
|
+
F(i, t, e.defaultVariants) && (n += " " + u);
|
|
58
|
+
return n;
|
|
59
|
+
}, L = m({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w0", variantClassNames: { placeholder: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w1", false: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w2" } }, defaultVariants: { placeholder: !1 }, compoundVariants: [] }), A = m({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w3", variantClassNames: { mode: { fill: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w4", fit: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w5" } }, defaultVariants: { mode: "fill" }, compoundVariants: [] }), D = "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w6";
|
|
60
|
+
function O({
|
|
61
|
+
className: e,
|
|
62
|
+
src: a,
|
|
63
|
+
altText: n,
|
|
64
|
+
mode: t = "fill",
|
|
65
|
+
placeholderIcon: o = "photo",
|
|
66
|
+
..._
|
|
67
|
+
}) {
|
|
68
|
+
const c = r.useRef(null), s = r.useRef(null), l = r.useRef(null), i = r.useRef(null), [u, N] = r.useState(), [P, R] = r.useState(!1);
|
|
69
|
+
r.useEffect(() => {
|
|
70
|
+
s.current && (l.current && (window.clearInterval(l.current), l.current = null), l.current = window.setInterval(() => {
|
|
71
|
+
if (s.current) {
|
|
72
|
+
const d = s.current.getBoundingClientRect();
|
|
73
|
+
if (d.height) {
|
|
74
|
+
l.current && (window.clearInterval(l.current), l.current = null);
|
|
75
|
+
let p = d.width / d.height > 1;
|
|
76
|
+
R(p === (t === "fit"));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, 1e3 / 60));
|
|
80
|
+
}, [c.current, s.current, a]), r.useEffect(() => {
|
|
81
|
+
i.current && (window.clearInterval(i.current), i.current = null), i.current = window.setInterval(() => {
|
|
82
|
+
if (c.current) {
|
|
83
|
+
const d = c.current.getBoundingClientRect();
|
|
84
|
+
d.width && (y(d.width), i.current && (window.clearInterval(i.current), i.current = null));
|
|
85
|
+
}
|
|
86
|
+
}, 1e3 / 60);
|
|
87
|
+
}, [c.current]);
|
|
88
|
+
function y(d) {
|
|
89
|
+
if (d) {
|
|
90
|
+
const p = document?.body?.parentElement?.style?.fontSize || "16px", x = Number(p.substring(0, p.length - 2));
|
|
91
|
+
N(d / x);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function k() {
|
|
95
|
+
if (typeof u < "u")
|
|
96
|
+
return u * 0.05;
|
|
97
|
+
}
|
|
98
|
+
function S() {
|
|
99
|
+
if (typeof u < "u")
|
|
100
|
+
return 0.75 * u;
|
|
101
|
+
}
|
|
102
|
+
return /* @__PURE__ */ r.createElement(
|
|
103
|
+
"div",
|
|
104
|
+
{
|
|
105
|
+
ref: c,
|
|
106
|
+
className: f(L({ placeholder: !a }), e),
|
|
107
|
+
style: {
|
|
108
|
+
width: `${u}` && `${u}rem`,
|
|
109
|
+
fontSize: `${k()}rem`,
|
|
110
|
+
height: `${S()}rem`
|
|
111
|
+
},
|
|
112
|
+
..._
|
|
113
|
+
},
|
|
114
|
+
a ? u ? /* @__PURE__ */ r.createElement(
|
|
115
|
+
"img",
|
|
116
|
+
{
|
|
117
|
+
className: A({ mode: P ? "fit" : "fill" }),
|
|
118
|
+
ref: s,
|
|
119
|
+
src: a,
|
|
120
|
+
alt: n
|
|
121
|
+
}
|
|
122
|
+
) : /* @__PURE__ */ r.createElement("span", null) : /* @__PURE__ */ r.createElement(j, { className: D, icon: o })
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
V.set(O, {
|
|
126
|
+
name: "Photo",
|
|
127
|
+
props: {
|
|
128
|
+
src: "string",
|
|
129
|
+
altText: "string",
|
|
130
|
+
mode: {
|
|
131
|
+
type: '"fill" | "fit"',
|
|
132
|
+
default: '"fill"'
|
|
133
|
+
},
|
|
134
|
+
placeholderIcon: "IconName"
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
var I = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba10", E = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba11", z = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba12", T = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba13", H = m({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1744ba14", variantClassNames: { selected: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1744ba15", false: "pkg_sps-woodland_core__version_8_51_1__hash_1744ba16" } }, defaultVariants: { selected: !1 }, compoundVariants: [] });
|
|
138
|
+
function J({
|
|
139
|
+
children: e,
|
|
140
|
+
className: a,
|
|
141
|
+
...n
|
|
142
|
+
}) {
|
|
143
|
+
const [t] = W(e, [{ type: O }]), [o, _] = r.useState(0);
|
|
144
|
+
function c() {
|
|
145
|
+
o + 1 === t.length ? _(0) : _(o + 1);
|
|
146
|
+
}
|
|
147
|
+
function s() {
|
|
148
|
+
_(o === 0 ? t.length - 1 : o - 1);
|
|
149
|
+
}
|
|
150
|
+
return /* @__PURE__ */ r.createElement("div", { className: h.root, ...n }, /* @__PURE__ */ r.createElement("div", { className: f(I) }, /* @__PURE__ */ r.createElement("div", { className: f(E) }, /* @__PURE__ */ r.createElement(
|
|
151
|
+
v,
|
|
152
|
+
{
|
|
153
|
+
tabIndex: 0,
|
|
154
|
+
kind: g.ICON,
|
|
155
|
+
icon: w.ARROW_LEFT_CIRCLE,
|
|
156
|
+
onClick: s
|
|
157
|
+
}
|
|
158
|
+
))), /* @__PURE__ */ r.createElement("div", { className: h[10] }, /* @__PURE__ */ r.createElement("div", { className: f(T, h[12]) }, t[o]), /* @__PURE__ */ r.createElement("div", { className: f(z, h[12]) }, t.map((l, i) => /* @__PURE__ */ r.createElement(
|
|
159
|
+
"button",
|
|
160
|
+
{
|
|
161
|
+
tabIndex: 0,
|
|
162
|
+
className: f(H({ selected: i === o })),
|
|
163
|
+
onClick: () => _(i)
|
|
164
|
+
},
|
|
165
|
+
l
|
|
166
|
+
)))), /* @__PURE__ */ r.createElement("div", { className: f(I) }, /* @__PURE__ */ r.createElement("div", { className: f(E) }, /* @__PURE__ */ r.createElement(
|
|
167
|
+
v,
|
|
168
|
+
{
|
|
169
|
+
tabIndex: 0,
|
|
170
|
+
kind: g.ICON,
|
|
171
|
+
icon: w.ARROW_RIGHT_CIRCLE,
|
|
172
|
+
onClick: c
|
|
173
|
+
}
|
|
174
|
+
))));
|
|
175
|
+
}
|
|
176
|
+
export {
|
|
177
|
+
O as Photo,
|
|
178
|
+
J as PhotoCarousel
|
|
179
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(s,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react"),require("@sps-woodland/core"),require("@sps-woodland/tokens"),require("@spscommerce/ds-react"),require("@spscommerce/ds-shared")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@sps-woodland/tokens","@spscommerce/ds-react","@spscommerce/ds-shared"],h):(s=typeof globalThis<"u"?globalThis:s||self,h(s.Photo={},s.React,s.core,s.tokens,s.dsReact,s.dsShared))})(this,(function(s,h,_,m,O,v){"use strict";function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=E(h);function N(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function C(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,r)}return t}function I(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?C(Object(t),!0).forEach(function(r){N(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var R=(e,n,t)=>{for(var r of Object.keys(e)){var o;if(e[r]!==((o=n[r])!==null&&o!==void 0?o:t[r]))return!1}return!0},g=e=>n=>{var t=e.defaultClassName,r=I(I({},e.defaultVariants),n);for(var o in r){var u,d=(u=r[o])!==null&&u!==void 0?u:e.defaultVariants[o];if(d!=null){var l=d;typeof l=="boolean"&&(l=l===!0?"true":"false");var i=e.variantClassNames[o][l];i&&(t+=" "+i)}}for(var[c,f]of e.compoundVariants)R(c,r,e.defaultVariants)&&(t+=" "+f);return t},j=g({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1orib4w0",variantClassNames:{placeholder:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1orib4w1",false:"pkg_sps-woodland_core__version_8_51_1__hash_1orib4w2"}},defaultVariants:{placeholder:!1},compoundVariants:[]}),S=g({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1orib4w3",variantClassNames:{mode:{fill:"pkg_sps-woodland_core__version_8_51_1__hash_1orib4w4",fit:"pkg_sps-woodland_core__version_8_51_1__hash_1orib4w5"}},defaultVariants:{mode:"fill"},compoundVariants:[]}),k="pkg_sps-woodland_core__version_8_51_1__hash_1orib4w6";function b({className:e,src:n,altText:t,mode:r="fill",placeholderIcon:o="photo",...u}){const d=a.useRef(null),l=a.useRef(null),i=a.useRef(null),c=a.useRef(null),[f,D]=a.useState(),[T,F]=a.useState(!1);a.useEffect(()=>{l.current&&(i.current&&(window.clearInterval(i.current),i.current=null),i.current=window.setInterval(()=>{if(l.current){const p=l.current.getBoundingClientRect();if(p.height){i.current&&(window.clearInterval(i.current),i.current=null);let w=p.width/p.height>1;F(w===(r==="fit"))}}},1e3/60))},[d.current,l.current,n]),a.useEffect(()=>{c.current&&(window.clearInterval(c.current),c.current=null),c.current=window.setInterval(()=>{if(d.current){const p=d.current.getBoundingClientRect();p.width&&(L(p.width),c.current&&(window.clearInterval(c.current),c.current=null))}},1e3/60)},[d.current]);function L(p){if(p){const w=document?.body?.parentElement?.style?.fontSize||"16px",A=Number(w.substring(0,w.length-2));D(p/A)}}function q(){if(typeof f<"u")return f*.05}function z(){if(typeof f<"u")return .75*f}return a.createElement("div",{ref:d,className:_.cl(j({placeholder:!n}),e),style:{width:`${f}`&&`${f}rem`,fontSize:`${q()}rem`,height:`${z()}rem`},...u},n?f?a.createElement("img",{className:S({mode:T?"fit":"fill"}),ref:l,src:n,alt:t}):a.createElement("span",null):a.createElement(_.Icon,{className:k,icon:o}))}_.Metadata.set(b,{name:"Photo",props:{src:"string",altText:"string",mode:{type:'"fill" | "fit"',default:'"fill"'},placeholderIcon:"IconName"}});var P="pkg_sps-woodland_core__version_8_51_1__hash_1744ba10",y="pkg_sps-woodland_core__version_8_51_1__hash_1744ba11",x="pkg_sps-woodland_core__version_8_51_1__hash_1744ba12",V="pkg_sps-woodland_core__version_8_51_1__hash_1744ba13",B=g({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1744ba14",variantClassNames:{selected:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1744ba15",false:"pkg_sps-woodland_core__version_8_51_1__hash_1744ba16"}},defaultVariants:{selected:!1},compoundVariants:[]});function W({children:e,className:n,...t}){const[r]=_.selectChildren(e,[{type:b}]),[o,u]=a.useState(0);function d(){o+1===r.length?u(0):u(o+1)}function l(){u(o===0?r.length-1:o-1)}return a.createElement("div",{className:m.grid.root,...t},a.createElement("div",{className:_.cl(P)},a.createElement("div",{className:_.cl(y)},a.createElement(O.SpsButton,{tabIndex:0,kind:v.ButtonKind.ICON,icon:v.SpsIcon.ARROW_LEFT_CIRCLE,onClick:l}))),a.createElement("div",{className:m.grid[10]},a.createElement("div",{className:_.cl(V,m.grid[12])},r[o]),a.createElement("div",{className:_.cl(x,m.grid[12])},r.map((i,c)=>a.createElement("button",{tabIndex:0,className:_.cl(B({selected:c===o})),onClick:()=>u(c)},i)))),a.createElement("div",{className:_.cl(P)},a.createElement("div",{className:_.cl(y)},a.createElement(O.SpsButton,{tabIndex:0,kind:v.ButtonKind.ICON,icon:v.SpsIcon.ARROW_RIGHT_CIRCLE,onClick:d}))))}s.Photo=b,s.PhotoCarousel=W,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Tokens } from "@sps-woodland/tokens";
|
|
2
|
+
import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
|
|
3
|
+
export type PhotoDisplayMode = keyof typeof Tokens.component.photo["display-mode"];
|
|
4
|
+
interface PhotoVariantDefinition extends VariantDefinitions {
|
|
5
|
+
mode: RecipeVariant<PhotoDisplayMode>;
|
|
6
|
+
placeholder: BooleanRecipeVariant;
|
|
7
|
+
}
|
|
8
|
+
export declare const photoWrapper: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<PhotoVariantDefinition, "placeholder">>;
|
|
9
|
+
export declare const photo: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<PhotoVariantDefinition, "mode">>;
|
|
10
|
+
export declare const photoPlaceholder: string;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Photo.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Photo.css.d.ts","sourceRoot":"","sources":["../../../src/photo/photo/Photo.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAIlG,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAEnF,UAAU,sBAAuB,SAAQ,kBAAkB;IACzD,IAAI,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACtC,WAAW,EAAE,oBAAoB,CAAC;CACnC;AAED,eAAO,MAAM,YAAY,oIA+BvB,CAAC;AAEH,eAAO,MAAM,KAAK,6HAuBhB,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAI3B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
+
var s = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w0", variantClassNames: { placeholder: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w1", false: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w2" } }, defaultVariants: { placeholder: !1 }, compoundVariants: [] }), r = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w3", variantClassNames: { mode: { fill: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w4", fit: "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w5" } }, defaultVariants: { mode: "fill" }, compoundVariants: [] }), e = "pkg_sps-woodland_core__version_8_51_1__hash_1orib4w6";
|
|
4
|
+
export {
|
|
5
|
+
r as photo,
|
|
6
|
+
e as photoPlaceholder,
|
|
7
|
+
s as photoWrapper
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ComponentProps } from "@sps-woodland/core";
|
|
3
|
+
import { IconName } from "@sps-woodland/tokens";
|
|
4
|
+
import type { PhotoDisplayMode } from "./Photo.css";
|
|
5
|
+
export declare function Photo({ className, src, altText, mode, placeholderIcon, ...rest }: ComponentProps<{
|
|
6
|
+
src?: string;
|
|
7
|
+
altText?: string;
|
|
8
|
+
mode?: PhotoDisplayMode;
|
|
9
|
+
placeholderIcon?: IconName;
|
|
10
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
11
|
+
//# sourceMappingURL=Photo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Photo.d.ts","sourceRoot":"","sources":["../../../src/photo/photo/Photo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAsB,MAAM,oBAAoB,CAAC;AAGxE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,GAAG,EACH,OAAO,EACP,IAAa,EACb,eAAyB,EACzB,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,eAAe,CAAC,EAAE,QAAQ,CAAC;CAC5B,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAgGrB"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { Metadata as E, cl as y, Icon as S } from "@sps-woodland/core";
|
|
3
|
+
import { photoWrapper as b, photo as N, photoPlaceholder as W } from "./Photo.css.js";
|
|
4
|
+
function x({
|
|
5
|
+
className: a,
|
|
6
|
+
src: o,
|
|
7
|
+
altText: f,
|
|
8
|
+
mode: s = "fill",
|
|
9
|
+
placeholderIcon: d = "photo",
|
|
10
|
+
...m
|
|
11
|
+
}) {
|
|
12
|
+
const l = e.useRef(null), c = e.useRef(null), n = e.useRef(null), r = e.useRef(null), [i, h] = e.useState(), [g, p] = e.useState(!1);
|
|
13
|
+
e.useEffect(() => {
|
|
14
|
+
c.current && (n.current && (window.clearInterval(n.current), n.current = null), n.current = window.setInterval(() => {
|
|
15
|
+
if (c.current) {
|
|
16
|
+
const t = c.current.getBoundingClientRect();
|
|
17
|
+
if (t.height) {
|
|
18
|
+
n.current && (window.clearInterval(n.current), n.current = null);
|
|
19
|
+
let u = t.width / t.height > 1;
|
|
20
|
+
p(u === (s === "fit"));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, 1e3 / 60));
|
|
24
|
+
}, [l.current, c.current, o]), e.useEffect(() => {
|
|
25
|
+
r.current && (window.clearInterval(r.current), r.current = null), r.current = window.setInterval(() => {
|
|
26
|
+
if (l.current) {
|
|
27
|
+
const t = l.current.getBoundingClientRect();
|
|
28
|
+
t.width && (w(t.width), r.current && (window.clearInterval(r.current), r.current = null));
|
|
29
|
+
}
|
|
30
|
+
}, 1e3 / 60);
|
|
31
|
+
}, [l.current]);
|
|
32
|
+
function w(t) {
|
|
33
|
+
if (t) {
|
|
34
|
+
const u = document?.body?.parentElement?.style?.fontSize || "16px", v = Number(u.substring(0, u.length - 2));
|
|
35
|
+
h(t / v);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function I() {
|
|
39
|
+
if (typeof i < "u")
|
|
40
|
+
return i * 0.05;
|
|
41
|
+
}
|
|
42
|
+
function R() {
|
|
43
|
+
if (typeof i < "u")
|
|
44
|
+
return 0.75 * i;
|
|
45
|
+
}
|
|
46
|
+
return /* @__PURE__ */ e.createElement(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
ref: l,
|
|
50
|
+
className: y(b({ placeholder: !o }), a),
|
|
51
|
+
style: {
|
|
52
|
+
width: `${i}` && `${i}rem`,
|
|
53
|
+
fontSize: `${I()}rem`,
|
|
54
|
+
height: `${R()}rem`
|
|
55
|
+
},
|
|
56
|
+
...m
|
|
57
|
+
},
|
|
58
|
+
o ? i ? /* @__PURE__ */ e.createElement(
|
|
59
|
+
"img",
|
|
60
|
+
{
|
|
61
|
+
className: N({ mode: g ? "fit" : "fill" }),
|
|
62
|
+
ref: c,
|
|
63
|
+
src: o,
|
|
64
|
+
alt: f
|
|
65
|
+
}
|
|
66
|
+
) : /* @__PURE__ */ e.createElement("span", null) : /* @__PURE__ */ e.createElement(S, { className: W, icon: d })
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
E.set(x, {
|
|
70
|
+
name: "Photo",
|
|
71
|
+
props: {
|
|
72
|
+
src: "string",
|
|
73
|
+
altText: "string",
|
|
74
|
+
mode: {
|
|
75
|
+
type: '"fill" | "fit"',
|
|
76
|
+
default: '"fill"'
|
|
77
|
+
},
|
|
78
|
+
placeholderIcon: "IconName"
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
export {
|
|
82
|
+
x as Photo
|
|
83
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const photoCarouselButtonWrapper: string;
|
|
2
|
+
export declare const photoCarouselButton: string;
|
|
3
|
+
export declare const photoCarouselList: string;
|
|
4
|
+
export declare const photoCarouselDisplayPhoto: string;
|
|
5
|
+
export declare const photoCarouselListPhoto: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
6
|
+
selected: {
|
|
7
|
+
true: {};
|
|
8
|
+
false: {
|
|
9
|
+
opacity: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=PhotoCarousel.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhotoCarousel.css.d.ts","sourceRoot":"","sources":["../../../src/photo/photo-carousel/PhotoCarousel.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,0BAA0B,QAGrC,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAG9B,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAI5B,CAAC;AAEH,eAAO,MAAM,yBAAyB,QAIpC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;EAmBjC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
+
var s = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba10", e = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba11", r = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba12", p = "pkg_sps-woodland_core__version_8_51_1__hash_1744ba13", t = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1744ba14", variantClassNames: { selected: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1744ba15", false: "pkg_sps-woodland_core__version_8_51_1__hash_1744ba16" } }, defaultVariants: { selected: !1 }, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
e as photoCarouselButton,
|
|
6
|
+
s as photoCarouselButtonWrapper,
|
|
7
|
+
p as photoCarouselDisplayPhoto,
|
|
8
|
+
r as photoCarouselList,
|
|
9
|
+
t as photoCarouselListPhoto
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhotoCarousel.d.ts","sourceRoot":"","sources":["../../../src/photo/photo-carousel/PhotoCarousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,cAAc,EAAsB,MAAM,oBAAoB,CAAC;AAalF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAoD9D"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { selectChildren as N, cl as t } from "@sps-woodland/core";
|
|
3
|
+
import { Photo as v } from "../photo/Photo.js";
|
|
4
|
+
import { grid as r } from "@sps-woodland/tokens";
|
|
5
|
+
import { SpsButton as l } from "@spscommerce/ds-react";
|
|
6
|
+
import { SpsIcon as s, ButtonKind as m } from "@spscommerce/ds-shared";
|
|
7
|
+
import { photoCarouselButtonWrapper as i, photoCarouselButton as p, photoCarouselDisplayPhoto as I, photoCarouselList as f, photoCarouselListPhoto as R } from "./PhotoCarousel.css.js";
|
|
8
|
+
function O({
|
|
9
|
+
children: d,
|
|
10
|
+
className: x,
|
|
11
|
+
...u
|
|
12
|
+
}) {
|
|
13
|
+
const [n] = N(d, [{ type: v }]), [o, a] = e.useState(0);
|
|
14
|
+
function C() {
|
|
15
|
+
o + 1 === n.length ? a(0) : a(o + 1);
|
|
16
|
+
}
|
|
17
|
+
function h() {
|
|
18
|
+
a(o === 0 ? n.length - 1 : o - 1);
|
|
19
|
+
}
|
|
20
|
+
return /* @__PURE__ */ e.createElement("div", { className: r.root, ...u }, /* @__PURE__ */ e.createElement("div", { className: t(i) }, /* @__PURE__ */ e.createElement("div", { className: t(p) }, /* @__PURE__ */ e.createElement(
|
|
21
|
+
l,
|
|
22
|
+
{
|
|
23
|
+
tabIndex: 0,
|
|
24
|
+
kind: m.ICON,
|
|
25
|
+
icon: s.ARROW_LEFT_CIRCLE,
|
|
26
|
+
onClick: h
|
|
27
|
+
}
|
|
28
|
+
))), /* @__PURE__ */ e.createElement("div", { className: r[10] }, /* @__PURE__ */ e.createElement("div", { className: t(I, r[12]) }, n[o]), /* @__PURE__ */ e.createElement("div", { className: t(f, r[12]) }, n.map((E, c) => /* @__PURE__ */ e.createElement(
|
|
29
|
+
"button",
|
|
30
|
+
{
|
|
31
|
+
tabIndex: 0,
|
|
32
|
+
className: t(R({ selected: c === o })),
|
|
33
|
+
onClick: () => a(c)
|
|
34
|
+
},
|
|
35
|
+
E
|
|
36
|
+
)))), /* @__PURE__ */ e.createElement("div", { className: t(i) }, /* @__PURE__ */ e.createElement("div", { className: t(p) }, /* @__PURE__ */ e.createElement(
|
|
37
|
+
l,
|
|
38
|
+
{
|
|
39
|
+
tabIndex: 0,
|
|
40
|
+
kind: m.ICON,
|
|
41
|
+
icon: s.ARROW_RIGHT_CIRCLE,
|
|
42
|
+
onClick: C
|
|
43
|
+
}
|
|
44
|
+
))));
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
O as PhotoCarousel
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_1__hash_1orib4w0{align-items:center;display:flex;justify-content:center;overflow:hidden;padding:0!important;vertical-align:middle}.pkg_sps-woodland_core__version_8_51_1__hash_1orib4w1{background:#f3f4f4;box-shadow:inset .0625rem 0 #d2d4d4,inset -.0625rem 0 #d2d4d4,inset 0 .0625rem #d2d4d4,inset 0 -.0625rem #d2d4d4,inset 1em 0 #fff,inset -1em 0 #fff,inset 0 1em #fff,inset 0 -1em #fff}.pkg_sps-woodland_core__version_8_51_1__hash_1orib4w3{visibility:hidden}.pkg_sps-woodland_core__version_8_51_1__hash_1orib4w4{height:100%;visibility:visible;width:auto}.pkg_sps-woodland_core__version_8_51_1__hash_1orib4w5{height:auto;visibility:visible;width:100%}.pkg_sps-woodland_core__version_8_51_1__hash_1orib4w6{font-size:6em;text-align:center;color:#717779}.pkg_sps-woodland_core__version_8_51_1__hash_1744ba10{display:table;float:right}.pkg_sps-woodland_core__version_8_51_1__hash_1744ba11{display:table-cell;vertical-align:middle}.pkg_sps-woodland_core__version_8_51_1__hash_1744ba12{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.pkg_sps-woodland_core__version_8_51_1__hash_1744ba13{display:block;margin-bottom:.5rem;width:100%}.pkg_sps-woodland_core__version_8_51_1__hash_1744ba14{display:block;background:transparent;border:0;cursor:pointer;padding:0}.pkg_sps-woodland_core__version_8_51_1__hash_1744ba16{opacity:.4}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface PriorityPlusOptions {
|
|
3
|
+
/** Whether Priority+ behavior is enabled */
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
/** Minimum number of items to always keep visible */
|
|
6
|
+
minVisibleItems?: number;
|
|
7
|
+
/** Debounce delay for resize events in ms */
|
|
8
|
+
debounceMs?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface PriorityPlusResult<T> {
|
|
11
|
+
/** Items that fit in the visible area */
|
|
12
|
+
visibleItems: T[];
|
|
13
|
+
/** Items that should go in the overflow menu */
|
|
14
|
+
overflowItems: T[];
|
|
15
|
+
/** Ref to attach to the container element (nav items wrapper) */
|
|
16
|
+
containerRef: React.RefObject<HTMLElement>;
|
|
17
|
+
/** Ref to attach to the parent element for width calculation */
|
|
18
|
+
parentRef: React.RefObject<HTMLElement>;
|
|
19
|
+
/** Ref to attach to the overflow button for width measurement */
|
|
20
|
+
overflowButtonRef: React.RefObject<HTMLElement>;
|
|
21
|
+
/** Ref to attach to the "other content" area (buttons, etc.) */
|
|
22
|
+
contentRef: React.RefObject<HTMLElement>;
|
|
23
|
+
/** Ref to attach to the brand/name element */
|
|
24
|
+
brandRef: React.RefObject<HTMLElement>;
|
|
25
|
+
/** Whether the product name text should be visually hidden due to space constraints */
|
|
26
|
+
hideProductName: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Hook to implement Priority+ navigation pattern.
|
|
30
|
+
* Calculates which items fit in a container and which should overflow.
|
|
31
|
+
*/
|
|
32
|
+
export declare function usePriorityPlus<T>(items: T[], options?: PriorityPlusOptions): PriorityPlusResult<T>;
|
|
33
|
+
//# sourceMappingURL=usePriorityPlus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePriorityPlus.d.ts","sourceRoot":"","sources":["../../../src/product-bar/hooks/usePriorityPlus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qDAAqD;IACrD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,yCAAyC;IACzC,YAAY,EAAE,CAAC,EAAE,CAAC;IAClB,gDAAgD;IAChD,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,iEAAiE;IACjE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3C,gEAAgE;IAChE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACxC,iEAAiE;IACjE,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAChD,gEAAgE;IAChE,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACzC,8CAA8C;IAC9C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACvC,uFAAuF;IACvF,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,KAAK,EAAE,CAAC,EAAE,EACV,OAAO,GAAE,mBAAwB,GAChC,kBAAkB,CAAC,CAAC,CAAC,CAoSvB"}
|