@atlaskit/primitives 0.10.1 → 0.12.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 +12 -0
- package/constellation/xcss/usage.mdx +1 -1
- package/dist/cjs/components/inline.js +5 -1
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +178 -178
- package/dist/es2019/components/inline.js +4 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +178 -178
- package/dist/esm/components/inline.js +5 -1
- package/dist/esm/version.json +1 -1
- package/dist/esm/xcss/style-maps.partial.js +178 -178
- package/dist/types/components/inline.d.ts +1 -1
- package/dist/types/xcss/style-maps.partial.d.ts +178 -178
- package/dist/types-ts4.5/components/inline.d.ts +1 -1
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +178 -178
- package/package.json +2 -2
- package/report.api.md +177 -177
- package/scripts/__tests__/__snapshots__/codegen.test.tsx.snap +280 -142
- package/scripts/border-codegen-template.tsx +2 -5
- package/scripts/color-codegen-template.tsx +2 -4
- package/tmp/api-report-tmp.d.ts +177 -177
package/report.api.md
CHANGED
|
@@ -32,7 +32,7 @@ import { RefAttributes } from 'react';
|
|
|
32
32
|
import { SerializedStyles } from '@emotion/serialize';
|
|
33
33
|
|
|
34
34
|
// @public (undocumented)
|
|
35
|
-
type AlignBlock = 'baseline' | 'center' | 'end' | 'start';
|
|
35
|
+
type AlignBlock = 'baseline' | 'center' | 'end' | 'start' | 'stretch';
|
|
36
36
|
|
|
37
37
|
// @public (undocumented)
|
|
38
38
|
type AlignBlock_2 = 'center' | 'end' | 'start';
|
|
@@ -82,97 +82,97 @@ type BackgroundColor = keyof typeof backgroundColorMap;
|
|
|
82
82
|
|
|
83
83
|
// @public (undocumented)
|
|
84
84
|
const backgroundColorMap: {
|
|
85
|
-
readonly 'accent.red.subtlest': 'var(--ds-background-accent-red-subtlest)';
|
|
86
|
-
readonly 'accent.red.subtler': 'var(--ds-background-accent-red-subtler)';
|
|
87
|
-
readonly 'accent.red.subtle': 'var(--ds-background-accent-red-subtle)';
|
|
88
|
-
readonly 'accent.red.bolder': 'var(--ds-background-accent-red-bolder)';
|
|
89
|
-
readonly 'accent.orange.subtlest': 'var(--ds-background-accent-orange-subtlest)';
|
|
90
|
-
readonly 'accent.orange.subtler': 'var(--ds-background-accent-orange-subtler)';
|
|
91
|
-
readonly 'accent.orange.subtle': 'var(--ds-background-accent-orange-subtle)';
|
|
92
|
-
readonly 'accent.orange.bolder': 'var(--ds-background-accent-orange-bolder)';
|
|
93
|
-
readonly 'accent.yellow.subtlest': 'var(--ds-background-accent-yellow-subtlest)';
|
|
94
|
-
readonly 'accent.yellow.subtler': 'var(--ds-background-accent-yellow-subtler)';
|
|
95
|
-
readonly 'accent.yellow.subtle': 'var(--ds-background-accent-yellow-subtle)';
|
|
96
|
-
readonly 'accent.yellow.bolder': 'var(--ds-background-accent-yellow-bolder)';
|
|
97
|
-
readonly 'accent.green.subtlest': 'var(--ds-background-accent-green-subtlest)';
|
|
98
|
-
readonly 'accent.green.subtler': 'var(--ds-background-accent-green-subtler)';
|
|
99
|
-
readonly 'accent.green.subtle': 'var(--ds-background-accent-green-subtle)';
|
|
100
|
-
readonly 'accent.green.bolder': 'var(--ds-background-accent-green-bolder)';
|
|
101
|
-
readonly 'accent.teal.subtlest': 'var(--ds-background-accent-teal-subtlest)';
|
|
102
|
-
readonly 'accent.teal.subtler': 'var(--ds-background-accent-teal-subtler)';
|
|
103
|
-
readonly 'accent.teal.subtle': 'var(--ds-background-accent-teal-subtle)';
|
|
104
|
-
readonly 'accent.teal.bolder': 'var(--ds-background-accent-teal-bolder)';
|
|
105
|
-
readonly 'accent.blue.subtlest': 'var(--ds-background-accent-blue-subtlest)';
|
|
106
|
-
readonly 'accent.blue.subtler': 'var(--ds-background-accent-blue-subtler)';
|
|
107
|
-
readonly 'accent.blue.subtle': 'var(--ds-background-accent-blue-subtle)';
|
|
108
|
-
readonly 'accent.blue.bolder': 'var(--ds-background-accent-blue-bolder)';
|
|
109
|
-
readonly 'accent.purple.subtlest': 'var(--ds-background-accent-purple-subtlest)';
|
|
110
|
-
readonly 'accent.purple.subtler': 'var(--ds-background-accent-purple-subtler)';
|
|
111
|
-
readonly 'accent.purple.subtle': 'var(--ds-background-accent-purple-subtle)';
|
|
112
|
-
readonly 'accent.purple.bolder': 'var(--ds-background-accent-purple-bolder)';
|
|
113
|
-
readonly 'accent.magenta.subtlest': 'var(--ds-background-accent-magenta-subtlest)';
|
|
114
|
-
readonly 'accent.magenta.subtler': 'var(--ds-background-accent-magenta-subtler)';
|
|
115
|
-
readonly 'accent.magenta.subtle': 'var(--ds-background-accent-magenta-subtle)';
|
|
116
|
-
readonly 'accent.magenta.bolder': 'var(--ds-background-accent-magenta-bolder)';
|
|
117
|
-
readonly 'accent.gray.subtlest': 'var(--ds-background-accent-gray-subtlest)';
|
|
118
|
-
readonly 'accent.gray.subtler': 'var(--ds-background-accent-gray-subtler)';
|
|
119
|
-
readonly 'accent.gray.subtle': 'var(--ds-background-accent-gray-subtle)';
|
|
120
|
-
readonly 'accent.gray.bolder': 'var(--ds-background-accent-gray-bolder)';
|
|
121
|
-
readonly disabled: 'var(--ds-background-disabled)';
|
|
122
|
-
readonly input: 'var(--ds-background-input)';
|
|
123
|
-
readonly 'input.hovered': 'var(--ds-background-input-hovered)';
|
|
124
|
-
readonly 'input.pressed': 'var(--ds-background-input-pressed)';
|
|
125
|
-
readonly 'inverse.subtle': 'var(--ds-background-inverse-subtle)';
|
|
126
|
-
readonly 'inverse.subtle.hovered': 'var(--ds-background-inverse-subtle-hovered)';
|
|
127
|
-
readonly 'inverse.subtle.pressed': 'var(--ds-background-inverse-subtle-pressed)';
|
|
128
|
-
readonly neutral: 'var(--ds-background-neutral)';
|
|
129
|
-
readonly 'neutral.hovered': 'var(--ds-background-neutral-hovered)';
|
|
130
|
-
readonly 'neutral.pressed': 'var(--ds-background-neutral-pressed)';
|
|
131
|
-
readonly 'neutral.subtle': 'var(--ds-background-neutral-subtle)';
|
|
132
|
-
readonly 'neutral.subtle.hovered': 'var(--ds-background-neutral-subtle-hovered)';
|
|
133
|
-
readonly 'neutral.subtle.pressed': 'var(--ds-background-neutral-subtle-pressed)';
|
|
134
|
-
readonly 'neutral.bold': 'var(--ds-background-neutral-bold)';
|
|
135
|
-
readonly 'neutral.bold.hovered': 'var(--ds-background-neutral-bold-hovered)';
|
|
136
|
-
readonly 'neutral.bold.pressed': 'var(--ds-background-neutral-bold-pressed)';
|
|
137
|
-
readonly selected: 'var(--ds-background-selected)';
|
|
138
|
-
readonly 'selected.hovered': 'var(--ds-background-selected-hovered)';
|
|
139
|
-
readonly 'selected.pressed': 'var(--ds-background-selected-pressed)';
|
|
140
|
-
readonly 'selected.bold': 'var(--ds-background-selected-bold)';
|
|
141
|
-
readonly 'selected.bold.hovered': 'var(--ds-background-selected-bold-hovered)';
|
|
142
|
-
readonly 'selected.bold.pressed': 'var(--ds-background-selected-bold-pressed)';
|
|
143
|
-
readonly 'brand.bold': 'var(--ds-background-brand-bold)';
|
|
144
|
-
readonly 'brand.bold.hovered': 'var(--ds-background-brand-bold-hovered)';
|
|
145
|
-
readonly 'brand.bold.pressed': 'var(--ds-background-brand-bold-pressed)';
|
|
146
|
-
readonly danger: 'var(--ds-background-danger)';
|
|
147
|
-
readonly 'danger.hovered': 'var(--ds-background-danger-hovered)';
|
|
148
|
-
readonly 'danger.pressed': 'var(--ds-background-danger-pressed)';
|
|
149
|
-
readonly 'danger.bold': 'var(--ds-background-danger-bold)';
|
|
150
|
-
readonly 'danger.bold.hovered': 'var(--ds-background-danger-bold-hovered)';
|
|
151
|
-
readonly 'danger.bold.pressed': 'var(--ds-background-danger-bold-pressed)';
|
|
152
|
-
readonly warning: 'var(--ds-background-warning)';
|
|
153
|
-
readonly 'warning.hovered': 'var(--ds-background-warning-hovered)';
|
|
154
|
-
readonly 'warning.pressed': 'var(--ds-background-warning-pressed)';
|
|
155
|
-
readonly 'warning.bold': 'var(--ds-background-warning-bold)';
|
|
156
|
-
readonly 'warning.bold.hovered': 'var(--ds-background-warning-bold-hovered)';
|
|
157
|
-
readonly 'warning.bold.pressed': 'var(--ds-background-warning-bold-pressed)';
|
|
158
|
-
readonly success: 'var(--ds-background-success)';
|
|
159
|
-
readonly 'success.hovered': 'var(--ds-background-success-hovered)';
|
|
160
|
-
readonly 'success.pressed': 'var(--ds-background-success-pressed)';
|
|
161
|
-
readonly 'success.bold': 'var(--ds-background-success-bold)';
|
|
162
|
-
readonly 'success.bold.hovered': 'var(--ds-background-success-bold-hovered)';
|
|
163
|
-
readonly 'success.bold.pressed': 'var(--ds-background-success-bold-pressed)';
|
|
164
|
-
readonly discovery: 'var(--ds-background-discovery)';
|
|
165
|
-
readonly 'discovery.hovered': 'var(--ds-background-discovery-hovered)';
|
|
166
|
-
readonly 'discovery.pressed': 'var(--ds-background-discovery-pressed)';
|
|
167
|
-
readonly 'discovery.bold': 'var(--ds-background-discovery-bold)';
|
|
168
|
-
readonly 'discovery.bold.hovered': 'var(--ds-background-discovery-bold-hovered)';
|
|
169
|
-
readonly 'discovery.bold.pressed': 'var(--ds-background-discovery-bold-pressed)';
|
|
170
|
-
readonly information: 'var(--ds-background-information)';
|
|
171
|
-
readonly 'information.hovered': 'var(--ds-background-information-hovered)';
|
|
172
|
-
readonly 'information.pressed': 'var(--ds-background-information-pressed)';
|
|
173
|
-
readonly 'information.bold': 'var(--ds-background-information-bold)';
|
|
174
|
-
readonly 'information.bold.hovered': 'var(--ds-background-information-bold-hovered)';
|
|
175
|
-
readonly 'information.bold.pressed': 'var(--ds-background-information-bold-pressed)';
|
|
85
|
+
readonly 'color.background.accent.red.subtlest': 'var(--ds-background-accent-red-subtlest)';
|
|
86
|
+
readonly 'color.background.accent.red.subtler': 'var(--ds-background-accent-red-subtler)';
|
|
87
|
+
readonly 'color.background.accent.red.subtle': 'var(--ds-background-accent-red-subtle)';
|
|
88
|
+
readonly 'color.background.accent.red.bolder': 'var(--ds-background-accent-red-bolder)';
|
|
89
|
+
readonly 'color.background.accent.orange.subtlest': 'var(--ds-background-accent-orange-subtlest)';
|
|
90
|
+
readonly 'color.background.accent.orange.subtler': 'var(--ds-background-accent-orange-subtler)';
|
|
91
|
+
readonly 'color.background.accent.orange.subtle': 'var(--ds-background-accent-orange-subtle)';
|
|
92
|
+
readonly 'color.background.accent.orange.bolder': 'var(--ds-background-accent-orange-bolder)';
|
|
93
|
+
readonly 'color.background.accent.yellow.subtlest': 'var(--ds-background-accent-yellow-subtlest)';
|
|
94
|
+
readonly 'color.background.accent.yellow.subtler': 'var(--ds-background-accent-yellow-subtler)';
|
|
95
|
+
readonly 'color.background.accent.yellow.subtle': 'var(--ds-background-accent-yellow-subtle)';
|
|
96
|
+
readonly 'color.background.accent.yellow.bolder': 'var(--ds-background-accent-yellow-bolder)';
|
|
97
|
+
readonly 'color.background.accent.green.subtlest': 'var(--ds-background-accent-green-subtlest)';
|
|
98
|
+
readonly 'color.background.accent.green.subtler': 'var(--ds-background-accent-green-subtler)';
|
|
99
|
+
readonly 'color.background.accent.green.subtle': 'var(--ds-background-accent-green-subtle)';
|
|
100
|
+
readonly 'color.background.accent.green.bolder': 'var(--ds-background-accent-green-bolder)';
|
|
101
|
+
readonly 'color.background.accent.teal.subtlest': 'var(--ds-background-accent-teal-subtlest)';
|
|
102
|
+
readonly 'color.background.accent.teal.subtler': 'var(--ds-background-accent-teal-subtler)';
|
|
103
|
+
readonly 'color.background.accent.teal.subtle': 'var(--ds-background-accent-teal-subtle)';
|
|
104
|
+
readonly 'color.background.accent.teal.bolder': 'var(--ds-background-accent-teal-bolder)';
|
|
105
|
+
readonly 'color.background.accent.blue.subtlest': 'var(--ds-background-accent-blue-subtlest)';
|
|
106
|
+
readonly 'color.background.accent.blue.subtler': 'var(--ds-background-accent-blue-subtler)';
|
|
107
|
+
readonly 'color.background.accent.blue.subtle': 'var(--ds-background-accent-blue-subtle)';
|
|
108
|
+
readonly 'color.background.accent.blue.bolder': 'var(--ds-background-accent-blue-bolder)';
|
|
109
|
+
readonly 'color.background.accent.purple.subtlest': 'var(--ds-background-accent-purple-subtlest)';
|
|
110
|
+
readonly 'color.background.accent.purple.subtler': 'var(--ds-background-accent-purple-subtler)';
|
|
111
|
+
readonly 'color.background.accent.purple.subtle': 'var(--ds-background-accent-purple-subtle)';
|
|
112
|
+
readonly 'color.background.accent.purple.bolder': 'var(--ds-background-accent-purple-bolder)';
|
|
113
|
+
readonly 'color.background.accent.magenta.subtlest': 'var(--ds-background-accent-magenta-subtlest)';
|
|
114
|
+
readonly 'color.background.accent.magenta.subtler': 'var(--ds-background-accent-magenta-subtler)';
|
|
115
|
+
readonly 'color.background.accent.magenta.subtle': 'var(--ds-background-accent-magenta-subtle)';
|
|
116
|
+
readonly 'color.background.accent.magenta.bolder': 'var(--ds-background-accent-magenta-bolder)';
|
|
117
|
+
readonly 'color.background.accent.gray.subtlest': 'var(--ds-background-accent-gray-subtlest)';
|
|
118
|
+
readonly 'color.background.accent.gray.subtler': 'var(--ds-background-accent-gray-subtler)';
|
|
119
|
+
readonly 'color.background.accent.gray.subtle': 'var(--ds-background-accent-gray-subtle)';
|
|
120
|
+
readonly 'color.background.accent.gray.bolder': 'var(--ds-background-accent-gray-bolder)';
|
|
121
|
+
readonly 'color.background.disabled': 'var(--ds-background-disabled)';
|
|
122
|
+
readonly 'color.background.input': 'var(--ds-background-input)';
|
|
123
|
+
readonly 'color.background.input.hovered': 'var(--ds-background-input-hovered)';
|
|
124
|
+
readonly 'color.background.input.pressed': 'var(--ds-background-input-pressed)';
|
|
125
|
+
readonly 'color.background.inverse.subtle': 'var(--ds-background-inverse-subtle)';
|
|
126
|
+
readonly 'color.background.inverse.subtle.hovered': 'var(--ds-background-inverse-subtle-hovered)';
|
|
127
|
+
readonly 'color.background.inverse.subtle.pressed': 'var(--ds-background-inverse-subtle-pressed)';
|
|
128
|
+
readonly 'color.background.neutral': 'var(--ds-background-neutral)';
|
|
129
|
+
readonly 'color.background.neutral.hovered': 'var(--ds-background-neutral-hovered)';
|
|
130
|
+
readonly 'color.background.neutral.pressed': 'var(--ds-background-neutral-pressed)';
|
|
131
|
+
readonly 'color.background.neutral.subtle': 'var(--ds-background-neutral-subtle)';
|
|
132
|
+
readonly 'color.background.neutral.subtle.hovered': 'var(--ds-background-neutral-subtle-hovered)';
|
|
133
|
+
readonly 'color.background.neutral.subtle.pressed': 'var(--ds-background-neutral-subtle-pressed)';
|
|
134
|
+
readonly 'color.background.neutral.bold': 'var(--ds-background-neutral-bold)';
|
|
135
|
+
readonly 'color.background.neutral.bold.hovered': 'var(--ds-background-neutral-bold-hovered)';
|
|
136
|
+
readonly 'color.background.neutral.bold.pressed': 'var(--ds-background-neutral-bold-pressed)';
|
|
137
|
+
readonly 'color.background.selected': 'var(--ds-background-selected)';
|
|
138
|
+
readonly 'color.background.selected.hovered': 'var(--ds-background-selected-hovered)';
|
|
139
|
+
readonly 'color.background.selected.pressed': 'var(--ds-background-selected-pressed)';
|
|
140
|
+
readonly 'color.background.selected.bold': 'var(--ds-background-selected-bold)';
|
|
141
|
+
readonly 'color.background.selected.bold.hovered': 'var(--ds-background-selected-bold-hovered)';
|
|
142
|
+
readonly 'color.background.selected.bold.pressed': 'var(--ds-background-selected-bold-pressed)';
|
|
143
|
+
readonly 'color.background.brand.bold': 'var(--ds-background-brand-bold)';
|
|
144
|
+
readonly 'color.background.brand.bold.hovered': 'var(--ds-background-brand-bold-hovered)';
|
|
145
|
+
readonly 'color.background.brand.bold.pressed': 'var(--ds-background-brand-bold-pressed)';
|
|
146
|
+
readonly 'color.background.danger': 'var(--ds-background-danger)';
|
|
147
|
+
readonly 'color.background.danger.hovered': 'var(--ds-background-danger-hovered)';
|
|
148
|
+
readonly 'color.background.danger.pressed': 'var(--ds-background-danger-pressed)';
|
|
149
|
+
readonly 'color.background.danger.bold': 'var(--ds-background-danger-bold)';
|
|
150
|
+
readonly 'color.background.danger.bold.hovered': 'var(--ds-background-danger-bold-hovered)';
|
|
151
|
+
readonly 'color.background.danger.bold.pressed': 'var(--ds-background-danger-bold-pressed)';
|
|
152
|
+
readonly 'color.background.warning': 'var(--ds-background-warning)';
|
|
153
|
+
readonly 'color.background.warning.hovered': 'var(--ds-background-warning-hovered)';
|
|
154
|
+
readonly 'color.background.warning.pressed': 'var(--ds-background-warning-pressed)';
|
|
155
|
+
readonly 'color.background.warning.bold': 'var(--ds-background-warning-bold)';
|
|
156
|
+
readonly 'color.background.warning.bold.hovered': 'var(--ds-background-warning-bold-hovered)';
|
|
157
|
+
readonly 'color.background.warning.bold.pressed': 'var(--ds-background-warning-bold-pressed)';
|
|
158
|
+
readonly 'color.background.success': 'var(--ds-background-success)';
|
|
159
|
+
readonly 'color.background.success.hovered': 'var(--ds-background-success-hovered)';
|
|
160
|
+
readonly 'color.background.success.pressed': 'var(--ds-background-success-pressed)';
|
|
161
|
+
readonly 'color.background.success.bold': 'var(--ds-background-success-bold)';
|
|
162
|
+
readonly 'color.background.success.bold.hovered': 'var(--ds-background-success-bold-hovered)';
|
|
163
|
+
readonly 'color.background.success.bold.pressed': 'var(--ds-background-success-bold-pressed)';
|
|
164
|
+
readonly 'color.background.discovery': 'var(--ds-background-discovery)';
|
|
165
|
+
readonly 'color.background.discovery.hovered': 'var(--ds-background-discovery-hovered)';
|
|
166
|
+
readonly 'color.background.discovery.pressed': 'var(--ds-background-discovery-pressed)';
|
|
167
|
+
readonly 'color.background.discovery.bold': 'var(--ds-background-discovery-bold)';
|
|
168
|
+
readonly 'color.background.discovery.bold.hovered': 'var(--ds-background-discovery-bold-hovered)';
|
|
169
|
+
readonly 'color.background.discovery.bold.pressed': 'var(--ds-background-discovery-bold-pressed)';
|
|
170
|
+
readonly 'color.background.information': 'var(--ds-background-information)';
|
|
171
|
+
readonly 'color.background.information.hovered': 'var(--ds-background-information-hovered)';
|
|
172
|
+
readonly 'color.background.information.pressed': 'var(--ds-background-information-pressed)';
|
|
173
|
+
readonly 'color.background.information.bold': 'var(--ds-background-information-bold)';
|
|
174
|
+
readonly 'color.background.information.bold.hovered': 'var(--ds-background-information-bold-hovered)';
|
|
175
|
+
readonly 'color.background.information.bold.pressed': 'var(--ds-background-information-bold-pressed)';
|
|
176
176
|
readonly 'color.blanket': 'var(--ds-blanket)';
|
|
177
177
|
readonly 'color.blanket.selected': 'var(--ds-blanket-selected)';
|
|
178
178
|
readonly 'color.blanket.danger': 'var(--ds-blanket-danger)';
|
|
@@ -227,27 +227,27 @@ type BorderColor = keyof typeof borderColorMap;
|
|
|
227
227
|
// @public
|
|
228
228
|
const borderColorMap: {
|
|
229
229
|
readonly 'color.border': 'var(--ds-border)';
|
|
230
|
-
readonly 'accent.red': 'var(--ds-border-accent-red)';
|
|
231
|
-
readonly 'accent.orange': 'var(--ds-border-accent-orange)';
|
|
232
|
-
readonly 'accent.yellow': 'var(--ds-border-accent-yellow)';
|
|
233
|
-
readonly 'accent.green': 'var(--ds-border-accent-green)';
|
|
234
|
-
readonly 'accent.teal': 'var(--ds-border-accent-teal)';
|
|
235
|
-
readonly 'accent.blue': 'var(--ds-border-accent-blue)';
|
|
236
|
-
readonly 'accent.purple': 'var(--ds-border-accent-purple)';
|
|
237
|
-
readonly 'accent.magenta': 'var(--ds-border-accent-magenta)';
|
|
238
|
-
readonly 'accent.gray': 'var(--ds-border-accent-gray)';
|
|
239
|
-
readonly disabled: 'var(--ds-border-disabled)';
|
|
240
|
-
readonly focused: 'var(--ds-border-focused)';
|
|
241
|
-
readonly input: 'var(--ds-border-input)';
|
|
242
|
-
readonly inverse: 'var(--ds-border-inverse)';
|
|
243
|
-
readonly selected: 'var(--ds-border-selected)';
|
|
244
|
-
readonly brand: 'var(--ds-border-brand)';
|
|
245
|
-
readonly danger: 'var(--ds-border-danger)';
|
|
246
|
-
readonly warning: 'var(--ds-border-warning)';
|
|
247
|
-
readonly success: 'var(--ds-border-success)';
|
|
248
|
-
readonly discovery: 'var(--ds-border-discovery)';
|
|
249
|
-
readonly information: 'var(--ds-border-information)';
|
|
250
|
-
readonly bold: 'var(--ds-border-bold)';
|
|
230
|
+
readonly 'color.border.accent.red': 'var(--ds-border-accent-red)';
|
|
231
|
+
readonly 'color.border.accent.orange': 'var(--ds-border-accent-orange)';
|
|
232
|
+
readonly 'color.border.accent.yellow': 'var(--ds-border-accent-yellow)';
|
|
233
|
+
readonly 'color.border.accent.green': 'var(--ds-border-accent-green)';
|
|
234
|
+
readonly 'color.border.accent.teal': 'var(--ds-border-accent-teal)';
|
|
235
|
+
readonly 'color.border.accent.blue': 'var(--ds-border-accent-blue)';
|
|
236
|
+
readonly 'color.border.accent.purple': 'var(--ds-border-accent-purple)';
|
|
237
|
+
readonly 'color.border.accent.magenta': 'var(--ds-border-accent-magenta)';
|
|
238
|
+
readonly 'color.border.accent.gray': 'var(--ds-border-accent-gray)';
|
|
239
|
+
readonly 'color.border.disabled': 'var(--ds-border-disabled)';
|
|
240
|
+
readonly 'color.border.focused': 'var(--ds-border-focused)';
|
|
241
|
+
readonly 'color.border.input': 'var(--ds-border-input)';
|
|
242
|
+
readonly 'color.border.inverse': 'var(--ds-border-inverse)';
|
|
243
|
+
readonly 'color.border.selected': 'var(--ds-border-selected)';
|
|
244
|
+
readonly 'color.border.brand': 'var(--ds-border-brand)';
|
|
245
|
+
readonly 'color.border.danger': 'var(--ds-border-danger)';
|
|
246
|
+
readonly 'color.border.warning': 'var(--ds-border-warning)';
|
|
247
|
+
readonly 'color.border.success': 'var(--ds-border-success)';
|
|
248
|
+
readonly 'color.border.discovery': 'var(--ds-border-discovery)';
|
|
249
|
+
readonly 'color.border.information': 'var(--ds-border-information)';
|
|
250
|
+
readonly 'color.border.bold': 'var(--ds-border-bold)';
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
// @public (undocumented)
|
|
@@ -255,12 +255,12 @@ type BorderRadius = keyof typeof borderRadiusMap;
|
|
|
255
255
|
|
|
256
256
|
// @public (undocumented)
|
|
257
257
|
const borderRadiusMap: {
|
|
258
|
-
readonly 'radius.050': 'var(--ds-radius-050)';
|
|
259
|
-
readonly 'radius.100': 'var(--ds-radius-100)';
|
|
260
|
-
readonly 'radius.200': 'var(--ds-radius-200)';
|
|
261
|
-
readonly 'radius.300': 'var(--ds-radius-300)';
|
|
262
|
-
readonly 'radius.400': 'var(--ds-radius-400)';
|
|
263
|
-
readonly 'radius.round': 'var(--ds-radius-round)';
|
|
258
|
+
readonly 'border.radius.050': 'var(--ds-radius-050)';
|
|
259
|
+
readonly 'border.radius.100': 'var(--ds-radius-100)';
|
|
260
|
+
readonly 'border.radius.200': 'var(--ds-radius-200)';
|
|
261
|
+
readonly 'border.radius.300': 'var(--ds-radius-300)';
|
|
262
|
+
readonly 'border.radius.400': 'var(--ds-radius-400)';
|
|
263
|
+
readonly 'border.radius.round': 'var(--ds-radius-round)';
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
// @public (undocumented)
|
|
@@ -277,9 +277,9 @@ type BorderWidth = keyof typeof borderWidthMap;
|
|
|
277
277
|
|
|
278
278
|
// @public
|
|
279
279
|
const borderWidthMap: {
|
|
280
|
-
readonly 'width.0': 'var(--ds-width-0)';
|
|
281
|
-
readonly 'width.050': 'var(--ds-width-050)';
|
|
282
|
-
readonly 'width.100': 'var(--ds-width-100)';
|
|
280
|
+
readonly 'border.width.0': 'var(--ds-width-0)';
|
|
281
|
+
readonly 'border.width.050': 'var(--ds-width-050)';
|
|
282
|
+
readonly 'border.width.100': 'var(--ds-width-100)';
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
// @public (undocumented)
|
|
@@ -363,26 +363,26 @@ type Fill = keyof typeof fillMap;
|
|
|
363
363
|
// @public (undocumented)
|
|
364
364
|
const fillMap: {
|
|
365
365
|
readonly 'color.icon': 'var(--ds-icon)';
|
|
366
|
-
readonly 'accent.red': 'var(--ds-icon-accent-red)';
|
|
367
|
-
readonly 'accent.orange': 'var(--ds-icon-accent-orange)';
|
|
368
|
-
readonly 'accent.yellow': 'var(--ds-icon-accent-yellow)';
|
|
369
|
-
readonly 'accent.green': 'var(--ds-icon-accent-green)';
|
|
370
|
-
readonly 'accent.teal': 'var(--ds-icon-accent-teal)';
|
|
371
|
-
readonly 'accent.blue': 'var(--ds-icon-accent-blue)';
|
|
372
|
-
readonly 'accent.purple': 'var(--ds-icon-accent-purple)';
|
|
373
|
-
readonly 'accent.magenta': 'var(--ds-icon-accent-magenta)';
|
|
374
|
-
readonly 'accent.gray': 'var(--ds-icon-accent-gray)';
|
|
375
|
-
readonly disabled: 'var(--ds-icon-disabled)';
|
|
376
|
-
readonly inverse: 'var(--ds-icon-inverse)';
|
|
377
|
-
readonly selected: 'var(--ds-icon-selected)';
|
|
378
|
-
readonly brand: 'var(--ds-icon-brand)';
|
|
379
|
-
readonly danger: 'var(--ds-icon-danger)';
|
|
380
|
-
readonly warning: 'var(--ds-icon-warning)';
|
|
381
|
-
readonly 'warning.inverse': 'var(--ds-icon-warning-inverse)';
|
|
382
|
-
readonly success: 'var(--ds-icon-success)';
|
|
383
|
-
readonly discovery: 'var(--ds-icon-discovery)';
|
|
384
|
-
readonly information: 'var(--ds-icon-information)';
|
|
385
|
-
readonly subtle: 'var(--ds-icon-subtle)';
|
|
366
|
+
readonly 'color.icon.accent.red': 'var(--ds-icon-accent-red)';
|
|
367
|
+
readonly 'color.icon.accent.orange': 'var(--ds-icon-accent-orange)';
|
|
368
|
+
readonly 'color.icon.accent.yellow': 'var(--ds-icon-accent-yellow)';
|
|
369
|
+
readonly 'color.icon.accent.green': 'var(--ds-icon-accent-green)';
|
|
370
|
+
readonly 'color.icon.accent.teal': 'var(--ds-icon-accent-teal)';
|
|
371
|
+
readonly 'color.icon.accent.blue': 'var(--ds-icon-accent-blue)';
|
|
372
|
+
readonly 'color.icon.accent.purple': 'var(--ds-icon-accent-purple)';
|
|
373
|
+
readonly 'color.icon.accent.magenta': 'var(--ds-icon-accent-magenta)';
|
|
374
|
+
readonly 'color.icon.accent.gray': 'var(--ds-icon-accent-gray)';
|
|
375
|
+
readonly 'color.icon.disabled': 'var(--ds-icon-disabled)';
|
|
376
|
+
readonly 'color.icon.inverse': 'var(--ds-icon-inverse)';
|
|
377
|
+
readonly 'color.icon.selected': 'var(--ds-icon-selected)';
|
|
378
|
+
readonly 'color.icon.brand': 'var(--ds-icon-brand)';
|
|
379
|
+
readonly 'color.icon.danger': 'var(--ds-icon-danger)';
|
|
380
|
+
readonly 'color.icon.warning': 'var(--ds-icon-warning)';
|
|
381
|
+
readonly 'color.icon.warning.inverse': 'var(--ds-icon-warning-inverse)';
|
|
382
|
+
readonly 'color.icon.success': 'var(--ds-icon-success)';
|
|
383
|
+
readonly 'color.icon.discovery': 'var(--ds-icon-discovery)';
|
|
384
|
+
readonly 'color.icon.information': 'var(--ds-icon-information)';
|
|
385
|
+
readonly 'color.icon.subtle': 'var(--ds-icon-subtle)';
|
|
386
386
|
};
|
|
387
387
|
|
|
388
388
|
// @public (undocumented)
|
|
@@ -588,11 +588,11 @@ type Shadow = keyof typeof shadowMap;
|
|
|
588
588
|
|
|
589
589
|
// @public (undocumented)
|
|
590
590
|
const shadowMap: {
|
|
591
|
-
readonly overflow: 'var(--ds-shadow-overflow)';
|
|
592
|
-
readonly 'overflow.perimeter': 'var(--ds-shadow-overflow-perimeter)';
|
|
593
|
-
readonly 'overflow.spread': 'var(--ds-shadow-overflow-spread)';
|
|
594
|
-
readonly overlay: 'var(--ds-shadow-overlay)';
|
|
595
|
-
readonly raised: 'var(--ds-shadow-raised)';
|
|
591
|
+
readonly 'elevation.shadow.overflow': 'var(--ds-shadow-overflow)';
|
|
592
|
+
readonly 'elevation.shadow.overflow.perimeter': 'var(--ds-shadow-overflow-perimeter)';
|
|
593
|
+
readonly 'elevation.shadow.overflow.spread': 'var(--ds-shadow-overflow-spread)';
|
|
594
|
+
readonly 'elevation.shadow.overlay': 'var(--ds-shadow-overlay)';
|
|
595
|
+
readonly 'elevation.shadow.raised': 'var(--ds-shadow-raised)';
|
|
596
596
|
};
|
|
597
597
|
|
|
598
598
|
// @public (undocumented)
|
|
@@ -659,36 +659,36 @@ type TextColor = keyof typeof textColorMap;
|
|
|
659
659
|
// @public (undocumented)
|
|
660
660
|
const textColorMap: {
|
|
661
661
|
readonly 'color.text': 'var(--ds-text)';
|
|
662
|
-
readonly 'accent.red': 'var(--ds-text-accent-red)';
|
|
663
|
-
readonly 'accent.red.bolder': 'var(--ds-text-accent-red-bolder)';
|
|
664
|
-
readonly 'accent.orange': 'var(--ds-text-accent-orange)';
|
|
665
|
-
readonly 'accent.orange.bolder': 'var(--ds-text-accent-orange-bolder)';
|
|
666
|
-
readonly 'accent.yellow': 'var(--ds-text-accent-yellow)';
|
|
667
|
-
readonly 'accent.yellow.bolder': 'var(--ds-text-accent-yellow-bolder)';
|
|
668
|
-
readonly 'accent.green': 'var(--ds-text-accent-green)';
|
|
669
|
-
readonly 'accent.green.bolder': 'var(--ds-text-accent-green-bolder)';
|
|
670
|
-
readonly 'accent.teal': 'var(--ds-text-accent-teal)';
|
|
671
|
-
readonly 'accent.teal.bolder': 'var(--ds-text-accent-teal-bolder)';
|
|
672
|
-
readonly 'accent.blue': 'var(--ds-text-accent-blue)';
|
|
673
|
-
readonly 'accent.blue.bolder': 'var(--ds-text-accent-blue-bolder)';
|
|
674
|
-
readonly 'accent.purple': 'var(--ds-text-accent-purple)';
|
|
675
|
-
readonly 'accent.purple.bolder': 'var(--ds-text-accent-purple-bolder)';
|
|
676
|
-
readonly 'accent.magenta': 'var(--ds-text-accent-magenta)';
|
|
677
|
-
readonly 'accent.magenta.bolder': 'var(--ds-text-accent-magenta-bolder)';
|
|
678
|
-
readonly 'accent.gray': 'var(--ds-text-accent-gray)';
|
|
679
|
-
readonly 'accent.gray.bolder': 'var(--ds-text-accent-gray-bolder)';
|
|
680
|
-
readonly disabled: 'var(--ds-text-disabled)';
|
|
681
|
-
readonly inverse: 'var(--ds-text-inverse)';
|
|
682
|
-
readonly selected: 'var(--ds-text-selected)';
|
|
683
|
-
readonly brand: 'var(--ds-text-brand)';
|
|
684
|
-
readonly danger: 'var(--ds-text-danger)';
|
|
685
|
-
readonly warning: 'var(--ds-text-warning)';
|
|
686
|
-
readonly 'warning.inverse': 'var(--ds-text-warning-inverse)';
|
|
687
|
-
readonly success: 'var(--ds-text-success)';
|
|
688
|
-
readonly discovery: 'var(--ds-text-discovery)';
|
|
689
|
-
readonly information: 'var(--ds-text-information)';
|
|
690
|
-
readonly subtlest: 'var(--ds-text-subtlest)';
|
|
691
|
-
readonly subtle: 'var(--ds-text-subtle)';
|
|
662
|
+
readonly 'color.text.accent.red': 'var(--ds-text-accent-red)';
|
|
663
|
+
readonly 'color.text.accent.red.bolder': 'var(--ds-text-accent-red-bolder)';
|
|
664
|
+
readonly 'color.text.accent.orange': 'var(--ds-text-accent-orange)';
|
|
665
|
+
readonly 'color.text.accent.orange.bolder': 'var(--ds-text-accent-orange-bolder)';
|
|
666
|
+
readonly 'color.text.accent.yellow': 'var(--ds-text-accent-yellow)';
|
|
667
|
+
readonly 'color.text.accent.yellow.bolder': 'var(--ds-text-accent-yellow-bolder)';
|
|
668
|
+
readonly 'color.text.accent.green': 'var(--ds-text-accent-green)';
|
|
669
|
+
readonly 'color.text.accent.green.bolder': 'var(--ds-text-accent-green-bolder)';
|
|
670
|
+
readonly 'color.text.accent.teal': 'var(--ds-text-accent-teal)';
|
|
671
|
+
readonly 'color.text.accent.teal.bolder': 'var(--ds-text-accent-teal-bolder)';
|
|
672
|
+
readonly 'color.text.accent.blue': 'var(--ds-text-accent-blue)';
|
|
673
|
+
readonly 'color.text.accent.blue.bolder': 'var(--ds-text-accent-blue-bolder)';
|
|
674
|
+
readonly 'color.text.accent.purple': 'var(--ds-text-accent-purple)';
|
|
675
|
+
readonly 'color.text.accent.purple.bolder': 'var(--ds-text-accent-purple-bolder)';
|
|
676
|
+
readonly 'color.text.accent.magenta': 'var(--ds-text-accent-magenta)';
|
|
677
|
+
readonly 'color.text.accent.magenta.bolder': 'var(--ds-text-accent-magenta-bolder)';
|
|
678
|
+
readonly 'color.text.accent.gray': 'var(--ds-text-accent-gray)';
|
|
679
|
+
readonly 'color.text.accent.gray.bolder': 'var(--ds-text-accent-gray-bolder)';
|
|
680
|
+
readonly 'color.text.disabled': 'var(--ds-text-disabled)';
|
|
681
|
+
readonly 'color.text.inverse': 'var(--ds-text-inverse)';
|
|
682
|
+
readonly 'color.text.selected': 'var(--ds-text-selected)';
|
|
683
|
+
readonly 'color.text.brand': 'var(--ds-text-brand)';
|
|
684
|
+
readonly 'color.text.danger': 'var(--ds-text-danger)';
|
|
685
|
+
readonly 'color.text.warning': 'var(--ds-text-warning)';
|
|
686
|
+
readonly 'color.text.warning.inverse': 'var(--ds-text-warning-inverse)';
|
|
687
|
+
readonly 'color.text.success': 'var(--ds-text-success)';
|
|
688
|
+
readonly 'color.text.discovery': 'var(--ds-text-discovery)';
|
|
689
|
+
readonly 'color.text.information': 'var(--ds-text-information)';
|
|
690
|
+
readonly 'color.text.subtlest': 'var(--ds-text-subtlest)';
|
|
691
|
+
readonly 'color.text.subtle': 'var(--ds-text-subtle)';
|
|
692
692
|
};
|
|
693
693
|
|
|
694
694
|
// @public (undocumented)
|