@ndla/primitives 1.0.82-alpha.0 → 1.0.83-alpha.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/lib/Combobox.d.ts +1 -1
- package/lib/Select.d.ts +1 -1
- package/lib/Tree/Tree.d.ts +2 -2
- package/package.json +3 -3
package/lib/Combobox.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export type ComboboxVariantProps = RecipeVariantProps<typeof comboboxRecipe>;
|
|
|
36
36
|
export type ComboboxRootProps<T extends Combobox.CollectionItem> = Combobox.RootProps<T> & ComboboxVariantProps & JsxStyleProps & {
|
|
37
37
|
translations: Combobox.RootProps<T>["translations"];
|
|
38
38
|
};
|
|
39
|
-
export declare const ComboboxRoot: <T extends
|
|
39
|
+
export declare const ComboboxRoot: <T extends Combobox.CollectionItem>({ lazyMount, unmountOnExit, ...props }: ComboboxRootProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export type ComboboxClearTriggerProps = Combobox.ClearTriggerProps & JsxStyleProps;
|
|
41
41
|
export declare const ComboboxClearTrigger: import("react").ForwardRefExoticComponent<Combobox.ClearTriggerProps & {
|
|
42
42
|
consumeCss?: boolean;
|
package/lib/Select.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { Select } from "@ark-ui/react";
|
|
|
9
9
|
import type { JsxStyleProps } from "@ndla/styled-system/types";
|
|
10
10
|
import { type TextProps } from "./Text";
|
|
11
11
|
export type SelectRootProps<T extends Select.CollectionItem> = Select.RootProps<T> & JsxStyleProps;
|
|
12
|
-
export declare const SelectRoot: <T extends
|
|
12
|
+
export declare const SelectRoot: <T extends Select.CollectionItem>({ lazyMount, unmountOnExit, ...props }: SelectRootProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export declare const SelectClearTrigger: import("react").ForwardRefExoticComponent<Select.ClearTriggerProps & {
|
|
14
14
|
consumeCss?: boolean;
|
|
15
15
|
} & import("@ndla/styled-system/types").WithCss & import("react").RefAttributes<HTMLButtonElement>>;
|
package/lib/Tree/Tree.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ import { TreeView, type TreeNode } from "@ark-ui/react";
|
|
|
9
9
|
import type { JsxStyleProps } from "@ndla/styled-system/types";
|
|
10
10
|
import { type TextProps } from "../Text";
|
|
11
11
|
export type TreeRootProps<T extends TreeNode = TreeNode> = TreeView.RootProps<T> & JsxStyleProps;
|
|
12
|
-
export declare const TreeRoot: <T extends
|
|
12
|
+
export declare const TreeRoot: <T extends TreeNode = TreeNode>(props: TreeRootProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export type TreeRootProviderProps<T extends TreeNode = TreeNode> = TreeView.RootProviderProps<T> & JsxStyleProps;
|
|
14
|
-
export declare const TreeRootProvider: <T extends
|
|
14
|
+
export declare const TreeRootProvider: <T extends TreeNode = TreeNode>(props: TreeRootProviderProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export declare const TreeBranchContent: import("react").ForwardRefExoticComponent<TreeView.BranchContentProps & {
|
|
16
16
|
consumeCss?: boolean;
|
|
17
17
|
} & import("@ndla/styled-system/types").WithCss & import("react").RefAttributes<HTMLDivElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.83-alpha.0",
|
|
4
4
|
"description": "Primitive components for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lib"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ark-ui/react": "^
|
|
31
|
+
"@ark-ui/react": "^5.0.1",
|
|
32
32
|
"@ndla/styled-system": "^0.0.32",
|
|
33
33
|
"@ndla/util": "^5.0.6-alpha.0"
|
|
34
34
|
},
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "59445cfbbeaebe42e7208a941e400e49df017ddb"
|
|
47
47
|
}
|