@pingux/astro 2.212.0-alpha.0 → 2.212.1-alpha.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/lib/cjs/styles/themeOverrides/onyxDarkUiLibraryOverride.js +41 -0
- package/lib/cjs/styles/themeOverrides/onyxUiLibraryOverride.d.ts +37 -0
- package/lib/cjs/styles/themeOverrides/onyxUiLibraryOverride.js +47 -0
- package/lib/styles/themeOverrides/onyxDarkUiLibraryOverride.js +41 -0
- package/lib/styles/themeOverrides/onyxUiLibraryOverride.js +47 -0
- package/package.json +1 -1
|
@@ -151,6 +151,47 @@ var forms = {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
+
comboBox: {
|
|
155
|
+
container: {
|
|
156
|
+
'& input[type=text]': _objectSpread(_objectSpread({}, _nextGenDarkMode["default"].text.inputValue), {}, {
|
|
157
|
+
borderColor: _onyxTokens.astroTokensDark.color.gray[500],
|
|
158
|
+
borderRadius: _onyxTokens.astroTokens.radius.input,
|
|
159
|
+
height: _onyxTokens.astroTokens.size.input.height,
|
|
160
|
+
fontSize: '15px',
|
|
161
|
+
bg: _onyxTokens.astroTokensDark.color.gray[900],
|
|
162
|
+
'::placeholder': _objectSpread(_objectSpread({}, _nextGenDarkMode["default"].text.placeholder), {}, {
|
|
163
|
+
fontStyle: 'unset',
|
|
164
|
+
fontSize: '15px'
|
|
165
|
+
})
|
|
166
|
+
}),
|
|
167
|
+
'& input[type=text]:focus': {
|
|
168
|
+
borderColor: "".concat(_onyxTokens.astroTokens.color.blue[500], " !important")
|
|
169
|
+
},
|
|
170
|
+
'&.is-focused input[type=text]': {
|
|
171
|
+
borderColor: "".concat(_onyxTokens.astroTokens.color.blue[500], " !important")
|
|
172
|
+
},
|
|
173
|
+
'& input[type=text].is-read-only, & input[type=text][readonly]': {
|
|
174
|
+
backgroundColor: _onyxTokens.astroTokensDark.color.input['readonly-bg'],
|
|
175
|
+
borderColor: _onyxTokens.astroTokensDark.color.gray[500]
|
|
176
|
+
},
|
|
177
|
+
'& input[type=text].is-disabled, & input[type=text][disabled]': {
|
|
178
|
+
backgroundColor: _onyxTokens.astroTokensDark.color.input['readonly-bg'],
|
|
179
|
+
borderColor: _onyxTokens.astroTokensDark.color.gray[500],
|
|
180
|
+
opacity: 1
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
button: {
|
|
184
|
+
border: 'none !important',
|
|
185
|
+
bg: 'transparent',
|
|
186
|
+
'&:not(.disabled):hover': {
|
|
187
|
+
border: 'none !important',
|
|
188
|
+
bg: 'transparent'
|
|
189
|
+
},
|
|
190
|
+
'&:focus': {
|
|
191
|
+
border: 'none !important'
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
154
195
|
label: {
|
|
155
196
|
'body &': {
|
|
156
197
|
textTransform: 'none'
|
|
@@ -87,6 +87,43 @@ declare const _default: {
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
|
+
comboBox: {
|
|
91
|
+
container: {
|
|
92
|
+
'& input[type=text]': any;
|
|
93
|
+
'& input[type=text]:focus': {
|
|
94
|
+
outline: string;
|
|
95
|
+
outlineColor: any;
|
|
96
|
+
outlineOffset: string;
|
|
97
|
+
borderColor: string;
|
|
98
|
+
};
|
|
99
|
+
'&.is-focused input[type=text]': {
|
|
100
|
+
outline: string;
|
|
101
|
+
outlineColor: any;
|
|
102
|
+
outlineOffset: string;
|
|
103
|
+
borderColor: string;
|
|
104
|
+
};
|
|
105
|
+
'& input[type=text].is-read-only, & input[type=text][readonly]': {
|
|
106
|
+
backgroundColor: any;
|
|
107
|
+
borderColor: any;
|
|
108
|
+
};
|
|
109
|
+
'& input[type=text].is-disabled, & input[type=text][disabled]': {
|
|
110
|
+
backgroundColor: any;
|
|
111
|
+
borderColor: any;
|
|
112
|
+
opacity: number;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
button: {
|
|
116
|
+
border: string;
|
|
117
|
+
bg: string;
|
|
118
|
+
'&:not(.disabled):hover': {
|
|
119
|
+
border: string;
|
|
120
|
+
bg: string;
|
|
121
|
+
};
|
|
122
|
+
'&:focus': {
|
|
123
|
+
border: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
90
127
|
label: {
|
|
91
128
|
'body &': {
|
|
92
129
|
textTransform: string;
|
|
@@ -153,6 +153,53 @@ var forms = {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
|
+
comboBox: {
|
|
157
|
+
container: {
|
|
158
|
+
'& input[type=text]': _objectSpread(_objectSpread({}, _nextGen["default"].text.inputValue), {}, {
|
|
159
|
+
borderColor: _onyxTokens.astroTokens.color.input.border,
|
|
160
|
+
borderRadius: _onyxTokens.astroTokens.radius.input,
|
|
161
|
+
height: _onyxTokens.astroTokens.size.input.height,
|
|
162
|
+
fontSize: '15px',
|
|
163
|
+
bg: 'white',
|
|
164
|
+
'::placeholder': _objectSpread(_objectSpread({}, _nextGen["default"].text.placeholder), {}, {
|
|
165
|
+
fontStyle: 'unset',
|
|
166
|
+
fontSize: '15px'
|
|
167
|
+
})
|
|
168
|
+
}),
|
|
169
|
+
'& input[type=text]:focus': {
|
|
170
|
+
outline: '1px solid',
|
|
171
|
+
outlineColor: _onyxTokens.astroTokens.color.blue[500],
|
|
172
|
+
outlineOffset: '0px',
|
|
173
|
+
borderColor: "".concat(_onyxTokens.astroTokens.color.blue[500], " !important")
|
|
174
|
+
},
|
|
175
|
+
'&.is-focused input[type=text]': {
|
|
176
|
+
outline: '1px solid',
|
|
177
|
+
outlineColor: _onyxTokens.astroTokens.color.blue[500],
|
|
178
|
+
outlineOffset: '0px',
|
|
179
|
+
borderColor: "".concat(_onyxTokens.astroTokens.color.blue[500], " !important")
|
|
180
|
+
},
|
|
181
|
+
'& input[type=text].is-read-only, & input[type=text][readonly]': {
|
|
182
|
+
backgroundColor: _onyxTokens.astroTokens.color.input['readonly-bg'],
|
|
183
|
+
borderColor: _onyxTokens.astroTokens.color.input.border
|
|
184
|
+
},
|
|
185
|
+
'& input[type=text].is-disabled, & input[type=text][disabled]': {
|
|
186
|
+
backgroundColor: _onyxTokens.astroTokens.color.input['readonly-bg'],
|
|
187
|
+
borderColor: _onyxTokens.astroTokens.color.input.border,
|
|
188
|
+
opacity: 1
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
button: {
|
|
192
|
+
border: 'none !important',
|
|
193
|
+
bg: 'transparent',
|
|
194
|
+
'&:not(.disabled):hover': {
|
|
195
|
+
border: 'none !important',
|
|
196
|
+
bg: 'transparent'
|
|
197
|
+
},
|
|
198
|
+
'&:focus': {
|
|
199
|
+
border: 'none !important'
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
156
203
|
label: {
|
|
157
204
|
'body &': {
|
|
158
205
|
textTransform: 'none'
|
|
@@ -144,6 +144,47 @@ var forms = {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
+
comboBox: {
|
|
148
|
+
container: {
|
|
149
|
+
'& input[type=text]': _objectSpread(_objectSpread({}, theme.text.inputValue), {}, {
|
|
150
|
+
borderColor: astroTokensDark.color.gray[500],
|
|
151
|
+
borderRadius: astroTokens.radius.input,
|
|
152
|
+
height: astroTokens.size.input.height,
|
|
153
|
+
fontSize: '15px',
|
|
154
|
+
bg: astroTokensDark.color.gray[900],
|
|
155
|
+
'::placeholder': _objectSpread(_objectSpread({}, theme.text.placeholder), {}, {
|
|
156
|
+
fontStyle: 'unset',
|
|
157
|
+
fontSize: '15px'
|
|
158
|
+
})
|
|
159
|
+
}),
|
|
160
|
+
'& input[type=text]:focus': {
|
|
161
|
+
borderColor: "".concat(astroTokens.color.blue[500], " !important")
|
|
162
|
+
},
|
|
163
|
+
'&.is-focused input[type=text]': {
|
|
164
|
+
borderColor: "".concat(astroTokens.color.blue[500], " !important")
|
|
165
|
+
},
|
|
166
|
+
'& input[type=text].is-read-only, & input[type=text][readonly]': {
|
|
167
|
+
backgroundColor: astroTokensDark.color.input['readonly-bg'],
|
|
168
|
+
borderColor: astroTokensDark.color.gray[500]
|
|
169
|
+
},
|
|
170
|
+
'& input[type=text].is-disabled, & input[type=text][disabled]': {
|
|
171
|
+
backgroundColor: astroTokensDark.color.input['readonly-bg'],
|
|
172
|
+
borderColor: astroTokensDark.color.gray[500],
|
|
173
|
+
opacity: 1
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
button: {
|
|
177
|
+
border: 'none !important',
|
|
178
|
+
bg: 'transparent',
|
|
179
|
+
'&:not(.disabled):hover': {
|
|
180
|
+
border: 'none !important',
|
|
181
|
+
bg: 'transparent'
|
|
182
|
+
},
|
|
183
|
+
'&:focus': {
|
|
184
|
+
border: 'none !important'
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
147
188
|
label: {
|
|
148
189
|
'body &': {
|
|
149
190
|
textTransform: 'none'
|
|
@@ -146,6 +146,53 @@ var forms = {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
|
+
comboBox: {
|
|
150
|
+
container: {
|
|
151
|
+
'& input[type=text]': _objectSpread(_objectSpread({}, theme.text.inputValue), {}, {
|
|
152
|
+
borderColor: astroTokens.color.input.border,
|
|
153
|
+
borderRadius: astroTokens.radius.input,
|
|
154
|
+
height: astroTokens.size.input.height,
|
|
155
|
+
fontSize: '15px',
|
|
156
|
+
bg: 'white',
|
|
157
|
+
'::placeholder': _objectSpread(_objectSpread({}, theme.text.placeholder), {}, {
|
|
158
|
+
fontStyle: 'unset',
|
|
159
|
+
fontSize: '15px'
|
|
160
|
+
})
|
|
161
|
+
}),
|
|
162
|
+
'& input[type=text]:focus': {
|
|
163
|
+
outline: '1px solid',
|
|
164
|
+
outlineColor: astroTokens.color.blue[500],
|
|
165
|
+
outlineOffset: '0px',
|
|
166
|
+
borderColor: "".concat(astroTokens.color.blue[500], " !important")
|
|
167
|
+
},
|
|
168
|
+
'&.is-focused input[type=text]': {
|
|
169
|
+
outline: '1px solid',
|
|
170
|
+
outlineColor: astroTokens.color.blue[500],
|
|
171
|
+
outlineOffset: '0px',
|
|
172
|
+
borderColor: "".concat(astroTokens.color.blue[500], " !important")
|
|
173
|
+
},
|
|
174
|
+
'& input[type=text].is-read-only, & input[type=text][readonly]': {
|
|
175
|
+
backgroundColor: astroTokens.color.input['readonly-bg'],
|
|
176
|
+
borderColor: astroTokens.color.input.border
|
|
177
|
+
},
|
|
178
|
+
'& input[type=text].is-disabled, & input[type=text][disabled]': {
|
|
179
|
+
backgroundColor: astroTokens.color.input['readonly-bg'],
|
|
180
|
+
borderColor: astroTokens.color.input.border,
|
|
181
|
+
opacity: 1
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
button: {
|
|
185
|
+
border: 'none !important',
|
|
186
|
+
bg: 'transparent',
|
|
187
|
+
'&:not(.disabled):hover': {
|
|
188
|
+
border: 'none !important',
|
|
189
|
+
bg: 'transparent'
|
|
190
|
+
},
|
|
191
|
+
'&:focus': {
|
|
192
|
+
border: 'none !important'
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
149
196
|
label: {
|
|
150
197
|
'body &': {
|
|
151
198
|
textTransform: 'none'
|