@ndla/primitives 1.0.123-alpha.0 → 1.0.124-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/DatePicker.d.ts +1 -1
- package/lib/RadioGroup.d.ts +1 -1
- package/lib/Slider.d.ts +1 -1
- package/package.json +3 -3
package/lib/DatePicker.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface DatePickerRootProps extends DatePicker.RootProps, StyledProps {
|
|
|
13
13
|
translations: DatePicker.RootProps["translations"];
|
|
14
14
|
locale: DatePicker.RootProps["locale"];
|
|
15
15
|
}
|
|
16
|
-
export declare const DatePickerRoot: import("@ndla/styled-system/jsx").StyleContextProvider<import("react").ForwardRefExoticComponent<DatePicker.RootProps & RefAttributes<HTMLDivElement>>, import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"root" | "content" | "table" | "input" | "label" | "view" | "control" | "trigger" | "positioner" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect", import("@ndla/styled-system/types").SlotRecipeVariantRecord<"root" | "content" | "table" | "input" | "label" | "view" | "control" | "trigger" | "positioner" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">>>;
|
|
16
|
+
export declare const DatePickerRoot: import("@ndla/styled-system/jsx").StyleContextProvider<import("react").ForwardRefExoticComponent<DatePicker.RootProps & RefAttributes<HTMLDivElement>>, import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"root" | "content" | "table" | "input" | "label" | "view" | "control" | "trigger" | "positioner" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "valueText" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect", import("@ndla/styled-system/types").SlotRecipeVariantRecord<"root" | "content" | "table" | "input" | "label" | "view" | "control" | "trigger" | "positioner" | "clearTrigger" | "nextTrigger" | "prevTrigger" | "valueText" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">>>;
|
|
17
17
|
export declare const DatePickerClearTrigger: import("@ndla/styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<DatePicker.ClearTriggerProps & RefAttributes<HTMLButtonElement>>>;
|
|
18
18
|
interface DatePickerContentProps extends DatePicker.ContentProps, StyledProps {
|
|
19
19
|
}
|
package/lib/RadioGroup.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const RadioGroupItem: import("@ndla/styled-system/jsx").StyleCont
|
|
|
18
18
|
interface RadioGroupItemTextProps extends Omit<RadioGroup.ItemTextProps, "color">, TextProps, StyledProps, RefAttributes<HTMLParagraphElement> {
|
|
19
19
|
}
|
|
20
20
|
export declare const RadioGroupItemText: ({ textStyle, children, asChild, consumeCss, ...props }: RadioGroupItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare const InternalRadioGroupLabel: import("@ndla/styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<RadioGroup.LabelProps & RefAttributes<
|
|
21
|
+
export declare const InternalRadioGroupLabel: import("@ndla/styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<RadioGroup.LabelProps & RefAttributes<HTMLSpanElement>>>;
|
|
22
22
|
interface RadioGroupLabelProps extends Omit<RadioGroup.LabelProps, "color">, TextProps, StyledProps, RefAttributes<HTMLLabelElement> {
|
|
23
23
|
}
|
|
24
24
|
export declare const RadioGroupLabel: import("react").ForwardRefExoticComponent<Omit<RadioGroupLabelProps, "ref"> & RefAttributes<HTMLLabelElement>>;
|
package/lib/Slider.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type { RefAttributes } from "react";
|
|
|
11
11
|
import { type TextProps } from "./Text";
|
|
12
12
|
export interface SliderRootProps extends Slider.RootProps, StyledProps {
|
|
13
13
|
}
|
|
14
|
-
export declare const SliderRoot: import("@ndla/styled-system/jsx").StyleContextProvider<import("react").ForwardRefExoticComponent<Slider.RootProps & RefAttributes<HTMLDivElement>>, import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"root" | "marker" | "label" | "track" | "control" | "
|
|
14
|
+
export declare const SliderRoot: import("@ndla/styled-system/jsx").StyleContextProvider<import("react").ForwardRefExoticComponent<Slider.RootProps & RefAttributes<HTMLDivElement>>, import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"root" | "marker" | "label" | "track" | "control" | "valueText" | "range" | "thumb" | "markerGroup" | "draggingIndicator", import("@ndla/styled-system/types").SlotRecipeVariantRecord<"root" | "marker" | "label" | "track" | "control" | "valueText" | "range" | "thumb" | "markerGroup" | "draggingIndicator">>>;
|
|
15
15
|
export declare const SliderControl: import("@ndla/styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<Slider.ControlProps & RefAttributes<HTMLDivElement>>>;
|
|
16
16
|
export declare const SliderTrack: import("@ndla/styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<Slider.TrackProps & RefAttributes<HTMLDivElement>>>;
|
|
17
17
|
export declare const SliderRange: import("@ndla/styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<Slider.RangeProps & RefAttributes<HTMLDivElement>>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.124-alpha.0",
|
|
5
5
|
"description": "Primitive components for NDLA.",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"exports": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"lib"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ark-ui/react": "^5.
|
|
35
|
+
"@ark-ui/react": "^5.34.1",
|
|
36
36
|
"@ndla/styled-system": "^0.0.47",
|
|
37
37
|
"@ndla/util": "^5.0.18-alpha.0"
|
|
38
38
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "bbf5ac47d4046c3da40fe11aa3d653f5d6812b9f"
|
|
51
51
|
}
|