@sps-woodland/core 8.50.2 → 8.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action-bar/action-bar/ActionBar.css.d.ts +10 -0
- package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +1 -0
- package/lib/action-bar/action-bar/ActionBar.css.js +12 -0
- package/lib/action-bar/action-bar/ActionBar.d.ts +9 -0
- package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -0
- package/lib/action-bar/action-bar/ActionBar.js +61 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +4 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +1 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +24 -0
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/action-bar/index.d.ts.map +1 -0
- package/lib/action-bar/index.js +79 -0
- package/lib/action-bar/index.umd.cjs +1 -0
- package/lib/action-bar/style.css +1 -0
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts +91 -0
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/AddToList.css.js +25 -0
- package/lib/add-to-list/add-to-list/AddToList.d.ts +31 -0
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/AddToList.js +284 -0
- package/lib/add-to-list/add-to-list/ItemsList.d.ts +17 -0
- package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/ItemsList.js +67 -0
- package/lib/add-to-list/add-to-list/ListItem.d.ts +8 -0
- package/lib/add-to-list/add-to-list/ListItem.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/ListItem.js +51 -0
- package/lib/add-to-list/index.d.ts +2 -0
- package/lib/add-to-list/index.d.ts.map +1 -0
- package/lib/add-to-list/index.js +441 -0
- package/lib/add-to-list/index.umd.cjs +1 -0
- package/lib/add-to-list/style.css +1 -0
- package/lib/buttons/button/Button.css.d.ts +15 -0
- package/lib/buttons/button/Button.css.d.ts.map +1 -0
- package/lib/buttons/button/Button.css.js +10 -0
- package/lib/buttons/button/Button.d.ts +19 -0
- package/lib/buttons/button/Button.d.ts.map +1 -0
- package/lib/buttons/button/Button.js +116 -0
- package/lib/buttons/index.d.ts +2 -0
- package/lib/buttons/index.d.ts.map +1 -0
- package/lib/buttons/index.js +169 -0
- package/lib/buttons/index.umd.cjs +1 -0
- package/lib/buttons/style.css +1 -0
- package/lib/cards/card/Card.css.d.ts +2 -0
- package/lib/cards/card/Card.css.d.ts.map +1 -0
- package/lib/cards/card/Card.css.js +5 -0
- package/lib/cards/card/Card.d.ts +4 -0
- package/lib/cards/card/Card.d.ts.map +1 -0
- package/lib/cards/card/Card.js +28 -0
- package/lib/cards/card-footer/CardFooter.css.d.ts +2 -0
- package/lib/cards/card-footer/CardFooter.css.d.ts.map +1 -0
- package/lib/cards/card-footer/CardFooter.css.js +5 -0
- package/lib/cards/card-footer/CardFooter.d.ts +4 -0
- package/lib/cards/card-footer/CardFooter.d.ts.map +1 -0
- package/lib/cards/card-footer/CardFooter.js +14 -0
- package/lib/cards/card-header/CardHeader.css.d.ts +2 -0
- package/lib/cards/card-header/CardHeader.css.d.ts.map +1 -0
- package/lib/cards/card-header/CardHeader.css.js +5 -0
- package/lib/cards/card-header/CardHeader.d.ts +4 -0
- package/lib/cards/card-header/CardHeader.d.ts.map +1 -0
- package/lib/cards/card-header/CardHeader.js +14 -0
- package/lib/cards/card-title/CardTitle.css.d.ts +2 -0
- package/lib/cards/card-title/CardTitle.css.d.ts.map +1 -0
- package/lib/cards/card-title/CardTitle.css.js +5 -0
- package/lib/cards/card-title/CardTitle.d.ts +4 -0
- package/lib/cards/card-title/CardTitle.d.ts.map +1 -0
- package/lib/cards/card-title/CardTitle.js +14 -0
- package/lib/cards/index.d.ts +5 -0
- package/lib/cards/index.d.ts.map +1 -0
- package/lib/cards/index.js +56 -0
- package/lib/cards/index.umd.cjs +1 -0
- package/lib/cards/style.css +1 -0
- package/lib/column-manager/column-manager/ColumnManager.d.ts +23 -0
- package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -0
- package/lib/column-manager/column-manager/ColumnManager.js +114 -0
- package/lib/column-manager/column-manager/useColumnManager.d.ts +27 -0
- package/lib/column-manager/column-manager/useColumnManager.d.ts.map +1 -0
- package/lib/column-manager/column-manager/useColumnManager.js +49 -0
- package/lib/column-manager/index.d.ts +3 -0
- package/lib/column-manager/index.d.ts.map +1 -0
- package/lib/column-manager/index.js +6 -0
- package/lib/components/app-root/AppRoot.css.d.ts +2 -1
- package/lib/components/app-root/AppRoot.css.d.ts.map +1 -0
- package/lib/components/app-root/AppRoot.d.ts +1 -0
- package/lib/components/app-root/AppRoot.d.ts.map +1 -0
- package/lib/components/box/Box.d.ts +1 -0
- package/lib/components/box/Box.d.ts.map +1 -0
- package/lib/components/cap-content/CapContent.css.d.ts +1 -0
- package/lib/components/cap-content/CapContent.css.d.ts.map +1 -0
- package/lib/components/cap-content/CapContent.d.ts +1 -0
- package/lib/components/cap-content/CapContent.d.ts.map +1 -0
- package/lib/components/cap-content/CapContentTitle.d.ts +1 -0
- package/lib/components/cap-content/CapContentTitle.d.ts.map +1 -0
- package/lib/components/content/Content.css.d.ts +1 -0
- package/lib/components/content/Content.css.d.ts.map +1 -0
- package/lib/components/content/Content.d.ts +1 -0
- package/lib/components/content/Content.d.ts.map +1 -0
- package/lib/components/icon/Icon.css.d.ts +2 -1
- package/lib/components/icon/Icon.css.d.ts.map +1 -0
- package/lib/components/icon/Icon.d.ts +1 -0
- package/lib/components/icon/Icon.d.ts.map +1 -0
- package/lib/components/icon/icons/index.d.ts +1 -0
- package/lib/components/icon/icons/index.d.ts.map +1 -0
- package/lib/components/input-panel/InputPanel.css.d.ts +1 -0
- package/lib/components/input-panel/InputPanel.css.d.ts.map +1 -0
- package/lib/components/input-panel/InputPanel.d.ts +1 -0
- package/lib/components/input-panel/InputPanel.d.ts.map +1 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +1 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.css.d.ts +2 -1
- package/lib/components/spinner/Spinner.css.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.d.ts +1 -0
- package/lib/components/spinner/Spinner.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.examples.d.ts +1 -0
- package/lib/components/spinner/Spinner.examples.d.ts.map +1 -0
- package/lib/components/title/Title.css.d.ts +2 -1
- package/lib/components/title/Title.css.d.ts.map +1 -0
- package/lib/components/title/Title.d.ts +1 -0
- package/lib/components/title/Title.d.ts.map +1 -0
- package/lib/components/vertical-rule/VerticalRule.css.d.ts +1 -0
- package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +1 -0
- package/lib/components/vertical-rule/VerticalRule.d.ts +1 -0
- package/lib/components/vertical-rule/VerticalRule.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.css.d.ts +150 -0
- package/lib/content-row/content-row/ContentRow.css.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.css.js +19 -0
- package/lib/content-row/content-row/ContentRow.d.ts +27 -0
- package/lib/content-row/content-row/ContentRow.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.js +175 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +51 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +1 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.js +8 -0
- package/lib/content-row/content-row-col/ContentRowCol.d.ts +11 -0
- package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -0
- package/lib/content-row/content-row-col/ContentRowCol.js +50 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +6 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +25 -0
- package/lib/content-row/index.d.ts +5 -0
- package/lib/content-row/index.d.ts.map +1 -0
- package/lib/content-row/index.js +336 -0
- package/lib/content-row/index.umd.cjs +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +9 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +6 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +6 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +48 -0
- package/lib/content-row/style.css +1 -0
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts +59 -0
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +1 -0
- package/lib/content-tiles/content-tile/ContentTile.css.js +15 -0
- package/lib/content-tiles/content-tile/ContentTile.d.ts +16 -0
- package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -0
- package/lib/content-tiles/content-tile/ContentTile.js +62 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +3 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +1 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.js +6 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +3 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.js +14 -0
- package/lib/content-tiles/index.d.ts +3 -0
- package/lib/content-tiles/index.d.ts.map +1 -0
- package/lib/content-tiles/index.js +124 -0
- package/lib/content-tiles/index.umd.cjs +1 -0
- package/lib/content-tiles/style.css +1 -0
- package/lib/core.css +1 -0
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts +74 -0
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +1 -0
- package/lib/dropdowns/dropdown/Dropdown.css.js +9 -0
- package/lib/dropdowns/dropdown/Dropdown.d.ts +16 -0
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -0
- package/lib/dropdowns/dropdown/Dropdown.js +70 -0
- package/lib/dropdowns/index.d.ts +4 -0
- package/lib/dropdowns/index.d.ts.map +1 -0
- package/lib/dropdowns/index.js +180 -0
- package/lib/dropdowns/index.umd.cjs +1 -0
- package/lib/dropdowns/option-list/Option.css.d.ts +3 -0
- package/lib/dropdowns/option-list/Option.css.d.ts.map +1 -0
- package/lib/dropdowns/option-list/Option.css.js +6 -0
- package/lib/dropdowns/option-list/Option.d.ts +5 -0
- package/lib/dropdowns/option-list/Option.d.ts.map +1 -0
- package/lib/dropdowns/option-list/Option.js +22 -0
- package/lib/dropdowns/option-list/OptionList.css.d.ts +3 -0
- package/lib/dropdowns/option-list/OptionList.css.d.ts.map +1 -0
- package/lib/dropdowns/option-list/OptionList.css.js +6 -0
- package/lib/dropdowns/option-list/OptionList.d.ts +11 -0
- package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -0
- package/lib/dropdowns/option-list/OptionList.js +46 -0
- package/lib/dropdowns/style.css +1 -0
- package/lib/editable-table/EditableTable.d.ts +6 -0
- package/lib/editable-table/EditableTable.d.ts.map +1 -0
- package/lib/editable-table/EditableTable.js +71 -0
- package/lib/editable-table/index.d.ts +2 -0
- package/lib/editable-table/index.d.ts.map +1 -0
- package/lib/editable-table/index.js +4 -0
- package/lib/editable-table/style.css +157 -0
- package/lib/examples.d.ts +1 -0
- package/lib/examples.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.css.d.ts +12 -0
- package/lib/feedback-block/FeedbackBlock.css.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.css.js +8 -0
- package/lib/feedback-block/FeedbackBlock.d.ts +10 -0
- package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.js +38 -0
- package/lib/feedback-block/index.d.ts +2 -0
- package/lib/feedback-block/index.d.ts.map +1 -0
- package/lib/feedback-block/index.js +91 -0
- package/lib/feedback-block/index.umd.cjs +1 -0
- package/lib/feedback-block/style.css +1 -0
- package/lib/file-upload/file-upload/FileUpload.css.d.ts +95 -0
- package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.css.js +19 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts +20 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.js +197 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts +98 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +1 -0
- package/lib/file-upload/file-upload/mime-type.enum.js +106 -0
- package/lib/file-upload/index.d.ts +2 -0
- package/lib/file-upload/index.d.ts.map +1 -0
- package/lib/file-upload/index.js +352 -0
- package/lib/file-upload/index.umd.cjs +1 -0
- package/lib/file-upload/style.css +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +37 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.js +10 -0
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts +9 -0
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.js +35 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +2 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +5 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +4 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +16 -0
- package/lib/filter-tiles/index.d.ts +3 -0
- package/lib/filter-tiles/index.d.ts.map +1 -0
- package/lib/filter-tiles/index.js +100 -0
- package/lib/filter-tiles/index.umd.cjs +1 -0
- package/lib/filter-tiles/style.css +1 -0
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts +15 -0
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +1 -0
- package/lib/focused-task/focused-task/FocusedTask.css.js +13 -0
- package/lib/focused-task/focused-task/FocusedTask.d.ts +17 -0
- package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -0
- package/lib/focused-task/focused-task/FocusedTask.js +77 -0
- package/lib/focused-task/focused-task/useFocusedTask.d.ts +17 -0
- package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +1 -0
- package/lib/focused-task/focused-task/useFocusedTask.js +19 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +4 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +1 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +14 -0
- package/lib/focused-task/index.d.ts +4 -0
- package/lib/focused-task/index.d.ts.map +1 -0
- package/lib/focused-task/index.js +154 -0
- package/lib/focused-task/index.umd.cjs +1 -0
- package/lib/focused-task/style.css +1 -0
- package/lib/growler/Growler.css.d.ts +18 -0
- package/lib/growler/Growler.css.d.ts.map +1 -0
- package/lib/growler/Growler.css.js +13 -0
- package/lib/growler/Growler.d.ts +23 -0
- package/lib/growler/Growler.d.ts.map +1 -0
- package/lib/growler/Growler.js +93 -0
- package/lib/growler/GrowlerListProvider.d.ts +14 -0
- package/lib/growler/GrowlerListProvider.d.ts.map +1 -0
- package/lib/growler/GrowlerListProvider.js +42 -0
- package/lib/growler/Sonner.css.d.ts +17 -0
- package/lib/growler/Sonner.css.d.ts.map +1 -0
- package/lib/growler/Sonner.css.js +13 -0
- package/lib/growler/index.d.ts +4 -0
- package/lib/growler/index.d.ts.map +1 -0
- package/lib/growler/index.js +267 -0
- package/lib/growler/index.umd.cjs +1 -0
- package/lib/growler/sonner.d.ts +87 -0
- package/lib/growler/sonner.d.ts.map +1 -0
- package/lib/growler/sonner.js +86 -0
- package/lib/growler/style.css +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +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.css.js +14 -0
- package/lib/insight-card/InsightCard.d.ts +15 -0
- package/lib/insight-card/InsightCard.d.ts.map +1 -0
- package/lib/insight-card/InsightCard.js +69 -0
- package/lib/insight-card/InsightCardSet.d.ts +3 -0
- package/lib/insight-card/InsightCardSet.d.ts.map +1 -0
- package/lib/insight-card/InsightCardSet.js +13 -0
- package/lib/insight-card/index.d.ts +3 -0
- package/lib/insight-card/index.d.ts.map +1 -0
- package/lib/insight-card/index.js +130 -0
- package/lib/insight-card/index.umd.cjs +1 -0
- package/lib/insight-card/style.css +1 -0
- package/lib/key-value-set/index.d.ts +3 -0
- package/lib/key-value-set/index.d.ts.map +1 -0
- package/lib/key-value-set/index.js +95 -0
- package/lib/key-value-set/index.umd.cjs +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +7 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.js +6 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +6 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.js +23 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +14 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +8 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +7 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +23 -0
- package/lib/key-value-set/style.css +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +11 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.js +9 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +16 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.js +56 -0
- package/lib/list-bar/index.d.ts +8 -0
- package/lib/list-bar/index.d.ts.map +1 -0
- package/lib/list-bar/index.js +317 -0
- package/lib/list-bar/index.umd.cjs +1 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +4 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.js +20 -0
- package/lib/list-bar/list-bar/ListBar.css.d.ts +39 -0
- package/lib/list-bar/list-bar/ListBar.css.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBar.css.js +18 -0
- package/lib/list-bar/list-bar/ListBar.d.ts +20 -0
- package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBar.js +123 -0
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +6 -0
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSearch.js +23 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +4 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +13 -0
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +16 -0
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSortBy.js +40 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +10 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +1 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +14 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +11 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +30 -0
- package/lib/list-bar/style.css +1 -0
- package/lib/manifest.d.ts +1 -0
- package/lib/manifest.d.ts.map +1 -0
- package/lib/matrix/index.d.ts +7 -0
- package/lib/matrix/index.d.ts.map +1 -0
- package/lib/matrix/index.js +95 -0
- package/lib/matrix/index.umd.cjs +1 -0
- package/lib/matrix/matrix/Matrix.css.d.ts +5 -0
- package/lib/matrix/matrix/Matrix.css.d.ts.map +1 -0
- package/lib/matrix/matrix/Matrix.css.js +8 -0
- package/lib/matrix/matrix/Matrix.d.ts +6 -0
- package/lib/matrix/matrix/Matrix.d.ts.map +1 -0
- package/lib/matrix/matrix/Matrix.js +28 -0
- package/lib/matrix/matrix-body/MatrixBody.d.ts +4 -0
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -0
- package/lib/matrix/matrix-body/MatrixBody.js +15 -0
- package/lib/matrix/matrix-cell/MatrixCell.d.ts +4 -0
- package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +1 -0
- package/lib/matrix/matrix-cell/MatrixCell.js +19 -0
- package/lib/matrix/matrix-head/MatrixHead.d.ts +4 -0
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -0
- package/lib/matrix/matrix-head/MatrixHead.js +15 -0
- package/lib/matrix/matrix-header/MatrixHeader.d.ts +16 -0
- package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +1 -0
- package/lib/matrix/matrix-header/MatrixHeader.js +25 -0
- package/lib/matrix/matrix-row/MatrixRow.d.ts +4 -0
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -0
- package/lib/matrix/matrix-row/MatrixRow.js +15 -0
- package/lib/matrix/style.css +1 -0
- package/lib/metadata/metadata.d.ts +1 -0
- package/lib/metadata/metadata.d.ts.map +1 -0
- package/lib/modal/index.d.ts +4 -0
- package/lib/modal/index.d.ts.map +1 -0
- package/lib/modal/index.js +197 -0
- package/lib/modal/index.umd.cjs +1 -0
- package/lib/modal/modal/Modal.css.d.ts +20 -0
- package/lib/modal/modal/Modal.css.d.ts.map +1 -0
- package/lib/modal/modal/Modal.css.js +14 -0
- package/lib/modal/modal/Modal.d.ts +27 -0
- package/lib/modal/modal/Modal.d.ts.map +1 -0
- package/lib/modal/modal/Modal.js +113 -0
- package/lib/modal/modal/useModal.d.ts +17 -0
- package/lib/modal/modal/useModal.d.ts.map +1 -0
- package/lib/modal/modal/useModal.js +26 -0
- package/lib/modal/modal-footer/ModalFooter.d.ts +4 -0
- package/lib/modal/modal-footer/ModalFooter.d.ts.map +1 -0
- package/lib/modal/modal-footer/ModalFooter.js +14 -0
- package/lib/modal/style.css +1 -0
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +57 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +11 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +4 -0
- package/lib/page-title/index.d.ts +3 -0
- package/lib/page-title/index.d.ts.map +1 -0
- package/lib/page-title/index.js +32 -0
- package/lib/page-title/index.umd.cjs +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +3 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.js +6 -0
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts +4 -0
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.js +19 -0
- package/lib/page-title/page-title/PageTitle.css.d.ts +4 -0
- package/lib/page-title/page-title/PageTitle.css.d.ts.map +1 -0
- package/lib/page-title/page-title/PageTitle.css.js +7 -0
- package/lib/page-title/page-title/PageTitle.d.ts +4 -0
- package/lib/page-title/page-title/PageTitle.d.ts.map +1 -0
- package/lib/page-title/page-title/PageTitle.js +17 -0
- package/lib/page-title/style.css +1 -0
- package/lib/photo/index.d.ts +3 -0
- package/lib/photo/index.d.ts.map +1 -0
- package/lib/photo/index.js +179 -0
- package/lib/photo/index.umd.cjs +1 -0
- package/lib/photo/photo/Photo.css.d.ts +12 -0
- package/lib/photo/photo/Photo.css.d.ts.map +1 -0
- package/lib/photo/photo/Photo.css.js +8 -0
- package/lib/photo/photo/Photo.d.ts +11 -0
- package/lib/photo/photo/Photo.d.ts.map +1 -0
- package/lib/photo/photo/Photo.js +83 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +13 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +1 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.js +10 -0
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +4 -0
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -0
- package/lib/photo/photo-carousel/PhotoCarousel.js +48 -0
- package/lib/photo/style.css +1 -0
- package/lib/product-bar/hooks/usePriorityPlus.d.ts +33 -0
- package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +1 -0
- package/lib/product-bar/hooks/usePriorityPlus.js +106 -0
- package/lib/product-bar/index.d.ts +5 -0
- package/lib/product-bar/index.d.ts.map +1 -0
- package/lib/product-bar/index.js +397 -0
- package/lib/product-bar/index.umd.cjs +1 -0
- package/lib/product-bar/product-bar/ProductBar.css.d.ts +43 -0
- package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +1 -0
- package/lib/product-bar/product-bar/ProductBar.css.js +15 -0
- package/lib/product-bar/product-bar/ProductBar.d.ts +14 -0
- package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -0
- package/lib/product-bar/product-bar/ProductBar.js +107 -0
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts +12 -0
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -0
- package/lib/product-bar/product-bar-name/ProductBarName.js +33 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +23 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +1 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +9 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +13 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +1 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +71 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +16 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +1 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +24 -0
- package/lib/product-bar/slack-link/SlackLink.css.d.ts +3 -0
- package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +1 -0
- package/lib/product-bar/slack-link/SlackLink.css.js +6 -0
- package/lib/product-bar/slack-link/SlackLink.d.ts +6 -0
- package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -0
- package/lib/product-bar/slack-link/SlackLink.js +32 -0
- package/lib/product-bar/style.css +1 -0
- package/lib/product-bar-vertical/index.d.ts +5 -0
- package/lib/product-bar-vertical/index.d.ts.map +1 -0
- package/lib/product-bar-vertical/index.js +261 -0
- package/lib/product-bar-vertical/index.umd.cjs +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +78 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +24 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +8 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +62 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +9 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +44 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +15 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +91 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +10 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +30 -0
- package/lib/product-bar-vertical/style.css +1 -0
- package/lib/progress-indicators/index.d.ts +4 -0
- package/lib/progress-indicators/index.d.ts.map +1 -0
- package/lib/progress-indicators/index.js +264 -0
- package/lib/progress-indicators/index.umd.cjs +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +19 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.js +14 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +13 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.js +112 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +14 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +9 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +14 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +56 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +8 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.js +54 -0
- package/lib/progress-indicators/style.css +1 -0
- package/lib/rich-text-editor/index.d.ts +3 -0
- package/lib/rich-text-editor/index.d.ts.map +1 -0
- package/lib/rich-text-editor/index.js +588 -0
- package/lib/rich-text-editor/index.umd.cjs +13 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +13 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +35 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +16 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +7 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +11 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +38 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +15 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +9 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +8 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +81 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +2 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +20 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +2 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +22 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +14 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +28 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +6 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +94 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +7 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +37 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +15 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +214 -0
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +12 -0
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +10 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +13 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +3 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +16 -0
- package/lib/rich-text-editor/style.css +1 -0
- package/lib/scrollable-container/ScrollableContainer.css.d.ts +2 -0
- package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +1 -0
- package/lib/scrollable-container/ScrollableContainer.css.js +5 -0
- package/lib/scrollable-container/ScrollableContainer.d.ts +6 -0
- package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -0
- package/lib/scrollable-container/ScrollableContainer.js +29 -0
- package/lib/scrollable-container/index.d.ts +2 -0
- package/lib/scrollable-container/index.d.ts.map +1 -0
- package/lib/scrollable-container/index.js +29 -0
- package/lib/scrollable-container/index.umd.cjs +1 -0
- package/lib/scrollable-container/style.css +1 -0
- package/lib/side-nav/index.d.ts +5 -0
- package/lib/side-nav/index.d.ts.map +1 -0
- package/lib/side-nav/index.js +228 -0
- package/lib/side-nav/index.umd.cjs +1 -0
- package/lib/side-nav/side-nav/SideNav.css.d.ts +30 -0
- package/lib/side-nav/side-nav/SideNav.css.d.ts.map +1 -0
- package/lib/side-nav/side-nav/SideNav.css.js +17 -0
- package/lib/side-nav/side-nav/SideNav.d.ts +9 -0
- package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -0
- package/lib/side-nav/side-nav/SideNav.js +62 -0
- package/lib/side-nav/side-nav/navContext.d.ts +5 -0
- package/lib/side-nav/side-nav/navContext.d.ts.map +1 -0
- package/lib/side-nav/side-nav/navContext.js +8 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +4 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +1 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.js +17 -0
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts +25 -0
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -0
- package/lib/side-nav/side-nav-item/SideNavItem.js +84 -0
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts +7 -0
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +1 -0
- package/lib/side-nav/side-nav-section/SideNavSection.js +28 -0
- package/lib/side-nav/style.css +1 -0
- package/lib/sorting-header/caret/caret.css.d.ts +21 -0
- package/lib/sorting-header/caret/caret.css.d.ts.map +1 -0
- package/lib/sorting-header/caret/caret.css.js +6 -0
- package/lib/sorting-header/index.d.ts +3 -0
- package/lib/sorting-header/index.d.ts.map +1 -0
- package/lib/sorting-header/index.js +250 -0
- package/lib/sorting-header/index.umd.cjs +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +39 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.js +7 -0
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts +9 -0
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.js +126 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +35 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +6 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +12 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +77 -0
- package/lib/sorting-header/style.css +1 -0
- package/lib/style.css +1 -1
- package/lib/tabs/index.d.ts +4 -0
- package/lib/tabs/index.d.ts.map +1 -0
- package/lib/tabs/index.js +206 -0
- package/lib/tabs/index.umd.cjs +1 -0
- package/lib/tabs/style.css +1 -0
- package/lib/tabs/tab/Tab.css.d.ts +12 -0
- package/lib/tabs/tab/Tab.css.d.ts.map +1 -0
- package/lib/tabs/tab/Tab.css.js +7 -0
- package/lib/tabs/tab/Tab.d.ts +10 -0
- package/lib/tabs/tab/Tab.d.ts.map +1 -0
- package/lib/tabs/tab/Tab.js +28 -0
- package/lib/tabs/tab-panel/TabPanel.d.ts +9 -0
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -0
- package/lib/tabs/tab-panel/TabPanel.js +24 -0
- package/lib/tabs/tabs/Tabs.css.d.ts +30 -0
- package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.css.js +11 -0
- package/lib/tabs/tabs/Tabs.d.ts +6 -0
- package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.js +113 -0
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts +17 -0
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -0
- package/lib/tags/clickable-tag/ClickableTag.css.js +10 -0
- package/lib/tags/clickable-tag/ClickableTag.d.ts +13 -0
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -0
- package/lib/tags/clickable-tag/ClickableTag.js +72 -0
- package/lib/tags/index.d.ts +4 -0
- package/lib/tags/index.d.ts.map +1 -0
- package/lib/tags/index.js +189 -0
- package/lib/tags/index.umd.cjs +1 -0
- package/lib/tags/split-tag/SplitTag.css.d.ts +67 -0
- package/lib/tags/split-tag/SplitTag.css.d.ts.map +1 -0
- package/lib/tags/split-tag/SplitTag.css.js +10 -0
- package/lib/tags/split-tag/SplitTag.d.ts +14 -0
- package/lib/tags/split-tag/SplitTag.d.ts.map +1 -0
- package/lib/tags/split-tag/SplitTag.js +32 -0
- package/lib/tags/style.css +1 -0
- package/lib/tags/tag/Tag.css.d.ts +24 -0
- package/lib/tags/tag/Tag.css.d.ts.map +1 -0
- package/lib/tags/tag/Tag.css.js +7 -0
- package/lib/tags/tag/Tag.d.ts +11 -0
- package/lib/tags/tag/Tag.d.ts.map +1 -0
- package/lib/tags/tag/Tag.js +41 -0
- package/lib/types/table.d.ts +1 -0
- package/lib/types/table.d.ts.map +1 -0
- package/lib/utils/ChildrenFn.d.ts +1 -0
- package/lib/utils/ChildrenFn.d.ts.map +1 -0
- package/lib/utils/ComponentProps.d.ts +1 -0
- package/lib/utils/ComponentProps.d.ts.map +1 -0
- package/lib/utils/Provide.d.ts +1 -0
- package/lib/utils/Provide.d.ts.map +1 -0
- package/lib/utils/VariantDefinitions.d.ts +1 -0
- package/lib/utils/VariantDefinitions.d.ts.map +1 -0
- package/lib/utils/addClassName.d.ts +1 -0
- package/lib/utils/addClassName.d.ts.map +1 -0
- package/lib/utils/addProps.d.ts +1 -0
- package/lib/utils/addProps.d.ts.map +1 -0
- package/lib/utils/bindProps.d.ts +1 -0
- package/lib/utils/bindProps.d.ts.map +1 -0
- package/lib/utils/cl.d.ts +1 -0
- package/lib/utils/cl.d.ts.map +1 -0
- package/lib/utils/combineEventHandlers.d.ts +1 -0
- package/lib/utils/combineEventHandlers.d.ts.map +1 -0
- package/lib/utils/contentOf.d.ts +1 -0
- package/lib/utils/contentOf.d.ts.map +1 -0
- package/lib/utils/getScrollParent.d.ts +1 -0
- package/lib/utils/getScrollParent.d.ts.map +1 -0
- package/lib/utils/modChildren.d.ts +1 -0
- package/lib/utils/modChildren.d.ts.map +1 -0
- package/lib/utils/selectChildren.d.ts +1 -0
- package/lib/utils/selectChildren.d.ts.map +1 -0
- package/lib/utils/useChildTestIdAttrBuilder.d.ts +1 -0
- package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +1 -0
- package/lib/utils/useElementId.d.ts +1 -0
- package/lib/utils/useElementId.d.ts.map +1 -0
- package/lib/utils/usePatchReducer.d.ts +1 -0
- package/lib/utils/usePatchReducer.d.ts.map +1 -0
- package/lib/utils/usePortal.d.ts +1 -0
- package/lib/utils/usePortal.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.css.d.ts +41 -0
- package/lib/zero-state/ZeroState.css.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.css.js +12 -0
- package/lib/zero-state/ZeroState.d.ts +12 -0
- package/lib/zero-state/ZeroState.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.js +31 -0
- package/lib/zero-state/index.d.ts +2 -0
- package/lib/zero-state/index.d.ts.map +1 -0
- package/lib/zero-state/index.js +84 -0
- package/lib/zero-state/index.umd.cjs +1 -0
- package/lib/zero-state/style.css +1 -0
- package/package.json +755 -6
- package/vite.action-bar.config.mjs +40 -0
- package/vite.add-to-list.config.mjs +40 -0
- package/vite.buttons.config.mjs +41 -0
- package/vite.cards.config.mjs +40 -0
- package/vite.config.mjs +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 +246 -0
- package/vite.tabs.config.mjs +43 -0
- package/vite.tags.config.mjs +40 -0
- package/vite.zero-state.config.mjs +40 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { Metadata as l, cl as e } from "@sps-woodland/core";
|
|
3
|
+
import { matrixHeader as n, matrixHeaderIcon as s } from "../matrix/Matrix.css.js";
|
|
4
|
+
function c({
|
|
5
|
+
icon: a,
|
|
6
|
+
tooltip: r,
|
|
7
|
+
width: i,
|
|
8
|
+
className: p,
|
|
9
|
+
children: m,
|
|
10
|
+
"data-testid": o,
|
|
11
|
+
...d
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("th", { className: e(n), style: { width: `${i}` }, "data-testid": `${o}`, ...d }, m, /* @__PURE__ */ t.createElement("div", { className: e(s) }, a, r)));
|
|
14
|
+
}
|
|
15
|
+
l.set(c, {
|
|
16
|
+
name: "Matrix Header",
|
|
17
|
+
props: {
|
|
18
|
+
icon: "Icon",
|
|
19
|
+
tooltip: "SpsTooltip",
|
|
20
|
+
width: "string"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
c as MatrixHeader
|
|
25
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ComponentProps } from "@sps-woodland/core";
|
|
3
|
+
export declare function MatrixRow({ children, "data-testid": testId, ...rest }: ComponentProps<React.HTMLAttributes<HTMLTableRowElement>>): React.ReactElement;
|
|
4
|
+
//# sourceMappingURL=MatrixRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatrixRow.d.ts","sourceRoot":"","sources":["../../../src/matrix/matrix-row/MatrixRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAY,MAAM,oBAAoB,CAAC;AAE9D,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,aAAa,EAAE,MAAM,EACrB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAMhF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { Metadata as m } from "@sps-woodland/core";
|
|
3
|
+
function n({
|
|
4
|
+
children: e,
|
|
5
|
+
"data-testid": a,
|
|
6
|
+
...r
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("tr", { "data-testid": `${a}`, ...r }, e));
|
|
9
|
+
}
|
|
10
|
+
m.set(n, {
|
|
11
|
+
name: "Matrix Row"
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
n as MatrixRow
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_0__hash_6q9a8v0{width:100%;flex-direction:column;word-wrap:break-word;table-layout:fixed;overflow:hidden;border-radius:.125rem;font-size:.875rem}.pkg_sps-woodland_core__version_8_51_0__hash_6q9a8v1{background-color:#f3f4f4;border-color:#d2d4d4;border-style:solid;border-width:.0625rem;padding:.5rem;vertical-align:top;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_0__hash_6q9a8v2{border-style:solid;border-color:#d2d4d4;border-width:.0625rem;padding:.5rem;vertical-align:top}.pkg_sps-woodland_core__version_8_51_0__hash_6q9a8v3{float:right}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/metadata/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG;QAC9B,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC,CAAC;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,eAAsC,CAAC;AAErD,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG;IACjD,CAAC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ;wBACC,CAAC,OAAO,OAAO,GAAG,GAAG,IAAI,iBAAiB,CAAC,CAAC,CAAC;QAI7D,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,GAAG,yBAAyB;QAIxD,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,YAAY,yBAAyB,GAAG,IAAI;EAM7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { Metadata as B, cl as g, combineEventHandlers as O, useChildTestIdAttrBuilder as A, selectChildren as L, modChildren as q, Icon as G, contentOf as k } from "@sps-woodland/core";
|
|
2
|
+
import { Button as N } from "@sps-woodland/core/button";
|
|
3
|
+
import { useModalOverlay as J, useDialog as Q, Overlay as U, useOverlayTrigger as X } from "react-aria";
|
|
4
|
+
import * as r from "react";
|
|
5
|
+
import { useRef as Y } from "react";
|
|
6
|
+
import { useWoodlandLanguage as Z } from "@spscommerce/i18n";
|
|
7
|
+
import { useOverlayTriggerState as $ } from "react-stately";
|
|
8
|
+
function ee(e, s, o) {
|
|
9
|
+
return s in e ? Object.defineProperty(e, s, {
|
|
10
|
+
value: o,
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
configurable: !0,
|
|
13
|
+
writable: !0
|
|
14
|
+
}) : e[s] = o, e;
|
|
15
|
+
}
|
|
16
|
+
function P(e, s) {
|
|
17
|
+
var o = Object.keys(e);
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var _ = Object.getOwnPropertySymbols(e);
|
|
20
|
+
s && (_ = _.filter(function(a) {
|
|
21
|
+
return Object.getOwnPropertyDescriptor(e, a).enumerable;
|
|
22
|
+
})), o.push.apply(o, _);
|
|
23
|
+
}
|
|
24
|
+
return o;
|
|
25
|
+
}
|
|
26
|
+
function E(e) {
|
|
27
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
28
|
+
var o = arguments[s] != null ? arguments[s] : {};
|
|
29
|
+
s % 2 ? P(Object(o), !0).forEach(function(_) {
|
|
30
|
+
ee(e, _, o[_]);
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : P(Object(o)).forEach(function(_) {
|
|
32
|
+
Object.defineProperty(e, _, Object.getOwnPropertyDescriptor(o, _));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return e;
|
|
36
|
+
}
|
|
37
|
+
var se = (e, s, o) => {
|
|
38
|
+
for (var _ of Object.keys(e)) {
|
|
39
|
+
var a;
|
|
40
|
+
if (e[_] !== ((a = s[_]) !== null && a !== void 0 ? a : o[_]))
|
|
41
|
+
return !1;
|
|
42
|
+
}
|
|
43
|
+
return !0;
|
|
44
|
+
}, j = (e) => (s) => {
|
|
45
|
+
var o = e.defaultClassName, _ = E(E({}, e.defaultVariants), s);
|
|
46
|
+
for (var a in _) {
|
|
47
|
+
var t, i = (t = _[a]) !== null && t !== void 0 ? t : e.defaultVariants[a];
|
|
48
|
+
if (i != null) {
|
|
49
|
+
var l = i;
|
|
50
|
+
typeof l == "boolean" && (l = l === !0 ? "true" : "false");
|
|
51
|
+
var n = (
|
|
52
|
+
// @ts-expect-error
|
|
53
|
+
e.variantClassNames[a][l]
|
|
54
|
+
);
|
|
55
|
+
n && (o += " " + n);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
for (var [c, u] of e.compoundVariants)
|
|
59
|
+
se(c, _, e.defaultVariants) && (o += " " + u);
|
|
60
|
+
return o;
|
|
61
|
+
}, oe = j({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem1", delete: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem2", failure: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem3", success: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem4", warning: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem6", form: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem8", md: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem9", lg: "pkg_sps-woodland_core__version_8_51_0__hash_41ksema", xl: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemc", false: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), _e = j({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemf", delete: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemg", failure: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemh", informational: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemi", success: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemj", warning: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__version_8_51_0__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), re = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemm", ae = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemn", ne = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemo", M = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemp", te = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemq", le = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemr", ie = "pkg_sps-woodland_core__version_8_51_0__hash_41ksems";
|
|
62
|
+
function V({
|
|
63
|
+
children: e,
|
|
64
|
+
className: s = "",
|
|
65
|
+
...o
|
|
66
|
+
}) {
|
|
67
|
+
return /* @__PURE__ */ r.createElement("div", { className: g(M, s), ...o }, e);
|
|
68
|
+
}
|
|
69
|
+
B.set(V, { name: "ModalFooter" });
|
|
70
|
+
function C({
|
|
71
|
+
dismissableValue: e,
|
|
72
|
+
handleClose: s
|
|
73
|
+
}) {
|
|
74
|
+
return e ? /* @__PURE__ */ r.createElement(
|
|
75
|
+
N,
|
|
76
|
+
{
|
|
77
|
+
"aria-label": "Close",
|
|
78
|
+
onClick: s,
|
|
79
|
+
kind: "icon",
|
|
80
|
+
icon: "x",
|
|
81
|
+
className: te
|
|
82
|
+
}
|
|
83
|
+
) : null;
|
|
84
|
+
}
|
|
85
|
+
const F = Object.freeze({
|
|
86
|
+
form: "pencil",
|
|
87
|
+
delete: "trash",
|
|
88
|
+
failure: "status-error",
|
|
89
|
+
informational: "info-circle",
|
|
90
|
+
success: "status-ok",
|
|
91
|
+
successWithFailures: "status-warning",
|
|
92
|
+
warning: "status-warning"
|
|
93
|
+
});
|
|
94
|
+
function de({
|
|
95
|
+
children: e,
|
|
96
|
+
className: s,
|
|
97
|
+
"data-testid": o,
|
|
98
|
+
kind: _ = "informational",
|
|
99
|
+
onBlur: a,
|
|
100
|
+
onFocus: t,
|
|
101
|
+
overlayProps: i,
|
|
102
|
+
size: l = "sm",
|
|
103
|
+
state: n,
|
|
104
|
+
title: c,
|
|
105
|
+
dismissible: u,
|
|
106
|
+
dismissable: D = !0,
|
|
107
|
+
onClose: d,
|
|
108
|
+
fullHeight: I = !1,
|
|
109
|
+
...p
|
|
110
|
+
}) {
|
|
111
|
+
const w = u ?? D, m = r.useRef(null), { modalProps: f, underlayProps: R } = J(
|
|
112
|
+
{
|
|
113
|
+
isKeyboardDismissDisabled: !w,
|
|
114
|
+
...p
|
|
115
|
+
},
|
|
116
|
+
n,
|
|
117
|
+
m
|
|
118
|
+
), { dialogProps: h, titleProps: S } = Q(p, m), x = O(f.onFocus, h.onFocus, t), z = O(f.onBlur, h.onBlur, a), { t: W } = Z(), H = A({ "data-testid": o }), [v, K] = L(
|
|
119
|
+
e,
|
|
120
|
+
[{ type: V }]
|
|
121
|
+
), y = r.useCallback(() => {
|
|
122
|
+
d && typeof d == "function" && d(), n.close();
|
|
123
|
+
}, [d, n.close]), T = q(K, (b) => b.type === C ? [{ className: g(b.props.classname, le) }] : []);
|
|
124
|
+
return /* @__PURE__ */ r.createElement(U, null, /* @__PURE__ */ r.createElement(
|
|
125
|
+
"div",
|
|
126
|
+
{
|
|
127
|
+
className: ie,
|
|
128
|
+
"data-react-aria-top-layer": "true",
|
|
129
|
+
...R,
|
|
130
|
+
...p
|
|
131
|
+
},
|
|
132
|
+
/* @__PURE__ */ r.createElement(
|
|
133
|
+
"div",
|
|
134
|
+
{
|
|
135
|
+
...f,
|
|
136
|
+
...h,
|
|
137
|
+
...i,
|
|
138
|
+
onFocus: x,
|
|
139
|
+
onBlur: z,
|
|
140
|
+
...H("dialog"),
|
|
141
|
+
ref: m,
|
|
142
|
+
className: g(oe({ kind: _, size: l, fullHeight: I }), s)
|
|
143
|
+
},
|
|
144
|
+
/* @__PURE__ */ r.createElement("div", { ...S, className: _e({ kind: _ }) }, _ && /* @__PURE__ */ r.createElement(
|
|
145
|
+
G,
|
|
146
|
+
{
|
|
147
|
+
icon: F[_] || F.informational,
|
|
148
|
+
className: ae
|
|
149
|
+
}
|
|
150
|
+
), /* @__PURE__ */ r.createElement("div", { className: re }, k(c, n.close)), /* @__PURE__ */ r.createElement(C, { dismissableValue: w, handleClose: y })),
|
|
151
|
+
/* @__PURE__ */ r.createElement("div", { className: ne }, k(T, n.close)),
|
|
152
|
+
v && v.length > 0 ? /* @__PURE__ */ r.createElement(r.Fragment, null, k(v, n.close)) : /* @__PURE__ */ r.createElement("div", { className: M }, /* @__PURE__ */ r.createElement(N, { kind: "key", onClick: y }, W("modal.defaultButtonLabel", { defaultValue: "Okay" })))
|
|
153
|
+
)
|
|
154
|
+
));
|
|
155
|
+
}
|
|
156
|
+
function ce(e) {
|
|
157
|
+
return e.state.isOpen ? /* @__PURE__ */ r.createElement(de, { ...e }, e.children) : /* @__PURE__ */ r.createElement(r.Fragment, null);
|
|
158
|
+
}
|
|
159
|
+
B.set(ce, {
|
|
160
|
+
name: "Modal",
|
|
161
|
+
props: {
|
|
162
|
+
dismissable: { type: "boolean", default: "true" },
|
|
163
|
+
fullHeight: { type: "boolean", default: "false" },
|
|
164
|
+
kind: { type: "ModalKind", default: "informational" },
|
|
165
|
+
onBlur: { type: "() => void" },
|
|
166
|
+
onClose: { type: "() => void" },
|
|
167
|
+
onFocus: { type: "() => void" },
|
|
168
|
+
size: { type: "ModalSize", default: "sm" },
|
|
169
|
+
title: { type: "string" }
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
function ke(e = {}) {
|
|
173
|
+
const s = $(e), o = Y(null), { triggerProps: _, overlayProps: a } = X(
|
|
174
|
+
{ type: "dialog" },
|
|
175
|
+
s,
|
|
176
|
+
o
|
|
177
|
+
), {
|
|
178
|
+
onPress: t,
|
|
179
|
+
...i
|
|
180
|
+
} = _;
|
|
181
|
+
return {
|
|
182
|
+
triggerProps: {
|
|
183
|
+
...i,
|
|
184
|
+
// Forward event to onPress (types differ but handler doesn't inspect event)
|
|
185
|
+
onClick: t ? (l) => t(l) : void 0,
|
|
186
|
+
ref: o
|
|
187
|
+
},
|
|
188
|
+
modalState: s,
|
|
189
|
+
modalProps: { overlayProps: a, state: s }
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
export {
|
|
193
|
+
ce as Modal,
|
|
194
|
+
V as ModalFooter,
|
|
195
|
+
F as ModalIcons,
|
|
196
|
+
ke as useModal
|
|
197
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(r,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@sps-woodland/core"),require("@sps-woodland/core/button"),require("react-aria"),require("react"),require("@spscommerce/i18n"),require("react-stately")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","@sps-woodland/core/button","react-aria","react","@spscommerce/i18n","react-stately"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.Modal={},r.core,r.button,r.reactAria,r.React,r.i18n,r.reactStately))})(this,(function(r,n,b,u,P,D,I){"use strict";function q(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,a.get?a:{enumerable:!0,get:()=>e[s]})}}return o.default=e,Object.freeze(o)}const _=q(P);function T(e,o,s){return o in e?Object.defineProperty(e,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[o]=s,e}function E(e,o){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);o&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,a)}return s}function M(e){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?E(Object(s),!0).forEach(function(a){T(e,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):E(Object(s)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(s,a))})}return e}var R=(e,o,s)=>{for(var a of Object.keys(e)){var t;if(e[a]!==((t=o[a])!==null&&t!==void 0?t:s[a]))return!1}return!0},j=e=>o=>{var s=e.defaultClassName,a=M(M({},e.defaultVariants),o);for(var t in a){var d,c=(d=a[t])!==null&&d!==void 0?d:e.defaultVariants[t];if(c!=null){var i=c;typeof i=="boolean"&&(i=i===!0?"true":"false");var l=e.variantClassNames[t][i];l&&(s+=" "+l)}}for(var[h,v]of e.compoundVariants)R(h,a,e.defaultVariants)&&(s+=" "+v);return s},z=j({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem0",variantClassNames:{kind:{informational:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem1",delete:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem2",failure:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem3",success:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem4",warning:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem5",successWithFailures:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem6",form:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem7"},size:{sm:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem8",md:"pkg_sps-woodland_core__version_8_51_0__hash_41ksem9",lg:"pkg_sps-woodland_core__version_8_51_0__hash_41ksema",xl:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemb"},fullHeight:{true:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemc",false:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemd"}},defaultVariants:{},compoundVariants:[]}),H=j({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_41kseme",variantClassNames:{kind:{form:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemf",delete:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemg",failure:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemh",informational:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemi",success:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemj",warning:"pkg_sps-woodland_core__version_8_51_0__hash_41ksemk",successWithFailures:"pkg_sps-woodland_core__version_8_51_0__hash_41kseml"}},defaultVariants:{},compoundVariants:[]}),W="pkg_sps-woodland_core__version_8_51_0__hash_41ksemm",K="pkg_sps-woodland_core__version_8_51_0__hash_41ksemn",x="pkg_sps-woodland_core__version_8_51_0__hash_41ksemo",C="pkg_sps-woodland_core__version_8_51_0__hash_41ksemp",L="pkg_sps-woodland_core__version_8_51_0__hash_41ksemq",A="pkg_sps-woodland_core__version_8_51_0__hash_41ksemr",G="pkg_sps-woodland_core__version_8_51_0__hash_41ksems";function m({children:e,className:o="",...s}){return _.createElement("div",{className:n.cl(C,o),...s},e)}n.Metadata.set(m,{name:"ModalFooter"});function F({dismissableValue:e,handleClose:o}){return e?_.createElement(b.Button,{"aria-label":"Close",onClick:o,kind:"icon",icon:"x",className:L}):null}const f=Object.freeze({form:"pencil",delete:"trash",failure:"status-error",informational:"info-circle",success:"status-ok",successWithFailures:"status-warning",warning:"status-warning"});function J({children:e,className:o,"data-testid":s,kind:a="informational",onBlur:t,onFocus:d,overlayProps:c,size:i="sm",state:l,title:h,dismissible:v,dismissable:U=!0,onClose:p,fullHeight:X=!1,...k}){const N=v??U,g=_.useRef(null),{modalProps:w,underlayProps:Y}=u.useModalOverlay({isKeyboardDismissDisabled:!N,...k},l,g),{dialogProps:y,titleProps:Z}=u.useDialog(k,g),$=n.combineEventHandlers(w.onFocus,y.onFocus,d),ee=n.combineEventHandlers(w.onBlur,y.onBlur,t),{t:se}=D.useWoodlandLanguage(),oe=n.useChildTestIdAttrBuilder({"data-testid":s}),[O,ae]=n.selectChildren(e,[{type:m}]),S=_.useCallback(()=>{p&&typeof p=="function"&&p(),l.close()},[p,l.close]),_e=n.modChildren(ae,V=>V.type===F?[{className:n.cl(V.props.classname,A)}]:[]);return _.createElement(u.Overlay,null,_.createElement("div",{className:G,"data-react-aria-top-layer":"true",...Y,...k},_.createElement("div",{...w,...y,...c,onFocus:$,onBlur:ee,...oe("dialog"),ref:g,className:n.cl(z({kind:a,size:i,fullHeight:X}),o)},_.createElement("div",{...Z,className:H({kind:a})},a&&_.createElement(n.Icon,{icon:f[a]||f.informational,className:K}),_.createElement("div",{className:W},n.contentOf(h,l.close)),_.createElement(F,{dismissableValue:N,handleClose:S})),_.createElement("div",{className:x},n.contentOf(_e,l.close)),O&&O.length>0?_.createElement(_.Fragment,null,n.contentOf(O,l.close)):_.createElement("div",{className:C},_.createElement(b.Button,{kind:"key",onClick:S},se("modal.defaultButtonLabel",{defaultValue:"Okay"}))))))}function B(e){return e.state.isOpen?_.createElement(J,{...e},e.children):_.createElement(_.Fragment,null)}n.Metadata.set(B,{name:"Modal",props:{dismissable:{type:"boolean",default:"true"},fullHeight:{type:"boolean",default:"false"},kind:{type:"ModalKind",default:"informational"},onBlur:{type:"() => void"},onClose:{type:"() => void"},onFocus:{type:"() => void"},size:{type:"ModalSize",default:"sm"},title:{type:"string"}}});function Q(e={}){const o=I.useOverlayTriggerState(e),s=P.useRef(null),{triggerProps:a,overlayProps:t}=u.useOverlayTrigger({type:"dialog"},o,s),{onPress:d,...c}=a;return{triggerProps:{...c,onClick:d?i=>d(i):void 0,ref:s},modalState:o,modalProps:{overlayProps:t,state:o}}}r.Modal=B,r.ModalFooter=m,r.ModalIcons=f,r.useModal=Q,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Tokens } from "@sps-woodland/tokens";
|
|
2
|
+
import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
|
|
3
|
+
export type ModalKind = keyof (typeof Tokens.component)["modal"]["kind"];
|
|
4
|
+
export type ModalSize = keyof (typeof Tokens.component)["modal"]["size"];
|
|
5
|
+
interface ModalVariantDefinitions extends VariantDefinitions {
|
|
6
|
+
kind: RecipeVariant<ModalKind>;
|
|
7
|
+
size: RecipeVariant<ModalSize>;
|
|
8
|
+
fullHeight: BooleanRecipeVariant;
|
|
9
|
+
}
|
|
10
|
+
export declare const modal: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<ModalVariantDefinitions>;
|
|
11
|
+
export declare const title: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ModalVariantDefinitions, "kind">>;
|
|
12
|
+
export declare const titleContent: string;
|
|
13
|
+
export declare const modalIcon: string;
|
|
14
|
+
export declare const body: string;
|
|
15
|
+
export declare const footer: string;
|
|
16
|
+
export declare const closeButtonBox: string;
|
|
17
|
+
export declare const closeButtonIcon: string;
|
|
18
|
+
export declare const underlay: string;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=Modal.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.css.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/Modal.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,SAAS,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AACzE,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,UAAU,uBAAwB,SAAQ,kBAAkB;IAC1D,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAC/B,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAC/B,UAAU,EAAE,oBAAoB,CAAC;CAClC;AAED,eAAO,MAAM,KAAK,gHA0DhB,CAAC;AAEH,eAAO,MAAM,KAAK,8HAiChB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC;AACH,eAAO,MAAM,SAAS,QAKpB,CAAC;AAEH,eAAO,MAAM,IAAI,QAIf,CAAC;AAEH,eAAO,MAAM,MAAM,QAMjB,CAAC;AAEH,eAAO,MAAM,cAAc,QAGzB,CAAC;AACH,eAAO,MAAM,eAAe,QAE1B,CAAC;AAEH,eAAO,MAAM,QAAQ,QAYnB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem0", variantClassNames: { kind: { informational: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem1", delete: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem2", failure: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem3", success: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem4", warning: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem5", successWithFailures: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem6", form: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem7" }, size: { sm: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem8", md: "pkg_sps-woodland_core__version_8_51_0__hash_41ksem9", lg: "pkg_sps-woodland_core__version_8_51_0__hash_41ksema", xl: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemb" }, fullHeight: { true: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemc", false: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemd" } }, defaultVariants: {}, compoundVariants: [] }), a = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_41kseme", variantClassNames: { kind: { form: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemf", delete: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemg", failure: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemh", informational: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemi", success: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemj", warning: "pkg_sps-woodland_core__version_8_51_0__hash_41ksemk", successWithFailures: "pkg_sps-woodland_core__version_8_51_0__hash_41kseml" } }, defaultVariants: {}, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemm", n = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemn", d = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemo", p = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemp", h = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemq", k = "pkg_sps-woodland_core__version_8_51_0__hash_41ksemr", l = "pkg_sps-woodland_core__version_8_51_0__hash_41ksems";
|
|
4
|
+
export {
|
|
5
|
+
d as body,
|
|
6
|
+
h as closeButtonBox,
|
|
7
|
+
k as closeButtonIcon,
|
|
8
|
+
p as footer,
|
|
9
|
+
e as modal,
|
|
10
|
+
n as modalIcon,
|
|
11
|
+
a as title,
|
|
12
|
+
r as titleContent,
|
|
13
|
+
l as underlay
|
|
14
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ComponentProps, ChildrenFn } from "@sps-woodland/core";
|
|
2
|
+
import type { IconName } from "@sps-woodland/tokens";
|
|
3
|
+
import type { AriaModalOverlayProps, AriaDialogProps, OverlayTriggerAria } from "react-aria";
|
|
4
|
+
import type { OverlayTriggerState } from "react-stately";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import type { ModalKind, ModalSize } from "./Modal.css";
|
|
7
|
+
interface ModalPropsFromHook {
|
|
8
|
+
state: OverlayTriggerState;
|
|
9
|
+
overlayProps: OverlayTriggerAria["overlayProps"];
|
|
10
|
+
}
|
|
11
|
+
type ModalContentRenderFn = (close: OverlayTriggerState["close"]) => React.ReactNode;
|
|
12
|
+
type ModalProps = ModalPropsFromHook & AriaModalOverlayProps & AriaDialogProps & {
|
|
13
|
+
kind?: ModalKind;
|
|
14
|
+
size?: ModalSize;
|
|
15
|
+
title: React.ReactNode | ModalContentRenderFn;
|
|
16
|
+
footer?: React.ReactNode | ModalContentRenderFn;
|
|
17
|
+
dismissible?: boolean;
|
|
18
|
+
dismissable?: boolean;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
focusElementOnOpen?: React.MutableRefObject<HTMLElement>;
|
|
21
|
+
fullHeight?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export declare const ModalIcons: Record<ModalKind, IconName>;
|
|
24
|
+
declare function ModalInternal({ children, className, "data-testid": dataTestId, kind, onBlur, onFocus, overlayProps, size, state, title, dismissible, dismissable, onClose, fullHeight, ...rest }: ComponentProps<ModalProps, HTMLDivElement> & ChildrenFn<ModalContentRenderFn>): React.ReactElement;
|
|
25
|
+
export declare function Modal(props: Parameters<typeof ModalInternal>[0]): React.ReactElement;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAarD,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;CAClD;AACD,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAErF,KAAK,UAAU,GAAG,kBAAkB,GACpC,qBAAqB,GACrB,eAAe,GAAG;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kBAAkB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAoBF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,CAQjD,CAAC;AAEH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,IAAsB,EACtB,MAAM,EACN,OAAO,EACP,YAAY,EACZ,IAAW,EACX,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAkB,EAClB,OAAO,EACP,UAAkB,EAClB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,GAC7C,UAAU,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,YAAY,CA4EpD;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAEpF"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Metadata as L, combineEventHandlers as y, useChildTestIdAttrBuilder as V, selectChildren as W, modChildren as j, cl as E, Icon as A, contentOf as m } from "@sps-woodland/core";
|
|
2
|
+
import { Button as v } from "@sps-woodland/core/button";
|
|
3
|
+
import { useModalOverlay as S, useDialog as T, Overlay as $ } from "react-aria";
|
|
4
|
+
import * as e from "react";
|
|
5
|
+
import { ModalFooter as q } from "../modal-footer/ModalFooter.js";
|
|
6
|
+
import { closeButtonIcon as G, underlay as J, modal as Q, title as U, modalIcon as X, titleContent as Y, body as Z, footer as _, closeButtonBox as ee } from "./Modal.css.js";
|
|
7
|
+
import { useWoodlandLanguage as te } from "@spscommerce/i18n";
|
|
8
|
+
function b({
|
|
9
|
+
dismissableValue: t,
|
|
10
|
+
handleClose: n
|
|
11
|
+
}) {
|
|
12
|
+
return t ? /* @__PURE__ */ e.createElement(
|
|
13
|
+
v,
|
|
14
|
+
{
|
|
15
|
+
"aria-label": "Close",
|
|
16
|
+
onClick: n,
|
|
17
|
+
kind: "icon",
|
|
18
|
+
icon: "x",
|
|
19
|
+
className: ee
|
|
20
|
+
}
|
|
21
|
+
) : null;
|
|
22
|
+
}
|
|
23
|
+
const g = Object.freeze({
|
|
24
|
+
form: "pencil",
|
|
25
|
+
delete: "trash",
|
|
26
|
+
failure: "status-error",
|
|
27
|
+
informational: "info-circle",
|
|
28
|
+
success: "status-ok",
|
|
29
|
+
successWithFailures: "status-warning",
|
|
30
|
+
warning: "status-warning"
|
|
31
|
+
});
|
|
32
|
+
function oe({
|
|
33
|
+
children: t,
|
|
34
|
+
className: n,
|
|
35
|
+
"data-testid": B,
|
|
36
|
+
kind: l = "informational",
|
|
37
|
+
onBlur: h,
|
|
38
|
+
onFocus: C,
|
|
39
|
+
overlayProps: F,
|
|
40
|
+
size: M = "sm",
|
|
41
|
+
state: o,
|
|
42
|
+
title: N,
|
|
43
|
+
dismissible: I,
|
|
44
|
+
dismissable: k = !0,
|
|
45
|
+
onClose: a,
|
|
46
|
+
fullHeight: O = !1,
|
|
47
|
+
...s
|
|
48
|
+
}) {
|
|
49
|
+
const u = I ?? k, r = e.useRef(null), { modalProps: c, underlayProps: P } = S(
|
|
50
|
+
{
|
|
51
|
+
isKeyboardDismissDisabled: !u,
|
|
52
|
+
...s
|
|
53
|
+
},
|
|
54
|
+
o,
|
|
55
|
+
r
|
|
56
|
+
), { dialogProps: i, titleProps: w } = T(s, r), x = y(c.onFocus, i.onFocus, C), z = y(c.onBlur, i.onBlur, h), { t: D } = te(), R = V({ "data-testid": B }), [d, H] = W(
|
|
57
|
+
t,
|
|
58
|
+
[{ type: q }]
|
|
59
|
+
), f = e.useCallback(() => {
|
|
60
|
+
a && typeof a == "function" && a(), o.close();
|
|
61
|
+
}, [a, o.close]), K = j(H, (p) => p.type === b ? [{ className: E(p.props.classname, G) }] : []);
|
|
62
|
+
return /* @__PURE__ */ e.createElement($, null, /* @__PURE__ */ e.createElement(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
className: J,
|
|
66
|
+
"data-react-aria-top-layer": "true",
|
|
67
|
+
...P,
|
|
68
|
+
...s
|
|
69
|
+
},
|
|
70
|
+
/* @__PURE__ */ e.createElement(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
...c,
|
|
74
|
+
...i,
|
|
75
|
+
...F,
|
|
76
|
+
onFocus: x,
|
|
77
|
+
onBlur: z,
|
|
78
|
+
...R("dialog"),
|
|
79
|
+
ref: r,
|
|
80
|
+
className: E(Q({ kind: l, size: M, fullHeight: O }), n)
|
|
81
|
+
},
|
|
82
|
+
/* @__PURE__ */ e.createElement("div", { ...w, className: U({ kind: l }) }, l && /* @__PURE__ */ e.createElement(
|
|
83
|
+
A,
|
|
84
|
+
{
|
|
85
|
+
icon: g[l] || g.informational,
|
|
86
|
+
className: X
|
|
87
|
+
}
|
|
88
|
+
), /* @__PURE__ */ e.createElement("div", { className: Y }, m(N, o.close)), /* @__PURE__ */ e.createElement(b, { dismissableValue: u, handleClose: f })),
|
|
89
|
+
/* @__PURE__ */ e.createElement("div", { className: Z }, m(K, o.close)),
|
|
90
|
+
d && d.length > 0 ? /* @__PURE__ */ e.createElement(e.Fragment, null, m(d, o.close)) : /* @__PURE__ */ e.createElement("div", { className: _ }, /* @__PURE__ */ e.createElement(v, { kind: "key", onClick: f }, D("modal.defaultButtonLabel", { defaultValue: "Okay" })))
|
|
91
|
+
)
|
|
92
|
+
));
|
|
93
|
+
}
|
|
94
|
+
function le(t) {
|
|
95
|
+
return t.state.isOpen ? /* @__PURE__ */ e.createElement(oe, { ...t }, t.children) : /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
96
|
+
}
|
|
97
|
+
L.set(le, {
|
|
98
|
+
name: "Modal",
|
|
99
|
+
props: {
|
|
100
|
+
dismissable: { type: "boolean", default: "true" },
|
|
101
|
+
fullHeight: { type: "boolean", default: "false" },
|
|
102
|
+
kind: { type: "ModalKind", default: "informational" },
|
|
103
|
+
onBlur: { type: "() => void" },
|
|
104
|
+
onClose: { type: "() => void" },
|
|
105
|
+
onFocus: { type: "() => void" },
|
|
106
|
+
size: { type: "ModalSize", default: "sm" },
|
|
107
|
+
title: { type: "string" }
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
le as Modal,
|
|
112
|
+
g as ModalIcons
|
|
113
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AriaButtonProps, OverlayTriggerAria } from "react-aria";
|
|
2
|
+
import type { OverlayTriggerState, OverlayTriggerProps } from "react-stately";
|
|
3
|
+
import type { MutableRefObject } from "react";
|
|
4
|
+
interface ModalPropsAndState {
|
|
5
|
+
triggerProps: Omit<AriaButtonProps, "onPress"> & {
|
|
6
|
+
onClick: ((e?: any) => void) | undefined;
|
|
7
|
+
ref: MutableRefObject<HTMLElement | null>;
|
|
8
|
+
};
|
|
9
|
+
modalState: OverlayTriggerState;
|
|
10
|
+
modalProps: {
|
|
11
|
+
state: OverlayTriggerState;
|
|
12
|
+
overlayProps: OverlayTriggerAria["overlayProps"];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function useModal(config?: OverlayTriggerProps): ModalPropsAndState;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=useModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../src/modal/modal/useModal.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE9C,UAAU,kBAAkB;IAC1B,YAAY,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;QAC/C,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;QACzC,GAAG,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;KAC3C,CAAC;IACF,UAAU,EAAE,mBAAmB,CAAC;IAChC,UAAU,EAAE;QACV,KAAK,EAAE,mBAAmB,CAAC;QAC3B,YAAY,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;KAClD,CAAC;CACH;AAED,wBAAgB,QAAQ,CACtB,MAAM,GAAE,mBAAwB,GAC/B,kBAAkB,CAwBpB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useOverlayTrigger as l } from "react-aria";
|
|
2
|
+
import { useOverlayTriggerState as n } from "react-stately";
|
|
3
|
+
import { useRef as p } from "react";
|
|
4
|
+
function f(t = {}) {
|
|
5
|
+
const r = n(t), o = p(null), { triggerProps: s, overlayProps: i } = l(
|
|
6
|
+
{ type: "dialog" },
|
|
7
|
+
r,
|
|
8
|
+
o
|
|
9
|
+
), {
|
|
10
|
+
onPress: e,
|
|
11
|
+
...g
|
|
12
|
+
} = s;
|
|
13
|
+
return {
|
|
14
|
+
triggerProps: {
|
|
15
|
+
...g,
|
|
16
|
+
// Forward event to onPress (types differ but handler doesn't inspect event)
|
|
17
|
+
onClick: e ? (a) => e(a) : void 0,
|
|
18
|
+
ref: o
|
|
19
|
+
},
|
|
20
|
+
modalState: r,
|
|
21
|
+
modalProps: { overlayProps: i, state: r }
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
f as useModal
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../src/modal/modal-footer/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,wBAAgB,WAAW,CAAC,EAC1B,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 * as r from "react";
|
|
2
|
+
import { Metadata as a, cl as m } from "@sps-woodland/core";
|
|
3
|
+
import { footer as c } from "../modal/Modal.css.js";
|
|
4
|
+
function f({
|
|
5
|
+
children: o,
|
|
6
|
+
className: t = "",
|
|
7
|
+
...e
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ r.createElement("div", { className: m(c, t), ...e }, o);
|
|
10
|
+
}
|
|
11
|
+
a.set(f, { name: "ModalFooter" });
|
|
12
|
+
export {
|
|
13
|
+
f as ModalFooter
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_0__hash_41ksem0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;display:flex;flex-direction:column;overflow:hidden;max-height:100%}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem1{border-color:#007db8}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem2,.pkg_sps-woodland_core__version_8_51_0__hash_41ksem3{border-color:#de002e}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem4{border-color:#0b8940}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem5,.pkg_sps-woodland_core__version_8_51_0__hash_41ksem6{border-color:#e7760b}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem7{border-color:#4b5356}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem8{width:23.75rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksem9{width:36.25rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksema{width:48.75rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemb{width:73.75rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemc{height:100%}.pkg_sps-woodland_core__version_8_51_0__hash_41kseme{align-items:center;color:#fff;display:flex;padding:1rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemf{background-color:#4b5356}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemg,.pkg_sps-woodland_core__version_8_51_0__hash_41ksemh{background-color:#de002e}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemi{background-color:#007db8}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemj{background-color:#0b8940}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemk,.pkg_sps-woodland_core__version_8_51_0__hash_41kseml{background-color:#e7760b}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemm{flex-grow:1;font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemn{font-weight:600;line-height:.875rem;font-size:.875rem;margin-right:.5rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemo{overflow-y:auto;padding:1rem;flex:1}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemp{align-items:center;background-color:#f3f4f4;display:flex;justify-content:flex-end;padding:.5rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemq{color:#fff;border-width:0}.pkg_sps-woodland_core__version_8_51_0__hash_41ksemr{padding:0 .25rem}.pkg_sps-woodland_core__version_8_51_0__hash_41ksems{position:fixed;z-index:1000;inset:0;background:#f3f4f4cc;display:flex;align-items:start;justify-content:center;padding:4rem 1rem 1rem}.z-stratum-dropdown{z-index:1100}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
function s(r, n, e) {
|
|
2
|
+
return n in r ? Object.defineProperty(r, n, {
|
|
3
|
+
value: e,
|
|
4
|
+
enumerable: !0,
|
|
5
|
+
configurable: !0,
|
|
6
|
+
writable: !0
|
|
7
|
+
}) : r[n] = e, r;
|
|
8
|
+
}
|
|
9
|
+
function O(r, n) {
|
|
10
|
+
var e = Object.keys(r);
|
|
11
|
+
if (Object.getOwnPropertySymbols) {
|
|
12
|
+
var t = Object.getOwnPropertySymbols(r);
|
|
13
|
+
n && (t = t.filter(function(u) {
|
|
14
|
+
return Object.getOwnPropertyDescriptor(r, u).enumerable;
|
|
15
|
+
})), e.push.apply(e, t);
|
|
16
|
+
}
|
|
17
|
+
return e;
|
|
18
|
+
}
|
|
19
|
+
function o(r) {
|
|
20
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
21
|
+
var e = arguments[n] != null ? arguments[n] : {};
|
|
22
|
+
n % 2 ? O(Object(e), !0).forEach(function(t) {
|
|
23
|
+
s(r, t, e[t]);
|
|
24
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : O(Object(e)).forEach(function(t) {
|
|
25
|
+
Object.defineProperty(r, t, Object.getOwnPropertyDescriptor(e, t));
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
return r;
|
|
29
|
+
}
|
|
30
|
+
var v = (r, n, e) => {
|
|
31
|
+
for (var t of Object.keys(r)) {
|
|
32
|
+
var u;
|
|
33
|
+
if (r[t] !== ((u = n[t]) !== null && u !== void 0 ? u : e[t]))
|
|
34
|
+
return !1;
|
|
35
|
+
}
|
|
36
|
+
return !0;
|
|
37
|
+
}, d = (r) => (n) => {
|
|
38
|
+
var e = r.defaultClassName, t = o(o({}, r.defaultVariants), n);
|
|
39
|
+
for (var u in t) {
|
|
40
|
+
var f, p = (f = t[u]) !== null && f !== void 0 ? f : r.defaultVariants[u];
|
|
41
|
+
if (p != null) {
|
|
42
|
+
var a = p;
|
|
43
|
+
typeof a == "boolean" && (a = a === !0 ? "true" : "false");
|
|
44
|
+
var l = (
|
|
45
|
+
// @ts-expect-error
|
|
46
|
+
r.variantClassNames[u][a]
|
|
47
|
+
);
|
|
48
|
+
l && (e += " " + l);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
for (var [i, b] of r.compoundVariants)
|
|
52
|
+
v(i, t, r.defaultVariants) && (e += " " + b);
|
|
53
|
+
return e;
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
d as createRuntimeFn
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/page-title/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
|