@sps-woodland/core 8.56.2 → 8.56.4
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.js +44 -59
- package/lib/action-bar/action-bar/ActionBar.ve.js +4 -11
- package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +14 -22
- package/lib/action-bar/index.js +54 -74
- package/lib/action-bar/index.umd.cjs +1 -1
- package/lib/action-bar/style.css +2 -1
- package/lib/add-to-list/add-to-list/AddToList.js +220 -302
- package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
- package/lib/add-to-list/add-to-list/ItemsList.js +42 -67
- package/lib/add-to-list/add-to-list/ListItem.js +24 -50
- package/lib/add-to-list/index.js +393 -453
- package/lib/add-to-list/index.umd.cjs +1 -1
- package/lib/add-to-list/style.css +2 -1
- package/lib/buttons/button/Button.js +95 -121
- package/lib/buttons/button/Button.ve.js +150 -9
- package/lib/buttons/index.js +281 -171
- package/lib/buttons/index.umd.cjs +1 -1
- package/lib/buttons/style.css +2 -1
- package/lib/cards/card/Card.js +19 -27
- package/lib/cards/card/Card.ve.js +4 -4
- package/lib/cards/card-footer/CardFooter.js +12 -13
- package/lib/cards/card-footer/CardFooter.ve.js +4 -4
- package/lib/cards/card-header/CardHeader.js +12 -13
- package/lib/cards/card-header/CardHeader.ve.js +4 -4
- package/lib/cards/card-title/CardTitle.js +11 -12
- package/lib/cards/card-title/CardTitle.ve.js +4 -4
- package/lib/cards/index.js +52 -52
- package/lib/cards/index.umd.cjs +1 -1
- package/lib/cards/style.css +2 -1
- package/lib/column-manager/column-manager/ColumnManager.js +95 -112
- package/lib/column-manager/column-manager/useColumnManager.js +59 -48
- package/lib/column-manager/index.js +2 -5
- package/lib/components/icon/Icon.ve.js +15 -5
- package/lib/components/icon/icons/sprite.svg.js +4 -4
- package/lib/content-row/content-row/ContentRow.js +146 -173
- package/lib/content-row/content-row/ContentRow.ve.js +105 -18
- package/lib/content-row/content-row-col/ContentRowCol.js +37 -48
- package/lib/content-row/content-row-col/ContentRowCol.ve.js +49 -6
- package/lib/content-row/content-row-expansion/ContentRowExpansion.js +16 -24
- package/lib/content-row/index.js +407 -318
- package/lib/content-row/index.umd.cjs +1 -1
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +24 -39
- package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +13 -5
- package/lib/content-row/style.css +2 -1
- package/lib/content-tiles/content-tile/ContentTile.js +71 -60
- package/lib/content-tiles/content-tile/ContentTile.ve.js +36 -14
- package/lib/content-tiles/content-tile-list/ContentTileList.js +12 -13
- package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +4 -5
- package/lib/content-tiles/index.js +156 -118
- package/lib/content-tiles/index.umd.cjs +1 -1
- package/lib/content-tiles/style.css +2 -1
- package/lib/core.css +2 -1
- package/lib/dropdowns/dropdown/Dropdown.js +56 -68
- package/lib/dropdowns/dropdown/Dropdown.ve.js +37 -8
- package/lib/dropdowns/index.js +171 -171
- package/lib/dropdowns/index.umd.cjs +1 -1
- package/lib/dropdowns/option-list/Option.js +14 -18
- package/lib/dropdowns/option-list/Option.ve.js +4 -5
- package/lib/dropdowns/option-list/OptionList.js +28 -44
- package/lib/dropdowns/option-list/OptionList.ve.js +4 -5
- package/lib/dropdowns/style.css +2 -1
- package/lib/editable-table/EditableTable.js +68 -85
- package/lib/editable-table/index.js +1 -4
- package/lib/feedback-block/FeedbackBlock.js +40 -35
- package/lib/feedback-block/FeedbackBlock.ve.js +56 -7
- package/lib/feedback-block/index.js +132 -85
- package/lib/feedback-block/index.umd.cjs +1 -1
- package/lib/feedback-block/style.css +2 -1
- package/lib/file-upload/file-upload/FileUpload.js +164 -202
- package/lib/file-upload/file-upload/FileUpload.ve.js +84 -18
- package/lib/file-upload/file-upload/mime-type.enum.js +106 -106
- package/lib/file-upload/index.js +390 -353
- package/lib/file-upload/index.umd.cjs +1 -1
- package/lib/file-upload/style.css +2 -1
- package/lib/filter-tiles/filter-tile/FilterTile.js +41 -46
- package/lib/filter-tiles/filter-tile/FilterTile.ve.js +51 -9
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +12 -15
- package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +4 -4
- package/lib/filter-tiles/index.js +142 -107
- package/lib/filter-tiles/index.umd.cjs +1 -1
- package/lib/filter-tiles/style.css +2 -1
- package/lib/focused-task/focused-task/FocusedTask.js +52 -74
- package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -12
- package/lib/focused-task/focused-task/useFocusedTask.js +20 -18
- package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +12 -13
- package/lib/focused-task/index.js +127 -144
- package/lib/focused-task/index.umd.cjs +1 -1
- package/lib/focused-task/style.css +2 -1
- package/lib/growler/Growler.js +78 -90
- package/lib/growler/Growler.ve.js +23 -12
- package/lib/growler/GrowlerListProvider.js +38 -39
- package/lib/growler/Sonner.ve.js +17 -12
- package/lib/growler/index.js +249 -274
- package/lib/growler/index.umd.cjs +1 -1
- package/lib/growler/sonner.js +73 -102
- package/lib/growler/style.css +2 -1
- package/lib/index.js +520 -501
- package/lib/index.umd.cjs +4 -4
- package/lib/insight-card/InsightCard.js +90 -84
- package/lib/insight-card/InsightCard.ve.js +148 -15
- package/lib/insight-card/InsightCardSet.js +12 -12
- package/lib/insight-card/index.js +269 -141
- package/lib/insight-card/index.umd.cjs +1 -1
- package/lib/insight-card/style.css +2 -1
- package/lib/key-value-set/index.js +97 -87
- package/lib/key-value-set/index.umd.cjs +1 -1
- package/lib/key-value-set/key-value-set/KeyValueSet.js +17 -21
- package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +10 -5
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +25 -21
- package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +13 -6
- package/lib/key-value-set/style.css +2 -1
- package/lib/list-bar/advanced-search/AdvancedSearch.js +51 -54
- package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +30 -8
- package/lib/list-bar/index.js +305 -301
- package/lib/list-bar/index.umd.cjs +1 -1
- package/lib/list-bar/list-bar/InputGroupWrapper.js +10 -19
- package/lib/list-bar/list-bar/ListBar.js +105 -121
- package/lib/list-bar/list-bar/ListBar.ve.js +13 -17
- package/lib/list-bar/list-bar/ListBarSearch.js +20 -21
- package/lib/list-bar/list-bar/ListBarSearchInfo.js +8 -12
- package/lib/list-bar/list-bar/ListBarSortBy.js +28 -38
- package/lib/list-bar/search-results-bar/SearchResultsBar.js +38 -28
- package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +4 -11
- package/lib/list-bar/style.css +2 -1
- package/lib/matrix/index.js +79 -87
- package/lib/matrix/index.umd.cjs +1 -1
- package/lib/matrix/matrix/Matrix.js +18 -26
- package/lib/matrix/matrix/Matrix.ve.js +4 -7
- package/lib/matrix/matrix-body/MatrixBody.js +10 -13
- package/lib/matrix/matrix-cell/MatrixCell.js +23 -18
- package/lib/matrix/matrix-head/MatrixHead.js +10 -13
- package/lib/matrix/matrix-header/MatrixHeader.js +20 -23
- package/lib/matrix/matrix-row/MatrixRow.js +10 -13
- package/lib/matrix/style.css +2 -1
- package/lib/modal/index.js +197 -187
- package/lib/modal/index.umd.cjs +1 -1
- package/lib/modal/modal/Modal.js +90 -108
- package/lib/modal/modal/Modal.ve.js +43 -13
- package/lib/modal/modal/useModal.js +19 -24
- package/lib/modal/modal-footer/ModalFooter.js +11 -12
- package/lib/modal/style.css +2 -1
- package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +49 -0
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +8 -10
- package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +4 -4
- package/lib/page-title/heading-level/HeadingLevel.js +8 -12
- package/lib/page-title/index.js +33 -40
- package/lib/page-title/index.umd.cjs +1 -1
- package/lib/page-title/page-subtitle/PageSubtitle.js +13 -18
- package/lib/page-title/page-subtitle/PageSubtitle.ve.js +4 -5
- package/lib/page-title/page-title/PageTitle.js +15 -19
- package/lib/page-title/page-title/PageTitle.ve.js +4 -7
- package/lib/page-title/style.css +2 -1
- package/lib/photo/index.js +174 -177
- package/lib/photo/index.umd.cjs +1 -1
- package/lib/photo/photo/Photo.js +72 -81
- package/lib/photo/photo/Photo.ve.js +21 -7
- package/lib/photo/photo-carousel/PhotoCarousel.js +36 -51
- package/lib/photo/photo-carousel/PhotoCarousel.ve.js +13 -9
- package/lib/photo/style.css +2 -1
- package/lib/product-bar/hooks/usePriorityPlus.js +88 -104
- package/lib/product-bar/index.js +372 -395
- package/lib/product-bar/index.umd.cjs +1 -1
- package/lib/product-bar/product-bar/ProductBar.js +77 -103
- package/lib/product-bar/product-bar/ProductBar.ve.js +46 -15
- package/lib/product-bar/product-bar-name/ProductBarName.js +37 -40
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +48 -70
- package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +4 -8
- package/lib/product-bar/product-bar-tab/ProductBarTab.js +28 -26
- package/lib/product-bar/slack-link/SlackLink.js +26 -30
- package/lib/product-bar/slack-link/SlackLink.ve.js +4 -5
- package/lib/product-bar/style.css +2 -1
- package/lib/product-bar-vertical/index.js +240 -251
- package/lib/product-bar-vertical/index.umd.cjs +1 -1
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +42 -61
- package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +53 -23
- package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +30 -42
- package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +71 -89
- package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +22 -29
- package/lib/product-bar-vertical/style.css +2 -1
- package/lib/progress-indicators/index.js +372 -255
- package/lib/progress-indicators/index.umd.cjs +1 -1
- package/lib/progress-indicators/progress-bar/ProgressBar.js +66 -110
- package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +66 -13
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +34 -54
- package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +136 -8
- package/lib/progress-indicators/progress-ring/ProgressRing.js +45 -52
- package/lib/progress-indicators/style.css +2 -1
- package/lib/rich-text-editor/index.js +556 -582
- package/lib/rich-text-editor/index.umd.cjs +11 -11
- package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +29 -33
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +23 -37
- package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +13 -6
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +68 -77
- package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +21 -8
- package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +14 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +14 -20
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +33 -27
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +79 -88
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +28 -36
- package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +195 -211
- package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -4
- package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +12 -12
- package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +20 -19
- package/lib/rich-text-editor/rich-text-editor/utils/utils.js +11 -15
- package/lib/rich-text-editor/style.css +2 -1
- package/lib/scrollable-container/ScrollableContainer.js +18 -27
- package/lib/scrollable-container/ScrollableContainer.ve.js +4 -4
- package/lib/scrollable-container/index.js +20 -27
- package/lib/scrollable-container/index.umd.cjs +1 -1
- package/lib/scrollable-container/style.css +2 -1
- package/lib/side-nav/index.js +190 -228
- package/lib/side-nav/index.umd.cjs +1 -1
- package/lib/side-nav/side-nav/SideNav.js +43 -60
- package/lib/side-nav/side-nav/SideNav.ve.js +22 -16
- package/lib/side-nav/side-nav/navContext.js +7 -7
- package/lib/side-nav/side-nav-header/SideNavHeader.js +14 -15
- package/lib/side-nav/side-nav-item/SideNavItem.js +68 -94
- package/lib/side-nav/side-nav-section/SideNavSection.js +16 -26
- package/lib/side-nav/style.css +2 -1
- package/lib/sorting-header/caret/caret.ve.js +13 -5
- package/lib/sorting-header/index.js +269 -251
- package/lib/sorting-header/index.umd.cjs +1 -1
- package/lib/sorting-header/sorting-header/SortingHeader.js +110 -124
- package/lib/sorting-header/sorting-header/SortingHeader.ve.js +30 -6
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -83
- package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -7
- package/lib/sorting-header/style.css +2 -1
- package/lib/style.css +2 -1
- package/lib/tabs/index.js +255 -201
- package/lib/tabs/index.umd.cjs +1 -1
- package/lib/tabs/style.css +2 -1
- package/lib/tabs/tab/Tab.js +24 -27
- package/lib/tabs/tab/Tab.ve.js +76 -6
- package/lib/tabs/tab-panel/TabPanel.js +16 -25
- package/lib/tabs/tabs/Tabs.js +101 -112
- package/lib/tabs/tabs/Tabs.ve.js +13 -11
- package/lib/tags/clickable-tag/ClickableTag.js +86 -90
- package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
- package/lib/tags/index.js +342 -199
- package/lib/tags/index.umd.cjs +1 -1
- package/lib/tags/split-tag/SplitTag.js +49 -30
- package/lib/tags/split-tag/SplitTag.ve.js +35 -9
- package/lib/tags/style.css +2 -1
- package/lib/tags/tag/Tag.js +42 -38
- package/lib/tags/tag/Tag.ve.js +41 -6
- package/lib/utils/cl.js +5 -5
- package/lib/zero-state/ZeroState.js +36 -29
- package/lib/zero-state/ZeroState.ve.js +29 -11
- package/lib/zero-state/index.js +103 -78
- package/lib/zero-state/index.umd.cjs +1 -1
- package/lib/zero-state/style.css +2 -1
- package/package.json +12 -12
- 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 +0 -57
|
@@ -1,77 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
className: D,
|
|
41
|
-
"data-react-aria-top-layer": "true",
|
|
42
|
-
...v,
|
|
43
|
-
...l
|
|
44
|
-
},
|
|
45
|
-
/* @__PURE__ */ e.createElement(
|
|
46
|
-
"div",
|
|
47
|
-
{
|
|
48
|
-
...s,
|
|
49
|
-
...c,
|
|
50
|
-
...y,
|
|
51
|
-
onFocus: E,
|
|
52
|
-
onBlur: k,
|
|
53
|
-
...h("dialog"),
|
|
54
|
-
ref: a,
|
|
55
|
-
className: O(H, u)
|
|
56
|
-
},
|
|
57
|
-
/* @__PURE__ */ e.createElement("div", { ...B, className: W }, C),
|
|
58
|
-
/* @__PURE__ */ e.createElement("div", { className: j({ fullWidth: F }) }, i(T, o.close)),
|
|
59
|
-
r && r.length > 0 && /* @__PURE__ */ e.createElement(e.Fragment, null, i(r, o.close))
|
|
60
|
-
)
|
|
61
|
-
));
|
|
1
|
+
import { body as e, closeButtonBox as t, focusedTask as n, title as r, underlay as i } from "./FocusedTask.ve.js";
|
|
2
|
+
import { FocusedTaskActions as a } from "../focused-task-actions/FocusedTaskActions.js";
|
|
3
|
+
import { Metadata as o, cl as s, combineEventHandlers as c, contentOf as l, selectChildren as u, useChildTestIdAttrBuilder as d } from "@sps-woodland/core";
|
|
4
|
+
import * as f from "react";
|
|
5
|
+
import { Button as p } from "@sps-woodland/core/button";
|
|
6
|
+
import { Overlay as m, useDialog as h, useModalOverlay as g } from "react-aria";
|
|
7
|
+
//#region src/focused-task/focused-task/FocusedTask.tsx
|
|
8
|
+
function _({ children: o, className: _, "data-testid": v, onBlur: y, onFocus: b, overlayProps: x, state: S, onClose: C, fullWidth: w = !1, ...T }) {
|
|
9
|
+
let E = f.useRef(null), { modalProps: D, underlayProps: O } = g({ ...T }, S, E), { dialogProps: k, titleProps: A } = h(T, E), j = c(D.onFocus, k.onFocus, b), M = c(D.onBlur, k.onBlur, y), N = d({ "data-testid": v }), [P, F] = u(o, [{ type: a }]);
|
|
10
|
+
function I() {
|
|
11
|
+
C && typeof C == "function" && C(), S.close();
|
|
12
|
+
}
|
|
13
|
+
let L = /* @__PURE__ */ f.createElement(p, {
|
|
14
|
+
"aria-label": "Close",
|
|
15
|
+
onClick: I,
|
|
16
|
+
kind: "icon",
|
|
17
|
+
icon: "x",
|
|
18
|
+
className: t
|
|
19
|
+
});
|
|
20
|
+
return /* @__PURE__ */ f.createElement(m, null, /* @__PURE__ */ f.createElement("div", {
|
|
21
|
+
className: i,
|
|
22
|
+
"data-react-aria-top-layer": "true",
|
|
23
|
+
...O,
|
|
24
|
+
...T
|
|
25
|
+
}, /* @__PURE__ */ f.createElement("div", {
|
|
26
|
+
...D,
|
|
27
|
+
...k,
|
|
28
|
+
...x,
|
|
29
|
+
onFocus: j,
|
|
30
|
+
onBlur: M,
|
|
31
|
+
...N("dialog"),
|
|
32
|
+
ref: E,
|
|
33
|
+
className: s(n, _)
|
|
34
|
+
}, /* @__PURE__ */ f.createElement("div", {
|
|
35
|
+
...A,
|
|
36
|
+
className: r
|
|
37
|
+
}, L), /* @__PURE__ */ f.createElement("div", { className: e({ fullWidth: w }) }, l(F, S.close)), P && P.length > 0 && /* @__PURE__ */ f.createElement(f.Fragment, null, l(P, S.close)))));
|
|
62
38
|
}
|
|
63
|
-
function
|
|
64
|
-
|
|
39
|
+
function v(e) {
|
|
40
|
+
return e.state.isOpen ? /* @__PURE__ */ f.createElement(_, e, e.children) : /* @__PURE__ */ f.createElement(f.Fragment, null);
|
|
65
41
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
42
|
+
o.set(v, {
|
|
43
|
+
name: "FocusedTask",
|
|
44
|
+
props: {
|
|
45
|
+
fullWidth: {
|
|
46
|
+
type: "boolean",
|
|
47
|
+
default: "false"
|
|
48
|
+
},
|
|
49
|
+
onBlur: { type: "() => void" },
|
|
50
|
+
onClose: { type: "() => void" },
|
|
51
|
+
onFocus: { type: "() => void" }
|
|
52
|
+
}
|
|
74
53
|
});
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
};
|
|
54
|
+
//#endregion
|
|
55
|
+
export { v as FocusedTask };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { createRuntimeFn as e } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.3/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
|
|
1
2
|
/* empty css */
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
3
|
+
//#region src/focused-task/focused-task/FocusedTask.css.ts
|
|
4
|
+
var t = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib0", n = e({
|
|
5
|
+
defaultClassName: "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib1",
|
|
6
|
+
variantClassNames: { fullWidth: {
|
|
7
|
+
true: "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib2",
|
|
8
|
+
false: "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib3"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: {},
|
|
11
|
+
compoundVariants: []
|
|
12
|
+
}), r = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib4", i = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib5", a = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib7", o = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib8", s = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib9", c = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29iba";
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n as body, i as closeButtonBox, t as focusedTask, s as listActionBar, c as listActionBarActions, o as listActionBarContainer, r as title, a as underlay };
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { useRef as e } from "react";
|
|
2
|
+
import { useOverlayTrigger as t } from "react-aria";
|
|
3
|
+
import { useOverlayTriggerState as n } from "react-stately";
|
|
4
|
+
//#region src/focused-task/focused-task/useFocusedTask.ts
|
|
5
|
+
function r(r = {}) {
|
|
6
|
+
let i = n(r), a = e(null), { triggerProps: o, overlayProps: s } = t({ type: "dialog" }, i, a), { onPress: c, ...l } = o;
|
|
7
|
+
return {
|
|
8
|
+
triggerProps: {
|
|
9
|
+
...l,
|
|
10
|
+
onClick: c ? (e) => c(e) : void 0,
|
|
11
|
+
ref: a
|
|
12
|
+
},
|
|
13
|
+
focusedTaskState: i,
|
|
14
|
+
focusedTaskProps: {
|
|
15
|
+
overlayProps: s,
|
|
16
|
+
state: i
|
|
17
|
+
}
|
|
18
|
+
};
|
|
16
19
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { r as useFocusedTask };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Metadata as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { listActionBar as e, listActionBarActions as t, listActionBarContainer as n } from "../focused-task/FocusedTask.ve.js";
|
|
2
|
+
import { Metadata as r, cl as i } from "@sps-woodland/core";
|
|
3
|
+
import * as a from "react";
|
|
4
|
+
//#region src/focused-task/focused-task-actions/FocusedTaskActions.tsx
|
|
5
|
+
function o({ children: r, className: o = "", ...s }) {
|
|
6
|
+
return /* @__PURE__ */ a.createElement("div", {
|
|
7
|
+
className: i(n, o),
|
|
8
|
+
...s
|
|
9
|
+
}, /* @__PURE__ */ a.createElement("div", { className: i(e) }, /* @__PURE__ */ a.createElement("div", { className: i(t) }, r)));
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
11
|
+
r.set(o, { name: "FocusedTaskActions" });
|
|
12
|
+
//#endregion
|
|
13
|
+
export { o as FocusedTaskActions };
|
|
@@ -1,154 +1,137 @@
|
|
|
1
|
-
import { Metadata as
|
|
2
|
-
import { Button as
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
5
|
-
import { useRef as
|
|
6
|
-
import { useOverlayTriggerState as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { Metadata as e, cl as t, combineEventHandlers as n, contentOf as r, selectChildren as i, useChildTestIdAttrBuilder as a } from "@sps-woodland/core";
|
|
2
|
+
import { Button as o } from "@sps-woodland/core/button";
|
|
3
|
+
import { Overlay as s, useDialog as c, useModalOverlay as l, useOverlayTrigger as u } from "react-aria";
|
|
4
|
+
import * as d from "react";
|
|
5
|
+
import { useRef as f } from "react";
|
|
6
|
+
import { useOverlayTriggerState as p } from "react-stately";
|
|
7
|
+
//#region ../../../node_modules/.pnpm/@vanilla-extract+recipes@0.2.5_@vanilla-extract+css@1.21.3/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js
|
|
8
|
+
function m(e, t, n) {
|
|
9
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
10
|
+
value: n,
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
configurable: !0,
|
|
13
|
+
writable: !0
|
|
14
|
+
}) : e[t] = n, e;
|
|
14
15
|
}
|
|
15
16
|
function h(e, t) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
var n = Object.keys(e);
|
|
18
|
+
if (Object.getOwnPropertySymbols) {
|
|
19
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
20
|
+
t && (r = r.filter(function(t) {
|
|
21
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
22
|
+
})), n.push.apply(n, r);
|
|
23
|
+
}
|
|
24
|
+
return n;
|
|
24
25
|
}
|
|
25
26
|
function g(e) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
28
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
29
|
+
t % 2 ? h(Object(n), !0).forEach(function(t) {
|
|
30
|
+
m(e, t, n[t]);
|
|
31
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h(Object(n)).forEach(function(t) {
|
|
32
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return e;
|
|
35
36
|
}
|
|
36
|
-
var
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
37
|
+
var _ = (e, t, n) => {
|
|
38
|
+
for (var r of Object.keys(e)) if (e[r] !== (t[r] ?? n[r])) return !1;
|
|
39
|
+
return !0;
|
|
40
|
+
}, v = (e) => (t) => {
|
|
41
|
+
var n = e.defaultClassName, r = g(g({}, e.defaultVariants), t);
|
|
42
|
+
for (var i in r) {
|
|
43
|
+
var a = r[i] ?? e.defaultVariants[i];
|
|
44
|
+
if (a != null) {
|
|
45
|
+
var o = a;
|
|
46
|
+
typeof o == "boolean" && (o = o === !0 ? "true" : "false");
|
|
47
|
+
var s = e.variantClassNames[i][o];
|
|
48
|
+
s && (n += " " + s);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
for (var [c, l] of e.compoundVariants) _(c, r, e.defaultVariants) && (n += " " + l);
|
|
52
|
+
return n;
|
|
53
|
+
}, y = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib0", b = v({
|
|
54
|
+
defaultClassName: "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib1",
|
|
55
|
+
variantClassNames: { fullWidth: {
|
|
56
|
+
true: "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib2",
|
|
57
|
+
false: "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib3"
|
|
58
|
+
} },
|
|
59
|
+
defaultVariants: {},
|
|
60
|
+
compoundVariants: []
|
|
61
|
+
}), x = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib4", S = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib5", C = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib7", w = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib8", T = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib9", E = "pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29iba";
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/focused-task/focused-task-actions/FocusedTaskActions.tsx
|
|
64
|
+
function D({ children: e, className: n = "", ...r }) {
|
|
65
|
+
return /* @__PURE__ */ d.createElement("div", {
|
|
66
|
+
className: t(w, n),
|
|
67
|
+
...r
|
|
68
|
+
}, /* @__PURE__ */ d.createElement("div", { className: t(T) }, /* @__PURE__ */ d.createElement("div", { className: t(E) }, e)));
|
|
67
69
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
{
|
|
102
|
-
className: J,
|
|
103
|
-
"data-react-aria-top-layer": "true",
|
|
104
|
-
...O,
|
|
105
|
-
...i
|
|
106
|
-
},
|
|
107
|
-
/* @__PURE__ */ s.createElement(
|
|
108
|
-
"div",
|
|
109
|
-
{
|
|
110
|
-
...f,
|
|
111
|
-
...p,
|
|
112
|
-
..._,
|
|
113
|
-
onFocus: w,
|
|
114
|
-
onBlur: E,
|
|
115
|
-
...F("dialog"),
|
|
116
|
-
ref: c,
|
|
117
|
-
className: d(K, t)
|
|
118
|
-
},
|
|
119
|
-
/* @__PURE__ */ s.createElement("div", { ...P, className: z }, C),
|
|
120
|
-
/* @__PURE__ */ s.createElement("div", { className: q({ fullWidth: u }) }, y(T, l.close)),
|
|
121
|
-
v && v.length > 0 && /* @__PURE__ */ s.createElement(s.Fragment, null, y(v, l.close))
|
|
122
|
-
)
|
|
123
|
-
));
|
|
70
|
+
e.set(D, { name: "FocusedTaskActions" });
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/focused-task/focused-task/FocusedTask.tsx
|
|
73
|
+
function O({ children: e, className: u, "data-testid": f, onBlur: p, onFocus: m, overlayProps: h, state: g, onClose: _, fullWidth: v = !1, ...w }) {
|
|
74
|
+
let T = d.useRef(null), { modalProps: E, underlayProps: O } = l({ ...w }, g, T), { dialogProps: k, titleProps: A } = c(w, T), j = n(E.onFocus, k.onFocus, m), M = n(E.onBlur, k.onBlur, p), N = a({ "data-testid": f }), [P, F] = i(e, [{ type: D }]);
|
|
75
|
+
function I() {
|
|
76
|
+
_ && typeof _ == "function" && _(), g.close();
|
|
77
|
+
}
|
|
78
|
+
let L = /* @__PURE__ */ d.createElement(o, {
|
|
79
|
+
"aria-label": "Close",
|
|
80
|
+
onClick: I,
|
|
81
|
+
kind: "icon",
|
|
82
|
+
icon: "x",
|
|
83
|
+
className: S
|
|
84
|
+
});
|
|
85
|
+
return /* @__PURE__ */ d.createElement(s, null, /* @__PURE__ */ d.createElement("div", {
|
|
86
|
+
className: C,
|
|
87
|
+
"data-react-aria-top-layer": "true",
|
|
88
|
+
...O,
|
|
89
|
+
...w
|
|
90
|
+
}, /* @__PURE__ */ d.createElement("div", {
|
|
91
|
+
...E,
|
|
92
|
+
...k,
|
|
93
|
+
...h,
|
|
94
|
+
onFocus: j,
|
|
95
|
+
onBlur: M,
|
|
96
|
+
...N("dialog"),
|
|
97
|
+
ref: T,
|
|
98
|
+
className: t(y, u)
|
|
99
|
+
}, /* @__PURE__ */ d.createElement("div", {
|
|
100
|
+
...A,
|
|
101
|
+
className: x
|
|
102
|
+
}, L), /* @__PURE__ */ d.createElement("div", { className: b({ fullWidth: v }) }, r(F, g.close)), P && P.length > 0 && /* @__PURE__ */ d.createElement(d.Fragment, null, r(P, g.close)))));
|
|
124
103
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
104
|
+
function k(e) {
|
|
105
|
+
return e.state.isOpen ? /* @__PURE__ */ d.createElement(O, e, e.children) : /* @__PURE__ */ d.createElement(d.Fragment, null);
|
|
127
106
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
107
|
+
e.set(k, {
|
|
108
|
+
name: "FocusedTask",
|
|
109
|
+
props: {
|
|
110
|
+
fullWidth: {
|
|
111
|
+
type: "boolean",
|
|
112
|
+
default: "false"
|
|
113
|
+
},
|
|
114
|
+
onBlur: { type: "() => void" },
|
|
115
|
+
onClose: { type: "() => void" },
|
|
116
|
+
onFocus: { type: "() => void" }
|
|
117
|
+
}
|
|
136
118
|
});
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/focused-task/focused-task/useFocusedTask.ts
|
|
121
|
+
function A(e = {}) {
|
|
122
|
+
let t = p(e), n = f(null), { triggerProps: r, overlayProps: i } = u({ type: "dialog" }, t, n), { onPress: a, ...o } = r;
|
|
123
|
+
return {
|
|
124
|
+
triggerProps: {
|
|
125
|
+
...o,
|
|
126
|
+
onClick: a ? (e) => a(e) : void 0,
|
|
127
|
+
ref: n
|
|
128
|
+
},
|
|
129
|
+
focusedTaskState: t,
|
|
130
|
+
focusedTaskProps: {
|
|
131
|
+
overlayProps: i,
|
|
132
|
+
state: t
|
|
133
|
+
}
|
|
134
|
+
};
|
|
149
135
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
k as FocusedTaskActions,
|
|
153
|
-
ae as useFocusedTask
|
|
154
|
-
};
|
|
136
|
+
//#endregion
|
|
137
|
+
export { k as FocusedTask, D as FocusedTaskActions, A as useFocusedTask };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("@sps-woodland/core"),require("@sps-woodland/core/button"),require("react-aria"),require("react"),require("react-stately")):typeof define==`function`&&define.amd?define([`exports`,`@sps-woodland/core`,`@sps-woodland/core/button`,`react-aria`,`react`,`react-stately`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.FocusedTask={},e.spsWoodlandCore,e.spsWoodlandCoreButton,e.reactAria,e.react,e.reactStately))})(this,function(e,t,n,r,i,a){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var o=Object.create,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=l(t),a=0,o=i.length,u;a<o;a++)u=i[a],!d.call(e,u)&&u!==n&&s(e,u,{get:(e=>t[e]).bind(null,u),enumerable:!(r=c(t,u))||r.enumerable});return e};i=((e,t,n)=>(n=e==null?{}:o(u(e)),f(t||!e||!e.__esModule||!d.call(e,`default`)?s(n,`default`,{value:e,enumerable:!0}):n,e)))(i,1);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?m(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g=(e,t,n)=>{for(var r of Object.keys(e))if(e[r]!==(t[r]??n[r]))return!1;return!0},_=e=>t=>{var n=e.defaultClassName,r=h(h({},e.defaultVariants),t);for(var i in r){var a=r[i]??e.defaultVariants[i];if(a!=null){var o=a;typeof o==`boolean`&&(o=o===!0?`true`:`false`);var s=e.variantClassNames[i][o];s&&(n+=` `+s)}}for(var[c,l]of e.compoundVariants)g(c,r,e.defaultVariants)&&(n+=` `+l);return n},v=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib0`,y=_({defaultClassName:`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib1`,variantClassNames:{fullWidth:{true:`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib2`,false:`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib3`}},defaultVariants:{},compoundVariants:[]}),b=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib4`,x=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib5`,S=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib7`,C=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib8`,w=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib9`,T=`pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29iba`;function E({children:e,className:n=``,...r}){return i.createElement(`div`,{className:(0,t.cl)(C,n),...r},i.createElement(`div`,{className:(0,t.cl)(w)},i.createElement(`div`,{className:(0,t.cl)(T)},e)))}t.Metadata.set(E,{name:`FocusedTaskActions`});function D({children:e,className:a,"data-testid":o,onBlur:s,onFocus:c,overlayProps:l,state:u,onClose:d,fullWidth:f=!1,...p}){let m=i.useRef(null),{modalProps:h,underlayProps:g}=(0,r.useModalOverlay)({...p},u,m),{dialogProps:_,titleProps:C}=(0,r.useDialog)(p,m),w=(0,t.combineEventHandlers)(h.onFocus,_.onFocus,c),T=(0,t.combineEventHandlers)(h.onBlur,_.onBlur,s),D=(0,t.useChildTestIdAttrBuilder)({"data-testid":o}),[O,k]=(0,t.selectChildren)(e,[{type:E}]);function A(){d&&typeof d==`function`&&d(),u.close()}let j=i.createElement(n.Button,{"aria-label":`Close`,onClick:A,kind:`icon`,icon:`x`,className:x});return i.createElement(r.Overlay,null,i.createElement(`div`,{className:S,"data-react-aria-top-layer":`true`,...g,...p},i.createElement(`div`,{...h,..._,...l,onFocus:w,onBlur:T,...D(`dialog`),ref:m,className:(0,t.cl)(v,a)},i.createElement(`div`,{...C,className:b},j),i.createElement(`div`,{className:y({fullWidth:f})},(0,t.contentOf)(k,u.close)),O&&O.length>0&&i.createElement(i.Fragment,null,(0,t.contentOf)(O,u.close)))))}function O(e){return e.state.isOpen?i.createElement(D,e,e.children):i.createElement(i.Fragment,null)}t.Metadata.set(O,{name:`FocusedTask`,props:{fullWidth:{type:`boolean`,default:`false`},onBlur:{type:`() => void`},onClose:{type:`() => void`},onFocus:{type:`() => void`}}});function k(e={}){let t=(0,a.useOverlayTriggerState)(e),n=(0,i.useRef)(null),{triggerProps:o,overlayProps:s}=(0,r.useOverlayTrigger)({type:`dialog`},t,n),{onPress:c,...l}=o;return{triggerProps:{...l,onClick:c?e=>c(e):void 0,ref:n},focusedTaskState:t,focusedTaskProps:{overlayProps:s,state:t}}}e.FocusedTask=O,e.FocusedTaskActions=E,e.useFocusedTask=k});
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.pkg_sps-woodland_core__family_focused-
|
|
1
|
+
.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib0{text-align:center;background-color:#f3f4f4;width:100%;height:100%;padding-bottom:2rem;transition:top .3s;position:fixed;left:0;overflow:hidden auto}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib1{max-width:1280px;margin:0 auto;padding:0 1rem 1rem}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib2{max-width:100%}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib4{text-align:right;min-width:0;max-width:1280px;margin:1rem auto .5rem;padding:0 1rem}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib5{color:#4b5356;border-width:0;right:.5rem}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib6{padding:0 .25rem}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib7{z-index:1000;background:#f3f4f4;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib8{z-index:1;background-color:#fff;justify-content:center;align-items:center;height:3.125rem;padding:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -.0625rem .125rem #00000026}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29ib9{width:100%;max-width:1180px;display:flex}.pkg_sps-woodland_core__family_focused-task__version_8_56_4__hash_1fv29iba{white-space:nowrap;flex:1;justify-content:center;align-items:center;display:flex}.z-stratum-dropdown{z-index:1100}
|
|
2
|
+
/*$vite$:1*/
|