@ndla/primitives 0.0.14 → 0.0.15
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/ArticleLists.d.ts +2 -2
- package/lib/Dialog.d.ts +2 -2
- package/lib/ExpandableBox.d.ts +2 -2
- package/lib/Field.d.ts +1 -1
- package/lib/Label.d.ts +1 -1
- package/lib/Skeleton.d.ts +1 -1
- package/lib/Table.d.ts +1 -1
- package/lib/Text.d.ts +1 -1
- package/package.json +4 -4
package/lib/ArticleLists.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare const OrderedList: import("react").ForwardRefExoticComponent<Omit
|
|
|
48
48
|
variant?: "numbers" | "letters" | undefined;
|
|
49
49
|
} & import("react").RefAttributes<HTMLOListElement>>;
|
|
50
50
|
export type UnOrderedListProps = HTMLArkProps<"ul"> & JsxStyleProps;
|
|
51
|
-
export declare const UnOrderedList: import("@ndla/styled-system/
|
|
52
|
-
export declare const DefinitionList: import("@ndla/styled-system/
|
|
51
|
+
export declare const UnOrderedList: import("@ndla/styled-system/types").StyledComponent<"ul", {}>;
|
|
52
|
+
export declare const DefinitionList: import("@ndla/styled-system/types").StyledComponent<"dl", {}>;
|
|
53
53
|
export type DefinitionListProps = HTMLArkProps<"dl"> & JsxStyleProps;
|
|
54
54
|
export {};
|
package/lib/Dialog.d.ts
CHANGED
|
@@ -110,6 +110,6 @@ export declare const DialogDescription: ({ textStyle, children, ...rest }: Dialo
|
|
|
110
110
|
export declare const DialogTitle: ({ textStyle, children, ...rest }: Dialog.TitleProps & TextProps & JsxStyleProps) => import("react/jsx-runtime").JSX.Element;
|
|
111
111
|
export declare const DialogTrigger: import("react").ForwardRefExoticComponent<Dialog.TriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
112
112
|
export declare const DialogCloseTrigger: import("react").ForwardRefExoticComponent<Dialog.CloseTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
113
|
-
export declare const DialogHeader: import("@ndla/styled-system/
|
|
114
|
-
export declare const DialogBody: import("@ndla/styled-system/
|
|
113
|
+
export declare const DialogHeader: import("@ndla/styled-system/types").StyledComponent<"div", {}>;
|
|
114
|
+
export declare const DialogBody: import("@ndla/styled-system/types").StyledComponent<"div", {}>;
|
|
115
115
|
export {};
|
package/lib/ExpandableBox.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { HTMLArkProps } from "@ark-ui/react";
|
|
9
9
|
import { JsxStyleProps } from "@ndla/styled-system/types";
|
|
10
10
|
export type ExpandableBoxProps = HTMLArkProps<"details"> & JsxStyleProps;
|
|
11
|
-
export declare const ExpandableBox: import("@ndla/styled-system/
|
|
11
|
+
export declare const ExpandableBox: import("@ndla/styled-system/types").StyledComponent<"details", {}>;
|
|
12
12
|
export type ExpandableBoxSummaryProps = HTMLArkProps<"summary"> & JsxStyleProps;
|
|
13
|
-
export declare const ExpandableBoxSummary: import("@ndla/styled-system/
|
|
13
|
+
export declare const ExpandableBoxSummary: import("@ndla/styled-system/types").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
14
14
|
ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
15
15
|
} & import("@ark-ui/react").PolymorphicProps>, {}>;
|
package/lib/Field.d.ts
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
import { Field } from "@ark-ui/react";
|
|
9
|
-
export declare const FieldRoot: import("@ndla/styled-system/
|
|
9
|
+
export declare const FieldRoot: import("@ndla/styled-system/types").StyledComponent<import("react").ForwardRefExoticComponent<Field.RootProps & import("react").RefAttributes<HTMLDivElement>>, {}>;
|
package/lib/Label.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ export declare const Label: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
19
19
|
export declare const FieldLabel: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & import("@ark-ui/react").PolymorphicProps & TextProps & {
|
|
20
20
|
consumeCss?: boolean | undefined;
|
|
21
21
|
} & import("@ndla/styled-system/types").WithCss & import("react").RefAttributes<HTMLLabelElement>>;
|
|
22
|
-
export declare const Fieldset: import("@ndla/styled-system/
|
|
22
|
+
export declare const Fieldset: import("@ndla/styled-system/types").StyledComponent<"fieldset", {}>;
|
package/lib/Skeleton.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { HTMLArkProps } from "@ark-ui/react";
|
|
9
9
|
import { JsxStyleProps } from "@ndla/styled-system/types";
|
|
10
|
-
export declare const Skeleton: import("@ndla/styled-system/
|
|
10
|
+
export declare const Skeleton: import("@ndla/styled-system/types").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
12
|
} & import("@ark-ui/react").PolymorphicProps>, {}>;
|
|
13
13
|
export interface SkeletonProps extends HTMLArkProps<"div">, JsxStyleProps {
|
package/lib/Table.d.ts
CHANGED
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
import { HTMLArkProps } from "@ark-ui/react";
|
|
9
9
|
import { JsxStyleProps } from "@ndla/styled-system/types";
|
|
10
10
|
export type TableProps = HTMLArkProps<"table"> & JsxStyleProps;
|
|
11
|
-
export declare const Table: import("@ndla/styled-system/
|
|
11
|
+
export declare const Table: import("@ndla/styled-system/types").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
|
|
12
12
|
ref?: ((instance: HTMLTableElement | null) => void) | import("react").RefObject<HTMLTableElement> | null | undefined;
|
|
13
13
|
} & import("@ark-ui/react").PolymorphicProps>, {}>;
|
package/lib/Text.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
import { ColorToken, FontWeightToken } from "@ndla/styled-system/tokens";
|
|
9
|
-
import { UtilityValues } from "@ndla/styled-system/types
|
|
9
|
+
import type { UtilityValues } from "@ndla/styled-system/types";
|
|
10
10
|
export interface TextProps {
|
|
11
11
|
textStyle?: UtilityValues["textStyle"];
|
|
12
12
|
fontWeight?: FontWeightToken;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Primitive components for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@ark-ui/react": "^3.5.0",
|
|
32
|
-
"@ndla/styled-system": "^0.0.
|
|
32
|
+
"@ndla/styled-system": "^0.0.6",
|
|
33
33
|
"@ndla/util": "^4.1.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@ndla/preset-panda": "^0.0.8
|
|
36
|
+
"@ndla/preset-panda": "^0.0.8",
|
|
37
37
|
"@pandacss/dev": "^0.41.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "4ac0e49e0801e6ec6dae57ea37b5af9ab9b882e7"
|
|
47
47
|
}
|