@sps-woodland/core 8.50.2 → 8.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action-bar/action-bar/ActionBar.css.d.ts +10 -0
- package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +1 -0
- package/lib/action-bar/action-bar/ActionBar.css.js +12 -0
- package/lib/action-bar/action-bar/ActionBar.d.ts +9 -0
- package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -0
- package/lib/action-bar/action-bar/ActionBar.js +61 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +4 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +1 -0
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +24 -0
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/action-bar/index.d.ts.map +1 -0
- package/lib/action-bar/index.js +79 -0
- package/lib/action-bar/index.umd.cjs +1 -0
- package/lib/action-bar/style.css +1 -0
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts +91 -0
- package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/AddToList.css.js +25 -0
- package/lib/add-to-list/add-to-list/AddToList.d.ts +31 -0
- package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/AddToList.js +284 -0
- package/lib/add-to-list/add-to-list/ItemsList.d.ts +17 -0
- package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/ItemsList.js +67 -0
- package/lib/add-to-list/add-to-list/ListItem.d.ts +8 -0
- package/lib/add-to-list/add-to-list/ListItem.d.ts.map +1 -0
- package/lib/add-to-list/add-to-list/ListItem.js +51 -0
- package/lib/add-to-list/index.d.ts +2 -0
- package/lib/add-to-list/index.d.ts.map +1 -0
- package/lib/add-to-list/index.js +441 -0
- package/lib/add-to-list/index.umd.cjs +1 -0
- package/lib/add-to-list/style.css +1 -0
- package/lib/buttons/button/Button.css.d.ts +15 -0
- package/lib/buttons/button/Button.css.d.ts.map +1 -0
- package/lib/buttons/button/Button.css.js +10 -0
- package/lib/buttons/button/Button.d.ts +19 -0
- package/lib/buttons/button/Button.d.ts.map +1 -0
- package/lib/buttons/button/Button.js +116 -0
- package/lib/buttons/index.d.ts +2 -0
- package/lib/buttons/index.d.ts.map +1 -0
- package/lib/buttons/index.js +169 -0
- package/lib/buttons/index.umd.cjs +1 -0
- package/lib/buttons/style.css +1 -0
- package/lib/cards/card/Card.css.d.ts +2 -0
- package/lib/cards/card/Card.css.d.ts.map +1 -0
- package/lib/cards/card/Card.css.js +5 -0
- package/lib/cards/card/Card.d.ts +4 -0
- package/lib/cards/card/Card.d.ts.map +1 -0
- package/lib/cards/card/Card.js +28 -0
- package/lib/cards/card-footer/CardFooter.css.d.ts +2 -0
- package/lib/cards/card-footer/CardFooter.css.d.ts.map +1 -0
- package/lib/cards/card-footer/CardFooter.css.js +5 -0
- package/lib/cards/card-footer/CardFooter.d.ts +4 -0
- package/lib/cards/card-footer/CardFooter.d.ts.map +1 -0
- package/lib/cards/card-footer/CardFooter.js +14 -0
- package/lib/cards/card-header/CardHeader.css.d.ts +2 -0
- package/lib/cards/card-header/CardHeader.css.d.ts.map +1 -0
- package/lib/cards/card-header/CardHeader.css.js +5 -0
- package/lib/cards/card-header/CardHeader.d.ts +4 -0
- package/lib/cards/card-header/CardHeader.d.ts.map +1 -0
- package/lib/cards/card-header/CardHeader.js +14 -0
- package/lib/cards/card-title/CardTitle.css.d.ts +2 -0
- package/lib/cards/card-title/CardTitle.css.d.ts.map +1 -0
- package/lib/cards/card-title/CardTitle.css.js +5 -0
- package/lib/cards/card-title/CardTitle.d.ts +4 -0
- package/lib/cards/card-title/CardTitle.d.ts.map +1 -0
- package/lib/cards/card-title/CardTitle.js +14 -0
- package/lib/cards/index.d.ts +5 -0
- package/lib/cards/index.d.ts.map +1 -0
- package/lib/cards/index.js +56 -0
- package/lib/cards/index.umd.cjs +1 -0
- package/lib/cards/style.css +1 -0
- package/lib/column-manager/column-manager/ColumnManager.d.ts +23 -0
- package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -0
- package/lib/column-manager/column-manager/ColumnManager.js +114 -0
- package/lib/column-manager/column-manager/useColumnManager.d.ts +27 -0
- package/lib/column-manager/column-manager/useColumnManager.d.ts.map +1 -0
- package/lib/column-manager/column-manager/useColumnManager.js +49 -0
- package/lib/column-manager/index.d.ts +3 -0
- package/lib/column-manager/index.d.ts.map +1 -0
- package/lib/column-manager/index.js +6 -0
- package/lib/components/app-root/AppRoot.css.d.ts +2 -1
- package/lib/components/app-root/AppRoot.css.d.ts.map +1 -0
- package/lib/components/app-root/AppRoot.d.ts +1 -0
- package/lib/components/app-root/AppRoot.d.ts.map +1 -0
- package/lib/components/box/Box.d.ts +1 -0
- package/lib/components/box/Box.d.ts.map +1 -0
- package/lib/components/cap-content/CapContent.css.d.ts +1 -0
- package/lib/components/cap-content/CapContent.css.d.ts.map +1 -0
- package/lib/components/cap-content/CapContent.d.ts +1 -0
- package/lib/components/cap-content/CapContent.d.ts.map +1 -0
- package/lib/components/cap-content/CapContentTitle.d.ts +1 -0
- package/lib/components/cap-content/CapContentTitle.d.ts.map +1 -0
- package/lib/components/content/Content.css.d.ts +1 -0
- package/lib/components/content/Content.css.d.ts.map +1 -0
- package/lib/components/content/Content.d.ts +1 -0
- package/lib/components/content/Content.d.ts.map +1 -0
- package/lib/components/icon/Icon.css.d.ts +2 -1
- package/lib/components/icon/Icon.css.d.ts.map +1 -0
- package/lib/components/icon/Icon.d.ts +1 -0
- package/lib/components/icon/Icon.d.ts.map +1 -0
- package/lib/components/icon/icons/index.d.ts +1 -0
- package/lib/components/icon/icons/index.d.ts.map +1 -0
- package/lib/components/input-panel/InputPanel.css.d.ts +1 -0
- package/lib/components/input-panel/InputPanel.css.d.ts.map +1 -0
- package/lib/components/input-panel/InputPanel.d.ts +1 -0
- package/lib/components/input-panel/InputPanel.d.ts.map +1 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +1 -0
- package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.css.d.ts +2 -1
- package/lib/components/spinner/Spinner.css.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.d.ts +1 -0
- package/lib/components/spinner/Spinner.d.ts.map +1 -0
- package/lib/components/spinner/Spinner.examples.d.ts +1 -0
- package/lib/components/spinner/Spinner.examples.d.ts.map +1 -0
- package/lib/components/title/Title.css.d.ts +2 -1
- package/lib/components/title/Title.css.d.ts.map +1 -0
- package/lib/components/title/Title.d.ts +1 -0
- package/lib/components/title/Title.d.ts.map +1 -0
- package/lib/components/vertical-rule/VerticalRule.css.d.ts +1 -0
- package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +1 -0
- package/lib/components/vertical-rule/VerticalRule.d.ts +1 -0
- package/lib/components/vertical-rule/VerticalRule.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.css.d.ts +150 -0
- package/lib/content-row/content-row/ContentRow.css.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.css.js +19 -0
- package/lib/content-row/content-row/ContentRow.d.ts +27 -0
- package/lib/content-row/content-row/ContentRow.d.ts.map +1 -0
- package/lib/content-row/content-row/ContentRow.js +175 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +51 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +1 -0
- package/lib/content-row/content-row-col/ContentRowCol.css.js +8 -0
- package/lib/content-row/content-row-col/ContentRowCol.d.ts +11 -0
- package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -0
- package/lib/content-row/content-row-col/ContentRowCol.js +50 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +6 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -0
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +25 -0
- package/lib/content-row/index.d.ts +5 -0
- package/lib/content-row/index.d.ts.map +1 -0
- package/lib/content-row/index.js +336 -0
- package/lib/content-row/index.umd.cjs +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +9 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +6 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +6 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -0
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +48 -0
- package/lib/content-row/style.css +1 -0
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts +59 -0
- package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +1 -0
- package/lib/content-tiles/content-tile/ContentTile.css.js +15 -0
- package/lib/content-tiles/content-tile/ContentTile.d.ts +16 -0
- package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -0
- package/lib/content-tiles/content-tile/ContentTile.js +62 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +3 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +1 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.css.js +6 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +3 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -0
- package/lib/content-tiles/content-tile-list/ContentTileList.js +14 -0
- package/lib/content-tiles/index.d.ts +3 -0
- package/lib/content-tiles/index.d.ts.map +1 -0
- package/lib/content-tiles/index.js +124 -0
- package/lib/content-tiles/index.umd.cjs +1 -0
- package/lib/content-tiles/style.css +1 -0
- package/lib/core.css +1 -0
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts +74 -0
- package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +1 -0
- package/lib/dropdowns/dropdown/Dropdown.css.js +9 -0
- package/lib/dropdowns/dropdown/Dropdown.d.ts +16 -0
- package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -0
- package/lib/dropdowns/dropdown/Dropdown.js +70 -0
- package/lib/dropdowns/index.d.ts +4 -0
- package/lib/dropdowns/index.d.ts.map +1 -0
- package/lib/dropdowns/index.js +180 -0
- package/lib/dropdowns/index.umd.cjs +1 -0
- package/lib/dropdowns/option-list/Option.css.d.ts +3 -0
- package/lib/dropdowns/option-list/Option.css.d.ts.map +1 -0
- package/lib/dropdowns/option-list/Option.css.js +6 -0
- package/lib/dropdowns/option-list/Option.d.ts +5 -0
- package/lib/dropdowns/option-list/Option.d.ts.map +1 -0
- package/lib/dropdowns/option-list/Option.js +22 -0
- package/lib/dropdowns/option-list/OptionList.css.d.ts +3 -0
- package/lib/dropdowns/option-list/OptionList.css.d.ts.map +1 -0
- package/lib/dropdowns/option-list/OptionList.css.js +6 -0
- package/lib/dropdowns/option-list/OptionList.d.ts +11 -0
- package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -0
- package/lib/dropdowns/option-list/OptionList.js +46 -0
- package/lib/dropdowns/style.css +1 -0
- package/lib/editable-table/EditableTable.d.ts +6 -0
- package/lib/editable-table/EditableTable.d.ts.map +1 -0
- package/lib/editable-table/EditableTable.js +71 -0
- package/lib/editable-table/index.d.ts +2 -0
- package/lib/editable-table/index.d.ts.map +1 -0
- package/lib/editable-table/index.js +4 -0
- package/lib/editable-table/style.css +157 -0
- package/lib/examples.d.ts +1 -0
- package/lib/examples.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.css.d.ts +12 -0
- package/lib/feedback-block/FeedbackBlock.css.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.css.js +8 -0
- package/lib/feedback-block/FeedbackBlock.d.ts +10 -0
- package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -0
- package/lib/feedback-block/FeedbackBlock.js +38 -0
- package/lib/feedback-block/index.d.ts +2 -0
- package/lib/feedback-block/index.d.ts.map +1 -0
- package/lib/feedback-block/index.js +91 -0
- package/lib/feedback-block/index.umd.cjs +1 -0
- package/lib/feedback-block/style.css +1 -0
- package/lib/file-upload/file-upload/FileUpload.css.d.ts +95 -0
- package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.css.js +19 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts +20 -0
- package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
- package/lib/file-upload/file-upload/FileUpload.js +197 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts +98 -0
- package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +1 -0
- package/lib/file-upload/file-upload/mime-type.enum.js +106 -0
- package/lib/file-upload/index.d.ts +2 -0
- package/lib/file-upload/index.d.ts.map +1 -0
- package/lib/file-upload/index.js +352 -0
- package/lib/file-upload/index.umd.cjs +1 -0
- package/lib/file-upload/style.css +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +37 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.css.js +10 -0
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts +9 -0
- package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile/FilterTile.js +35 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +2 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +5 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +4 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -0
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +16 -0
- package/lib/filter-tiles/index.d.ts +3 -0
- package/lib/filter-tiles/index.d.ts.map +1 -0
- package/lib/filter-tiles/index.js +100 -0
- package/lib/filter-tiles/index.umd.cjs +1 -0
- package/lib/filter-tiles/style.css +1 -0
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts +15 -0
- package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +1 -0
- package/lib/focused-task/focused-task/FocusedTask.css.js +13 -0
- package/lib/focused-task/focused-task/FocusedTask.d.ts +17 -0
- package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -0
- package/lib/focused-task/focused-task/FocusedTask.js +77 -0
- package/lib/focused-task/focused-task/useFocusedTask.d.ts +17 -0
- package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +1 -0
- package/lib/focused-task/focused-task/useFocusedTask.js +19 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +4 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +1 -0
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +14 -0
- package/lib/focused-task/index.d.ts +4 -0
- package/lib/focused-task/index.d.ts.map +1 -0
- package/lib/focused-task/index.js +154 -0
- package/lib/focused-task/index.umd.cjs +1 -0
- package/lib/focused-task/style.css +1 -0
- package/lib/growler/Growler.css.d.ts +18 -0
- package/lib/growler/Growler.css.d.ts.map +1 -0
- package/lib/growler/Growler.css.js +13 -0
- package/lib/growler/Growler.d.ts +23 -0
- package/lib/growler/Growler.d.ts.map +1 -0
- package/lib/growler/Growler.js +93 -0
- package/lib/growler/GrowlerListProvider.d.ts +14 -0
- package/lib/growler/GrowlerListProvider.d.ts.map +1 -0
- package/lib/growler/GrowlerListProvider.js +42 -0
- package/lib/growler/Sonner.css.d.ts +17 -0
- package/lib/growler/Sonner.css.d.ts.map +1 -0
- package/lib/growler/Sonner.css.js +13 -0
- package/lib/growler/index.d.ts +4 -0
- package/lib/growler/index.d.ts.map +1 -0
- package/lib/growler/index.js +267 -0
- package/lib/growler/index.umd.cjs +1 -0
- package/lib/growler/sonner.d.ts +87 -0
- package/lib/growler/sonner.d.ts.map +1 -0
- package/lib/growler/sonner.js +86 -0
- package/lib/growler/style.css +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +8 -8
- package/lib/index.umd.cjs +1 -1
- package/lib/insight-card/InsightCard.css.d.ts +20 -0
- package/lib/insight-card/InsightCard.css.d.ts.map +1 -0
- package/lib/insight-card/InsightCard.css.js +14 -0
- package/lib/insight-card/InsightCard.d.ts +15 -0
- package/lib/insight-card/InsightCard.d.ts.map +1 -0
- package/lib/insight-card/InsightCard.js +69 -0
- package/lib/insight-card/InsightCardSet.d.ts +3 -0
- package/lib/insight-card/InsightCardSet.d.ts.map +1 -0
- package/lib/insight-card/InsightCardSet.js +13 -0
- package/lib/insight-card/index.d.ts +3 -0
- package/lib/insight-card/index.d.ts.map +1 -0
- package/lib/insight-card/index.js +130 -0
- package/lib/insight-card/index.umd.cjs +1 -0
- package/lib/insight-card/style.css +1 -0
- package/lib/key-value-set/index.d.ts +3 -0
- package/lib/key-value-set/index.d.ts.map +1 -0
- package/lib/key-value-set/index.js +95 -0
- package/lib/key-value-set/index.umd.cjs +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +7 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.css.js +6 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +6 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set/KeyValueSet.js +23 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +14 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +8 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +7 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -0
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +23 -0
- package/lib/key-value-set/style.css +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +11 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.css.js +9 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +16 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -0
- package/lib/list-bar/advanced-search/AdvancedSearch.js +56 -0
- package/lib/list-bar/index.d.ts +8 -0
- package/lib/list-bar/index.d.ts.map +1 -0
- package/lib/list-bar/index.js +317 -0
- package/lib/list-bar/index.umd.cjs +1 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +4 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -0
- package/lib/list-bar/list-bar/InputGroupWrapper.js +20 -0
- package/lib/list-bar/list-bar/ListBar.css.d.ts +39 -0
- package/lib/list-bar/list-bar/ListBar.css.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBar.css.js +18 -0
- package/lib/list-bar/list-bar/ListBar.d.ts +20 -0
- package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBar.js +123 -0
- package/lib/list-bar/list-bar/ListBarSearch.d.ts +6 -0
- package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSearch.js +23 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +4 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +13 -0
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts +16 -0
- package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -0
- package/lib/list-bar/list-bar/ListBarSortBy.js +40 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +10 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +1 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +14 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +11 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -0
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +30 -0
- package/lib/list-bar/style.css +1 -0
- package/lib/manifest.d.ts +1 -0
- package/lib/manifest.d.ts.map +1 -0
- package/lib/matrix/index.d.ts +7 -0
- package/lib/matrix/index.d.ts.map +1 -0
- package/lib/matrix/index.js +95 -0
- package/lib/matrix/index.umd.cjs +1 -0
- package/lib/matrix/matrix/Matrix.css.d.ts +5 -0
- package/lib/matrix/matrix/Matrix.css.d.ts.map +1 -0
- package/lib/matrix/matrix/Matrix.css.js +8 -0
- package/lib/matrix/matrix/Matrix.d.ts +6 -0
- package/lib/matrix/matrix/Matrix.d.ts.map +1 -0
- package/lib/matrix/matrix/Matrix.js +28 -0
- package/lib/matrix/matrix-body/MatrixBody.d.ts +4 -0
- package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -0
- package/lib/matrix/matrix-body/MatrixBody.js +15 -0
- package/lib/matrix/matrix-cell/MatrixCell.d.ts +4 -0
- package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +1 -0
- package/lib/matrix/matrix-cell/MatrixCell.js +19 -0
- package/lib/matrix/matrix-head/MatrixHead.d.ts +4 -0
- package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -0
- package/lib/matrix/matrix-head/MatrixHead.js +15 -0
- package/lib/matrix/matrix-header/MatrixHeader.d.ts +16 -0
- package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +1 -0
- package/lib/matrix/matrix-header/MatrixHeader.js +25 -0
- package/lib/matrix/matrix-row/MatrixRow.d.ts +4 -0
- package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -0
- package/lib/matrix/matrix-row/MatrixRow.js +15 -0
- package/lib/matrix/style.css +1 -0
- package/lib/metadata/metadata.d.ts +1 -0
- package/lib/metadata/metadata.d.ts.map +1 -0
- package/lib/modal/index.d.ts +4 -0
- package/lib/modal/index.d.ts.map +1 -0
- package/lib/modal/index.js +197 -0
- package/lib/modal/index.umd.cjs +1 -0
- package/lib/modal/modal/Modal.css.d.ts +20 -0
- package/lib/modal/modal/Modal.css.d.ts.map +1 -0
- package/lib/modal/modal/Modal.css.js +14 -0
- package/lib/modal/modal/Modal.d.ts +27 -0
- package/lib/modal/modal/Modal.d.ts.map +1 -0
- package/lib/modal/modal/Modal.js +113 -0
- package/lib/modal/modal/useModal.d.ts +17 -0
- package/lib/modal/modal/useModal.d.ts.map +1 -0
- package/lib/modal/modal/useModal.js +26 -0
- package/lib/modal/modal-footer/ModalFooter.d.ts +4 -0
- package/lib/modal/modal-footer/ModalFooter.d.ts.map +1 -0
- package/lib/modal/modal-footer/ModalFooter.js +14 -0
- package/lib/modal/style.css +1 -0
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +57 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +11 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +4 -0
- package/lib/page-title/index.d.ts +3 -0
- package/lib/page-title/index.d.ts.map +1 -0
- package/lib/page-title/index.js +32 -0
- package/lib/page-title/index.umd.cjs +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +3 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.css.js +6 -0
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts +4 -0
- package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -0
- package/lib/page-title/page-subtitle/PageSubtitle.js +19 -0
- package/lib/page-title/page-title/PageTitle.css.d.ts +4 -0
- package/lib/page-title/page-title/PageTitle.css.d.ts.map +1 -0
- package/lib/page-title/page-title/PageTitle.css.js +7 -0
- package/lib/page-title/page-title/PageTitle.d.ts +4 -0
- package/lib/page-title/page-title/PageTitle.d.ts.map +1 -0
- package/lib/page-title/page-title/PageTitle.js +17 -0
- package/lib/page-title/style.css +1 -0
- package/lib/photo/index.d.ts +3 -0
- package/lib/photo/index.d.ts.map +1 -0
- package/lib/photo/index.js +179 -0
- package/lib/photo/index.umd.cjs +1 -0
- package/lib/photo/photo/Photo.css.d.ts +12 -0
- package/lib/photo/photo/Photo.css.d.ts.map +1 -0
- package/lib/photo/photo/Photo.css.js +8 -0
- package/lib/photo/photo/Photo.d.ts +11 -0
- package/lib/photo/photo/Photo.d.ts.map +1 -0
- package/lib/photo/photo/Photo.js +83 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +13 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +1 -0
- package/lib/photo/photo-carousel/PhotoCarousel.css.js +10 -0
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts +4 -0
- package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -0
- package/lib/photo/photo-carousel/PhotoCarousel.js +48 -0
- package/lib/photo/style.css +1 -0
- package/lib/product-bar/hooks/usePriorityPlus.d.ts +33 -0
- package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +1 -0
- package/lib/product-bar/hooks/usePriorityPlus.js +106 -0
- package/lib/product-bar/index.d.ts +5 -0
- package/lib/product-bar/index.d.ts.map +1 -0
- package/lib/product-bar/index.js +397 -0
- package/lib/product-bar/index.umd.cjs +1 -0
- package/lib/product-bar/product-bar/ProductBar.css.d.ts +43 -0
- package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +1 -0
- package/lib/product-bar/product-bar/ProductBar.css.js +15 -0
- package/lib/product-bar/product-bar/ProductBar.d.ts +14 -0
- package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -0
- package/lib/product-bar/product-bar/ProductBar.js +107 -0
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts +12 -0
- package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -0
- package/lib/product-bar/product-bar-name/ProductBarName.js +33 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +23 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +1 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +9 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +13 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +1 -0
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +71 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +16 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +1 -0
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +24 -0
- package/lib/product-bar/slack-link/SlackLink.css.d.ts +3 -0
- package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +1 -0
- package/lib/product-bar/slack-link/SlackLink.css.js +6 -0
- package/lib/product-bar/slack-link/SlackLink.d.ts +6 -0
- package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -0
- package/lib/product-bar/slack-link/SlackLink.js +32 -0
- package/lib/product-bar/style.css +1 -0
- package/lib/product-bar-vertical/index.d.ts +5 -0
- package/lib/product-bar-vertical/index.d.ts.map +1 -0
- package/lib/product-bar-vertical/index.js +261 -0
- package/lib/product-bar-vertical/index.umd.cjs +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +78 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +24 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +8 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +62 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +9 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +44 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +15 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +91 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +10 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +1 -0
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +30 -0
- package/lib/product-bar-vertical/style.css +1 -0
- package/lib/progress-indicators/index.d.ts +4 -0
- package/lib/progress-indicators/index.d.ts.map +1 -0
- package/lib/progress-indicators/index.js +264 -0
- package/lib/progress-indicators/index.umd.cjs +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +19 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.css.js +14 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +13 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/ProgressBar.js +112 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +14 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +9 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +14 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -0
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +56 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +8 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -0
- package/lib/progress-indicators/progress-ring/ProgressRing.js +54 -0
- package/lib/progress-indicators/style.css +1 -0
- package/lib/rich-text-editor/index.d.ts +3 -0
- package/lib/rich-text-editor/index.d.ts.map +1 -0
- package/lib/rich-text-editor/index.js +588 -0
- package/lib/rich-text-editor/index.umd.cjs +13 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +13 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +35 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +16 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +7 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +11 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +38 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +15 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +9 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +8 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +81 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +2 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +20 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +2 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +22 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +14 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +28 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +6 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +94 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +7 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +37 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +15 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +214 -0
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -0
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +12 -0
- package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +10 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +13 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +3 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +1 -0
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +16 -0
- package/lib/rich-text-editor/style.css +1 -0
- package/lib/scrollable-container/ScrollableContainer.css.d.ts +2 -0
- package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +1 -0
- package/lib/scrollable-container/ScrollableContainer.css.js +5 -0
- package/lib/scrollable-container/ScrollableContainer.d.ts +6 -0
- package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -0
- package/lib/scrollable-container/ScrollableContainer.js +29 -0
- package/lib/scrollable-container/index.d.ts +2 -0
- package/lib/scrollable-container/index.d.ts.map +1 -0
- package/lib/scrollable-container/index.js +29 -0
- package/lib/scrollable-container/index.umd.cjs +1 -0
- package/lib/scrollable-container/style.css +1 -0
- package/lib/side-nav/index.d.ts +5 -0
- package/lib/side-nav/index.d.ts.map +1 -0
- package/lib/side-nav/index.js +228 -0
- package/lib/side-nav/index.umd.cjs +1 -0
- package/lib/side-nav/side-nav/SideNav.css.d.ts +30 -0
- package/lib/side-nav/side-nav/SideNav.css.d.ts.map +1 -0
- package/lib/side-nav/side-nav/SideNav.css.js +17 -0
- package/lib/side-nav/side-nav/SideNav.d.ts +9 -0
- package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -0
- package/lib/side-nav/side-nav/SideNav.js +62 -0
- package/lib/side-nav/side-nav/navContext.d.ts +5 -0
- package/lib/side-nav/side-nav/navContext.d.ts.map +1 -0
- package/lib/side-nav/side-nav/navContext.js +8 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +4 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +1 -0
- package/lib/side-nav/side-nav-header/SideNavHeader.js +17 -0
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts +25 -0
- package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -0
- package/lib/side-nav/side-nav-item/SideNavItem.js +84 -0
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts +7 -0
- package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +1 -0
- package/lib/side-nav/side-nav-section/SideNavSection.js +28 -0
- package/lib/side-nav/style.css +1 -0
- package/lib/sorting-header/caret/caret.css.d.ts +21 -0
- package/lib/sorting-header/caret/caret.css.d.ts.map +1 -0
- package/lib/sorting-header/caret/caret.css.js +6 -0
- package/lib/sorting-header/index.d.ts +3 -0
- package/lib/sorting-header/index.d.ts.map +1 -0
- package/lib/sorting-header/index.js +250 -0
- package/lib/sorting-header/index.umd.cjs +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +39 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.css.js +7 -0
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts +9 -0
- package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header/SortingHeader.js +126 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +35 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +6 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +12 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -0
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +77 -0
- package/lib/sorting-header/style.css +1 -0
- package/lib/style.css +1 -1
- package/lib/tabs/index.d.ts +4 -0
- package/lib/tabs/index.d.ts.map +1 -0
- package/lib/tabs/index.js +206 -0
- package/lib/tabs/index.umd.cjs +1 -0
- package/lib/tabs/style.css +1 -0
- package/lib/tabs/tab/Tab.css.d.ts +12 -0
- package/lib/tabs/tab/Tab.css.d.ts.map +1 -0
- package/lib/tabs/tab/Tab.css.js +7 -0
- package/lib/tabs/tab/Tab.d.ts +10 -0
- package/lib/tabs/tab/Tab.d.ts.map +1 -0
- package/lib/tabs/tab/Tab.js +28 -0
- package/lib/tabs/tab-panel/TabPanel.d.ts +9 -0
- package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -0
- package/lib/tabs/tab-panel/TabPanel.js +24 -0
- package/lib/tabs/tabs/Tabs.css.d.ts +30 -0
- package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.css.js +11 -0
- package/lib/tabs/tabs/Tabs.d.ts +6 -0
- package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
- package/lib/tabs/tabs/Tabs.js +113 -0
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts +17 -0
- package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -0
- package/lib/tags/clickable-tag/ClickableTag.css.js +10 -0
- package/lib/tags/clickable-tag/ClickableTag.d.ts +13 -0
- package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -0
- package/lib/tags/clickable-tag/ClickableTag.js +72 -0
- package/lib/tags/index.d.ts +4 -0
- package/lib/tags/index.d.ts.map +1 -0
- package/lib/tags/index.js +189 -0
- package/lib/tags/index.umd.cjs +1 -0
- package/lib/tags/split-tag/SplitTag.css.d.ts +67 -0
- package/lib/tags/split-tag/SplitTag.css.d.ts.map +1 -0
- package/lib/tags/split-tag/SplitTag.css.js +10 -0
- package/lib/tags/split-tag/SplitTag.d.ts +14 -0
- package/lib/tags/split-tag/SplitTag.d.ts.map +1 -0
- package/lib/tags/split-tag/SplitTag.js +32 -0
- package/lib/tags/style.css +1 -0
- package/lib/tags/tag/Tag.css.d.ts +24 -0
- package/lib/tags/tag/Tag.css.d.ts.map +1 -0
- package/lib/tags/tag/Tag.css.js +7 -0
- package/lib/tags/tag/Tag.d.ts +11 -0
- package/lib/tags/tag/Tag.d.ts.map +1 -0
- package/lib/tags/tag/Tag.js +41 -0
- package/lib/types/table.d.ts +1 -0
- package/lib/types/table.d.ts.map +1 -0
- package/lib/utils/ChildrenFn.d.ts +1 -0
- package/lib/utils/ChildrenFn.d.ts.map +1 -0
- package/lib/utils/ComponentProps.d.ts +1 -0
- package/lib/utils/ComponentProps.d.ts.map +1 -0
- package/lib/utils/Provide.d.ts +1 -0
- package/lib/utils/Provide.d.ts.map +1 -0
- package/lib/utils/VariantDefinitions.d.ts +1 -0
- package/lib/utils/VariantDefinitions.d.ts.map +1 -0
- package/lib/utils/addClassName.d.ts +1 -0
- package/lib/utils/addClassName.d.ts.map +1 -0
- package/lib/utils/addProps.d.ts +1 -0
- package/lib/utils/addProps.d.ts.map +1 -0
- package/lib/utils/bindProps.d.ts +1 -0
- package/lib/utils/bindProps.d.ts.map +1 -0
- package/lib/utils/cl.d.ts +1 -0
- package/lib/utils/cl.d.ts.map +1 -0
- package/lib/utils/combineEventHandlers.d.ts +1 -0
- package/lib/utils/combineEventHandlers.d.ts.map +1 -0
- package/lib/utils/contentOf.d.ts +1 -0
- package/lib/utils/contentOf.d.ts.map +1 -0
- package/lib/utils/getScrollParent.d.ts +1 -0
- package/lib/utils/getScrollParent.d.ts.map +1 -0
- package/lib/utils/modChildren.d.ts +1 -0
- package/lib/utils/modChildren.d.ts.map +1 -0
- package/lib/utils/selectChildren.d.ts +1 -0
- package/lib/utils/selectChildren.d.ts.map +1 -0
- package/lib/utils/useChildTestIdAttrBuilder.d.ts +1 -0
- package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +1 -0
- package/lib/utils/useElementId.d.ts +1 -0
- package/lib/utils/useElementId.d.ts.map +1 -0
- package/lib/utils/usePatchReducer.d.ts +1 -0
- package/lib/utils/usePatchReducer.d.ts.map +1 -0
- package/lib/utils/usePortal.d.ts +1 -0
- package/lib/utils/usePortal.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.css.d.ts +41 -0
- package/lib/zero-state/ZeroState.css.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.css.js +12 -0
- package/lib/zero-state/ZeroState.d.ts +12 -0
- package/lib/zero-state/ZeroState.d.ts.map +1 -0
- package/lib/zero-state/ZeroState.js +31 -0
- package/lib/zero-state/index.d.ts +2 -0
- package/lib/zero-state/index.d.ts.map +1 -0
- package/lib/zero-state/index.js +84 -0
- package/lib/zero-state/index.umd.cjs +1 -0
- package/lib/zero-state/style.css +1 -0
- package/package.json +755 -6
- package/vite.action-bar.config.mjs +40 -0
- package/vite.add-to-list.config.mjs +40 -0
- package/vite.buttons.config.mjs +41 -0
- package/vite.cards.config.mjs +40 -0
- package/vite.config.mjs +7 -1
- package/vite.content-row.config.mjs +40 -0
- package/vite.content-tiles.config.mjs +40 -0
- package/vite.dropdowns.config.mjs +41 -0
- package/vite.editable-table.config.mjs +68 -0
- package/vite.feedback-block.config.mjs +40 -0
- package/vite.file-upload.config.mjs +40 -0
- package/vite.filter-tiles.config.mjs +40 -0
- package/vite.focused-task.config.mjs +40 -0
- package/vite.growler.config.mjs +41 -0
- package/vite.insight-card.config.mjs +40 -0
- package/vite.key-value-set.config.mjs +40 -0
- package/vite.list-bar.config.mjs +40 -0
- package/vite.matrix.config.mjs +40 -0
- package/vite.modal.config.mjs +40 -0
- package/vite.page-title.config.mjs +40 -0
- package/vite.photo.config.mjs +40 -0
- package/vite.product-bar-vertical.config.mjs +40 -0
- package/vite.product-bar.config.mjs +42 -0
- package/vite.progress-indicators.config.mjs +40 -0
- package/vite.rich-text-editor.config.mjs +48 -0
- package/vite.scrollable-container.config.mjs +40 -0
- package/vite.side-nav.config.mjs +40 -0
- package/vite.sorting-header.config.mjs +40 -0
- package/vite.subpaths.config.mjs +246 -0
- package/vite.tabs.config.mjs +43 -0
- package/vite.tags.config.mjs +40 -0
- package/vite.zero-state.config.mjs +40 -0
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { Metadata as ue, cl as j, Spinner as ve } from "@sps-woodland/core";
|
|
3
|
+
import { parseFileSize as he } from "@spscommerce/utils";
|
|
4
|
+
import { Button as I } from "@sps-woodland/core/button";
|
|
5
|
+
import { GENERAL_ERROR_LARGE as ge, UPLOAD_LARGE as ke } from "@sps-woodland/illustrations";
|
|
6
|
+
import { useWoodlandLanguage as we } from "@spscommerce/i18n";
|
|
7
|
+
const R = {
|
|
8
|
+
"7Z": ["application/x-7z-compressed"],
|
|
9
|
+
AAC: ["audio/aac"],
|
|
10
|
+
ABW: ["application/x-abiword"],
|
|
11
|
+
ARC: ["application/octet-stream"],
|
|
12
|
+
AVI: ["video/x-msvideo"],
|
|
13
|
+
AZW: ["application/vnd.amazon.ebook"],
|
|
14
|
+
BIN: ["application/octet-stream"],
|
|
15
|
+
BMP: ["image/bmp"],
|
|
16
|
+
BZ: ["application/x-bzip"],
|
|
17
|
+
BZ2: ["application/x-bzip2"],
|
|
18
|
+
CER: ["application/pkix-cert", "application/x-x509-ca-cert"],
|
|
19
|
+
CSH: ["application/x-csh"],
|
|
20
|
+
CSS: ["text/css"],
|
|
21
|
+
CSV: ["text/csv", "application/vnd.ms-excel"],
|
|
22
|
+
DOC: ["application/msword"],
|
|
23
|
+
DOT: ["application/msword"],
|
|
24
|
+
DOCX: ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
|
|
25
|
+
DOTX: ["application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
|
|
26
|
+
DOCM: ["application/vnd.ms-word.document.macroEnabled.12"],
|
|
27
|
+
DOTM: ["application/vnd.ms-word.template.macroEnabled.12"],
|
|
28
|
+
EML: [
|
|
29
|
+
"application/octet-stream",
|
|
30
|
+
"message/rfc822",
|
|
31
|
+
"multipart/mixed",
|
|
32
|
+
"message/rfc5322",
|
|
33
|
+
"message/rfc6532"
|
|
34
|
+
],
|
|
35
|
+
EOT: ["application/vnd.ms-fontobject"],
|
|
36
|
+
EPUB: ["application/epub+zip"],
|
|
37
|
+
ES: ["application/ecmascript"],
|
|
38
|
+
FLV: ["video/x-flv"],
|
|
39
|
+
GIF: ["image/gif"],
|
|
40
|
+
GZ: ["application/x-gzip"],
|
|
41
|
+
HTM: ["text/html"],
|
|
42
|
+
HTML: ["text/html"],
|
|
43
|
+
ICO: ["image/x-icon"],
|
|
44
|
+
ICS: ["text/calendar"],
|
|
45
|
+
JAR: ["application/java-archive"],
|
|
46
|
+
JPEG: ["image/jpeg"],
|
|
47
|
+
JPG: ["image/jpeg"],
|
|
48
|
+
JS: ["application/javascript"],
|
|
49
|
+
JSON: ["application/json"],
|
|
50
|
+
M3U: ["audio/x-mpequrl"],
|
|
51
|
+
MID: ["audio/midi"],
|
|
52
|
+
MIDI: ["audio/midi"],
|
|
53
|
+
MOV: ["video/quicktime"],
|
|
54
|
+
MP3: ["audio/mpeg3"],
|
|
55
|
+
MP4: ["video/mp4"],
|
|
56
|
+
MPEG: ["video/mpeg"],
|
|
57
|
+
MPKG: ["application/vnd.apple.installer+xml"],
|
|
58
|
+
ODP: ["application/vnd.oasis.opendocument.presentation"],
|
|
59
|
+
ODS: ["application/vnd.oasis.opendocument.spreadsheet"],
|
|
60
|
+
ODT: ["application/vnd.oasis.opendocument.text"],
|
|
61
|
+
OGA: ["audio/ogg"],
|
|
62
|
+
OGV: ["video/ogg"],
|
|
63
|
+
OGX: ["application/ogg"],
|
|
64
|
+
OTF: ["font/otf"],
|
|
65
|
+
PNG: ["image/png"],
|
|
66
|
+
PDF: ["application/pdf"],
|
|
67
|
+
POT: ["application/vnd.ms-powerpoint"],
|
|
68
|
+
POTM: ["application/vnd.ms-powerpoint.template.macroEnabled.12"],
|
|
69
|
+
POTX: ["application/vnd.openxmlformats-officedocument.presentationml.template"],
|
|
70
|
+
PPA: ["application/vnd.ms-powerpoint"],
|
|
71
|
+
PPAM: ["application/vnd.ms-powerpoint.addin.macroEnabled.12"],
|
|
72
|
+
PPS: ["application/vnd.ms-powerpoint"],
|
|
73
|
+
PPSM: ["application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
|
|
74
|
+
PPT: ["application/vnd.ms-powerpoint"],
|
|
75
|
+
PPTM: ["application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
|
|
76
|
+
PPSX: ["application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
|
|
77
|
+
PPTX: ["application/vnd.openxmlformats-officedocument.presentationml.presentation"],
|
|
78
|
+
RAR: ["application/x-rar-compressed"],
|
|
79
|
+
RTF: ["application/rtf"],
|
|
80
|
+
SH: ["application/x-sh"],
|
|
81
|
+
SVG: ["image/svg+xml"],
|
|
82
|
+
SWF: ["application/x-shockwave-flash"],
|
|
83
|
+
TAR: ["application/x-tar"],
|
|
84
|
+
TIF: ["image/tiff"],
|
|
85
|
+
TIFF: ["image/tiff"],
|
|
86
|
+
TS: ["application/typescript"],
|
|
87
|
+
TTF: ["font/ttf"],
|
|
88
|
+
TXT: ["text/plain"],
|
|
89
|
+
VSD: ["application/vnd.visio"],
|
|
90
|
+
WAV: ["audio/wav"],
|
|
91
|
+
WEBA: ["audio/webm"],
|
|
92
|
+
WEBM: ["video/webm"],
|
|
93
|
+
WEBP: ["image/webp"],
|
|
94
|
+
WOFF: ["font/woff"],
|
|
95
|
+
WOFF2: ["font/woff2"],
|
|
96
|
+
XHTML: ["application/xhtml+xml"],
|
|
97
|
+
XLA: ["application/vnd.ms-excel"],
|
|
98
|
+
XLS: ["application/vnd.ms-excel"],
|
|
99
|
+
XLSB: ["application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
|
|
100
|
+
XLT: ["application/vnd.ms-excel"],
|
|
101
|
+
XLAM: ["application/vnd.ms-excel.addin.macroEnabled.12"],
|
|
102
|
+
XLSM: ["application/vnd.ms-excel.sheet.macroEnabled.12"],
|
|
103
|
+
XLSX: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
|
|
104
|
+
XLTM: ["application/vnd.ms-excel.template.macroEnabled.12"],
|
|
105
|
+
XLTX: ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
|
|
106
|
+
XML: ["application/xml"],
|
|
107
|
+
XUL: ["application/vnd.mozilla.xul+xml"],
|
|
108
|
+
ZIP: ["application/zip"]
|
|
109
|
+
};
|
|
110
|
+
function Ee(a, r, n) {
|
|
111
|
+
return r in a ? Object.defineProperty(a, r, {
|
|
112
|
+
value: n,
|
|
113
|
+
enumerable: !0,
|
|
114
|
+
configurable: !0,
|
|
115
|
+
writable: !0
|
|
116
|
+
}) : a[r] = n, a;
|
|
117
|
+
}
|
|
118
|
+
function B(a, r) {
|
|
119
|
+
var n = Object.keys(a);
|
|
120
|
+
if (Object.getOwnPropertySymbols) {
|
|
121
|
+
var o = Object.getOwnPropertySymbols(a);
|
|
122
|
+
r && (o = o.filter(function(i) {
|
|
123
|
+
return Object.getOwnPropertyDescriptor(a, i).enumerable;
|
|
124
|
+
})), n.push.apply(n, o);
|
|
125
|
+
}
|
|
126
|
+
return n;
|
|
127
|
+
}
|
|
128
|
+
function W(a) {
|
|
129
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
130
|
+
var n = arguments[r] != null ? arguments[r] : {};
|
|
131
|
+
r % 2 ? B(Object(n), !0).forEach(function(o) {
|
|
132
|
+
Ee(a, o, n[o]);
|
|
133
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(n)) : B(Object(n)).forEach(function(o) {
|
|
134
|
+
Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(n, o));
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
return a;
|
|
138
|
+
}
|
|
139
|
+
var ye = (a, r, n) => {
|
|
140
|
+
for (var o of Object.keys(a)) {
|
|
141
|
+
var i;
|
|
142
|
+
if (a[o] !== ((i = r[o]) !== null && i !== void 0 ? i : n[o]))
|
|
143
|
+
return !1;
|
|
144
|
+
}
|
|
145
|
+
return !0;
|
|
146
|
+
}, T = (a) => (r) => {
|
|
147
|
+
var n = a.defaultClassName, o = W(W({}, a.defaultVariants), r);
|
|
148
|
+
for (var i in o) {
|
|
149
|
+
var m, g = (m = o[i]) !== null && m !== void 0 ? m : a.defaultVariants[i];
|
|
150
|
+
if (g != null) {
|
|
151
|
+
var p = g;
|
|
152
|
+
typeof p == "boolean" && (p = p === !0 ? "true" : "false");
|
|
153
|
+
var s = (
|
|
154
|
+
// @ts-expect-error
|
|
155
|
+
a.variantClassNames[i][p]
|
|
156
|
+
);
|
|
157
|
+
s && (n += " " + s);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
for (var [y, S] of a.compoundVariants)
|
|
161
|
+
ye(y, o, a.defaultVariants) && (n += " " + S);
|
|
162
|
+
return n;
|
|
163
|
+
}, xe = T({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk0", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk1", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk2" }, mini: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk3", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk4" }, error: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk5", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk6" }, shown: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk7", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk8" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk9", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zka" } }, defaultVariants: { active: !1, mini: !1, error: !1, shown: !0, disabled: !1 }, compoundVariants: [] }), Oe = T({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkb", variantClassNames: { constrainContentWidth: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkc", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkd" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zke", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkf" } }, defaultVariants: { constrainContentWidth: !1, disabled: !1 }, compoundVariants: [] }), G = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkg", ze = T({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkh", variantClassNames: { mini: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zki", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkj" }, error: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkk", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkl" }, disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkm", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkn" } }, defaultVariants: { mini: !1, error: !1, disabled: !1 }, compoundVariants: [] }), Pe = T({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zko", variantClassNames: { mini: { true: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkp", false: "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkq" } }, defaultVariants: { mini: !1 }, compoundVariants: [] }), be = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkr", Fe = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zks", Z = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkt", $ = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zku", Te = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkv", Se = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkw", Ce = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkx", Ue = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zky", De = "pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkz";
|
|
164
|
+
function q({ list: a }) {
|
|
165
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, a.map((r, n) => {
|
|
166
|
+
const o = Math.floor(r.length / 2);
|
|
167
|
+
return /* @__PURE__ */ e.createElement("div", { className: Fe, key: r }, /* @__PURE__ */ e.createElement("span", { className: Z }, r.substring(0, o)), /* @__PURE__ */ e.createElement("div", { className: Z }, /* @__PURE__ */ e.createElement("span", null, r.substring(o))), n < a.length - 1 ? "," : "");
|
|
168
|
+
}));
|
|
169
|
+
}
|
|
170
|
+
function Me({
|
|
171
|
+
constrainContentWidth: a,
|
|
172
|
+
description: r,
|
|
173
|
+
multiple: n = !1,
|
|
174
|
+
dismissable: o,
|
|
175
|
+
processing: i,
|
|
176
|
+
mini: m,
|
|
177
|
+
downloadLabel: g,
|
|
178
|
+
acceptExtensions: p,
|
|
179
|
+
maxSize: s,
|
|
180
|
+
customRequirement: y,
|
|
181
|
+
onSelection: S,
|
|
182
|
+
onDismiss: C,
|
|
183
|
+
download: U,
|
|
184
|
+
shown: x,
|
|
185
|
+
className: H,
|
|
186
|
+
disabled: _,
|
|
187
|
+
children: Ae,
|
|
188
|
+
...J
|
|
189
|
+
}) {
|
|
190
|
+
const O = e.useRef(/* @__PURE__ */ new Set()), [K, D] = e.useState(x), [Le, Q] = e.useState([]), [Y, ee] = e.useState(""), [M, ae] = e.useState(), [te, z] = e.useState(!1), [k, P] = e.useState(!1), [u, A] = e.useState([]), [v, L] = e.useState([]), [w, ne] = e.useState(""), V = e.useMemo(() => (/* @__PURE__ */ new Set([...u, ...v])).size, [u, v]), { t: c } = we(), b = (n ? c("fileUpload.instructions.other", {
|
|
191
|
+
defaultValue: "Drag and drop your files here or |browse for files| on your desktop."
|
|
192
|
+
}) : c("fileUpload.instructions.one", {
|
|
193
|
+
defaultValue: "Drag and drop your file here or |browse for a file| on your desktop."
|
|
194
|
+
})).split("|"), N = r || (n ? "Files" : "File"), d = e.useRef(null);
|
|
195
|
+
e.useEffect(() => {
|
|
196
|
+
x && D(x);
|
|
197
|
+
}, [x]), e.useEffect(() => {
|
|
198
|
+
s && re(s);
|
|
199
|
+
}, [s]), e.useEffect(() => {
|
|
200
|
+
p && le(p);
|
|
201
|
+
}, [p]);
|
|
202
|
+
function oe() {
|
|
203
|
+
o && (D(!1), C && C());
|
|
204
|
+
}
|
|
205
|
+
function re(t) {
|
|
206
|
+
try {
|
|
207
|
+
ae(he(t));
|
|
208
|
+
} catch {
|
|
209
|
+
throw new Error(`Could not parse "${t}" as a file size.`);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
function le(t) {
|
|
213
|
+
const h = (Array.isArray(t) ? t : t.trim().split(/\s?,\s?/)).map((l) => l.replace(/^\./, "")), f = h.map((l) => `.${l}`.toLowerCase());
|
|
214
|
+
ne(
|
|
215
|
+
f.map((l, F) => F > 0 && F === f.length - 1 ? `or ${l}` : l).join(f.length > 2 ? ", " : " ")
|
|
216
|
+
), O.current.clear();
|
|
217
|
+
for (const l of h) {
|
|
218
|
+
const F = Object.keys(R).includes(l.toUpperCase()) ? R[l.toUpperCase()] : [];
|
|
219
|
+
for (const me of F)
|
|
220
|
+
O.current.add(me);
|
|
221
|
+
}
|
|
222
|
+
ee(f.concat(Array.from(O.current)).join(","));
|
|
223
|
+
}
|
|
224
|
+
function X(t) {
|
|
225
|
+
A([]), L([]);
|
|
226
|
+
let E = [], h = [];
|
|
227
|
+
const f = t ? Array.from(t) : [];
|
|
228
|
+
for (const l of f)
|
|
229
|
+
p && !O.current.has(l.type) && h.push(l.name), s && M && l.size > M && E.push(l.name);
|
|
230
|
+
E.length || h.length ? (P(!0), d.current && d.current.value && (d.current.value = "")) : (Q(f), S(f)), A(E), L(h);
|
|
231
|
+
}
|
|
232
|
+
function se(t) {
|
|
233
|
+
t.preventDefault(), P(!1), d.current && d.current.click();
|
|
234
|
+
}
|
|
235
|
+
function ie() {
|
|
236
|
+
U && U();
|
|
237
|
+
}
|
|
238
|
+
function pe(t) {
|
|
239
|
+
t.stopPropagation(), X(t.target.files), d.current && d.current.value && (d.current.value = "");
|
|
240
|
+
}
|
|
241
|
+
function _e(t) {
|
|
242
|
+
t.preventDefault(), t.stopPropagation(), z(!0), P(!1);
|
|
243
|
+
}
|
|
244
|
+
function ce(t) {
|
|
245
|
+
t.preventDefault(), z(!0), P(!1);
|
|
246
|
+
}
|
|
247
|
+
function de(t) {
|
|
248
|
+
t.preventDefault(), z(!1);
|
|
249
|
+
}
|
|
250
|
+
function fe(t) {
|
|
251
|
+
t.preventDefault(), t.stopPropagation(), z(!1), t.dataTransfer.files && X(t.dataTransfer.files);
|
|
252
|
+
}
|
|
253
|
+
return /* @__PURE__ */ e.createElement(
|
|
254
|
+
"div",
|
|
255
|
+
{
|
|
256
|
+
onDrop: _ ? () => {
|
|
257
|
+
} : fe,
|
|
258
|
+
onDragOver: _ ? () => {
|
|
259
|
+
} : _e,
|
|
260
|
+
onDragLeave: _ ? () => {
|
|
261
|
+
} : de,
|
|
262
|
+
onDragEnter: _ ? () => {
|
|
263
|
+
} : ce,
|
|
264
|
+
className: j(xe({ active: te, mini: m, error: k, shown: K, disabled: _ }), H),
|
|
265
|
+
...J
|
|
266
|
+
},
|
|
267
|
+
/* @__PURE__ */ e.createElement("div", { className: j(Oe({ constrainContentWidth: a, disabled: _ })) }, i ? /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(ve, { size: "md", "aria-hidden": "true" }), /* @__PURE__ */ e.createElement("div", { className: G }, c("fileUpload.processing", { defaultValue: "Processing Upload..." }))) : /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: ze({ mini: m, error: k, disabled: _ }), "aria-hidden": "true" }, /* @__PURE__ */ e.createElement(
|
|
268
|
+
"img",
|
|
269
|
+
{
|
|
270
|
+
className: De,
|
|
271
|
+
src: k ? ge : ke,
|
|
272
|
+
alt: "Upload Icon"
|
|
273
|
+
}
|
|
274
|
+
)), /* @__PURE__ */ e.createElement("div", { className: Pe({ mini: m }) }, k ? /* @__PURE__ */ e.createElement("div", null, c(
|
|
275
|
+
V > 1 ? "fileUpload.cancelled.other" : "fileUpload.cancelled.one",
|
|
276
|
+
{
|
|
277
|
+
defaultValue: V > 1 ? "File Upload(s) Failed" : "File Upload Failed"
|
|
278
|
+
}
|
|
279
|
+
)) : /* @__PURE__ */ e.createElement("div", null, c("fileUpload.title", {
|
|
280
|
+
description: N,
|
|
281
|
+
defaultValue: `Upload your ${N}`
|
|
282
|
+
}))), k ? /* @__PURE__ */ e.createElement("div", { className: be }, u.length > 0 && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(q, { list: u }), /* @__PURE__ */ e.createElement("div", { className: $ }, c(
|
|
283
|
+
u.length === 1 ? "fileUpload.error.tooLarge.one" : "fileUpload.error.tooLarge.other",
|
|
284
|
+
{
|
|
285
|
+
size: s,
|
|
286
|
+
defaultValue: u.length === 1 ? `Selected file is larger than the size limit of ${s}.` : `Selected files are larger than the size limit of ${s}.`
|
|
287
|
+
}
|
|
288
|
+
))), v.length > 0 && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(q, { list: v }), /* @__PURE__ */ e.createElement("div", { className: $ }, c(
|
|
289
|
+
v.length === 1 ? "fileUpload.error.wrongType.one" : "fileUpload.error.wrongType.other",
|
|
290
|
+
{
|
|
291
|
+
fileTypes: w,
|
|
292
|
+
defaultValue: v.length === 1 ? `Selected file is not an accepted file type: ${w}.` : `Selected files are not accepted file types: ${w}.`
|
|
293
|
+
}
|
|
294
|
+
)))) : /* @__PURE__ */ e.createElement("span", null), /* @__PURE__ */ e.createElement("div", { className: G }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("span", null, b[0]), _ ? /* @__PURE__ */ e.createElement("u", null, b[1]) : /* @__PURE__ */ e.createElement("a", { href: "", onClick: se }, b[1]), /* @__PURE__ */ e.createElement("span", null, b[2]))), /* @__PURE__ */ e.createElement("div", { className: Te }, p ? /* @__PURE__ */ e.createElement("span", null, "(", " ", c("fileUpload.acceptedTypes", {
|
|
295
|
+
fileTypes: w,
|
|
296
|
+
defaultValue: `${w} format accepted`
|
|
297
|
+
}), " ", ")") : "", s ? /* @__PURE__ */ e.createElement("span", null, "(", " ", c("fileUpload.maximumSize", {
|
|
298
|
+
size: s,
|
|
299
|
+
defaultValue: `${s} maximum`
|
|
300
|
+
}), " ", ")") : "", y ? /* @__PURE__ */ e.createElement("span", null, " ", y, " ") : ""), g && /* @__PURE__ */ e.createElement("div", { className: Se }, /* @__PURE__ */ e.createElement(
|
|
301
|
+
I,
|
|
302
|
+
{
|
|
303
|
+
disabled: _,
|
|
304
|
+
kind: "link",
|
|
305
|
+
icon: "download-cloud",
|
|
306
|
+
onClick: ie
|
|
307
|
+
},
|
|
308
|
+
g
|
|
309
|
+
)))),
|
|
310
|
+
o && !i && /* @__PURE__ */ e.createElement("div", { className: Ce }, /* @__PURE__ */ e.createElement(
|
|
311
|
+
I,
|
|
312
|
+
{
|
|
313
|
+
disabled: _,
|
|
314
|
+
kind: "icon",
|
|
315
|
+
icon: "x",
|
|
316
|
+
title: c("fileUpload.close", { defaultValue: "Close" }),
|
|
317
|
+
onClick: oe
|
|
318
|
+
}
|
|
319
|
+
)),
|
|
320
|
+
/* @__PURE__ */ e.createElement("form", { className: Ue }, /* @__PURE__ */ e.createElement(
|
|
321
|
+
"input",
|
|
322
|
+
{
|
|
323
|
+
ref: d,
|
|
324
|
+
type: "file",
|
|
325
|
+
accept: Y || "*/*",
|
|
326
|
+
multiple: n || void 0,
|
|
327
|
+
onChange: pe
|
|
328
|
+
}
|
|
329
|
+
))
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
ue.set(Me, {
|
|
333
|
+
name: "FileUpload",
|
|
334
|
+
props: {
|
|
335
|
+
constrainContentWidth: { type: "boolean" },
|
|
336
|
+
description: { type: "string" },
|
|
337
|
+
multiple: { type: "boolean" },
|
|
338
|
+
dismissable: { type: "boolean" },
|
|
339
|
+
mini: { type: "boolean" },
|
|
340
|
+
downloadLabel: { type: "string" },
|
|
341
|
+
acceptExtensions: { type: "string[] | string" },
|
|
342
|
+
maxSize: { type: "string" },
|
|
343
|
+
customRequirement: { type: "string" },
|
|
344
|
+
onSelection: { type: "(files: File[]) => void", required: !0 },
|
|
345
|
+
dismissal: { type: "() => void" },
|
|
346
|
+
download: { type: "() => void" },
|
|
347
|
+
disabled: { type: "boolean" }
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
export {
|
|
351
|
+
Me as FileUpload
|
|
352
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(i,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react"),require("@sps-woodland/core"),require("@spscommerce/utils"),require("@sps-woodland/core/button"),require("@sps-woodland/illustrations"),require("@spscommerce/i18n")):typeof define=="function"&&define.amd?define(["exports","react","@sps-woodland/core","@spscommerce/utils","@sps-woodland/core/button","@sps-woodland/illustrations","@spscommerce/i18n"],k):(i=typeof globalThis<"u"?globalThis:i||self,k(i.FileUpload={},i.React,i.core,i.utils,i.button,i.illustrations,i.i18n))})(this,(function(i,k,x,Y,M,A,ee){"use strict";function ae(a){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>a[t]})}}return n.default=a,Object.freeze(n)}const e=ae(k),L={"7Z":["application/x-7z-compressed"],AAC:["audio/aac"],ABW:["application/x-abiword"],ARC:["application/octet-stream"],AVI:["video/x-msvideo"],AZW:["application/vnd.amazon.ebook"],BIN:["application/octet-stream"],BMP:["image/bmp"],BZ:["application/x-bzip"],BZ2:["application/x-bzip2"],CER:["application/pkix-cert","application/x-x509-ca-cert"],CSH:["application/x-csh"],CSS:["text/css"],CSV:["text/csv","application/vnd.ms-excel"],DOC:["application/msword"],DOT:["application/msword"],DOCX:["application/vnd.openxmlformats-officedocument.wordprocessingml.document"],DOTX:["application/vnd.openxmlformats-officedocument.wordprocessingml.template"],DOCM:["application/vnd.ms-word.document.macroEnabled.12"],DOTM:["application/vnd.ms-word.template.macroEnabled.12"],EML:["application/octet-stream","message/rfc822","multipart/mixed","message/rfc5322","message/rfc6532"],EOT:["application/vnd.ms-fontobject"],EPUB:["application/epub+zip"],ES:["application/ecmascript"],FLV:["video/x-flv"],GIF:["image/gif"],GZ:["application/x-gzip"],HTM:["text/html"],HTML:["text/html"],ICO:["image/x-icon"],ICS:["text/calendar"],JAR:["application/java-archive"],JPEG:["image/jpeg"],JPG:["image/jpeg"],JS:["application/javascript"],JSON:["application/json"],M3U:["audio/x-mpequrl"],MID:["audio/midi"],MIDI:["audio/midi"],MOV:["video/quicktime"],MP3:["audio/mpeg3"],MP4:["video/mp4"],MPEG:["video/mpeg"],MPKG:["application/vnd.apple.installer+xml"],ODP:["application/vnd.oasis.opendocument.presentation"],ODS:["application/vnd.oasis.opendocument.spreadsheet"],ODT:["application/vnd.oasis.opendocument.text"],OGA:["audio/ogg"],OGV:["video/ogg"],OGX:["application/ogg"],OTF:["font/otf"],PNG:["image/png"],PDF:["application/pdf"],POT:["application/vnd.ms-powerpoint"],POTM:["application/vnd.ms-powerpoint.template.macroEnabled.12"],POTX:["application/vnd.openxmlformats-officedocument.presentationml.template"],PPA:["application/vnd.ms-powerpoint"],PPAM:["application/vnd.ms-powerpoint.addin.macroEnabled.12"],PPS:["application/vnd.ms-powerpoint"],PPSM:["application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],PPT:["application/vnd.ms-powerpoint"],PPTM:["application/vnd.ms-powerpoint.presentation.macroEnabled.12"],PPSX:["application/vnd.openxmlformats-officedocument.presentationml.slideshow"],PPTX:["application/vnd.openxmlformats-officedocument.presentationml.presentation"],RAR:["application/x-rar-compressed"],RTF:["application/rtf"],SH:["application/x-sh"],SVG:["image/svg+xml"],SWF:["application/x-shockwave-flash"],TAR:["application/x-tar"],TIF:["image/tiff"],TIFF:["image/tiff"],TS:["application/typescript"],TTF:["font/ttf"],TXT:["text/plain"],VSD:["application/vnd.visio"],WAV:["audio/wav"],WEBA:["audio/webm"],WEBM:["video/webm"],WEBP:["image/webp"],WOFF:["font/woff"],WOFF2:["font/woff2"],XHTML:["application/xhtml+xml"],XLA:["application/vnd.ms-excel"],XLS:["application/vnd.ms-excel"],XLSB:["application/vnd.ms-excel.sheet.binary.macroEnabled.12"],XLT:["application/vnd.ms-excel"],XLAM:["application/vnd.ms-excel.addin.macroEnabled.12"],XLSM:["application/vnd.ms-excel.sheet.macroEnabled.12"],XLSX:["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],XLTM:["application/vnd.ms-excel.template.macroEnabled.12"],XLTX:["application/vnd.openxmlformats-officedocument.spreadsheetml.template"],XML:["application/xml"],XUL:["application/vnd.mozilla.xul+xml"],ZIP:["application/zip"]};function te(a,n,t){return n in a?Object.defineProperty(a,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[n]=t,a}function N(a,n){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter(function(p){return Object.getOwnPropertyDescriptor(a,p).enumerable})),t.push.apply(t,o)}return t}function V(a){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?N(Object(t),!0).forEach(function(o){te(a,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):N(Object(t)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(t,o))})}return a}var ne=(a,n,t)=>{for(var o of Object.keys(a)){var p;if(a[o]!==((p=n[o])!==null&&p!==void 0?p:t[o]))return!1}return!0},b=a=>n=>{var t=a.defaultClassName,o=V(V({},a.defaultVariants),n);for(var p in o){var m,w=(m=o[p])!==null&&m!==void 0?m:a.defaultVariants[p];if(w!=null){var c=w;typeof c=="boolean"&&(c=c===!0?"true":"false");var l=a.variantClassNames[p][c];l&&(t+=" "+l)}}for(var[z,D]of a.compoundVariants)ne(z,o,a.defaultVariants)&&(t+=" "+D);return t},oe=b({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk0",variantClassNames:{active:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk1",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk2"},mini:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk3",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk4"},error:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk5",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk6"},shown:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk7",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk8"},disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk9",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zka"}},defaultVariants:{active:!1,mini:!1,error:!1,shown:!0,disabled:!1},compoundVariants:[]}),re=b({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkb",variantClassNames:{constrainContentWidth:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkc",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkd"},disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zke",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkf"}},defaultVariants:{constrainContentWidth:!1,disabled:!1},compoundVariants:[]}),j="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkg",se=b({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkh",variantClassNames:{mini:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zki",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkj"},error:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkk",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkl"},disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkm",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkn"}},defaultVariants:{mini:!1,error:!1,disabled:!1},compoundVariants:[]}),le=b({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zko",variantClassNames:{mini:{true:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkp",false:"pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkq"}},defaultVariants:{mini:!1},compoundVariants:[]}),ie="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkr",pe="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zks",X="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkt",R="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zku",ce="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkv",_e="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkw",de="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkx",fe="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zky",ue="pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkz";function I({list:a}){return e.createElement(e.Fragment,null,a.map((n,t)=>{const o=Math.floor(n.length/2);return e.createElement("div",{className:pe,key:n},e.createElement("span",{className:X},n.substring(0,o)),e.createElement("div",{className:X},e.createElement("span",null,n.substring(o))),t<a.length-1?",":"")}))}function B({constrainContentWidth:a,description:n,multiple:t=!1,dismissable:o,processing:p,mini:m,downloadLabel:w,acceptExtensions:c,maxSize:l,customRequirement:z,onSelection:D,onDismiss:W,download:G,shown:P,className:me,disabled:_,children:Ae,...ve}){const T=e.useRef(new Set),[he,q]=e.useState(P),[Le,ge]=e.useState([]),[ke,we]=e.useState(""),[Z,Ee]=e.useState(),[ye,F]=e.useState(!1),[E,S]=e.useState(!1),[v,$]=e.useState([]),[h,H]=e.useState([]),[y,Oe]=e.useState(""),J=e.useMemo(()=>new Set([...v,...h]).size,[v,h]),{t:d}=ee.useWoodlandLanguage(),U=(t?d("fileUpload.instructions.other",{defaultValue:"Drag and drop your files here or |browse for files| on your desktop."}):d("fileUpload.instructions.one",{defaultValue:"Drag and drop your file here or |browse for a file| on your desktop."})).split("|"),K=n||(t?"Files":"File"),f=e.useRef(null);e.useEffect(()=>{P&&q(P)},[P]),e.useEffect(()=>{l&&be(l)},[l]),e.useEffect(()=>{c&&ze(c)},[c]);function xe(){o&&(q(!1),W&&W())}function be(r){try{Ee(Y.parseFileSize(r))}catch{throw new Error(`Could not parse "${r}" as a file size.`)}}function ze(r){const g=(Array.isArray(r)?r:r.trim().split(/\s?,\s?/)).map(s=>s.replace(/^\./,"")),u=g.map(s=>`.${s}`.toLowerCase());Oe(u.map((s,C)=>C>0&&C===u.length-1?`or ${s}`:s).join(u.length>2?", ":" ")),T.current.clear();for(const s of g){const C=Object.keys(L).includes(s.toUpperCase())?L[s.toUpperCase()]:[];for(const Me of C)T.current.add(Me)}we(u.concat(Array.from(T.current)).join(","))}function Q(r){$([]),H([]);let O=[],g=[];const u=r?Array.from(r):[];for(const s of u)c&&!T.current.has(s.type)&&g.push(s.name),l&&Z&&s.size>Z&&O.push(s.name);O.length||g.length?(S(!0),f.current&&f.current.value&&(f.current.value="")):(ge(u),D(u)),$(O),H(g)}function Pe(r){r.preventDefault(),S(!1),f.current&&f.current.click()}function Te(){G&&G()}function Fe(r){r.stopPropagation(),Q(r.target.files),f.current&&f.current.value&&(f.current.value="")}function Se(r){r.preventDefault(),r.stopPropagation(),F(!0),S(!1)}function Ue(r){r.preventDefault(),F(!0),S(!1)}function Ce(r){r.preventDefault(),F(!1)}function De(r){r.preventDefault(),r.stopPropagation(),F(!1),r.dataTransfer.files&&Q(r.dataTransfer.files)}return e.createElement("div",{onDrop:_?()=>{}:De,onDragOver:_?()=>{}:Se,onDragLeave:_?()=>{}:Ce,onDragEnter:_?()=>{}:Ue,className:x.cl(oe({active:ye,mini:m,error:E,shown:he,disabled:_}),me),...ve},e.createElement("div",{className:x.cl(re({constrainContentWidth:a,disabled:_}))},p?e.createElement("div",null,e.createElement(x.Spinner,{size:"md","aria-hidden":"true"}),e.createElement("div",{className:j},d("fileUpload.processing",{defaultValue:"Processing Upload..."}))):e.createElement("div",null,e.createElement("div",{className:se({mini:m,error:E,disabled:_}),"aria-hidden":"true"},e.createElement("img",{className:ue,src:E?A.GENERAL_ERROR_LARGE:A.UPLOAD_LARGE,alt:"Upload Icon"})),e.createElement("div",{className:le({mini:m})},E?e.createElement("div",null,d(J>1?"fileUpload.cancelled.other":"fileUpload.cancelled.one",{defaultValue:J>1?"File Upload(s) Failed":"File Upload Failed"})):e.createElement("div",null,d("fileUpload.title",{description:K,defaultValue:`Upload your ${K}`}))),E?e.createElement("div",{className:ie},v.length>0&&e.createElement(e.Fragment,null,e.createElement(I,{list:v}),e.createElement("div",{className:R},d(v.length===1?"fileUpload.error.tooLarge.one":"fileUpload.error.tooLarge.other",{size:l,defaultValue:v.length===1?`Selected file is larger than the size limit of ${l}.`:`Selected files are larger than the size limit of ${l}.`}))),h.length>0&&e.createElement(e.Fragment,null,e.createElement(I,{list:h}),e.createElement("div",{className:R},d(h.length===1?"fileUpload.error.wrongType.one":"fileUpload.error.wrongType.other",{fileTypes:y,defaultValue:h.length===1?`Selected file is not an accepted file type: ${y}.`:`Selected files are not accepted file types: ${y}.`})))):e.createElement("span",null),e.createElement("div",{className:j},e.createElement("div",null,e.createElement("span",null,U[0]),_?e.createElement("u",null,U[1]):e.createElement("a",{href:"",onClick:Pe},U[1]),e.createElement("span",null,U[2]))),e.createElement("div",{className:ce},c?e.createElement("span",null,"("," ",d("fileUpload.acceptedTypes",{fileTypes:y,defaultValue:`${y} format accepted`})," ",")"):"",l?e.createElement("span",null,"("," ",d("fileUpload.maximumSize",{size:l,defaultValue:`${l} maximum`})," ",")"):"",z?e.createElement("span",null," ",z," "):""),w&&e.createElement("div",{className:_e},e.createElement(M.Button,{disabled:_,kind:"link",icon:"download-cloud",onClick:Te},w)))),o&&!p&&e.createElement("div",{className:de},e.createElement(M.Button,{disabled:_,kind:"icon",icon:"x",title:d("fileUpload.close",{defaultValue:"Close"}),onClick:xe})),e.createElement("form",{className:fe},e.createElement("input",{ref:f,type:"file",accept:ke||"*/*",multiple:t||void 0,onChange:Fe})))}x.Metadata.set(B,{name:"FileUpload",props:{constrainContentWidth:{type:"boolean"},description:{type:"string"},multiple:{type:"boolean"},dismissable:{type:"boolean"},mini:{type:"boolean"},downloadLabel:{type:"string"},acceptExtensions:{type:"string[] | string"},maxSize:{type:"string"},customRequirement:{type:"string"},onSelection:{type:"(files: File[]) => void",required:!0},dismissal:{type:"() => void"},download:{type:"() => void"},disabled:{type:"boolean"}}}),i.FileUpload=B,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk0{border-width:.0625rem;border-style:dashed;border-radius:.25rem;display:block;padding:1rem;position:relative}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk1{background-color:#f4ecf2;border-color:#91467f;border-style:solid}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk3{padding:1rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk5{border-color:#de002e}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk8{display:none}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zk9{border-color:#d2d4d4}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkb{color:#4b5356;margin:0 auto;text-align:center}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkc{width:50%}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zke{color:#717779}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkg{font-size:.75rem;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkh{color:#717779;display:block;margin-bottom:1rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zki{font-size:1.5rem;line-height:1.5rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkj{font-size:3rem;line-height:3rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkk{color:#de002e}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkm{opacity:.5}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zko{font-weight:600;margin-bottom:.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkp{font-size:1rem;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkq{font-size:1.125rem;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkr{font-size:.875rem;font-weight:600;line-height:1.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zks{display:flex;justify-content:center;white-space:nowrap}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkt{max-width:50%;overflow:hidden}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkt:first-child{text-overflow:ellipsis}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkt:last-child{float:right}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zku{font-weight:400}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkv{font-size:.75rem;line-height:1.125rem;margin-top:.25rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkv>span+span{margin-left:.125rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkw{margin-top:1rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkx{position:absolute;right:.5rem;top:.5rem}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zky{display:none}.pkg_sps-woodland_core__version_8_51_1__hash_17kn1zkz{height:3rem}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Tokens } from "@sps-woodland/tokens";
|
|
2
|
+
export type FilterTileKind = keyof (typeof Tokens.component)["filter-tile"]["kind"];
|
|
3
|
+
export declare const tile: string;
|
|
4
|
+
export declare const tileBody: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
5
|
+
kind: {
|
|
6
|
+
general: {};
|
|
7
|
+
error: {};
|
|
8
|
+
success: {};
|
|
9
|
+
warning: {};
|
|
10
|
+
processing: {};
|
|
11
|
+
};
|
|
12
|
+
active: {
|
|
13
|
+
true: {};
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
export declare const tileValue: string;
|
|
17
|
+
export declare const tileTitle: string;
|
|
18
|
+
export declare const tileFooter: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
|
|
19
|
+
kind: {
|
|
20
|
+
general: {
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
};
|
|
23
|
+
error: {
|
|
24
|
+
backgroundColor: string;
|
|
25
|
+
};
|
|
26
|
+
success: {
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
};
|
|
29
|
+
warning: {
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
};
|
|
32
|
+
processing: {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
//# sourceMappingURL=FilterTile.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterTile.css.d.ts","sourceRoot":"","sources":["../../../src/filter-tiles/filter-tile/FilterTile.css.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpF,eAAO,MAAM,IAAI,QAgBf,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;EA6EnB,CAAC;AACH,eAAO,MAAM,SAAS,QAMpB,CAAC;AAEH,eAAO,MAAM,SAAS,QASpB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;EA0BrB,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 = "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv0", e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv1", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv2", error: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv3", success: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv4", warning: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv5", processing: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv6" }, active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv7" } }, defaultVariants: {}, compoundVariants: [[{ kind: "general", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv8"], [{ kind: "warning", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiv9"], [{ kind: "error", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1fdabiva"], [{ kind: "processing", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivb"], [{ kind: "success", active: !0 }, "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivc"]] }), r = "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivd", d = "pkg_sps-woodland_core__version_8_51_1__hash_1fdabive", i = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivf", variantClassNames: { kind: { general: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivg", error: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivh", success: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivi", warning: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivj", processing: "pkg_sps-woodland_core__version_8_51_1__hash_1fdabivk" } }, defaultVariants: { kind: "general" }, compoundVariants: [] });
|
|
4
|
+
export {
|
|
5
|
+
o as tile,
|
|
6
|
+
e as tileBody,
|
|
7
|
+
i as tileFooter,
|
|
8
|
+
d as tileTitle,
|
|
9
|
+
r as tileValue
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComponentProps } from "@sps-woodland/core";
|
|
2
|
+
import type { FilterTileKind } from "./FilterTile.css";
|
|
3
|
+
export declare function FilterTile({ value, title, active: isActiveProp, kind, className, ...rest }: ComponentProps<{
|
|
4
|
+
value: number;
|
|
5
|
+
title: string;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
kind?: FilterTileKind;
|
|
8
|
+
}>): JSX.Element;
|
|
9
|
+
//# sourceMappingURL=FilterTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterTile.d.ts","sourceRoot":"","sources":["../../../src/filter-tiles/filter-tile/FilterTile.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,MAAM,EAAE,YAAY,EACpB,IAAgB,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC,eAmBD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { Metadata as u, cl as r } from "@sps-woodland/core";
|
|
3
|
+
import { tile as d, tileBody as v, tileValue as p, tileTitle as f, tileFooter as y } from "./FilterTile.css.js";
|
|
4
|
+
function E({
|
|
5
|
+
value: i,
|
|
6
|
+
title: l,
|
|
7
|
+
active: s,
|
|
8
|
+
kind: t = "general",
|
|
9
|
+
className: o,
|
|
10
|
+
...c
|
|
11
|
+
}) {
|
|
12
|
+
const [n, a] = e.useState(!1), m = s || n;
|
|
13
|
+
return /* @__PURE__ */ e.createElement("div", { className: r(d, o), ...c }, /* @__PURE__ */ e.createElement(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: v({ kind: t, active: m }),
|
|
17
|
+
onMouseOver: () => a(!0),
|
|
18
|
+
onMouseOut: () => a(!1)
|
|
19
|
+
},
|
|
20
|
+
/* @__PURE__ */ e.createElement("div", { className: p }, i),
|
|
21
|
+
/* @__PURE__ */ e.createElement("div", { className: f }, l)
|
|
22
|
+
), /* @__PURE__ */ e.createElement("div", { className: r(y({ kind: t })) }));
|
|
23
|
+
}
|
|
24
|
+
u.set(E, {
|
|
25
|
+
name: "Fitler tile",
|
|
26
|
+
props: {
|
|
27
|
+
value: { type: "number", required: !0 },
|
|
28
|
+
title: { type: "string", required: !0 },
|
|
29
|
+
active: { type: "boolean" },
|
|
30
|
+
kind: { type: "FilterTileKind", default: "general" }
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
E as FilterTile
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterTileSet.css.d.ts","sourceRoot":"","sources":["../../../src/filter-tiles/filter-tile-set/FilterTileSet.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterTileSet.d.ts","sourceRoot":"","sources":["../../../src/filter-tiles/filter-tile-set/FilterTileSet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAC,cAAc,CAAC,OAAO,EAAE,cAAc,CACvC,GAAG,KAAK,CAAC,YAAY,CAMrB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { Metadata as a, cl as m } from "@sps-woodland/core";
|
|
3
|
+
import { tileSet as l } from "./FilterTileSet.css.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: e,
|
|
6
|
+
children: t,
|
|
7
|
+
...r
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ i.createElement("div", { className: m(l, e), ...r }, t);
|
|
10
|
+
}
|
|
11
|
+
a.set(o, {
|
|
12
|
+
name: "Filter Tile Set"
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
o as FilterTileSet
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/filter-tiles/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC"}
|