@atlaskit/primitives 0.15.2 → 0.15.3
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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +6 -6
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +6 -6
- package/dist/esm/version.json +1 -1
- package/dist/esm/xcss/style-maps.partial.js +6 -6
- package/dist/types/xcss/style-maps.partial.d.ts +6 -6
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +6 -6
- package/package.json +3 -17
- package/report.api.md +2 -2
- package/tmp/api-report-tmp.d.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
|
@@ -60,11 +60,11 @@ exports.spaceMap = spaceMap;
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
63
|
-
* @codegen <<SignedSource::
|
|
63
|
+
* @codegen <<SignedSource::65b57f72ff07d4c4245a3eafe8cef786>>
|
|
64
64
|
* @codegenId colors
|
|
65
65
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
66
66
|
* @codegenParams ["border", "background", "shadow", "text", "fill"]
|
|
67
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
67
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::efb3dfea27ab3db2fb3756ed9657c5cb>>
|
|
68
68
|
*/
|
|
69
69
|
var borderColorMap = {
|
|
70
70
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -303,17 +303,17 @@ exports.layerMap = layerMap;
|
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
306
|
-
* @codegen <<SignedSource::
|
|
306
|
+
* @codegen <<SignedSource::ffa10f95df2d9bbc0f5d91f9d19b9a69>>
|
|
307
307
|
* @codegenId border
|
|
308
308
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
309
309
|
* @codegenParams ["width", "radius"]
|
|
310
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
310
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::25105916a589322f57c322068cb0074a>>
|
|
311
311
|
*/
|
|
312
312
|
var borderWidthMap = {
|
|
313
313
|
'border.width': "var(--ds-border-width, 1px)",
|
|
314
314
|
'border.width.0': "var(--ds-border-width-0, 0px)",
|
|
315
|
-
'border.width.
|
|
316
|
-
'border.width.
|
|
315
|
+
'border.width.indicator': "var(--ds-border-width-indicator, 3px)",
|
|
316
|
+
'border.width.outline': "var(--ds-border-width-outline, 2px)"
|
|
317
317
|
};
|
|
318
318
|
exports.borderWidthMap = borderWidthMap;
|
|
319
319
|
var borderRadiusMap = {
|
package/dist/es2019/version.json
CHANGED
|
@@ -48,11 +48,11 @@ export const spaceMap = {
|
|
|
48
48
|
*/
|
|
49
49
|
/**
|
|
50
50
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
51
|
-
* @codegen <<SignedSource::
|
|
51
|
+
* @codegen <<SignedSource::65b57f72ff07d4c4245a3eafe8cef786>>
|
|
52
52
|
* @codegenId colors
|
|
53
53
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
54
54
|
* @codegenParams ["border", "background", "shadow", "text", "fill"]
|
|
55
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
55
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::efb3dfea27ab3db2fb3756ed9657c5cb>>
|
|
56
56
|
*/
|
|
57
57
|
export const borderColorMap = {
|
|
58
58
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -283,17 +283,17 @@ export const layerMap = {
|
|
|
283
283
|
*/
|
|
284
284
|
/**
|
|
285
285
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
286
|
-
* @codegen <<SignedSource::
|
|
286
|
+
* @codegen <<SignedSource::ffa10f95df2d9bbc0f5d91f9d19b9a69>>
|
|
287
287
|
* @codegenId border
|
|
288
288
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
289
289
|
* @codegenParams ["width", "radius"]
|
|
290
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
290
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::25105916a589322f57c322068cb0074a>>
|
|
291
291
|
*/
|
|
292
292
|
export const borderWidthMap = {
|
|
293
293
|
'border.width': "var(--ds-border-width, 1px)",
|
|
294
294
|
'border.width.0': "var(--ds-border-width-0, 0px)",
|
|
295
|
-
'border.width.
|
|
296
|
-
'border.width.
|
|
295
|
+
'border.width.indicator': "var(--ds-border-width-indicator, 3px)",
|
|
296
|
+
'border.width.outline': "var(--ds-border-width-outline, 2px)"
|
|
297
297
|
};
|
|
298
298
|
export const borderRadiusMap = {
|
|
299
299
|
'border.radius.050': "var(--ds-border-radius-050, 2px)",
|
package/dist/esm/version.json
CHANGED
|
@@ -49,11 +49,11 @@ export var spaceMap = {
|
|
|
49
49
|
*/
|
|
50
50
|
/**
|
|
51
51
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
52
|
-
* @codegen <<SignedSource::
|
|
52
|
+
* @codegen <<SignedSource::65b57f72ff07d4c4245a3eafe8cef786>>
|
|
53
53
|
* @codegenId colors
|
|
54
54
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
55
55
|
* @codegenParams ["border", "background", "shadow", "text", "fill"]
|
|
56
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
56
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::efb3dfea27ab3db2fb3756ed9657c5cb>>
|
|
57
57
|
*/
|
|
58
58
|
export var borderColorMap = {
|
|
59
59
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -284,17 +284,17 @@ export var layerMap = {
|
|
|
284
284
|
*/
|
|
285
285
|
/**
|
|
286
286
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
287
|
-
* @codegen <<SignedSource::
|
|
287
|
+
* @codegen <<SignedSource::ffa10f95df2d9bbc0f5d91f9d19b9a69>>
|
|
288
288
|
* @codegenId border
|
|
289
289
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
290
290
|
* @codegenParams ["width", "radius"]
|
|
291
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
291
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::25105916a589322f57c322068cb0074a>>
|
|
292
292
|
*/
|
|
293
293
|
export var borderWidthMap = {
|
|
294
294
|
'border.width': "var(--ds-border-width, 1px)",
|
|
295
295
|
'border.width.0': "var(--ds-border-width-0, 0px)",
|
|
296
|
-
'border.width.
|
|
297
|
-
'border.width.
|
|
296
|
+
'border.width.indicator': "var(--ds-border-width-indicator, 3px)",
|
|
297
|
+
'border.width.outline': "var(--ds-border-width-outline, 2px)"
|
|
298
298
|
};
|
|
299
299
|
export var borderRadiusMap = {
|
|
300
300
|
'border.radius.050': "var(--ds-border-radius-050, 2px)",
|
|
@@ -50,11 +50,11 @@ export type Space = keyof typeof spaceMap;
|
|
|
50
50
|
*/
|
|
51
51
|
/**
|
|
52
52
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
53
|
-
* @codegen <<SignedSource::
|
|
53
|
+
* @codegen <<SignedSource::65b57f72ff07d4c4245a3eafe8cef786>>
|
|
54
54
|
* @codegenId colors
|
|
55
55
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
56
56
|
* @codegenParams ["border", "background", "shadow", "text", "fill"]
|
|
57
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
57
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::efb3dfea27ab3db2fb3756ed9657c5cb>>
|
|
58
58
|
*/
|
|
59
59
|
export declare const borderColorMap: {
|
|
60
60
|
readonly 'color.border': "var(--ds-border)";
|
|
@@ -291,17 +291,17 @@ export type Layer = keyof typeof layerMap;
|
|
|
291
291
|
*/
|
|
292
292
|
/**
|
|
293
293
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
294
|
-
* @codegen <<SignedSource::
|
|
294
|
+
* @codegen <<SignedSource::ffa10f95df2d9bbc0f5d91f9d19b9a69>>
|
|
295
295
|
* @codegenId border
|
|
296
296
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
297
297
|
* @codegenParams ["width", "radius"]
|
|
298
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
298
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::25105916a589322f57c322068cb0074a>>
|
|
299
299
|
*/
|
|
300
300
|
export declare const borderWidthMap: {
|
|
301
301
|
readonly 'border.width': "var(--ds-border-width)";
|
|
302
302
|
readonly 'border.width.0': "var(--ds-border-width-0)";
|
|
303
|
-
readonly 'border.width.
|
|
304
|
-
readonly 'border.width.
|
|
303
|
+
readonly 'border.width.indicator': "var(--ds-border-width-indicator)";
|
|
304
|
+
readonly 'border.width.outline': "var(--ds-border-width-outline)";
|
|
305
305
|
};
|
|
306
306
|
export type BorderWidth = keyof typeof borderWidthMap;
|
|
307
307
|
export declare const borderRadiusMap: {
|
|
@@ -50,11 +50,11 @@ export type Space = keyof typeof spaceMap;
|
|
|
50
50
|
*/
|
|
51
51
|
/**
|
|
52
52
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
53
|
-
* @codegen <<SignedSource::
|
|
53
|
+
* @codegen <<SignedSource::65b57f72ff07d4c4245a3eafe8cef786>>
|
|
54
54
|
* @codegenId colors
|
|
55
55
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
56
56
|
* @codegenParams ["border", "background", "shadow", "text", "fill"]
|
|
57
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
57
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::efb3dfea27ab3db2fb3756ed9657c5cb>>
|
|
58
58
|
*/
|
|
59
59
|
export declare const borderColorMap: {
|
|
60
60
|
readonly 'color.border': "var(--ds-border)";
|
|
@@ -291,17 +291,17 @@ export type Layer = keyof typeof layerMap;
|
|
|
291
291
|
*/
|
|
292
292
|
/**
|
|
293
293
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
294
|
-
* @codegen <<SignedSource::
|
|
294
|
+
* @codegen <<SignedSource::ffa10f95df2d9bbc0f5d91f9d19b9a69>>
|
|
295
295
|
* @codegenId border
|
|
296
296
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
297
297
|
* @codegenParams ["width", "radius"]
|
|
298
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
298
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::25105916a589322f57c322068cb0074a>>
|
|
299
299
|
*/
|
|
300
300
|
export declare const borderWidthMap: {
|
|
301
301
|
readonly 'border.width': "var(--ds-border-width)";
|
|
302
302
|
readonly 'border.width.0': "var(--ds-border-width-0)";
|
|
303
|
-
readonly 'border.width.
|
|
304
|
-
readonly 'border.width.
|
|
303
|
+
readonly 'border.width.indicator': "var(--ds-border-width-indicator)";
|
|
304
|
+
readonly 'border.width.outline': "var(--ds-border-width-outline)";
|
|
305
305
|
};
|
|
306
306
|
export type BorderWidth = keyof typeof borderWidthMap;
|
|
307
307
|
export declare const borderRadiusMap: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"./responsive": "./src/responsive/index.tsx"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@atlaskit/tokens": "^1.
|
|
105
|
+
"@atlaskit/tokens": "^1.11.0",
|
|
106
106
|
"@babel/runtime": "^7.0.0",
|
|
107
107
|
"@emotion/react": "^11.7.1",
|
|
108
108
|
"@emotion/serialize": "^1.1.0",
|
|
@@ -112,26 +112,12 @@
|
|
|
112
112
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@
|
|
116
|
-
"@atlaskit/badge": "*",
|
|
117
|
-
"@atlaskit/button": "*",
|
|
118
|
-
"@atlaskit/code": "*",
|
|
119
|
-
"@atlaskit/docs": "*",
|
|
120
|
-
"@atlaskit/dropdown-menu": "*",
|
|
115
|
+
"@af/visual-regression": "*",
|
|
121
116
|
"@atlaskit/ds-lib": "*",
|
|
122
|
-
"@atlaskit/heading": "*",
|
|
123
|
-
"@atlaskit/icon": "*",
|
|
124
|
-
"@atlaskit/icon-object": "*",
|
|
125
|
-
"@atlaskit/logo": "*",
|
|
126
|
-
"@atlaskit/lozenge": "*",
|
|
127
|
-
"@atlaskit/radio": "^5.6.0",
|
|
128
|
-
"@atlaskit/range": "^7.1.0",
|
|
129
117
|
"@atlaskit/ssr": "*",
|
|
130
|
-
"@atlaskit/theme": "*",
|
|
131
118
|
"@atlaskit/visual-regression": "*",
|
|
132
119
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
133
120
|
"@atlassian/codegen": "^0.1.0",
|
|
134
|
-
"@atlassian/gemini-visual-regression": "^0.0.35",
|
|
135
121
|
"@testing-library/react": "^12.1.5",
|
|
136
122
|
"@testing-library/react-hooks": "^8.0.1",
|
|
137
123
|
"csstype": "^3.1.0",
|
package/report.api.md
CHANGED
|
@@ -261,8 +261,8 @@ type BorderWidth = keyof typeof borderWidthMap;
|
|
|
261
261
|
const borderWidthMap: {
|
|
262
262
|
readonly 'border.width': 'var(--ds-border-width)';
|
|
263
263
|
readonly 'border.width.0': 'var(--ds-border-width-0)';
|
|
264
|
-
readonly 'border.width.
|
|
265
|
-
readonly 'border.width.
|
|
264
|
+
readonly 'border.width.indicator': 'var(--ds-border-width-indicator)';
|
|
265
|
+
readonly 'border.width.outline': 'var(--ds-border-width-outline)';
|
|
266
266
|
};
|
|
267
267
|
|
|
268
268
|
// @public
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -232,8 +232,8 @@ type BorderWidth = keyof typeof borderWidthMap;
|
|
|
232
232
|
const borderWidthMap: {
|
|
233
233
|
readonly 'border.width': "var(--ds-border-width)";
|
|
234
234
|
readonly 'border.width.0': "var(--ds-border-width-0)";
|
|
235
|
-
readonly 'border.width.
|
|
236
|
-
readonly 'border.width.
|
|
235
|
+
readonly 'border.width.indicator': "var(--ds-border-width-indicator)";
|
|
236
|
+
readonly 'border.width.outline': "var(--ds-border-width-outline)";
|
|
237
237
|
};
|
|
238
238
|
|
|
239
239
|
// @public
|