@axos-web-dev/shared-components 1.0.100-dev.43-executive.1 → 1.0.100-dev.43-executive.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.
|
@@ -222,35 +222,6 @@ main > div:nth-last-child(2) > .txcb8d0 {
|
|
|
222
222
|
background: var(--_1073cm8m);
|
|
223
223
|
color: var(--_1073cm8o);
|
|
224
224
|
}
|
|
225
|
-
main > div:has(options => {
|
|
226
|
-
var className = config.defaultClassName;
|
|
227
|
-
var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
|
|
228
|
-
for (var variantName in selections) {
|
|
229
|
-
var _selections$variantNa;
|
|
230
|
-
var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];
|
|
231
|
-
if (variantSelection != null) {
|
|
232
|
-
var selection = variantSelection;
|
|
233
|
-
if (typeof selection === 'boolean') {
|
|
234
|
-
// @ts-expect-error
|
|
235
|
-
selection = selection === true ? 'true' : 'false';
|
|
236
|
-
}
|
|
237
|
-
var selectionClassName =
|
|
238
|
-
// @ts-expect-error
|
|
239
|
-
config.variantClassNames[variantName][selection];
|
|
240
|
-
if (selectionClassName) {
|
|
241
|
-
className += ' ' + selectionClassName;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
for (var [compoundCheck, compoundClassName] of config.compoundVariants) {
|
|
246
|
-
if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {
|
|
247
|
-
className += ' ' + compoundClassName;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
return className;
|
|
251
|
-
}) {
|
|
252
|
-
margin-top: 0;
|
|
253
|
-
}
|
|
254
225
|
.txcb8d1l {
|
|
255
226
|
display: flex;
|
|
256
227
|
align-items: flex-start;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axos-web-dev/shared-components",
|
|
3
3
|
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "1.0.100-dev.43-executive.
|
|
4
|
+
"version": "1.0.100-dev.43-executive.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|