@atlaskit/primitives 20.3.0 → 20.5.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 +18 -0
- package/compass.yml +2 -2
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +8 -8
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +8 -8
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/xcss/style-maps.partial.js +8 -8
- package/dist/types/xcss/style-maps.partial.d.ts +6 -6
- package/package.json +11 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 20.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2f56c78f969b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f56c78f969b8) -
|
|
8
|
+
Update i18n NPM package versions for teamwork-graph (Group 16)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 20.4.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [`eda41efb5e798`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/eda41efb5e798) -
|
|
19
|
+
Add React 19 as supported peer dependency.
|
|
20
|
+
|
|
3
21
|
## 20.3.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/compass.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
configVersion: 1
|
|
2
2
|
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/ccfac433-f59e-46f5-95b4-ad827a4a4c66
|
|
3
3
|
name: '@atlaskit/primitives'
|
|
4
|
-
ownerId: ari:cloud:identity::team/
|
|
4
|
+
ownerId: ari:cloud:identity::team/be19136e-6275-419f-be0c-fcee844b8684 # Design System Engineers
|
|
5
5
|
labels:
|
|
6
6
|
- platform-code
|
|
7
7
|
- platform-afm
|
|
@@ -32,7 +32,7 @@ customFields:
|
|
|
32
32
|
value: true
|
|
33
33
|
- name: Reviewer Selection Mechanism
|
|
34
34
|
type: text
|
|
35
|
-
value: random(
|
|
35
|
+
value: random(3)
|
|
36
36
|
- name: Required Reviewer Approvals
|
|
37
37
|
type: number
|
|
38
38
|
value: 1
|
|
@@ -70,7 +70,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
70
70
|
action: 'clicked',
|
|
71
71
|
componentName: componentName || 'Anchor',
|
|
72
72
|
packageName: "@atlaskit/primitives",
|
|
73
|
-
packageVersion: "20.
|
|
73
|
+
packageVersion: "20.4.0",
|
|
74
74
|
analyticsData: analyticsContext,
|
|
75
75
|
actionSubject: 'link'
|
|
76
76
|
});
|
|
@@ -61,7 +61,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
61
61
|
action: 'clicked',
|
|
62
62
|
componentName: componentName || 'Pressable',
|
|
63
63
|
packageName: "@atlaskit/primitives",
|
|
64
|
-
packageVersion: "20.
|
|
64
|
+
packageVersion: "20.4.0",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'button'
|
|
67
67
|
});
|
|
@@ -105,7 +105,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
105
105
|
action: 'clicked',
|
|
106
106
|
componentName: componentName || 'Anchor',
|
|
107
107
|
packageName: "@atlaskit/primitives",
|
|
108
|
-
packageVersion: "20.
|
|
108
|
+
packageVersion: "20.4.0",
|
|
109
109
|
analyticsData: analyticsContext,
|
|
110
110
|
actionSubject: 'link'
|
|
111
111
|
});
|
|
@@ -97,7 +97,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
97
97
|
action: 'clicked',
|
|
98
98
|
componentName: componentName || 'Pressable',
|
|
99
99
|
packageName: "@atlaskit/primitives",
|
|
100
|
-
packageVersion: "20.
|
|
100
|
+
packageVersion: "20.4.0",
|
|
101
101
|
analyticsData: analyticsContext,
|
|
102
102
|
actionSubject: 'button'
|
|
103
103
|
});
|
|
@@ -73,10 +73,10 @@ var allSpaceMap = exports.allSpaceMap = _objectSpread(_objectSpread({}, positive
|
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
76
|
-
* @codegen <<SignedSource::
|
|
76
|
+
* @codegen <<SignedSource::0f8877ef22cd3a2544170515fac0c9c2>>
|
|
77
77
|
* @codegenId inverse-colors
|
|
78
78
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
79
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
79
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
80
80
|
*/
|
|
81
81
|
var inverseColorMap = exports.inverseColorMap = {
|
|
82
82
|
'color.background.neutral.bold': 'color.text.inverse',
|
|
@@ -117,11 +117,11 @@ var inverseColorMap = exports.inverseColorMap = {
|
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
120
|
-
* @codegen <<SignedSource::
|
|
120
|
+
* @codegen <<SignedSource::09dc322e2aa1bfd37c9ac3fc10154af5>>
|
|
121
121
|
* @codegenId elevation
|
|
122
122
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
123
123
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
124
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
124
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
125
125
|
*/
|
|
126
126
|
var opacityMap = exports.opacityMap = {
|
|
127
127
|
'opacity.disabled': "var(--ds-opacity-disabled, 0.4)",
|
|
@@ -138,7 +138,7 @@ var surfaceColorMap = exports.surfaceColorMap = {
|
|
|
138
138
|
'elevation.surface': "var(--ds-surface, #FFFFFF)",
|
|
139
139
|
'elevation.surface.hovered': "var(--ds-surface-hovered, #F0F1F2)",
|
|
140
140
|
'elevation.surface.pressed': "var(--ds-surface-pressed, #DDDEE1)",
|
|
141
|
-
'elevation.surface.container': "var(--ds-surface-container, #
|
|
141
|
+
'elevation.surface.container': "var(--ds-surface-container, #17171708)",
|
|
142
142
|
'elevation.surface.container.hovered': "var(--ds-surface-container-hovered, #0515240F)",
|
|
143
143
|
'elevation.surface.container.pressed': "var(--ds-surface-container-pressed, #0B120E24)",
|
|
144
144
|
'elevation.surface.overlay': "var(--ds-surface-overlay, #FFFFFF)",
|
|
@@ -155,11 +155,11 @@ var surfaceColorMap = exports.surfaceColorMap = {
|
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
158
|
-
* @codegen <<SignedSource::
|
|
158
|
+
* @codegen <<SignedSource::eb19c0150b7afa9e3dfeaedd0e176bfd>>
|
|
159
159
|
* @codegenId colors
|
|
160
160
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
161
161
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
162
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
162
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
163
163
|
*/
|
|
164
164
|
var borderColorMap = exports.borderColorMap = {
|
|
165
165
|
'color.border': "var(--ds-border, #0B120E24)",
|
|
@@ -414,7 +414,7 @@ var backgroundColorMap = exports.backgroundColorMap = {
|
|
|
414
414
|
'elevation.surface': "var(--ds-surface, #FFFFFF)",
|
|
415
415
|
'elevation.surface.hovered': "var(--ds-surface-hovered, #F0F1F2)",
|
|
416
416
|
'elevation.surface.pressed': "var(--ds-surface-pressed, #DDDEE1)",
|
|
417
|
-
'elevation.surface.container': "var(--ds-surface-container, #
|
|
417
|
+
'elevation.surface.container': "var(--ds-surface-container, #17171708)",
|
|
418
418
|
'elevation.surface.container.hovered': "var(--ds-surface-container-hovered, #0515240F)",
|
|
419
419
|
'elevation.surface.container.pressed': "var(--ds-surface-container-pressed, #0B120E24)",
|
|
420
420
|
'elevation.surface.overlay': "var(--ds-surface-overlay, #FFFFFF)",
|
|
@@ -48,7 +48,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
48
48
|
action: 'clicked',
|
|
49
49
|
componentName: componentName || 'Pressable',
|
|
50
50
|
packageName: "@atlaskit/primitives",
|
|
51
|
-
packageVersion: "20.
|
|
51
|
+
packageVersion: "20.4.0",
|
|
52
52
|
analyticsData: analyticsContext,
|
|
53
53
|
actionSubject: 'button'
|
|
54
54
|
});
|
|
@@ -86,7 +86,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
86
86
|
action: 'clicked',
|
|
87
87
|
componentName: componentName || 'Pressable',
|
|
88
88
|
packageName: "@atlaskit/primitives",
|
|
89
|
-
packageVersion: "20.
|
|
89
|
+
packageVersion: "20.4.0",
|
|
90
90
|
analyticsData: analyticsContext,
|
|
91
91
|
actionSubject: 'button'
|
|
92
92
|
});
|
|
@@ -67,10 +67,10 @@ export const allSpaceMap = {
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
70
|
-
* @codegen <<SignedSource::
|
|
70
|
+
* @codegen <<SignedSource::0f8877ef22cd3a2544170515fac0c9c2>>
|
|
71
71
|
* @codegenId inverse-colors
|
|
72
72
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
73
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
73
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
74
74
|
*/
|
|
75
75
|
export const inverseColorMap = {
|
|
76
76
|
'color.background.neutral.bold': 'color.text.inverse',
|
|
@@ -111,11 +111,11 @@ export const inverseColorMap = {
|
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
114
|
-
* @codegen <<SignedSource::
|
|
114
|
+
* @codegen <<SignedSource::09dc322e2aa1bfd37c9ac3fc10154af5>>
|
|
115
115
|
* @codegenId elevation
|
|
116
116
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
117
117
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
118
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
118
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
119
119
|
*/
|
|
120
120
|
export const opacityMap = {
|
|
121
121
|
'opacity.disabled': "var(--ds-opacity-disabled, 0.4)",
|
|
@@ -132,7 +132,7 @@ export const surfaceColorMap = {
|
|
|
132
132
|
'elevation.surface': "var(--ds-surface, #FFFFFF)",
|
|
133
133
|
'elevation.surface.hovered': "var(--ds-surface-hovered, #F0F1F2)",
|
|
134
134
|
'elevation.surface.pressed': "var(--ds-surface-pressed, #DDDEE1)",
|
|
135
|
-
'elevation.surface.container': "var(--ds-surface-container, #
|
|
135
|
+
'elevation.surface.container': "var(--ds-surface-container, #17171708)",
|
|
136
136
|
'elevation.surface.container.hovered': "var(--ds-surface-container-hovered, #0515240F)",
|
|
137
137
|
'elevation.surface.container.pressed': "var(--ds-surface-container-pressed, #0B120E24)",
|
|
138
138
|
'elevation.surface.overlay': "var(--ds-surface-overlay, #FFFFFF)",
|
|
@@ -149,11 +149,11 @@ export const surfaceColorMap = {
|
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
152
|
-
* @codegen <<SignedSource::
|
|
152
|
+
* @codegen <<SignedSource::eb19c0150b7afa9e3dfeaedd0e176bfd>>
|
|
153
153
|
* @codegenId colors
|
|
154
154
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
155
155
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
156
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
156
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
157
157
|
*/
|
|
158
158
|
export const borderColorMap = {
|
|
159
159
|
'color.border': "var(--ds-border, #0B120E24)",
|
|
@@ -408,7 +408,7 @@ export const backgroundColorMap = {
|
|
|
408
408
|
'elevation.surface': "var(--ds-surface, #FFFFFF)",
|
|
409
409
|
'elevation.surface.hovered': "var(--ds-surface-hovered, #F0F1F2)",
|
|
410
410
|
'elevation.surface.pressed': "var(--ds-surface-pressed, #DDDEE1)",
|
|
411
|
-
'elevation.surface.container': "var(--ds-surface-container, #
|
|
411
|
+
'elevation.surface.container': "var(--ds-surface-container, #17171708)",
|
|
412
412
|
'elevation.surface.container.hovered': "var(--ds-surface-container-hovered, #0515240F)",
|
|
413
413
|
'elevation.surface.container.pressed': "var(--ds-surface-container-pressed, #0B120E24)",
|
|
414
414
|
'elevation.surface.overlay': "var(--ds-surface-overlay, #FFFFFF)",
|
|
@@ -61,7 +61,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
61
61
|
action: 'clicked',
|
|
62
62
|
componentName: componentName || 'Anchor',
|
|
63
63
|
packageName: "@atlaskit/primitives",
|
|
64
|
-
packageVersion: "20.
|
|
64
|
+
packageVersion: "20.4.0",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'link'
|
|
67
67
|
});
|
|
@@ -52,7 +52,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
52
52
|
action: 'clicked',
|
|
53
53
|
componentName: componentName || 'Pressable',
|
|
54
54
|
packageName: "@atlaskit/primitives",
|
|
55
|
-
packageVersion: "20.
|
|
55
|
+
packageVersion: "20.4.0",
|
|
56
56
|
analyticsData: analyticsContext,
|
|
57
57
|
actionSubject: 'button'
|
|
58
58
|
});
|
|
@@ -99,7 +99,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
99
99
|
action: 'clicked',
|
|
100
100
|
componentName: componentName || 'Anchor',
|
|
101
101
|
packageName: "@atlaskit/primitives",
|
|
102
|
-
packageVersion: "20.
|
|
102
|
+
packageVersion: "20.4.0",
|
|
103
103
|
analyticsData: analyticsContext,
|
|
104
104
|
actionSubject: 'link'
|
|
105
105
|
});
|
|
@@ -91,7 +91,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
91
91
|
action: 'clicked',
|
|
92
92
|
componentName: componentName || 'Pressable',
|
|
93
93
|
packageName: "@atlaskit/primitives",
|
|
94
|
-
packageVersion: "20.
|
|
94
|
+
packageVersion: "20.4.0",
|
|
95
95
|
analyticsData: analyticsContext,
|
|
96
96
|
actionSubject: 'button'
|
|
97
97
|
});
|
|
@@ -67,10 +67,10 @@ export var allSpaceMap = _objectSpread(_objectSpread({}, positiveSpaceMap), nega
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
70
|
-
* @codegen <<SignedSource::
|
|
70
|
+
* @codegen <<SignedSource::0f8877ef22cd3a2544170515fac0c9c2>>
|
|
71
71
|
* @codegenId inverse-colors
|
|
72
72
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
73
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
73
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
74
74
|
*/
|
|
75
75
|
export var inverseColorMap = {
|
|
76
76
|
'color.background.neutral.bold': 'color.text.inverse',
|
|
@@ -111,11 +111,11 @@ export var inverseColorMap = {
|
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
114
|
-
* @codegen <<SignedSource::
|
|
114
|
+
* @codegen <<SignedSource::09dc322e2aa1bfd37c9ac3fc10154af5>>
|
|
115
115
|
* @codegenId elevation
|
|
116
116
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
117
117
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
118
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
118
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
119
119
|
*/
|
|
120
120
|
export var opacityMap = {
|
|
121
121
|
'opacity.disabled': "var(--ds-opacity-disabled, 0.4)",
|
|
@@ -132,7 +132,7 @@ export var surfaceColorMap = {
|
|
|
132
132
|
'elevation.surface': "var(--ds-surface, #FFFFFF)",
|
|
133
133
|
'elevation.surface.hovered': "var(--ds-surface-hovered, #F0F1F2)",
|
|
134
134
|
'elevation.surface.pressed': "var(--ds-surface-pressed, #DDDEE1)",
|
|
135
|
-
'elevation.surface.container': "var(--ds-surface-container, #
|
|
135
|
+
'elevation.surface.container': "var(--ds-surface-container, #17171708)",
|
|
136
136
|
'elevation.surface.container.hovered': "var(--ds-surface-container-hovered, #0515240F)",
|
|
137
137
|
'elevation.surface.container.pressed': "var(--ds-surface-container-pressed, #0B120E24)",
|
|
138
138
|
'elevation.surface.overlay': "var(--ds-surface-overlay, #FFFFFF)",
|
|
@@ -149,11 +149,11 @@ export var surfaceColorMap = {
|
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
152
|
-
* @codegen <<SignedSource::
|
|
152
|
+
* @codegen <<SignedSource::eb19c0150b7afa9e3dfeaedd0e176bfd>>
|
|
153
153
|
* @codegenId colors
|
|
154
154
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
155
155
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
156
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
156
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
157
157
|
*/
|
|
158
158
|
export var borderColorMap = {
|
|
159
159
|
'color.border': "var(--ds-border, #0B120E24)",
|
|
@@ -408,7 +408,7 @@ export var backgroundColorMap = {
|
|
|
408
408
|
'elevation.surface': "var(--ds-surface, #FFFFFF)",
|
|
409
409
|
'elevation.surface.hovered': "var(--ds-surface-hovered, #F0F1F2)",
|
|
410
410
|
'elevation.surface.pressed': "var(--ds-surface-pressed, #DDDEE1)",
|
|
411
|
-
'elevation.surface.container': "var(--ds-surface-container, #
|
|
411
|
+
'elevation.surface.container': "var(--ds-surface-container, #17171708)",
|
|
412
412
|
'elevation.surface.container.hovered': "var(--ds-surface-container-hovered, #0515240F)",
|
|
413
413
|
'elevation.surface.container.pressed': "var(--ds-surface-container-pressed, #0B120E24)",
|
|
414
414
|
'elevation.surface.overlay': "var(--ds-surface-overlay, #FFFFFF)",
|
|
@@ -90,10 +90,10 @@ export type AllSpace = keyof typeof allSpaceMap;
|
|
|
90
90
|
*/
|
|
91
91
|
/**
|
|
92
92
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
93
|
-
* @codegen <<SignedSource::
|
|
93
|
+
* @codegen <<SignedSource::0f8877ef22cd3a2544170515fac0c9c2>>
|
|
94
94
|
* @codegenId inverse-colors
|
|
95
95
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
96
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
96
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
97
97
|
*/
|
|
98
98
|
export declare const inverseColorMap: {
|
|
99
99
|
'color.background.neutral.bold': 'color.text.inverse';
|
|
@@ -132,11 +132,11 @@ export declare const inverseColorMap: {
|
|
|
132
132
|
*/
|
|
133
133
|
/**
|
|
134
134
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
135
|
-
* @codegen <<SignedSource::
|
|
135
|
+
* @codegen <<SignedSource::09dc322e2aa1bfd37c9ac3fc10154af5>>
|
|
136
136
|
* @codegenId elevation
|
|
137
137
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
138
138
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
139
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
139
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
140
140
|
*/
|
|
141
141
|
export declare const opacityMap: {
|
|
142
142
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
@@ -172,11 +172,11 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
|
|
|
172
172
|
*/
|
|
173
173
|
/**
|
|
174
174
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
175
|
-
* @codegen <<SignedSource::
|
|
175
|
+
* @codegen <<SignedSource::eb19c0150b7afa9e3dfeaedd0e176bfd>>
|
|
176
176
|
* @codegenId colors
|
|
177
177
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
178
178
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
179
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
179
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::60f96d2ba00523e92861fb8c96c74c88>>
|
|
180
180
|
*/
|
|
181
181
|
export declare const borderColorMap: {
|
|
182
182
|
'color.border': 'var(--ds-border)';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.5.0",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"sideEffects": [
|
|
16
|
-
"**/*.compiled.css"
|
|
17
|
-
],
|
|
15
|
+
"sideEffects": ["**/*.compiled.css"],
|
|
18
16
|
"atlaskit:src": "src/index.tsx",
|
|
19
17
|
"atlassian": {
|
|
20
18
|
"react-compiler": {
|
|
@@ -133,13 +131,13 @@
|
|
|
133
131
|
"codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx"
|
|
134
132
|
},
|
|
135
133
|
"dependencies": {
|
|
136
|
-
"@atlaskit/analytics-next": "^12.
|
|
134
|
+
"@atlaskit/analytics-next": "^12.2.0",
|
|
137
135
|
"@atlaskit/app-provider": "^5.1.0",
|
|
138
136
|
"@atlaskit/css": "^1.0.0",
|
|
139
137
|
"@atlaskit/ds-lib": "^8.0.0",
|
|
140
138
|
"@atlaskit/interaction-context": "^4.0.0",
|
|
141
139
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
142
|
-
"@atlaskit/tokens": "^15.
|
|
140
|
+
"@atlaskit/tokens": "^15.5.0",
|
|
143
141
|
"@atlaskit/visually-hidden": "^4.1.0",
|
|
144
142
|
"@babel/runtime": "^7.0.0",
|
|
145
143
|
"@compiled/react": "^0.20.0",
|
|
@@ -149,7 +147,7 @@
|
|
|
149
147
|
"tiny-invariant": "^1.2.0"
|
|
150
148
|
},
|
|
151
149
|
"peerDependencies": {
|
|
152
|
-
"react": "^18.2.0"
|
|
150
|
+
"react": "^18.2.0 || ^19.0.0"
|
|
153
151
|
},
|
|
154
152
|
"devDependencies": {
|
|
155
153
|
"@af/accessibility-testing": "workspace:^",
|
|
@@ -164,14 +162,14 @@
|
|
|
164
162
|
"@atlaskit/dropdown-menu": "^17.1.0",
|
|
165
163
|
"@atlaskit/flag": "^18.1.0",
|
|
166
164
|
"@atlaskit/form": "^16.1.0",
|
|
167
|
-
"@atlaskit/heading": "^6.
|
|
168
|
-
"@atlaskit/icon": "^36.
|
|
165
|
+
"@atlaskit/heading": "^6.2.0",
|
|
166
|
+
"@atlaskit/icon": "^36.2.0",
|
|
169
167
|
"@atlaskit/image": "^4.1.0",
|
|
170
168
|
"@atlaskit/link": "^4.1.0",
|
|
171
|
-
"@atlaskit/logo": "^21.
|
|
169
|
+
"@atlaskit/logo": "^21.4.0",
|
|
172
170
|
"@atlaskit/lozenge": "^14.1.0",
|
|
173
171
|
"@atlaskit/motion": "^7.2.0",
|
|
174
|
-
"@atlaskit/object": "^2.
|
|
172
|
+
"@atlaskit/object": "^2.2.0",
|
|
175
173
|
"@atlaskit/range": "^11.1.0",
|
|
176
174
|
"@atlaskit/section-message": "^9.2.0",
|
|
177
175
|
"@atlaskit/textfield": "^9.1.0",
|
|
@@ -185,8 +183,8 @@
|
|
|
185
183
|
"@testing-library/user-event": "^14.4.3",
|
|
186
184
|
"csstype": "^3.1.0",
|
|
187
185
|
"jscodeshift": "^17.0.0",
|
|
188
|
-
"react": "^
|
|
189
|
-
"react-dom": "^
|
|
186
|
+
"react": "^19.0.0",
|
|
187
|
+
"react-dom": "^19.0.0",
|
|
190
188
|
"react-resource-router": "^0.20.0",
|
|
191
189
|
"ts-node": "^10.9.1"
|
|
192
190
|
},
|