@norges-domstoler/dds-components 5.3.0 → 5.3.1
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/cjs/components/InternalHeader/InternalHeader.styles.d.ts +1 -1
- package/dist/cjs/components/InternalHeader/InternalHeader.tokens.d.ts +39 -27
- package/dist/cjs/components/OverflowMenu/OverflowMenu.tokens.d.ts +25 -10
- package/dist/cjs/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/cjs/index.js +876 -979
- package/dist/components/Card/CardAccordion/CardAccordion.js +3 -8
- package/dist/components/Checkbox/Checkbox.js +3 -7
- package/dist/components/Checkbox/CheckboxGroup.js +3 -7
- package/dist/components/Datepicker/Datepicker.js +3 -7
- package/dist/components/Drawer/Drawer.js +3 -7
- package/dist/components/Drawer/DrawerGroup.js +7 -12
- package/dist/components/InternalHeader/InternalHeader.js +2 -2
- package/dist/components/InternalHeader/InternalHeader.styles.d.ts +1 -1
- package/dist/components/InternalHeader/InternalHeader.styles.js +17 -11
- package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +39 -27
- package/dist/components/InternalHeader/InternalHeader.tokens.js +48 -80
- package/dist/components/InternalHeader/NavigationItem.js +4 -2
- package/dist/components/Modal/Modal.js +3 -9
- package/dist/components/OverflowMenu/OverflowMenu.js +5 -3
- package/dist/components/OverflowMenu/OverflowMenu.tokens.d.ts +25 -10
- package/dist/components/OverflowMenu/OverflowMenu.tokens.js +33 -45
- package/dist/components/OverflowMenu/OverflowMenuGroup.js +3 -7
- package/dist/components/OverflowMenu/OverflowMenuItem.js +7 -3
- package/dist/components/Popover/PopoverGroup.js +3 -7
- package/dist/components/RadioButton/RadioButton.js +3 -8
- package/dist/components/RadioButton/RadioButtonGroup.js +3 -6
- package/dist/components/Search/Search.js +3 -7
- package/dist/components/Select/Select.js +3 -7
- package/dist/components/Spinner/Spinner.js +3 -8
- package/dist/components/Tabs/TabList.js +2 -5
- package/dist/components/Tabs/Tabs.js +11 -13
- package/dist/components/TextInput/CharCounter.js +3 -7
- package/dist/components/TextInput/TextInput.js +3 -6
- package/dist/components/ToggleButton/ToggleButton.js +3 -7
- package/dist/components/ToggleButton/ToggleButtonGroup.js +3 -7
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +10 -14
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InternalHeaderProps } from './InternalHeader.types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const OuterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
declare type BannerProps = {
|
|
4
4
|
hasContextMenu?: boolean;
|
|
5
5
|
};
|
|
@@ -1,40 +1,52 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
1
|
export declare const internalHeaderTokens: {
|
|
3
|
-
|
|
4
|
-
base:
|
|
2
|
+
navLink: {
|
|
3
|
+
base: {
|
|
4
|
+
color: string;
|
|
5
|
+
textDecoration: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
padding: string;
|
|
8
|
+
font: {
|
|
9
|
+
lineHeight: any;
|
|
10
|
+
fontSize: string;
|
|
11
|
+
letterSpacing: any;
|
|
12
|
+
fontFamily: any;
|
|
13
|
+
fontWeight: any;
|
|
14
|
+
fontStyle: any;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
hover: {
|
|
18
|
+
color: string;
|
|
19
|
+
};
|
|
20
|
+
active: {
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
current: {
|
|
24
|
+
color: string;
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
outerContainer: {
|
|
29
|
+
backgroundColor: string;
|
|
5
30
|
};
|
|
6
31
|
applicationNameWrapper: {
|
|
7
|
-
|
|
32
|
+
padding: string;
|
|
8
33
|
};
|
|
9
34
|
lovisaWrapper: {
|
|
10
|
-
|
|
35
|
+
padding: string;
|
|
36
|
+
borderRight: string;
|
|
11
37
|
};
|
|
12
38
|
banner: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
39
|
+
borderBottom: string;
|
|
40
|
+
paddingRight: string;
|
|
41
|
+
hasContextMenu: {
|
|
42
|
+
paddingRight: string;
|
|
43
|
+
};
|
|
18
44
|
};
|
|
19
45
|
navigation: {
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
navigationLink: {
|
|
23
|
-
base: CSSObject;
|
|
24
|
-
hover: {
|
|
25
|
-
base: CSSObject;
|
|
26
|
-
};
|
|
27
|
-
active: {
|
|
28
|
-
base: CSSObject;
|
|
29
|
-
};
|
|
30
|
-
focus: {
|
|
31
|
-
base: CSSObject;
|
|
32
|
-
};
|
|
33
|
-
current: {
|
|
34
|
-
base: CSSObject;
|
|
35
|
-
};
|
|
46
|
+
borderBottom: string;
|
|
36
47
|
};
|
|
37
48
|
contextGroup: {
|
|
38
|
-
|
|
49
|
+
right: string;
|
|
50
|
+
top: string;
|
|
39
51
|
};
|
|
40
52
|
};
|
|
@@ -1,22 +1,37 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
1
|
export declare const overflowMenuTokens: {
|
|
3
2
|
container: {
|
|
4
|
-
|
|
3
|
+
border: string;
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
borderRadius: string;
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
-
base:
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
element: {
|
|
8
|
+
base: {
|
|
9
|
+
color: string;
|
|
10
|
+
textDecoration: string;
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
padding: string;
|
|
13
|
+
gap: string;
|
|
14
|
+
font: {
|
|
15
|
+
lineHeight: any;
|
|
16
|
+
fontSize: string;
|
|
17
|
+
letterSpacing: any;
|
|
18
|
+
fontFamily: any;
|
|
19
|
+
fontWeight: any;
|
|
20
|
+
fontStyle: any;
|
|
21
|
+
};
|
|
10
22
|
};
|
|
23
|
+
};
|
|
24
|
+
link: {
|
|
11
25
|
hover: {
|
|
12
|
-
|
|
26
|
+
color: string;
|
|
13
27
|
};
|
|
14
|
-
|
|
15
|
-
|
|
28
|
+
active: {
|
|
29
|
+
color: string;
|
|
16
30
|
};
|
|
17
31
|
};
|
|
18
32
|
divider: {
|
|
19
|
-
|
|
33
|
+
marginRight: string;
|
|
34
|
+
marginLeft: string;
|
|
20
35
|
};
|
|
21
36
|
offset: number;
|
|
22
37
|
};
|
|
@@ -16,7 +16,7 @@ export declare type TooltipProps = BaseComponentProps<HTMLDivElement, {
|
|
|
16
16
|
tooltipId?: string;
|
|
17
17
|
} & PickedHTMLAttributes, Omit<HTMLAttributes<HTMLDivElement>, 'children' | keyof PickedHTMLAttributes>>;
|
|
18
18
|
export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
19
|
-
htmlProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "onMouseLeave" | "onMouseOver" | "children"> | undefined;
|
|
19
|
+
htmlProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "onMouseLeave" | "onMouseOver" | "children"> | undefined; /**`id` for tooltip. */
|
|
20
20
|
} & Pick<Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "onMouseLeave" | "onMouseOver" | "children">, "className" | "id"> & {
|
|
21
21
|
/**Innhold i tooltip. */
|
|
22
22
|
text: string;
|