@sps-woodland/core 8.53.4 → 8.53.6
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.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/ActionBar.ve.js +12 -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.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/AddToList.ve.js +25 -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.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/button/Button.ve.js +10 -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.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/Card.ve.js +5 -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.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-footer/CardFooter.ve.js +5 -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.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-header/CardHeader.ve.js +5 -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.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/card-title/CardTitle.ve.js +5 -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.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/ContentRow.ve.js +19 -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.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-col/ContentRowCol.ve.js +8 -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.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/row-list-auto-layout/RowListAutoLayout.ve.js +6 -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.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/ContentTile.ve.js +15 -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.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/content-tile-list/ContentTileList.ve.js +6 -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.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/dropdown/Dropdown.ve.js +9 -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.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/Option.ve.js +6 -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.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/option-list/OptionList.ve.js +6 -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.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/FeedbackBlock.ve.js +8 -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.d.ts +20 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.js +200 -0
- package/lib/file-upload/file-upload/FileUpload.ve.js +19 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts +99 -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 +107 -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 +356 -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.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/FilterTile.ve.js +10 -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.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/filter-tile-set/FilterTileSet.ve.js +5 -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.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/FocusedTask.ve.js +13 -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.d.ts +23 -0
- package/lib/growler/Growler.d.ts.map +1 -0
- package/lib/growler/Growler.js +93 -0
- package/lib/growler/Growler.ve.js +13 -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.ve.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 +38 -36
- package/lib/index.umd.cjs +4 -4
- 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.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/InsightCard.ve.js +14 -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.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/KeyValueSet.ve.js +6 -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.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/key-value-set-item/KeyValueSetItem.ve.js +8 -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.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/advanced-search/AdvancedSearch.ve.js +9 -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.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/ListBar.ve.js +18 -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.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/search-results-bar/SearchResultsBar.ve.js +14 -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.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/Matrix.ve.js +8 -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.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/Modal.ve.js +14 -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.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-subtitle/PageSubtitle.ve.js +6 -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.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/page-title/PageTitle.ve.js +7 -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.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/Photo.ve.js +8 -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.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/photo-carousel/PhotoCarousel.ve.js +10 -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.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/ProductBar.ve.js +15 -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.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-overflow-menu/ProductBarOverflowMenu.ve.js +9 -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.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/slack-link/SlackLink.ve.js +6 -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.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/ProductBarVertical.ve.js +24 -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.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/ProgressBar.ve.js +14 -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.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-bar/progress-bar-step/ProgressBarStep.ve.js +9 -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.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/RTEToolbarButton.ve.js +7 -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.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/RichTextEditor.ve.js +9 -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.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/ScrollableContainer.ve.js +5 -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.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/SideNav.ve.js +17 -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.ve.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.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/SortingHeader.ve.js +7 -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.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/sorting-header-cell/SortingHeaderCell.ve.js +6 -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.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/Tab.ve.js +7 -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.d.ts +6 -0
- package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.js +113 -0
- package/lib/tabs/tabs/Tabs.ve.js +11 -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.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/clickable-tag/ClickableTag.ve.js +10 -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.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/split-tag/SplitTag.ve.js +10 -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.d.ts +11 -0
- package/lib/tags/tag/Tag.d.ts.map +1 -0
- package/lib/tags/tag/Tag.js +41 -0
- package/lib/tags/tag/Tag.ve.js +7 -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.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/ZeroState.ve.js +12 -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 +5 -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 +261 -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 @@
|
|
|
1
|
+
(function(l,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react"),require("react-aria"),require("@spscommerce/ds-react"),require("@spscommerce/ds-shared"),require("@sps-woodland/illustrations"),require("@sps-woodland/core"),require("@sps-woodland/core/zero-state"),require("@sps-woodland/core/card"),require("@sps-woodland/tokens"),require("@sps-woodland/core/tag"),require("@sps-woodland/core/scrollable-container"),require("@sps-woodland/core/feedback-block"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","react-aria","@spscommerce/ds-react","@spscommerce/ds-shared","@sps-woodland/illustrations","@sps-woodland/core","@sps-woodland/core/zero-state","@sps-woodland/core/card","@sps-woodland/tokens","@sps-woodland/core/tag","@sps-woodland/core/scrollable-container","@sps-woodland/core/feedback-block","@spscommerce/i18n"],I):(l=typeof globalThis<"u"?globalThis:l||self,I(l.AddToList={},l.React,l.reactAria,l.dsReact,l.dsShared,l.illustrations,l.core,l.zeroState,l.card,l.tokens,l.tag,l.scrollableContainer,l.feedbackBlock,l.i18n))})(this,(function(l,I,Z,N,g,te,h,ae,se,oe,he,ge,ve,K){"use strict";function be(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return r.default=t,Object.freeze(r)}const e=be(I),we="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ke=(t=21)=>{let r="",a=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)r+=we[a[t]&63];return r};function xe(t,r,a){return r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function re(t,r){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(t,d).enumerable})),a.push.apply(a,o)}return a}function ne(t){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?re(Object(a),!0).forEach(function(o){xe(t,o,a[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):re(Object(a)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(a,o))})}return t}var Ce=(t,r,a)=>{for(var o of Object.keys(t)){var d;if(t[o]!==((d=r[o])!==null&&d!==void 0?d:a[o]))return!1}return!0},C=t=>r=>{var a=t.defaultClassName,o=ne(ne({},t.defaultVariants),r);for(var d in o){var v,b=(v=o[d])!==null&&v!==void 0?v:t.defaultVariants[d];if(b!=null){var w=b;typeof w=="boolean"&&(w=w===!0?"true":"false");var n=t.variantClassNames[d][w];n&&(a+=" "+n)}}for(var[T,y]of t.compoundVariants)Ce(T,o,t.defaultVariants)&&(a+=" "+y);return a},Le=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx90",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx91",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx92"}},defaultVariants:{},compoundVariants:[]}),Ee=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx93",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx94",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx95"}},defaultVariants:{},compoundVariants:[]}),le="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx96",Ne=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx97",variantClassNames:{isLeftSide:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx98",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx99"},isRightSide:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9a",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9b"},adjustForPhantomDroppableContainer:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9c",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9d"}},defaultVariants:{},compoundVariants:[]}),Te=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9e",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9f",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9g"}},defaultVariants:{},compoundVariants:[]}),ye=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9h",variantClassNames:{vertical:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9i",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9j"}},defaultVariants:{},compoundVariants:[]}),ie="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9k",Oe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9l",Se="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9m",De=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9n",variantClassNames:{isDragging:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9o",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9p"}},defaultVariants:{},compoundVariants:[]}),Ie="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9q",_e=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9r",variantClassNames:{isDropTarget:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9s",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9t"}},defaultVariants:{},compoundVariants:[]}),Ve=C({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9u",variantClassNames:{isDropTarget:{true:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9v",false:"pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9w"}},defaultVariants:{},compoundVariants:[]}),U="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9x",Me="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9y",Pe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9z",qe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx910",Ae="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx911",Fe="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx912",je="pkg_sps-woodland_core__version_8_53_6__hash_13b8tx913";function de({headerText:t,showCount:r,showIcons:a,showMoveAllLinks:o,showMoreOptionsText:d,disableMoveAllLinks:v,maxHeight:b,children:w,side:n,itemCount:T,otherHeader:y,className:z,vertical:L,moveAll:O,adjustForPhantomDroppableContainer:V,"data-testid":E}){const M=h.useChildTestIdAttrBuilder({"data-testid":E}),{t:k}=K.useWoodlandLanguage(),m=k(n==="left"?"addToList.onColumnHeader":"addToList.offColumnHeader"),S=n==="left"?"eye":"eye-slash",$=k(n==="left"?"addToList.offColumnHeader":"addToList.onColumnHeader"),G=k("addToList.moveAllItemsToCol",{columnName:y||$}),p=L?e.createElement(e.Fragment,null):e.createElement("div",{className:Ne({isLeftSide:n==="left",isRightSide:n==="right",adjustForPhantomDroppableContainer:!!V&&n==="left"})});function J(){O&&typeof O=="function"&&O(n)}return e.createElement("div",{className:h.cl(ye({vertical:L}),z),"data-testid":E},e.createElement("div",{className:Me,...M("column-header")},a&&e.createElement(h.Icon,{icon:S,className:Pe}),t||m,r&&e.createElement(he.Tag,{kind:"key",className:qe},T)),b?e.createElement("div",{className:le},p,e.createElement(ge.ScrollableContainer,{maxHeight:b},w)):e.createElement("div",{className:le},p,w),o&&T>0&&e.createElement(N.SpsButton,{className:V&&n==="right"?je:void 0,kind:g.ButtonKind.LINK,onClick:J,disabled:v,...M("move-all-button")},G),d&&T>0&&e.createElement(ve.FeedbackBlock,{kind:"info",micro:!0},k("addToList.moreOptionsAvailable",{defaultValue:"More options available. Use the search field to filter results."})))}function W({className:t,children:r,filtering:a,manualSorting:o,id:d,"data-testid":v}){const{t:b}=K.useWoodlandLanguage();return e.createElement(e.Fragment,null,e.createElement("div",{role:"listitem",className:h.cl(t,_e({isDropTarget:!1}),Se,"listitem-component"),"data-testid":v},o&&a&&e.createElement("i",{className:Oe,id:`list-item-${d}-drag-handle`}),r),o&&a&&e.createElement(N.SpsTooltip,{for:`list-item-${d}-drag-handle`,position:g.Position.TOP_LEFT,showOn:g.TooltipShowTrigger.CLICK},b("addToList.disabledDragTooltip",{defaultValue:"Drag and drop are disabled when filters are engaged"})))}h.Metadata.set(W,{name:"ListItem"});function ce({onList:t,offList:r,onHeader:a,offHeader:o,showFilter:d,showCount:v,showIcons:b,showMoveAllLinks:w,manualSort:n,maxDisplayedItems:T,maxHeightPx:y,maxHeightRem:z,onChange:L,onListZeroState:O,offListZeroState:V,vertical:E=!1,onListAlphaSort:M=!0,"data-testid":k}){const m=h.useChildTestIdAttrBuilder({"data-testid":k}),{t:S}=K.useWoodlandLanguage(),{formValue:$,formMeta:G}=N.useSpsForm({filterString:""}),[p,J]=e.useState(""),X=y?y/16:z,pe=X?`${X}rem`:"",P=e.useCallback((s,i)=>(!n&&M||i==="right"?[...s].sort((u,c)=>u.label.localeCompare(c.label)):s).map(u=>{const c={...u};return c.id||(c.id=ke()),c}),[n,M]),_=e.useMemo(()=>P(t,"left"),[t,P]),f=e.useMemo(()=>P(r,"right"),[r,P]),q=e.useCallback(s=>p?s.label.toLowerCase().includes(p.toLowerCase()):!0,[p]),Q=(s,i,x)=>{const u=x.find(c=>c.label===s);u?i===_?L({onList:[..._,u],offList:f.filter(c=>c.label!==u.label)}):x===_&&L({onList:_.filter(c=>c.label!==u.label),offList:[...f,u]}):console.error("could not remove item")};function Be(s){J(s.target.value)}function ue(s){L(s==="left"?{onList:_.filter(i=>i.required),offList:[...f,..._.filter(i=>!i.required)]}:{onList:[..._,...f],offList:[]})}const me=e.useCallback(s=>{const{className:i,index:x,...u}=s,c=e.useRef(null),{dropProps:F,isDropTarget:j}=Z.useDrop({ref:c,async onDrop(Y){let B=await Promise.all(Y.items.filter(H=>H.kind==="text"&&H.types.has("text/plain")).map(H=>H.getText("text/plain")));const{index:R}=JSON.parse(B[0]),ee=[..._],[Ue]=ee.splice(R,1),We=x>R?x-1:x;ee.splice(We,0,Ue),L({onList:ee,offList:f})}});return e.createElement("div",{ref:c,...n?F:[],role:"button",tabIndex:0,className:h.cl(i,s.isPhantomDroppableContainer?Ve({isDropTarget:j}):_e({isDropTarget:j})),...m("droppable-container"),...u},s.children)},[_,n]),Re=e.useCallback(s=>{const{label:i,data:x,listIndex:u,required:c}=s,F=e.useRef(null),j={...x,index:u},{dragProps:Y,dragButtonProps:B,isDragging:R}=Z.useDrag({preview:F,hasDragButton:!0,getItems(){return[{"text/plain":JSON.stringify(j)}]}});return e.createElement("div",{...n?Y:{},role:n?"button":"listitem",tabIndex:0,id:`${i}${u}-drag`,className:h.cl(De({isDragging:R})),...m("draggable-item")},e.createElement(me,{index:u},n&&e.createElement("i",{...B,className:ie}),i,!c&&e.createElement(N.SpsButton,{kind:g.ButtonKind.ICON,icon:g.SpsIcon.X,onClick:()=>{Q(i,f,_)},className:U,...m("move-item-button")})),e.createElement(Z.DragPreview,{ref:F},()=>e.createElement("div",{className:Ie},e.createElement("i",{...B,className:ie}),i)))},[_,n]),D=e.useMemo(()=>_.filter(q),[_,q]),A=e.useMemo(()=>f.filter(q).slice(0,T),[f,q]),He=!p&&!!w&&D.length>0,Ze=!p&&!!w&&A.length>0,Ke=!p&&f.length>A.length,fe=!!n&&!p&&D.length>0&&!X;return e.createElement("div",{"data-testid":k},d&&e.createElement("div",{className:oe.grid.root},e.createElement("div",{className:h.cl(oe.grid[12],Fe)},e.createElement(N.SpsTextInput,{value:$.filterString,formMeta:G.fields.filterString,icon:g.SpsIcon.FILTER,onChange:Be,...m("filter-input")}))),e.createElement("div",{className:h.cl(Le({vertical:E}))},e.createElement(de,{headerText:a,showCount:!p&&v,showIcons:b,showMoveAllLinks:He,disableMoveAllLinks:_.every(s=>s.required),maxHeight:pe,vertical:E,side:"left",className:Ee({vertical:E}),otherHeader:o,itemCount:_.length,moveAll:ue,adjustForPhantomDroppableContainer:fe,...m("on-items-list")},D.length>0?e.createElement(e.Fragment,null,n&&!p&&D.map((s,i)=>e.createElement(e.Fragment,{key:s.id},e.createElement(Re,{data:s,label:s.label,required:s.required,listIndex:i}),i===D.length-1&&e.createElement(me,{isPhantomDroppableContainer:!0,index:i+1}))),(!n||p)&&D.map(s=>e.createElement(W,{key:s.id,filtering:!!p,manualSorting:n,id:s.id,...m("item")},s.label,!s.required&&e.createElement(N.SpsButton,{kind:g.ButtonKind.ICON,icon:g.SpsIcon.X,onClick:()=>{Q(s.label,f,_)},className:U,...m("move-item-button")})))):e.createElement(se.Card,null,O?e.createElement(e.Fragment,null,O):e.createElement(ae.ZeroState,{heading:S("addToList.noDataZeroStateColumnTitle",{defaultValue:"This Column is Empty"}),subHeading:S("addToList.noDataZeroStateOnColumnSubheading",{columnName:o,defaultValue:`Move options from the ${o}`}),artwork:te.DOCUMENT_SEARCH_NO_RESULTS_LARGE,micro:!0,...m("on-list-zero-state")}))),e.createElement(de,{headerText:o,showCount:!p&&v,showIcons:b,showMoveAllLinks:Ze,showMoreOptionsText:Ke,maxHeight:pe,vertical:E,side:"right",className:Te({vertical:E}),otherHeader:a,itemCount:f.length,moveAll:ue,adjustForPhantomDroppableContainer:fe,...m("off-items-list")},A.length>0?A.map(s=>e.createElement(W,{key:s.id,className:Ae,...m("item")},s.label,e.createElement(N.SpsButton,{kind:g.ButtonKind.ICON,icon:g.SpsIcon.PLUS_SIGN,onClick:()=>{Q(s.label,_,f)},className:U,...m("move-item-button")}))):e.createElement(se.Card,null,V?e.createElement(e.Fragment,null,V):e.createElement(ae.ZeroState,{heading:S("addToList.noDataZeroStateColumnTitle",{defaultValue:"This Column is Empty"}),subHeading:S("addToList.noDataZeroStateOffColumnSubheading",{columnName:a,defaultValue:`Remove options from the ${a}`}),artwork:te.DOCUMENT_SEARCH_NO_RESULTS_SMALL,micro:!0,...m("off-list-zero-state")})))))}h.Metadata.set(ce,{name:"Add To List",props:{onList:{type:"ItemProps[]",required:!0},offList:{type:"ItemProps[]",required:!0},onHeader:{type:"string"},offHeader:{type:"string"},showFilter:{type:"boolean"},showCount:{type:"boolean"},showIcons:{type:"boolean"},showMoveAllLinks:{type:"boolean"},manualSort:{type:"boolean"},maxDisplayedItems:{type:"number"},maxHeight:{type:"string"},onChange:{type:"(newValue: AddToListAggregateValue) => void"},autoSort:{type:"boolean"},onListZeroState:{type:"ZeroState"},offListZeroState:{type:"ZeroState"}}}),l.AddToList=ce,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx90{display:flex;flex-direction:row;align-content:space-between}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx91{flex-direction:column}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx93{margin-right:1rem;position:relative}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx94{margin-right:0;margin-bottom:1.375rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx96{position:relative}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx97{width:.0625rem;background-color:#d2d4d4;height:100%;position:absolute;top:0}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx98{left:calc(100% + 1rem)}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9a{left:-1rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9c{height:calc(100% - 1.5625rem)}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9e{margin-left:1rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9f{margin-left:0}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9h{flex-shrink:0;align-self:stretch;width:calc(50% - 1rem)}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9i{width:100%}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9k{display:block;width:.375rem;height:1.125rem;background:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgOCAxOCIgd2lkdGg9IjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE2IDcwODFoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem01LTE1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3oiIGZpbGw9IiNhNWE5YWIiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE2IC03MDgxKSIvPjwvc3ZnPg==) no-repeat left center;padding:0 1rem 0 0;line-height:1.125rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9l{display:block;opacity:.25;width:.375rem;height:1.125rem;background:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgOCAxOCIgd2lkdGg9IjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE2IDcwODFoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem0wIDVoM3YzaC0zem01LTE1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3ptMCA1aDN2M2gtM3oiIGZpbGw9IiNhNWE5YWIiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE2IC03MDgxKSIvPjwvc3ZnPg==) no-repeat left center;padding:0 1rem 0 0;line-height:1.125rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9m{border:#d2d4d4ff solid .0625rem;border-bottom:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9m:last-child{border-bottom:#d2d4d4ff solid .0625rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9n{position:relative;border:#d2d4d4ff solid .0625rem;border-bottom:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9o{background-color:#f3f4f4;color:#717779}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9q{display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;line-height:1.125rem;font-size:.75rem;border:#d2d4d4ff solid .0625rem;width:100%;min-width:17.75rem;padding:.75rem;background-color:#e6f2f8;flex:1}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9r{display:flex;flex-direction:row;justify-content:flex-start;position:relative;line-height:1.125rem;font-size:.75rem;width:100%;padding:.75rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9r:focus{background-color:#e6f2f8}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9s{box-shadow:inset 0 .25rem #007db8}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9u{position:relative;line-height:1.125rem;font-size:.75rem;width:100%;padding:.75rem;border-top:.0625rem solid #d2d4d4ff}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9u:focus{outline:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9v{box-shadow:inset 0 .25rem #007db8}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9x{position:absolute;right:.375rem;top:.375rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9y{font-size:.875rem;line-height:1.25rem;display:flex;align-items:center;justify-content:flex-start;font-weight:600;margin-bottom:.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx9z{font-size:.875rem;line-height:1.25rem;margin-right:.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx910{margin-left:.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx911{position:relative;display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch;line-height:1.125rem;font-size:.75rem;width:100%;padding:.75rem;border-bottom:none}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx911:last-child{border-bottom:#d2d4d4ff solid .0625rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx912{margin-bottom:1.25rem}.pkg_sps-woodland_core__version_8_53_6__hash_13b8tx913{margin-top:1.5625rem}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Tokens } from "@sps-woodland/tokens";
|
|
2
|
+
import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
|
|
3
|
+
export type ButtonKind = keyof typeof Tokens.component.button.kind;
|
|
4
|
+
interface ButtonVariantDefinitions extends VariantDefinitions {
|
|
5
|
+
kind: RecipeVariant<ButtonKind>;
|
|
6
|
+
disabled: BooleanRecipeVariant;
|
|
7
|
+
spinning: BooleanRecipeVariant;
|
|
8
|
+
}
|
|
9
|
+
export declare const button: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<ButtonVariantDefinitions>;
|
|
10
|
+
export declare const buttonElement: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<ButtonVariantDefinitions>;
|
|
11
|
+
export declare const linkButton: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ButtonVariantDefinitions, "kind" | "spinning">>;
|
|
12
|
+
export declare const buttonIcon: string;
|
|
13
|
+
export declare const buttonSpinner: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ButtonVariantDefinitions, "spinning">>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=Button.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../src/buttons/button/Button.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,UAAU,GAAG,MAAM,OAAO,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;AAEnE,UAAU,wBAAyB,SAAQ,kBAAkB;IAC3D,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAChC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,eAAO,MAAM,MAAM,iHAiMjB,CAAC;AAEH,eAAO,MAAM,aAAa,iHA6DxB,CAAC;AAEH,eAAO,MAAM,UAAU,4IAuDrB,CAAC;AAIH,eAAO,MAAM,UAAU,QAMrB,CAAC;AAEH,eAAO,MAAM,aAAa,mIAuBxB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { PolymorphicComponentProps } from "@sps-woodland/core";
|
|
3
|
+
import type { IconName } from "@sps-woodland/tokens";
|
|
4
|
+
import type { AriaButtonProps } from "@react-aria/button";
|
|
5
|
+
import type { ButtonKind } from "./Button.css";
|
|
6
|
+
interface BaseButtonProps {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
href?: string;
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
kind?: ButtonKind;
|
|
11
|
+
spinning?: boolean;
|
|
12
|
+
spinningTitle?: string;
|
|
13
|
+
title?: string;
|
|
14
|
+
ref?: React.Ref<HTMLButtonElement | HTMLAnchorElement>;
|
|
15
|
+
}
|
|
16
|
+
type ButtonProps<T extends React.ElementType = "button" | "a"> = Partial<PolymorphicComponentProps<Partial<AriaButtonProps<"button">> & Partial<BaseButtonProps>, T>>;
|
|
17
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps<"button" | "a">>;
|
|
18
|
+
export { Button };
|
|
19
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/buttons/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;CACxD;AAED,KAAK,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,GAAG,GAAG,IAAI,OAAO,CACtE,yBAAyB,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAC5F,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,WAAW,CAAC,QAAQ,GAAG,GAAG,CAAC,CAgHxE,CAAC;AAyBF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { Spinner as z, cl as D, Metadata as F, Icon as p } from "@sps-woodland/core";
|
|
3
|
+
import { useButton as H } from "@react-aria/button";
|
|
4
|
+
import { useHover as L } from "@react-aria/interactions";
|
|
5
|
+
import { mergeProps as M } from "@react-aria/utils";
|
|
6
|
+
import { FocusRing as w } from "@react-aria/focus";
|
|
7
|
+
import { linkButton as x, buttonElement as V, buttonSpinner as W, button as j, buttonIcon as f } from "./Button.ve.js";
|
|
8
|
+
import { useWoodlandLanguage as q } from "@spscommerce/i18n";
|
|
9
|
+
const A = t.forwardRef(
|
|
10
|
+
({
|
|
11
|
+
as: b,
|
|
12
|
+
onClick: E,
|
|
13
|
+
onPress: y,
|
|
14
|
+
children: m,
|
|
15
|
+
className: N,
|
|
16
|
+
isDisabled: s,
|
|
17
|
+
disabled: l,
|
|
18
|
+
href: n,
|
|
19
|
+
icon: a,
|
|
20
|
+
kind: e = "default",
|
|
21
|
+
spinning: o,
|
|
22
|
+
spinningTitle: P,
|
|
23
|
+
title: g,
|
|
24
|
+
...r
|
|
25
|
+
}, R) => {
|
|
26
|
+
const v = b ?? (n ? "a" : "button"), u = {
|
|
27
|
+
onPress: y ?? E,
|
|
28
|
+
// the button element should be disabled if the button is marked as disabled or spinning
|
|
29
|
+
isDisabled: !!(o || l || s),
|
|
30
|
+
...r
|
|
31
|
+
}, { "data-testid": i } = r, _ = t.useRef(null), d = R || _, { buttonProps: B } = H(
|
|
32
|
+
u,
|
|
33
|
+
d
|
|
34
|
+
), { hoverProps: $ } = L({ isDisabled: u.isDisabled }), { type: I, ...S } = B, T = {
|
|
35
|
+
...M(S, $),
|
|
36
|
+
ref: d,
|
|
37
|
+
title: g,
|
|
38
|
+
className: n ? x({ spinning: o, kind: e }) : V({ disabled: s || l, kind: e, spinning: o }),
|
|
39
|
+
...n ? { href: n } : { type: I },
|
|
40
|
+
...r
|
|
41
|
+
}, { t: C } = q(), h = a && (a === "ai-color" ? (
|
|
42
|
+
// ai-color can only be used on default or link buttons for contrast/accessibility reasons
|
|
43
|
+
// if the user tries to use ai-color on a non-approved button swap it out for the regular ai icon
|
|
44
|
+
/* @__PURE__ */ t.createElement(
|
|
45
|
+
p,
|
|
46
|
+
{
|
|
47
|
+
className: f,
|
|
48
|
+
icon: e === "default" || e === "link" ? "ai-color" : "ai",
|
|
49
|
+
size: "sm",
|
|
50
|
+
"aria-hidden": "true",
|
|
51
|
+
"data-testid": `${i}__${a}-icon`
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
) : /* @__PURE__ */ t.createElement(
|
|
55
|
+
p,
|
|
56
|
+
{
|
|
57
|
+
className: f,
|
|
58
|
+
icon: a,
|
|
59
|
+
size: "sm",
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
"data-testid": `${i}__${a}-icon`
|
|
62
|
+
}
|
|
63
|
+
));
|
|
64
|
+
let c;
|
|
65
|
+
e === "default" || e === "icon" || e === "link" ? c = "dark" : c = "light";
|
|
66
|
+
const k = o && /* @__PURE__ */ t.createElement(
|
|
67
|
+
z,
|
|
68
|
+
{
|
|
69
|
+
color: c,
|
|
70
|
+
className: W({ spinning: o }),
|
|
71
|
+
title: P || C("button.spinningTitle", { defaultValue: "Loading..." }),
|
|
72
|
+
"data-testid": `${i}__spinner`
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
return /* @__PURE__ */ t.createElement(w, null, /* @__PURE__ */ t.createElement(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: D(
|
|
79
|
+
j({
|
|
80
|
+
disabled: s || l,
|
|
81
|
+
kind: e,
|
|
82
|
+
spinning: o
|
|
83
|
+
}),
|
|
84
|
+
N
|
|
85
|
+
)
|
|
86
|
+
},
|
|
87
|
+
/* @__PURE__ */ t.createElement(v, { ...T }, h, m ? /* @__PURE__ */ t.createElement("span", null, m) : "", k)
|
|
88
|
+
));
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
F.set(A, {
|
|
92
|
+
name: "Button",
|
|
93
|
+
props: {
|
|
94
|
+
disabled: "boolean",
|
|
95
|
+
href: "string",
|
|
96
|
+
icon: "IconName",
|
|
97
|
+
kind: {
|
|
98
|
+
type: '"default" | "link" | "icon" | "confirm" | "delete" | "key"',
|
|
99
|
+
default: '"default"'
|
|
100
|
+
},
|
|
101
|
+
spinning: "boolean",
|
|
102
|
+
spinningTitle: "string",
|
|
103
|
+
type: { type: '"button" | "submit"', default: '"button"' },
|
|
104
|
+
as: "button | a",
|
|
105
|
+
onClick: "() => void",
|
|
106
|
+
onPress: "() => void",
|
|
107
|
+
children: "ReactNode",
|
|
108
|
+
className: "string",
|
|
109
|
+
isDisabled: "boolean",
|
|
110
|
+
style: "CSSProperties"
|
|
111
|
+
},
|
|
112
|
+
panellable: !0
|
|
113
|
+
});
|
|
114
|
+
export {
|
|
115
|
+
A as Button
|
|
116
|
+
};
|
|
@@ -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 o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq1", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq2" }, kind: { default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7", icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqa" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [[{ kind: "icon", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb"], [{ kind: "default", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc"], [{ kind: "confirm", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd"], [{ kind: "delete", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe"], [{ kind: "key", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf"], [{ disabled: !0, spinning: !1 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg"], [{ kind: "link", disabled: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh"]] }), n = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqk" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieql", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqm", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqn", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqo", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqp", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqs" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [] }), a = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqv" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqx", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqy", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqz", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq10", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] }), i = "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12", l = _({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
o as button,
|
|
6
|
+
n as buttonElement,
|
|
7
|
+
i as buttonIcon,
|
|
8
|
+
l as buttonSpinner,
|
|
9
|
+
a as linkButton
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { Spinner as I, cl as T, Metadata as z, Icon as g } from "@sps-woodland/core";
|
|
3
|
+
import { useButton as F } from "@react-aria/button";
|
|
4
|
+
import { useHover as x } from "@react-aria/interactions";
|
|
5
|
+
import { mergeProps as H } from "@react-aria/utils";
|
|
6
|
+
import { FocusRing as L } from "@react-aria/focus";
|
|
7
|
+
import { useWoodlandLanguage as M } from "@spscommerce/i18n";
|
|
8
|
+
function A(_, o, e) {
|
|
9
|
+
return o in _ ? Object.defineProperty(_, o, {
|
|
10
|
+
value: e,
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
configurable: !0,
|
|
13
|
+
writable: !0
|
|
14
|
+
}) : _[o] = e, _;
|
|
15
|
+
}
|
|
16
|
+
function m(_, o) {
|
|
17
|
+
var e = Object.keys(_);
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var s = Object.getOwnPropertySymbols(_);
|
|
20
|
+
o && (s = s.filter(function(n) {
|
|
21
|
+
return Object.getOwnPropertyDescriptor(_, n).enumerable;
|
|
22
|
+
})), e.push.apply(e, s);
|
|
23
|
+
}
|
|
24
|
+
return e;
|
|
25
|
+
}
|
|
26
|
+
function k(_) {
|
|
27
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
28
|
+
var e = arguments[o] != null ? arguments[o] : {};
|
|
29
|
+
o % 2 ? m(Object(e), !0).forEach(function(s) {
|
|
30
|
+
A(_, s, e[s]);
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(e)) : m(Object(e)).forEach(function(s) {
|
|
32
|
+
Object.defineProperty(_, s, Object.getOwnPropertyDescriptor(e, s));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return _;
|
|
36
|
+
}
|
|
37
|
+
var K = (_, o, e) => {
|
|
38
|
+
for (var s of Object.keys(_)) {
|
|
39
|
+
var n;
|
|
40
|
+
if (_[s] !== ((n = o[s]) !== null && n !== void 0 ? n : e[s]))
|
|
41
|
+
return !1;
|
|
42
|
+
}
|
|
43
|
+
return !0;
|
|
44
|
+
}, f = (_) => (o) => {
|
|
45
|
+
var e = _.defaultClassName, s = k(k({}, _.defaultVariants), o);
|
|
46
|
+
for (var n in s) {
|
|
47
|
+
var d, p = (d = s[n]) !== null && d !== void 0 ? d : _.defaultVariants[n];
|
|
48
|
+
if (p != null) {
|
|
49
|
+
var r = p;
|
|
50
|
+
typeof r == "boolean" && (r = r === !0 ? "true" : "false");
|
|
51
|
+
var l = (
|
|
52
|
+
// @ts-expect-error
|
|
53
|
+
_.variantClassNames[n][r]
|
|
54
|
+
);
|
|
55
|
+
l && (e += " " + l);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
for (var [a, t] of _.compoundVariants)
|
|
59
|
+
K(a, s, _.defaultVariants) && (e += " " + t);
|
|
60
|
+
return e;
|
|
61
|
+
}, W = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq1", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq2" }, kind: { default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7", icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqa" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [[{ kind: "icon", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb"], [{ kind: "default", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc"], [{ kind: "confirm", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd"], [{ kind: "delete", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe"], [{ kind: "key", spinning: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf"], [{ disabled: !0, spinning: !1 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg"], [{ kind: "link", disabled: !0 }, "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh"]] }), $ = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqk" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieql", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqm", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqn", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqo", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqp", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq" }, spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqs" } }, defaultVariants: { disabled: !1, kind: "default", spinning: !1 }, compoundVariants: [] }), G = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqv" }, kind: { icon: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw", default: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqx", delete: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqy", key: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieqz", confirm: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq10", link: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] }), w = "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12", J = f({ defaultClassName: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13", variantClassNames: { spinning: { true: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14", false: "pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15" } }, defaultVariants: { spinning: !1 }, compoundVariants: [] });
|
|
62
|
+
const Q = i.forwardRef(
|
|
63
|
+
({
|
|
64
|
+
as: _,
|
|
65
|
+
onClick: o,
|
|
66
|
+
onPress: e,
|
|
67
|
+
children: s,
|
|
68
|
+
className: n,
|
|
69
|
+
isDisabled: d,
|
|
70
|
+
disabled: p,
|
|
71
|
+
href: r,
|
|
72
|
+
icon: l,
|
|
73
|
+
kind: a = "default",
|
|
74
|
+
spinning: t,
|
|
75
|
+
spinningTitle: b,
|
|
76
|
+
title: y,
|
|
77
|
+
...c
|
|
78
|
+
}, O) => {
|
|
79
|
+
const P = _ ?? (r ? "a" : "button"), q = {
|
|
80
|
+
onPress: e ?? o,
|
|
81
|
+
// the button element should be disabled if the button is marked as disabled or spinning
|
|
82
|
+
isDisabled: !!(t || p || d),
|
|
83
|
+
...c
|
|
84
|
+
}, { "data-testid": u } = c, N = i.useRef(null), v = O || N, { buttonProps: V } = F(
|
|
85
|
+
q,
|
|
86
|
+
v
|
|
87
|
+
), { hoverProps: C } = x({ isDisabled: q.isDisabled }), { type: E, ...j } = V, R = {
|
|
88
|
+
...H(j, C),
|
|
89
|
+
ref: v,
|
|
90
|
+
title: y,
|
|
91
|
+
className: r ? G({ spinning: t, kind: a }) : $({ disabled: d || p, kind: a, spinning: t }),
|
|
92
|
+
...r ? { href: r } : { type: E },
|
|
93
|
+
...c
|
|
94
|
+
}, { t: D } = M(), S = l && (l === "ai-color" ? (
|
|
95
|
+
// ai-color can only be used on default or link buttons for contrast/accessibility reasons
|
|
96
|
+
// if the user tries to use ai-color on a non-approved button swap it out for the regular ai icon
|
|
97
|
+
/* @__PURE__ */ i.createElement(
|
|
98
|
+
g,
|
|
99
|
+
{
|
|
100
|
+
className: w,
|
|
101
|
+
icon: a === "default" || a === "link" ? "ai-color" : "ai",
|
|
102
|
+
size: "sm",
|
|
103
|
+
"aria-hidden": "true",
|
|
104
|
+
"data-testid": `${u}__${l}-icon`
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
) : /* @__PURE__ */ i.createElement(
|
|
108
|
+
g,
|
|
109
|
+
{
|
|
110
|
+
className: w,
|
|
111
|
+
icon: l,
|
|
112
|
+
size: "sm",
|
|
113
|
+
"aria-hidden": "true",
|
|
114
|
+
"data-testid": `${u}__${l}-icon`
|
|
115
|
+
}
|
|
116
|
+
));
|
|
117
|
+
let h;
|
|
118
|
+
a === "default" || a === "icon" || a === "link" ? h = "dark" : h = "light";
|
|
119
|
+
const B = t && /* @__PURE__ */ i.createElement(
|
|
120
|
+
I,
|
|
121
|
+
{
|
|
122
|
+
color: h,
|
|
123
|
+
className: J({ spinning: t }),
|
|
124
|
+
title: b || D("button.spinningTitle", { defaultValue: "Loading..." }),
|
|
125
|
+
"data-testid": `${u}__spinner`
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
return /* @__PURE__ */ i.createElement(L, null, /* @__PURE__ */ i.createElement(
|
|
129
|
+
"div",
|
|
130
|
+
{
|
|
131
|
+
className: T(
|
|
132
|
+
W({
|
|
133
|
+
disabled: d || p,
|
|
134
|
+
kind: a,
|
|
135
|
+
spinning: t
|
|
136
|
+
}),
|
|
137
|
+
n
|
|
138
|
+
)
|
|
139
|
+
},
|
|
140
|
+
/* @__PURE__ */ i.createElement(P, { ...R }, S, s ? /* @__PURE__ */ i.createElement("span", null, s) : "", B)
|
|
141
|
+
));
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
z.set(Q, {
|
|
145
|
+
name: "Button",
|
|
146
|
+
props: {
|
|
147
|
+
disabled: "boolean",
|
|
148
|
+
href: "string",
|
|
149
|
+
icon: "IconName",
|
|
150
|
+
kind: {
|
|
151
|
+
type: '"default" | "link" | "icon" | "confirm" | "delete" | "key"',
|
|
152
|
+
default: '"default"'
|
|
153
|
+
},
|
|
154
|
+
spinning: "boolean",
|
|
155
|
+
spinningTitle: "string",
|
|
156
|
+
type: { type: '"button" | "submit"', default: '"button"' },
|
|
157
|
+
as: "button | a",
|
|
158
|
+
onClick: "() => void",
|
|
159
|
+
onPress: "() => void",
|
|
160
|
+
children: "ReactNode",
|
|
161
|
+
className: "string",
|
|
162
|
+
isDisabled: "boolean",
|
|
163
|
+
style: "CSSProperties"
|
|
164
|
+
},
|
|
165
|
+
panellable: !0
|
|
166
|
+
});
|
|
167
|
+
export {
|
|
168
|
+
Q as Button
|
|
169
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(o,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("@sps-woodland/core"),require("@react-aria/button"),require("@react-aria/interactions"),require("@react-aria/utils"),require("@react-aria/focus"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@react-aria/button","@react-aria/interactions","@react-aria/utils","@react-aria/focus","@spscommerce/i18n"],c):(o=typeof globalThis<"u"?globalThis:o||self,c(o.Buttons={},o.React,o.core,o.button$1,o.interactions,o.utils,o.focus,o.i18n))})(this,(function(o,c,u,P,j,N,V,C){"use strict";function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const _ in e)if(_!=="default"){const s=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(n,_,s.get?s:{enumerable:!0,get:()=>e[_]})}}return n.default=e,Object.freeze(n)}const t=E(c);function S(e,n,_){return n in e?Object.defineProperty(e,n,{value:_,enumerable:!0,configurable:!0,writable:!0}):e[n]=_,e}function m(e,n){var _=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),_.push.apply(_,s)}return _}function k(e){for(var n=1;n<arguments.length;n++){var _=arguments[n]!=null?arguments[n]:{};n%2?m(Object(_),!0).forEach(function(s){S(e,s,_[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(_)):m(Object(_)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(_,s))})}return e}var R=(e,n,_)=>{for(var s of Object.keys(e)){var a;if(e[s]!==((a=n[s])!==null&&a!==void 0?a:_[s]))return!1}return!0},h=e=>n=>{var _=e.defaultClassName,s=k(k({},e.defaultVariants),n);for(var a in s){var p,f=(p=s[a])!==null&&p!==void 0?p:e.defaultVariants[a];if(f!=null){var i=f;typeof i=="boolean"&&(i=i===!0?"true":"false");var l=e.variantClassNames[a][i];l&&(_+=" "+l)}}for(var[r,d]of e.compoundVariants)R(r,s,e.defaultVariants)&&(_+=" "+d);return _},D=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq1",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq2"},kind:{default:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3",link:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4",confirm:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5",delete:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6",key:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7",icon:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8"},spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqa"}},defaultVariants:{disabled:!1,kind:"default",spinning:!1},compoundVariants:[[{kind:"icon",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb"],[{kind:"default",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc"],[{kind:"confirm",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd"],[{kind:"delete",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe"],[{kind:"key",spinning:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf"],[{disabled:!0,spinning:!1},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg"],[{kind:"link",disabled:!0},"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh"]]}),T=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqk"},kind:{icon:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieql",default:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqm",delete:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqn",key:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqo",confirm:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqp",link:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq"},spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqs"}},defaultVariants:{disabled:!1,kind:"default",spinning:!1},compoundVariants:[]}),B=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt",variantClassNames:{spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqv"},kind:{icon:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw",default:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqx",delete:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqy",key:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieqz",confirm:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq10",link:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11"}},defaultVariants:{spinning:!1},compoundVariants:[]}),w="pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12",I=h({defaultClassName:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13",variantClassNames:{spinning:{true:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14",false:"pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15"}},defaultVariants:{spinning:!1},compoundVariants:[]});const b=t.forwardRef(({as:e,onClick:n,onPress:_,children:s,className:a,isDisabled:p,disabled:f,href:i,icon:l,kind:r="default",spinning:d,spinningTitle:z,title:M,...q},x)=>{const F=e??(i?"a":"button"),y={onPress:_??n,isDisabled:!!(d||f||p),...q},{"data-testid":v}=q,H=t.useRef(null),O=x||H,{buttonProps:L}=P.useButton(y,O),{hoverProps:$}=j.useHover({isDisabled:y.isDisabled}),{type:A,...K}=L,W={...N.mergeProps(K,$),ref:O,title:M,className:i?B({spinning:d,kind:r}):T({disabled:p||f,kind:r,spinning:d}),...i?{href:i}:{type:A},...q},{t:G}=C.useWoodlandLanguage(),J=l&&(l==="ai-color"?t.createElement(u.Icon,{className:w,icon:r==="default"||r==="link"?"ai-color":"ai",size:"sm","aria-hidden":"true","data-testid":`${v}__${l}-icon`}):t.createElement(u.Icon,{className:w,icon:l,size:"sm","aria-hidden":"true","data-testid":`${v}__${l}-icon`}));let g;r==="default"||r==="icon"||r==="link"?g="dark":g="light";const Q=d&&t.createElement(u.Spinner,{color:g,className:I({spinning:d}),title:z||G("button.spinningTitle",{defaultValue:"Loading..."}),"data-testid":`${v}__spinner`});return t.createElement(V.FocusRing,null,t.createElement("div",{className:u.cl(D({disabled:p||f,kind:r,spinning:d}),a)},t.createElement(F,{...W},J,s?t.createElement("span",null,s):"",Q)))});u.Metadata.set(b,{name:"Button",props:{disabled:"boolean",href:"string",icon:"IconName",kind:{type:'"default" | "link" | "icon" | "confirm" | "delete" | "key"',default:'"default"'},spinning:"boolean",spinningTitle:"string",type:{type:'"button" | "submit"',default:'"button"'},as:"button | a",onClick:"() => void",onPress:"() => void",children:"ReactNode",className:"string",isDisabled:"boolean",style:"CSSProperties"},panellable:!0}),o.Button=b,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq0{border-width:.0625rem;border-style:solid;border-radius:.25rem;cursor:pointer;display:inline-block;font-size:.75rem;font-weight:600;line-height:.875rem;padding:0;position:relative;vertical-align:middle}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3{background:#e9e9ea;border-color:#d2d4d4;color:#4b5356}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq3:hover{background:#d2d4d4}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4{background:none transparent;border:0;color:#007db8}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq4:hover{background:none transparent;color:#09638d;text-decoration:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5{background:#007db8;border-color:#09638d;color:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq5:hover{background:#09638d}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6{background:#de002e;border-color:#a30d2d;color:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq6:hover{background:#a30d2d}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7{background:#4b5356;border-color:#1f282c;color:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq7:hover{background:#1f282c}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8{background:transparent;border-color:transparent;color:#4b5356}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq8:hover{background-color:#d2d4d4;border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq9{color:transparent!important;cursor:not-allowed}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb{background:#e9e9ea;border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqb:hover,.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqc:hover{background:#e9e9ea}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqd:hover{background:#007db8}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqe:hover{background:#de002e}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqf:hover{background:#4b5356}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg{background:#fff!important;border-color:#d2d4d4!important;color:#717779!important;cursor:not-allowed}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqg:hover{background:#fff}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqh{background:none transparent!important}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi{background:none transparent;border:0 none;color:inherit;display:inline-flex;align-items:center;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;text-decoration:none;padding:.5rem 1rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqi:hover{text-decoration:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqj{cursor:not-allowed!important}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieql{padding:.25rem .5rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqq{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqr{cursor:not-allowed!important}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt{background:none transparent;border:0 none;color:inherit;cursor:inherit;display:inline-flex;align-items:center;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:.5rem 1rem;text-decoration:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqt:hover{text-decoration:none;color:inherit}.pkg_sps-woodland_core__version_8_53_6__hash_1flqiequ{cursor:not-allowed}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieqw{padding:.25rem .5rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq11{padding-top:.5rem;padding-bottom:.5rem;padding-right:0;padding-left:0}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq12:not(:last-child){margin-right:.5rem}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13{left:50%;margin:-.875rem -.4375rem;position:absolute}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq14{cursor:not-allowed;display:inline}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq15{display:none}.pkg_sps-woodland_core__version_8_53_6__hash_1flqieq13>i{border-width:.125rem;height:.875rem;width:.875rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card/Card.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAWf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/cards/card/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAY,MAAM,oBAAoB,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAqC9D"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Metadata as t, selectChildren as p, useChildTestIdAttrBuilder as C, cl as l, addProps as f, Content as u } from "@sps-woodland/core";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { CardFooter as b } from "../card-footer/CardFooter.js";
|
|
4
|
+
import { CardHeader as y } from "../card-header/CardHeader.js";
|
|
5
|
+
import { card as h } from "./Card.ve.js";
|
|
6
|
+
function x({
|
|
7
|
+
children: n,
|
|
8
|
+
className: d,
|
|
9
|
+
...e
|
|
10
|
+
}) {
|
|
11
|
+
const [
|
|
12
|
+
m,
|
|
13
|
+
[o],
|
|
14
|
+
s,
|
|
15
|
+
c
|
|
16
|
+
] = p(n, [
|
|
17
|
+
{ type: y },
|
|
18
|
+
{
|
|
19
|
+
custom: (r) => t.isWoodlandComponent(r) && t.get(r).name === "Tabs"
|
|
20
|
+
},
|
|
21
|
+
{ type: b }
|
|
22
|
+
]), i = C(e);
|
|
23
|
+
return /* @__PURE__ */ a.createElement("div", { className: l(h, d), ...e }, m, o ? f(o, { context: "container" }) : /* @__PURE__ */ a.createElement(u, { ...i("body") }, c), s);
|
|
24
|
+
}
|
|
25
|
+
t.set(x, { name: "Card" });
|
|
26
|
+
export {
|
|
27
|
+
x as Card
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFooter.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-footer/CardFooter.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAIrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../src/cards/card-footer/CardFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Metadata as o, CapContent as a, cl as m } from "@sps-woodland/core";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { cardFooter as c } from "./CardFooter.ve.js";
|
|
4
|
+
function p({
|
|
5
|
+
children: t,
|
|
6
|
+
className: r = "",
|
|
7
|
+
...e
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ n.createElement(a, { className: m(c, r), ...e }, t);
|
|
10
|
+
}
|
|
11
|
+
o.set(p, { name: "CardFooter" });
|
|
12
|
+
export {
|
|
13
|
+
p as CardFooter
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-header/CardHeader.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAIrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../src/cards/card-header/CardHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Metadata as t, CapContent as m, cl as o } from "@sps-woodland/core";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cardHeader as n } from "./CardHeader.ve.js";
|
|
4
|
+
function c({
|
|
5
|
+
children: e,
|
|
6
|
+
className: a = "",
|
|
7
|
+
...r
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ d.createElement(m, { className: o(n, a), ...r }, e);
|
|
10
|
+
}
|
|
11
|
+
t.set(c, { name: "CardHeader" });
|
|
12
|
+
export {
|
|
13
|
+
c as CardHeader
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTitle.css.d.ts","sourceRoot":"","sources":["../../../src/cards/card-title/CardTitle.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,QAEpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../src/cards/card-title/CardTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAM9D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Metadata as r, CapContentTitle as m, cl as o } from "@sps-woodland/core";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { cardTitle as l } from "./CardTitle.ve.js";
|
|
4
|
+
function n({
|
|
5
|
+
children: t,
|
|
6
|
+
className: e = "",
|
|
7
|
+
...a
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ i.createElement(m, { className: o(l, e), ...a }, t);
|
|
10
|
+
}
|
|
11
|
+
r.set(n, { name: "CardTitle" });
|
|
12
|
+
export {
|
|
13
|
+
n as CardTitle
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cards/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|