@equisoft/design-elements-react 6.4.1-snapshot.20240614134253 → 6.4.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/bundle.js +1307 -1400
- package/dist/bundle.js.LICENSE.txt +6 -33
- package/dist/components/accordion/accordion.d.ts +0 -1
- package/dist/components/buttons/abstract-button.d.ts +4 -7
- package/dist/components/buttons/button.d.ts +5 -13
- package/dist/components/buttons/icon-button.d.ts +28 -3
- package/dist/components/checkbox/checkbox.d.ts +3 -2
- package/dist/components/device-context-provider/device-context-provider.d.ts +1 -1
- package/dist/components/dropdown-list/dropdown-list.d.ts +3 -5
- package/dist/components/dropdown-menu/list-items/nav-item.d.ts +0 -2
- package/dist/components/external-link/external-link.d.ts +2 -2
- package/dist/components/global-banner/global-banner.d.ts +3 -4
- package/dist/components/listbox/listbox.d.ts +3 -0
- package/dist/components/lozenge/lozenge.d.ts +2 -3
- package/dist/components/menu/menu.d.ts +0 -1
- package/dist/components/option-button/option-button.d.ts +10 -0
- package/dist/components/pagination/pagination.d.ts +3 -2
- package/dist/components/password-creation-input/password-creation-input.d.ts +4 -0
- package/dist/components/password-input/password-input.d.ts +0 -1
- package/dist/components/progress-tracker/progress-tracker.d.ts +5 -10
- package/dist/components/radio-card-group/styled-components.d.ts +3 -3
- package/dist/components/table/sort-button-icon.d.ts +0 -1
- package/dist/components/table/sortable-column-heading.d.ts +7 -0
- package/dist/components/table/table-row.d.ts +8 -10
- package/dist/components/table/table.d.ts +24 -10
- package/dist/components/table/utils/table-utils.d.ts +0 -3
- package/dist/components/tabs/tab-button.d.ts +1 -2
- package/dist/components/tabs/tab-panel.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +3 -4
- package/dist/components/tag/tag.d.ts +8 -6
- package/dist/components/text-input/styles/inputs.d.ts +3 -9
- package/dist/components/text-input/text-input.d.ts +0 -3
- package/dist/components/theme-wrapper/theme-wrapper.d.ts +2 -2
- package/dist/components/toast/toast-container.d.ts +1 -1
- package/dist/components/toast/toast-type.d.ts +2 -3
- package/dist/components/{segmented-control/segmented-control.d.ts → toggle-button-group/toggle-button-group.d.ts} +2 -3
- package/dist/hooks/use-click-outside.d.ts +1 -1
- package/dist/hooks/use-list-cursor.d.ts +1 -2
- package/dist/hooks/use-theme.d.ts +2 -2
- package/dist/i18n/translations.d.ts +2 -40
- package/dist/index.d.ts +9 -13
- package/dist/theme.d.ts +1 -2
- package/dist/theme.js +1 -1
- package/dist/themes/equisoft.d.ts +2 -1
- package/dist/themes/greys.d.ts +2 -0
- package/dist/themes/index.d.ts +1 -2
- package/dist/themes/main.d.ts +2 -0
- package/dist/themes/notifications.d.ts +2 -0
- package/dist/themes/test-theme.d.ts +2 -0
- package/dist/themes/theme.d.ts +45 -10
- package/dist/themes/tokens.d.ts +2 -0
- package/dist/utils/array.d.ts +2 -13
- package/dist/utils/css-state.d.ts +7 -12
- package/dist/utils/dom.d.ts +0 -1
- package/dist/utils/string.d.ts +0 -1
- package/package.json +31 -30
- package/dist/components/combobox/combobox.d.ts +0 -74
- package/dist/components/table/table-footer.d.ts +0 -8
- package/dist/components/table/table-header.d.ts +0 -8
- package/dist/components/table/types.d.ts +0 -17
- package/dist/components/tag/toggle-tag.d.ts +0 -20
- package/dist/hooks/use-scrollable.d.ts +0 -19
- package/dist/themes/build-theme.d.ts +0 -2
- package/dist/themes/build-theme.test.d.ts +0 -1
- package/dist/themes/tokens/alias-tokens.d.ts +0 -44
- package/dist/themes/tokens/component/accordion-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/avatar-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/badge-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/button-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/card-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/carousel-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/checkbox-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/chooser-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/combobox-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/datepicker-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/field-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/focus-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/global-banner-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/global-header-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/global-navigation-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/heading-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/label-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/legend-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/link-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/listbox-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/lozenge-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/menu-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/modal-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/nav-list-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/numeric-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/pagination-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/password-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/phone-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/progress-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/radio-card-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/search-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/segmented-control-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/side-drawer-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/spinner-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/status-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/stepper-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/tab-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/table-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/tag-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/text-area-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/text-input-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/toast-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/toggletip-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/tooltip-tokens.d.ts +0 -8
- package/dist/themes/tokens/component-tokens.d.ts +0 -64
- package/dist/themes/tokens/index.d.ts +0 -3
- package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref/palette-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref-tokens.d.ts +0 -10
- package/dist/utility-types.d.ts +0 -1
- package/dist/utils/dev-console.d.ts +0 -3
- package/dist/utils/dom.test.d.ts +0 -1
- /package/dist/components/{progress-indicator → bar}/bar.d.ts +0 -0
- /package/dist/components/{progress-circle → circle}/circle.d.ts +0 -0
- /package/dist/{legacy-constants → tokens}/breakpoints.d.ts +0 -0
- /package/dist/{legacy-constants → tokens}/menuDimensions.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/design-elements-react",
|
|
3
|
-
"version": "6.4.1
|
|
3
|
+
"version": "6.4.1",
|
|
4
4
|
"description": "React implementation of the Equisoft design system.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/bundle.js",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"url": "https://github.com/kronostechnologies/design-elements/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tanstack/react-table": "^8.10.7",
|
|
33
32
|
"date-fns": "^3.0.0",
|
|
34
33
|
"feather-icons": "^4.29.0",
|
|
35
34
|
"prop-types": "^15.8.1",
|
|
36
|
-
"react-datepicker": "^
|
|
35
|
+
"react-datepicker": "^4.11.0",
|
|
37
36
|
"react-is": "~17.0.2",
|
|
38
37
|
"react-modal": "^3.16.1",
|
|
39
38
|
"react-popper-tooltip": "^4.4.2",
|
|
40
39
|
"react-shadow": "^20.0.0",
|
|
41
40
|
"react-swipeable": "~7.0.0",
|
|
41
|
+
"react-table": "^7.8.0",
|
|
42
42
|
"stream-browserify": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"styled-components": ">= 4"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@equisoft/eslint-config": "3.0.
|
|
53
|
-
"@equisoft/eslint-config-typescript-react": "3.0.
|
|
54
|
-
"@equisoft/typescript-config": "2.0.0",
|
|
55
|
-
"@microsoft/eslint-formatter-sarif": "3.
|
|
56
|
-
"@svgr/webpack": "^8.
|
|
52
|
+
"@equisoft/eslint-config": "^3.0.3",
|
|
53
|
+
"@equisoft/eslint-config-typescript-react": "^3.0.3",
|
|
54
|
+
"@equisoft/typescript-config": "^2.0.0",
|
|
55
|
+
"@microsoft/eslint-formatter-sarif": "^3.0.0",
|
|
56
|
+
"@svgr/webpack": "^8.0.0",
|
|
57
57
|
"@testing-library/react": "^12.1.5",
|
|
58
58
|
"@testing-library/react-hooks": "^8.0.1",
|
|
59
59
|
"@types/cheerio": "^0.22.31",
|
|
@@ -62,24 +62,25 @@
|
|
|
62
62
|
"@types/jest": "^29.5.1",
|
|
63
63
|
"@types/lodash": "^4.14.186",
|
|
64
64
|
"@types/react": "~17.0.58",
|
|
65
|
-
"@types/react-datepicker": "^
|
|
65
|
+
"@types/react-datepicker": "^4.11.2",
|
|
66
66
|
"@types/react-dom": "~17.0.20",
|
|
67
67
|
"@types/react-modal": "^3.16.0",
|
|
68
|
+
"@types/react-table": "^7.7.14",
|
|
68
69
|
"@types/styled-components": "^5.1.26",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "
|
|
70
|
-
"@typescript-eslint/parser": "
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
71
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
71
72
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
72
73
|
"cross-env": "^7.0.3",
|
|
73
|
-
"css-loader": "^7.
|
|
74
|
+
"css-loader": "^6.7.3",
|
|
74
75
|
"enzyme": "^3.11.0",
|
|
75
76
|
"enzyme-to-json": "~3.6.2",
|
|
76
|
-
"eslint": "8.
|
|
77
|
-
"eslint-import-resolver-node": "0.3.
|
|
78
|
-
"eslint-import-resolver-typescript": "3.
|
|
79
|
-
"eslint-plugin-import": "2.
|
|
80
|
-
"eslint-plugin-jsx-a11y": "6.
|
|
81
|
-
"eslint-plugin-react": "7.
|
|
82
|
-
"eslint-plugin-react-hooks": "4.6.
|
|
77
|
+
"eslint": "^8.39.0",
|
|
78
|
+
"eslint-import-resolver-node": "^0.3.7",
|
|
79
|
+
"eslint-import-resolver-typescript": "^3.5.5",
|
|
80
|
+
"eslint-plugin-import": "^2.27.5",
|
|
81
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
82
|
+
"eslint-plugin-react": "^7.32.2",
|
|
83
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
83
84
|
"expect": "^29.5.0",
|
|
84
85
|
"i18next": "^23.0.0",
|
|
85
86
|
"jest": "^29.5.0",
|
|
@@ -87,21 +88,21 @@
|
|
|
87
88
|
"jest-junit": "^16.0.0",
|
|
88
89
|
"jest-styled-components": "^7.1.1",
|
|
89
90
|
"react": "~17.0.2",
|
|
90
|
-
"react-docgen-typescript-plugin": "1.0.
|
|
91
|
+
"react-docgen-typescript-plugin": "^1.0.5",
|
|
91
92
|
"react-dom": "~17.0.2",
|
|
92
|
-
"react-router-dom": "~6.
|
|
93
|
-
"sass": "~1.
|
|
94
|
-
"sass-loader": "~
|
|
95
|
-
"style-loader": "^
|
|
93
|
+
"react-router-dom": "~6.21.0",
|
|
94
|
+
"sass": "~1.69.0",
|
|
95
|
+
"sass-loader": "~13.3.0",
|
|
96
|
+
"style-loader": "^3.3.2",
|
|
96
97
|
"styled-components": "^5.3.10",
|
|
97
|
-
"stylelint": "
|
|
98
|
+
"stylelint": "^15.10.1",
|
|
98
99
|
"ts-jest": "^29.1.0",
|
|
99
100
|
"ts-loader": "^9.4.2",
|
|
100
101
|
"ts-mockito": "^2.6.1",
|
|
101
|
-
"typescript": "5.
|
|
102
|
-
"webpack": "5.
|
|
103
|
-
"webpack-cli": "5.
|
|
104
|
-
"webpack-merge": "5.
|
|
105
|
-
"yargs": "17.7.2"
|
|
102
|
+
"typescript": "~5.3.0",
|
|
103
|
+
"webpack": "^5.81.0",
|
|
104
|
+
"webpack-cli": "^5.0.2",
|
|
105
|
+
"webpack-merge": "^5.8.0",
|
|
106
|
+
"yargs": "^17.7.2"
|
|
106
107
|
}
|
|
107
108
|
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { VoidFunctionComponent } from 'react';
|
|
2
|
-
import { ListboxOption } from '../listbox/listbox';
|
|
3
|
-
import { TooltipProps } from '../tooltip/tooltip';
|
|
4
|
-
export type ComboboxOption = ListboxOption;
|
|
5
|
-
interface ComboboxProps {
|
|
6
|
-
/**
|
|
7
|
-
* If true, the input can have a value not included in the list of options
|
|
8
|
-
*/
|
|
9
|
-
allowCustomValue?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Aria label for the input (used when no visual label is present)
|
|
12
|
-
*/
|
|
13
|
-
ariaLabel?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
defaultOpen?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The default value and selected option
|
|
21
|
-
*/
|
|
22
|
-
defaultValue?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Disables the input
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* If true, the options won't be filtered.
|
|
29
|
-
* Use when the list of options is filtered externally.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
disableListFiltering?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Text to display in the listbox when no options match the input value.
|
|
35
|
-
* Used only when a custom value is not allowed.
|
|
36
|
-
*/
|
|
37
|
-
emptyListMessage?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Disables the default margin
|
|
40
|
-
*/
|
|
41
|
-
noMargin?: boolean;
|
|
42
|
-
id?: string;
|
|
43
|
-
/**
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
inlineAutoComplete?: boolean;
|
|
47
|
-
isLoading?: boolean;
|
|
48
|
-
label?: string;
|
|
49
|
-
name?: string;
|
|
50
|
-
options: ComboboxOption[];
|
|
51
|
-
placeholder?: string;
|
|
52
|
-
required?: boolean;
|
|
53
|
-
tooltip?: TooltipProps;
|
|
54
|
-
/**
|
|
55
|
-
* Sets input validity
|
|
56
|
-
*/
|
|
57
|
-
valid?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Sets error message
|
|
60
|
-
* @default You must select an option
|
|
61
|
-
*/
|
|
62
|
-
validationErrorMessage?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the selected value (makes the component controlled)
|
|
65
|
-
*/
|
|
66
|
-
value?: string;
|
|
67
|
-
hint?: string;
|
|
68
|
-
/**
|
|
69
|
-
* OnChange callback function, invoked when the value is changed
|
|
70
|
-
*/
|
|
71
|
-
onChange?(value: string): void;
|
|
72
|
-
}
|
|
73
|
-
export declare const Combobox: VoidFunctionComponent<ComboboxProps>;
|
|
74
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { HeaderGroup } from '@tanstack/react-table';
|
|
3
|
-
interface TableFooterProps<T extends object> {
|
|
4
|
-
footerGroup: HeaderGroup<T>;
|
|
5
|
-
sticky: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const TableFooter: <T extends object>({ footerGroup, sticky, }: TableFooterProps<T>) => ReactElement;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { HeaderGroup } from '@tanstack/react-table';
|
|
3
|
-
interface TableHeaderProps<T extends object> {
|
|
4
|
-
headerGroup: HeaderGroup<T>;
|
|
5
|
-
sticky: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const TableHeader: <T extends object>({ headerGroup, sticky, }: TableHeaderProps<T>) => ReactElement;
|
|
8
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ColumnDef, RowData } from '@tanstack/react-table';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
export type TableData<TData extends object> = TData & {
|
|
4
|
-
error?: boolean;
|
|
5
|
-
subRows?: TableData<TData>[];
|
|
6
|
-
subContent?: React.ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export type TableColumn<TData extends RowData, TValue = unknown> = ColumnDef<TData, TValue> & {
|
|
9
|
-
className?: string;
|
|
10
|
-
footerColSpan?: number;
|
|
11
|
-
headerAriaLabel?: string;
|
|
12
|
-
headerColSpan?: number;
|
|
13
|
-
iconAlign?: 'left' | 'right';
|
|
14
|
-
sortable?: boolean;
|
|
15
|
-
sticky?: boolean;
|
|
16
|
-
textAlign?: CSSProperties['textAlign'];
|
|
17
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IconName } from '../icon/icon';
|
|
3
|
-
export type ToggleTagSize = 'small' | 'medium';
|
|
4
|
-
export interface ToggleTagValue {
|
|
5
|
-
id?: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ToggleTagProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
size?: ToggleTagSize;
|
|
11
|
-
value: ToggleTagValue;
|
|
12
|
-
iconName?: IconName;
|
|
13
|
-
onClick?(tag: ToggleTagValue): void;
|
|
14
|
-
/**
|
|
15
|
-
* Whether the tag is selected.
|
|
16
|
-
* Can manually set the selected state of the tag, without the need for a click event.
|
|
17
|
-
*/
|
|
18
|
-
selected?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const ToggleTag: import("react").ForwardRefExoticComponent<ToggleTagProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
interface OnScrollParams {
|
|
3
|
-
atStartX: boolean;
|
|
4
|
-
atEndX: boolean;
|
|
5
|
-
}
|
|
6
|
-
interface UseScrollableOptions {
|
|
7
|
-
scrollableElement: RefObject<HTMLElement>;
|
|
8
|
-
scrollByPercent: number;
|
|
9
|
-
onScroll(params: OnScrollParams): void;
|
|
10
|
-
}
|
|
11
|
-
interface UseScrollableReturns {
|
|
12
|
-
scrollToLeft(): void;
|
|
13
|
-
scrollToRight(): void;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Support only horizontal scroll for now
|
|
17
|
-
*/
|
|
18
|
-
export declare function useScrollable({ scrollableElement, scrollByPercent, onScroll, }: UseScrollableOptions): UseScrollableReturns;
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { NoSelfReference } from '../../utility-types';
|
|
2
|
-
import { RefTokens } from './ref-tokens';
|
|
3
|
-
export type AliasTokens =
|
|
4
|
-
/**
|
|
5
|
-
* ACTION
|
|
6
|
-
*/
|
|
7
|
-
'color-action' | 'color-action-hover' | 'color-action-disabled' | 'color-action-destructive' | 'color-action-destructive-hover' | 'color-action-destructive-disabled' | 'color-action-inverse' | 'color-action-inverse-hover' | 'color-action-inverse-disabled'
|
|
8
|
-
/**
|
|
9
|
-
* FEEDBACK
|
|
10
|
-
*/
|
|
11
|
-
| 'color-background-neutral-subtlest' | 'color-background-neutral-subtle' | 'color-background-neutral-bold' | 'color-background-neutral-bold-disabled' | 'color-feedback-background-success-subtle' | 'color-feedback-background-warning-subtle' | 'color-feedback-background-alert-subtle' | 'color-feedback-background-discovery-subtle' | 'color-feedback-background-informative-subtle' | 'color-feedback-background-success-subtlest' | 'color-feedback-background-warning-subtlest' | 'color-feedback-background-alert-subtlest' | 'color-feedback-background-discovery-subtlest' | 'color-feedback-background-informative-subtlest' | 'color-feedback-background-success-bold' | 'color-feedback-background-success-bold-disabled' | 'color-feedback-background-alert-bold' | 'color-feedback-background-warning-bold' | 'color-feedback-background-discovery-bold' | 'color-feedback-background-informative-bold' | 'color-feedback-border-success' | 'color-feedback-border-warning' | 'color-feedback-border-alert' | 'color-feedback-border-discovery' | 'color-feedback-border-informative' | 'color-feedback-content-success' | 'color-feedback-content-warning' | 'color-feedback-content-alert' | 'color-feedback-content-discovery' | 'color-feedback-content-informative'
|
|
12
|
-
/**
|
|
13
|
-
* CONTROL
|
|
14
|
-
*/
|
|
15
|
-
| 'color-control-background' | 'color-control-background-hover' | 'color-control-background-disabled' | 'color-control-background-checked' | 'color-control-background-selected' | 'color-control-border' | 'color-control-border-hover' | 'color-control-border-disabled' | 'color-control-border-selected' | 'color-control-border-checked' | 'color-control-border-error' | 'color-control-value' | 'color-control-value-hover' | 'color-control-value-disabled' | 'color-control-auxiliary' | 'color-control-auxiliary-hover' | 'color-control-auxiliary-disabled' | 'color-control-auxiliary-error' | 'color-control-auxiliary-success' | 'color-control-auxiliary-checked' | 'color-control-auxiliary-selected'
|
|
16
|
-
/**
|
|
17
|
-
* MENU
|
|
18
|
-
*/
|
|
19
|
-
| 'color-menu-background' | 'color-menu-border' | 'color-menu-item-background' | 'color-menu-item-background-hover' | 'color-menu-item-content' | 'color-menu-item-subcontent' | 'color-menu-item-content-hover' | 'color-menu-item-content-disabled'
|
|
20
|
-
/**
|
|
21
|
-
* BRAND
|
|
22
|
-
*/
|
|
23
|
-
| 'color-background-brand-subtle' | 'color-background-brand' | 'color-background-brand-bold' | 'color-background-indicator-selected' | 'color-background-indicator-active' | 'color-border-brand' | 'color-content-brand'
|
|
24
|
-
/**
|
|
25
|
-
* BACKGROUND
|
|
26
|
-
*/
|
|
27
|
-
| 'color-background' | 'color-background-overlay' | 'color-background-isolated' | 'color-background-disabled' | 'color-background-empty' | 'color-background-hover' | 'color-background-selected' | 'color-background-selected-hover' | 'color-backdrop-background'
|
|
28
|
-
/**
|
|
29
|
-
* BORDER
|
|
30
|
-
*/
|
|
31
|
-
| 'color-border' | 'color-border-subtle' | 'color-border-bold' | 'color-border-overlay' | 'color-border-hover' | 'color-border-disabled' | 'color-border-empty' | 'color-border-selected' | 'color-border-inverse' | 'color-border-focus-outside' | 'color-border-focus-inside' | 'color-border-focus-outside-inverse' | 'color-border-focus-inside-inverse'
|
|
32
|
-
/**
|
|
33
|
-
* CONTENT (TEXT & ICONS)
|
|
34
|
-
*/
|
|
35
|
-
| 'color-content' | 'color-content-subtle' | 'color-content-inverse' | 'color-content-disabled' | 'color-content-hover' | 'color-content-selected' | 'color-link-content' | 'color-link-content-visited' | 'color-link-content-disabled' | 'color-link-content-hover'
|
|
36
|
-
/**
|
|
37
|
-
* BOX-SHADOW
|
|
38
|
-
*/
|
|
39
|
-
| 'color-box-shadow';
|
|
40
|
-
export type AliasTokenMap = {
|
|
41
|
-
[Token in AliasTokens]: NoSelfReference<RefTokens | AliasTokens, Token>;
|
|
42
|
-
};
|
|
43
|
-
export declare const defaultAliasTokens: AliasTokenMap;
|
|
44
|
-
export declare function isAliasToken(token: string): token is AliasTokens;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type AccordionTokens = 'accordion-panel-background-color' | 'accordion-panel-border-color' | 'accordion-panel-text-color' | 'accordion-header-background-color' | 'accordion-header-border-color' | 'accordion-header-text-color' | 'accordion-header-hover-background-color' | 'accordion-header-hover-border-color' | 'accordion-header-hover-text-color' | 'accordion-header-disabled-background-color' | 'accordion-header-disabled-border-color' | 'accordion-header-disabled-text-color' | 'accordion-header-disabled-icon-color';
|
|
4
|
-
export type AccordionTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type AccordionTokenMap = {
|
|
6
|
-
[Token in AccordionTokens]: AccordionTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultAccordionTokens: AccordionTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type AvatarTokens = 'avatar-background-color' | 'avatar-text-color';
|
|
4
|
-
export type AvatarTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type AvatarTokenMap = {
|
|
6
|
-
[Token in AvatarTokens]: AvatarTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultAvatarTokens: AvatarTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type BadgeTokens = 'badge-background-color' | 'badge-text-color';
|
|
4
|
-
export type BadgeTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type BadgeTokenMap = {
|
|
6
|
-
[Token in BadgeTokens]: BadgeTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultBadgeTokens: BadgeTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type BentoMenuButtonTokens = 'bento-menu-separator-color';
|
|
4
|
-
export type BentoMenuButtonTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type BentoMenuButtonTokenMap = {
|
|
6
|
-
[Token in BentoMenuButtonTokens]: BentoMenuButtonTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultBentoMenuButtonTokens: BentoMenuButtonTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type BreadcrumbTokens = 'breadcrumb-link-color' | 'breadcrumb-link-hover-color' | 'breadcrumb-link-active-color' | 'breadcrumb-link-disabled-color' | 'breadcrumb-separator-color';
|
|
4
|
-
export type BreadcrumbTokensValue = AliasTokens | RefTokens;
|
|
5
|
-
export type BreadcrumbTokensMap = {
|
|
6
|
-
[Token in BreadcrumbTokens]: BreadcrumbTokensValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultBreadcrumbTokens: BreadcrumbTokensMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ButtonTokens = 'button-primary-background-color' | 'button-primary-border-color' | 'button-primary-text-color' | 'button-primary-hover-background-color' | 'button-primary-hover-border-color' | 'button-primary-hover-text-color' | 'button-primary-disabled-background-color' | 'button-primary-disabled-border-color' | 'button-primary-disabled-text-color' | 'button-primary-inverted-background-color' | 'button-primary-inverted-border-color' | 'button-primary-inverted-text-color' | 'button-primary-inverted-hover-background-color' | 'button-primary-inverted-hover-border-color' | 'button-primary-inverted-hover-text-color' | 'button-primary-inverted-disabled-background-color' | 'button-primary-inverted-disabled-border-color' | 'button-primary-inverted-disabled-text-color' | 'button-secondary-background-color' | 'button-secondary-border-color' | 'button-secondary-text-color' | 'button-secondary-hover-background-color' | 'button-secondary-hover-border-color' | 'button-secondary-hover-text-color' | 'button-secondary-disabled-background-color' | 'button-secondary-disabled-border-color' | 'button-secondary-disabled-text-color' | 'button-secondary-inverted-background-color' | 'button-secondary-inverted-border-color' | 'button-secondary-inverted-text-color' | 'button-secondary-inverted-hover-background-color' | 'button-secondary-inverted-hover-border-color' | 'button-secondary-inverted-hover-text-color' | 'button-secondary-inverted-disabled-background-color' | 'button-secondary-inverted-disabled-border-color' | 'button-secondary-inverted-disabled-text-color' | 'button-tertiary-background-color' | 'button-tertiary-border-color' | 'button-tertiary-text-color' | 'button-tertiary-hover-background-color' | 'button-tertiary-hover-border-color' | 'button-tertiary-hover-text-color' | 'button-tertiary-disabled-background-color' | 'button-tertiary-disabled-border-color' | 'button-tertiary-disabled-text-color' | 'button-tertiary-inverted-background-color' | 'button-tertiary-inverted-border-color' | 'button-tertiary-inverted-text-color' | 'button-tertiary-inverted-hover-background-color' | 'button-tertiary-inverted-hover-border-color' | 'button-tertiary-inverted-hover-text-color' | 'button-tertiary-inverted-disabled-background-color' | 'button-tertiary-inverted-disabled-border-color' | 'button-tertiary-inverted-disabled-text-color' | 'button-destructive-primary-background-color' | 'button-destructive-primary-border-color' | 'button-destructive-primary-text-color' | 'button-destructive-primary-hover-background-color' | 'button-destructive-primary-hover-border-color' | 'button-destructive-primary-hover-text-color' | 'button-destructive-primary-disabled-background-color' | 'button-destructive-primary-disabled-border-color' | 'button-destructive-primary-disabled-text-color' | 'button-destructive-primary-inverted-background-color' | 'button-destructive-primary-inverted-border-color' | 'button-destructive-primary-inverted-text-color' | 'button-destructive-primary-inverted-hover-background-color' | 'button-destructive-primary-inverted-hover-border-color' | 'button-destructive-primary-inverted-hover-text-color' | 'button-destructive-primary-inverted-disabled-background-color' | 'button-destructive-primary-inverted-disabled-border-color' | 'button-destructive-primary-inverted-disabled-text-color' | 'button-destructive-secondary-background-color' | 'button-destructive-secondary-border-color' | 'button-destructive-secondary-text-color' | 'button-destructive-secondary-hover-background-color' | 'button-destructive-secondary-hover-border-color' | 'button-destructive-secondary-hover-text-color' | 'button-destructive-secondary-disabled-background-color' | 'button-destructive-secondary-disabled-border-color' | 'button-destructive-secondary-disabled-text-color' | 'button-destructive-secondary-inverted-background-color' | 'button-destructive-secondary-inverted-border-color' | 'button-destructive-secondary-inverted-text-color' | 'button-destructive-secondary-inverted-hover-background-color' | 'button-destructive-secondary-inverted-hover-border-color' | 'button-destructive-secondary-inverted-hover-text-color' | 'button-destructive-secondary-inverted-disabled-background-color' | 'button-destructive-secondary-inverted-disabled-border-color' | 'button-destructive-secondary-inverted-disabled-text-color' | 'button-destructive-tertiary-background-color' | 'button-destructive-tertiary-border-color' | 'button-destructive-tertiary-text-color' | 'button-destructive-tertiary-hover-background-color' | 'button-destructive-tertiary-hover-border-color' | 'button-destructive-tertiary-hover-text-color' | 'button-destructive-tertiary-disabled-background-color' | 'button-destructive-tertiary-disabled-border-color' | 'button-destructive-tertiary-disabled-text-color' | 'button-destructive-tertiary-inverted-background-color' | 'button-destructive-tertiary-inverted-border-color' | 'button-destructive-tertiary-inverted-text-color' | 'button-destructive-tertiary-inverted-hover-background-color' | 'button-destructive-tertiary-inverted-hover-border-color' | 'button-destructive-tertiary-inverted-hover-text-color' | 'button-destructive-tertiary-inverted-disabled-background-color' | 'button-destructive-tertiary-inverted-disabled-border-color' | 'button-destructive-tertiary-inverted-disabled-text-color' | 'button-input-background-color' | 'button-input-border-color' | 'button-input-text-color' | 'button-input-hover-background-color' | 'button-input-hover-border-color' | 'button-input-hover-text-color' | 'button-input-disabled-background-color' | 'button-input-disabled-border-color' | 'button-input-disabled-text-color';
|
|
4
|
-
export type ButtonTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ButtonTokenMap = {
|
|
6
|
-
[Token in ButtonTokens]: ButtonTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultButtonTokens: ButtonTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type CardTokens = 'card-background-color' | 'card-border-color' | 'card-link-border-color' | 'card-text-color' | 'card-box-shadow-color' | 'card-link-hover-background-color' | 'card-link-hover-border-color';
|
|
4
|
-
export type CardTokensValue = AliasTokens | RefTokens;
|
|
5
|
-
export type CardTokensMap = {
|
|
6
|
-
[Token in CardTokens]: CardTokensValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultCardTokens: CardTokensMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type CarouselTokens = 'carousel-dot-selected-background-color' | 'carousel-dot-unselected-background-color' | 'carousel-dot-border-color';
|
|
4
|
-
export type CarouselTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type CarouselTokenMap = {
|
|
6
|
-
[Token in CarouselTokens]: CarouselTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultCarouselTokens: CarouselTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type CheckboxTokens = 'checkbox-checked-icon-color' | 'checkbox-disabled-background-color' | 'checkbox-unchecked-background-color' | 'checkbox-disabled-border-color' | 'checkbox-unchecked-border-color' | 'checkbox-hover-border-color' | 'checkbox-hover-background-color' | 'checkbox-checked-border-color' | 'checkbox-checked-background-color' | 'checkbox-error-border-color';
|
|
4
|
-
export type CheckboxTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type CheckboxTokenMap = {
|
|
6
|
-
[Token in CheckboxTokens]: CheckboxTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultCheckboxTokens: CheckboxTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ChooserTokens = 'chooser-background-color' | 'chooser-border-color' | 'chooser-text-color' | 'chooser-disabled-background-color' | 'chooser-disabled-border-color' | 'chooser-disabled-text-color' | 'chooser-hover-background-color' | 'chooser-hover-border-color' | 'chooser-hover-text-color' | 'chooser-selected-text-color' | 'chooser-selected-background-color' | 'chooser-selected-border-color';
|
|
4
|
-
export type ChooserTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ChooserTokenMap = {
|
|
6
|
-
[Token in ChooserTokens]: ChooserTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultChooserTokens: ChooserTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ComboboxTokens = 'combobox-background-color' | 'combobox-disabled-background-color' | 'combobox-border-color' | 'combobox-disabled-border-color' | 'combobox-error-border-color' | 'combobox-disabled-text-color' | 'combobox-placeholder-text-color' | 'combobox-clear-button-icon-color' | 'combobox-clear-button-disabled-icon-color' | 'combobox-clear-button-border-right-color' | 'combobox-arrow-button-background-color' | 'combobox-arrow-button-hover-background-color' | 'combobox-arrow-button-icon-color' | 'combobox-arrow-button-disabled-icon-color';
|
|
4
|
-
export type ComboboxTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ComboboxTokenMap = {
|
|
6
|
-
[Token in ComboboxTokens]: ComboboxTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultComboboxTokens: ComboboxTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type DatepickerTokens = 'datepicker-border-color' | 'datepicker-box-shadow-color' | 'datepicker-day-border-color' | 'datepicker-day-hover-background-color' | 'datepicker-day-disabled-text-color' | 'datepicker-day-outside-month-text-color' | 'datepicker-day-background-color' | 'datepicker-day-text-color' | 'datepicker-day-selected-outside-month-background-color' | 'datepicker-day-selected-outside-month-border-color' | 'datepicker-day-selected-outside-month-text-color' | 'datepicker-day-selected-background-color' | 'datepicker-day-selected-border-color' | 'datepicker-day-selected-text-color' | 'datepicker-day-today-text-color' | 'datepicker-header-background-color' | 'datepicker-background-color';
|
|
4
|
-
export type DatepickerTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type DatepickerTokenMap = {
|
|
6
|
-
[Token in DatepickerTokens]: DatepickerTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultDatepickerTokens: DatepickerTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type DropdownListTokens = 'dropdown-list-input-background-color' | 'dropdown-list-input-disabled-background-color' | 'dropdown-list-input-border-color' | 'dropdown-list-input-disabled-border-color' | 'dropdown-list-input-error-border-color' | 'dropdown-list-input-disabled-text-color' | 'dropdown-list-input-icon-color' | 'dropdown-list-arrow-color' | 'dropdown-list-arrow-disabled-color';
|
|
4
|
-
export type DropdownListTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type DropdownListTokenMap = {
|
|
6
|
-
[Token in DropdownListTokens]: DropdownListTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultDropdownListTokens: DropdownListTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type DropdownMenuTokens = 'dropdown-menu-border-color' | 'dropdown-menu-background-color' | 'dropdown-menu-text-color' | 'dropdown-menu-nav-item-text-color' | 'dropdown-menu-nav-item-hover-background-color' | 'dropdown-menu-nav-item-disabled-background-color' | 'dropdown-menu-nav-item-disabled-text-color' | 'dropdown-menu-nav-item-disabled-icon-color' | 'dropdown-menu-nav-item-external-link-icon-color' | 'dropdown-menu-nav-item-external-link-text-color' | 'dropdown-menu-list-item-text-color' | 'dropdown-menu-external-item-text-color' | 'dropdown-menu-external-item-hover-background-color' | 'dropdown-menu-external-item-visited-text-color' | 'dropdown-menu-external-item-visited-icon-color' | 'dropdown-menu-external-item-disabled-text-color' | 'dropdown-menu-group-border-color' | 'dropdown-menu-item-content-icon-background-color' | 'dropdown-menu-item-content-icon-border-color' | 'dropdown-menu-item-content-description-text-color' | 'dropdown-menu-box-shadow-color';
|
|
4
|
-
export type DropdownMenuTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type DropdownMenuTokenMap = {
|
|
6
|
-
[Token in DropdownMenuTokens]: DropdownMenuTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultDropdownMenuTokens: DropdownMenuTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type FieldTokens = 'field-error-text-color' | 'field-hint-text-color' | 'field-input-border-color' | 'field-input-error-border-color';
|
|
4
|
-
export type FieldTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type FieldTokenMap = {
|
|
6
|
-
[Token in FieldTokens]: FieldTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultFieldTokens: FieldTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type FocusTokens = 'focus-inside-border-color' | 'focus-inverted-inside-border-color' | 'focus-outside-border-color' | 'focus-inverted-outside-border-color';
|
|
4
|
-
export type FocusTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type FocusTokenMap = {
|
|
6
|
-
[Token in FocusTokens]: FocusTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultFocusTokens: FocusTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type GlobalBannerTokens = 'global-banner-neutral-background-color' | 'global-banner-neutral-text-color' | 'global-banner-neutral-action-button-border-color' | 'global-banner-neutral-action-button-text-color' | 'global-banner-neutral-action-button-hover-border-color' | 'global-banner-neutral-action-button-hover-text-color' | 'global-banner-alert-background-color' | 'global-banner-alert-text-color' | 'global-banner-alert-action-button-border-color' | 'global-banner-alert-action-button-text-color' | 'global-banner-alert-action-button-hover-border-color' | 'global-banner-alert-action-button-hover-text-color' | 'global-banner-discovery-background-color' | 'global-banner-discovery-text-color' | 'global-banner-discovery-action-button-border-color' | 'global-banner-discovery-action-button-text-color' | 'global-banner-discovery-action-button-hover-border-color' | 'global-banner-discovery-action-button-hover-text-color' | 'global-banner-warning-background-color' | 'global-banner-warning-text-color' | 'global-banner-warning-action-button-border-color' | 'global-banner-warning-action-button-text-color' | 'global-banner-warning-action-button-hover-border-color' | 'global-banner-warning-action-button-hover-text-color';
|
|
4
|
-
export type GlobalBannerTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type GlobalBannerTokenMap = {
|
|
6
|
-
[Token in GlobalBannerTokens]: GlobalBannerTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultGlobalBannerTokens: GlobalBannerTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type GlobalHeaderTokens = 'global-header-background-color' | 'global-header-logo-title-separator-color' | 'global-header-content-text-color' | 'global-header-logo-content-text-color';
|
|
4
|
-
export type GlobalHeaderTokensValue = AliasTokens | RefTokens;
|
|
5
|
-
export type GlobalHeaderTokensMap = {
|
|
6
|
-
[Token in GlobalHeaderTokens]: GlobalHeaderTokensValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultGlobalHeaderTokens: GlobalHeaderTokensMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type GlobalNavigationTokens = 'global-navigation-background-color' | 'global-navigation-box-shadow-color' | 'global-navigation-item-text-color' | 'global-navigation-item-hover-text-color' | 'global-navigation-item-hover-background-color' | 'global-navigation-item-selected-background-color' | 'global-navigation-item-selected-text-color' | 'global-navigation-separator-border-color';
|
|
4
|
-
export type GlobalNavigationTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type GlobalNavigationTokenMap = {
|
|
6
|
-
[Token in GlobalNavigationTokens]: GlobalNavigationTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultGlobalNavigationTokens: GlobalNavigationTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type HeadingTokens = 'heading-text-color' | 'heading-subtitle-text-color';
|
|
4
|
-
export type HeadingTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type HeadingTokenMap = {
|
|
6
|
-
[Token in HeadingTokens]: HeadingTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultHeadingTokens: HeadingTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type LabelTokens = 'label-text-color';
|
|
4
|
-
export type LabelTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type LabelTokenMap = {
|
|
6
|
-
[Token in LabelTokens]: LabelTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultLabelTokens: LabelTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type LegendTokens = 'legend-item-bullet-color' | 'legend-item-description-text-color';
|
|
4
|
-
export type LegendTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type LegendTokenMap = {
|
|
6
|
-
[Token in LegendTokens]: LegendTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultLegendTokens: LegendTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type LinkTokens = 'external-link-visited-text-color' | 'skip-link-text-color' | 'skip-link-background-color' | 'route-link-text-color' | 'route-link-disabled-text-color' | 'route-link-hover-text-color' | 'route-link-visited-text-color';
|
|
4
|
-
export type LinkTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type LinkTokenMap = {
|
|
6
|
-
[Token in LinkTokens]: LinkTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultLinkTokens: LinkTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ListboxTokens = 'listbox-background-color' | 'listbox-border-color' | 'listbox-item-text-color' | 'listbox-item-disabled-background-color' | 'listbox-item-disabled-text-color' | 'listbox-item-hover-background-color' | 'listbox-item-subcontent-text-color' | 'listbox-item-subcontent-disabled-text-color' | 'listbox-box-shadow-depth-color';
|
|
4
|
-
export type ListboxTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ListboxTokenMap = {
|
|
6
|
-
[Token in ListboxTokens]: ListboxTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultListboxTokens: ListboxTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type LozengeTokens = 'lozenge-neutral-background-color' | 'lozenge-neutral-border-color' | 'lozenge-neutral-text-color' | 'lozenge-neutral-subtle-background-color' | 'lozenge-neutral-subtle-border-color' | 'lozenge-neutral-subtle-text-color' | 'lozenge-info-background-color' | 'lozenge-info-border-color' | 'lozenge-info-text-color' | 'lozenge-info-subtle-background-color' | 'lozenge-info-subtle-border-color' | 'lozenge-info-subtle-text-color' | 'lozenge-success-background-color' | 'lozenge-success-border-color' | 'lozenge-success-text-color' | 'lozenge-success-subtle-background-color' | 'lozenge-success-subtle-border-color' | 'lozenge-success-subtle-text-color' | 'lozenge-discovery-background-color' | 'lozenge-discovery-border-color' | 'lozenge-discovery-text-color' | 'lozenge-discovery-subtle-background-color' | 'lozenge-discovery-subtle-border-color' | 'lozenge-discovery-subtle-text-color' | 'lozenge-alert-background-color' | 'lozenge-alert-border-color' | 'lozenge-alert-text-color' | 'lozenge-alert-subtle-background-color' | 'lozenge-alert-subtle-border-color' | 'lozenge-alert-subtle-text-color' | 'lozenge-warning-background-color' | 'lozenge-warning-border-color' | 'lozenge-warning-text-color' | 'lozenge-warning-subtle-background-color' | 'lozenge-warning-subtle-border-color' | 'lozenge-warning-subtle-text-color';
|
|
4
|
-
export type LozengeTokensValue = AliasTokens | RefTokens;
|
|
5
|
-
export type LozengeTokensMap = {
|
|
6
|
-
[Token in LozengeTokens]: LozengeTokensValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultLozengeTokens: LozengeTokensMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type MenuTokens = 'menu-background-color' | 'menu-border-color' | 'menu-box-shadow-color' | 'menu-submenu-background-color' | 'menu-submenu-border-color' | 'menu-submenu-box-shadow-color' | 'menu-item-text-color' | 'menu-item-hover-text-color' | 'menu-item-icon-color' | 'menu-item-hover-icon-color' | 'menu-item-hover-background-color' | 'menu-item-disabled-text-color' | 'menu-group-text-color';
|
|
4
|
-
export type MenuTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type MenuTokenMap = {
|
|
6
|
-
[Token in MenuTokens]: MenuTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultMenuTokens: MenuTokenMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AliasTokens } from '../alias-tokens';
|
|
2
|
-
import { RefTokens } from '../ref-tokens';
|
|
3
|
-
export type ModalTokens = 'modal-background-color' | 'modal-border-color' | 'modal-backdrop-background-color';
|
|
4
|
-
export type ModalTokenValue = AliasTokens | RefTokens;
|
|
5
|
-
export type ModalTokenMap = {
|
|
6
|
-
[Token in ModalTokens]: ModalTokenValue;
|
|
7
|
-
};
|
|
8
|
-
export declare const defaultModalTokens: ModalTokenMap;
|