fluid-primitives 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Resources/Public/JavaScript/dist/Checkbox-6y2FpZnG.js +1 -0
- package/Resources/Public/JavaScript/dist/accordion.d.ts +1 -1
- package/Resources/Public/JavaScript/dist/checkbox.d.ts +15 -0
- package/Resources/Public/JavaScript/dist/checkbox.entry.d.ts +1 -0
- package/Resources/Public/JavaScript/dist/checkbox.entry.js +1 -0
- package/Resources/Public/JavaScript/dist/checkbox.js +1 -0
- package/Resources/Public/JavaScript/dist/client.d.ts +1 -1
- package/Resources/Public/JavaScript/dist/clipboard.d.ts +3 -3
- package/Resources/Public/JavaScript/dist/clipboard.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/clipboard.js +1 -1
- package/Resources/Public/JavaScript/dist/collapsible.d.ts +3 -3
- package/Resources/Public/JavaScript/dist/collapsible.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/collapsible.js +1 -1
- package/Resources/Public/JavaScript/dist/dialog.d.ts +3 -3
- package/Resources/Public/JavaScript/dist/dialog.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/dialog.js +1 -1
- package/Resources/Public/JavaScript/dist/{index-ir2YxHr8.d.ts → index-u51T4Hsb.d.ts} +2 -2
- package/Resources/Public/JavaScript/dist/scroll-area.d.ts +1 -1
- package/Resources/Public/JavaScript/dist/scroll-area.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/scroll-area.js +1 -1
- package/Resources/Public/JavaScript/dist/select.d.ts +3 -3
- package/Resources/Public/JavaScript/dist/select.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/select.js +1 -1
- package/Resources/Public/JavaScript/dist/tabs.d.ts +3 -3
- package/Resources/Public/JavaScript/dist/tabs.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/tabs.js +1 -1
- package/Resources/Public/JavaScript/dist/tooltip.d.ts +3 -3
- package/Resources/Public/JavaScript/dist/tooltip.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/tooltip.js +1 -1
- package/package.json +6 -1
- /package/Resources/Public/JavaScript/dist/{Clipboard-Ss9SA18i.js → Clipboard-DjmgPfF-.js} +0 -0
- /package/Resources/Public/JavaScript/dist/{Collapsible-M8I0wdQS.js → Collapsible-vt3SBSxU.js} +0 -0
- /package/Resources/Public/JavaScript/dist/{Dialog-Yw26iHEs.js → Dialog-CraJg9t0.js} +0 -0
- /package/Resources/Public/JavaScript/dist/{ScrollArea-tFQL1Xc0.js → ScrollArea-Bt-6NL9-.js} +0 -0
- /package/Resources/Public/JavaScript/dist/{Select-C9_zfbXH.js → Select-BnZW1VCR.js} +0 -0
- /package/Resources/Public/JavaScript/dist/{Tabs-v_vV2tuJ.js → Tabs-CHv6Ufhf.js} +0 -0
- /package/Resources/Public/JavaScript/dist/{Tooltip-OBDeNAga.js → Tooltip-BgY_8hfa.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Component as e,Machine as t,normalizeProps as n}from"./Client-BEjJ50yU.js";import*as r from"@zag-js/checkbox";var i=class extends e{name=`checkbox`;initMachine(e){return new t(r.machine,e)}initApi(){return r.connect(this.machine.service,n)}render(){let e=this.getElement(`root`);e&&this.spreadProps(e,this.api.getRootProps());let t=this.getElement(`label`);t&&this.spreadProps(t,this.api.getLabelProps());let n=this.getElement(`control`);n&&this.spreadProps(n,this.api.getControlProps());let r=this.getElement(`indicator`);r&&this.spreadProps(r,this.api.getIndicatorProps());let i=this.getElement(`hidden-input`);i&&this.spreadProps(i,this.api.getHiddenInputProps())}};export{i as Checkbox};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
2
|
import * as _zag_js_types0 from "@zag-js/types";
|
|
3
3
|
import * as accordion from "@zag-js/accordion";
|
|
4
4
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types0 from "@zag-js/types";
|
|
3
|
+
import * as checkbox from "@zag-js/checkbox";
|
|
4
|
+
|
|
5
|
+
//#region Resources/Private/Primitives/Checkbox/Checkbox.d.ts
|
|
6
|
+
declare class Checkbox extends Component<checkbox.Props, checkbox.Api> {
|
|
7
|
+
name: string;
|
|
8
|
+
initMachine(props: checkbox.Props): Machine<any>;
|
|
9
|
+
initApi(): checkbox.Api<_zag_js_types0.PropTypes<{
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}>>;
|
|
12
|
+
render(): void;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Checkbox };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Checkbox as t}from"./Checkbox-6y2FpZnG.js";e(`checkbox`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Checkbox as e}from"./Checkbox-6y2FpZnG.js";export{e as Checkbox};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Component$1 as Component, ComponentHydrationData, ComponentHydrator$1 as ComponentHydrator, ComponentInterface, Machine$1 as Machine, getHydrationData$1 as getHydrationData, initAllComponentInstances$1 as initAllComponentInstances, mergeProps$1 as mergeProps, normalizeProps$1 as normalizeProps, spreadProps$1 as spreadProps } from "./index-
|
|
1
|
+
import { Component$1 as Component, ComponentHydrationData, ComponentHydrator$1 as ComponentHydrator, ComponentInterface, Machine$1 as Machine, getHydrationData$1 as getHydrationData, initAllComponentInstances$1 as initAllComponentInstances, mergeProps$1 as mergeProps, normalizeProps$1 as normalizeProps, spreadProps$1 as spreadProps } from "./index-u51T4Hsb.js";
|
|
2
2
|
export { Component, ComponentHydrationData, ComponentHydrator, ComponentInterface, Machine, getHydrationData, initAllComponentInstances, mergeProps, normalizeProps, spreadProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types2 from "@zag-js/types";
|
|
3
3
|
import * as clipboard from "@zag-js/clipboard";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Clipboard/Clipboard.d.ts
|
|
6
6
|
declare class Clipboard extends Component<clipboard.Props, clipboard.Api> {
|
|
7
7
|
name: string;
|
|
8
8
|
initMachine(props: clipboard.Props): Machine<clipboard.Schema>;
|
|
9
|
-
initApi(): clipboard.Api<
|
|
9
|
+
initApi(): clipboard.Api<_zag_js_types2.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Clipboard as t}from"./Clipboard-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Clipboard as t}from"./Clipboard-DjmgPfF-.js";e(`clipboard`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{Clipboard as e}from"./Clipboard-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Clipboard as e}from"./Clipboard-DjmgPfF-.js";export{e as Clipboard};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types3 from "@zag-js/types";
|
|
3
3
|
import * as collapsible from "@zag-js/collapsible";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Collapsible/Collapsible.d.ts
|
|
6
6
|
declare class Collapsible extends Component<collapsible.Props, collapsible.Api> {
|
|
7
7
|
name: string;
|
|
8
8
|
initMachine(props: collapsible.Props): Machine<any>;
|
|
9
|
-
initApi(): collapsible.Api<
|
|
9
|
+
initApi(): collapsible.Api<_zag_js_types3.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Collapsible as t}from"./Collapsible-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Collapsible as t}from"./Collapsible-vt3SBSxU.js";e(`collapsible`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{Collapsible as e}from"./Collapsible-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Collapsible as e}from"./Collapsible-vt3SBSxU.js";export{e as Collapsible};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types1 from "@zag-js/types";
|
|
3
3
|
import * as dialog from "@zag-js/dialog";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Dialog/Dialog.d.ts
|
|
6
6
|
declare class Dialog extends Component<dialog.Props, dialog.Api> {
|
|
7
7
|
name: string;
|
|
8
8
|
initMachine(props: dialog.Props): Machine<any>;
|
|
9
|
-
initApi(): dialog.Api<
|
|
9
|
+
initApi(): dialog.Api<_zag_js_types1.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Dialog as t}from"./Dialog-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Dialog as t}from"./Dialog-CraJg9t0.js";e(`dialog`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{Dialog as e}from"./Dialog-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Dialog as e}from"./Dialog-CraJg9t0.js";export{e as Dialog};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Bindable, BindableContext, BindableRefs, ComputedFn, Machine, MachineSchema, Params, PropFn, Scope, Service, mergeProps } from "@zag-js/core";
|
|
2
2
|
import { ListCollection } from "@zag-js/collection";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _zag_js_types7 from "@zag-js/types";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Client/src/types.d.ts
|
|
6
6
|
declare global {
|
|
@@ -127,7 +127,7 @@ declare class Machine$1<T extends MachineSchema> {
|
|
|
127
127
|
}
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region Resources/Private/Client/src/lib/normalize-props.d.ts
|
|
130
|
-
declare const normalizeProps:
|
|
130
|
+
declare const normalizeProps: _zag_js_types7.NormalizeProps<_zag_js_types7.PropTypes<{
|
|
131
131
|
[x: string]: any;
|
|
132
132
|
}>>;
|
|
133
133
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
2
|
import { PropTypes } from "@zag-js/types";
|
|
3
3
|
import * as scrollArea from "@zag-js/scroll-area";
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{ScrollArea as t}from"./ScrollArea-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{ScrollArea as t}from"./ScrollArea-Bt-6NL9-.js";e(`scroll-area`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{ScrollArea as e}from"./ScrollArea-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{ScrollArea as e}from"./ScrollArea-Bt-6NL9-.js";export{e as ScrollArea};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types5 from "@zag-js/types";
|
|
3
3
|
import * as select from "@zag-js/select";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Select/Select.d.ts
|
|
6
6
|
declare class Select extends Component<select.Props, select.Api> {
|
|
7
7
|
name: string;
|
|
8
8
|
initMachine(props: select.Props): Machine<any>;
|
|
9
|
-
initApi(): select.Api<
|
|
9
|
+
initApi(): select.Api<_zag_js_types5.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>, any>;
|
|
12
12
|
render: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Select as t}from"./Select-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Select as t}from"./Select-BnZW1VCR.js";e(`select`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{Select as e}from"./Select-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Select as e}from"./Select-BnZW1VCR.js";export{e as Select};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types4 from "@zag-js/types";
|
|
3
3
|
import * as tabs from "@zag-js/tabs";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Tabs/Tabs.d.ts
|
|
6
6
|
declare class Tabs extends Component<tabs.Props, tabs.Api> {
|
|
7
7
|
name: string;
|
|
8
8
|
initMachine(props: tabs.Props): Machine<any>;
|
|
9
|
-
initApi(): tabs.Api<
|
|
9
|
+
initApi(): tabs.Api<_zag_js_types4.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Tabs as t}from"./Tabs-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Tabs as t}from"./Tabs-CHv6Ufhf.js";e(`tabs`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{Tabs as e}from"./Tabs-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Tabs as e}from"./Tabs-CHv6Ufhf.js";export{e as Tabs};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component$1 as Component, Machine$1 as Machine } from "./index-
|
|
2
|
-
import * as
|
|
1
|
+
import { Component$1 as Component, Machine$1 as Machine } from "./index-u51T4Hsb.js";
|
|
2
|
+
import * as _zag_js_types6 from "@zag-js/types";
|
|
3
3
|
import * as tooltip from "@zag-js/tooltip";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Tooltip/Tooltip.d.ts
|
|
6
6
|
declare class Tooltip extends Component<tooltip.Props, tooltip.Api> {
|
|
7
7
|
name: string;
|
|
8
8
|
initMachine(props: tooltip.Props): Machine<any>;
|
|
9
|
-
initApi(): tooltip.Api<
|
|
9
|
+
initApi(): tooltip.Api<_zag_js_types6.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Tooltip as t}from"./Tooltip-
|
|
1
|
+
import{initAllComponentInstances as e}from"./Client-BEjJ50yU.js";import{Tooltip as t}from"./Tooltip-BgY_8hfa.js";e(`tooltip`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-BEjJ50yU.js";import{Tooltip as e}from"./Tooltip-
|
|
1
|
+
import"./Client-BEjJ50yU.js";import{Tooltip as e}from"./Tooltip-BgY_8hfa.js";export{e as Tooltip};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-primitives",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Client-side library for Fluid Primitives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"import": "./Resources/Public/JavaScript/dist/accordion.js",
|
|
24
24
|
"types": "./Resources/Public/JavaScript/dist/accordion.d.ts"
|
|
25
25
|
},
|
|
26
|
+
"./checkbox": {
|
|
27
|
+
"import": "./Resources/Public/JavaScript/dist/checkbox.js",
|
|
28
|
+
"types": "./Resources/Public/JavaScript/dist/checkbox.d.ts"
|
|
29
|
+
},
|
|
26
30
|
"./dialog": {
|
|
27
31
|
"import": "./Resources/Public/JavaScript/dist/dialog.js",
|
|
28
32
|
"types": "./Resources/Public/JavaScript/dist/dialog.d.ts"
|
|
@@ -65,6 +69,7 @@
|
|
|
65
69
|
},
|
|
66
70
|
"dependencies": {
|
|
67
71
|
"@zag-js/accordion": "^1.27.0",
|
|
72
|
+
"@zag-js/checkbox": "^1.27.0",
|
|
68
73
|
"@zag-js/clipboard": "^1.27.0",
|
|
69
74
|
"@zag-js/collapsible": "^1.27.0",
|
|
70
75
|
"@zag-js/collection": "^1.27.0",
|
|
File without changes
|
/package/Resources/Public/JavaScript/dist/{Collapsible-M8I0wdQS.js → Collapsible-vt3SBSxU.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|