@norges-domstoler/dds-components 7.1.0 → 8.0.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/README.md +1 -0
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
- package/dist/cjs/components/Button/Button.stories.d.ts +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/cjs/components/Chip/Chip.stories.d.ts +1 -1
- package/dist/cjs/components/DescriptionList/DescriptionList.stories.d.ts +1 -1
- package/dist/cjs/components/Divider/Divider.stories.d.ts +1 -1
- package/dist/cjs/components/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/cjs/components/GlobalMessage/GlobalMessage.stories.d.ts +1 -1
- package/dist/cjs/components/InputMessage/InputMessage.stories.d.ts +1 -1
- package/dist/cjs/components/List/List.stories.d.ts +1 -1
- package/dist/cjs/components/LocalMessage/LocalMessage.stories.d.ts +1 -1
- package/dist/cjs/components/Modal/Modal.stories.d.ts +1 -1
- package/dist/cjs/components/OverflowMenu/OverflowMenu.stories.d.ts +1 -1
- package/dist/cjs/components/Pagination/Pagination.stories.d.ts +1 -1
- package/dist/cjs/components/Popover/Popover.d.ts +12 -4
- package/dist/cjs/components/Popover/Popover.stories.d.ts +4 -2
- package/dist/cjs/components/Popover/Popover.tokens.d.ts +11 -8
- package/dist/cjs/components/ProgressTracker/ProgressTracker.context.d.ts +6 -0
- package/dist/cjs/components/ProgressTracker/ProgressTracker.d.ts +12 -0
- package/dist/cjs/components/ProgressTracker/ProgressTracker.stories.d.ts +40 -0
- package/dist/cjs/components/ProgressTracker/ProgressTracker.tokens.d.ts +69 -0
- package/dist/cjs/components/ProgressTracker/ProgressTrackerItem.d.ts +24 -0
- package/dist/cjs/components/ProgressTracker/index.d.ts +1 -0
- package/dist/cjs/components/RadioButton/RadioButton.stories.d.ts +1 -1
- package/dist/cjs/components/RadioButton/RadioButtonGroup.stories.d.ts +1 -1
- package/dist/cjs/components/Search/Search.d.ts +2 -2
- package/dist/cjs/components/Search/Search.stories.d.ts +7 -1
- package/dist/cjs/components/Search/Search.tokens.d.ts +4 -1
- package/dist/cjs/components/SkipToContent/SkipToContent.stories.d.ts +1 -1
- package/dist/cjs/components/Table/Cell.d.ts +1 -1
- package/dist/cjs/components/Table/Table.d.ts +4 -0
- package/dist/cjs/components/Table/Table.stories.d.ts +7 -0
- package/dist/cjs/components/Table/Table.tokens.d.ts +72 -0
- package/dist/cjs/components/Tag/Tag.stories.d.ts +1 -1
- package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Caption/Caption.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Heading/Heading.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Label/Label.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Legend/Legend.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Link/Link.stories.d.ts +1 -1
- package/dist/cjs/components/Typography/Paragraph/Paragraph.stories.d.ts +1 -1
- package/dist/cjs/helpers/Paper/Paper.d.ts +8 -1
- package/dist/cjs/helpers/Paper/Paper.tokens.d.ts +5 -2
- package/dist/cjs/hooks/index.d.ts +1 -0
- package/dist/cjs/hooks/useFocusTrap.d.ts +1 -1
- package/dist/cjs/hooks/useReturnFocusOnBlur.d.ts +31 -0
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +1224 -1060
- package/dist/cjs/utils/getFocusableElements.d.ts +2 -0
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Button/Button.styles.js +1 -1
- package/dist/components/Card/CardAccordion/CardAccordionHeader.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/components/Chip/Chip.stories.d.ts +1 -1
- package/dist/components/DescriptionList/DescriptionList.stories.d.ts +1 -1
- package/dist/components/Divider/Divider.stories.d.ts +1 -1
- package/dist/components/Drawer/Drawer.js +3 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/components/GlobalMessage/GlobalMessage.stories.d.ts +1 -1
- package/dist/components/Grid/Grid.context.js +1 -0
- package/dist/components/Grid/Grid.js +1 -0
- package/dist/components/Grid/Grid.tokens.js +1 -0
- package/dist/components/Grid/Grid.utils.js +1 -0
- package/dist/components/InputMessage/InputMessage.stories.d.ts +1 -1
- package/dist/components/List/List.stories.d.ts +1 -1
- package/dist/components/LocalMessage/LocalMessage.stories.d.ts +1 -1
- package/dist/components/Modal/Modal.js +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +1 -1
- package/dist/components/OverflowMenu/OverflowMenu.js +1 -0
- package/dist/components/OverflowMenu/OverflowMenu.stories.d.ts +1 -1
- package/dist/components/OverflowMenu/OverflowMenuItem.js +2 -1
- package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +12 -4
- package/dist/components/Popover/Popover.js +47 -22
- package/dist/components/Popover/Popover.stories.d.ts +4 -2
- package/dist/components/Popover/Popover.tokens.d.ts +11 -8
- package/dist/components/Popover/Popover.tokens.js +17 -28
- package/dist/components/Popover/PopoverGroup.js +9 -20
- package/dist/components/ProgressTracker/ProgressTracker.context.d.ts +6 -0
- package/dist/components/ProgressTracker/ProgressTracker.context.js +10 -0
- package/dist/components/ProgressTracker/ProgressTracker.d.ts +12 -0
- package/dist/components/ProgressTracker/ProgressTracker.js +93 -0
- package/dist/components/ProgressTracker/ProgressTracker.stories.d.ts +40 -0
- package/dist/components/ProgressTracker/ProgressTracker.tokens.d.ts +69 -0
- package/dist/components/ProgressTracker/ProgressTracker.tokens.js +80 -0
- package/dist/components/ProgressTracker/ProgressTrackerItem.d.ts +24 -0
- package/dist/components/ProgressTracker/ProgressTrackerItem.js +168 -0
- package/dist/components/ProgressTracker/index.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.stories.d.ts +1 -1
- package/dist/components/RadioButton/RadioButtonGroup.stories.d.ts +1 -1
- package/dist/components/Search/Search.d.ts +2 -2
- package/dist/components/Search/Search.js +36 -28
- package/dist/components/Search/Search.stories.d.ts +7 -1
- package/dist/components/Search/Search.tokens.d.ts +4 -1
- package/dist/components/Search/Search.tokens.js +6 -2
- package/dist/components/SkipToContent/SkipToContent.stories.d.ts +1 -1
- package/dist/components/Table/Cell.d.ts +1 -1
- package/dist/components/Table/Cell.js +6 -4
- package/dist/components/Table/Row.js +12 -5
- package/dist/components/Table/SortCell.js +8 -11
- package/dist/components/Table/Table.d.ts +4 -0
- package/dist/components/Table/Table.js +8 -3
- package/dist/components/Table/Table.stories.d.ts +7 -0
- package/dist/components/Table/Table.tokens.d.ts +72 -0
- package/dist/components/Table/Table.tokens.js +69 -0
- package/dist/components/Tabs/Tab.js +2 -1
- package/dist/components/Tabs/TabList.js +1 -0
- package/dist/components/Tabs/TabPanels.js +1 -0
- package/dist/components/Tag/Tag.stories.d.ts +1 -1
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/components/Typography/Caption/Caption.stories.d.ts +1 -1
- package/dist/components/Typography/Heading/Heading.stories.d.ts +1 -1
- package/dist/components/Typography/Label/Label.stories.d.ts +1 -1
- package/dist/components/Typography/Legend/Legend.stories.d.ts +1 -1
- package/dist/components/Typography/Link/Link.stories.d.ts +1 -1
- package/dist/components/Typography/Paragraph/Paragraph.stories.d.ts +1 -1
- package/dist/components/Typography/Typography/Typography.js +1 -1
- package/dist/helpers/Paper/Paper.d.ts +8 -1
- package/dist/helpers/Paper/Paper.js +38 -2
- package/dist/helpers/Paper/Paper.tokens.d.ts +5 -2
- package/dist/helpers/Paper/Paper.tokens.js +8 -10
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useFocusTrap.d.ts +1 -1
- package/dist/hooks/useFocusTrap.js +4 -2
- package/dist/hooks/useReturnFocusOnBlur.d.ts +31 -0
- package/dist/hooks/useReturnFocusOnBlur.js +65 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/utils/getFocusableElements.d.ts +2 -0
- package/dist/utils/getFocusableElements.js +5 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/components/Stepper/Step.d.ts +0 -20
- package/dist/cjs/components/Stepper/Stepper.context.d.ts +0 -6
- package/dist/cjs/components/Stepper/Stepper.d.ts +0 -11
- package/dist/cjs/components/Stepper/Stepper.stories.d.ts +0 -25
- package/dist/cjs/components/Stepper/Stepper.tokens.d.ts +0 -39
- package/dist/cjs/components/Stepper/index.d.ts +0 -2
- package/dist/cjs/components/Table/Cell.tokens.d.ts +0 -31
- package/dist/cjs/components/Table/Row.tokens.d.ts +0 -32
- package/dist/components/Stepper/Step.d.ts +0 -20
- package/dist/components/Stepper/Step.js +0 -118
- package/dist/components/Stepper/Stepper.context.d.ts +0 -6
- package/dist/components/Stepper/Stepper.context.js +0 -10
- package/dist/components/Stepper/Stepper.d.ts +0 -11
- package/dist/components/Stepper/Stepper.js +0 -66
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -25
- package/dist/components/Stepper/Stepper.tokens.d.ts +0 -39
- package/dist/components/Stepper/Stepper.tokens.js +0 -49
- package/dist/components/Stepper/index.d.ts +0 -2
- package/dist/components/Table/Cell.tokens.d.ts +0 -31
- package/dist/components/Table/Cell.tokens.js +0 -60
- package/dist/components/Table/Row.tokens.d.ts +0 -32
- package/dist/components/Table/Row.tokens.js +0 -73
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & {
|
|
4
|
-
activeStep?: number | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
children?: import("react").ReactNode;
|
|
7
|
-
} & {
|
|
8
|
-
htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
|
|
9
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
argTypes: {
|
|
11
|
-
color: {
|
|
12
|
-
control: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
size: {
|
|
17
|
-
control: {
|
|
18
|
-
type: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
24
|
-
export declare const Overview: () => JSX.Element;
|
|
25
|
-
export declare const NonClickable: () => JSX.Element;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const stepperTokens: {
|
|
2
|
-
connector: {
|
|
3
|
-
color: string;
|
|
4
|
-
};
|
|
5
|
-
stepNumber: {
|
|
6
|
-
active: {
|
|
7
|
-
borderColor: string;
|
|
8
|
-
color: string;
|
|
9
|
-
backgroundColor: string;
|
|
10
|
-
};
|
|
11
|
-
completed: {
|
|
12
|
-
borderColor: string;
|
|
13
|
-
color: string;
|
|
14
|
-
backgroundColor: string;
|
|
15
|
-
};
|
|
16
|
-
inactive: {
|
|
17
|
-
borderColor: string;
|
|
18
|
-
color: string;
|
|
19
|
-
backgroundColor: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
stepButton: {
|
|
23
|
-
marginTop: string;
|
|
24
|
-
fontFamily: string;
|
|
25
|
-
fontSize: string;
|
|
26
|
-
active: {
|
|
27
|
-
color: string;
|
|
28
|
-
textDecoration: string;
|
|
29
|
-
};
|
|
30
|
-
completed: {
|
|
31
|
-
color: string;
|
|
32
|
-
textDecoration: string;
|
|
33
|
-
};
|
|
34
|
-
inactive: {
|
|
35
|
-
color: string;
|
|
36
|
-
textDecoration: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ddsBaseTokens } from '@norges-domstoler/dds-design-tokens';
|
|
2
|
-
|
|
3
|
-
var colors = ddsBaseTokens.colors,
|
|
4
|
-
spacing = ddsBaseTokens.spacing,
|
|
5
|
-
font = ddsBaseTokens.font;
|
|
6
|
-
var connector = {
|
|
7
|
-
color: colors.DdsColorInteractiveBase
|
|
8
|
-
};
|
|
9
|
-
var stepNumber = {
|
|
10
|
-
active: {
|
|
11
|
-
borderColor: colors.DdsColorInteractiveBase,
|
|
12
|
-
color: colors.DdsColorNeutralsWhite,
|
|
13
|
-
backgroundColor: colors.DdsColorInteractiveBase
|
|
14
|
-
},
|
|
15
|
-
completed: {
|
|
16
|
-
borderColor: colors.DdsColorSuccessLighter,
|
|
17
|
-
color: colors.DdsColorNeutralsGray9,
|
|
18
|
-
backgroundColor: colors.DdsColorSuccessLighter
|
|
19
|
-
},
|
|
20
|
-
inactive: {
|
|
21
|
-
borderColor: colors.DdsColorInteractiveBase,
|
|
22
|
-
color: colors.DdsColorInteractiveBase,
|
|
23
|
-
backgroundColor: colors.DdsColorNeutralsWhite
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
var stepButton = {
|
|
27
|
-
marginTop: spacing.SizesDdsSpacingLayoutX1,
|
|
28
|
-
fontFamily: font.DdsFontSupportingStyleLabel01FontFamily,
|
|
29
|
-
fontSize: font.DdsFontSupportingStyleLabel01FontSize,
|
|
30
|
-
active: {
|
|
31
|
-
color: colors.DdsColorNeutralsGray9,
|
|
32
|
-
textDecoration: 'none'
|
|
33
|
-
},
|
|
34
|
-
completed: {
|
|
35
|
-
color: colors.DdsColorInteractiveBase,
|
|
36
|
-
textDecoration: 'underline'
|
|
37
|
-
},
|
|
38
|
-
inactive: {
|
|
39
|
-
color: colors.DdsColorInteractiveBase,
|
|
40
|
-
textDecoration: 'underline'
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
var stepperTokens = {
|
|
44
|
-
connector: connector,
|
|
45
|
-
stepNumber: stepNumber,
|
|
46
|
-
stepButton: stepButton
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { stepperTokens };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
|
-
export declare const cellTokens: {
|
|
3
|
-
base: CSSObject;
|
|
4
|
-
density: {
|
|
5
|
-
normal: {
|
|
6
|
-
base: CSSObject;
|
|
7
|
-
};
|
|
8
|
-
compact: {
|
|
9
|
-
base: CSSObject;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
head: {
|
|
13
|
-
base: CSSObject;
|
|
14
|
-
sortCell: {
|
|
15
|
-
icon: {
|
|
16
|
-
base: CSSObject;
|
|
17
|
-
};
|
|
18
|
-
focus: {
|
|
19
|
-
base: CSSObject;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
data: {
|
|
24
|
-
base: CSSObject;
|
|
25
|
-
layout: {
|
|
26
|
-
textAndIcon: {
|
|
27
|
-
base: CSSObject;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ddsBaseTokens } from '@norges-domstoler/dds-design-tokens';
|
|
2
|
-
import 'styled-components';
|
|
3
|
-
import { focusVisible } from '../../helpers/styling/focusVisible.js';
|
|
4
|
-
import '../../helpers/styling/hover.js';
|
|
5
|
-
import '../../helpers/styling/focus.js';
|
|
6
|
-
import '../../helpers/styling/danger.js';
|
|
7
|
-
import '../../helpers/styling/selection.js';
|
|
8
|
-
|
|
9
|
-
var Colors = ddsBaseTokens.colors,
|
|
10
|
-
Spacing = ddsBaseTokens.spacing;
|
|
11
|
-
var cellBase = {};
|
|
12
|
-
var compactCellBase = {
|
|
13
|
-
padding: "".concat(Spacing.SizesDdsSpacingLocalX075)
|
|
14
|
-
};
|
|
15
|
-
var headBase = {
|
|
16
|
-
backgroundColor: Colors.DdsColorPrimaryLightest
|
|
17
|
-
};
|
|
18
|
-
var dataBase = {};
|
|
19
|
-
var normalCellBase = {
|
|
20
|
-
padding: "".concat(Spacing.SizesDdsSpacingLocalX15, " ").concat(Spacing.SizesDdsSpacingLocalX075)
|
|
21
|
-
};
|
|
22
|
-
var sortCellIconBase = {
|
|
23
|
-
marginInlineStart: Spacing.SizesDdsSpacingLocalX05
|
|
24
|
-
};
|
|
25
|
-
var sortCellFocusBase = Object.assign({}, focusVisible);
|
|
26
|
-
var textAndIconBase = {
|
|
27
|
-
marginRight: Spacing.SizesDdsSpacingLocalX075
|
|
28
|
-
};
|
|
29
|
-
var cellTokens = {
|
|
30
|
-
base: cellBase,
|
|
31
|
-
density: {
|
|
32
|
-
normal: {
|
|
33
|
-
base: normalCellBase
|
|
34
|
-
},
|
|
35
|
-
compact: {
|
|
36
|
-
base: compactCellBase
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
head: {
|
|
40
|
-
base: headBase,
|
|
41
|
-
sortCell: {
|
|
42
|
-
icon: {
|
|
43
|
-
base: sortCellIconBase
|
|
44
|
-
},
|
|
45
|
-
focus: {
|
|
46
|
-
base: sortCellFocusBase
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
data: {
|
|
51
|
-
base: dataBase,
|
|
52
|
-
layout: {
|
|
53
|
-
textAndIcon: {
|
|
54
|
-
base: textAndIconBase
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export { cellTokens };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { CSSObject } from 'styled-components';
|
|
2
|
-
export declare const rowTokens: {
|
|
3
|
-
head: {
|
|
4
|
-
base: CSSObject;
|
|
5
|
-
};
|
|
6
|
-
body: {
|
|
7
|
-
base: CSSObject;
|
|
8
|
-
odd: {
|
|
9
|
-
base: CSSObject;
|
|
10
|
-
};
|
|
11
|
-
even: {
|
|
12
|
-
base: CSSObject;
|
|
13
|
-
};
|
|
14
|
-
selected: {
|
|
15
|
-
base: CSSObject;
|
|
16
|
-
};
|
|
17
|
-
hover: {
|
|
18
|
-
base: CSSObject;
|
|
19
|
-
};
|
|
20
|
-
focus: {
|
|
21
|
-
base: CSSObject;
|
|
22
|
-
};
|
|
23
|
-
mode: {
|
|
24
|
-
sum: {
|
|
25
|
-
base: CSSObject;
|
|
26
|
-
};
|
|
27
|
-
normal: {
|
|
28
|
-
base: {};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ddsBaseTokens, ddsReferenceTokens } from '@norges-domstoler/dds-design-tokens';
|
|
2
|
-
import 'styled-components';
|
|
3
|
-
import { focusVisibleInset } from '../../helpers/styling/focusVisible.js';
|
|
4
|
-
import '../../helpers/styling/hover.js';
|
|
5
|
-
import '../../helpers/styling/focus.js';
|
|
6
|
-
import '../../helpers/styling/danger.js';
|
|
7
|
-
import '../../helpers/styling/selection.js';
|
|
8
|
-
|
|
9
|
-
var Colors = ddsBaseTokens.colors,
|
|
10
|
-
FontPackages = ddsBaseTokens.fontPackages,
|
|
11
|
-
Border = ddsBaseTokens.border;
|
|
12
|
-
var textDefault = ddsReferenceTokens.textDefault;
|
|
13
|
-
var bodyRowBase = Object.assign({
|
|
14
|
-
color: textDefault.textColor
|
|
15
|
-
}, FontPackages.body_sans_02.base);
|
|
16
|
-
var headRowBase = Object.assign(Object.assign({
|
|
17
|
-
color: textDefault.textColor
|
|
18
|
-
}, FontPackages.body_sans_02.base), {
|
|
19
|
-
fontWeight: 600,
|
|
20
|
-
textAlign: 'left'
|
|
21
|
-
});
|
|
22
|
-
var bodyOddBase = {
|
|
23
|
-
backgroundColor: Colors.DdsColorNeutralsWhite
|
|
24
|
-
};
|
|
25
|
-
var bodyEvenBase = {
|
|
26
|
-
backgroundColor: Colors.DdsColorNeutralsGray1
|
|
27
|
-
};
|
|
28
|
-
var bodySelectedBase = {
|
|
29
|
-
backgroundColor: Colors.DdsColorSecondaryLightest
|
|
30
|
-
};
|
|
31
|
-
var bodyHoverBase = {
|
|
32
|
-
backgroundColor: Colors.DdsColorSecondaryLightest
|
|
33
|
-
};
|
|
34
|
-
var bodyFocusBase = Object.assign({}, focusVisibleInset);
|
|
35
|
-
var bodySumBase = Object.assign(Object.assign({}, FontPackages.body_sans_02.base), {
|
|
36
|
-
fontWeight: 600,
|
|
37
|
-
borderTop: "".concat(Border.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors.DdsColorNeutralsGray4),
|
|
38
|
-
borderBottom: "".concat(Border.BordersDdsBorderStyleLightStrokeWeight, " solid ").concat(Colors.DdsColorNeutralsGray4),
|
|
39
|
-
backgroundColor: Colors.DdsColorNeutralsWhite
|
|
40
|
-
});
|
|
41
|
-
var rowTokens = {
|
|
42
|
-
head: {
|
|
43
|
-
base: headRowBase
|
|
44
|
-
},
|
|
45
|
-
body: {
|
|
46
|
-
base: bodyRowBase,
|
|
47
|
-
odd: {
|
|
48
|
-
base: bodyOddBase
|
|
49
|
-
},
|
|
50
|
-
even: {
|
|
51
|
-
base: bodyEvenBase
|
|
52
|
-
},
|
|
53
|
-
selected: {
|
|
54
|
-
base: bodySelectedBase
|
|
55
|
-
},
|
|
56
|
-
hover: {
|
|
57
|
-
base: bodyHoverBase
|
|
58
|
-
},
|
|
59
|
-
focus: {
|
|
60
|
-
base: bodyFocusBase
|
|
61
|
-
},
|
|
62
|
-
mode: {
|
|
63
|
-
sum: {
|
|
64
|
-
base: bodySumBase
|
|
65
|
-
},
|
|
66
|
-
normal: {
|
|
67
|
-
base: {}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export { rowTokens };
|