@atlaskit/primitives 19.0.1 → 19.0.2
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 +28 -0
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/box.compiled.css +1 -1
- package/dist/cjs/compiled/components/box.js +1 -1
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/compiled/components/text.js +2 -0
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/box.js +2 -0
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/responsive/constants.js +2 -0
- package/dist/cjs/utils/has-text-ancestor-context.js +1 -0
- package/dist/cjs/xcss/style-maps.partial.js +27 -7
- package/dist/cjs/xcss/xcss.js +2 -0
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/box.compiled.css +1 -1
- package/dist/es2019/compiled/components/box.js +1 -1
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/compiled/components/text.js +2 -0
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/box.js +2 -0
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/responsive/constants.js +2 -0
- package/dist/es2019/utils/has-text-ancestor-context.js +1 -0
- package/dist/es2019/xcss/style-maps.partial.js +27 -7
- package/dist/es2019/xcss/xcss.js +2 -0
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/box.compiled.css +1 -1
- package/dist/esm/compiled/components/box.js +1 -1
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/compiled/components/text.js +2 -0
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/box.js +2 -0
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/responsive/constants.js +2 -0
- package/dist/esm/utils/has-text-ancestor-context.js +1 -0
- package/dist/esm/xcss/style-maps.partial.js +27 -7
- package/dist/esm/xcss/xcss.js +2 -0
- package/dist/types/utils/types.d.ts +1 -1
- package/dist/types/xcss/style-maps.partial.d.ts +26 -6
- package/dist/types-ts4.5/utils/types.d.ts +1 -1
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +26 -6
- package/package.json +12 -36
- package/primitives.docs.tsx +359 -356
|
@@ -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: "
|
|
94
|
+
packageVersion: "19.0.1",
|
|
95
95
|
analyticsData: analyticsContext,
|
|
96
96
|
actionSubject: 'button'
|
|
97
97
|
});
|
|
@@ -59,6 +59,7 @@ export var UNSAFE_BREAKPOINTS_CONFIG = {
|
|
|
59
59
|
*
|
|
60
60
|
* @experimental Unsafe for consumption outside of the design system itself.
|
|
61
61
|
*/
|
|
62
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
62
63
|
export var UNSAFE_BREAKPOINTS_ORDERED_LIST = Object.keys(UNSAFE_BREAKPOINTS_CONFIG);
|
|
63
64
|
|
|
64
65
|
/**
|
|
@@ -66,4 +67,5 @@ export var UNSAFE_BREAKPOINTS_ORDERED_LIST = Object.keys(UNSAFE_BREAKPOINTS_CONF
|
|
|
66
67
|
* 1. It is the default value for shorthands, eg. `<GridItem span={6} />` maps to `{ [SMALLEST_BREAKPOINT]: props.span }`
|
|
67
68
|
* 2. It's omitted in `media.below` as there's nothing below `0px`.
|
|
68
69
|
*/
|
|
70
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
69
71
|
export var SMALLEST_BREAKPOINT = UNSAFE_BREAKPOINTS_ORDERED_LIST[0];
|
|
@@ -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::5181bd08725ac44b53e0ae9f914067c1>>
|
|
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::3c254494d015dde7566fc7c46750adf2>>
|
|
74
74
|
*/
|
|
75
75
|
export var inverseColorMap = {
|
|
76
76
|
'color.background.neutral.bold': 'color.text.inverse',
|
|
@@ -108,11 +108,11 @@ export var inverseColorMap = {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
111
|
-
* @codegen <<SignedSource::
|
|
111
|
+
* @codegen <<SignedSource::54e9dee77c5da7d77db6b6cb20970356>>
|
|
112
112
|
* @codegenId elevation
|
|
113
113
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
114
114
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
115
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
115
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
|
|
116
116
|
*/
|
|
117
117
|
export var opacityMap = {
|
|
118
118
|
'opacity.disabled': "var(--ds-opacity-disabled, 0.4)",
|
|
@@ -143,24 +143,34 @@ export var surfaceColorMap = {
|
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
146
|
-
* @codegen <<SignedSource::
|
|
146
|
+
* @codegen <<SignedSource::5fd7f92fbc474ab0beacc4e06dad8fca>>
|
|
147
147
|
* @codegenId colors
|
|
148
148
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
149
149
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
150
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
150
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
|
|
151
151
|
*/
|
|
152
152
|
export var borderColorMap = {
|
|
153
153
|
'color.border': "var(--ds-border, #0B120E24)",
|
|
154
154
|
'color.border.accent.lime': "var(--ds-border-accent-lime, #6A9A23)",
|
|
155
|
+
'color.border.accent.lime.subtle': "var(--ds-border-accent-lime-subtle, #B3DF72)",
|
|
155
156
|
'color.border.accent.red': "var(--ds-border-accent-red, #E2483D)",
|
|
157
|
+
'color.border.accent.red.subtle': "var(--ds-border-accent-red-subtle, #FD9891)",
|
|
156
158
|
'color.border.accent.orange': "var(--ds-border-accent-orange, #E06C00)",
|
|
159
|
+
'color.border.accent.orange.subtle': "var(--ds-border-accent-orange-subtle, #FBC828)",
|
|
157
160
|
'color.border.accent.yellow': "var(--ds-border-accent-yellow, #B38600)",
|
|
161
|
+
'color.border.accent.yellow.subtle': "var(--ds-border-accent-yellow-subtle, #EED12B)",
|
|
158
162
|
'color.border.accent.green': "var(--ds-border-accent-green, #22A06B)",
|
|
163
|
+
'color.border.accent.green.subtle': "var(--ds-border-accent-green-subtle, #7EE2B8)",
|
|
159
164
|
'color.border.accent.teal': "var(--ds-border-accent-teal, #2898BD)",
|
|
165
|
+
'color.border.accent.teal.subtle': "var(--ds-border-accent-teal-subtle, #9DD9EE)",
|
|
160
166
|
'color.border.accent.blue': "var(--ds-border-accent-blue, #357DE8)",
|
|
167
|
+
'color.border.accent.blue.subtle': "var(--ds-border-accent-blue-subtle, #8FB8F6)",
|
|
161
168
|
'color.border.accent.purple': "var(--ds-border-accent-purple, #AF59E1)",
|
|
169
|
+
'color.border.accent.purple.subtle': "var(--ds-border-accent-purple-subtle, #D8A0F7)",
|
|
162
170
|
'color.border.accent.magenta': "var(--ds-border-accent-magenta, #CD519D)",
|
|
171
|
+
'color.border.accent.magenta.subtle': "var(--ds-border-accent-magenta-subtle, #F797D2)",
|
|
163
172
|
'color.border.accent.gray': "var(--ds-border-accent-gray, #7D818A)",
|
|
173
|
+
'color.border.accent.gray.subtle': "var(--ds-border-accent-gray-subtle, #DDDEE1)",
|
|
164
174
|
'color.border.disabled': "var(--ds-border-disabled, #0515240F)",
|
|
165
175
|
'color.border.focused': "var(--ds-border-focused, #4688EC)",
|
|
166
176
|
'color.border.input': "var(--ds-border-input, #8C8F97)",
|
|
@@ -168,10 +178,15 @@ export var borderColorMap = {
|
|
|
168
178
|
'color.border.selected': "var(--ds-border-selected, #1868DB)",
|
|
169
179
|
'color.border.brand': "var(--ds-border-brand, #1868DB)",
|
|
170
180
|
'color.border.danger': "var(--ds-border-danger, #E2483D)",
|
|
181
|
+
'color.border.danger.subtle': "var(--ds-border-danger-subtle, #FD9891)",
|
|
171
182
|
'color.border.warning': "var(--ds-border-warning, #E06C00)",
|
|
183
|
+
'color.border.warning.subtle': "var(--ds-border-warning-subtle, #FBC828)",
|
|
172
184
|
'color.border.success': "var(--ds-border-success, #6A9A23)",
|
|
185
|
+
'color.border.success.subtle': "var(--ds-border-success-subtle, #B3DF72)",
|
|
173
186
|
'color.border.discovery': "var(--ds-border-discovery, #AF59E1)",
|
|
187
|
+
'color.border.discovery.subtle': "var(--ds-border-discovery-subtle, #D8A0F7)",
|
|
174
188
|
'color.border.information': "var(--ds-border-information, #357DE8)",
|
|
189
|
+
'color.border.information.subtle': "var(--ds-border-information-subtle, #8FB8F6)",
|
|
175
190
|
'color.border.bold': "var(--ds-border-bold, #7D818A)"
|
|
176
191
|
};
|
|
177
192
|
export var backgroundColorMap = {
|
|
@@ -295,7 +310,7 @@ export var backgroundColorMap = {
|
|
|
295
310
|
'color.background.accent.gray.bolder': "var(--ds-background-accent-gray-bolder, #6B6E76)",
|
|
296
311
|
'color.background.accent.gray.bolder.hovered': "var(--ds-background-accent-gray-bolder-hovered, #505258)",
|
|
297
312
|
'color.background.accent.gray.bolder.pressed': "var(--ds-background-accent-gray-bolder-pressed, #3B3D42)",
|
|
298
|
-
'color.background.disabled': "var(--ds-background-disabled, #
|
|
313
|
+
'color.background.disabled': "var(--ds-background-disabled, #0515240F)",
|
|
299
314
|
'color.background.input': "var(--ds-background-input, #FFFFFF)",
|
|
300
315
|
'color.background.input.hovered': "var(--ds-background-input-hovered, #F8F8F8)",
|
|
301
316
|
'color.background.input.pressed': "var(--ds-background-input-pressed, #FFFFFF)",
|
|
@@ -332,6 +347,7 @@ export var backgroundColorMap = {
|
|
|
332
347
|
'color.background.danger.subtler': "var(--ds-background-danger-subtler, #FFD5D2)",
|
|
333
348
|
'color.background.danger.subtler.hovered': "var(--ds-background-danger-subtler-hovered, #FFB8B2)",
|
|
334
349
|
'color.background.danger.subtler.pressed': "var(--ds-background-danger-subtler-pressed, #FD9891)",
|
|
350
|
+
'color.background.danger.subtle': "var(--ds-background-danger-subtle, #FD9891)",
|
|
335
351
|
'color.background.danger.bold': "var(--ds-background-danger-bold, #C9372C)",
|
|
336
352
|
'color.background.danger.bold.hovered': "var(--ds-background-danger-bold-hovered, #AE2E24)",
|
|
337
353
|
'color.background.danger.bold.pressed': "var(--ds-background-danger-bold-pressed, #872821)",
|
|
@@ -341,6 +357,7 @@ export var backgroundColorMap = {
|
|
|
341
357
|
'color.background.warning.subtler': "var(--ds-background-warning-subtler, #FCE4A6)",
|
|
342
358
|
'color.background.warning.subtler.hovered': "var(--ds-background-warning-subtler-hovered, #FBD779)",
|
|
343
359
|
'color.background.warning.subtler.pressed': "var(--ds-background-warning-subtler-pressed, #FBC828)",
|
|
360
|
+
'color.background.warning.subtle': "var(--ds-background-warning-subtle, #FBD779)",
|
|
344
361
|
'color.background.warning.bold': "var(--ds-background-warning-bold, #FBC828)",
|
|
345
362
|
'color.background.warning.bold.hovered': "var(--ds-background-warning-bold-hovered, #FCA700)",
|
|
346
363
|
'color.background.warning.bold.pressed': "var(--ds-background-warning-bold-pressed, #F68909)",
|
|
@@ -350,6 +367,7 @@ export var backgroundColorMap = {
|
|
|
350
367
|
'color.background.success.subtler': "var(--ds-background-success-subtler, #D3F1A7)",
|
|
351
368
|
'color.background.success.subtler.hovered': "var(--ds-background-success-subtler-hovered, #BDE97C)",
|
|
352
369
|
'color.background.success.subtler.pressed': "var(--ds-background-success-subtler-pressed, #B3DF72)",
|
|
370
|
+
'color.background.success.subtle': "var(--ds-background-success-subtle, #B3DF72)",
|
|
353
371
|
'color.background.success.bold': "var(--ds-background-success-bold, #5B7F24)",
|
|
354
372
|
'color.background.success.bold.hovered': "var(--ds-background-success-bold-hovered, #4C6B1F)",
|
|
355
373
|
'color.background.success.bold.pressed': "var(--ds-background-success-bold-pressed, #3F5224)",
|
|
@@ -359,6 +377,7 @@ export var backgroundColorMap = {
|
|
|
359
377
|
'color.background.discovery.subtler': "var(--ds-background-discovery-subtler, #EED7FC)",
|
|
360
378
|
'color.background.discovery.subtler.hovered': "var(--ds-background-discovery-subtler-hovered, #E3BDFA)",
|
|
361
379
|
'color.background.discovery.subtler.pressed': "var(--ds-background-discovery-subtler-pressed, #D8A0F7)",
|
|
380
|
+
'color.background.discovery.subtle': "var(--ds-background-discovery-subtle, #D8A0F7)",
|
|
362
381
|
'color.background.discovery.bold': "var(--ds-background-discovery-bold, #964AC0)",
|
|
363
382
|
'color.background.discovery.bold.hovered': "var(--ds-background-discovery-bold-hovered, #803FA5)",
|
|
364
383
|
'color.background.discovery.bold.pressed': "var(--ds-background-discovery-bold-pressed, #673286)",
|
|
@@ -368,6 +387,7 @@ export var backgroundColorMap = {
|
|
|
368
387
|
'color.background.information.subtler': "var(--ds-background-information-subtler, #CFE1FD)",
|
|
369
388
|
'color.background.information.subtler.hovered': "var(--ds-background-information-subtler-hovered, #ADCBFB)",
|
|
370
389
|
'color.background.information.subtler.pressed': "var(--ds-background-information-subtler-pressed, #8FB8F6)",
|
|
390
|
+
'color.background.information.subtle': "var(--ds-background-information-subtle, #8FB8F6)",
|
|
371
391
|
'color.background.information.bold': "var(--ds-background-information-bold, #1868DB)",
|
|
372
392
|
'color.background.information.bold.hovered': "var(--ds-background-information-bold-hovered, #1558BC)",
|
|
373
393
|
'color.background.information.bold.pressed': "var(--ds-background-information-bold-pressed, #144794)",
|
package/dist/esm/xcss/xcss.js
CHANGED
|
@@ -158,6 +158,7 @@ var baseXcss = function baseXcss(style) {
|
|
|
158
158
|
* @private
|
|
159
159
|
* @deprecated
|
|
160
160
|
*/
|
|
161
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
161
162
|
var _parseXcss = function parseXcss(args) {
|
|
162
163
|
if (Array.isArray(args)) {
|
|
163
164
|
var emotion = [];
|
|
@@ -223,6 +224,7 @@ export { _parseXcss as parseXcss }; // Media queries should not contain nested m
|
|
|
223
224
|
* @deprecated Use `@atlaskit/css` with `@atlaskit/primitives/compiled` instead.
|
|
224
225
|
* {@link https://hello.atlassian.net/wiki/spaces/DST/pages/4992259434/Guidance+Migrating+to+atlaskit+css+from+xcss Internal documentation for migration; no external access}
|
|
225
226
|
*/
|
|
227
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
226
228
|
export function xcss(style) {
|
|
227
229
|
return baseXcss(style);
|
|
228
230
|
}
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* as we typically want to remove these from allowed elements.
|
|
4
4
|
*/
|
|
5
5
|
export type SVGElements = 'svg' | 'animate' | 'animateMotion' | 'animateTransform' | 'circle' | 'clipPath' | 'defs' | 'desc' | 'ellipse' | 'feBlend' | 'feColorMatrix' | 'feComponentTransfer' | 'feComposite' | 'feConvolveMatrix' | 'feDiffuseLighting' | 'feDisplacementMap' | 'feDistantLight' | 'feDropShadow' | 'feFlood' | 'feFuncA' | 'feFuncB' | 'feFuncG' | 'feFuncR' | 'feGaussianBlur' | 'feImage' | 'feMerge' | 'feMergeNode' | 'feMorphology' | 'feOffset' | 'fePointLight' | 'feSpecularLighting' | 'feSpotLight' | 'feTile' | 'feTurbulence' | 'filter' | 'foreignObject' | 'g' | 'image' | 'line' | 'linearGradient' | 'marker' | 'mask' | 'metadata' | 'mpath' | 'path' | 'pattern' | 'polygon' | 'polyline' | 'radialGradient' | 'rect' | 'stop' | 'switch' | 'symbol' | 'text' | 'textPath' | 'tspan' | 'use' | 'view';
|
|
6
|
-
export type BackgroundColorToken = 'color.background.accent.lime.subtlest' | 'color.background.accent.lime.subtlest.hovered' | 'color.background.accent.lime.subtlest.pressed' | 'color.background.accent.lime.subtler' | 'color.background.accent.lime.subtler.hovered' | 'color.background.accent.lime.subtler.pressed' | 'color.background.accent.lime.subtle' | 'color.background.accent.lime.subtle.hovered' | 'color.background.accent.lime.subtle.pressed' | 'color.background.accent.lime.bolder' | 'color.background.accent.lime.bolder.hovered' | 'color.background.accent.lime.bolder.pressed' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtlest.hovered' | 'color.background.accent.red.subtlest.pressed' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtler.hovered' | 'color.background.accent.red.subtler.pressed' | 'color.background.accent.red.subtle' | 'color.background.accent.red.subtle.hovered' | 'color.background.accent.red.subtle.pressed' | 'color.background.accent.red.bolder' | 'color.background.accent.red.bolder.hovered' | 'color.background.accent.red.bolder.pressed' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtlest.hovered' | 'color.background.accent.orange.subtlest.pressed' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtler.hovered' | 'color.background.accent.orange.subtler.pressed' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.subtle.hovered' | 'color.background.accent.orange.subtle.pressed' | 'color.background.accent.orange.bolder' | 'color.background.accent.orange.bolder.hovered' | 'color.background.accent.orange.bolder.pressed' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtlest.hovered' | 'color.background.accent.yellow.subtlest.pressed' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtler.hovered' | 'color.background.accent.yellow.subtler.pressed' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.subtle.hovered' | 'color.background.accent.yellow.subtle.pressed' | 'color.background.accent.yellow.bolder' | 'color.background.accent.yellow.bolder.hovered' | 'color.background.accent.yellow.bolder.pressed' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtlest.hovered' | 'color.background.accent.green.subtlest.pressed' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtler.hovered' | 'color.background.accent.green.subtler.pressed' | 'color.background.accent.green.subtle' | 'color.background.accent.green.subtle.hovered' | 'color.background.accent.green.subtle.pressed' | 'color.background.accent.green.bolder' | 'color.background.accent.green.bolder.hovered' | 'color.background.accent.green.bolder.pressed' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtlest.hovered' | 'color.background.accent.teal.subtlest.pressed' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtler.hovered' | 'color.background.accent.teal.subtler.pressed' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.subtle.hovered' | 'color.background.accent.teal.subtle.pressed' | 'color.background.accent.teal.bolder' | 'color.background.accent.teal.bolder.hovered' | 'color.background.accent.teal.bolder.pressed' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtlest.hovered' | 'color.background.accent.blue.subtlest.pressed' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtler.hovered' | 'color.background.accent.blue.subtler.pressed' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.subtle.hovered' | 'color.background.accent.blue.subtle.pressed' | 'color.background.accent.blue.bolder' | 'color.background.accent.blue.bolder.hovered' | 'color.background.accent.blue.bolder.pressed' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtlest.hovered' | 'color.background.accent.purple.subtlest.pressed' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtler.hovered' | 'color.background.accent.purple.subtler.pressed' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.subtle.hovered' | 'color.background.accent.purple.subtle.pressed' | 'color.background.accent.purple.bolder' | 'color.background.accent.purple.bolder.hovered' | 'color.background.accent.purple.bolder.pressed' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtlest.hovered' | 'color.background.accent.magenta.subtlest.pressed' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtler.hovered' | 'color.background.accent.magenta.subtler.pressed' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.subtle.hovered' | 'color.background.accent.magenta.subtle.pressed' | 'color.background.accent.magenta.bolder' | 'color.background.accent.magenta.bolder.hovered' | 'color.background.accent.magenta.bolder.pressed' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtlest.hovered' | 'color.background.accent.gray.subtlest.pressed' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtler.hovered' | 'color.background.accent.gray.subtler.pressed' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.subtle.hovered' | 'color.background.accent.gray.subtle.pressed' | 'color.background.accent.gray.bolder' | 'color.background.accent.gray.bolder.hovered' | 'color.background.accent.gray.bolder.pressed' | 'color.background.disabled' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.brand.subtlest' | 'color.background.brand.subtlest.hovered' | 'color.background.brand.subtlest.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.brand.boldest' | 'color.background.brand.boldest.hovered' | 'color.background.brand.boldest.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.subtler' | 'color.background.danger.subtler.hovered' | 'color.background.danger.subtler.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.subtler' | 'color.background.warning.subtler.hovered' | 'color.background.warning.subtler.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.subtler' | 'color.background.success.subtler.hovered' | 'color.background.success.subtler.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.subtler' | 'color.background.discovery.subtler.hovered' | 'color.background.discovery.subtler.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.subtler' | 'color.background.information.subtler.hovered' | 'color.background.information.subtler.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.skeleton' | 'color.skeleton.subtle' | 'elevation.surface' | 'elevation.surface.hovered' | 'elevation.surface.pressed' | 'elevation.surface.overlay' | 'elevation.surface.overlay.hovered' | 'elevation.surface.overlay.pressed' | 'elevation.surface.raised' | 'elevation.surface.raised.hovered' | 'elevation.surface.raised.pressed' | 'elevation.surface.sunken' | 'utility.elevation.surface.current';
|
|
6
|
+
export type BackgroundColorToken = 'color.background.accent.lime.subtlest' | 'color.background.accent.lime.subtlest.hovered' | 'color.background.accent.lime.subtlest.pressed' | 'color.background.accent.lime.subtler' | 'color.background.accent.lime.subtler.hovered' | 'color.background.accent.lime.subtler.pressed' | 'color.background.accent.lime.subtle' | 'color.background.accent.lime.subtle.hovered' | 'color.background.accent.lime.subtle.pressed' | 'color.background.accent.lime.bolder' | 'color.background.accent.lime.bolder.hovered' | 'color.background.accent.lime.bolder.pressed' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtlest.hovered' | 'color.background.accent.red.subtlest.pressed' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtler.hovered' | 'color.background.accent.red.subtler.pressed' | 'color.background.accent.red.subtle' | 'color.background.accent.red.subtle.hovered' | 'color.background.accent.red.subtle.pressed' | 'color.background.accent.red.bolder' | 'color.background.accent.red.bolder.hovered' | 'color.background.accent.red.bolder.pressed' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtlest.hovered' | 'color.background.accent.orange.subtlest.pressed' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtler.hovered' | 'color.background.accent.orange.subtler.pressed' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.subtle.hovered' | 'color.background.accent.orange.subtle.pressed' | 'color.background.accent.orange.bolder' | 'color.background.accent.orange.bolder.hovered' | 'color.background.accent.orange.bolder.pressed' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtlest.hovered' | 'color.background.accent.yellow.subtlest.pressed' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtler.hovered' | 'color.background.accent.yellow.subtler.pressed' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.subtle.hovered' | 'color.background.accent.yellow.subtle.pressed' | 'color.background.accent.yellow.bolder' | 'color.background.accent.yellow.bolder.hovered' | 'color.background.accent.yellow.bolder.pressed' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtlest.hovered' | 'color.background.accent.green.subtlest.pressed' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtler.hovered' | 'color.background.accent.green.subtler.pressed' | 'color.background.accent.green.subtle' | 'color.background.accent.green.subtle.hovered' | 'color.background.accent.green.subtle.pressed' | 'color.background.accent.green.bolder' | 'color.background.accent.green.bolder.hovered' | 'color.background.accent.green.bolder.pressed' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtlest.hovered' | 'color.background.accent.teal.subtlest.pressed' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtler.hovered' | 'color.background.accent.teal.subtler.pressed' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.subtle.hovered' | 'color.background.accent.teal.subtle.pressed' | 'color.background.accent.teal.bolder' | 'color.background.accent.teal.bolder.hovered' | 'color.background.accent.teal.bolder.pressed' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtlest.hovered' | 'color.background.accent.blue.subtlest.pressed' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtler.hovered' | 'color.background.accent.blue.subtler.pressed' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.subtle.hovered' | 'color.background.accent.blue.subtle.pressed' | 'color.background.accent.blue.bolder' | 'color.background.accent.blue.bolder.hovered' | 'color.background.accent.blue.bolder.pressed' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtlest.hovered' | 'color.background.accent.purple.subtlest.pressed' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtler.hovered' | 'color.background.accent.purple.subtler.pressed' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.subtle.hovered' | 'color.background.accent.purple.subtle.pressed' | 'color.background.accent.purple.bolder' | 'color.background.accent.purple.bolder.hovered' | 'color.background.accent.purple.bolder.pressed' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtlest.hovered' | 'color.background.accent.magenta.subtlest.pressed' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtler.hovered' | 'color.background.accent.magenta.subtler.pressed' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.subtle.hovered' | 'color.background.accent.magenta.subtle.pressed' | 'color.background.accent.magenta.bolder' | 'color.background.accent.magenta.bolder.hovered' | 'color.background.accent.magenta.bolder.pressed' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtlest.hovered' | 'color.background.accent.gray.subtlest.pressed' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtler.hovered' | 'color.background.accent.gray.subtler.pressed' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.subtle.hovered' | 'color.background.accent.gray.subtle.pressed' | 'color.background.accent.gray.bolder' | 'color.background.accent.gray.bolder.hovered' | 'color.background.accent.gray.bolder.pressed' | 'color.background.disabled' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.brand.subtlest' | 'color.background.brand.subtlest.hovered' | 'color.background.brand.subtlest.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.brand.boldest' | 'color.background.brand.boldest.hovered' | 'color.background.brand.boldest.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.subtler' | 'color.background.danger.subtler.hovered' | 'color.background.danger.subtler.pressed' | 'color.background.danger.subtle' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.subtler' | 'color.background.warning.subtler.hovered' | 'color.background.warning.subtler.pressed' | 'color.background.warning.subtle' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.subtler' | 'color.background.success.subtler.hovered' | 'color.background.success.subtler.pressed' | 'color.background.success.subtle' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.subtler' | 'color.background.discovery.subtler.hovered' | 'color.background.discovery.subtler.pressed' | 'color.background.discovery.subtle' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.subtler' | 'color.background.information.subtler.hovered' | 'color.background.information.subtler.pressed' | 'color.background.information.subtle' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.skeleton' | 'color.skeleton.subtle' | 'elevation.surface' | 'elevation.surface.hovered' | 'elevation.surface.pressed' | 'elevation.surface.overlay' | 'elevation.surface.overlay.hovered' | 'elevation.surface.overlay.pressed' | 'elevation.surface.raised' | 'elevation.surface.raised.hovered' | 'elevation.surface.raised.pressed' | 'elevation.surface.sunken' | 'utility.elevation.surface.current';
|
|
@@ -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::5181bd08725ac44b53e0ae9f914067c1>>
|
|
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::3c254494d015dde7566fc7c46750adf2>>
|
|
97
97
|
*/
|
|
98
98
|
export declare const inverseColorMap: {
|
|
99
99
|
'color.background.neutral.bold': 'color.text.inverse';
|
|
@@ -129,11 +129,11 @@ export declare const inverseColorMap: {
|
|
|
129
129
|
*/
|
|
130
130
|
/**
|
|
131
131
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
132
|
-
* @codegen <<SignedSource::
|
|
132
|
+
* @codegen <<SignedSource::54e9dee77c5da7d77db6b6cb20970356>>
|
|
133
133
|
* @codegenId elevation
|
|
134
134
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
135
135
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
|
|
137
137
|
*/
|
|
138
138
|
export declare const opacityMap: {
|
|
139
139
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
@@ -166,24 +166,34 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
|
|
|
166
166
|
*/
|
|
167
167
|
/**
|
|
168
168
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
169
|
-
* @codegen <<SignedSource::
|
|
169
|
+
* @codegen <<SignedSource::5fd7f92fbc474ab0beacc4e06dad8fca>>
|
|
170
170
|
* @codegenId colors
|
|
171
171
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
172
172
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
173
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
173
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
|
|
174
174
|
*/
|
|
175
175
|
export declare const borderColorMap: {
|
|
176
176
|
'color.border': 'var(--ds-border)';
|
|
177
177
|
'color.border.accent.lime': 'var(--ds-border-accent-lime)';
|
|
178
|
+
'color.border.accent.lime.subtle': 'var(--ds-border-accent-lime-subtle)';
|
|
178
179
|
'color.border.accent.red': 'var(--ds-border-accent-red)';
|
|
180
|
+
'color.border.accent.red.subtle': 'var(--ds-border-accent-red-subtle)';
|
|
179
181
|
'color.border.accent.orange': 'var(--ds-border-accent-orange)';
|
|
182
|
+
'color.border.accent.orange.subtle': 'var(--ds-border-accent-orange-subtle)';
|
|
180
183
|
'color.border.accent.yellow': 'var(--ds-border-accent-yellow)';
|
|
184
|
+
'color.border.accent.yellow.subtle': 'var(--ds-border-accent-yellow-subtle)';
|
|
181
185
|
'color.border.accent.green': 'var(--ds-border-accent-green)';
|
|
186
|
+
'color.border.accent.green.subtle': 'var(--ds-border-accent-green-subtle)';
|
|
182
187
|
'color.border.accent.teal': 'var(--ds-border-accent-teal)';
|
|
188
|
+
'color.border.accent.teal.subtle': 'var(--ds-border-accent-teal-subtle)';
|
|
183
189
|
'color.border.accent.blue': 'var(--ds-border-accent-blue)';
|
|
190
|
+
'color.border.accent.blue.subtle': 'var(--ds-border-accent-blue-subtle)';
|
|
184
191
|
'color.border.accent.purple': 'var(--ds-border-accent-purple)';
|
|
192
|
+
'color.border.accent.purple.subtle': 'var(--ds-border-accent-purple-subtle)';
|
|
185
193
|
'color.border.accent.magenta': 'var(--ds-border-accent-magenta)';
|
|
194
|
+
'color.border.accent.magenta.subtle': 'var(--ds-border-accent-magenta-subtle)';
|
|
186
195
|
'color.border.accent.gray': 'var(--ds-border-accent-gray)';
|
|
196
|
+
'color.border.accent.gray.subtle': 'var(--ds-border-accent-gray-subtle)';
|
|
187
197
|
'color.border.disabled': 'var(--ds-border-disabled)';
|
|
188
198
|
'color.border.focused': 'var(--ds-border-focused)';
|
|
189
199
|
'color.border.input': 'var(--ds-border-input)';
|
|
@@ -191,10 +201,15 @@ export declare const borderColorMap: {
|
|
|
191
201
|
'color.border.selected': 'var(--ds-border-selected)';
|
|
192
202
|
'color.border.brand': 'var(--ds-border-brand)';
|
|
193
203
|
'color.border.danger': 'var(--ds-border-danger)';
|
|
204
|
+
'color.border.danger.subtle': 'var(--ds-border-danger-subtle)';
|
|
194
205
|
'color.border.warning': 'var(--ds-border-warning)';
|
|
206
|
+
'color.border.warning.subtle': 'var(--ds-border-warning-subtle)';
|
|
195
207
|
'color.border.success': 'var(--ds-border-success)';
|
|
208
|
+
'color.border.success.subtle': 'var(--ds-border-success-subtle)';
|
|
196
209
|
'color.border.discovery': 'var(--ds-border-discovery)';
|
|
210
|
+
'color.border.discovery.subtle': 'var(--ds-border-discovery-subtle)';
|
|
197
211
|
'color.border.information': 'var(--ds-border-information)';
|
|
212
|
+
'color.border.information.subtle': 'var(--ds-border-information-subtle)';
|
|
198
213
|
'color.border.bold': 'var(--ds-border-bold)';
|
|
199
214
|
};
|
|
200
215
|
export type BorderColor = keyof typeof borderColorMap;
|
|
@@ -356,6 +371,7 @@ export declare const backgroundColorMap: {
|
|
|
356
371
|
'color.background.danger.subtler': 'var(--ds-background-danger-subtler)';
|
|
357
372
|
'color.background.danger.subtler.hovered': 'var(--ds-background-danger-subtler-hovered)';
|
|
358
373
|
'color.background.danger.subtler.pressed': 'var(--ds-background-danger-subtler-pressed)';
|
|
374
|
+
'color.background.danger.subtle': 'var(--ds-background-danger-subtle)';
|
|
359
375
|
'color.background.danger.bold': 'var(--ds-background-danger-bold)';
|
|
360
376
|
'color.background.danger.bold.hovered': 'var(--ds-background-danger-bold-hovered)';
|
|
361
377
|
'color.background.danger.bold.pressed': 'var(--ds-background-danger-bold-pressed)';
|
|
@@ -365,6 +381,7 @@ export declare const backgroundColorMap: {
|
|
|
365
381
|
'color.background.warning.subtler': 'var(--ds-background-warning-subtler)';
|
|
366
382
|
'color.background.warning.subtler.hovered': 'var(--ds-background-warning-subtler-hovered)';
|
|
367
383
|
'color.background.warning.subtler.pressed': 'var(--ds-background-warning-subtler-pressed)';
|
|
384
|
+
'color.background.warning.subtle': 'var(--ds-background-warning-subtle)';
|
|
368
385
|
'color.background.warning.bold': 'var(--ds-background-warning-bold)';
|
|
369
386
|
'color.background.warning.bold.hovered': 'var(--ds-background-warning-bold-hovered)';
|
|
370
387
|
'color.background.warning.bold.pressed': 'var(--ds-background-warning-bold-pressed)';
|
|
@@ -374,6 +391,7 @@ export declare const backgroundColorMap: {
|
|
|
374
391
|
'color.background.success.subtler': 'var(--ds-background-success-subtler)';
|
|
375
392
|
'color.background.success.subtler.hovered': 'var(--ds-background-success-subtler-hovered)';
|
|
376
393
|
'color.background.success.subtler.pressed': 'var(--ds-background-success-subtler-pressed)';
|
|
394
|
+
'color.background.success.subtle': 'var(--ds-background-success-subtle)';
|
|
377
395
|
'color.background.success.bold': 'var(--ds-background-success-bold)';
|
|
378
396
|
'color.background.success.bold.hovered': 'var(--ds-background-success-bold-hovered)';
|
|
379
397
|
'color.background.success.bold.pressed': 'var(--ds-background-success-bold-pressed)';
|
|
@@ -383,6 +401,7 @@ export declare const backgroundColorMap: {
|
|
|
383
401
|
'color.background.discovery.subtler': 'var(--ds-background-discovery-subtler)';
|
|
384
402
|
'color.background.discovery.subtler.hovered': 'var(--ds-background-discovery-subtler-hovered)';
|
|
385
403
|
'color.background.discovery.subtler.pressed': 'var(--ds-background-discovery-subtler-pressed)';
|
|
404
|
+
'color.background.discovery.subtle': 'var(--ds-background-discovery-subtle)';
|
|
386
405
|
'color.background.discovery.bold': 'var(--ds-background-discovery-bold)';
|
|
387
406
|
'color.background.discovery.bold.hovered': 'var(--ds-background-discovery-bold-hovered)';
|
|
388
407
|
'color.background.discovery.bold.pressed': 'var(--ds-background-discovery-bold-pressed)';
|
|
@@ -392,6 +411,7 @@ export declare const backgroundColorMap: {
|
|
|
392
411
|
'color.background.information.subtler': 'var(--ds-background-information-subtler)';
|
|
393
412
|
'color.background.information.subtler.hovered': 'var(--ds-background-information-subtler-hovered)';
|
|
394
413
|
'color.background.information.subtler.pressed': 'var(--ds-background-information-subtler-pressed)';
|
|
414
|
+
'color.background.information.subtle': 'var(--ds-background-information-subtle)';
|
|
395
415
|
'color.background.information.bold': 'var(--ds-background-information-bold)';
|
|
396
416
|
'color.background.information.bold.hovered': 'var(--ds-background-information-bold-hovered)';
|
|
397
417
|
'color.background.information.bold.pressed': 'var(--ds-background-information-bold-pressed)';
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* as we typically want to remove these from allowed elements.
|
|
4
4
|
*/
|
|
5
5
|
export type SVGElements = 'svg' | 'animate' | 'animateMotion' | 'animateTransform' | 'circle' | 'clipPath' | 'defs' | 'desc' | 'ellipse' | 'feBlend' | 'feColorMatrix' | 'feComponentTransfer' | 'feComposite' | 'feConvolveMatrix' | 'feDiffuseLighting' | 'feDisplacementMap' | 'feDistantLight' | 'feDropShadow' | 'feFlood' | 'feFuncA' | 'feFuncB' | 'feFuncG' | 'feFuncR' | 'feGaussianBlur' | 'feImage' | 'feMerge' | 'feMergeNode' | 'feMorphology' | 'feOffset' | 'fePointLight' | 'feSpecularLighting' | 'feSpotLight' | 'feTile' | 'feTurbulence' | 'filter' | 'foreignObject' | 'g' | 'image' | 'line' | 'linearGradient' | 'marker' | 'mask' | 'metadata' | 'mpath' | 'path' | 'pattern' | 'polygon' | 'polyline' | 'radialGradient' | 'rect' | 'stop' | 'switch' | 'symbol' | 'text' | 'textPath' | 'tspan' | 'use' | 'view';
|
|
6
|
-
export type BackgroundColorToken = 'color.background.accent.lime.subtlest' | 'color.background.accent.lime.subtlest.hovered' | 'color.background.accent.lime.subtlest.pressed' | 'color.background.accent.lime.subtler' | 'color.background.accent.lime.subtler.hovered' | 'color.background.accent.lime.subtler.pressed' | 'color.background.accent.lime.subtle' | 'color.background.accent.lime.subtle.hovered' | 'color.background.accent.lime.subtle.pressed' | 'color.background.accent.lime.bolder' | 'color.background.accent.lime.bolder.hovered' | 'color.background.accent.lime.bolder.pressed' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtlest.hovered' | 'color.background.accent.red.subtlest.pressed' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtler.hovered' | 'color.background.accent.red.subtler.pressed' | 'color.background.accent.red.subtle' | 'color.background.accent.red.subtle.hovered' | 'color.background.accent.red.subtle.pressed' | 'color.background.accent.red.bolder' | 'color.background.accent.red.bolder.hovered' | 'color.background.accent.red.bolder.pressed' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtlest.hovered' | 'color.background.accent.orange.subtlest.pressed' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtler.hovered' | 'color.background.accent.orange.subtler.pressed' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.subtle.hovered' | 'color.background.accent.orange.subtle.pressed' | 'color.background.accent.orange.bolder' | 'color.background.accent.orange.bolder.hovered' | 'color.background.accent.orange.bolder.pressed' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtlest.hovered' | 'color.background.accent.yellow.subtlest.pressed' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtler.hovered' | 'color.background.accent.yellow.subtler.pressed' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.subtle.hovered' | 'color.background.accent.yellow.subtle.pressed' | 'color.background.accent.yellow.bolder' | 'color.background.accent.yellow.bolder.hovered' | 'color.background.accent.yellow.bolder.pressed' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtlest.hovered' | 'color.background.accent.green.subtlest.pressed' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtler.hovered' | 'color.background.accent.green.subtler.pressed' | 'color.background.accent.green.subtle' | 'color.background.accent.green.subtle.hovered' | 'color.background.accent.green.subtle.pressed' | 'color.background.accent.green.bolder' | 'color.background.accent.green.bolder.hovered' | 'color.background.accent.green.bolder.pressed' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtlest.hovered' | 'color.background.accent.teal.subtlest.pressed' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtler.hovered' | 'color.background.accent.teal.subtler.pressed' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.subtle.hovered' | 'color.background.accent.teal.subtle.pressed' | 'color.background.accent.teal.bolder' | 'color.background.accent.teal.bolder.hovered' | 'color.background.accent.teal.bolder.pressed' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtlest.hovered' | 'color.background.accent.blue.subtlest.pressed' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtler.hovered' | 'color.background.accent.blue.subtler.pressed' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.subtle.hovered' | 'color.background.accent.blue.subtle.pressed' | 'color.background.accent.blue.bolder' | 'color.background.accent.blue.bolder.hovered' | 'color.background.accent.blue.bolder.pressed' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtlest.hovered' | 'color.background.accent.purple.subtlest.pressed' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtler.hovered' | 'color.background.accent.purple.subtler.pressed' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.subtle.hovered' | 'color.background.accent.purple.subtle.pressed' | 'color.background.accent.purple.bolder' | 'color.background.accent.purple.bolder.hovered' | 'color.background.accent.purple.bolder.pressed' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtlest.hovered' | 'color.background.accent.magenta.subtlest.pressed' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtler.hovered' | 'color.background.accent.magenta.subtler.pressed' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.subtle.hovered' | 'color.background.accent.magenta.subtle.pressed' | 'color.background.accent.magenta.bolder' | 'color.background.accent.magenta.bolder.hovered' | 'color.background.accent.magenta.bolder.pressed' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtlest.hovered' | 'color.background.accent.gray.subtlest.pressed' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtler.hovered' | 'color.background.accent.gray.subtler.pressed' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.subtle.hovered' | 'color.background.accent.gray.subtle.pressed' | 'color.background.accent.gray.bolder' | 'color.background.accent.gray.bolder.hovered' | 'color.background.accent.gray.bolder.pressed' | 'color.background.disabled' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.brand.subtlest' | 'color.background.brand.subtlest.hovered' | 'color.background.brand.subtlest.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.brand.boldest' | 'color.background.brand.boldest.hovered' | 'color.background.brand.boldest.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.subtler' | 'color.background.danger.subtler.hovered' | 'color.background.danger.subtler.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.subtler' | 'color.background.warning.subtler.hovered' | 'color.background.warning.subtler.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.subtler' | 'color.background.success.subtler.hovered' | 'color.background.success.subtler.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.subtler' | 'color.background.discovery.subtler.hovered' | 'color.background.discovery.subtler.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.subtler' | 'color.background.information.subtler.hovered' | 'color.background.information.subtler.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.skeleton' | 'color.skeleton.subtle' | 'elevation.surface' | 'elevation.surface.hovered' | 'elevation.surface.pressed' | 'elevation.surface.overlay' | 'elevation.surface.overlay.hovered' | 'elevation.surface.overlay.pressed' | 'elevation.surface.raised' | 'elevation.surface.raised.hovered' | 'elevation.surface.raised.pressed' | 'elevation.surface.sunken' | 'utility.elevation.surface.current';
|
|
6
|
+
export type BackgroundColorToken = 'color.background.accent.lime.subtlest' | 'color.background.accent.lime.subtlest.hovered' | 'color.background.accent.lime.subtlest.pressed' | 'color.background.accent.lime.subtler' | 'color.background.accent.lime.subtler.hovered' | 'color.background.accent.lime.subtler.pressed' | 'color.background.accent.lime.subtle' | 'color.background.accent.lime.subtle.hovered' | 'color.background.accent.lime.subtle.pressed' | 'color.background.accent.lime.bolder' | 'color.background.accent.lime.bolder.hovered' | 'color.background.accent.lime.bolder.pressed' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtlest.hovered' | 'color.background.accent.red.subtlest.pressed' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtler.hovered' | 'color.background.accent.red.subtler.pressed' | 'color.background.accent.red.subtle' | 'color.background.accent.red.subtle.hovered' | 'color.background.accent.red.subtle.pressed' | 'color.background.accent.red.bolder' | 'color.background.accent.red.bolder.hovered' | 'color.background.accent.red.bolder.pressed' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtlest.hovered' | 'color.background.accent.orange.subtlest.pressed' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtler.hovered' | 'color.background.accent.orange.subtler.pressed' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.subtle.hovered' | 'color.background.accent.orange.subtle.pressed' | 'color.background.accent.orange.bolder' | 'color.background.accent.orange.bolder.hovered' | 'color.background.accent.orange.bolder.pressed' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtlest.hovered' | 'color.background.accent.yellow.subtlest.pressed' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtler.hovered' | 'color.background.accent.yellow.subtler.pressed' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.subtle.hovered' | 'color.background.accent.yellow.subtle.pressed' | 'color.background.accent.yellow.bolder' | 'color.background.accent.yellow.bolder.hovered' | 'color.background.accent.yellow.bolder.pressed' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtlest.hovered' | 'color.background.accent.green.subtlest.pressed' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtler.hovered' | 'color.background.accent.green.subtler.pressed' | 'color.background.accent.green.subtle' | 'color.background.accent.green.subtle.hovered' | 'color.background.accent.green.subtle.pressed' | 'color.background.accent.green.bolder' | 'color.background.accent.green.bolder.hovered' | 'color.background.accent.green.bolder.pressed' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtlest.hovered' | 'color.background.accent.teal.subtlest.pressed' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtler.hovered' | 'color.background.accent.teal.subtler.pressed' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.subtle.hovered' | 'color.background.accent.teal.subtle.pressed' | 'color.background.accent.teal.bolder' | 'color.background.accent.teal.bolder.hovered' | 'color.background.accent.teal.bolder.pressed' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtlest.hovered' | 'color.background.accent.blue.subtlest.pressed' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtler.hovered' | 'color.background.accent.blue.subtler.pressed' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.subtle.hovered' | 'color.background.accent.blue.subtle.pressed' | 'color.background.accent.blue.bolder' | 'color.background.accent.blue.bolder.hovered' | 'color.background.accent.blue.bolder.pressed' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtlest.hovered' | 'color.background.accent.purple.subtlest.pressed' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtler.hovered' | 'color.background.accent.purple.subtler.pressed' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.subtle.hovered' | 'color.background.accent.purple.subtle.pressed' | 'color.background.accent.purple.bolder' | 'color.background.accent.purple.bolder.hovered' | 'color.background.accent.purple.bolder.pressed' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtlest.hovered' | 'color.background.accent.magenta.subtlest.pressed' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtler.hovered' | 'color.background.accent.magenta.subtler.pressed' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.subtle.hovered' | 'color.background.accent.magenta.subtle.pressed' | 'color.background.accent.magenta.bolder' | 'color.background.accent.magenta.bolder.hovered' | 'color.background.accent.magenta.bolder.pressed' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtlest.hovered' | 'color.background.accent.gray.subtlest.pressed' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtler.hovered' | 'color.background.accent.gray.subtler.pressed' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.subtle.hovered' | 'color.background.accent.gray.subtle.pressed' | 'color.background.accent.gray.bolder' | 'color.background.accent.gray.bolder.hovered' | 'color.background.accent.gray.bolder.pressed' | 'color.background.disabled' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.brand.subtlest' | 'color.background.brand.subtlest.hovered' | 'color.background.brand.subtlest.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.brand.boldest' | 'color.background.brand.boldest.hovered' | 'color.background.brand.boldest.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.subtler' | 'color.background.danger.subtler.hovered' | 'color.background.danger.subtler.pressed' | 'color.background.danger.subtle' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.subtler' | 'color.background.warning.subtler.hovered' | 'color.background.warning.subtler.pressed' | 'color.background.warning.subtle' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.subtler' | 'color.background.success.subtler.hovered' | 'color.background.success.subtler.pressed' | 'color.background.success.subtle' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.subtler' | 'color.background.discovery.subtler.hovered' | 'color.background.discovery.subtler.pressed' | 'color.background.discovery.subtle' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.subtler' | 'color.background.information.subtler.hovered' | 'color.background.information.subtler.pressed' | 'color.background.information.subtle' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.skeleton' | 'color.skeleton.subtle' | 'elevation.surface' | 'elevation.surface.hovered' | 'elevation.surface.pressed' | 'elevation.surface.overlay' | 'elevation.surface.overlay.hovered' | 'elevation.surface.overlay.pressed' | 'elevation.surface.raised' | 'elevation.surface.raised.hovered' | 'elevation.surface.raised.pressed' | 'elevation.surface.sunken' | 'utility.elevation.surface.current';
|
|
@@ -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::5181bd08725ac44b53e0ae9f914067c1>>
|
|
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::3c254494d015dde7566fc7c46750adf2>>
|
|
97
97
|
*/
|
|
98
98
|
export declare const inverseColorMap: {
|
|
99
99
|
'color.background.neutral.bold': 'color.text.inverse';
|
|
@@ -129,11 +129,11 @@ export declare const inverseColorMap: {
|
|
|
129
129
|
*/
|
|
130
130
|
/**
|
|
131
131
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
132
|
-
* @codegen <<SignedSource::
|
|
132
|
+
* @codegen <<SignedSource::54e9dee77c5da7d77db6b6cb20970356>>
|
|
133
133
|
* @codegenId elevation
|
|
134
134
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
135
135
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
|
|
137
137
|
*/
|
|
138
138
|
export declare const opacityMap: {
|
|
139
139
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
@@ -166,24 +166,34 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
|
|
|
166
166
|
*/
|
|
167
167
|
/**
|
|
168
168
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
169
|
-
* @codegen <<SignedSource::
|
|
169
|
+
* @codegen <<SignedSource::5fd7f92fbc474ab0beacc4e06dad8fca>>
|
|
170
170
|
* @codegenId colors
|
|
171
171
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
172
172
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
173
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
173
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
|
|
174
174
|
*/
|
|
175
175
|
export declare const borderColorMap: {
|
|
176
176
|
'color.border': 'var(--ds-border)';
|
|
177
177
|
'color.border.accent.lime': 'var(--ds-border-accent-lime)';
|
|
178
|
+
'color.border.accent.lime.subtle': 'var(--ds-border-accent-lime-subtle)';
|
|
178
179
|
'color.border.accent.red': 'var(--ds-border-accent-red)';
|
|
180
|
+
'color.border.accent.red.subtle': 'var(--ds-border-accent-red-subtle)';
|
|
179
181
|
'color.border.accent.orange': 'var(--ds-border-accent-orange)';
|
|
182
|
+
'color.border.accent.orange.subtle': 'var(--ds-border-accent-orange-subtle)';
|
|
180
183
|
'color.border.accent.yellow': 'var(--ds-border-accent-yellow)';
|
|
184
|
+
'color.border.accent.yellow.subtle': 'var(--ds-border-accent-yellow-subtle)';
|
|
181
185
|
'color.border.accent.green': 'var(--ds-border-accent-green)';
|
|
186
|
+
'color.border.accent.green.subtle': 'var(--ds-border-accent-green-subtle)';
|
|
182
187
|
'color.border.accent.teal': 'var(--ds-border-accent-teal)';
|
|
188
|
+
'color.border.accent.teal.subtle': 'var(--ds-border-accent-teal-subtle)';
|
|
183
189
|
'color.border.accent.blue': 'var(--ds-border-accent-blue)';
|
|
190
|
+
'color.border.accent.blue.subtle': 'var(--ds-border-accent-blue-subtle)';
|
|
184
191
|
'color.border.accent.purple': 'var(--ds-border-accent-purple)';
|
|
192
|
+
'color.border.accent.purple.subtle': 'var(--ds-border-accent-purple-subtle)';
|
|
185
193
|
'color.border.accent.magenta': 'var(--ds-border-accent-magenta)';
|
|
194
|
+
'color.border.accent.magenta.subtle': 'var(--ds-border-accent-magenta-subtle)';
|
|
186
195
|
'color.border.accent.gray': 'var(--ds-border-accent-gray)';
|
|
196
|
+
'color.border.accent.gray.subtle': 'var(--ds-border-accent-gray-subtle)';
|
|
187
197
|
'color.border.disabled': 'var(--ds-border-disabled)';
|
|
188
198
|
'color.border.focused': 'var(--ds-border-focused)';
|
|
189
199
|
'color.border.input': 'var(--ds-border-input)';
|
|
@@ -191,10 +201,15 @@ export declare const borderColorMap: {
|
|
|
191
201
|
'color.border.selected': 'var(--ds-border-selected)';
|
|
192
202
|
'color.border.brand': 'var(--ds-border-brand)';
|
|
193
203
|
'color.border.danger': 'var(--ds-border-danger)';
|
|
204
|
+
'color.border.danger.subtle': 'var(--ds-border-danger-subtle)';
|
|
194
205
|
'color.border.warning': 'var(--ds-border-warning)';
|
|
206
|
+
'color.border.warning.subtle': 'var(--ds-border-warning-subtle)';
|
|
195
207
|
'color.border.success': 'var(--ds-border-success)';
|
|
208
|
+
'color.border.success.subtle': 'var(--ds-border-success-subtle)';
|
|
196
209
|
'color.border.discovery': 'var(--ds-border-discovery)';
|
|
210
|
+
'color.border.discovery.subtle': 'var(--ds-border-discovery-subtle)';
|
|
197
211
|
'color.border.information': 'var(--ds-border-information)';
|
|
212
|
+
'color.border.information.subtle': 'var(--ds-border-information-subtle)';
|
|
198
213
|
'color.border.bold': 'var(--ds-border-bold)';
|
|
199
214
|
};
|
|
200
215
|
export type BorderColor = keyof typeof borderColorMap;
|
|
@@ -356,6 +371,7 @@ export declare const backgroundColorMap: {
|
|
|
356
371
|
'color.background.danger.subtler': 'var(--ds-background-danger-subtler)';
|
|
357
372
|
'color.background.danger.subtler.hovered': 'var(--ds-background-danger-subtler-hovered)';
|
|
358
373
|
'color.background.danger.subtler.pressed': 'var(--ds-background-danger-subtler-pressed)';
|
|
374
|
+
'color.background.danger.subtle': 'var(--ds-background-danger-subtle)';
|
|
359
375
|
'color.background.danger.bold': 'var(--ds-background-danger-bold)';
|
|
360
376
|
'color.background.danger.bold.hovered': 'var(--ds-background-danger-bold-hovered)';
|
|
361
377
|
'color.background.danger.bold.pressed': 'var(--ds-background-danger-bold-pressed)';
|
|
@@ -365,6 +381,7 @@ export declare const backgroundColorMap: {
|
|
|
365
381
|
'color.background.warning.subtler': 'var(--ds-background-warning-subtler)';
|
|
366
382
|
'color.background.warning.subtler.hovered': 'var(--ds-background-warning-subtler-hovered)';
|
|
367
383
|
'color.background.warning.subtler.pressed': 'var(--ds-background-warning-subtler-pressed)';
|
|
384
|
+
'color.background.warning.subtle': 'var(--ds-background-warning-subtle)';
|
|
368
385
|
'color.background.warning.bold': 'var(--ds-background-warning-bold)';
|
|
369
386
|
'color.background.warning.bold.hovered': 'var(--ds-background-warning-bold-hovered)';
|
|
370
387
|
'color.background.warning.bold.pressed': 'var(--ds-background-warning-bold-pressed)';
|
|
@@ -374,6 +391,7 @@ export declare const backgroundColorMap: {
|
|
|
374
391
|
'color.background.success.subtler': 'var(--ds-background-success-subtler)';
|
|
375
392
|
'color.background.success.subtler.hovered': 'var(--ds-background-success-subtler-hovered)';
|
|
376
393
|
'color.background.success.subtler.pressed': 'var(--ds-background-success-subtler-pressed)';
|
|
394
|
+
'color.background.success.subtle': 'var(--ds-background-success-subtle)';
|
|
377
395
|
'color.background.success.bold': 'var(--ds-background-success-bold)';
|
|
378
396
|
'color.background.success.bold.hovered': 'var(--ds-background-success-bold-hovered)';
|
|
379
397
|
'color.background.success.bold.pressed': 'var(--ds-background-success-bold-pressed)';
|
|
@@ -383,6 +401,7 @@ export declare const backgroundColorMap: {
|
|
|
383
401
|
'color.background.discovery.subtler': 'var(--ds-background-discovery-subtler)';
|
|
384
402
|
'color.background.discovery.subtler.hovered': 'var(--ds-background-discovery-subtler-hovered)';
|
|
385
403
|
'color.background.discovery.subtler.pressed': 'var(--ds-background-discovery-subtler-pressed)';
|
|
404
|
+
'color.background.discovery.subtle': 'var(--ds-background-discovery-subtle)';
|
|
386
405
|
'color.background.discovery.bold': 'var(--ds-background-discovery-bold)';
|
|
387
406
|
'color.background.discovery.bold.hovered': 'var(--ds-background-discovery-bold-hovered)';
|
|
388
407
|
'color.background.discovery.bold.pressed': 'var(--ds-background-discovery-bold-pressed)';
|
|
@@ -392,6 +411,7 @@ export declare const backgroundColorMap: {
|
|
|
392
411
|
'color.background.information.subtler': 'var(--ds-background-information-subtler)';
|
|
393
412
|
'color.background.information.subtler.hovered': 'var(--ds-background-information-subtler-hovered)';
|
|
394
413
|
'color.background.information.subtler.pressed': 'var(--ds-background-information-subtler-pressed)';
|
|
414
|
+
'color.background.information.subtle': 'var(--ds-background-information-subtle)';
|
|
395
415
|
'color.background.information.bold': 'var(--ds-background-information-bold)';
|
|
396
416
|
'color.background.information.bold.hovered': 'var(--ds-background-information-bold-hovered)';
|
|
397
417
|
'color.background.information.bold.pressed': 'var(--ds-background-information-bold-pressed)';
|