@atlaskit/tokens 1.2.15 → 1.2.16

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.
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  var name = "@atlaskit/tokens";
4
- var version = "1.2.15";
4
+ var version = "1.2.16";
5
5
  /**
6
6
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
7
7
  * resulting CSS Custom Property.
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
4
4
  var name = "@atlaskit/tokens";
5
- var version = "1.2.15";
5
+ var version = "1.2.16";
6
6
  /**
7
7
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
8
8
  * This should be used to implement design decisions throughout your application.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1,15 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ *
4
+ * Auto-generated list of token pairings that may need to have sufficient contrast.
5
+ * Not currently used by tests, but is used by the custom theme contrast checker example
6
+ *
7
+ * @codegen <<SignedSource::349f00c184fe40bca26982001eabb94c>>
8
+ * @codegenCommand yarn build tokens
9
+ */
10
+ export declare const generatedPairs: {
11
+ foreground: string;
12
+ background: string;
13
+ desiredContrast: number;
14
+ }[];
15
+ export default generatedPairs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "Design tokens are the single source of truth to name and store design decisions.",
6
6
  "license": "Apache-2.0",
@@ -75,21 +75,25 @@
75
75
  "@atlaskit/dynamic-table": "^14.8.0",
76
76
  "@atlaskit/empty-state": "^7.4.0",
77
77
  "@atlaskit/focus-ring": "^1.2.0",
78
- "@atlaskit/grid": "^0.8.0",
78
+ "@atlaskit/grid": "^0.8.7",
79
79
  "@atlaskit/heading": "^1.2.0",
80
80
  "@atlaskit/icon": "^21.11.0",
81
81
  "@atlaskit/lozenge": "^11.3.0",
82
82
  "@atlaskit/modal-dialog": "^12.4.0",
83
83
  "@atlaskit/primitives": "^0.8.0",
84
84
  "@atlaskit/section-message": "^6.3.0",
85
+ "@atlaskit/select": "^16.1.0",
85
86
  "@atlaskit/tabs": "^13.3.0",
86
87
  "@atlaskit/tag": "^11.4.0",
88
+ "@atlaskit/textarea": "^4.5.6",
87
89
  "@atlaskit/textfield": "^5.3.0",
88
90
  "@atlaskit/theme": "^12.4.0",
89
91
  "@atlaskit/toggle": "^12.5.0",
90
92
  "@atlaskit/tooltip": "^17.7.0",
93
+ "@atlaskit/visual-regression": "*",
91
94
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
92
95
  "@atlassian/codegen": "^0.0.1",
96
+ "@atlassian/feature-flags-test-utils": "*",
93
97
  "@babel/core": "^7.12.3",
94
98
  "@emotion/core": "^10.0.9",
95
99
  "@emotion/react": "^11.7.1",
@@ -97,7 +101,9 @@
97
101
  "@testing-library/react": "^12.1.5",
98
102
  "@testing-library/react-hooks": "^8.0.1",
99
103
  "@testing-library/user-event": "^14.4.3",
104
+ "@types/chroma-js": "^2.4.0",
100
105
  "@types/chrome": "^0.0.171",
106
+ "chroma-js": "^2.4.2",
101
107
  "copy-webpack-plugin": "^6.4.0",
102
108
  "echarts": "^5.4.1",
103
109
  "echarts-for-react": "^3.0.2",