@ark-ui/react 3.0.0-2 → 3.0.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/README.md +10 -4
- package/dist/components/pagination/index.d.cts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination-root.cjs +1 -0
- package/dist/components/pagination/pagination-root.js +1 -0
- package/dist/components/pagination/pagination.d.cts +1 -1
- package/dist/components/pagination/pagination.d.ts +1 -1
- package/dist/components/tags-input/tags-input-root.d.cts +1 -1
- package/dist/components/tags-input/tags-input-root.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/providers/environment/{environment.cjs → environment-provider.cjs} +4 -3
- package/dist/providers/environment/environment-provider.d.cts +8 -0
- package/dist/providers/environment/environment-provider.d.ts +8 -0
- package/dist/providers/environment/{environment.js → environment-provider.js} +5 -4
- package/dist/providers/environment/index.cjs +2 -2
- package/dist/providers/environment/index.d.cts +1 -1
- package/dist/providers/environment/index.d.ts +1 -1
- package/dist/providers/environment/index.js +1 -1
- package/dist/providers/environment/use-environment-context.cjs +2 -2
- package/dist/providers/environment/use-environment-context.d.cts +1 -1
- package/dist/providers/environment/use-environment-context.d.ts +1 -1
- package/dist/providers/environment/use-environment-context.js +2 -2
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.js +1 -1
- package/dist/providers/locale/locale-provider.d.cts +2 -1
- package/dist/providers/locale/locale-provider.d.ts +2 -1
- package/package.json +51 -51
- package/dist/providers/environment/environment.d.cts +0 -8
- package/dist/providers/environment/environment.d.ts +0 -8
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Welcome to Ark UI
|
|
2
2
|
|
|
3
|
-
Ark UI is a headless, open-source UI library with over 30+ components designed for building
|
|
3
|
+
Ark UI is a headless, open-source UI library with over 30+ components designed for building
|
|
4
|
+
reusable, scalable Design Systems. It supports a wide range of JavaScript frameworks, offering
|
|
5
|
+
dedciated packages for each supported framework.
|
|
4
6
|
|
|
5
7
|
## Supported Frameworks
|
|
6
8
|
|
|
@@ -97,7 +99,8 @@ export const MySlider = (props: SliderProps) => {
|
|
|
97
99
|
|
|
98
100
|
## Documentation
|
|
99
101
|
|
|
100
|
-
For more detailed documentation and examples, please visit the
|
|
102
|
+
For more detailed documentation and examples, please visit the
|
|
103
|
+
[official documentation](https://ark-ui.com/).
|
|
101
104
|
|
|
102
105
|
## Roadmap
|
|
103
106
|
|
|
@@ -105,8 +108,11 @@ You can request, vote for, and check upcoming features on our [roadmap](https://
|
|
|
105
108
|
|
|
106
109
|
## Contribution
|
|
107
110
|
|
|
108
|
-
We welcome contributions to Ark UI. Please read our
|
|
111
|
+
We welcome contributions to Ark UI. Please read our
|
|
112
|
+
[contributing guidelines](https://github.com/chakra-ui/ark/blob/main/CONTRIBUTING.md) for more
|
|
113
|
+
information on how to contribute.
|
|
109
114
|
|
|
110
115
|
## License
|
|
111
116
|
|
|
112
|
-
This project is licensed under the terms of the
|
|
117
|
+
This project is licensed under the terms of the
|
|
118
|
+
[MIT license](https://github.com/chakra-ui/ark/blob/main/LICENSE).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ItemLabelDetails as PaginationItemLabelDetails, PageChangeDetails as PaginationPageChangeDetails, } from '@zag-js/pagination';
|
|
1
|
+
export type { ItemLabelDetails as PaginationItemLabelDetails, PageChangeDetails as PaginationPageChangeDetails, PageSizeChangeDetails as PaginationPageSizeChangeDetails, } from '@zag-js/pagination';
|
|
2
2
|
export { PaginationContext, type PaginationContextProps } from './pagination-context';
|
|
3
3
|
export { PaginationEllipsis, type PaginationEllipsisProps } from './pagination-ellipsis';
|
|
4
4
|
export { PaginationItem, type PaginationItemProps } from './pagination-item';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ItemLabelDetails as PaginationItemLabelDetails, PageChangeDetails as PaginationPageChangeDetails, } from '@zag-js/pagination';
|
|
1
|
+
export type { ItemLabelDetails as PaginationItemLabelDetails, PageChangeDetails as PaginationPageChangeDetails, PageSizeChangeDetails as PaginationPageSizeChangeDetails, } from '@zag-js/pagination';
|
|
2
2
|
export { PaginationContext, type PaginationContextProps } from './pagination-context';
|
|
3
3
|
export { PaginationEllipsis, type PaginationEllipsisProps } from './pagination-ellipsis';
|
|
4
4
|
export { PaginationItem, type PaginationItemProps } from './pagination-item';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ItemLabelDetails, PageChangeDetails } from '@zag-js/pagination';
|
|
1
|
+
export type { ItemLabelDetails, PageChangeDetails, PageSizeChangeDetails, } from '@zag-js/pagination';
|
|
2
2
|
export { PaginationContext as Context, type PaginationContextProps as ContextProps, } from './pagination-context';
|
|
3
3
|
export { PaginationEllipsis as Ellipsis, type PaginationEllipsisProps as EllipsisProps, } from './pagination-ellipsis';
|
|
4
4
|
export { PaginationItem as Item, type PaginationItemProps as ItemProps } from './pagination-item';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ItemLabelDetails, PageChangeDetails } from '@zag-js/pagination';
|
|
1
|
+
export type { ItemLabelDetails, PageChangeDetails, PageSizeChangeDetails, } from '@zag-js/pagination';
|
|
2
2
|
export { PaginationContext as Context, type PaginationContextProps as ContextProps, } from './pagination-context';
|
|
3
3
|
export { PaginationEllipsis as Ellipsis, type PaginationEllipsisProps as EllipsisProps, } from './pagination-ellipsis';
|
|
4
4
|
export { PaginationItem as Item, type PaginationItemProps as ItemProps } from './pagination-item';
|
|
@@ -5,4 +5,4 @@ import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export interface TagsInputRootProps extends Assign<HTMLArkProps<'div'>, UseTagsInputProps> {
|
|
7
7
|
}
|
|
8
|
-
export declare const TagsInputRoot: ForwardRefExoticComponent<TagsInputRootProps & RefAttributes<
|
|
8
|
+
export declare const TagsInputRoot: ForwardRefExoticComponent<TagsInputRootProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -5,4 +5,4 @@ import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export interface TagsInputRootProps extends Assign<HTMLArkProps<'div'>, UseTagsInputProps> {
|
|
7
7
|
}
|
|
8
|
-
export declare const TagsInputRoot: ForwardRefExoticComponent<TagsInputRootProps & RefAttributes<
|
|
8
|
+
export declare const TagsInputRoot: ForwardRefExoticComponent<TagsInputRootProps & RefAttributes<HTMLDivElement>>;
|
package/dist/index.cjs
CHANGED
|
@@ -399,7 +399,7 @@ const treeViewTree = require('./components/tree-view/tree-view-tree.cjs');
|
|
|
399
399
|
const useTreeViewContext = require('./components/tree-view/use-tree-view-context.cjs');
|
|
400
400
|
const useTreeViewItemContext = require('./components/tree-view/use-tree-view-item-context.cjs');
|
|
401
401
|
const treeView = require('./components/tree-view/tree-view.cjs');
|
|
402
|
-
const
|
|
402
|
+
const environmentProvider = require('./providers/environment/environment-provider.cjs');
|
|
403
403
|
const useEnvironmentContext = require('./providers/environment/use-environment-context.cjs');
|
|
404
404
|
const localeProvider = require('./providers/locale/locale-provider.cjs');
|
|
405
405
|
const useLocaleContext = require('./providers/locale/use-locale-context.cjs');
|
|
@@ -805,7 +805,7 @@ exports.TreeViewTree = treeViewTree.TreeViewTree;
|
|
|
805
805
|
exports.useTreeViewContext = useTreeViewContext.useTreeViewContext;
|
|
806
806
|
exports.useTreeViewItemContext = useTreeViewItemContext.useTreeViewItemContext;
|
|
807
807
|
exports.TreeView = treeView;
|
|
808
|
-
exports.
|
|
808
|
+
exports.EnvironmentProvider = environmentProvider.EnvironmentProvider;
|
|
809
809
|
exports.useEnvironmentContext = useEnvironmentContext.useEnvironmentContext;
|
|
810
810
|
exports.LocaleProvider = localeProvider.LocaleProvider;
|
|
811
811
|
exports.useLocaleContext = useLocaleContext.useLocaleContext;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -428,7 +428,7 @@ export { useTreeViewContext } from './components/tree-view/use-tree-view-context
|
|
|
428
428
|
export { useTreeViewItemContext } from './components/tree-view/use-tree-view-item-context.js';
|
|
429
429
|
import * as treeView from './components/tree-view/tree-view.js';
|
|
430
430
|
export { treeView as TreeView };
|
|
431
|
-
export {
|
|
431
|
+
export { EnvironmentProvider } from './providers/environment/environment-provider.js';
|
|
432
432
|
export { useEnvironmentContext } from './providers/environment/use-environment-context.js';
|
|
433
433
|
export { LocaleProvider } from './providers/locale/locale-provider.js';
|
|
434
434
|
export { useLocaleContext } from './providers/locale/use-locale-context.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -8,7 +9,7 @@ const react = require('react');
|
|
|
8
9
|
const runIfFn = require('../../utils/run-if-fn.cjs');
|
|
9
10
|
const useEnvironmentContext = require('./use-environment-context.cjs');
|
|
10
11
|
|
|
11
|
-
const
|
|
12
|
+
const EnvironmentProvider = (props) => {
|
|
12
13
|
const { value, children } = props;
|
|
13
14
|
const [spanRef, setSpanRef] = react.useState();
|
|
14
15
|
const getRootNode = react.useMemo(() => {
|
|
@@ -22,10 +23,10 @@ const Environment = (props) => {
|
|
|
22
23
|
}),
|
|
23
24
|
[getRootNode]
|
|
24
25
|
);
|
|
25
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(useEnvironmentContext.
|
|
26
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(useEnvironmentContext.EnvironmentContextProvider, { value: environment, children: [
|
|
26
27
|
children,
|
|
27
28
|
!value && /* @__PURE__ */ jsxRuntime.jsx("span", { hidden: true, ref: setSpanRef })
|
|
28
29
|
] });
|
|
29
30
|
};
|
|
30
31
|
|
|
31
|
-
exports.
|
|
32
|
+
exports.EnvironmentProvider = EnvironmentProvider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { RootNode } from './use-environment-context';
|
|
3
|
+
|
|
4
|
+
export interface EnvironmentProviderProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
value?: RootNode | (() => RootNode);
|
|
7
|
+
}
|
|
8
|
+
export declare const EnvironmentProvider: (props: EnvironmentProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { RootNode } from './use-environment-context';
|
|
3
|
+
|
|
4
|
+
export interface EnvironmentProviderProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
value?: RootNode | (() => RootNode);
|
|
7
|
+
}
|
|
8
|
+
export declare const EnvironmentProvider: (props: EnvironmentProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { getWindow, getDocument } from '@zag-js/dom-query';
|
|
3
4
|
import { useState, useMemo } from 'react';
|
|
4
5
|
import { runIfFn } from '../../utils/run-if-fn.js';
|
|
5
|
-
import {
|
|
6
|
+
import { EnvironmentContextProvider } from './use-environment-context.js';
|
|
6
7
|
|
|
7
|
-
const
|
|
8
|
+
const EnvironmentProvider = (props) => {
|
|
8
9
|
const { value, children } = props;
|
|
9
10
|
const [spanRef, setSpanRef] = useState();
|
|
10
11
|
const getRootNode = useMemo(() => {
|
|
@@ -18,10 +19,10 @@ const Environment = (props) => {
|
|
|
18
19
|
}),
|
|
19
20
|
[getRootNode]
|
|
20
21
|
);
|
|
21
|
-
return /* @__PURE__ */ jsxs(
|
|
22
|
+
return /* @__PURE__ */ jsxs(EnvironmentContextProvider, { value: environment, children: [
|
|
22
23
|
children,
|
|
23
24
|
!value && /* @__PURE__ */ jsx("span", { hidden: true, ref: setSpanRef })
|
|
24
25
|
] });
|
|
25
26
|
};
|
|
26
27
|
|
|
27
|
-
export {
|
|
28
|
+
export { EnvironmentProvider };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const environmentProvider = require('./environment-provider.cjs');
|
|
6
6
|
const useEnvironmentContext = require('./use-environment-context.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.
|
|
10
|
+
exports.EnvironmentProvider = environmentProvider.EnvironmentProvider;
|
|
11
11
|
exports.useEnvironmentContext = useEnvironmentContext.useEnvironmentContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { EnvironmentProvider, type EnvironmentProviderProps } from './environment-provider';
|
|
2
2
|
export { useEnvironmentContext, type EnvironmentContext, type RootNode, } from './use-environment-context';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { EnvironmentProvider, type EnvironmentProviderProps } from './environment-provider';
|
|
2
2
|
export { useEnvironmentContext, type EnvironmentContext, type RootNode, } from './use-environment-context';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { EnvironmentProvider } from './environment-provider.js';
|
|
2
2
|
export { useEnvironmentContext } from './use-environment-context.js';
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
|
|
6
6
|
const createContext = require('../../utils/create-context.cjs');
|
|
7
7
|
|
|
8
|
-
const [
|
|
8
|
+
const [EnvironmentContextProvider, useEnvironmentContext] = createContext.createContext({
|
|
9
9
|
name: "EnvironmentContext",
|
|
10
10
|
hookName: "useEnvironmentContext",
|
|
11
11
|
providerName: "<EnvironmentProvider />",
|
|
@@ -17,5 +17,5 @@ const [EnvironmentProvider, useEnvironmentContext] = createContext.createContext
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
exports.
|
|
20
|
+
exports.EnvironmentContextProvider = EnvironmentContextProvider;
|
|
21
21
|
exports.useEnvironmentContext = useEnvironmentContext;
|
|
@@ -16,4 +16,4 @@ export interface EnvironmentContext {
|
|
|
16
16
|
*/
|
|
17
17
|
getWindow(): Window & typeof globalThis;
|
|
18
18
|
}
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const EnvironmentContextProvider: Provider<EnvironmentContext>, useEnvironmentContext: () => EnvironmentContext;
|
|
@@ -16,4 +16,4 @@ export interface EnvironmentContext {
|
|
|
16
16
|
*/
|
|
17
17
|
getWindow(): Window & typeof globalThis;
|
|
18
18
|
}
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const EnvironmentContextProvider: Provider<EnvironmentContext>, useEnvironmentContext: () => EnvironmentContext;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { createContext } from '../../utils/create-context.js';
|
|
3
3
|
|
|
4
|
-
const [
|
|
4
|
+
const [EnvironmentContextProvider, useEnvironmentContext] = createContext({
|
|
5
5
|
name: "EnvironmentContext",
|
|
6
6
|
hookName: "useEnvironmentContext",
|
|
7
7
|
providerName: "<EnvironmentProvider />",
|
|
@@ -13,4 +13,4 @@ const [EnvironmentProvider, useEnvironmentContext] = createContext({
|
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { EnvironmentContextProvider, useEnvironmentContext };
|
package/dist/providers/index.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const environmentProvider = require('./environment/environment-provider.cjs');
|
|
6
6
|
const useEnvironmentContext = require('./environment/use-environment-context.cjs');
|
|
7
7
|
const localeProvider = require('./locale/locale-provider.cjs');
|
|
8
8
|
const useLocaleContext = require('./locale/use-locale-context.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.
|
|
12
|
+
exports.EnvironmentProvider = environmentProvider.EnvironmentProvider;
|
|
13
13
|
exports.useEnvironmentContext = useEnvironmentContext.useEnvironmentContext;
|
|
14
14
|
exports.LocaleProvider = localeProvider.LocaleProvider;
|
|
15
15
|
exports.useLocaleContext = useLocaleContext.useLocaleContext;
|
package/dist/providers/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { EnvironmentProvider } from './environment/environment-provider.js';
|
|
2
2
|
export { useEnvironmentContext } from './environment/use-environment-context.js';
|
|
3
3
|
export { LocaleProvider } from './locale/locale-provider.js';
|
|
4
4
|
export { useLocaleContext } from './locale/use-locale-context.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accordion",
|
|
@@ -500,73 +500,73 @@
|
|
|
500
500
|
"sideEffects": false,
|
|
501
501
|
"dependencies": {
|
|
502
502
|
"@ark-ui/anatomy": "3.1.0",
|
|
503
|
-
"@zag-js/accordion": "0.
|
|
504
|
-
"@zag-js/avatar": "0.
|
|
505
|
-
"@zag-js/carousel": "0.
|
|
506
|
-
"@zag-js/checkbox": "0.
|
|
507
|
-
"@zag-js/clipboard": "0.
|
|
508
|
-
"@zag-js/collapsible": "0.
|
|
509
|
-
"@zag-js/color-picker": "0.
|
|
510
|
-
"@zag-js/color-utils": "0.
|
|
511
|
-
"@zag-js/combobox": "0.
|
|
512
|
-
"@zag-js/core": "0.
|
|
513
|
-
"@zag-js/date-picker": "0.
|
|
514
|
-
"@zag-js/date-utils": "0.
|
|
515
|
-
"@zag-js/dom-query": "0.
|
|
516
|
-
"@zag-js/dialog": "0.
|
|
517
|
-
"@zag-js/editable": "0.
|
|
518
|
-
"@zag-js/file-upload": "0.
|
|
519
|
-
"@zag-js/file-utils": "0.
|
|
520
|
-
"@zag-js/hover-card": "0.
|
|
521
|
-
"@zag-js/i18n-utils": "0.
|
|
522
|
-
"@zag-js/menu": "0.
|
|
523
|
-
"@zag-js/number-input": "0.
|
|
524
|
-
"@zag-js/pagination": "0.
|
|
525
|
-
"@zag-js/pin-input": "0.
|
|
526
|
-
"@zag-js/popover": "0.
|
|
527
|
-
"@zag-js/presence": "0.
|
|
528
|
-
"@zag-js/progress": "0.
|
|
529
|
-
"@zag-js/radio-group": "0.
|
|
530
|
-
"@zag-js/rating-group": "0.
|
|
531
|
-
"@zag-js/react": "0.
|
|
532
|
-
"@zag-js/select": "0.
|
|
533
|
-
"@zag-js/slider": "0.
|
|
534
|
-
"@zag-js/splitter": "0.
|
|
535
|
-
"@zag-js/switch": "0.
|
|
536
|
-
"@zag-js/tabs": "0.
|
|
537
|
-
"@zag-js/tags-input": "0.
|
|
538
|
-
"@zag-js/toast": "0.
|
|
539
|
-
"@zag-js/toggle-group": "0.
|
|
540
|
-
"@zag-js/tooltip": "0.
|
|
541
|
-
"@zag-js/tree-view": "0.
|
|
542
|
-
"@zag-js/types": "0.
|
|
503
|
+
"@zag-js/accordion": "0.51.1",
|
|
504
|
+
"@zag-js/avatar": "0.51.1",
|
|
505
|
+
"@zag-js/carousel": "0.51.1",
|
|
506
|
+
"@zag-js/checkbox": "0.51.1",
|
|
507
|
+
"@zag-js/clipboard": "0.51.1",
|
|
508
|
+
"@zag-js/collapsible": "0.51.1",
|
|
509
|
+
"@zag-js/color-picker": "0.51.1",
|
|
510
|
+
"@zag-js/color-utils": "0.51.1",
|
|
511
|
+
"@zag-js/combobox": "0.51.1",
|
|
512
|
+
"@zag-js/core": "0.51.1",
|
|
513
|
+
"@zag-js/date-picker": "0.51.1",
|
|
514
|
+
"@zag-js/date-utils": "0.51.1",
|
|
515
|
+
"@zag-js/dom-query": "0.51.1",
|
|
516
|
+
"@zag-js/dialog": "0.51.1",
|
|
517
|
+
"@zag-js/editable": "0.51.1",
|
|
518
|
+
"@zag-js/file-upload": "0.51.1",
|
|
519
|
+
"@zag-js/file-utils": "0.51.1",
|
|
520
|
+
"@zag-js/hover-card": "0.51.1",
|
|
521
|
+
"@zag-js/i18n-utils": "0.51.1",
|
|
522
|
+
"@zag-js/menu": "0.51.1",
|
|
523
|
+
"@zag-js/number-input": "0.51.1",
|
|
524
|
+
"@zag-js/pagination": "0.51.1",
|
|
525
|
+
"@zag-js/pin-input": "0.51.1",
|
|
526
|
+
"@zag-js/popover": "0.51.1",
|
|
527
|
+
"@zag-js/presence": "0.51.1",
|
|
528
|
+
"@zag-js/progress": "0.51.1",
|
|
529
|
+
"@zag-js/radio-group": "0.51.1",
|
|
530
|
+
"@zag-js/rating-group": "0.51.1",
|
|
531
|
+
"@zag-js/react": "0.51.1",
|
|
532
|
+
"@zag-js/select": "0.51.1",
|
|
533
|
+
"@zag-js/slider": "0.51.1",
|
|
534
|
+
"@zag-js/splitter": "0.51.1",
|
|
535
|
+
"@zag-js/switch": "0.51.1",
|
|
536
|
+
"@zag-js/tabs": "0.51.1",
|
|
537
|
+
"@zag-js/tags-input": "0.51.1",
|
|
538
|
+
"@zag-js/toast": "0.51.1",
|
|
539
|
+
"@zag-js/toggle-group": "0.51.1",
|
|
540
|
+
"@zag-js/tooltip": "0.51.1",
|
|
541
|
+
"@zag-js/tree-view": "0.51.1",
|
|
542
|
+
"@zag-js/types": "0.51.1"
|
|
543
543
|
},
|
|
544
544
|
"devDependencies": {
|
|
545
545
|
"@biomejs/biome": "1.7.3",
|
|
546
546
|
"@release-it/keep-a-changelog": "5.0.0",
|
|
547
|
-
"@storybook/addon-a11y": "8.1.
|
|
548
|
-
"@storybook/addon-essentials": "8.1.
|
|
549
|
-
"@storybook/react-vite": "8.1.
|
|
550
|
-
"@storybook/react": "8.1.
|
|
547
|
+
"@storybook/addon-a11y": "8.1.3",
|
|
548
|
+
"@storybook/addon-essentials": "8.1.3",
|
|
549
|
+
"@storybook/react-vite": "8.1.3",
|
|
550
|
+
"@storybook/react": "8.1.3",
|
|
551
551
|
"@testing-library/dom": "10.1.0",
|
|
552
552
|
"@testing-library/jest-dom": "6.4.5",
|
|
553
553
|
"@testing-library/react": "15.0.7",
|
|
554
554
|
"@testing-library/user-event": "14.5.2",
|
|
555
555
|
"@types/jsdom": "21.1.6",
|
|
556
|
-
"@types/react": "18.3.
|
|
556
|
+
"@types/react": "18.3.3",
|
|
557
557
|
"@types/react-dom": "18.3.0",
|
|
558
558
|
"@types/testing-library__jest-dom": "5.14.9",
|
|
559
|
-
"@vitejs/plugin-react": "4.
|
|
559
|
+
"@vitejs/plugin-react": "4.3.0",
|
|
560
560
|
"globby": "14.0.1",
|
|
561
561
|
"jsdom": "24.0.0",
|
|
562
|
-
"lucide-react": "0.
|
|
562
|
+
"lucide-react": "0.379.0",
|
|
563
563
|
"react": "18.3.1",
|
|
564
564
|
"react-dom": "18.3.1",
|
|
565
565
|
"react-frame-component": "5.2.6",
|
|
566
|
-
"react-hook-form": "7.51.
|
|
567
|
-
"release-it": "17.
|
|
566
|
+
"react-hook-form": "7.51.5",
|
|
567
|
+
"release-it": "17.3.0",
|
|
568
568
|
"resize-observer-polyfill": "1.5.1",
|
|
569
|
-
"storybook": "8.1.
|
|
569
|
+
"storybook": "8.1.3",
|
|
570
570
|
"typescript": "5.4.5",
|
|
571
571
|
"vite": "5.2.11",
|
|
572
572
|
"vite-plugin-dts": "3.9.1",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { RootNode } from './use-environment-context';
|
|
3
|
-
|
|
4
|
-
export interface EnvironmentProps {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
value?: RootNode | (() => RootNode);
|
|
7
|
-
}
|
|
8
|
-
export declare const Environment: (props: EnvironmentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { RootNode } from './use-environment-context';
|
|
3
|
-
|
|
4
|
-
export interface EnvironmentProps {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
value?: RootNode | (() => RootNode);
|
|
7
|
-
}
|
|
8
|
-
export declare const Environment: (props: EnvironmentProps) => import("react/jsx-runtime").JSX.Element;
|