@atlaskit/tokens 1.44.1 → 1.45.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.
Files changed (74) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
  3. package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
  4. package/dist/cjs/artifacts/generated-pairs.js +2 -2
  5. package/dist/cjs/artifacts/theme-import-map.js +1 -13
  6. package/dist/cjs/artifacts/themes/atlassian-dark.js +2 -2
  7. package/dist/cjs/artifacts/themes/atlassian-light.js +2 -2
  8. package/dist/cjs/artifacts/token-default-values.js +2 -2
  9. package/dist/cjs/artifacts/token-names.js +1 -1
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3 -3
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3 -3
  12. package/dist/cjs/get-token-value.js +1 -3
  13. package/dist/cjs/get-token.js +1 -3
  14. package/dist/cjs/theme-config.js +1 -21
  15. package/dist/cjs/utils/get-theme-preferences.js +0 -11
  16. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
  17. package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
  18. package/dist/es2019/artifacts/generated-pairs.js +2 -2
  19. package/dist/es2019/artifacts/theme-import-map.js +1 -5
  20. package/dist/es2019/artifacts/themes/atlassian-dark.js +2 -2
  21. package/dist/es2019/artifacts/themes/atlassian-light.js +2 -2
  22. package/dist/es2019/artifacts/token-default-values.js +2 -2
  23. package/dist/es2019/artifacts/token-names.js +1 -1
  24. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3 -3
  25. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3 -3
  26. package/dist/es2019/get-token-value.js +1 -3
  27. package/dist/es2019/get-token.js +1 -3
  28. package/dist/es2019/theme-config.js +1 -21
  29. package/dist/es2019/utils/get-theme-preferences.js +0 -13
  30. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -1
  31. package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -1
  32. package/dist/esm/artifacts/generated-pairs.js +2 -2
  33. package/dist/esm/artifacts/theme-import-map.js +1 -9
  34. package/dist/esm/artifacts/themes/atlassian-dark.js +2 -2
  35. package/dist/esm/artifacts/themes/atlassian-light.js +2 -2
  36. package/dist/esm/artifacts/token-default-values.js +2 -2
  37. package/dist/esm/artifacts/token-names.js +1 -1
  38. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3 -3
  39. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3 -3
  40. package/dist/esm/get-token-value.js +1 -3
  41. package/dist/esm/get-token.js +1 -3
  42. package/dist/esm/theme-config.js +1 -21
  43. package/dist/esm/utils/get-theme-preferences.js +0 -11
  44. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +1 -1
  45. package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +1 -1
  46. package/dist/types/artifacts/generated-pairs.d.ts +1 -1
  47. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  48. package/dist/types/artifacts/themes/atlassian-dark.d.ts +2 -2
  49. package/dist/types/artifacts/themes/atlassian-light.d.ts +2 -2
  50. package/dist/types/artifacts/token-default-values.d.ts +2 -2
  51. package/dist/types/artifacts/token-names.d.ts +1 -1
  52. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  53. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  54. package/dist/types/artifacts/types-internal.d.ts +1 -1
  55. package/dist/types/artifacts/types.d.ts +1 -1
  56. package/dist/types/entry-points/css-type-schema.codegen.d.ts +1 -1
  57. package/dist/types/theme-config.d.ts +3 -3
  58. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +1 -1
  59. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +1 -1
  60. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
  61. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  62. package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +2 -2
  63. package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +2 -2
  64. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +2 -2
  65. package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -1
  66. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  67. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  68. package/dist/types-ts4.5/artifacts/types-internal.d.ts +1 -1
  69. package/dist/types-ts4.5/artifacts/types.d.ts +1 -1
  70. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +1 -1
  71. package/dist/types-ts4.5/theme-config.d.ts +2 -6
  72. package/figma/atlassian-dark.json +1 -1
  73. package/figma/atlassian-light.json +1 -1
  74. package/package.json +3 -6
@@ -14,7 +14,7 @@ export type ThemeFileNames = Themes;
14
14
  * theme files/folders are called. style-dictionary will attempt to locate these in the file-system.
15
15
  * Theme overrides are temporary and there may not be any defined at times.
16
16
  */
17
- export type ThemeOverrides = 'atlassian-light-new-input-border' | 'atlassian-dark-new-input-border';
17
+ export type ThemeOverrides = Themes;
18
18
  /**
19
19
  * Theme kinds: The type of theme.
20
20
  * Some themes are entirely focused on Color, whilst others are purely focused on spacing.
@@ -70,8 +70,6 @@ export type ThemeIds = (typeof themeIds)[number];
70
70
  * Theme overrides are temporary and there may not be any defined at times.
71
71
  */
72
72
  export declare const themeOverrideIds: readonly [
73
- "light-new-input-border",
74
- "dark-new-input-border"
75
73
  ];
76
74
  export type ThemeOverrideIds = (typeof themeOverrideIds)[number];
77
75
  export declare const themeIdsWithOverrides: readonly [
@@ -86,9 +84,7 @@ export declare const themeIdsWithOverrides: readonly [
86
84
  "spacing",
87
85
  "shape",
88
86
  "typography-adg3",
89
- "typography-minor3",
90
- "light-new-input-border",
91
- "dark-new-input-border"
87
+ "typography-minor3"
92
88
  ];
93
89
  export type ThemeIdsWithOverrides = (typeof themeIdsWithOverrides)[number];
94
90
  /**
@@ -656,7 +656,7 @@
656
656
  "introduced": "0.6.0",
657
657
  "description": "Use for borders of form UI elements, such as text fields, checkboxes, and radio buttons."
658
658
  },
659
- "value": "#A6C5E229"
659
+ "value": "#738496"
660
660
  },
661
661
  "Dark/color.border.inverse": {
662
662
  "attributes": {
@@ -656,7 +656,7 @@
656
656
  "introduced": "0.6.0",
657
657
  "description": "Use for borders of form UI elements, such as text fields, checkboxes, and radio buttons."
658
658
  },
659
- "value": "#091E4224"
659
+ "value": "#8590A2"
660
660
  },
661
661
  "Light/color.border.inverse": {
662
662
  "attributes": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.44.1",
3
+ "version": "1.45.1",
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/"
@@ -48,8 +48,8 @@
48
48
  "@af/accessibility-testing": "*",
49
49
  "@af/formatting": "*",
50
50
  "@atlaskit/calendar": "^14.2.0",
51
- "@atlaskit/checkbox": "^13.2.0",
52
- "@atlaskit/radio": "^6.2.0",
51
+ "@atlaskit/checkbox": "^13.3.0",
52
+ "@atlaskit/radio": "^6.3.0",
53
53
  "@atlaskit/tooltip": "^18.3.0",
54
54
  "@atlaskit/visual-regression": "*",
55
55
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -127,9 +127,6 @@
127
127
  "./css-type-schema": "./src/entry-points/css-type-schema.codegen.tsx"
128
128
  },
129
129
  "platform-feature-flags": {
130
- "platform.design-system-team.border-checkbox_nyoiu": {
131
- "type": "boolean"
132
- },
133
130
  "platform.design-system-team.increased-contrast-themes": {
134
131
  "type": "boolean"
135
132
  }