@atlaskit/primitives 16.1.0 → 16.2.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 +17 -0
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/box.compiled.css +151 -151
- package/dist/cjs/compiled/components/box.js +151 -151
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/compiled/components/text.compiled.css +23 -23
- package/dist/cjs/compiled/components/text.js +23 -23
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +9 -8
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/box.compiled.css +151 -151
- package/dist/es2019/compiled/components/box.js +151 -151
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/compiled/components/text.compiled.css +23 -23
- package/dist/es2019/compiled/components/text.js +23 -23
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +9 -8
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/box.compiled.css +151 -151
- package/dist/esm/compiled/components/box.js +151 -151
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/compiled/components/text.compiled.css +23 -23
- package/dist/esm/compiled/components/text.js +23 -23
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/xcss/style-maps.partial.js +9 -8
- package/dist/types/xcss/style-maps.partial.d.ts +9 -8
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +9 -8
- package/package.json +11 -11
|
@@ -89,10 +89,10 @@ export type AllSpace = keyof typeof allSpaceMap;
|
|
|
89
89
|
*/
|
|
90
90
|
/**
|
|
91
91
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
92
|
-
* @codegen <<SignedSource::
|
|
92
|
+
* @codegen <<SignedSource::391876b08f98d21b153df0b42a122d9a>>
|
|
93
93
|
* @codegenId inverse-colors
|
|
94
94
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
95
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
95
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
96
96
|
*/
|
|
97
97
|
export declare const inverseColorMap: {
|
|
98
98
|
'color.background.neutral.bold': 'color.text.inverse';
|
|
@@ -128,11 +128,11 @@ export declare const inverseColorMap: {
|
|
|
128
128
|
*/
|
|
129
129
|
/**
|
|
130
130
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
131
|
-
* @codegen <<SignedSource::
|
|
131
|
+
* @codegen <<SignedSource::4407d5eb027cc933eed726fed33ad1ad>>
|
|
132
132
|
* @codegenId elevation
|
|
133
133
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
134
134
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
135
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
135
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
136
136
|
*/
|
|
137
137
|
export declare const opacityMap: {
|
|
138
138
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
@@ -165,11 +165,11 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
|
|
|
165
165
|
*/
|
|
166
166
|
/**
|
|
167
167
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
168
|
-
* @codegen <<SignedSource::
|
|
168
|
+
* @codegen <<SignedSource::81e488bd12e67b8ac3ac65c71e50e967>>
|
|
169
169
|
* @codegenId colors
|
|
170
170
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
171
171
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
172
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
172
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
173
173
|
*/
|
|
174
174
|
export declare const borderColorMap: {
|
|
175
175
|
'color.border': 'var(--ds-border)';
|
|
@@ -493,11 +493,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
493
493
|
*/
|
|
494
494
|
/**
|
|
495
495
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
496
|
-
* @codegen <<SignedSource::
|
|
496
|
+
* @codegen <<SignedSource::042e960cffbaf7b7d1022ee02c3c6cbb>>
|
|
497
497
|
* @codegenId border
|
|
498
498
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
499
499
|
* @codegenParams ["width", "radius"]
|
|
500
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
500
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::a98e95106b856526c36bec8851e84348>>
|
|
501
501
|
*/
|
|
502
502
|
export declare const borderWidthMap: {
|
|
503
503
|
'border.width': 'var(--ds-border-width)';
|
|
@@ -511,6 +511,7 @@ export declare const borderRadiusMap: {
|
|
|
511
511
|
'radius.medium': 'var(--ds-radius-medium)';
|
|
512
512
|
'radius.large': 'var(--ds-radius-large)';
|
|
513
513
|
'radius.xlarge': 'var(--ds-radius-xlarge)';
|
|
514
|
+
'radius.xxlarge': 'var(--ds-radius-xxlarge)';
|
|
514
515
|
'radius.full': 'var(--ds-radius-full)';
|
|
515
516
|
'radius.tile': 'var(--ds-radius-tile)';
|
|
516
517
|
};
|
|
@@ -89,10 +89,10 @@ export type AllSpace = keyof typeof allSpaceMap;
|
|
|
89
89
|
*/
|
|
90
90
|
/**
|
|
91
91
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
92
|
-
* @codegen <<SignedSource::
|
|
92
|
+
* @codegen <<SignedSource::391876b08f98d21b153df0b42a122d9a>>
|
|
93
93
|
* @codegenId inverse-colors
|
|
94
94
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
95
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
95
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
96
96
|
*/
|
|
97
97
|
export declare const inverseColorMap: {
|
|
98
98
|
'color.background.neutral.bold': 'color.text.inverse';
|
|
@@ -128,11 +128,11 @@ export declare const inverseColorMap: {
|
|
|
128
128
|
*/
|
|
129
129
|
/**
|
|
130
130
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
131
|
-
* @codegen <<SignedSource::
|
|
131
|
+
* @codegen <<SignedSource::4407d5eb027cc933eed726fed33ad1ad>>
|
|
132
132
|
* @codegenId elevation
|
|
133
133
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
134
134
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
135
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
135
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
136
136
|
*/
|
|
137
137
|
export declare const opacityMap: {
|
|
138
138
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
@@ -165,11 +165,11 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
|
|
|
165
165
|
*/
|
|
166
166
|
/**
|
|
167
167
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
168
|
-
* @codegen <<SignedSource::
|
|
168
|
+
* @codegen <<SignedSource::81e488bd12e67b8ac3ac65c71e50e967>>
|
|
169
169
|
* @codegenId colors
|
|
170
170
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
171
171
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
172
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
172
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
173
173
|
*/
|
|
174
174
|
export declare const borderColorMap: {
|
|
175
175
|
'color.border': 'var(--ds-border)';
|
|
@@ -493,11 +493,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
493
493
|
*/
|
|
494
494
|
/**
|
|
495
495
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
496
|
-
* @codegen <<SignedSource::
|
|
496
|
+
* @codegen <<SignedSource::042e960cffbaf7b7d1022ee02c3c6cbb>>
|
|
497
497
|
* @codegenId border
|
|
498
498
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
499
499
|
* @codegenParams ["width", "radius"]
|
|
500
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
500
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::a98e95106b856526c36bec8851e84348>>
|
|
501
501
|
*/
|
|
502
502
|
export declare const borderWidthMap: {
|
|
503
503
|
'border.width': 'var(--ds-border-width)';
|
|
@@ -511,6 +511,7 @@ export declare const borderRadiusMap: {
|
|
|
511
511
|
'radius.medium': 'var(--ds-radius-medium)';
|
|
512
512
|
'radius.large': 'var(--ds-radius-large)';
|
|
513
513
|
'radius.xlarge': 'var(--ds-radius-xlarge)';
|
|
514
|
+
'radius.xxlarge': 'var(--ds-radius-xxlarge)';
|
|
514
515
|
'radius.full': 'var(--ds-radius-full)';
|
|
515
516
|
'radius.tile': 'var(--ds-radius-tile)';
|
|
516
517
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.2.0",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -134,11 +134,11 @@
|
|
|
134
134
|
"dependencies": {
|
|
135
135
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
136
136
|
"@atlaskit/app-provider": "^3.2.0",
|
|
137
|
-
"@atlaskit/css": "^0.
|
|
138
|
-
"@atlaskit/ds-lib": "^5.
|
|
137
|
+
"@atlaskit/css": "^0.16.0",
|
|
138
|
+
"@atlaskit/ds-lib": "^5.2.0",
|
|
139
139
|
"@atlaskit/interaction-context": "^3.1.0",
|
|
140
140
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
141
|
-
"@atlaskit/tokens": "^
|
|
141
|
+
"@atlaskit/tokens": "^8.1.0",
|
|
142
142
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
143
143
|
"@babel/runtime": "^7.0.0",
|
|
144
144
|
"@compiled/react": "^0.18.6",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"@af/integration-testing": "workspace:^",
|
|
157
157
|
"@af/visual-regression": "workspace:^",
|
|
158
158
|
"@atlaskit/avatar": "^25.5.0",
|
|
159
|
-
"@atlaskit/button": "^23.
|
|
159
|
+
"@atlaskit/button": "^23.6.0",
|
|
160
160
|
"@atlaskit/checkbox": "^17.1.0",
|
|
161
161
|
"@atlaskit/code": "^17.3.0",
|
|
162
162
|
"@atlaskit/docs": "^11.2.0",
|
|
@@ -164,22 +164,22 @@
|
|
|
164
164
|
"@atlaskit/flag": "^17.5.0",
|
|
165
165
|
"@atlaskit/form": "^14.2.0",
|
|
166
166
|
"@atlaskit/heading": "^5.2.0",
|
|
167
|
-
"@atlaskit/icon": "^
|
|
167
|
+
"@atlaskit/icon": "^29.0.0",
|
|
168
168
|
"@atlaskit/icon-object": "^7.3.0",
|
|
169
169
|
"@atlaskit/image": "^3.0.0",
|
|
170
170
|
"@atlaskit/link": "^3.2.0",
|
|
171
171
|
"@atlaskit/logo": "^19.9.0",
|
|
172
|
-
"@atlaskit/lozenge": "^13.
|
|
172
|
+
"@atlaskit/lozenge": "^13.1.0",
|
|
173
173
|
"@atlaskit/motion": "^5.3.0",
|
|
174
174
|
"@atlaskit/range": "^9.2.0",
|
|
175
|
-
"@atlaskit/section-message": "^8.
|
|
176
|
-
"@atlaskit/textfield": "^8.
|
|
175
|
+
"@atlaskit/section-message": "^8.9.0",
|
|
176
|
+
"@atlaskit/textfield": "^8.1.0",
|
|
177
177
|
"@atlaskit/toggle": "^15.1.0",
|
|
178
|
-
"@atlaskit/tooltip": "^20.
|
|
178
|
+
"@atlaskit/tooltip": "^20.10.0",
|
|
179
179
|
"@atlassian/analytics-bridge": "^0.7.0",
|
|
180
180
|
"@atlassian/codegen": "^0.1.0",
|
|
181
181
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
182
|
-
"@atlassian/ssr-tests": "
|
|
182
|
+
"@atlassian/ssr-tests": "workspace:^",
|
|
183
183
|
"@testing-library/react": "^13.4.0",
|
|
184
184
|
"@testing-library/react-hooks": "^8.0.1",
|
|
185
185
|
"@testing-library/user-event": "^14.4.3",
|