fluid-primitives 0.10.0 → 0.12.0
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/Popover-BKp5gU9k.js +1 -0
- package/Resources/Public/JavaScript/dist/accordion.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/checkbox.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/clipboard.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/collapsible.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/dialog.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/popover.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/popover.entry.js +1 -1
- package/Resources/Public/JavaScript/dist/popover.js +1 -1
- package/Resources/Public/JavaScript/dist/radio-group.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/select.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/tabs.d.ts +2 -2
- package/Resources/Public/JavaScript/dist/tooltip.d.ts +2 -2
- package/package.json +1 -1
- package/Resources/Public/JavaScript/dist/Popover-BoVXUKkC.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Component as e,Machine as t,normalizeProps as n}from"./Client-B1xGmpZs.js";import*as r from"@zag-js/popover";var i=class extends e{static name=`popover`;initMachine(e){return new t(r.machine,{...e,positioning:{gutter:6,...e.positioning}})}initApi(){return r.connect(this.machine.service,n)}render(){let e=this.getElement(`trigger`);e&&this.spreadProps(e,this.api.getTriggerProps());let t=this.getElement(`positioner`);t&&this.spreadProps(t,this.api.getPositionerProps());let n=this.getElement(`arrow`);n&&this.spreadProps(n,this.api.getArrowProps());let r=this.getElement(`arrow-tip`);r&&this.spreadProps(r,this.api.getArrowTipProps());let i=this.getElement(`content`);i&&this.spreadProps(i,this.api.getContentProps());let a=this.getElement(`title`);a&&this.spreadProps(a,this.api.getTitleProps());let o=this.getElement(`description`);o&&this.spreadProps(o,this.api.getDescriptionProps());let s=this.getElement(`close-trigger`);s&&this.spreadProps(s,this.api.getCloseTriggerProps());let c=this.getElement(`indicator`);c&&this.spreadProps(c,this.api.getIndicatorProps())}};export{i as Popover};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types3 from "@zag-js/types";
|
|
3
3
|
import * as accordion from "@zag-js/accordion";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Accordion/Accordion.d.ts
|
|
6
6
|
declare class Accordion extends Component<accordion.Props, accordion.Api> {
|
|
7
7
|
static name: string;
|
|
8
8
|
initMachine(props: accordion.Props): Machine<any>;
|
|
9
|
-
initApi(): accordion.Api<
|
|
9
|
+
initApi(): accordion.Api<_zag_js_types3.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldAwareComponent$1 as FieldAwareComponent, FieldMachine, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types0 from "@zag-js/types";
|
|
3
3
|
import * as checkbox from "@zag-js/checkbox";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Checkbox/Checkbox.d.ts
|
|
@@ -7,7 +7,7 @@ declare class Checkbox extends FieldAwareComponent<checkbox.Props, checkbox.Api>
|
|
|
7
7
|
static name: string;
|
|
8
8
|
propsWithField(props: checkbox.Props, fieldMachine: FieldMachine): checkbox.Props;
|
|
9
9
|
initMachine(props: checkbox.Props): Machine<any>;
|
|
10
|
-
initApi(): checkbox.Api<
|
|
10
|
+
initApi(): checkbox.Api<_zag_js_types0.PropTypes<{
|
|
11
11
|
[x: string]: any;
|
|
12
12
|
}>>;
|
|
13
13
|
render(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types6 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
|
static name: string;
|
|
8
8
|
initMachine(props: clipboard.Props): Machine<any>;
|
|
9
|
-
initApi(): clipboard.Api<
|
|
9
|
+
initApi(): clipboard.Api<_zag_js_types6.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types7 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
|
static name: string;
|
|
8
8
|
initMachine(props: collapsible.Props): Machine<any>;
|
|
9
|
-
initApi(): collapsible.Api<
|
|
9
|
+
initApi(): collapsible.Api<_zag_js_types7.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types0 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
|
static name: string;
|
|
8
8
|
initMachine(props: dialog.Props): Machine<any>;
|
|
9
|
-
initApi(): dialog.Api<
|
|
9
|
+
initApi(): dialog.Api<_zag_js_types0.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types8 from "@zag-js/types";
|
|
3
3
|
import * as popover from "@zag-js/popover";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/Popover/Popover.d.ts
|
|
6
6
|
declare class Popover extends Component<popover.Props, popover.Api> {
|
|
7
7
|
static name: string;
|
|
8
8
|
initMachine(props: popover.Props): Machine<any>;
|
|
9
|
-
initApi(): popover.Api<
|
|
9
|
+
initApi(): popover.Api<_zag_js_types8.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{mount as e}from"./Client-B1xGmpZs.js";import{Popover as t}from"./Popover-
|
|
1
|
+
import{mount as e}from"./Client-B1xGmpZs.js";import{Popover as t}from"./Popover-BKp5gU9k.js";e(`popover`,({props:e})=>{let n=new t(e);return n.init(),n});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./Client-B1xGmpZs.js";import{Popover as e}from"./Popover-
|
|
1
|
+
import"./Client-B1xGmpZs.js";import{Popover as e}from"./Popover-BKp5gU9k.js";export{e as Popover};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types5 from "@zag-js/types";
|
|
3
3
|
import * as radioGroup from "@zag-js/radio-group";
|
|
4
4
|
|
|
5
5
|
//#region Resources/Private/Primitives/RadioGroup/RadioGroup.d.ts
|
|
6
6
|
declare class RadioGroup extends Component<radioGroup.Props, radioGroup.Api> {
|
|
7
7
|
static name: string;
|
|
8
8
|
initMachine(props: radioGroup.Props): Machine<any>;
|
|
9
|
-
initApi(): radioGroup.Api<
|
|
9
|
+
initApi(): radioGroup.Api<_zag_js_types5.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldAwareComponent$1 as FieldAwareComponent, FieldMachine, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
2
|
import * as _zag_js_collection0 from "@zag-js/collection";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _zag_js_types2 from "@zag-js/types";
|
|
4
4
|
import * as select from "@zag-js/select";
|
|
5
5
|
|
|
6
6
|
//#region Resources/Private/Primitives/Select/Select.d.ts
|
|
@@ -53,7 +53,7 @@ declare class Select extends FieldAwareComponent<select.Props, select.Api> {
|
|
|
53
53
|
onInteractOutside?: ((event: select.InteractOutsideEvent) => void) | undefined;
|
|
54
54
|
};
|
|
55
55
|
initMachine(props: select.Props): Machine<any>;
|
|
56
|
-
initApi(): select.Api<
|
|
56
|
+
initApi(): select.Api<_zag_js_types2.PropTypes<{
|
|
57
57
|
[x: string]: any;
|
|
58
58
|
}>, any>;
|
|
59
59
|
render: () => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
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
|
static 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,12 +1,12 @@
|
|
|
1
1
|
import { Component$1 as Component, Machine$1 as Machine } from "./index-iJSgk-K3.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _zag_js_types1 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
|
static name: string;
|
|
8
8
|
initMachine(props: tooltip.Props): Machine<any>;
|
|
9
|
-
initApi(): tooltip.Api<
|
|
9
|
+
initApi(): tooltip.Api<_zag_js_types1.PropTypes<{
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}>>;
|
|
12
12
|
render(): void;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Component as e,Machine as t,normalizeProps as n}from"./Client-B1xGmpZs.js";import*as r from"@zag-js/popover";var i=class extends e{static name=`popover`;initMachine(e){return new t(r.machine,{...e,positioning:{gutter:6,...e.positioning}})}initApi(){return r.connect(this.machine.service,n)}render(){let e=this.getElement(`trigger`);console.log({triggerEl:e}),e&&this.spreadProps(e,this.api.getTriggerProps());let t=this.getElement(`positioner`);t&&this.spreadProps(t,this.api.getPositionerProps());let n=this.getElement(`arrow`);n&&this.spreadProps(n,this.api.getArrowProps());let r=this.getElement(`arrow-tip`);r&&this.spreadProps(r,this.api.getArrowTipProps());let i=this.getElement(`content`);i&&this.spreadProps(i,this.api.getContentProps());let a=this.getElement(`title`);a&&this.spreadProps(a,this.api.getTitleProps());let o=this.getElement(`description`);o&&this.spreadProps(o,this.api.getDescriptionProps());let s=this.getElement(`close-trigger`);s&&this.spreadProps(s,this.api.getCloseTriggerProps());let c=this.getElement(`indicator`);c&&this.spreadProps(c,this.api.getIndicatorProps())}};export{i as Popover};
|