@atlaskit/tokens 9.0.0 → 9.1.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/CHANGELOG.md
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export { default as getGlobalTheme } from './get-global-theme';
|
|
|
12
12
|
export { themeStringToObject, themeObjectToString } from './theme-state-transformer';
|
|
13
13
|
export type { CSSToken } from './artifacts/token-names';
|
|
14
14
|
export type { ActiveTokens } from './artifacts/types';
|
|
15
|
-
export type { ThemeColorModes, Themes, ThemeFileNames, ThemeIds, ThemeOptionsSchema, ThemeState, ActiveThemeState, } from './theme-config';
|
|
15
|
+
export type { ThemeColorModes, ThemeContrastModes, Themes, ThemeFileNames, ThemeIds, ThemeOptionsSchema, ThemeState, ActiveThemeState, } from './theme-config';
|
|
16
16
|
export type { FontFamilyToken, FontWeightToken, Groups, OpacityToken, PaintToken, RawToken, ShadowToken, SpacingToken, ShapeToken, TypographyToken, } from './types';
|
|
17
17
|
export { CURRENT_SURFACE_CSS_VAR } from './constants';
|
|
@@ -34,7 +34,7 @@ export type DataColorModes = Exclude<ThemeColorModes, 'auto'>;
|
|
|
34
34
|
* Contrast preferences: The system contrast preference
|
|
35
35
|
*/
|
|
36
36
|
declare const themeContrastModes: readonly ["more", "no-preference", "auto"];
|
|
37
|
-
type ThemeContrastModes = (typeof themeContrastModes)[number];
|
|
37
|
+
export type ThemeContrastModes = (typeof themeContrastModes)[number];
|
|
38
38
|
export type DataContrastModes = 'more' | 'no-preference' | 'auto';
|
|
39
39
|
/**
|
|
40
40
|
* Theme ids: The value that will be mounted to the DOM as a data attr
|
|
@@ -12,6 +12,6 @@ export { default as getGlobalTheme } from './get-global-theme';
|
|
|
12
12
|
export { themeStringToObject, themeObjectToString } from './theme-state-transformer';
|
|
13
13
|
export type { CSSToken } from './artifacts/token-names';
|
|
14
14
|
export type { ActiveTokens } from './artifacts/types';
|
|
15
|
-
export type { ThemeColorModes, Themes, ThemeFileNames, ThemeIds, ThemeOptionsSchema, ThemeState, ActiveThemeState, } from './theme-config';
|
|
15
|
+
export type { ThemeColorModes, ThemeContrastModes, Themes, ThemeFileNames, ThemeIds, ThemeOptionsSchema, ThemeState, ActiveThemeState, } from './theme-config';
|
|
16
16
|
export type { FontFamilyToken, FontWeightToken, Groups, OpacityToken, PaintToken, RawToken, ShadowToken, SpacingToken, ShapeToken, TypographyToken, } from './types';
|
|
17
17
|
export { CURRENT_SURFACE_CSS_VAR } from './constants';
|
|
@@ -42,7 +42,7 @@ declare const themeContrastModes: readonly [
|
|
|
42
42
|
"no-preference",
|
|
43
43
|
"auto"
|
|
44
44
|
];
|
|
45
|
-
type ThemeContrastModes = (typeof themeContrastModes)[number];
|
|
45
|
+
export type ThemeContrastModes = (typeof themeContrastModes)[number];
|
|
46
46
|
export type DataContrastModes = 'more' | 'no-preference' | 'auto';
|
|
47
47
|
/**
|
|
48
48
|
* Theme ids: The value that will be mounted to the DOM as a data attr
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Design tokens are the single source of truth to name and store design decisions.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
"@atlaskit/avatar": "^25.6.0",
|
|
47
47
|
"@atlaskit/button": "^23.9.0",
|
|
48
48
|
"@atlaskit/calendar": "^17.2.0",
|
|
49
|
-
"@atlaskit/checkbox": "^17.
|
|
49
|
+
"@atlaskit/checkbox": "^17.3.0",
|
|
50
50
|
"@atlaskit/code": "^17.4.0",
|
|
51
51
|
"@atlaskit/css": "^0.19.0",
|
|
52
52
|
"@atlaskit/docs": "^11.2.0",
|
|
53
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
53
|
+
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
54
54
|
"@atlaskit/dynamic-table": "^18.3.0",
|
|
55
|
-
"@atlaskit/form": "^15.
|
|
55
|
+
"@atlaskit/form": "^15.2.0",
|
|
56
56
|
"@atlaskit/grid": "^0.18.0",
|
|
57
57
|
"@atlaskit/heading": "^5.2.0",
|
|
58
58
|
"@atlaskit/icon": "^29.3.0",
|
|
59
59
|
"@atlaskit/inline-message": "^15.5.0",
|
|
60
|
-
"@atlaskit/link": "^3.
|
|
61
|
-
"@atlaskit/lozenge": "^13.
|
|
62
|
-
"@atlaskit/popup": "^4.
|
|
60
|
+
"@atlaskit/link": "^3.3.0",
|
|
61
|
+
"@atlaskit/lozenge": "^13.3.0",
|
|
62
|
+
"@atlaskit/popup": "^4.11.0",
|
|
63
63
|
"@atlaskit/primitives": "^17.0.0",
|
|
64
|
-
"@atlaskit/radio": "^8.
|
|
64
|
+
"@atlaskit/radio": "^8.4.0",
|
|
65
65
|
"@atlaskit/section-message": "^8.11.0",
|
|
66
66
|
"@atlaskit/select": "^21.6.0",
|
|
67
67
|
"@atlaskit/tag": "^14.2.0",
|