@norges-domstoler/dds-components 0.0.0-dev-20241213121127 → 0.0.0-dev-20241213121234
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/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -9,6 +9,7 @@ import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized
|
|
|
9
9
|
import { AriaDatePickerProps } from '@react-types/datepicker';
|
|
10
10
|
import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
|
|
11
11
|
import { OptionProps, GroupBase, SingleValueProps, Props as Props$1, SelectInstance } from 'react-select';
|
|
12
|
+
import { ddsTokens } from '@norges-domstoler/dds-design-tokens';
|
|
12
13
|
|
|
13
14
|
declare function handleElementWithBackdropMount(container: HTMLElement): void;
|
|
14
15
|
declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
@@ -3214,7 +3215,7 @@ interface TextAffixProps {
|
|
|
3214
3215
|
readOnly?: boolean;
|
|
3215
3216
|
}
|
|
3216
3217
|
|
|
3217
|
-
type DdsTheme =
|
|
3218
|
+
type DdsTheme = keyof typeof ddsTokens;
|
|
3218
3219
|
interface ThemeContextProps {
|
|
3219
3220
|
theme: DdsTheme;
|
|
3220
3221
|
el: HTMLDivElement | null;
|
|
@@ -3791,7 +3792,7 @@ declare function useTheme(): {
|
|
|
3791
3792
|
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
3792
3793
|
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
3793
3794
|
};
|
|
3794
|
-
themeName:
|
|
3795
|
+
themeName: "core" | "public";
|
|
3795
3796
|
};
|
|
3796
3797
|
|
|
3797
3798
|
type ToggleBarValue = string | number | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { DateValue as DateValue$1, CalendarDate, Time } from '@internationalized
|
|
|
9
9
|
import { AriaDatePickerProps } from '@react-types/datepicker';
|
|
10
10
|
import { AriaDateFieldOptions, useDatePicker, AriaTimeFieldProps } from '@react-aria/datepicker';
|
|
11
11
|
import { OptionProps, GroupBase, SingleValueProps, Props as Props$1, SelectInstance } from 'react-select';
|
|
12
|
+
import { ddsTokens } from '@norges-domstoler/dds-design-tokens';
|
|
12
13
|
|
|
13
14
|
declare function handleElementWithBackdropMount(container: HTMLElement): void;
|
|
14
15
|
declare function handleElementWithBackdropUnmount(container: HTMLElement): void;
|
|
@@ -3214,7 +3215,7 @@ interface TextAffixProps {
|
|
|
3214
3215
|
readOnly?: boolean;
|
|
3215
3216
|
}
|
|
3216
3217
|
|
|
3217
|
-
type DdsTheme =
|
|
3218
|
+
type DdsTheme = keyof typeof ddsTokens;
|
|
3218
3219
|
interface ThemeContextProps {
|
|
3219
3220
|
theme: DdsTheme;
|
|
3220
3221
|
el: HTMLDivElement | null;
|
|
@@ -3791,7 +3792,7 @@ declare function useTheme(): {
|
|
|
3791
3792
|
ddsFontLabelMediumParagraphSpacing: "1em";
|
|
3792
3793
|
ddsFontLabelMediumParagraphSpacingNumberEm: 1;
|
|
3793
3794
|
};
|
|
3794
|
-
themeName:
|
|
3795
|
+
themeName: "core" | "public";
|
|
3795
3796
|
};
|
|
3796
3797
|
|
|
3797
3798
|
type ToggleBarValue = string | number | null | undefined;
|