@mittwald/flow-react-components 0.1.0-alpha.176 → 0.1.0-alpha.178
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/dist/{Accordion-O-Jl-Hbg.js → Accordion-D6IGGC6n.js} +3 -3
- package/dist/Accordion.js +1 -1
- package/dist/{Action-Cv3knooL.js → Action-DZ-dUjY_.js} +1 -1
- package/dist/Action.js +1 -1
- package/dist/ActionGroup.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Breadcrumb.js +2 -2
- package/dist/{Button-Dh-FA0K8.js → Button-BRmT11B1.js} +5 -5
- package/dist/Button.js +1 -1
- package/dist/{Checkbox-Loys48Py.js → Checkbox-DpsQsjyp.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-CLN_ayxn.js → CheckboxButton-D5pCUqHX.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +6 -6
- package/dist/{Content-D-V-g5Ba.js → Content-DbQrGIyx.js} +1 -1
- package/dist/Content.js +1 -1
- package/dist/ContextMenu.js +3 -3
- package/dist/{ContextMenu.module-BfwGh62L.js → ContextMenu.module-BZingr2B.js} +3 -3
- package/dist/{ContextMenuTrigger-B8ZhwBtd.js → ContextMenuTrigger-DuiGa0Zj.js} +13 -12
- package/dist/ContextualHelp.js +4 -4
- package/dist/CopyButton.js +5 -5
- package/dist/CounterBadge.js +1 -1
- package/dist/{FieldDescription-UlaeRaWw.js → FieldDescription-BODxBmfa.js} +2 -2
- package/dist/FieldDescription.js +1 -1
- package/dist/{FieldError-CZPQzNSz.js → FieldError-BZeDqyag.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/{FormField.module-DHK6nIcD.js → FormField.module-CqWpTQKP.js} +1 -1
- package/dist/{Header-CDc5qD5M.js → Header-Bq7WZg8g.js} +1 -1
- package/dist/Header.js +1 -1
- package/dist/{Heading-BkHvZG9C.js → Heading-1M1gRZfk.js} +1 -1
- package/dist/Heading.js +1 -1
- package/dist/{Icon-N96KD633.js → Icon-BCN5qdXA.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-CNdrJb3W.js → IconCheck-BYubSDLL.js} +1 -1
- package/dist/{IconCheckboxEmpty-Bnof97E6.js → IconCheckboxEmpty-FQyDmq2k.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-I0e87J_L.js → IconCheckboxIndeterminate-DBBytCg7.js} +1 -1
- package/dist/{IconChevronDown-H4ANoHQh.js → IconChevronDown-d3q78pVs.js} +1 -1
- package/dist/{IconChevronRight-BcvVk4gi.js → IconChevronRight-DLHldFgq.js} +1 -1
- package/dist/{IconChevronUp-DGairnIU.js → IconChevronUp-D62-9iee.js} +1 -1
- package/dist/{IconClose-B9Tmq1hI.js → IconClose-9DrWhSP2.js} +1 -1
- package/dist/{IconContextMenu-BbFVCu4A.js → IconContextMenu-Cy6_2TgT.js} +1 -1
- package/dist/{IconCopy-DdwkwK5i.js → IconCopy-C3V1hvRq.js} +1 -1
- package/dist/{IconDanger-29U5NbR-.js → IconDanger-B4gH_wD5.js} +1 -1
- package/dist/{IconInfo-DThm-qJW.js → IconInfo-CtOUGSwO.js} +1 -1
- package/dist/{IconPending-DY8n9LcJ.js → IconPending-7zAFcMDq.js} +1 -1
- package/dist/{IconPlus-z8tyCb_p.js → IconPlus-BVE-NWUJ.js} +1 -1
- package/dist/{IconRadioOn-CnchpCt3.js → IconRadioOn-hKPuJBpt.js} +1 -1
- package/dist/{IconSearch-BdmeRdRR.js → IconSearch-Bxe-heXD.js} +1 -1
- package/dist/{IconSucceeded-BviPRC9T.js → IconSucceeded-BXmn4l1i.js} +1 -1
- package/dist/{IconWarning-DlSgqOij.js → IconWarning-C_OvWQWl.js} +1 -1
- package/dist/Icons.js +18 -18
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +2 -2
- package/dist/InlineCode.js +15 -3
- package/dist/{Label-DeWqZ-Tg.js → Label-RMBiypQZ.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/{Link-BoQ8K6ao.js → Link-IBPoxx55.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +482 -374
- package/dist/{LoadingSpinner-BYjfjRAx.js → LoadingSpinner-D8TQ918m.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-DvOltniq.js → MenuItem-Cb7EDu-b.js} +5 -5
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +6 -6
- package/dist/Navigation.js +2 -2
- package/dist/Notification.js +5 -5
- package/dist/NumberField.js +22 -22
- package/dist/Popover-D-W1fcm7.js +46 -0
- package/dist/Popover.js +1 -1
- package/dist/RadioGroup.js +16 -16
- package/dist/Section.js +26 -22
- package/dist/Select.js +14 -14
- package/dist/Skeleton-CgOx_15R.js +14 -0
- package/dist/Skeleton.js +1 -1
- package/dist/Slider.js +4 -4
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-DiPKxCw-.js → StatusIcon-B3uPCHqB.js} +4 -4
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +9 -9
- package/dist/Tabs.js +7 -7
- package/dist/{Text-DMctOg-g.js → Text-SLaOJhzj.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField-DhdMjRzb.js +27 -0
- package/dist/TextField.js +3 -24
- package/dist/{TextFieldBase-CjN1n7TY.js → TextFieldBase-Duo_ZSZk.js} +10 -10
- package/dist/{flowComponent-CuEuCXRI.js → flowComponent-CwV0a4FM.js} +1 -0
- package/dist/hooks.js +5 -10
- package/dist/react-hook-form.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/types/components/List/List.d.ts +4 -2
- package/dist/types/components/List/components/Footer/{PaginationInfos → components/PaginationInfos}/PaginationInfos.d.ts +1 -1
- package/dist/types/components/List/components/Footer/{ShowNextBatchButton → components/ShowNextBatchButton}/ShowNextBatchButton.d.ts +1 -1
- package/dist/types/components/List/components/Header/{Header/Header.d.ts → Header.d.ts} +1 -1
- package/dist/types/components/List/components/Header/{FilterPicker → components/FilterPicker}/FilterPicker.d.ts +1 -1
- package/dist/types/components/List/components/Header/components/SearchField/SearchField.d.ts +9 -0
- package/dist/types/components/List/components/Header/components/SearchField/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/{SortingPickerItem → components/SortingPickerItem}/SortingPickerItem.d.ts +1 -1
- package/dist/types/components/List/components/Items/Items.d.ts +6 -0
- package/dist/types/components/List/components/Items/components/EmptyView/EmptyView.d.ts +3 -0
- package/dist/types/components/List/components/Items/components/FallbackItems/FallbackItems.d.ts +3 -0
- package/dist/types/components/List/components/Items/components/Item/Item.d.ts +8 -0
- package/dist/types/components/List/components/Items/{OptionsButton → components/Item/components/OptionsButton}/OptionsButton.d.ts +1 -1
- package/dist/types/components/List/components/Items/components/Item/components/SkeletonView/SkeletonView.d.ts +3 -0
- package/dist/types/components/List/components/Items/components/Item/components/View/View.d.ts +6 -0
- package/dist/types/components/List/components/Items/components/Item/components/View/index.d.ts +4 -0
- package/dist/types/components/List/components/Items/components/Item/index.d.ts +4 -0
- package/dist/types/components/List/components/Items/index.d.ts +4 -0
- package/dist/types/components/List/index.d.ts +7 -9
- package/dist/types/components/List/model/List.d.ts +6 -3
- package/dist/types/components/List/model/ReactTable.d.ts +2 -0
- package/dist/types/components/List/model/item/Item.d.ts +0 -3
- package/dist/types/components/List/model/item/ItemCollection.d.ts +1 -2
- package/dist/types/components/List/model/item/ItemView.d.ts +22 -0
- package/dist/types/components/List/model/loading/types.d.ts +2 -0
- package/dist/types/components/List/model/pagination/BatchesController.d.ts +2 -3
- package/dist/types/components/List/model/search/Search.d.ts +14 -0
- package/dist/types/components/List/model/search/types.d.ts +13 -0
- package/dist/types/components/List/model/types.d.ts +5 -2
- package/dist/types/components/List/{components/Header → setupComponents}/ListFilter.d.ts +2 -2
- package/dist/types/components/List/setupComponents/ListItem.d.ts +10 -0
- package/dist/types/components/List/setupComponents/ListSearch.d.ts +9 -0
- package/dist/types/components/List/{components/Header → setupComponents}/ListSorting.d.ts +1 -1
- package/dist/types/components/List/stories/Default.stories.d.ts +0 -1
- package/dist/types/components/List/stories/ListItem.stories.d.ts +0 -2
- package/dist/types/components/List/testData/domainApi.d.ts +1 -0
- package/dist/types/components/List/typedList.d.ts +9 -5
- package/dist/types/components/Popover/Popover.d.ts +2 -0
- package/dist/types/components/propTypes/index.d.ts +2 -0
- package/dist/types/lib/controller/overlay/context.d.ts +1 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +2 -0
- package/dist/types/lib/slotContext/slotContext.d.ts +1 -0
- package/dist/useOnChange-C1Quwyuz.js +12 -0
- package/package.json +4 -4
- package/dist/InlineCode-BT-PKxVv.js +0 -18
- package/dist/Popover-C2uIpso8.js +0 -44
- package/dist/Skeleton-CKLaTmDR.js +0 -22
- package/dist/types/components/List/components/Items/ItemList/ItemList.d.ts +0 -6
- package/dist/types/components/List/components/Items/ItemList/index.d.ts +0 -4
- package/dist/types/components/List/components/Items/ItemSkeleton/ItemSkeleton.d.ts +0 -3
- package/dist/types/components/List/components/Items/ListItem/FallbackRenderer.d.ts +0 -7
- package/dist/types/components/List/components/Items/ListItem/ListItem.d.ts +0 -7
- package/dist/types/components/List/components/Items/ListItem/index.d.ts +0 -4
- package/dist/types/components/List/components/Items/ListItemView.d.ts +0 -9
- /package/dist/types/components/List/components/Footer/{Footer/Footer.d.ts → Footer.d.ts} +0 -0
- /package/dist/types/components/List/components/Footer/{PaginationInfos → components/PaginationInfos}/index.d.ts +0 -0
- /package/dist/types/components/List/components/Footer/{ShowNextBatchButton → components/ShowNextBatchButton}/index.d.ts +0 -0
- /package/dist/types/components/List/components/Footer/{Footer/index.d.ts → index.d.ts} +0 -0
- /package/dist/types/components/List/components/Header/{ActiveFilters → components/ActiveFilters}/ActiveFilters.d.ts +0 -0
- /package/dist/types/components/List/components/Header/{ActiveFilters → components/ActiveFilters}/index.d.ts +0 -0
- /package/dist/types/components/List/components/Header/{FilterPicker → components/FilterPicker}/index.d.ts +0 -0
- /package/dist/types/components/List/components/Header/{SortingPicker → components/SortingPicker}/SortingPicker.d.ts +0 -0
- /package/dist/types/components/List/components/Header/{SortingPicker → components/SortingPicker}/index.d.ts +0 -0
- /package/dist/types/components/List/components/Header/{SortingPickerItem → components/SortingPickerItem}/index.d.ts +0 -0
- /package/dist/types/components/List/components/Header/{Header/index.d.ts → index.d.ts} +0 -0
- /package/dist/types/components/List/components/Items/{OptionsButton → components/Item/components/OptionsButton}/index.d.ts +0 -0
- /package/dist/types/components/List/{components → setupComponents}/ListLoaderAsync.d.ts +0 -0
- /package/dist/types/components/List/{components → setupComponents}/ListLoaderAsyncResource.d.ts +0 -0
- /package/dist/types/components/List/{components → setupComponents}/ListStaticData.d.ts +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { I as e } from "./IconPending-
|
|
5
|
+
import "./Icon-BCN5qdXA.js";
|
|
6
|
+
import { I as e } from "./IconPending-7zAFcMDq.js";
|
|
7
7
|
import t from "clsx";
|
|
8
8
|
const a = "flow--loading-spinner", p = "flow--loading-spinner--spin", l = {
|
|
9
9
|
loadingSpinner: a,
|
package/dist/LoadingSpinner.js
CHANGED
|
@@ -8,13 +8,13 @@ import { P as i } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
|
-
import "./Icon-
|
|
12
|
-
import { I as x, a as d } from "./IconCheckboxEmpty-
|
|
13
|
-
import { I as E, a as C } from "./IconRadioOn-
|
|
14
|
-
import { T as p } from "./Text-
|
|
11
|
+
import "./Icon-BCN5qdXA.js";
|
|
12
|
+
import { I as x, a as d } from "./IconCheckboxEmpty-FQyDmq2k.js";
|
|
13
|
+
import { I as E, a as C } from "./IconRadioOn-hKPuJBpt.js";
|
|
14
|
+
import { T as p } from "./Text-SLaOJhzj.js";
|
|
15
15
|
import { d as h } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
16
|
import { W as M } from "./Wrap-DGT1h1o3.js";
|
|
17
|
-
import { f as N } from "./flowComponent-
|
|
17
|
+
import { f as N } from "./flowComponent-CwV0a4FM.js";
|
|
18
18
|
const w = "flow--menu-item", P = "flow--menu-item--icon", T = "flow--menu-item--text", g = "flow--menu-item--control-icon", c = {
|
|
19
19
|
menuItem: w,
|
|
20
20
|
icon: P,
|
package/dist/MenuItem.js
CHANGED
package/dist/Modal.js
CHANGED
|
@@ -7,17 +7,17 @@ import { P as v } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { TunnelProvider as y, TunnelExit as p } from "@mittwald/react-tunnel";
|
|
10
|
-
import { f as g } from "./flowComponent-
|
|
10
|
+
import { f as g } from "./flowComponent-CwV0a4FM.js";
|
|
11
11
|
import * as n from "react-aria-components";
|
|
12
12
|
import "mobx";
|
|
13
13
|
import { u as C } from "./useOverlayController-D8N4X2rc.js";
|
|
14
14
|
import { O as E } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
15
|
-
import { H as w } from "./Header-
|
|
16
|
-
import { A as O } from "./Action-
|
|
17
|
-
import { B as h } from "./Button-
|
|
15
|
+
import { H as w } from "./Header-Bq7WZg8g.js";
|
|
16
|
+
import { A as O } from "./Action-DZ-dUjY_.js";
|
|
17
|
+
import { B as h } from "./Button-BRmT11B1.js";
|
|
18
18
|
import "@tabler/icons-react";
|
|
19
|
-
import "./Icon-
|
|
20
|
-
import { I as M } from "./IconClose-
|
|
19
|
+
import "./Icon-BCN5qdXA.js";
|
|
20
|
+
import { I as M } from "./IconClose-9DrWhSP2.js";
|
|
21
21
|
import { O as N } from "./OverlayTrigger-Bdb65OEJ.js";
|
|
22
22
|
const x = "flow--modal", z = "flow--modal--off-canvas", P = "flow--modal--content", T = "flow--modal--action-group", B = "flow--modal--header", I = "flow--modal--close-button", t = {
|
|
23
23
|
modal: x,
|
package/dist/Navigation.js
CHANGED
|
@@ -9,8 +9,8 @@ import { P as l } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import { TunnelProvider as u, TunnelExit as p } from "@mittwald/react-tunnel";
|
|
12
|
-
import { A as x } from "./Accordion-
|
|
13
|
-
import { C as N } from "./Content-
|
|
12
|
+
import { A as x } from "./Accordion-D6IGGC6n.js";
|
|
13
|
+
import { C as N } from "./Content-DbQrGIyx.js";
|
|
14
14
|
const C = "flow--navigation", I = "flow--navigation--item", b = "flow--navigation--icon", P = "flow--navigation--text", w = "flow--navigation--control-icon", r = {
|
|
15
15
|
navigation: C,
|
|
16
16
|
item: I,
|
package/dist/Notification.js
CHANGED
|
@@ -6,12 +6,12 @@ import "./propsContext-DzAKlmhS.js";
|
|
|
6
6
|
import { P as w } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { S as g } from "./StatusIcon-
|
|
10
|
-
import { L as h } from "./Link-
|
|
11
|
-
import { B as k } from "./Button-
|
|
9
|
+
import { S as g } from "./StatusIcon-B3uPCHqB.js";
|
|
10
|
+
import { L as h } from "./Link-IBPoxx55.js";
|
|
11
|
+
import { B as k } from "./Button-BRmT11B1.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as x } from "./IconClose-
|
|
13
|
+
import "./Icon-BCN5qdXA.js";
|
|
14
|
+
import { I as x } from "./IconClose-9DrWhSP2.js";
|
|
15
15
|
const N = "flow--notification", C = "flow--notification--link", E = "flow--notification--status-icon", I = "flow--notification--heading", L = "flow--notification--text", P = "flow--notification--close", v = "flow--notification--info", y = "flow--notification--has-link", B = "flow--notification--warning", S = "flow--notification--danger", z = "flow--notification--success", o = {
|
|
16
16
|
notification: N,
|
|
17
17
|
link: C,
|
package/dist/NumberField.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
4
|
+
import * as t from "react-aria-components";
|
|
5
|
+
import { f as r } from "./FormField.module-CqWpTQKP.js";
|
|
6
6
|
import u from "clsx";
|
|
7
7
|
import { C as f } from "./ClearPropsContext-CUvsbMn8.js";
|
|
8
8
|
import { P as d } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "./propsContext-DzAKlmhS.js";
|
|
11
11
|
import "remeda";
|
|
12
|
-
import { F as E } from "./FieldError-
|
|
13
|
-
import { B as
|
|
12
|
+
import { F as E } from "./FieldError-BZeDqyag.js";
|
|
13
|
+
import { B as m } from "./Button-BRmT11B1.js";
|
|
14
14
|
import "@tabler/icons-react";
|
|
15
|
-
import "./Icon-
|
|
16
|
-
import { I as N } from "./IconChevronDown-
|
|
17
|
-
import { I } from "./IconChevronUp-
|
|
18
|
-
import { I as b, a as
|
|
19
|
-
import { f as
|
|
20
|
-
const
|
|
21
|
-
group:
|
|
15
|
+
import "./Icon-BCN5qdXA.js";
|
|
16
|
+
import { I as N } from "./IconChevronDown-d3q78pVs.js";
|
|
17
|
+
import { I } from "./IconChevronUp-D62-9iee.js";
|
|
18
|
+
import { I as b, a as F } from "./IconPlus-BVE-NWUJ.js";
|
|
19
|
+
import { f as P } from "./flowComponent-CwV0a4FM.js";
|
|
20
|
+
const C = "flow--number-field--group", w = "flow--number-field--input", B = "flow--number-field--decrement-button", h = "flow--number-field--increment-button", v = "flow--number-field--coarse-pointer-icon", x = "flow--number-field--touch-icon", o = {
|
|
21
|
+
group: C,
|
|
22
22
|
input: w,
|
|
23
23
|
decrementButton: B,
|
|
24
24
|
incrementButton: h,
|
|
25
25
|
coarsePointerIcon: v,
|
|
26
26
|
touchIcon: x
|
|
27
|
-
}, K =
|
|
28
|
-
const { children:
|
|
27
|
+
}, K = P("NumberField", (n) => {
|
|
28
|
+
const { children: s, className: c, refProp: l, ...a } = n, i = u(r.formField, c), p = {
|
|
29
29
|
Label: {
|
|
30
|
-
className:
|
|
30
|
+
className: r.label,
|
|
31
31
|
optional: !n.isRequired
|
|
32
32
|
},
|
|
33
33
|
FieldDescription: {
|
|
34
|
-
className:
|
|
34
|
+
className: r.fieldDescription
|
|
35
35
|
},
|
|
36
36
|
FieldError: {
|
|
37
|
-
className:
|
|
37
|
+
className: r.customFieldError
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
return /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement(
|
|
41
|
-
|
|
40
|
+
return /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement(t.NumberField, { ...a, className: i }, /* @__PURE__ */ e.createElement(t.Group, { className: o.group }, /* @__PURE__ */ e.createElement(
|
|
41
|
+
m,
|
|
42
42
|
{
|
|
43
43
|
slot: "decrement",
|
|
44
44
|
className: o.decrementButton,
|
|
@@ -48,8 +48,8 @@ const F = "flow--number-field--group", w = "flow--number-field--input", B = "flo
|
|
|
48
48
|
},
|
|
49
49
|
/* @__PURE__ */ e.createElement(N, null),
|
|
50
50
|
/* @__PURE__ */ e.createElement(b, { className: o.coarsePointerIcon })
|
|
51
|
-
), /* @__PURE__ */ e.createElement(
|
|
52
|
-
|
|
51
|
+
), /* @__PURE__ */ e.createElement(t.Input, { className: o.input, ref: l }), /* @__PURE__ */ e.createElement(
|
|
52
|
+
m,
|
|
53
53
|
{
|
|
54
54
|
slot: "increment",
|
|
55
55
|
className: o.incrementButton,
|
|
@@ -58,8 +58,8 @@ const F = "flow--number-field--group", w = "flow--number-field--input", B = "flo
|
|
|
58
58
|
color: "secondary"
|
|
59
59
|
},
|
|
60
60
|
/* @__PURE__ */ e.createElement(I, null),
|
|
61
|
-
/* @__PURE__ */ e.createElement(
|
|
62
|
-
)), /* @__PURE__ */ e.createElement(d, { props: p },
|
|
61
|
+
/* @__PURE__ */ e.createElement(F, { className: o.coarsePointerIcon })
|
|
62
|
+
)), /* @__PURE__ */ e.createElement(d, { props: p }, s), /* @__PURE__ */ e.createElement(E, { className: r.fieldError })));
|
|
63
63
|
});
|
|
64
64
|
export {
|
|
65
65
|
K as NumberField,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import o from "react";
|
|
4
|
+
import * as t from "react-aria-components";
|
|
5
|
+
import n from "clsx";
|
|
6
|
+
import "mobx";
|
|
7
|
+
import { u } from "./useOverlayController-D8N4X2rc.js";
|
|
8
|
+
import { f as g } from "./flowComponent-CwV0a4FM.js";
|
|
9
|
+
import { O as x } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
10
|
+
const E = "flow--popover", N = "flow--popover--content", y = "flow--popover--tip", r = {
|
|
11
|
+
popover: E,
|
|
12
|
+
content: N,
|
|
13
|
+
tip: y,
|
|
14
|
+
"popover-slide": "flow--popover--popover-slide"
|
|
15
|
+
}, M = g("Popover", (p) => {
|
|
16
|
+
const {
|
|
17
|
+
children: s,
|
|
18
|
+
className: l,
|
|
19
|
+
contentClassName: a,
|
|
20
|
+
isDialogContent: c = !1,
|
|
21
|
+
controller: m,
|
|
22
|
+
withTip: i,
|
|
23
|
+
refProp: v,
|
|
24
|
+
defaultOpen: f = !1,
|
|
25
|
+
...C
|
|
26
|
+
} = p, d = u("Popover", {
|
|
27
|
+
reuseControllerFromContext: !0,
|
|
28
|
+
defaultOpen: f
|
|
29
|
+
}), e = m ?? d, P = e.useIsOpen(), w = n(r.popover, l), O = c ? t.Dialog : "div";
|
|
30
|
+
return /* @__PURE__ */ o.createElement(
|
|
31
|
+
t.Popover,
|
|
32
|
+
{
|
|
33
|
+
...C,
|
|
34
|
+
className: w,
|
|
35
|
+
containerPadding: 16,
|
|
36
|
+
ref: v,
|
|
37
|
+
isOpen: P,
|
|
38
|
+
onOpenChange: (h) => e.setOpen(h)
|
|
39
|
+
},
|
|
40
|
+
i && /* @__PURE__ */ o.createElement(t.OverlayArrow, { className: r.tip }, /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16" }, /* @__PURE__ */ o.createElement("path", { d: "M0 0 L8 8 L16 0" }))),
|
|
41
|
+
/* @__PURE__ */ o.createElement(O, { className: n(r.content, a) }, /* @__PURE__ */ o.createElement(x, { type: "Popover", controller: e }, s))
|
|
42
|
+
);
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
M as P
|
|
46
|
+
};
|
package/dist/Popover.js
CHANGED
package/dist/RadioGroup.js
CHANGED
|
@@ -8,24 +8,24 @@ import { P as C, m as z } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import { d as h } from "./dynamic-ClpUSmEt.js";
|
|
11
|
-
import { F as B } from "./FieldError-
|
|
12
|
-
import { C as
|
|
13
|
-
import { TunnelProvider as
|
|
14
|
-
import {
|
|
15
|
-
import { d as
|
|
11
|
+
import { F as B } from "./FieldError-BZeDqyag.js";
|
|
12
|
+
import { C as F } from "./ColumnLayout-FMONjI17.js";
|
|
13
|
+
import { TunnelProvider as I, TunnelExit as m } from "@mittwald/react-tunnel";
|
|
14
|
+
import { f as c } from "./FormField.module-CqWpTQKP.js";
|
|
15
|
+
import { d as P } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
16
|
import { C as b } from "./ClearPropsContext-CUvsbMn8.js";
|
|
17
17
|
import "@tabler/icons-react";
|
|
18
|
-
import "./Icon-
|
|
19
|
-
import { I as
|
|
20
|
-
import { f as N } from "./flowComponent-
|
|
18
|
+
import "./Icon-BCN5qdXA.js";
|
|
19
|
+
import { I as y, a as v } from "./IconRadioOn-hKPuJBpt.js";
|
|
20
|
+
import { f as N } from "./flowComponent-CwV0a4FM.js";
|
|
21
21
|
import "dot-prop";
|
|
22
|
-
import { I as D } from "./IconCheck-
|
|
22
|
+
import { I as D } from "./IconCheck-BYubSDLL.js";
|
|
23
23
|
import { g as T } from "./getContainerBreakpointSizeClassName-BrcFDcCY.js";
|
|
24
|
-
const O = "flow--radio-group",
|
|
24
|
+
const O = "flow--radio-group", S = "flow--radio-group--segmented-group", L = "flow--radio-group--segments", $ = "flow--radio-group--segment", A = "flow--radio-group--checkmark", j = "flow--radio-group--radio-group-container", r = {
|
|
25
25
|
radioGroup: O,
|
|
26
|
-
segmentedGroup:
|
|
26
|
+
segmentedGroup: S,
|
|
27
27
|
segments: L,
|
|
28
|
-
segment:
|
|
28
|
+
segment: $,
|
|
29
29
|
checkmark: A,
|
|
30
30
|
radioGroupContainer: j,
|
|
31
31
|
"container-breakpoint-size-xs": "flow--radio-group--container-breakpoint-size-xs",
|
|
@@ -90,10 +90,10 @@ const O = "flow--radio-group", $ = "flow--radio-group--segmented-group", L = "fl
|
|
|
90
90
|
children: h((G) => /* @__PURE__ */ e.createElement(e.Fragment, null, G.children, /* @__PURE__ */ e.createElement(D, { className: r.checkmark })))
|
|
91
91
|
}
|
|
92
92
|
}));
|
|
93
|
-
const u = !!
|
|
93
|
+
const u = !!P(t, K);
|
|
94
94
|
return o === "segmented" && u && console.warn(
|
|
95
95
|
"<RadioButton/> is not supported in 'segmented' variant of <RadioGroup />"
|
|
96
|
-
), /* @__PURE__ */ e.createElement(k.RadioGroup, { ...R, className: x, ref: w }, /* @__PURE__ */ e.createElement(
|
|
96
|
+
), /* @__PURE__ */ e.createElement(k.RadioGroup, { ...R, className: x, ref: w }, /* @__PURE__ */ e.createElement(I, null, /* @__PURE__ */ e.createElement(
|
|
97
97
|
C,
|
|
98
98
|
{
|
|
99
99
|
props: p,
|
|
@@ -102,7 +102,7 @@ const O = "flow--radio-group", $ = "flow--radio-group--segmented-group", L = "fl
|
|
|
102
102
|
},
|
|
103
103
|
t,
|
|
104
104
|
o === "segmented" && /* @__PURE__ */ e.createElement("div", { className: r.segmentedGroup }, /* @__PURE__ */ e.createElement("div", { className: r.segments }, /* @__PURE__ */ e.createElement(m, { id: "radios" }))),
|
|
105
|
-
o === "default" && u && /* @__PURE__ */ e.createElement(
|
|
105
|
+
o === "default" && u && /* @__PURE__ */ e.createElement(F, { s: i, m: s, l, className: r.radioGroup }, /* @__PURE__ */ e.createElement(m, { id: "radios" })),
|
|
106
106
|
o === "default" && !u && /* @__PURE__ */ e.createElement("div", { className: r.radioGroup }, /* @__PURE__ */ e.createElement(m, { id: "radios" })),
|
|
107
107
|
/* @__PURE__ */ e.createElement(m, { id: "fieldDescription" }),
|
|
108
108
|
/* @__PURE__ */ e.createElement(m, { id: "fieldError" })
|
|
@@ -118,7 +118,7 @@ const O = "flow--radio-group", $ = "flow--radio-group--segmented-group", L = "fl
|
|
|
118
118
|
refProp: i,
|
|
119
119
|
...s
|
|
120
120
|
} = n, l = o ? a : E(g.radio, a);
|
|
121
|
-
return /* @__PURE__ */ e.createElement(b, null, /* @__PURE__ */ e.createElement(k.Radio, { ...s, className: l, ref: i }, ({ isSelected: d }) => /* @__PURE__ */ e.createElement(e.Fragment, null, d ? !o && /* @__PURE__ */ e.createElement(
|
|
121
|
+
return /* @__PURE__ */ e.createElement(b, null, /* @__PURE__ */ e.createElement(k.Radio, { ...s, className: l, ref: i }, ({ isSelected: d }) => /* @__PURE__ */ e.createElement(e.Fragment, null, d ? !o && /* @__PURE__ */ e.createElement(y, { className: g.icon }) : !o && /* @__PURE__ */ e.createElement(v, { className: g.icon }), t)));
|
|
122
122
|
});
|
|
123
123
|
export {
|
|
124
124
|
U as Radio,
|
package/dist/Section.js
CHANGED
|
@@ -1,52 +1,56 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import e from "react";
|
|
4
|
-
import
|
|
3
|
+
import e, { useId as f } from "react";
|
|
4
|
+
import x from "clsx";
|
|
5
5
|
import "./propsContext-DzAKlmhS.js";
|
|
6
|
-
import { P as
|
|
6
|
+
import { P as i } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { f as c } from "./flowComponent-
|
|
10
|
-
import { A as
|
|
11
|
-
import * as
|
|
12
|
-
import { s as
|
|
13
|
-
const
|
|
14
|
-
section:
|
|
15
|
-
},
|
|
9
|
+
import { f as c } from "./flowComponent-CwV0a4FM.js";
|
|
10
|
+
import { A as C } from "./Activity-CmfZpgOM.js";
|
|
11
|
+
import * as s from "react-aria-components";
|
|
12
|
+
import { s as E } from "./ContextMenu.module-BZingr2B.js";
|
|
13
|
+
const S = "flow--section", P = {
|
|
14
|
+
section: S
|
|
15
|
+
}, g = c(
|
|
16
16
|
"ContextMenuSection",
|
|
17
17
|
(r) => {
|
|
18
18
|
const { children: t } = r, o = {
|
|
19
19
|
Heading: {
|
|
20
20
|
level: 5,
|
|
21
|
-
wrapWith: /* @__PURE__ */ e.createElement(
|
|
21
|
+
wrapWith: /* @__PURE__ */ e.createElement(s.Header, null)
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
return /* @__PURE__ */ e.createElement(
|
|
24
|
+
return /* @__PURE__ */ e.createElement(s.Section, { className: E.section }, /* @__PURE__ */ e.createElement(i, { props: o, mergeInParentContext: !0 }, t));
|
|
25
25
|
}
|
|
26
|
-
),
|
|
26
|
+
), b = c("Section", (r) => {
|
|
27
27
|
const {
|
|
28
28
|
children: t,
|
|
29
29
|
className: o,
|
|
30
|
-
isActive:
|
|
31
|
-
refProp:
|
|
30
|
+
isActive: a = !0,
|
|
31
|
+
refProp: l,
|
|
32
32
|
renderContextMenuSection: m,
|
|
33
|
-
...
|
|
33
|
+
...p
|
|
34
34
|
} = r;
|
|
35
35
|
if (!t)
|
|
36
36
|
return null;
|
|
37
37
|
if (m)
|
|
38
|
-
return /* @__PURE__ */ e.createElement(
|
|
39
|
-
const
|
|
38
|
+
return /* @__PURE__ */ e.createElement(g, null, t);
|
|
39
|
+
const d = x(P.section, o), n = f(), u = {
|
|
40
40
|
Heading: {
|
|
41
|
-
level: 2
|
|
41
|
+
level: 2,
|
|
42
|
+
id: n
|
|
42
43
|
},
|
|
43
44
|
Header: {
|
|
44
45
|
renderSectionHeader: !0
|
|
46
|
+
},
|
|
47
|
+
List: {
|
|
48
|
+
"aria-labelledby": n
|
|
45
49
|
}
|
|
46
50
|
};
|
|
47
|
-
return /* @__PURE__ */ e.createElement(
|
|
51
|
+
return /* @__PURE__ */ e.createElement(C, { isActive: a }, /* @__PURE__ */ e.createElement("section", { ...p, className: d, ref: l }, /* @__PURE__ */ e.createElement(i, { props: u, mergeInParentContext: !0 }, t)));
|
|
48
52
|
});
|
|
49
53
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
54
|
+
b as Section,
|
|
55
|
+
b as default
|
|
52
56
|
};
|
package/dist/Select.js
CHANGED
|
@@ -6,14 +6,14 @@ import "./propsContext-DzAKlmhS.js";
|
|
|
6
6
|
import { P as h } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import {
|
|
10
|
-
import { F as w } from "./FieldError-
|
|
9
|
+
import { f as c } from "./FormField.module-CqWpTQKP.js";
|
|
10
|
+
import { F as w } from "./FieldError-BZeDqyag.js";
|
|
11
11
|
import f from "clsx";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as
|
|
15
|
-
import { f as E } from "./flowComponent-
|
|
16
|
-
import { P
|
|
13
|
+
import "./Icon-BCN5qdXA.js";
|
|
14
|
+
import { I as F } from "./IconChevronDown-d3q78pVs.js";
|
|
15
|
+
import { f as E } from "./flowComponent-CwV0a4FM.js";
|
|
16
|
+
import { P } from "./Popover-D-W1fcm7.js";
|
|
17
17
|
import "mobx";
|
|
18
18
|
import { u as C } from "./useOverlayController-D8N4X2rc.js";
|
|
19
19
|
import "dot-prop";
|
|
@@ -23,12 +23,12 @@ import { O as B } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
|
23
23
|
const D = "flow--select", L = "flow--select--toggle", u = {
|
|
24
24
|
select: D,
|
|
25
25
|
toggle: L
|
|
26
|
-
},
|
|
27
|
-
popover:
|
|
28
|
-
options:
|
|
29
|
-
},
|
|
26
|
+
}, b = "flow--select--options--popover", R = "flow--select--options", d = {
|
|
27
|
+
popover: b,
|
|
28
|
+
options: R
|
|
29
|
+
}, T = (o) => {
|
|
30
30
|
const { className: t, children: r, ...n } = o, l = f(d.options, t), s = C("Select");
|
|
31
|
-
return /* @__PURE__ */ e.createElement(
|
|
31
|
+
return /* @__PURE__ */ e.createElement(P, { className: d.popover, controller: s }, /* @__PURE__ */ e.createElement(i.ListBox, { className: l, ...n }, r));
|
|
32
32
|
}, le = E("Select", (o) => {
|
|
33
33
|
const {
|
|
34
34
|
children: t,
|
|
@@ -73,10 +73,10 @@ const D = "flow--select", L = "flow--select--toggle", u = {
|
|
|
73
73
|
onOpenChange: (a) => p.setOpen(a),
|
|
74
74
|
isOpen: S
|
|
75
75
|
},
|
|
76
|
-
/* @__PURE__ */ e.createElement(B, { type: "Select", controller: p }, /* @__PURE__ */ e.createElement(h, { props: x }, /* @__PURE__ */ e.createElement(y, null, /* @__PURE__ */ e.createElement(i.Button, { className: u.toggle }, /* @__PURE__ */ e.createElement(i.SelectValue, null), /* @__PURE__ */ e.createElement(
|
|
76
|
+
/* @__PURE__ */ e.createElement(B, { type: "Select", controller: p }, /* @__PURE__ */ e.createElement(h, { props: x }, /* @__PURE__ */ e.createElement(y, null, /* @__PURE__ */ e.createElement(i.Button, { className: u.toggle }, /* @__PURE__ */ e.createElement(i.SelectValue, null), /* @__PURE__ */ e.createElement(F, null)), t, /* @__PURE__ */ e.createElement(T, null, /* @__PURE__ */ e.createElement(I, { id: "options" })), /* @__PURE__ */ e.createElement(w, { className: c.fieldError }))))
|
|
77
77
|
);
|
|
78
|
-
}),
|
|
79
|
-
option:
|
|
78
|
+
}), $ = "flow--select--option", q = "flow--select--option--icon", A = "flow--select--option--text", V = "flow--select--option--control-icon", j = {
|
|
79
|
+
option: $,
|
|
80
80
|
icon: q,
|
|
81
81
|
text: A,
|
|
82
82
|
controlIcon: V
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import m from "clsx";
|
|
5
|
+
const a = "flow--skeleton", c = "flow--skeleton--shimmer", i = {
|
|
6
|
+
skeleton: a,
|
|
7
|
+
shimmer: c
|
|
8
|
+
}, d = (t) => {
|
|
9
|
+
const { width: s, height: o, className: l, ...n } = t, r = m(i.skeleton, l);
|
|
10
|
+
return /* @__PURE__ */ e.createElement("div", { "aria-hidden": !0, style: { height: o, width: s }, ...n }, /* @__PURE__ */ e.createElement("div", { className: r }));
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
d as S
|
|
14
|
+
};
|
package/dist/Skeleton.js
CHANGED
package/dist/Slider.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { f as E } from "./flowComponent-
|
|
4
|
+
import { f as E } from "./flowComponent-CwV0a4FM.js";
|
|
5
5
|
import * as n from "react-aria-components";
|
|
6
6
|
import h from "clsx";
|
|
7
7
|
import "./propsContext-DzAKlmhS.js";
|
|
8
8
|
import { P as v } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
|
-
import { B as i } from "./Button-
|
|
11
|
+
import { B as i } from "./Button-BRmT11B1.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as w, a as N } from "./IconPlus-
|
|
13
|
+
import "./Icon-BCN5qdXA.js";
|
|
14
|
+
import { I as w, a as N } from "./IconPlus-BVE-NWUJ.js";
|
|
15
15
|
import { useLocalizedStringFormatter as k } from "react-aria";
|
|
16
16
|
const x = "flow--slider", P = "flow--slider--text", S = "flow--slider--value", g = "flow--slider--track", y = "flow--slider--fill", I = "flow--slider--initial-marker", M = "flow--slider--thumb", T = "flow--slider--increment", C = "flow--slider--decrement", z = "flow--slider--disabled", t = {
|
|
17
17
|
slider: x,
|
package/dist/StatusBadge.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import l from "clsx";
|
|
5
|
-
import { S as f } from "./StatusIcon-
|
|
6
|
-
import { T as i } from "./Text-
|
|
5
|
+
import { S as f } from "./StatusIcon-B3uPCHqB.js";
|
|
6
|
+
import { T as i } from "./Text-SLaOJhzj.js";
|
|
7
7
|
import { C as u } from "./ClearPropsContext-CUvsbMn8.js";
|
|
8
8
|
import "./propsContext-DzAKlmhS.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import "dot-prop";
|
|
12
|
-
import { f as d } from "./flowComponent-
|
|
12
|
+
import { f as d } from "./flowComponent-CwV0a4FM.js";
|
|
13
13
|
const g = "flow--status-badge", p = "flow--status-badge--text", w = "flow--status-badge--info", x = "flow--status-badge--success", b = "flow--status-badge--warning", B = "flow--status-badge--danger", s = {
|
|
14
14
|
statusBadge: g,
|
|
15
15
|
text: p,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { I as m } from "./IconDanger-
|
|
7
|
-
import { I as f } from "./IconInfo-
|
|
8
|
-
import { I, a as l } from "./IconWarning-
|
|
5
|
+
import "./Icon-BCN5qdXA.js";
|
|
6
|
+
import { I as m } from "./IconDanger-B4gH_wD5.js";
|
|
7
|
+
import { I as f } from "./IconInfo-CtOUGSwO.js";
|
|
8
|
+
import { I, a as l } from "./IconWarning-C_OvWQWl.js";
|
|
9
9
|
import { useLocalizedStringFormatter as g } from "react-aria";
|
|
10
10
|
import { C as p } from "./ClearPropsContext-CUvsbMn8.js";
|
|
11
11
|
import "./propsContext-DzAKlmhS.js";
|
package/dist/StatusIcon.js
CHANGED
package/dist/Switch.js
CHANGED
|
@@ -4,35 +4,35 @@ import e from "react";
|
|
|
4
4
|
import * as n from "react-aria-components";
|
|
5
5
|
import f from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as p } from "./IconCheck-
|
|
9
|
-
import { I as h } from "./IconClose-
|
|
10
|
-
import { L as w } from "./Label-
|
|
7
|
+
import "./Icon-BCN5qdXA.js";
|
|
8
|
+
import { I as p } from "./IconCheck-BYubSDLL.js";
|
|
9
|
+
import { I as h } from "./IconClose-9DrWhSP2.js";
|
|
10
|
+
import { L as w } from "./Label-RMBiypQZ.js";
|
|
11
11
|
import { C as d } from "./ClearPropsContext-CUvsbMn8.js";
|
|
12
12
|
import "./propsContext-DzAKlmhS.js";
|
|
13
13
|
import "@react-aria/utils";
|
|
14
14
|
import "remeda";
|
|
15
15
|
import "dot-prop";
|
|
16
|
-
import { f as b } from "./flowComponent-
|
|
16
|
+
import { f as b } from "./flowComponent-CwV0a4FM.js";
|
|
17
17
|
const E = "flow--switch--track", C = "flow--switch--handle", N = "flow--switch--label", t = {
|
|
18
18
|
switch: "flow--switch",
|
|
19
19
|
"label-leading": "flow--switch--label-leading",
|
|
20
20
|
track: E,
|
|
21
21
|
handle: C,
|
|
22
22
|
label: N
|
|
23
|
-
}, R = b("Switch", (
|
|
23
|
+
}, R = b("Switch", (a) => {
|
|
24
24
|
const {
|
|
25
|
-
children:
|
|
25
|
+
children: l,
|
|
26
26
|
className: o,
|
|
27
27
|
labelPosition: r = "trailing",
|
|
28
28
|
refProp: s,
|
|
29
29
|
...c
|
|
30
|
-
} =
|
|
30
|
+
} = a, m = f(
|
|
31
31
|
t.switch,
|
|
32
32
|
t[`label-${r}`],
|
|
33
33
|
o
|
|
34
34
|
);
|
|
35
|
-
return /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(n.Switch, { ...c, className: m, ref: s }, ({ isSelected: i }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: t.track }, /* @__PURE__ */ e.createElement("div", { className: t.handle }, i ? /* @__PURE__ */ e.createElement(p, { size: "s" }) : /* @__PURE__ */ e.createElement(h, { size: "s" }))), /* @__PURE__ */ e.createElement(w, { className: t.label },
|
|
35
|
+
return /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(n.Switch, { ...c, className: m, ref: s }, ({ isSelected: i }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: t.track }, /* @__PURE__ */ e.createElement("div", { className: t.handle }, i ? /* @__PURE__ */ e.createElement(p, { size: "s" }) : /* @__PURE__ */ e.createElement(h, { size: "s" }))), l && /* @__PURE__ */ e.createElement(w, { className: t.label }, l))));
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
38
|
R as Switch,
|
package/dist/Tabs.js
CHANGED
|
@@ -4,15 +4,15 @@ import e, { useRef as h, useState as v, useEffect as M, useId as g, createContex
|
|
|
4
4
|
import * as E from "react-aria-components";
|
|
5
5
|
import u from "clsx";
|
|
6
6
|
import { TunnelExit as C, TunnelProvider as y, TunnelEntry as f } from "@mittwald/react-tunnel";
|
|
7
|
-
import { f as S } from "./flowComponent-
|
|
7
|
+
import { f as S } from "./flowComponent-CwV0a4FM.js";
|
|
8
8
|
import { useCallbackRef as O } from "use-callback-ref";
|
|
9
|
-
import { a as B, C as K } from "./ContextMenuTrigger-
|
|
10
|
-
import { M as A } from "./MenuItem-
|
|
11
|
-
import { B as L } from "./Button-
|
|
9
|
+
import { a as B, C as K } from "./ContextMenuTrigger-DuiGa0Zj.js";
|
|
10
|
+
import { M as A } from "./MenuItem-Cb7EDu-b.js";
|
|
11
|
+
import { B as L } from "./Button-BRmT11B1.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as F } from "./IconContextMenu-
|
|
15
|
-
import { T as R } from "./Text-
|
|
13
|
+
import "./Icon-BCN5qdXA.js";
|
|
14
|
+
import { I as F } from "./IconContextMenu-Cy6_2TgT.js";
|
|
15
|
+
import { T as R } from "./Text-SLaOJhzj.js";
|
|
16
16
|
import "./propsContext-DzAKlmhS.js";
|
|
17
17
|
import { P as W } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
18
18
|
import "@react-aria/utils";
|
|
@@ -8,7 +8,7 @@ import "@react-aria/utils";
|
|
|
8
8
|
import "./propsContext-DzAKlmhS.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import T from "invariant";
|
|
11
|
-
import { f as C } from "./flowComponent-
|
|
11
|
+
import { f as C } from "./flowComponent-CwV0a4FM.js";
|
|
12
12
|
import { E as h } from "./EmulatedBoldText-Dtox8Wd1.js";
|
|
13
13
|
import { W as P } from "./Wrap-DGT1h1o3.js";
|
|
14
14
|
import g from "clsx";
|