@autoguru/overdrive 4.1.15 → 4.1.18
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 +19 -0
- package/dist/components/Button/Button.css.js +9 -9
- package/dist/components/CheckBox/CheckBox.d.ts +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/components/CheckBox/stories.js +9 -0
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/stories.js +7 -0
- package/dist/components/private/CheckableBase/CheckableBase.d.ts.map +1 -1
- package/dist/components/private/CheckableBase/CheckableBase.js +3 -3
- package/dist/themes/base/tokens.d.ts.map +1 -1
- package/dist/themes/base/tokens.js +8 -0
- package/dist/themes/flat_red/tokens.d.ts.map +1 -1
- package/dist/themes/flat_red/tokens.js +9 -2
- package/dist/themes/tokens.d.ts +1 -0
- package/dist/themes/tokens.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @autoguru/overdrive
|
|
2
2
|
|
|
3
|
+
## 4.1.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5e2efa2: Checkbox: Removes extra right padding when it has no label Radio:
|
|
8
|
+
Removes extra right padding when it has no label
|
|
9
|
+
|
|
10
|
+
## 4.1.17
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 5fc3db9: Radio: Can have empty children Checkbox: Can have empty children
|
|
15
|
+
|
|
16
|
+
## 4.1.16
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 11d9730: Button: Gets new intent border colours for border colour
|
|
21
|
+
|
|
3
22
|
## 4.1.15
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -62,17 +62,17 @@ export const variant = {
|
|
|
62
62
|
primary: style({
|
|
63
63
|
color: vars.colours.intent.primary.foreground,
|
|
64
64
|
backgroundColor: vars.colours.intent.primary.background.standard,
|
|
65
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.
|
|
65
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.border}, ${vars.elevation['2']}`,
|
|
66
66
|
}),
|
|
67
67
|
secondary: style({
|
|
68
68
|
color: vars.colours.intent.secondary.foreground,
|
|
69
69
|
backgroundColor: vars.colours.intent.secondary.background.standard,
|
|
70
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.
|
|
70
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.border}, ${vars.elevation['2']}`,
|
|
71
71
|
}),
|
|
72
72
|
danger: style({
|
|
73
73
|
backgroundColor: vars.colours.intent.danger.background.standard,
|
|
74
74
|
color: vars.colours.intent.danger.foreground,
|
|
75
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.
|
|
75
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.border}, ${vars.elevation['2']}`,
|
|
76
76
|
}),
|
|
77
77
|
};
|
|
78
78
|
export const defaultStates = {
|
|
@@ -80,11 +80,11 @@ export const defaultStates = {
|
|
|
80
80
|
':hover': {
|
|
81
81
|
color: vars.colours.intent.primary.foreground,
|
|
82
82
|
backgroundColor: vars.colours.intent.primary.background.strong,
|
|
83
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.
|
|
83
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.border}, ${vars.elevation['3']}`,
|
|
84
84
|
},
|
|
85
85
|
':active': {
|
|
86
86
|
transform: 'scale(0.97)',
|
|
87
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.
|
|
87
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.border}, ${vars.elevation['1']}`,
|
|
88
88
|
color: vars.colours.intent.primary.foreground,
|
|
89
89
|
backgroundColor: vars.colours.intent.primary.background.strong,
|
|
90
90
|
},
|
|
@@ -93,26 +93,26 @@ export const defaultStates = {
|
|
|
93
93
|
':hover': {
|
|
94
94
|
color: vars.colours.intent.secondary.foreground,
|
|
95
95
|
backgroundColor: vars.colours.intent.secondary.background.strong,
|
|
96
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.
|
|
96
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.border}, ${vars.elevation['3']}`,
|
|
97
97
|
},
|
|
98
98
|
':active': {
|
|
99
99
|
transform: 'scale(0.97)',
|
|
100
100
|
color: vars.colours.intent.secondary.foreground,
|
|
101
101
|
backgroundColor: vars.colours.intent.secondary.background.strong,
|
|
102
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.
|
|
102
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.border}, ${vars.elevation['1']}`,
|
|
103
103
|
},
|
|
104
104
|
}),
|
|
105
105
|
danger: style({
|
|
106
106
|
':hover': {
|
|
107
107
|
color: vars.colours.intent.danger.foreground,
|
|
108
108
|
backgroundColor: vars.colours.intent.danger.background.strong,
|
|
109
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.
|
|
109
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.border}, ${vars.elevation['3']}`,
|
|
110
110
|
},
|
|
111
111
|
':active': {
|
|
112
112
|
transform: 'scale(0.97)',
|
|
113
113
|
color: vars.colours.intent.danger.foreground,
|
|
114
114
|
backgroundColor: vars.colours.intent.danger.background.strong,
|
|
115
|
-
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.
|
|
115
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.border}, ${vars.elevation['1']}`,
|
|
116
116
|
},
|
|
117
117
|
}),
|
|
118
118
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../lib/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAW9C,MAAM,WAAW,KAAK;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../lib/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAW9C,MAAM,WAAW,KAAK;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEjC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,QAAQ,gFAiDpB,CAAC"}
|
|
@@ -80,6 +80,13 @@ const uncheckedProps = {
|
|
|
80
80
|
children: 'check me!',
|
|
81
81
|
value: '1'
|
|
82
82
|
};
|
|
83
|
+
const emptyProps = {
|
|
84
|
+
checked: false,
|
|
85
|
+
disabled: false,
|
|
86
|
+
name: 'check-name',
|
|
87
|
+
children: null,
|
|
88
|
+
value: '1'
|
|
89
|
+
};
|
|
83
90
|
const checkedProps = {
|
|
84
91
|
checked: true,
|
|
85
92
|
disabled: false,
|
|
@@ -185,6 +192,8 @@ export const disabledChecked = Template.bind(disabledCheckedProps);
|
|
|
185
192
|
disabledChecked.args = disabledCheckedProps;
|
|
186
193
|
export const multipleLines = Template.bind(multipleLinesProps);
|
|
187
194
|
multipleLines.args = multipleLinesProps;
|
|
195
|
+
export const withNoChildren = Template.bind(emptyProps);
|
|
196
|
+
withNoChildren.args = emptyProps;
|
|
188
197
|
export const withComponent = Template.bind(withComponentProps);
|
|
189
198
|
withComponent.args = withComponentProps;
|
|
190
199
|
withComponent.argTypes = {
|
|
@@ -4,7 +4,7 @@ export interface Props {
|
|
|
4
4
|
value: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
-
children
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export declare const Radio: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
10
10
|
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../lib/components/Radio/Radio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAS9C,MAAM,WAAW,KAAK;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../lib/components/Radio/Radio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAS9C,MAAM,WAAW,KAAK;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,gFAmDjB,CAAC"}
|
|
@@ -108,6 +108,11 @@ const disabledProps = {
|
|
|
108
108
|
children: 'check me!',
|
|
109
109
|
value: 'berry'
|
|
110
110
|
};
|
|
111
|
+
const emptyProps = {
|
|
112
|
+
disabled: true,
|
|
113
|
+
children: null,
|
|
114
|
+
value: 'berry'
|
|
115
|
+
};
|
|
111
116
|
const disabledCheckedProps = {
|
|
112
117
|
checked: true,
|
|
113
118
|
disabled: true,
|
|
@@ -194,6 +199,8 @@ disabled.argTypes = argTypes;
|
|
|
194
199
|
export const disabledChecked = Template.bind(disabledCheckedProps);
|
|
195
200
|
disabledChecked.args = disabledCheckedProps;
|
|
196
201
|
disabledChecked.argTypes = argTypes;
|
|
202
|
+
export const withNoChildren = Template.bind(emptyProps);
|
|
203
|
+
withNoChildren.args = emptyProps;
|
|
197
204
|
export const multipleLines = Template.bind(multipleLinesProps);
|
|
198
205
|
multipleLines.args = multipleLinesProps;
|
|
199
206
|
multipleLines.argTypes = argTypes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckableBase.d.ts","sourceRoot":"","sources":["../../../../lib/components/private/CheckableBase/CheckableBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,MAAM,OAAO,CAAC;AAO3D,MAAM,WAAW,KAAK;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IAEpB,WAAW,CAAC,KAAK,KAAA,GAAG,IAAI,CAAC;IAEzB,YAAY,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"CheckableBase.d.ts","sourceRoot":"","sources":["../../../../lib/components/private/CheckableBase/CheckableBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,MAAM,OAAO,CAAC;AAO3D,MAAM,WAAW,KAAK;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IAEpB,WAAW,CAAC,KAAK,KAAA,GAAG,IAAI,CAAC;IAEzB,YAAY,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,aAAa,gFA6FzB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export const CheckableBase = forwardRef(({ className = '', label = '', checked =
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
const nakedLabel = ['string', 'number'].includes(typeof label);
|
|
14
|
-
return (React.createElement(Box, { display: "flex", alignItems: "center", flexDirection: "row", justifyContent: "flexStart",
|
|
14
|
+
return (React.createElement(Box, { display: "flex", alignItems: "center", flexDirection: "row", justifyContent: "flexStart", paddingY: "3", paddingRight: label ? '3' : 'none', paddingLeft: "none", position: "relative", className: [
|
|
15
15
|
styles.root,
|
|
16
16
|
useBoxStyles({ is: 'button' }),
|
|
17
17
|
className,
|
|
@@ -24,7 +24,7 @@ export const CheckableBase = forwardRef(({ className = '', label = '', checked =
|
|
|
24
24
|
styles.checkable,
|
|
25
25
|
useBoxStyles({ is: 'button' }),
|
|
26
26
|
] }, children),
|
|
27
|
-
React.createElement(Box, { is: "label", width: "full", pointerEvents: disabled ? 'none' : void 0, className: clsx(useBoxStyles({ is: 'button' }), useTextStyles({ size: '4' }), {
|
|
27
|
+
label ? (React.createElement(Box, { is: "label", width: "full", pointerEvents: disabled ? 'none' : void 0, className: clsx(useBoxStyles({ is: 'button' }), useTextStyles({ size: '4' }), {
|
|
28
28
|
[styles.label.disabled]: disabled,
|
|
29
|
-
}) }, nakedLabel ? React.createElement(Text, { is: "span" }, label) : label)));
|
|
29
|
+
}) }, nakedLabel ? React.createElement(Text, { is: "span" }, label) : label)) : null));
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/base/tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAmE9C,eAAO,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/base/tokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAmE9C,eAAO,MAAM,MAAM,EAAE,MA4NpB,CAAC"}
|
|
@@ -104,6 +104,7 @@ export const tokens = {
|
|
|
104
104
|
strong: colours.green['900'],
|
|
105
105
|
},
|
|
106
106
|
foreground: white,
|
|
107
|
+
border: colours.green['900'],
|
|
107
108
|
},
|
|
108
109
|
secondary: {
|
|
109
110
|
background: {
|
|
@@ -112,6 +113,7 @@ export const tokens = {
|
|
|
112
113
|
strong: colours.gray['200'],
|
|
113
114
|
},
|
|
114
115
|
foreground: secondaryForeground,
|
|
116
|
+
border: colours.gray['300'],
|
|
115
117
|
},
|
|
116
118
|
shine: {
|
|
117
119
|
background: {
|
|
@@ -120,6 +122,7 @@ export const tokens = {
|
|
|
120
122
|
strong: colours.gray['300'],
|
|
121
123
|
},
|
|
122
124
|
foreground: colours.yellow['500'],
|
|
125
|
+
border: colours.gray['300'],
|
|
123
126
|
},
|
|
124
127
|
danger: {
|
|
125
128
|
background: {
|
|
@@ -128,6 +131,7 @@ export const tokens = {
|
|
|
128
131
|
strong: colours.red['800'],
|
|
129
132
|
},
|
|
130
133
|
foreground: white,
|
|
134
|
+
border: colours.red['800'],
|
|
131
135
|
},
|
|
132
136
|
warning: {
|
|
133
137
|
background: {
|
|
@@ -136,6 +140,7 @@ export const tokens = {
|
|
|
136
140
|
strong: colours.yellow['900'],
|
|
137
141
|
},
|
|
138
142
|
foreground: colours.yellow['200'],
|
|
143
|
+
border: colours.yellow['900'],
|
|
139
144
|
},
|
|
140
145
|
neutral: {
|
|
141
146
|
background: {
|
|
@@ -144,6 +149,7 @@ export const tokens = {
|
|
|
144
149
|
strong: colours.gray['900'],
|
|
145
150
|
},
|
|
146
151
|
foreground: white,
|
|
152
|
+
border: colours.gray['900'],
|
|
147
153
|
},
|
|
148
154
|
success: {
|
|
149
155
|
background: {
|
|
@@ -152,6 +158,7 @@ export const tokens = {
|
|
|
152
158
|
strong: colours.green['900'],
|
|
153
159
|
},
|
|
154
160
|
foreground: colours.green['200'],
|
|
161
|
+
border: colours.green['900'],
|
|
155
162
|
},
|
|
156
163
|
information: {
|
|
157
164
|
background: {
|
|
@@ -160,6 +167,7 @@ export const tokens = {
|
|
|
160
167
|
strong: colours.blue['900'],
|
|
161
168
|
},
|
|
162
169
|
foreground: colours.blue['200'],
|
|
170
|
+
border: colours.blue['900'],
|
|
163
171
|
},
|
|
164
172
|
},
|
|
165
173
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/flat_red/tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/flat_red/tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,MAAM,EAAE,MAAM,WAAW,CAAC;AAmE9C,eAAO,MAAM,MAAM,EAAE,MA+HpB,CAAC"}
|
|
@@ -58,7 +58,6 @@ const colours = {
|
|
|
58
58
|
},
|
|
59
59
|
};
|
|
60
60
|
const white = '#fff';
|
|
61
|
-
const secondaryForeground = colours.blue['800'];
|
|
62
61
|
const flatElevation = '0 0 0 0 rgba(0, 0, 0, 0.0)';
|
|
63
62
|
export const tokens = {
|
|
64
63
|
...baseTokens,
|
|
@@ -85,6 +84,7 @@ export const tokens = {
|
|
|
85
84
|
strong: colours.red['900'],
|
|
86
85
|
},
|
|
87
86
|
foreground: white,
|
|
87
|
+
border: colours.red['900'],
|
|
88
88
|
},
|
|
89
89
|
secondary: {
|
|
90
90
|
background: {
|
|
@@ -92,7 +92,8 @@ export const tokens = {
|
|
|
92
92
|
mild: white,
|
|
93
93
|
strong: colours.gray['100'],
|
|
94
94
|
},
|
|
95
|
-
foreground:
|
|
95
|
+
foreground: colours.blue['800'],
|
|
96
|
+
border: colours.blue['300'],
|
|
96
97
|
},
|
|
97
98
|
shine: {
|
|
98
99
|
background: {
|
|
@@ -101,6 +102,7 @@ export const tokens = {
|
|
|
101
102
|
strong: colours.gray['300'],
|
|
102
103
|
},
|
|
103
104
|
foreground: colours.yellow['500'],
|
|
105
|
+
border: colours.gray['300'],
|
|
104
106
|
},
|
|
105
107
|
danger: {
|
|
106
108
|
background: {
|
|
@@ -109,6 +111,7 @@ export const tokens = {
|
|
|
109
111
|
strong: colours.red['800'],
|
|
110
112
|
},
|
|
111
113
|
foreground: white,
|
|
114
|
+
border: colours.red['800'],
|
|
112
115
|
},
|
|
113
116
|
warning: {
|
|
114
117
|
background: {
|
|
@@ -117,6 +120,7 @@ export const tokens = {
|
|
|
117
120
|
strong: colours.yellow['900'],
|
|
118
121
|
},
|
|
119
122
|
foreground: colours.yellow['200'],
|
|
123
|
+
border: colours.yellow['900'],
|
|
120
124
|
},
|
|
121
125
|
neutral: {
|
|
122
126
|
background: {
|
|
@@ -125,6 +129,7 @@ export const tokens = {
|
|
|
125
129
|
strong: colours.gray['900'],
|
|
126
130
|
},
|
|
127
131
|
foreground: white,
|
|
132
|
+
border: colours.gray['900'],
|
|
128
133
|
},
|
|
129
134
|
success: {
|
|
130
135
|
background: {
|
|
@@ -133,6 +138,7 @@ export const tokens = {
|
|
|
133
138
|
strong: colours.green['900'],
|
|
134
139
|
},
|
|
135
140
|
foreground: colours.green['200'],
|
|
141
|
+
border: colours.green['900'],
|
|
136
142
|
},
|
|
137
143
|
information: {
|
|
138
144
|
background: {
|
|
@@ -141,6 +147,7 @@ export const tokens = {
|
|
|
141
147
|
strong: colours.blue['900'],
|
|
142
148
|
},
|
|
143
149
|
foreground: colours.blue['200'],
|
|
150
|
+
border: colours.blue['900'],
|
|
144
151
|
},
|
|
145
152
|
},
|
|
146
153
|
},
|
package/dist/themes/tokens.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../lib/themes/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,kDAAkD,CAAC;AAC3F,aAAK,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAC/E,aAAK,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACzE,aAAK,gBAAgB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AACjD,aAAK,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElD,aAAK,UAAU,GAAG,QAAQ,GAAG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