@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,30 @@
|
|
|
1
|
+
import type { RecipeVariants } from "@vanilla-extract/recipes";
|
|
2
|
+
export declare const SCROLL_BUTTON_WIDTH_PX = 32;
|
|
3
|
+
export declare const SCROLL_BUTTON_HEIGHT_PX = 34;
|
|
4
|
+
export declare const SCROLL_BUTTON_FADE_WIDTH_PX = 8;
|
|
5
|
+
export declare const SCROLL_BUTTON_FADE_OVERHANG_PX: number;
|
|
6
|
+
export declare const SCROLL_BUTTON_VISUAL_FOOTPRINT_PX: number;
|
|
7
|
+
export declare const tabsScrollWrapper: string;
|
|
8
|
+
export declare const tabsScrollButton: string;
|
|
9
|
+
export declare const tabsScrollButtonLeft: string;
|
|
10
|
+
export declare const tabsScrollButtonRight: string;
|
|
11
|
+
export declare const tabs: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
12
|
+
context: {
|
|
13
|
+
container: {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
borderBottomColor: string;
|
|
16
|
+
borderBottomStyle: any;
|
|
17
|
+
borderBottomWidth: string;
|
|
18
|
+
borderTopLeftRadius: string;
|
|
19
|
+
borderTopRightRadius: string;
|
|
20
|
+
paddingTop: string;
|
|
21
|
+
paddingLeft: string;
|
|
22
|
+
paddingRight: string;
|
|
23
|
+
};
|
|
24
|
+
navigation: {
|
|
25
|
+
marginBottom: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
export type TabsVariants = RecipeVariants<typeof tabs>;
|
|
30
|
+
//# sourceMappingURL=Tabs.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.css.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs/Tabs.css.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO/D,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,eAAO,MAAM,8BAA8B,QAAkC,CAAC;AAE9E,eAAO,MAAM,iCAAiC,QACW,CAAC;AAc1D,eAAO,MAAM,iBAAiB,QAE5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAuB3B,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAM/B,CAAC;AACH,eAAO,MAAM,qBAAqB,QAMhC,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;+BAQ+C,GAAG;;;;;;;;;;;;EAajE,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
+
var s = 39, n = "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k1", r = "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k2", e = "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k3", d = "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k4", t = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k5 pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k0", variantClassNames: { context: { container: "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k6", navigation: "pkg_sps-woodland_core__version_8_51_0__hash_1mdnm0k7" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
s as SCROLL_BUTTON_VISUAL_FOOTPRINT_PX,
|
|
6
|
+
t as tabs,
|
|
7
|
+
r as tabsScrollButton,
|
|
8
|
+
e as tabsScrollButtonLeft,
|
|
9
|
+
d as tabsScrollButtonRight,
|
|
10
|
+
n as tabsScrollWrapper
|
|
11
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { TabListProps } from "@react-types/tabs";
|
|
3
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
4
|
+
import type { TabsVariants } from "./Tabs.css";
|
|
5
|
+
export declare function Tabs({ className, context, "data-testid": dataTestId, selectedKey, defaultSelectedKey, ...rest }: TabListProps<Record<string, unknown>> & ComponentProps<TabsVariants, HTMLDivElement>): React.ReactElement;
|
|
6
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAYzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,OAAsB,EACtB,aAAa,EAAE,UAAU,EACzB,WAAW,EACX,kBAAkB,EAClB,GAAG,IAAI,EACR,EAAE,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACtC,cAAc,CAAC,YAAY,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAmJlE"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { useTabListState as O } from "@react-stately/tabs";
|
|
3
|
+
import { useTabList as A } from "@react-aria/tabs";
|
|
4
|
+
import { Metadata as F, useChildTestIdAttrBuilder as _, cl as f, Icon as p } from "@sps-woodland/core";
|
|
5
|
+
import { Tab as z } from "../tab/Tab.js";
|
|
6
|
+
import { TabPanel as K } from "../tab-panel/TabPanel.js";
|
|
7
|
+
import { tabsScrollWrapper as q, tabsScrollButton as v, tabsScrollButtonLeft as U, tabs as V, tabsScrollButtonRight as M, SCROLL_BUTTON_VISUAL_FOOTPRINT_PX as X } from "./Tabs.css.js";
|
|
8
|
+
const $ = 0.75;
|
|
9
|
+
function j({
|
|
10
|
+
className: L,
|
|
11
|
+
context: a = "navigation",
|
|
12
|
+
"data-testid": m,
|
|
13
|
+
selectedKey: g,
|
|
14
|
+
defaultSelectedKey: y,
|
|
15
|
+
...R
|
|
16
|
+
}) {
|
|
17
|
+
const b = {
|
|
18
|
+
...R,
|
|
19
|
+
selectedKey: g ?? void 0,
|
|
20
|
+
defaultSelectedKey: y ?? void 0
|
|
21
|
+
}, o = O(b), r = e.useRef(null), { tabListProps: B } = A(b, o, r), d = _({ "data-testid": m }), h = a === "container", [C, E] = e.useState(!1), [T, k] = e.useState(!1), n = e.useCallback(() => {
|
|
22
|
+
const t = r.current;
|
|
23
|
+
if (!t) return;
|
|
24
|
+
const l = t.scrollWidth - t.clientWidth;
|
|
25
|
+
E(t.scrollLeft > 1), k(l - t.scrollLeft > 1);
|
|
26
|
+
}, []);
|
|
27
|
+
e.useEffect(() => {
|
|
28
|
+
const t = r.current;
|
|
29
|
+
if (!t) return;
|
|
30
|
+
n(), t.addEventListener("scroll", n, { passive: !0 });
|
|
31
|
+
const l = new ResizeObserver(n);
|
|
32
|
+
return l.observe(t), () => {
|
|
33
|
+
t.removeEventListener("scroll", n), l.disconnect();
|
|
34
|
+
};
|
|
35
|
+
}, [n]);
|
|
36
|
+
const S = (t) => {
|
|
37
|
+
const l = r.current;
|
|
38
|
+
if (!l) return;
|
|
39
|
+
const s = l.clientWidth * $;
|
|
40
|
+
l.scrollBy({ left: t === "left" ? -s : s, behavior: "smooth" });
|
|
41
|
+
}, u = e.useCallback(() => {
|
|
42
|
+
const t = r.current;
|
|
43
|
+
if (!t) return;
|
|
44
|
+
const l = t.querySelector('[aria-selected="true"]');
|
|
45
|
+
if (!l) return;
|
|
46
|
+
const s = t.getBoundingClientRect(), c = l.getBoundingClientRect(), i = X, I = t.scrollLeft > 1, N = t.scrollWidth - t.clientWidth - t.scrollLeft > 1, P = s.left + (I ? i : 0), W = s.right - (N ? i : 0);
|
|
47
|
+
c.left < P ? t.scrollBy({
|
|
48
|
+
left: c.left - (s.left + i),
|
|
49
|
+
behavior: "smooth"
|
|
50
|
+
}) : c.right > W && t.scrollBy({
|
|
51
|
+
left: c.right - (s.right - i),
|
|
52
|
+
behavior: "smooth"
|
|
53
|
+
});
|
|
54
|
+
}, []);
|
|
55
|
+
e.useEffect(() => {
|
|
56
|
+
u();
|
|
57
|
+
}, [o.selectedKey, u]);
|
|
58
|
+
const w = () => {
|
|
59
|
+
requestAnimationFrame(() => u());
|
|
60
|
+
};
|
|
61
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: q, "data-testid": m }, h && C && /* @__PURE__ */ e.createElement(
|
|
62
|
+
"button",
|
|
63
|
+
{
|
|
64
|
+
"aria-label": "Show previous tabs",
|
|
65
|
+
title: "Show previous tabs",
|
|
66
|
+
className: f(v, U),
|
|
67
|
+
"data-side": "left",
|
|
68
|
+
onClick: () => S("left"),
|
|
69
|
+
type: "button"
|
|
70
|
+
},
|
|
71
|
+
/* @__PURE__ */ e.createElement(p, { icon: "chevron-left", size: "sm", "aria-hidden": "true" })
|
|
72
|
+
), /* @__PURE__ */ e.createElement(
|
|
73
|
+
"div",
|
|
74
|
+
{
|
|
75
|
+
...B,
|
|
76
|
+
ref: r,
|
|
77
|
+
className: f(V({ context: a }), L),
|
|
78
|
+
onClickCapture: w
|
|
79
|
+
},
|
|
80
|
+
[...o.collection].map((t) => /* @__PURE__ */ e.createElement(
|
|
81
|
+
z,
|
|
82
|
+
{
|
|
83
|
+
key: t.key,
|
|
84
|
+
item: t,
|
|
85
|
+
state: o,
|
|
86
|
+
context: a,
|
|
87
|
+
...d(`tab-${String(t.key)}`)
|
|
88
|
+
}
|
|
89
|
+
))
|
|
90
|
+
), h && T && /* @__PURE__ */ e.createElement(
|
|
91
|
+
"button",
|
|
92
|
+
{
|
|
93
|
+
"aria-label": "Show more tabs",
|
|
94
|
+
title: "Show more tabs",
|
|
95
|
+
className: f(v, M),
|
|
96
|
+
onClick: () => S("right"),
|
|
97
|
+
type: "button"
|
|
98
|
+
},
|
|
99
|
+
/* @__PURE__ */ e.createElement(p, { icon: "chevron-right", size: "sm", "aria-hidden": "true" })
|
|
100
|
+
)), /* @__PURE__ */ e.createElement(
|
|
101
|
+
K,
|
|
102
|
+
{
|
|
103
|
+
key: o.selectedItem ? o.selectedItem.key : null,
|
|
104
|
+
state: o,
|
|
105
|
+
context: a,
|
|
106
|
+
...d("tab-panel")
|
|
107
|
+
}
|
|
108
|
+
));
|
|
109
|
+
}
|
|
110
|
+
F.set(j, { name: "Tabs" });
|
|
111
|
+
export {
|
|
112
|
+
j as Tabs
|
|
113
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tokens } from "@sps-woodland/tokens";
|
|
2
|
+
import type { VariantDefinitions, RecipeVariant, BooleanRecipeVariant } from "@sps-woodland/core";
|
|
3
|
+
export type ClickableTagKind = keyof typeof Tokens.component["clickable-tag"]["kind"];
|
|
4
|
+
interface ClickableTagVariantDefinitions extends VariantDefinitions {
|
|
5
|
+
kind: RecipeVariant<ClickableTagKind>;
|
|
6
|
+
disabled: BooleanRecipeVariant;
|
|
7
|
+
wrap: BooleanRecipeVariant;
|
|
8
|
+
link: BooleanRecipeVariant;
|
|
9
|
+
addOrRemove: BooleanRecipeVariant;
|
|
10
|
+
}
|
|
11
|
+
export declare const clickableTag: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ClickableTagVariantDefinitions, "disabled" | "kind" | "wrap">>;
|
|
12
|
+
export declare const clickableTagLabel: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Omit<ClickableTagVariantDefinitions, "kind">>;
|
|
13
|
+
export declare const clickableTagIconWrapper: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<Pick<ClickableTagVariantDefinitions, "wrap">>;
|
|
14
|
+
export declare const clickableTagIcon: string;
|
|
15
|
+
export declare const clickableTagLink: string;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=ClickableTag.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickableTag.css.d.ts","sourceRoot":"","sources":["../../../src/tags/clickable-tag/ClickableTag.css.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAIlG,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtF,UAAU,8BAA+B,SAAQ,kBAAkB;IACjE,IAAI,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACtC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,EAAE,oBAAoB,CAAC;CACnC;AAED,eAAO,MAAM,YAAY,2JA6CvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,qIAsE5B,CAAC;AAEH,eAAO,MAAM,uBAAuB,qIAoClC,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAO3B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAS3B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
+
var e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu50", variantClassNames: { kind: { blue: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu51", gray: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu52" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu53", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu54" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu55", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu56" } }, defaultVariants: { kind: "blue", disabled: !1, wrap: !1 }, compoundVariants: [] }), o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu57", variantClassNames: { link: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu58", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu59" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5a", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5b" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5c", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5d" }, addOrRemove: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5e", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5f" } }, defaultVariants: { link: !1, wrap: !1, disabled: !1, addOrRemove: !1 }, compoundVariants: [[{ disabled: !1, wrap: !1, addOrRemove: !0 }, "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5g"]] }), l = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5h", variantClassNames: { wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5i", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5j" } }, defaultVariants: { wrap: !1 }, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5k", d = "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5l";
|
|
4
|
+
export {
|
|
5
|
+
e as clickableTag,
|
|
6
|
+
r as clickableTagIcon,
|
|
7
|
+
l as clickableTagIconWrapper,
|
|
8
|
+
o as clickableTagLabel,
|
|
9
|
+
d as clickableTagLink
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
|
+
import type { ClickableTagKind } from "./ClickableTag.css";
|
|
4
|
+
export declare function ClickableTag({ children, className, onClick, disabled, wrap, href, target, kind, onAdd, onRemove, ...rest }: ComponentProps<{
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
wrap?: boolean;
|
|
7
|
+
href?: string;
|
|
8
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
9
|
+
kind?: ClickableTagKind;
|
|
10
|
+
onAdd?: () => void;
|
|
11
|
+
onRemove?: () => void;
|
|
12
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
13
|
+
//# sourceMappingURL=ClickableTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickableTag.d.ts","sourceRoot":"","sources":["../../../src/tags/clickable-tag/ClickableTag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,cAAc,CACjB;IACE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,EACD,cAAc,CACb,GAAG,KAAK,CAAC,YAAY,CAkErB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { Metadata as y, cl as s, Icon as E } from "@sps-woodland/core";
|
|
3
|
+
import { clickableTag as T, clickableTagLabel as d, clickableTagLink as C, clickableTagIconWrapper as N, clickableTagIcon as h } from "./ClickableTag.css.js";
|
|
4
|
+
function v({
|
|
5
|
+
children: i,
|
|
6
|
+
className: p,
|
|
7
|
+
onClick: c,
|
|
8
|
+
disabled: r,
|
|
9
|
+
wrap: n,
|
|
10
|
+
href: o,
|
|
11
|
+
target: f,
|
|
12
|
+
kind: m,
|
|
13
|
+
onAdd: e,
|
|
14
|
+
onRemove: t,
|
|
15
|
+
...b
|
|
16
|
+
}) {
|
|
17
|
+
const g = a.Children.toArray(i).filter((l) => typeof l == "string").join("");
|
|
18
|
+
a.useEffect(() => {
|
|
19
|
+
if (t && e)
|
|
20
|
+
throw new Error("Clickable tag should have onRemove or onAdd, not both");
|
|
21
|
+
}, [e, t]);
|
|
22
|
+
function k(l) {
|
|
23
|
+
e ? e() : t && t(), l.stopPropagation();
|
|
24
|
+
}
|
|
25
|
+
function u(l) {
|
|
26
|
+
l.stopPropagation(), c && c(l);
|
|
27
|
+
}
|
|
28
|
+
return /* @__PURE__ */ a.createElement("div", { className: s(T({ kind: m, disabled: r, wrap: n }), p), ...b }, /* @__PURE__ */ a.createElement(
|
|
29
|
+
"span",
|
|
30
|
+
{
|
|
31
|
+
className: s(
|
|
32
|
+
d({
|
|
33
|
+
link: !!o || !!c,
|
|
34
|
+
disabled: r,
|
|
35
|
+
wrap: n,
|
|
36
|
+
addOrRemove: e || t
|
|
37
|
+
})
|
|
38
|
+
),
|
|
39
|
+
onClick: u,
|
|
40
|
+
title: g
|
|
41
|
+
},
|
|
42
|
+
o ? /* @__PURE__ */ a.createElement("a", { className: C, href: o, target: f }, i) : i
|
|
43
|
+
), (e || t) && !r && /* @__PURE__ */ a.createElement(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: s(
|
|
47
|
+
N({
|
|
48
|
+
wrap: n
|
|
49
|
+
})
|
|
50
|
+
),
|
|
51
|
+
onClick: k,
|
|
52
|
+
tabIndex: -1,
|
|
53
|
+
"aria-label": e ? "Add" : "Remove"
|
|
54
|
+
},
|
|
55
|
+
/* @__PURE__ */ a.createElement(E, { className: h, "aria-hidden": "true", icon: e ? "plus-sign" : "x" })
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
y.set(v, {
|
|
59
|
+
name: "Clickable Tag",
|
|
60
|
+
props: {
|
|
61
|
+
disabled: { type: "boolean", default: "false" },
|
|
62
|
+
wrap: { type: "boolean", default: "false" },
|
|
63
|
+
href: { type: "string" },
|
|
64
|
+
target: { type: "'_blank' | '_self' | '_parent' | '_top'" },
|
|
65
|
+
kind: { type: "ClickableTagKind", default: "blue" },
|
|
66
|
+
onAdd: { type: "() => void" },
|
|
67
|
+
onRemove: { type: "() => void" }
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
v as ClickableTag
|
|
72
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tags/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { Metadata as v, cl as i, Icon as w } from "@sps-woodland/core";
|
|
3
|
+
function j(_, s, e) {
|
|
4
|
+
return s in _ ? Object.defineProperty(_, s, {
|
|
5
|
+
value: e,
|
|
6
|
+
enumerable: !0,
|
|
7
|
+
configurable: !0,
|
|
8
|
+
writable: !0
|
|
9
|
+
}) : _[s] = e, _;
|
|
10
|
+
}
|
|
11
|
+
function g(_, s) {
|
|
12
|
+
var e = Object.keys(_);
|
|
13
|
+
if (Object.getOwnPropertySymbols) {
|
|
14
|
+
var a = Object.getOwnPropertySymbols(_);
|
|
15
|
+
s && (a = a.filter(function(r) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(_, r).enumerable;
|
|
17
|
+
})), e.push.apply(e, a);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}
|
|
21
|
+
function k(_) {
|
|
22
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
23
|
+
var e = arguments[s] != null ? arguments[s] : {};
|
|
24
|
+
s % 2 ? g(Object(e), !0).forEach(function(a) {
|
|
25
|
+
j(_, a, e[a]);
|
|
26
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(_, Object.getOwnPropertyDescriptors(e)) : g(Object(e)).forEach(function(a) {
|
|
27
|
+
Object.defineProperty(_, a, Object.getOwnPropertyDescriptor(e, a));
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return _;
|
|
31
|
+
}
|
|
32
|
+
var N = (_, s, e) => {
|
|
33
|
+
for (var a of Object.keys(_)) {
|
|
34
|
+
var r;
|
|
35
|
+
if (_[a] !== ((r = s[a]) !== null && r !== void 0 ? r : e[a]))
|
|
36
|
+
return !1;
|
|
37
|
+
}
|
|
38
|
+
return !0;
|
|
39
|
+
}, c = (_) => (s) => {
|
|
40
|
+
var e = _.defaultClassName, a = k(k({}, _.defaultVariants), s);
|
|
41
|
+
for (var r in a) {
|
|
42
|
+
var t, d = (t = a[r]) !== null && t !== void 0 ? t : _.defaultVariants[r];
|
|
43
|
+
if (d != null) {
|
|
44
|
+
var l = d;
|
|
45
|
+
typeof l == "boolean" && (l = l === !0 ? "true" : "false");
|
|
46
|
+
var o = (
|
|
47
|
+
// @ts-expect-error
|
|
48
|
+
_.variantClassNames[r][l]
|
|
49
|
+
);
|
|
50
|
+
o && (e += " " + o);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
for (var [p, u] of _.compoundVariants)
|
|
54
|
+
N(p, a, _.defaultVariants) && (e += " " + u);
|
|
55
|
+
return e;
|
|
56
|
+
}, O = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r0", variantClassNames: { kind: { default: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r1", key: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r2", warning: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r3", error: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r4", pending: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r5", success: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r6", info: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r7" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r8", false: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2r9" } }, defaultVariants: { kind: "default", wrap: !1 }, compoundVariants: [] }), C = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2ra", variantClassNames: { kind: { default: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2rb", key: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2rc", warning: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2rd", error: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2re", pending: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2rf", success: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2rg", info: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2rh", custom: "pkg_sps-woodland_core__version_8_51_0__hash_k59j2ri" } }, defaultVariants: { kind: "default" }, compoundVariants: [] });
|
|
57
|
+
const T = Object.freeze({
|
|
58
|
+
default: "info-circle",
|
|
59
|
+
key: "info-circle",
|
|
60
|
+
warning: "status-warning",
|
|
61
|
+
error: "status-error",
|
|
62
|
+
pending: "status-in-process",
|
|
63
|
+
success: "status-ok",
|
|
64
|
+
info: "info-circle"
|
|
65
|
+
});
|
|
66
|
+
function h({
|
|
67
|
+
children: _,
|
|
68
|
+
className: s,
|
|
69
|
+
kind: e = "default",
|
|
70
|
+
icon: a,
|
|
71
|
+
wrap: r,
|
|
72
|
+
...t
|
|
73
|
+
}) {
|
|
74
|
+
const d = typeof a == "string", l = a && d ? a : a ? T[e] : void 0;
|
|
75
|
+
return /* @__PURE__ */ n.createElement("span", { className: i(O({ kind: e, wrap: r }), s), ...t }, l && /* @__PURE__ */ n.createElement(
|
|
76
|
+
w,
|
|
77
|
+
{
|
|
78
|
+
className: i(C({ kind: d ? "custom" : e })),
|
|
79
|
+
icon: l
|
|
80
|
+
}
|
|
81
|
+
), _);
|
|
82
|
+
}
|
|
83
|
+
v.set(h, {
|
|
84
|
+
name: "Tag",
|
|
85
|
+
props: {
|
|
86
|
+
kind: { type: "TagKind", default: "default" },
|
|
87
|
+
icon: { type: "boolean | IconName", default: "false" },
|
|
88
|
+
wrap: { type: "boolean", default: "false" }
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
var x = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu50", variantClassNames: { kind: { blue: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu51", gray: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu52" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu53", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu54" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu55", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu56" } }, defaultVariants: { kind: "blue", disabled: !1, wrap: !1 }, compoundVariants: [] }), V = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu57", variantClassNames: { link: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu58", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu59" }, wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5a", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5b" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5c", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5d" }, addOrRemove: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5e", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5f" } }, defaultVariants: { link: !1, wrap: !1, disabled: !1, addOrRemove: !1 }, compoundVariants: [[{ disabled: !1, wrap: !1, addOrRemove: !0 }, "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5g"]] }), E = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5h", variantClassNames: { wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5i", false: "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5j" } }, defaultVariants: { wrap: !1 }, compoundVariants: [] }), P = "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5k", I = "pkg_sps-woodland_core__version_8_51_0__hash_1avalu5l";
|
|
92
|
+
function K({
|
|
93
|
+
children: _,
|
|
94
|
+
className: s,
|
|
95
|
+
onClick: e,
|
|
96
|
+
disabled: a,
|
|
97
|
+
wrap: r,
|
|
98
|
+
href: t,
|
|
99
|
+
target: d,
|
|
100
|
+
kind: l,
|
|
101
|
+
onAdd: o,
|
|
102
|
+
onRemove: p,
|
|
103
|
+
...u
|
|
104
|
+
}) {
|
|
105
|
+
const m = n.Children.toArray(_).filter((f) => typeof f == "string").join("");
|
|
106
|
+
n.useEffect(() => {
|
|
107
|
+
if (p && o)
|
|
108
|
+
throw new Error("Clickable tag should have onRemove or onAdd, not both");
|
|
109
|
+
}, [o, p]);
|
|
110
|
+
function b(f) {
|
|
111
|
+
o ? o() : p && p(), f.stopPropagation();
|
|
112
|
+
}
|
|
113
|
+
function y(f) {
|
|
114
|
+
f.stopPropagation(), e && e(f);
|
|
115
|
+
}
|
|
116
|
+
return /* @__PURE__ */ n.createElement("div", { className: i(x({ kind: l, disabled: a, wrap: r }), s), ...u }, /* @__PURE__ */ n.createElement(
|
|
117
|
+
"span",
|
|
118
|
+
{
|
|
119
|
+
className: i(
|
|
120
|
+
V({
|
|
121
|
+
link: !!t || !!e,
|
|
122
|
+
disabled: a,
|
|
123
|
+
wrap: r,
|
|
124
|
+
addOrRemove: o || p
|
|
125
|
+
})
|
|
126
|
+
),
|
|
127
|
+
onClick: y,
|
|
128
|
+
title: m
|
|
129
|
+
},
|
|
130
|
+
t ? /* @__PURE__ */ n.createElement("a", { className: I, href: t, target: d }, _) : _
|
|
131
|
+
), (o || p) && !a && /* @__PURE__ */ n.createElement(
|
|
132
|
+
"div",
|
|
133
|
+
{
|
|
134
|
+
className: i(
|
|
135
|
+
E({
|
|
136
|
+
wrap: r
|
|
137
|
+
})
|
|
138
|
+
),
|
|
139
|
+
onClick: b,
|
|
140
|
+
tabIndex: -1,
|
|
141
|
+
"aria-label": o ? "Add" : "Remove"
|
|
142
|
+
},
|
|
143
|
+
/* @__PURE__ */ n.createElement(w, { className: P, "aria-hidden": "true", icon: o ? "plus-sign" : "x" })
|
|
144
|
+
));
|
|
145
|
+
}
|
|
146
|
+
v.set(K, {
|
|
147
|
+
name: "Clickable Tag",
|
|
148
|
+
props: {
|
|
149
|
+
disabled: { type: "boolean", default: "false" },
|
|
150
|
+
wrap: { type: "boolean", default: "false" },
|
|
151
|
+
href: { type: "string" },
|
|
152
|
+
target: { type: "'_blank' | '_self' | '_parent' | '_top'" },
|
|
153
|
+
kind: { type: "ClickableTagKind", default: "blue" },
|
|
154
|
+
onAdd: { type: "() => void" },
|
|
155
|
+
onRemove: { type: "() => void" }
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
var D = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf0", variantClassNames: { wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf1", false: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf2" } }, defaultVariants: { wrap: !1 }, compoundVariants: [] }), R = "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf3", S = "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf4", L = c({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf5", variantClassNames: { href: { true: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf6", false: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf7" }, kind: { default: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf8", key: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf9", warning: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfa", error: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfb", pending: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfc", success: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfd", info: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfe" } }, defaultVariants: { href: !1, kind: "default" }, compoundVariants: [] }), q = "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrff";
|
|
159
|
+
function z({
|
|
160
|
+
children: _,
|
|
161
|
+
className: s,
|
|
162
|
+
color: e = "default",
|
|
163
|
+
href: a,
|
|
164
|
+
target: r,
|
|
165
|
+
icon: t,
|
|
166
|
+
tagKey: d,
|
|
167
|
+
value: l,
|
|
168
|
+
wrap: o = !1,
|
|
169
|
+
...p
|
|
170
|
+
}) {
|
|
171
|
+
return /* @__PURE__ */ n.createElement("span", { className: i(D({ wrap: o }), s), ...p }, /* @__PURE__ */ n.createElement(h, { className: i(R), icon: t, kind: e, wrap: o }, d && /* @__PURE__ */ n.createElement("span", { className: i(S) }, d)), /* @__PURE__ */ n.createElement(h, { className: i(L({ href: !!a, kind: e })), wrap: o }, a ? /* @__PURE__ */ n.createElement("a", { className: q, href: a, target: r }, l) : l));
|
|
172
|
+
}
|
|
173
|
+
v.set(z, {
|
|
174
|
+
name: "Split Tag",
|
|
175
|
+
props: {
|
|
176
|
+
color: { type: "TagKind", default: "key" },
|
|
177
|
+
href: { type: "string" },
|
|
178
|
+
target: { type: "'_blank' | '_self' | '_parent' | '_top'" },
|
|
179
|
+
icon: { type: "boolean | IconName", default: "false" },
|
|
180
|
+
tagKey: { type: "string", required: !0 },
|
|
181
|
+
value: { type: "string", required: !0 }
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
export {
|
|
185
|
+
K as ClickableTag,
|
|
186
|
+
z as SplitTag,
|
|
187
|
+
h as Tag,
|
|
188
|
+
T as TagIcons
|
|
189
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(d,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react"),require("@sps-woodland/core")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core"],h):(d=typeof globalThis<"u"?globalThis:d||self,h(d.Tags={},d.React,d.core))})(this,(function(d,h,n){"use strict";function j(_){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(_){for(const a in _)if(a!=="default"){const e=Object.getOwnPropertyDescriptor(_,a);Object.defineProperty(s,a,e.get?e:{enumerable:!0,get:()=>_[a]})}}return s.default=_,Object.freeze(s)}const t=j(h);function O(_,s,a){return s in _?Object.defineProperty(_,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):_[s]=a,_}function k(_,s){var a=Object.keys(_);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(_);s&&(e=e.filter(function(r){return Object.getOwnPropertyDescriptor(_,r).enumerable})),a.push.apply(a,e)}return a}function w(_){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?k(Object(a),!0).forEach(function(e){O(_,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(a)):k(Object(a)).forEach(function(e){Object.defineProperty(_,e,Object.getOwnPropertyDescriptor(a,e))})}return _}var T=(_,s,a)=>{for(var e of Object.keys(_)){var r;if(_[e]!==((r=s[e])!==null&&r!==void 0?r:a[e]))return!1}return!0},u=_=>s=>{var a=_.defaultClassName,e=w(w({},_.defaultVariants),s);for(var r in e){var i,p=(i=e[r])!==null&&i!==void 0?i:_.defaultVariants[r];if(p!=null){var l=p;typeof l=="boolean"&&(l=l===!0?"true":"false");var o=_.variantClassNames[r][l];o&&(a+=" "+o)}}for(var[c,g]of _.compoundVariants)T(c,e,_.defaultVariants)&&(a+=" "+g);return a},N=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r0",variantClassNames:{kind:{default:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r1",key:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r2",warning:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r3",error:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r4",pending:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r5",success:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r6",info:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r7"},wrap:{true:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r8",false:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2r9"}},defaultVariants:{kind:"default",wrap:!1},compoundVariants:[]}),C=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2ra",variantClassNames:{kind:{default:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2rb",key:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2rc",warning:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2rd",error:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2re",pending:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2rf",success:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2rg",info:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2rh",custom:"pkg_sps-woodland_core__version_8_51_0__hash_k59j2ri"}},defaultVariants:{kind:"default"},compoundVariants:[]});const m=Object.freeze({default:"info-circle",key:"info-circle",warning:"status-warning",error:"status-error",pending:"status-in-process",success:"status-ok",info:"info-circle"});function v({children:_,className:s,kind:a="default",icon:e,wrap:r,...i}){const p=typeof e=="string",l=e&&p?e:e?m[a]:void 0;return t.createElement("span",{className:n.cl(N({kind:a,wrap:r}),s),...i},l&&t.createElement(n.Icon,{className:n.cl(C({kind:p?"custom":a})),icon:l}),_)}n.Metadata.set(v,{name:"Tag",props:{kind:{type:"TagKind",default:"default"},icon:{type:"boolean | IconName",default:"false"},wrap:{type:"boolean",default:"false"}}});var V=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu50",variantClassNames:{kind:{blue:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu51",gray:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu52"},disabled:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu53",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu54"},wrap:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu55",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu56"}},defaultVariants:{kind:"blue",disabled:!1,wrap:!1},compoundVariants:[]}),x=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu57",variantClassNames:{link:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu58",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu59"},wrap:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5a",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5b"},disabled:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5c",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5d"},addOrRemove:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5e",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5f"}},defaultVariants:{link:!1,wrap:!1,disabled:!1,addOrRemove:!1},compoundVariants:[[{disabled:!1,wrap:!1,addOrRemove:!0},"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5g"]]}),E=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5h",variantClassNames:{wrap:{true:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5i",false:"pkg_sps-woodland_core__version_8_51_0__hash_1avalu5j"}},defaultVariants:{wrap:!1},compoundVariants:[]}),P="pkg_sps-woodland_core__version_8_51_0__hash_1avalu5k",I="pkg_sps-woodland_core__version_8_51_0__hash_1avalu5l";function b({children:_,className:s,onClick:a,disabled:e,wrap:r,href:i,target:p,kind:l,onAdd:o,onRemove:c,...g}){const q=t.Children.toArray(_).filter(f=>typeof f=="string").join("");t.useEffect(()=>{if(c&&o)throw new Error("Clickable tag should have onRemove or onAdd, not both")},[o,c]);function L(f){o?o():c&&c(),f.stopPropagation()}function z(f){f.stopPropagation(),a&&a(f)}return t.createElement("div",{className:n.cl(V({kind:l,disabled:e,wrap:r}),s),...g},t.createElement("span",{className:n.cl(x({link:!!i||!!a,disabled:e,wrap:r,addOrRemove:o||c})),onClick:z,title:q},i?t.createElement("a",{className:I,href:i,target:p},_):_),(o||c)&&!e&&t.createElement("div",{className:n.cl(E({wrap:r})),onClick:L,tabIndex:-1,"aria-label":o?"Add":"Remove"},t.createElement(n.Icon,{className:P,"aria-hidden":"true",icon:o?"plus-sign":"x"})))}n.Metadata.set(b,{name:"Clickable Tag",props:{disabled:{type:"boolean",default:"false"},wrap:{type:"boolean",default:"false"},href:{type:"string"},target:{type:"'_blank' | '_self' | '_parent' | '_top'"},kind:{type:"ClickableTagKind",default:"blue"},onAdd:{type:"() => void"},onRemove:{type:"() => void"}}});var S=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf0",variantClassNames:{wrap:{true:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf1",false:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf2"}},defaultVariants:{wrap:!1},compoundVariants:[]}),D="pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf3",K="pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf4",M=u({defaultClassName:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf5",variantClassNames:{href:{true:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf6",false:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf7"},kind:{default:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf8",key:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf9",warning:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfa",error:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfb",pending:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfc",success:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfd",info:"pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfe"}},defaultVariants:{href:!1,kind:"default"},compoundVariants:[]}),R="pkg_sps-woodland_core__version_8_51_0__hash_16xtnrff";function y({children:_,className:s,color:a="default",href:e,target:r,icon:i,tagKey:p,value:l,wrap:o=!1,...c}){return t.createElement("span",{className:n.cl(S({wrap:o}),s),...c},t.createElement(v,{className:n.cl(D),icon:i,kind:a,wrap:o},p&&t.createElement("span",{className:n.cl(K)},p)),t.createElement(v,{className:n.cl(M({href:!!e,kind:a})),wrap:o},e?t.createElement("a",{className:R,href:e,target:r},l):l))}n.Metadata.set(y,{name:"Split Tag",props:{color:{type:"TagKind",default:"key"},href:{type:"string"},target:{type:"'_blank' | '_self' | '_parent' | '_top'"},icon:{type:"boolean | IconName",default:"false"},tagKey:{type:"string",required:!0},value:{type:"string",required:!0}}}),d.ClickableTag=b,d.SplitTag=y,d.Tag=v,d.TagIcons=m,Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const splitTag: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
2
|
+
wrap: {
|
|
3
|
+
true: {
|
|
4
|
+
display: "inline-flex";
|
|
5
|
+
};
|
|
6
|
+
false: {};
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
9
|
+
export declare const splitTagKey: string;
|
|
10
|
+
export declare const splitTagKeyText: string;
|
|
11
|
+
export declare const splitTagValue: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
12
|
+
href: {
|
|
13
|
+
true: {
|
|
14
|
+
cursor: "pointer";
|
|
15
|
+
textDecoration: "underline";
|
|
16
|
+
color: string;
|
|
17
|
+
};
|
|
18
|
+
false: {};
|
|
19
|
+
};
|
|
20
|
+
kind: {
|
|
21
|
+
default: {};
|
|
22
|
+
key: {
|
|
23
|
+
boxShadow: `
|
|
24
|
+
${string} 0 0 ${string} inset,
|
|
25
|
+
-${string} 0 0 ${string} inset,
|
|
26
|
+
0 ${string} 0 ${string} inset,
|
|
27
|
+
0 -${string} 0 ${string} inset`;
|
|
28
|
+
};
|
|
29
|
+
warning: {
|
|
30
|
+
boxShadow: `
|
|
31
|
+
${string} 0 0 ${string} inset,
|
|
32
|
+
-${string} 0 0 ${string} inset,
|
|
33
|
+
0 ${string} 0 ${string} inset,
|
|
34
|
+
0 -${string} 0 ${string} inset`;
|
|
35
|
+
};
|
|
36
|
+
error: {
|
|
37
|
+
boxShadow: `
|
|
38
|
+
${string} 0 0 ${string} inset,
|
|
39
|
+
-${string} 0 0 ${string} inset,
|
|
40
|
+
0 ${string} 0 ${string} inset,
|
|
41
|
+
0 -${string} 0 ${string} inset`;
|
|
42
|
+
};
|
|
43
|
+
pending: {
|
|
44
|
+
boxShadow: `
|
|
45
|
+
${string} 0 0 ${string} inset,
|
|
46
|
+
-${string} 0 0 ${string} inset,
|
|
47
|
+
0 ${string} 0 ${string} inset,
|
|
48
|
+
0 -${string} 0 ${string} inset`;
|
|
49
|
+
};
|
|
50
|
+
success: {
|
|
51
|
+
boxShadow: `
|
|
52
|
+
${string} 0 0 ${string} inset,
|
|
53
|
+
-${string} 0 0 ${string} inset,
|
|
54
|
+
0 ${string} 0 ${string} inset,
|
|
55
|
+
0 -${string} 0 ${string} inset`;
|
|
56
|
+
};
|
|
57
|
+
info: {
|
|
58
|
+
boxShadow: `
|
|
59
|
+
${string} 0 0 ${string} inset,
|
|
60
|
+
-${string} 0 0 ${string} inset,
|
|
61
|
+
0 ${string} 0 ${string} inset,
|
|
62
|
+
0 -${string} 0 ${string} inset`;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
export declare const splitTagLink: string;
|
|
67
|
+
//# sourceMappingURL=SplitTag.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitTag.css.d.ts","sourceRoot":"","sources":["../../../src/tags/split-tag/SplitTag.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;EAenB,CAAC;AAEH,eAAO,MAAM,WAAW,QAKtB,CAAC;AAEH,eAAO,MAAM,eAAe,QAAY,CAAC;AAEzC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8ExB,CAAC;AAEH,eAAO,MAAM,YAAY,QAOvB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
3
|
+
var o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf0", variantClassNames: { wrap: { true: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf1", false: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf2" } }, defaultVariants: { wrap: !1 }, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf3", n = "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf4", e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf5", variantClassNames: { href: { true: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf6", false: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf7" }, kind: { default: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf8", key: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrf9", warning: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfa", error: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfb", pending: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfc", success: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfd", info: "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrfe" } }, defaultVariants: { href: !1, kind: "default" }, compoundVariants: [] }), p = "pkg_sps-woodland_core__version_8_51_0__hash_16xtnrff";
|
|
4
|
+
export {
|
|
5
|
+
o as splitTag,
|
|
6
|
+
r as splitTagKey,
|
|
7
|
+
n as splitTagKeyText,
|
|
8
|
+
p as splitTagLink,
|
|
9
|
+
e as splitTagValue
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
3
|
+
import type { IconName } from "@sps-woodland/tokens";
|
|
4
|
+
import type { TagKind } from "../tag/Tag.css";
|
|
5
|
+
export declare function SplitTag({ children, className, color, href, target, icon, tagKey, value, wrap, ...rest }: ComponentProps<{
|
|
6
|
+
color: TagKind;
|
|
7
|
+
href?: string;
|
|
8
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
9
|
+
icon?: boolean | IconName;
|
|
10
|
+
tagKey: string;
|
|
11
|
+
value: string;
|
|
12
|
+
wrap?: boolean;
|
|
13
|
+
}, HTMLDivElement>): React.ReactElement;
|
|
14
|
+
//# sourceMappingURL=SplitTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitTag.d.ts","sourceRoot":"","sources":["../../../src/tags/split-tag/SplitTag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAW9C,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,SAAS,EACT,KAAiB,EACjB,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,MAAM,EACN,KAAK,EACL,IAAY,EACZ,GAAG,IAAI,EACR,EAAE,cAAc,CACf;IACE,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,EACD,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAiBrB"}
|