fluid-primitives 0.18.0 → 0.19.0-next.13.78decf7
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/{Client-D-GbQqXf.js → Client-C51NSHxg.js} +9 -1
- package/dist/accordion.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/checkbox-group.d.ts +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/clipboard.d.ts +1 -1
- package/dist/clipboard.js +10 -3
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +12 -3
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +1 -1
- package/dist/field.d.ts +2 -2
- package/dist/field.js +1 -1
- package/dist/form.d.ts +2 -2
- package/dist/form.js +1 -1
- package/dist/{form.registry-DjhMF6Ny.d.ts → form.registry-Cb8Pvoe8.d.ts} +1 -1
- package/dist/{index-DxZhm-zT.d.ts → index-B8JCdyld.d.ts} +4 -1
- package/dist/navigation-menu.d.ts +1 -1
- package/dist/navigation-menu.js +1 -2
- package/dist/number-input.d.ts +1 -1
- package/dist/number-input.js +9 -3
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +5 -2
- package/dist/radio-group.d.ts +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/scroll-area.d.ts +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.js +5 -2
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/package.json +1 -1
|
@@ -162,6 +162,14 @@ function mount(componentName, callback) {
|
|
|
162
162
|
window.FluidPrimitives.uncontrolledInstances[componentName][id] = instance;
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
+
function mountControlled(componentName, rootId, callback) {
|
|
166
|
+
const hydrationData = getHydrationData(componentName, rootId);
|
|
167
|
+
if (!hydrationData) return;
|
|
168
|
+
return callback({
|
|
169
|
+
...hydrationData,
|
|
170
|
+
createHydrator: () => new ComponentHydrator(componentName, rootId, hydrationData.props.ids)
|
|
171
|
+
});
|
|
172
|
+
}
|
|
165
173
|
var ComponentHydrator = class {
|
|
166
174
|
componentName;
|
|
167
175
|
doc;
|
|
@@ -237,4 +245,4 @@ function uid(prefix = "f") {
|
|
|
237
245
|
}
|
|
238
246
|
|
|
239
247
|
//#endregion
|
|
240
|
-
export { Machine as a, getListCollectionFromHydrationData as c,
|
|
248
|
+
export { Machine as a, getListCollectionFromHydrationData as c, FieldAwareComponent as d, registerFieldMachine as f, mergeProps as i, mount as l, spreadProps as n, ComponentHydrator as o, Component as p, normalizeProps as r, getHydrationData as s, uid as t, mountControlled as u };
|
package/dist/accordion.d.ts
CHANGED
package/dist/accordion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as accordion from "@zag-js/accordion";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Accordion/Accordion.ts
|
package/dist/checkbox-group.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Machine,
|
|
2
|
-
import { t as FieldMachine } from "./form.registry-
|
|
1
|
+
import { a as Machine, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
|
+
import { t as FieldMachine } from "./form.registry-Cb8Pvoe8.js";
|
|
3
3
|
import { EventObject } from "@zag-js/core";
|
|
4
4
|
import { PropTypes } from "@zag-js/types";
|
|
5
5
|
|
package/dist/checkbox-group.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldAwareComponent, i as mergeProps, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { i as connect, n as registerCheckboxGroup, r as unregisterCheckboxGroup } from "./checkbox-group.registry-CGwuF7SF.js";
|
|
3
3
|
import { a as getLabelId } from "./field.dom-CJQXpQbZ.js";
|
|
4
4
|
import { createMachine } from "@zag-js/core";
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldMachine, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
2
|
import * as checkbox from "@zag-js/checkbox";
|
|
3
3
|
import * as _$_zag_js_types0 from "@zag-js/types";
|
|
4
4
|
|
package/dist/checkbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldAwareComponent, i as mergeProps, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { i as connect, t as getCheckboxGroupMachineFor } from "./checkbox-group.registry-CGwuF7SF.js";
|
|
3
3
|
import { a as getLabelId, t as getControlId } from "./field.dom-CJQXpQbZ.js";
|
|
4
4
|
import * as checkbox from "@zag-js/checkbox";
|
package/dist/client.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Machine, c as mount,
|
|
2
|
-
export { Component, ComponentHydrationData, ComponentHydrator, ComponentInterface, FieldAwareComponent, FluidPrimitivesGlobals, Machine, getHydrationData, mergeProps, mount, normalizeProps, spreadProps, uid };
|
|
1
|
+
import { a as Machine, c as mount, f as Component, h as FluidPrimitivesGlobals, i as mergeProps, l as mountControlled, m as ComponentInterface, n as spreadProps, o as ComponentHydrator, p as ComponentHydrationData, r as normalizeProps, s as getHydrationData, t as uid, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
|
+
export { Component, ComponentHydrationData, ComponentHydrator, ComponentInterface, FieldAwareComponent, FluidPrimitivesGlobals, Machine, getHydrationData, mergeProps, mount, mountControlled, normalizeProps, spreadProps, uid };
|
package/dist/client.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldAwareComponent, i as mergeProps, l as mount, n as spreadProps, o as ComponentHydrator, p as Component, r as normalizeProps, s as getHydrationData, t as uid, u as mountControlled } from "./Client-C51NSHxg.js";
|
|
2
2
|
|
|
3
|
-
export { Component, ComponentHydrator, FieldAwareComponent, Machine, getHydrationData, mergeProps, mount, normalizeProps, spreadProps, uid };
|
|
3
|
+
export { Component, ComponentHydrator, FieldAwareComponent, Machine, getHydrationData, mergeProps, mount, mountControlled, normalizeProps, spreadProps, uid };
|
package/dist/clipboard.d.ts
CHANGED
package/dist/clipboard.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, i as mergeProps, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as clipboard from "@zag-js/clipboard";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Clipboard/Clipboard.ts
|
|
5
5
|
var Clipboard = class extends Component {
|
|
6
6
|
static name = "clipboard";
|
|
7
7
|
initMachine(props) {
|
|
8
|
-
return new Machine(clipboard.machine,
|
|
8
|
+
return new Machine(clipboard.machine, {
|
|
9
|
+
...props,
|
|
10
|
+
translations: void 0
|
|
11
|
+
});
|
|
9
12
|
}
|
|
10
13
|
initApi() {
|
|
11
14
|
return clipboard.connect(this.machine.service, normalizeProps);
|
|
@@ -24,7 +27,11 @@ var Clipboard = class extends Component {
|
|
|
24
27
|
const indicatorIdleEl = this.getElement("indicator-idle");
|
|
25
28
|
if (indicatorIdleEl) this.spreadProps(indicatorIdleEl, this.api.getIndicatorProps({ copied: false }));
|
|
26
29
|
const triggerEl = this.getElement("trigger");
|
|
27
|
-
if (triggerEl)
|
|
30
|
+
if (triggerEl) {
|
|
31
|
+
const translations = this.userProps?.translations;
|
|
32
|
+
const mergedProps = mergeProps(this.api.getTriggerProps(), { "aria-label": this.api.copied ? translations?.triggerLabelCopied || null : translations?.triggerLabelIdle || null });
|
|
33
|
+
this.spreadProps(triggerEl, mergedProps);
|
|
34
|
+
}
|
|
28
35
|
}
|
|
29
36
|
};
|
|
30
37
|
|
package/dist/collapsible.d.ts
CHANGED
package/dist/collapsible.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as collapsible from "@zag-js/collapsible";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Collapsible/Collapsible.ts
|
|
@@ -16,8 +16,17 @@ var Collapsible = class extends Component {
|
|
|
16
16
|
this.getElements("trigger").forEach((triggerEl) => {
|
|
17
17
|
this.spreadProps(triggerEl, this.api.getTriggerProps());
|
|
18
18
|
});
|
|
19
|
-
this.getElements("
|
|
20
|
-
|
|
19
|
+
this.getElements("indicator-open").forEach((openIndicatorEl) => {
|
|
20
|
+
this.spreadProps(openIndicatorEl, normalizeProps.element({
|
|
21
|
+
hidden: !this.api.open,
|
|
22
|
+
"data-state": "open"
|
|
23
|
+
}));
|
|
24
|
+
});
|
|
25
|
+
this.getElements("indicator-closed").forEach((closedIndicatorEl) => {
|
|
26
|
+
this.spreadProps(closedIndicatorEl, normalizeProps.element({
|
|
27
|
+
hidden: this.api.open,
|
|
28
|
+
"data-state": "closed"
|
|
29
|
+
}));
|
|
21
30
|
});
|
|
22
31
|
const contentEl = this.getElement("content");
|
|
23
32
|
if (contentEl) this.spreadProps(contentEl, this.api.getContentProps());
|
package/dist/dialog.d.ts
CHANGED
package/dist/dialog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as dialog from "@zag-js/dialog";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Dialog/Dialog.ts
|
package/dist/field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Machine,
|
|
2
|
-
import { n as FormMachine } from "./form.registry-
|
|
1
|
+
import { a as Machine, f as Component } from "./index-B8JCdyld.js";
|
|
2
|
+
import { n as FormMachine } from "./form.registry-Cb8Pvoe8.js";
|
|
3
3
|
import { EventObject } from "@zag-js/core";
|
|
4
4
|
import { PropTypes } from "@zag-js/types";
|
|
5
5
|
|
package/dist/field.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, f as registerFieldMachine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { a as getLabelId, i as getErrorId, n as getDescriptionEl, o as getRootEl, r as getDescriptionId, s as getRootId, t as getControlId } from "./field.dom-CJQXpQbZ.js";
|
|
3
3
|
import { n as getFormMachineFor, r as registerFieldMachineForForm } from "./form.registry-CmpTny_s.js";
|
|
4
4
|
import { createMachine } from "@zag-js/core";
|
package/dist/form.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Machine,
|
|
2
|
-
import { t as FieldMachine } from "./form.registry-
|
|
1
|
+
import { a as Machine, f as Component } from "./index-B8JCdyld.js";
|
|
2
|
+
import { t as FieldMachine } from "./form.registry-Cb8Pvoe8.js";
|
|
3
3
|
import { EventObject } from "@zag-js/core";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { JSX, PropTypes } from "@zag-js/types";
|
package/dist/form.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { i as registerFormMachine, t as getFieldMachinesFor } from "./form.registry-CmpTny_s.js";
|
|
3
3
|
import { debounce } from "@zag-js/utils";
|
|
4
4
|
import { createMachine } from "@zag-js/core";
|
|
@@ -91,6 +91,9 @@ declare function getHydrationData(component: string, id: string): ComponentHydra
|
|
|
91
91
|
declare function mount(componentName: string, callback: (data: ComponentHydrationData & {
|
|
92
92
|
createHydrator: () => ComponentHydrator;
|
|
93
93
|
}) => Component<unknown, unknown> | void): void;
|
|
94
|
+
declare function mountControlled(componentName: string, rootId: string, callback: (data: ComponentHydrationData & {
|
|
95
|
+
createHydrator: () => ComponentHydrator;
|
|
96
|
+
}) => Component<unknown, unknown> | void): void | Component<unknown, unknown>;
|
|
94
97
|
declare class ComponentHydrator {
|
|
95
98
|
componentName: string;
|
|
96
99
|
doc: Document;
|
|
@@ -112,4 +115,4 @@ declare class ComponentHydrator {
|
|
|
112
115
|
//#region Resources/Private/Client/src/lib/uid.d.ts
|
|
113
116
|
declare function uid(prefix?: string): string;
|
|
114
117
|
//#endregion
|
|
115
|
-
export { Machine as a, mount as c,
|
|
118
|
+
export { Machine as a, mount as c, FieldMachine as d, Component as f, FluidPrimitivesGlobals as h, mergeProps as i, mountControlled as l, ComponentInterface as m, spreadProps as n, ComponentHydrator as o, ComponentHydrationData as p, normalizeProps as r, getHydrationData as s, uid as t, FieldAwareComponent as u };
|
package/dist/navigation-menu.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as navigationMenu from "@zag-js/navigation-menu";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/NavigationMenu/NavigationMenu.ts
|
|
@@ -12,7 +12,6 @@ var NavigationMenu = class extends Component {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const rootEl = this.getElement("root");
|
|
15
|
-
console.log(this.api.getRootProps());
|
|
16
15
|
if (rootEl) this.spreadProps(rootEl, this.api.getRootProps());
|
|
17
16
|
const listEl = this.getElement("list");
|
|
18
17
|
if (listEl) this.spreadProps(listEl, this.api.getListProps());
|
package/dist/number-input.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldMachine, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
2
|
import * as numberInput from "@zag-js/number-input";
|
|
3
3
|
import * as _$_zag_js_types0 from "@zag-js/types";
|
|
4
4
|
|
package/dist/number-input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldAwareComponent, i as mergeProps, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { a as getLabelId, t as getControlId } from "./field.dom-CJQXpQbZ.js";
|
|
3
3
|
import * as numberInput from "@zag-js/number-input";
|
|
4
4
|
|
|
@@ -41,9 +41,15 @@ var NumberInput = class extends FieldAwareComponent {
|
|
|
41
41
|
this.spreadProps(inputEl, mergedProps);
|
|
42
42
|
}
|
|
43
43
|
const incrementTriggerEl = this.getElement("increment-trigger");
|
|
44
|
-
if (incrementTriggerEl)
|
|
44
|
+
if (incrementTriggerEl) {
|
|
45
|
+
const triggerProps = mergeProps(this.api.getIncrementTriggerProps(), { "aria-label": this.userProps?.translations?.incrementLabel || null });
|
|
46
|
+
this.spreadProps(incrementTriggerEl, triggerProps);
|
|
47
|
+
}
|
|
45
48
|
const decrementTriggerEl = this.getElement("decrement-trigger");
|
|
46
|
-
if (decrementTriggerEl)
|
|
49
|
+
if (decrementTriggerEl) {
|
|
50
|
+
const triggerProps = mergeProps(this.api.getDecrementTriggerProps(), { "aria-label": this.userProps?.translations?.decrementLabel || null });
|
|
51
|
+
this.spreadProps(decrementTriggerEl, triggerProps);
|
|
52
|
+
}
|
|
47
53
|
const valueTextEl = this.getElement("value-text");
|
|
48
54
|
if (valueTextEl) this.spreadProps(valueTextEl, this.api.getValueTextProps());
|
|
49
55
|
const scrubberEl = this.getElement("scrubber");
|
package/dist/popover.d.ts
CHANGED
package/dist/popover.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, i as mergeProps, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as popover from "@zag-js/popover";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Popover/Popover.ts
|
|
@@ -32,7 +32,10 @@ var Popover = class extends Component {
|
|
|
32
32
|
const descriptionEl = this.getElement("description");
|
|
33
33
|
if (descriptionEl) this.spreadProps(descriptionEl, this.api.getDescriptionProps());
|
|
34
34
|
const closeTriggerEl = this.getElement("close-trigger");
|
|
35
|
-
if (closeTriggerEl)
|
|
35
|
+
if (closeTriggerEl) {
|
|
36
|
+
const closeTriggerProps = mergeProps(this.api.getCloseTriggerProps(), { "aria-label": this.userProps?.translations?.closeTriggerLabel || null });
|
|
37
|
+
this.spreadProps(closeTriggerEl, closeTriggerProps);
|
|
38
|
+
}
|
|
36
39
|
const indicatorEl = this.getElement("indicator");
|
|
37
40
|
if (indicatorEl) this.spreadProps(indicatorEl, this.api.getIndicatorProps());
|
|
38
41
|
}
|
package/dist/radio-group.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldMachine, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
2
|
import * as radioGroup from "@zag-js/radio-group";
|
|
3
3
|
import * as _$_zag_js_types0 from "@zag-js/types";
|
|
4
4
|
|
package/dist/radio-group.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldAwareComponent, i as mergeProps, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as radioGroup from "@zag-js/radio-group";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/RadioGroup/RadioGroup.ts
|
package/dist/scroll-area.d.ts
CHANGED
package/dist/scroll-area.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as scrollArea from "@zag-js/scroll-area";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/ScrollArea/ScrollArea.ts
|
package/dist/select.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldMachine, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
2
|
import * as _$_zag_js_collection0 from "@zag-js/collection";
|
|
3
3
|
import * as select from "@zag-js/select";
|
|
4
4
|
import * as _$_zag_js_types0 from "@zag-js/types";
|
package/dist/select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine, c as getListCollectionFromHydrationData,
|
|
1
|
+
import { a as Machine, c as getListCollectionFromHydrationData, d as FieldAwareComponent, i as mergeProps, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { a as getLabelId, t as getControlId } from "./field.dom-CJQXpQbZ.js";
|
|
3
3
|
import * as select from "@zag-js/select";
|
|
4
4
|
|
|
@@ -74,7 +74,10 @@ var Select = class extends FieldAwareComponent {
|
|
|
74
74
|
if (item) this.spreadProps(itemIndicatorEl, this.api.getItemIndicatorProps({ item }));
|
|
75
75
|
});
|
|
76
76
|
const clearTriggerEl = this.getElement("clear-trigger");
|
|
77
|
-
if (clearTriggerEl)
|
|
77
|
+
if (clearTriggerEl) {
|
|
78
|
+
const clearTriggerProps = mergeProps(this.api.getClearTriggerProps(), { "aria-label": this.userProps?.translations?.clearTriggerLabel || null });
|
|
79
|
+
this.spreadProps(clearTriggerEl, clearTriggerProps);
|
|
80
|
+
}
|
|
78
81
|
const indicatorEl = this.getElement("indicator");
|
|
79
82
|
if (indicatorEl) this.spreadProps(indicatorEl, this.api.getIndicatorProps());
|
|
80
83
|
};
|
package/dist/switch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldMachine, u as FieldAwareComponent } from "./index-B8JCdyld.js";
|
|
2
2
|
import * as zagSwitch from "@zag-js/switch";
|
|
3
3
|
import * as _$_zag_js_types0 from "@zag-js/types";
|
|
4
4
|
|
package/dist/switch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, d as FieldAwareComponent, i as mergeProps, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import { a as getLabelId, t as getControlId } from "./field.dom-CJQXpQbZ.js";
|
|
3
3
|
import * as zagSwitch from "@zag-js/switch";
|
|
4
4
|
|
package/dist/tabs.d.ts
CHANGED
package/dist/tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as tabs from "@zag-js/tabs";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Tabs/Tabs.ts
|
package/dist/tooltip.d.ts
CHANGED
package/dist/tooltip.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Machine,
|
|
1
|
+
import { a as Machine, p as Component, r as normalizeProps } from "./Client-C51NSHxg.js";
|
|
2
2
|
import * as tooltip from "@zag-js/tooltip";
|
|
3
3
|
|
|
4
4
|
//#region Resources/Private/Primitives/Tooltip/Tooltip.ts
|