@sps-woodland/core 8.56.23 → 9.0.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/action-bar/action-bar/ActionBar.d.ts +3 -1
- package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -1
- package/lib/action-bar/action-bar/ActionBar.js +6 -6
- package/lib/action-bar/action-bar/ActionBar.ve.js +1 -1
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +3 -1
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +1 -1
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +5 -5
- package/lib/action-bar/style.css +1 -1
- package/lib/add-to-list/add-to-list/AddToList.d.ts +3 -1
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -1
- package/lib/add-to-list/add-to-list/AddToList.js +48 -48
- package/lib/add-to-list/add-to-list/AddToList.ve.js +32 -32
- package/lib/add-to-list/add-to-list/ItemsList.js +3 -3
- package/lib/add-to-list/add-to-list/ListItem.d.ts +3 -1
- package/lib/add-to-list/add-to-list/ListItem.d.ts.map +1 -1
- package/lib/add-to-list/add-to-list/ListItem.js +6 -6
- package/lib/add-to-list/style.css +1 -1
- package/lib/buttons/button/Button.d.ts +1 -2
- package/lib/buttons/button/Button.d.ts.map +1 -1
- package/lib/buttons/button/Button.js +8 -9
- package/lib/buttons/button/Button.ve.js +56 -56
- package/lib/buttons/style.css +1 -1
- package/lib/cards/card/Card.d.ts +3 -1
- package/lib/cards/card/Card.d.ts.map +1 -1
- package/lib/cards/card/Card.js +8 -8
- package/lib/cards/card/Card.ve.js +1 -1
- package/lib/cards/card-footer/CardFooter.d.ts +3 -1
- package/lib/cards/card-footer/CardFooter.d.ts.map +1 -1
- package/lib/cards/card-footer/CardFooter.js +6 -6
- package/lib/cards/card-footer/CardFooter.ve.js +1 -1
- package/lib/cards/card-header/CardHeader.d.ts +3 -1
- package/lib/cards/card-header/CardHeader.d.ts.map +1 -1
- package/lib/cards/card-header/CardHeader.js +6 -6
- package/lib/cards/card-header/CardHeader.ve.js +1 -1
- package/lib/cards/card-title/CardTitle.d.ts +3 -1
- package/lib/cards/card-title/CardTitle.d.ts.map +1 -1
- package/lib/cards/card-title/CardTitle.js +6 -6
- package/lib/cards/card-title/CardTitle.ve.js +1 -1
- package/lib/cards/style.css +4 -4
- package/lib/column-manager/column-manager/ColumnManager.d.ts +3 -1
- package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -1
- package/lib/column-manager/column-manager/ColumnManager.js +7 -7
- package/lib/components/app-root/AppRoot.d.ts +3 -1
- package/lib/components/app-root/AppRoot.d.ts.map +1 -1
- package/lib/components/box/Box.d.ts.map +1 -1
- package/lib/components/cap-content/CapContent.d.ts +3 -1
- package/lib/components/cap-content/CapContent.d.ts.map +1 -1
- package/lib/components/cap-content/CapContentTitle.d.ts +3 -1
- package/lib/components/cap-content/CapContentTitle.d.ts.map +1 -1
- package/lib/components/content/Content.d.ts.map +1 -1
- package/lib/components/icon/Icon.d.ts +3 -1
- package/lib/components/icon/Icon.d.ts.map +1 -1
- package/lib/components/icon/Icon.ve.js +5 -5
- package/lib/components/icon/iconSprite.d.ts +10 -0
- package/lib/components/icon/iconSprite.d.ts.map +1 -0
- package/lib/components/icon/iconSprite.js +14 -0
- package/lib/components/icon/icons/sprite.svg_raw.js +3 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +3 -1
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -1
- package/lib/components/spinner/Spinner.d.ts +3 -1
- package/lib/components/spinner/Spinner.d.ts.map +1 -1
- package/lib/components/title/Title.d.ts +3 -1
- package/lib/components/title/Title.d.ts.map +1 -1
- package/lib/components/vertical-rule/VerticalRule.d.ts +4 -2
- package/lib/components/vertical-rule/VerticalRule.d.ts.map +1 -1
- package/lib/content-row/content-row/ContentRow.d.ts +3 -1
- package/lib/content-row/content-row/ContentRow.d.ts.map +1 -1
- package/lib/content-row/content-row/ContentRow.js +14 -14
- package/lib/content-row/content-row/ContentRow.ve.js +37 -37
- package/lib/content-row/content-row-col/ContentRowCol.d.ts +3 -1
- package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -1
- package/lib/content-row/content-row-col/ContentRowCol.js +8 -8
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +14 -14
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +3 -1
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -1
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +8 -8
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +3 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +9 -9
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +3 -3
- package/lib/content-row/style.css +3 -3
- package/lib/content-tiles/content-tile/ContentTile.d.ts +3 -1
- package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -1
- package/lib/content-tiles/content-tile/ContentTile.js +14 -14
- package/lib/content-tiles/content-tile/ContentTile.ve.js +13 -13
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +3 -1
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -1
- package/lib/content-tiles/content-tile-list/ContentTileList.js +6 -6
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +1 -1
- package/lib/content-tiles/style.css +2 -2
- package/lib/dropdowns/dropdown/Dropdown.d.ts +3 -1
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -1
- package/lib/dropdowns/dropdown/Dropdown.js +13 -13
- package/lib/dropdowns/dropdown/Dropdown.ve.js +15 -15
- package/lib/dropdowns/option-list/Option.d.ts +3 -1
- package/lib/dropdowns/option-list/Option.d.ts.map +1 -1
- package/lib/dropdowns/option-list/Option.js +6 -6
- package/lib/dropdowns/option-list/Option.ve.js +1 -1
- package/lib/dropdowns/option-list/OptionList.d.ts +3 -1
- package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -1
- package/lib/dropdowns/option-list/OptionList.js +9 -9
- package/lib/dropdowns/option-list/OptionList.ve.js +1 -1
- package/lib/dropdowns/style.css +3 -3
- package/lib/editable-table/EditableTable.d.ts.map +1 -1
- package/lib/editable-table/EditableTable.js +60 -37
- package/lib/feedback-block/FeedbackBlock.d.ts +3 -1
- package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -1
- package/lib/feedback-block/FeedbackBlock.js +6 -6
- package/lib/feedback-block/FeedbackBlock.ve.js +20 -20
- package/lib/feedback-block/style.css +1 -1
- package/lib/file-upload/file-upload/FileUpload.d.ts +3 -1
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -1
- package/lib/file-upload/file-upload/FileUpload.js +12 -12
- package/lib/file-upload/file-upload/FileUpload.ve.js +28 -28
- package/lib/file-upload/style.css +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts +3 -1
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +6 -6
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +20 -20
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +3 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -1
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +5 -5
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +1 -1
- package/lib/filter-tiles/style.css +2 -2
- package/lib/focused-task/focused-task/FocusedTask.d.ts +2 -1
- package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -1
- package/lib/focused-task/focused-task/FocusedTask.js +7 -7
- package/lib/focused-task/focused-task/FocusedTask.ve.js +5 -5
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +3 -1
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +1 -1
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +6 -6
- package/lib/focused-task/style.css +1 -1
- package/lib/growler/Growler.d.ts +3 -1
- package/lib/growler/Growler.d.ts.map +1 -1
- package/lib/growler/Growler.js +7 -7
- package/lib/growler/Growler.ve.js +10 -10
- package/lib/growler/Sonner.ve.js +8 -8
- package/lib/growler/sonner.d.ts +3 -1
- package/lib/growler/sonner.d.ts.map +1 -1
- package/lib/growler/sonner.js +9 -9
- package/lib/growler/style.css +2 -2
- package/lib/index.js +140 -150
- package/lib/index.umd.cjs +2 -2
- package/lib/insight-card/InsightCard.d.ts +3 -1
- package/lib/insight-card/InsightCard.d.ts.map +1 -1
- package/lib/insight-card/InsightCard.js +8 -8
- package/lib/insight-card/InsightCard.ve.js +54 -54
- package/lib/insight-card/InsightCardSet.d.ts +3 -1
- package/lib/insight-card/InsightCardSet.d.ts.map +1 -1
- package/lib/insight-card/InsightCardSet.js +3 -3
- package/lib/insight-card/style.css +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +3 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +6 -6
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +2 -2
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +3 -1
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -1
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +7 -7
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +4 -4
- package/lib/key-value-set/style.css +2 -2
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +3 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.js +7 -7
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +9 -9
- package/lib/list-bar/list-bar/ListBar.d.ts +3 -1
- package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBar.js +25 -25
- package/lib/list-bar/list-bar/ListBar.ve.js +4 -4
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +3 -1
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSearch.js +3 -3
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +3 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +3 -3
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +3 -1
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -1
- package/lib/list-bar/list-bar/ListBarSortBy.js +6 -6
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +3 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -1
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +5 -5
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +1 -1
- package/lib/list-bar/style.css +3 -3
- package/lib/matrix/matrix/Matrix.d.ts +3 -1
- package/lib/matrix/matrix/Matrix.d.ts.map +1 -1
- package/lib/matrix/matrix/Matrix.js +7 -7
- package/lib/matrix/matrix/Matrix.ve.js +1 -1
- package/lib/matrix/matrix-body/MatrixBody.d.ts +3 -1
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -1
- package/lib/matrix/matrix-body/MatrixBody.js +3 -3
- package/lib/matrix/matrix-cell/MatrixCell.d.ts +3 -1
- package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +1 -1
- package/lib/matrix/matrix-cell/MatrixCell.js +7 -7
- package/lib/matrix/matrix-head/MatrixHead.d.ts +3 -1
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -1
- package/lib/matrix/matrix-head/MatrixHead.js +3 -3
- package/lib/matrix/matrix-header/MatrixHeader.d.ts +2 -1
- package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +1 -1
- package/lib/matrix/matrix-header/MatrixHeader.js +6 -6
- package/lib/matrix/matrix-row/MatrixRow.d.ts +3 -1
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -1
- package/lib/matrix/matrix-row/MatrixRow.js +3 -3
- package/lib/matrix/style.css +1 -1
- package/lib/metadata/metadata.d.ts +8 -0
- package/lib/metadata/metadata.d.ts.map +1 -1
- package/lib/metadata/metadata.js +16 -0
- package/lib/modal/modal/Modal.d.ts +2 -1
- package/lib/modal/modal/Modal.d.ts.map +1 -1
- package/lib/modal/modal/Modal.js +11 -11
- package/lib/modal/modal/Modal.ve.js +23 -23
- package/lib/modal/modal-footer/ModalFooter.d.ts +3 -1
- package/lib/modal/modal-footer/ModalFooter.d.ts.map +1 -1
- package/lib/modal/modal-footer/ModalFooter.js +6 -6
- package/lib/modal/style.css +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts +3 -1
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.js +6 -6
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +1 -1
- package/lib/page-title/page-title/PageTitle.d.ts +3 -1
- package/lib/page-title/page-title/PageTitle.d.ts.map +1 -1
- package/lib/page-title/page-title/PageTitle.js +6 -6
- package/lib/page-title/page-title/PageTitle.ve.js +1 -1
- package/lib/page-title/style.css +2 -2
- package/lib/photo/photo/Photo.d.ts +3 -1
- package/lib/photo/photo/Photo.d.ts.map +1 -1
- package/lib/photo/photo/Photo.js +5 -5
- package/lib/photo/photo/Photo.ve.js +7 -7
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +4 -4
- package/lib/photo/style.css +2 -2
- package/lib/product-bar/product-bar/ProductBar.d.ts +3 -1
- package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -1
- package/lib/product-bar/product-bar/ProductBar.js +8 -8
- package/lib/product-bar/product-bar/ProductBar.ve.js +17 -17
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -1
- package/lib/product-bar/product-bar-name/ProductBarName.js +6 -7
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +3 -3
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +1 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +3 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +1 -1
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +8 -8
- package/lib/product-bar/slack-link/SlackLink.d.ts +3 -1
- package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -1
- package/lib/product-bar/slack-link/SlackLink.js +6 -6
- package/lib/product-bar/slack-link/SlackLink.ve.js +1 -1
- package/lib/product-bar/style.css +3 -3
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +3 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +8 -8
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +23 -23
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +3 -1
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +6 -6
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +2 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +15 -15
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +3 -1
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +1 -1
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +5 -5
- package/lib/product-bar-vertical/style.css +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +3 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +9 -9
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +26 -26
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +3 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -1
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +7 -7
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +43 -43
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +3 -1
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -1
- package/lib/progress-indicators/progress-ring/ProgressRing.js +3 -3
- package/lib/progress-indicators/style.css +2 -2
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +3 -1
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -1
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +8 -8
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +7 -7
- package/lib/rich-text-editor/style.css +2 -2
- package/lib/scrollable-container/ScrollableContainer.d.ts +3 -1
- package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -1
- package/lib/scrollable-container/ScrollableContainer.js +6 -6
- package/lib/scrollable-container/ScrollableContainer.ve.js +1 -1
- package/lib/scrollable-container/style.css +1 -1
- package/lib/side-nav/side-nav/SideNav.d.ts +3 -1
- package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -1
- package/lib/side-nav/side-nav/SideNav.js +8 -8
- package/lib/side-nav/side-nav/SideNav.ve.js +7 -7
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +3 -1
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +1 -1
- package/lib/side-nav/side-nav-header/SideNavHeader.js +3 -3
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts +2 -1
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -1
- package/lib/side-nav/side-nav-item/SideNavItem.js +6 -6
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts +3 -1
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +1 -1
- package/lib/side-nav/side-nav-section/SideNavSection.js +6 -6
- package/lib/side-nav/style.css +1 -1
- package/lib/sorting-header/caret/caret.ve.js +3 -3
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts +3 -1
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -1
- package/lib/sorting-header/sorting-header/SortingHeader.js +12 -12
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +9 -9
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +3 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -1
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +13 -13
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +6 -6
- package/lib/sorting-header/style.css +3 -3
- package/lib/style.css +1 -1
- package/lib/tabs/style.css +2 -2
- package/lib/tabs/tab/Tab.d.ts +3 -1
- package/lib/tabs/tab/Tab.d.ts.map +1 -1
- package/lib/tabs/tab/Tab.js +10 -10
- package/lib/tabs/tab/Tab.ve.js +22 -22
- package/lib/tabs/tab-panel/TabPanel.d.ts +3 -1
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -1
- package/lib/tabs/tab-panel/TabPanel.js +3 -3
- package/lib/tabs/tabs/Tabs.d.ts +2 -1
- package/lib/tabs/tabs/Tabs.d.ts.map +1 -1
- package/lib/tabs/tabs/Tabs.js +8 -8
- package/lib/tabs/tabs/Tabs.ve.js +5 -5
- package/lib/tags/clickable-tag/ClickableTag.d.ts +3 -1
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -1
- package/lib/tags/clickable-tag/ClickableTag.js +10 -10
- package/lib/tags/clickable-tag/ClickableTag.ve.js +21 -21
- package/lib/tags/split-tag/SplitTag.d.ts +3 -1
- package/lib/tags/split-tag/SplitTag.d.ts.map +1 -1
- package/lib/tags/split-tag/SplitTag.js +8 -8
- package/lib/tags/split-tag/SplitTag.ve.js +15 -15
- package/lib/tags/style.css +3 -3
- package/lib/tags/tag/Tag.d.ts +3 -1
- package/lib/tags/tag/Tag.d.ts.map +1 -1
- package/lib/tags/tag/Tag.js +7 -7
- package/lib/tags/tag/Tag.ve.js +19 -19
- package/lib/zero-state/ZeroState.d.ts +3 -1
- package/lib/zero-state/ZeroState.d.ts.map +1 -1
- package/lib/zero-state/ZeroState.js +7 -7
- package/lib/zero-state/ZeroState.ve.js +11 -11
- package/lib/zero-state/style.css +1 -1
- package/package.json +12 -11
- package/vite.config.mjs +6 -3
- package/vite.subpaths.config.mjs +86 -83
- package/lib/components/icon/icons/sprite.svg.js +0 -3
|
@@ -18,5 +18,13 @@ export declare const Metadata: Readonly<{
|
|
|
18
18
|
get<T>(arg: WoodlandComponent<T>): WoodlandComponentMetadata;
|
|
19
19
|
set<T>(arg: FC<T>, metadata: WoodlandComponentMetadata): void;
|
|
20
20
|
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Attaches metadata to a component and returns it. Declare the component as
|
|
23
|
+
* `function XComponent() {...}` and export
|
|
24
|
+
* `export const X = /* @__PURE__ *\/ withMetadata(XComponent, {...})` so bundlers can drop
|
|
25
|
+
* components an app never imports; a top-level `Metadata.set(X, ...)` statement keeps X (and
|
|
26
|
+
* everything it imports) in every bundle that touches its module.
|
|
27
|
+
*/
|
|
28
|
+
export declare function withMetadata<C extends object>(component: C, metadata: WoodlandComponentMetadata): C;
|
|
21
29
|
export {};
|
|
22
30
|
//# sourceMappingURL=metadata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG;QAC9B,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC,CAAC;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,eAAsC,CAAC;AAErD,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG;IACjD,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ;wBACC,CAAC,OAAO,OAAO,GAAG,GAAG,IAAI,iBAAiB,CAAC,CAAC,CAAC;QAI7D,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,GAAG,yBAAyB;QAIxD,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,YAAY,yBAAyB,GAAG,IAAI;EAM7D,CAAC"}
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG;QAC9B,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC,CAAC;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,eAAsC,CAAC;AAErD,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG;IACjD,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ;wBACC,CAAC,OAAO,OAAO,GAAG,GAAG,IAAI,iBAAiB,CAAC,CAAC,CAAC;QAI7D,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,GAAG,yBAAyB;QAIxD,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,YAAY,yBAAyB,GAAG,IAAI;EAM7D,CAAC;AAEH;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EAC3C,SAAS,EAAE,CAAC,EACZ,QAAQ,EAAE,yBAAyB,GAClC,CAAC,CAGH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/metadata/metadata.ts
|
|
2
|
+
var e = Symbol("WoodlandComponentMetadata"), t = Object.freeze({
|
|
3
|
+
isWoodlandComponent(t) {
|
|
4
|
+
return t != null && t.hasOwnProperty(e);
|
|
5
|
+
},
|
|
6
|
+
get(t) {
|
|
7
|
+
return t[e];
|
|
8
|
+
},
|
|
9
|
+
set(t, n) {
|
|
10
|
+
n.name && (t.displayName = n.name), Object.assign(t, { [e]: n });
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
function n(e, n) {
|
|
14
|
+
return t.set(e, n), e;
|
|
15
|
+
}
|
|
16
|
+
export { t as Metadata, n as withMetadata };
|
|
@@ -22,6 +22,7 @@ type ModalProps = ModalPropsFromHook & AriaModalOverlayProps & AriaDialogProps &
|
|
|
22
22
|
};
|
|
23
23
|
export declare const ModalIcons: Record<ModalKind, IconName>;
|
|
24
24
|
declare function ModalInternal({ children, className, "data-testid": dataTestId, kind, onBlur, onFocus, overlayProps, size, state, title, dismissible, dismissable, onClose, fullHeight, ...rest }: ComponentProps<ModalProps, HTMLDivElement> & ChildrenFn<ModalContentRenderFn>): React.ReactElement;
|
|
25
|
-
|
|
25
|
+
declare function ModalComponent(props: Parameters<typeof ModalInternal>[0]): React.ReactElement;
|
|
26
|
+
export declare const Modal: typeof ModalComponent;
|
|
26
27
|
export {};
|
|
27
28
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAarD,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;CAClD;AACD,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAErF,KAAK,UAAU,GAAG,kBAAkB,GACpC,qBAAqB,GACrB,eAAe,GAAG;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kBAAkB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAoBF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,CAQjD,CAAC;AAEH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,IAAsB,EACtB,MAAM,EACN,OAAO,EACP,YAAY,EACZ,IAAW,EACX,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAkB,EAClB,OAAO,EACP,UAAkB,EAClB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,GAC7C,UAAU,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,YAAY,CA4EpD;AAED,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAarD,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;CAClD;AACD,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAErF,KAAK,UAAU,GAAG,kBAAkB,GACpC,qBAAqB,GACrB,eAAe,GAAG;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kBAAkB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAoBF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,CAQjD,CAAC;AAEH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,IAAsB,EACtB,MAAM,EACN,OAAO,EACP,YAAY,EACZ,IAAW,EACX,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAkB,EAClB,OAAO,EACP,UAAkB,EAClB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,GAC7C,UAAU,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,YAAY,CA4EpD;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAEtF;AACD,eAAO,MAAM,KAAK,uBAYhB,CAAC"}
|
package/lib/modal/modal/Modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModalFooter as e } from "../modal-footer/ModalFooter.js";
|
|
2
2
|
import { body as t, closeButtonBox as n, closeButtonIcon as r, footer as i, modal as a, title as o, titleContent as s, underlay as c } from "./Modal.ve.js";
|
|
3
|
-
import { Icon as l,
|
|
3
|
+
import { Icon as l, cl as u, combineEventHandlers as d, contentOf as f, modChildren as p, selectChildren as m, useChildTestIdAttrBuilder as h, withMetadata as g } from "@sps-woodland/core";
|
|
4
4
|
import * as _ from "react";
|
|
5
5
|
import { useWoodlandLanguage as v } from "@spscommerce/i18n";
|
|
6
6
|
import { Overlay as y, useDialog as b, useModalOverlay as x } from "react-aria";
|
|
@@ -24,13 +24,13 @@ var w = Object.freeze({
|
|
|
24
24
|
successWithFailures: "status-warning",
|
|
25
25
|
warning: "status-warning"
|
|
26
26
|
});
|
|
27
|
-
function T({ children: n, className:
|
|
27
|
+
function T({ children: n, className: g, "data-testid": T, kind: E = "informational", onBlur: D, onFocus: O, overlayProps: k, size: A = "sm", state: j, title: M, dismissible: N, dismissable: P = !0, onClose: F, fullHeight: I = !1, ...L }) {
|
|
28
28
|
let R = N ?? P, z = _.useRef(null), { modalProps: B, underlayProps: V } = x({
|
|
29
29
|
isKeyboardDismissDisabled: !R,
|
|
30
30
|
...L
|
|
31
|
-
}, j, z), { dialogProps: H, titleProps: U } = b(L, z), W =
|
|
31
|
+
}, j, z), { dialogProps: H, titleProps: U } = b(L, z), W = d(B.onFocus, H.onFocus, O), G = d(B.onBlur, H.onBlur, D), { t: K } = v(), q = h({ "data-testid": T }), [J, Y] = m(n, [{ type: e }]), X = _.useCallback(() => {
|
|
32
32
|
F && typeof F == "function" && F(), j.close();
|
|
33
|
-
}, [F, j.close]), Z =
|
|
33
|
+
}, [F, j.close]), Z = p(Y, (e) => e.type === C ? [{ className: u(e.props.classname, r) }] : []);
|
|
34
34
|
return /* @__PURE__ */ _.createElement(y, null, /* @__PURE__ */ _.createElement("div", {
|
|
35
35
|
className: c,
|
|
36
36
|
"data-react-aria-top-layer": "true",
|
|
@@ -44,21 +44,21 @@ function T({ children: n, className: u, "data-testid": T, kind: E = "information
|
|
|
44
44
|
onBlur: G,
|
|
45
45
|
...q("dialog"),
|
|
46
46
|
ref: z,
|
|
47
|
-
className:
|
|
47
|
+
className: u(a({
|
|
48
48
|
kind: E,
|
|
49
49
|
size: A,
|
|
50
50
|
fullHeight: I
|
|
51
|
-
}),
|
|
51
|
+
}), g)
|
|
52
52
|
}, /* @__PURE__ */ _.createElement("div", {
|
|
53
53
|
...U,
|
|
54
54
|
className: o({ kind: E })
|
|
55
55
|
}, E && /* @__PURE__ */ _.createElement(l, {
|
|
56
56
|
icon: w[E] || w.informational,
|
|
57
|
-
className: "pkg_sps-
|
|
58
|
-
}), /* @__PURE__ */ _.createElement("div", { className: s },
|
|
57
|
+
className: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemn"
|
|
58
|
+
}), /* @__PURE__ */ _.createElement("div", { className: s }, f(M, j.close)), /* @__PURE__ */ _.createElement(C, {
|
|
59
59
|
dismissableValue: R,
|
|
60
60
|
handleClose: X
|
|
61
|
-
})), /* @__PURE__ */ _.createElement("div", { className: t },
|
|
61
|
+
})), /* @__PURE__ */ _.createElement("div", { className: t }, f(Z, j.close)), J && J.length > 0 ? /* @__PURE__ */ _.createElement(_.Fragment, null, f(J, j.close)) : /* @__PURE__ */ _.createElement("div", { className: i }, /* @__PURE__ */ _.createElement(S, {
|
|
62
62
|
kind: "key",
|
|
63
63
|
onClick: X
|
|
64
64
|
}, K("modal.defaultButtonLabel", { defaultValue: "Okay" }))))));
|
|
@@ -66,7 +66,7 @@ function T({ children: n, className: u, "data-testid": T, kind: E = "information
|
|
|
66
66
|
function E(e) {
|
|
67
67
|
return e.state.isOpen ? /* @__PURE__ */ _.createElement(T, e, e.children) : /* @__PURE__ */ _.createElement(_.Fragment, null);
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
var D = /* @__PURE__ */ g(E, {
|
|
70
70
|
name: "Modal",
|
|
71
71
|
props: {
|
|
72
72
|
dismissable: {
|
|
@@ -91,4 +91,4 @@ u.set(E, {
|
|
|
91
91
|
title: { type: "string" }
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
export {
|
|
94
|
+
export { D as Modal, w as ModalIcons };
|
|
@@ -2,42 +2,42 @@
|
|
|
2
2
|
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
3
3
|
// src/modal/modal/Modal.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem0",
|
|
6
6
|
variantClassNames: {
|
|
7
7
|
kind: {
|
|
8
|
-
informational: "pkg_sps-
|
|
9
|
-
delete: "pkg_sps-
|
|
10
|
-
failure: "pkg_sps-
|
|
11
|
-
success: "pkg_sps-
|
|
12
|
-
warning: "pkg_sps-
|
|
13
|
-
successWithFailures: "pkg_sps-
|
|
14
|
-
form: "pkg_sps-
|
|
8
|
+
informational: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem1",
|
|
9
|
+
delete: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem2",
|
|
10
|
+
failure: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem3",
|
|
11
|
+
success: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem4",
|
|
12
|
+
warning: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem5",
|
|
13
|
+
successWithFailures: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem6",
|
|
14
|
+
form: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem7"
|
|
15
15
|
},
|
|
16
16
|
size: {
|
|
17
|
-
sm: "pkg_sps-
|
|
18
|
-
md: "pkg_sps-
|
|
19
|
-
lg: "pkg_sps-
|
|
20
|
-
xl: "pkg_sps-
|
|
17
|
+
sm: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem8",
|
|
18
|
+
md: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem9",
|
|
19
|
+
lg: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksema",
|
|
20
|
+
xl: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemb"
|
|
21
21
|
},
|
|
22
22
|
fullHeight: {
|
|
23
|
-
true: "pkg_sps-
|
|
24
|
-
false: "pkg_sps-
|
|
23
|
+
true: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemc",
|
|
24
|
+
false: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemd"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
defaultVariants: {},
|
|
28
28
|
compoundVariants: []
|
|
29
29
|
}), n = e({
|
|
30
|
-
defaultClassName: "pkg_sps-
|
|
30
|
+
defaultClassName: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41kseme",
|
|
31
31
|
variantClassNames: { kind: {
|
|
32
|
-
form: "pkg_sps-
|
|
33
|
-
delete: "pkg_sps-
|
|
34
|
-
failure: "pkg_sps-
|
|
35
|
-
informational: "pkg_sps-
|
|
36
|
-
success: "pkg_sps-
|
|
37
|
-
warning: "pkg_sps-
|
|
38
|
-
successWithFailures: "pkg_sps-
|
|
32
|
+
form: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemf",
|
|
33
|
+
delete: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemg",
|
|
34
|
+
failure: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemh",
|
|
35
|
+
informational: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemi",
|
|
36
|
+
success: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemj",
|
|
37
|
+
warning: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemk",
|
|
38
|
+
successWithFailures: "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41kseml"
|
|
39
39
|
} },
|
|
40
40
|
defaultVariants: {},
|
|
41
41
|
compoundVariants: []
|
|
42
|
-
}), r = "pkg_sps-
|
|
42
|
+
}), r = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemm", i = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemn", a = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemo", o = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemp", s = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemq", c = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemr", l = "pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksems";
|
|
43
43
|
export { a as body, s as closeButtonBox, c as closeButtonIcon, o as footer, t as modal, i as modalIcon, n as title, r as titleContent, l as underlay };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
|
-
|
|
3
|
+
declare function ModalFooterComponent({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
|
|
4
|
+
export declare const ModalFooter: typeof ModalFooterComponent;
|
|
5
|
+
export {};
|
|
4
6
|
//# sourceMappingURL=ModalFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../src/modal/modal-footer/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,
|
|
1
|
+
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../src/modal/modal-footer/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D;AACD,eAAO,MAAM,WAAW,6BAA8E,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { footer as e } from "../modal/Modal.ve.js";
|
|
2
|
-
import {
|
|
2
|
+
import { cl as t, withMetadata as n } from "@sps-woodland/core";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
// src/modal/modal-footer/ModalFooter.tsx
|
|
5
|
-
function i({ children:
|
|
5
|
+
function i({ children: n, className: i = "", ...a }) {
|
|
6
6
|
return /* @__PURE__ */ r.createElement("div", {
|
|
7
|
-
className:
|
|
7
|
+
className: t(e, i),
|
|
8
8
|
...a
|
|
9
|
-
},
|
|
9
|
+
}, n);
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
export {
|
|
11
|
+
var a = /* @__PURE__ */ n(i, { name: "ModalFooter" });
|
|
12
|
+
export { a as ModalFooter };
|
package/lib/modal/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;flex-direction:column;max-height:100%;display:flex;overflow:hidden}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem1{border-color:#007db8}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem2,.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem3{border-color:#de002e}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem4{border-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem5,.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem6{border-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem7{border-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem8{width:23.75rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksem9{width:36.25rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksema{width:48.75rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemb{width:73.75rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemc{height:100%}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41kseme{color:#fff;align-items:center;padding:1rem;display:flex}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemf{background-color:#4b5356}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemg,.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemh{background-color:#de002e}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemi{background-color:#007db8}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemj{background-color:#0b8940}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemk,.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41kseml{background-color:#e7760b}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemm{flex-grow:1;font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemn{margin-right:.5rem;font-size:.875rem;font-weight:600;line-height:.875rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemo{flex:1;padding:1rem;overflow-y:auto}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemp{background-color:#f3f4f4;justify-content:flex-end;align-items:center;padding:.5rem;display:flex}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemq{color:#fff;border-width:0}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksemr{padding:0 .25rem}.pkg_sps-woodland_core__family_modal__version_9_0_0__hash_41ksems{z-index:1000;background:#f3f4f4cc;justify-content:center;align-items:start;padding:4rem 1rem 1rem;display:flex;position:fixed;inset:0}.z-stratum-dropdown{z-index:1100}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
|
-
|
|
3
|
+
declare function PageSubtitleComponent({ children, className, ...rest }: ComponentProps<unknown, HTMLDivElement>): React.ReactElement;
|
|
4
|
+
export declare const PageSubtitle: typeof PageSubtitleComponent;
|
|
5
|
+
export {};
|
|
4
6
|
//# sourceMappingURL=PageSubtitle.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAUzD,iBAAS,qBAAqB,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAc9D;AACD,eAAO,MAAM,YAAY,8BAEvB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { pageSubtitle as e, pageSubtitleIcon as t } from "./PageSubtitle.ve.js";
|
|
2
|
-
import { Icon as n,
|
|
2
|
+
import { Icon as n, cl as r, modChildren as i, withMetadata as a } from "@sps-woodland/core";
|
|
3
3
|
import * as o from "react";
|
|
4
4
|
// src/page-title/page-subtitle/PageSubtitle.tsx
|
|
5
|
-
function s({ children:
|
|
6
|
-
let l = a
|
|
5
|
+
function s({ children: a, className: s, ...c }) {
|
|
6
|
+
let l = i(a, (e) => e.type === n ? [{ className: r(e.props.className, t) }] : []);
|
|
7
7
|
return /* @__PURE__ */ o.createElement("div", {
|
|
8
|
-
className:
|
|
8
|
+
className: r(e, s),
|
|
9
9
|
...c
|
|
10
10
|
}, o.Children.toArray(l));
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
export {
|
|
12
|
+
var c = /* @__PURE__ */ a(s, { name: "Page Subtitle" });
|
|
13
|
+
export { c as PageSubtitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
// src/page-title/page-subtitle/PageSubtitle.css.ts
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_page-
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_14qi3ku0", t = "pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_14qi3ku1";
|
|
4
4
|
export { e as pageSubtitle, t as pageSubtitleIcon };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
3
|
export type PageTitleElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
4
|
-
|
|
4
|
+
declare function PageTitleComponent({ as, children, className, ...rest }: ComponentProps<{
|
|
5
5
|
/**
|
|
6
6
|
* The element that wraps the title text. Use a heading that matches the position of the title
|
|
7
7
|
* in the page outline. Use "div" for a title that is not a heading. Without this prop, the
|
|
@@ -9,4 +9,6 @@ export declare function PageTitle({ as, children, className, ...rest }: Componen
|
|
|
9
9
|
*/
|
|
10
10
|
as?: PageTitleElement;
|
|
11
11
|
}, HTMLDivElement>): React.ReactElement;
|
|
12
|
+
export declare const PageTitle: typeof PageTitleComponent;
|
|
13
|
+
export {};
|
|
12
14
|
//# sourceMappingURL=PageTitle.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAenE,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAE/E,iBAAS,kBAAkB,CAAC,EAC1B,EAAE,EACF,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC;IAChB;;;;OAIG;IACH,EAAE,CAAC,EAAE,gBAAgB,CAAC;CACvB,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAyBtC;AACD,eAAO,MAAM,SAAS,2BAEpB,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PageSubtitle as e } from "../page-subtitle/PageSubtitle.js";
|
|
2
2
|
import { useHeadingLevel as t } from "../heading-level/HeadingLevel.js";
|
|
3
3
|
import { pageTitle as n, pageTitleHeading as r, pageTitleIcon as i, pageTitleText as a } from "./PageTitle.ve.js";
|
|
4
|
-
import { Icon as o,
|
|
4
|
+
import { Icon as o, addClassName as s, cl as c, selectChildren as l, withMetadata as u } from "@sps-woodland/core";
|
|
5
5
|
import * as d from "react";
|
|
6
6
|
// src/page-title/page-title/PageTitle.tsx
|
|
7
|
-
function f({ as:
|
|
8
|
-
let [[h], g, _] =
|
|
7
|
+
function f({ as: u, children: f, className: p, ...m }) {
|
|
8
|
+
let [[h], g, _] = l(f, [{ type: o }, { type: e }]), v = t(), y = u ?? (v ? `h${v}` : "h1"), b = h ? s(h, i) : "";
|
|
9
9
|
return /* @__PURE__ */ d.createElement("div", {
|
|
10
|
-
className:
|
|
10
|
+
className: c(n, p),
|
|
11
11
|
...m
|
|
12
12
|
}, b, /* @__PURE__ */ d.createElement("div", { className: a }, y === "div" ? _ : d.createElement(y, { className: r }, _), g));
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
export {
|
|
14
|
+
var p = /* @__PURE__ */ u(f, { name: "Page Title" });
|
|
15
|
+
export { p as PageTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
// src/page-title/page-title/PageTitle.css.ts
|
|
3
|
-
var e = "pkg_sps-woodland_core__family_page-
|
|
3
|
+
var e = "pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl00", t = "pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl01", n = "pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl02", r = "pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl03";
|
|
4
4
|
export { e as pageTitle, r as pageTitleHeading, n as pageTitleIcon, t as pageTitleText };
|
package/lib/page-title/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_page-
|
|
2
|
-
.pkg_sps-woodland_core__family_page-
|
|
1
|
+
.pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_14qi3ku0{color:#4b5356;margin-top:.25rem;font-size:1.125rem;line-height:1.125rem}.pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_14qi3ku1{margin-top:.25rem;margin-left:.25rem;margin-right:.25rem;font-size:.75rem;line-height:1.125rem}
|
|
2
|
+
.pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl00{flex-direction:row;display:flex}.pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl01{color:#1f282c;flex-direction:column;font-size:1.5rem;line-height:1.5rem;display:flex}.pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl02{align-self:flex-start;margin-top:.1875rem;margin-right:.25rem;font-size:1.125rem;line-height:1.5rem}.pkg_sps-woodland_core__family_page-title__version_9_0_0__hash_6nwwl03{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}
|
|
@@ -2,10 +2,12 @@ import * as React from "react";
|
|
|
2
2
|
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
3
|
import type { IconName } from "@sps-woodland/tokens";
|
|
4
4
|
import type { PhotoDisplayMode } from "./Photo.css";
|
|
5
|
-
|
|
5
|
+
declare function PhotoComponent({ className, src, altText, mode, placeholderIcon, ...rest }: ComponentProps<{
|
|
6
6
|
src?: string;
|
|
7
7
|
altText?: string;
|
|
8
8
|
mode?: PhotoDisplayMode;
|
|
9
9
|
placeholderIcon?: IconName;
|
|
10
10
|
}, HTMLDivElement>): React.ReactElement;
|
|
11
|
+
export declare const Photo: typeof PhotoComponent;
|
|
12
|
+
export {};
|
|
11
13
|
//# sourceMappingURL=Photo.d.ts.map
|
|
@@ -1 +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,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,
|
|
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,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,iBAAS,cAAc,CAAC,EACtB,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;AAED,eAAO,MAAM,KAAK,uBAWhB,CAAC"}
|
package/lib/photo/photo/Photo.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { photo as e, photoPlaceholder as t, photoWrapper as n } from "./Photo.ve.js";
|
|
2
|
-
import { Icon as r,
|
|
2
|
+
import { Icon as r, cl as i, withMetadata as a } from "@sps-woodland/core";
|
|
3
3
|
import * as o from "react";
|
|
4
4
|
// src/photo/photo/Photo.tsx
|
|
5
|
-
function s({ className:
|
|
5
|
+
function s({ className: a, src: s, altText: c, mode: l = "fill", placeholderIcon: u = "photo", ...d }) {
|
|
6
6
|
let f = o.useRef(null), p = o.useRef(null), m = o.useRef(null), h = o.useRef(null), [g, _] = o.useState(), [v, y] = o.useState(!1);
|
|
7
7
|
o.useEffect(() => {
|
|
8
8
|
p.current && (m.current &&= (window.clearInterval(m.current), null), m.current = window.setInterval(() => {
|
|
@@ -41,7 +41,7 @@ function s({ className: i, src: s, altText: c, mode: l = "fill", placeholderIcon
|
|
|
41
41
|
}
|
|
42
42
|
return /* @__PURE__ */ o.createElement("div", {
|
|
43
43
|
ref: f,
|
|
44
|
-
className:
|
|
44
|
+
className: i(n({ placeholder: !s }), a),
|
|
45
45
|
style: {
|
|
46
46
|
width: `${g}` && `${g}rem`,
|
|
47
47
|
fontSize: `${x()}rem`,
|
|
@@ -58,7 +58,7 @@ function s({ className: i, src: s, altText: c, mode: l = "fill", placeholderIcon
|
|
|
58
58
|
icon: u
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
var c = /* @__PURE__ */ a(s, {
|
|
62
62
|
name: "Photo",
|
|
63
63
|
props: {
|
|
64
64
|
src: "string",
|
|
@@ -70,4 +70,4 @@ i.set(s, {
|
|
|
70
70
|
placeholderIcon: "IconName"
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
-
export {
|
|
73
|
+
export { c as Photo };
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
3
3
|
// src/photo/photo/Photo.css.ts
|
|
4
4
|
var t = e({
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w0",
|
|
6
6
|
variantClassNames: { placeholder: {
|
|
7
|
-
true: "pkg_sps-
|
|
8
|
-
false: "pkg_sps-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w1",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w2"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { placeholder: !1 },
|
|
11
11
|
compoundVariants: []
|
|
12
12
|
}), n = e({
|
|
13
|
-
defaultClassName: "pkg_sps-
|
|
13
|
+
defaultClassName: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w3",
|
|
14
14
|
variantClassNames: { mode: {
|
|
15
|
-
fill: "pkg_sps-
|
|
16
|
-
fit: "pkg_sps-
|
|
15
|
+
fill: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w4",
|
|
16
|
+
fit: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w5"
|
|
17
17
|
} },
|
|
18
18
|
defaultVariants: { mode: "fill" },
|
|
19
19
|
compoundVariants: []
|
|
20
|
-
}), r = "pkg_sps-
|
|
20
|
+
}), r = "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w6";
|
|
21
21
|
export { n as photo, r as photoPlaceholder, t as photoWrapper };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { c as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
|
|
3
3
|
// src/photo/photo-carousel/PhotoCarousel.css.ts
|
|
4
|
-
var t = "pkg_sps-
|
|
5
|
-
defaultClassName: "pkg_sps-
|
|
4
|
+
var t = "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba10", n = "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba11", r = "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba12", i = "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba13", a = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba14",
|
|
6
6
|
variantClassNames: { selected: {
|
|
7
|
-
true: "pkg_sps-
|
|
8
|
-
false: "pkg_sps-
|
|
7
|
+
true: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba15",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba16"
|
|
9
9
|
} },
|
|
10
10
|
defaultVariants: { selected: !1 },
|
|
11
11
|
compoundVariants: []
|
package/lib/photo/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.pkg_sps-
|
|
2
|
-
.pkg_sps-
|
|
1
|
+
.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w0{vertical-align:middle;justify-content:center;align-items:center;display:flex;overflow:hidden;padding:0!important}.pkg_sps-woodland_core__family_photo__version_9_0_0__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__family_photo__version_9_0_0__hash_1orib4w3{visibility:hidden}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w4{visibility:visible;width:auto;height:100%}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w5{visibility:visible;width:100%;height:auto}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1orib4w6{text-align:center;color:#717779;font-size:6em}
|
|
2
|
+
.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba10{float:right;display:table}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba11{vertical-align:middle;display:table-cell}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba12{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba13{width:100%;margin-bottom:.5rem;display:block}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba14{cursor:pointer;background:0 0;border:0;padding:0;display:block}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba14:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_photo__version_9_0_0__hash_1744ba16{opacity:.4}
|
|
@@ -10,5 +10,7 @@ export interface ProductBarProps {
|
|
|
10
10
|
*/
|
|
11
11
|
enablePriorityPlus?: boolean;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
declare function ProductBarComponent({ fullWidth, enablePriorityPlus, children, className, ...rest }: ComponentProps<ProductBarProps, HTMLDivElement>): React.ReactElement;
|
|
14
|
+
export declare const ProductBar: typeof ProductBarComponent;
|
|
15
|
+
export {};
|
|
14
16
|
//# sourceMappingURL=ProductBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBar.d.ts","sourceRoot":"","sources":["../../../src/product-bar/product-bar/ProductBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
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;AAmBzD,MAAM,WAAW,eAAe;IAC9B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAoDD,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,kBAAyB,EACzB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,eAAe,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAkFtE;AACD,eAAO,MAAM,UAAU,4BAMrB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ProductBarName as t } from "../product-bar-name/ProductBarName.js";
|
|
|
3
3
|
import { ProductBarOverflowMenu as n } from "../product-bar-overflow-menu/ProductBarOverflowMenu.js";
|
|
4
4
|
import { usePriorityPlus as r } from "../hooks/usePriorityPlus.js";
|
|
5
5
|
import { productBar as i, productBarContainer as a, productBarContent as o, productNavNav as s } from "./ProductBar.ve.js";
|
|
6
|
-
import {
|
|
6
|
+
import { PortalContext as c, cl as l, selectChildren as u, withMetadata as d } from "@sps-woodland/core";
|
|
7
7
|
import * as f from "react";
|
|
8
8
|
// src/product-bar/product-bar/ProductBar.tsx
|
|
9
9
|
function p(e) {
|
|
@@ -32,8 +32,8 @@ function m(e, t) {
|
|
|
32
32
|
]
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function h({ fullWidth:
|
|
36
|
-
let y = f.useRef(null), [b, x, S] =
|
|
35
|
+
function h({ fullWidth: d, enablePriorityPlus: h = !0, children: g, className: _, ...v }) {
|
|
36
|
+
let y = f.useRef(null), [b, x, S] = u(g, [{ type: t }, { type: e }]), C = f.useMemo(() => h ? p(x) : x, [h, x]), { visibleItems: w, overflowItems: T, containerRef: E, parentRef: D, overflowButtonRef: O, contentRef: k, brandRef: A, hideProductName: j } = r(C, { enabled: h }), { visible: M, overflow: N } = f.useMemo(() => m(w, T), [w, T]), P = f.useMemo(() => {
|
|
37
37
|
if (!h || !b || b.length === 0) return b;
|
|
38
38
|
let e = b[0];
|
|
39
39
|
return f.isValidElement(e) ? f.cloneElement(e, {
|
|
@@ -47,11 +47,11 @@ function h({ fullWidth: c, enablePriorityPlus: h = !0, children: g, className: _
|
|
|
47
47
|
A
|
|
48
48
|
]);
|
|
49
49
|
return /* @__PURE__ */ f.createElement("div", {
|
|
50
|
-
className:
|
|
50
|
+
className: l(a, _),
|
|
51
51
|
...v,
|
|
52
52
|
ref: y
|
|
53
53
|
}, /* @__PURE__ */ f.createElement("nav", {
|
|
54
|
-
className: i({ fullWidth:
|
|
54
|
+
className: i({ fullWidth: d }),
|
|
55
55
|
ref: D
|
|
56
56
|
}, P, /* @__PURE__ */ f.createElement("div", {
|
|
57
57
|
className: s({ priorityPlus: h }),
|
|
@@ -62,12 +62,12 @@ function h({ fullWidth: c, enablePriorityPlus: h = !0, children: g, className: _
|
|
|
62
62
|
})), /* @__PURE__ */ f.createElement("div", {
|
|
63
63
|
className: o,
|
|
64
64
|
ref: k
|
|
65
|
-
}, /* @__PURE__ */ f.createElement(
|
|
65
|
+
}, /* @__PURE__ */ f.createElement(c.Provider, { value: {
|
|
66
66
|
parentElementRef: y,
|
|
67
67
|
fixed: !0
|
|
68
68
|
} }, S))));
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
var g = /* @__PURE__ */ d(h, {
|
|
71
71
|
name: "ProductBar",
|
|
72
72
|
props: {
|
|
73
73
|
fullWidth: { type: "boolean" },
|
|
@@ -77,4 +77,4 @@ c.set(h, {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
export {
|
|
80
|
+
export { g as ProductBar };
|