@animus-ui/system 0.1.19 → 0.1.20
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/dist/class-resolver.js +1 -1
- package/dist/{createClassResolver-CcCgar2Z.js → createClassResolver-DPLExqGy.js} +80 -10
- package/dist/{createComposedFamily-C9ShrVy6.js → createComposedFamily-C6CLAsMx.js} +1 -1
- package/dist/index.js +9 -5
- package/dist/runtime/resolveClasses.d.ts +2 -0
- package/dist/runtime/resolveClasses.d.ts.map +1 -1
- package/dist/runtime-entry.js +2 -2
- package/dist/theme/property-records.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/class-resolver.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-DPLExqGy.js";
|
|
2
2
|
export { createClassResolver };
|
|
@@ -226,25 +226,94 @@ function warnTransformThrow(baseClassName, propName, transformName, serializedVa
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
+
* Whether `resolved` reads `currentVar` directly, with or without a fallback;
|
|
230
|
+
* a read inside another `var()`'s fallback is not direct. `var` matches in
|
|
231
|
+
* any case and the name with any CSS whitespace or comments around it; the
|
|
232
|
+
* name itself is case-sensitive. Comments and strings read nothing. The
|
|
233
|
+
* extractor's static path skips its `currentVar` write by the same predicate.
|
|
234
|
+
*/
|
|
235
|
+
function readsCurrentVar(resolved, currentVar) {
|
|
236
|
+
const open = [];
|
|
237
|
+
for (let at = 0; at < resolved.length; at += 1) {
|
|
238
|
+
const char = resolved[at];
|
|
239
|
+
if (char === "/" && resolved[at + 1] === "*") {
|
|
240
|
+
const end = resolved.indexOf("*/", at + 2);
|
|
241
|
+
at = end === -1 ? resolved.length : end + 1;
|
|
242
|
+
} else if (char === "\"" || char === "'") {
|
|
243
|
+
at += 1;
|
|
244
|
+
while (at < resolved.length && resolved[at] !== char) at += resolved[at] === "\\" ? 2 : 1;
|
|
245
|
+
} else if (char === "(") {
|
|
246
|
+
const isVar = at >= 3 && resolved.slice(at - 3, at).toLowerCase() === "var";
|
|
247
|
+
const inFallback = open.some((frame) => frame.isVar && frame.fallback);
|
|
248
|
+
if (isVar && !inFallback) {
|
|
249
|
+
const name = skipCssSpace(resolved.slice(at + 1));
|
|
250
|
+
const next = name.startsWith(currentVar) ? skipCssSpace(name.slice(currentVar.length))[0] : void 0;
|
|
251
|
+
if (next === ")" || next === ",") return true;
|
|
252
|
+
}
|
|
253
|
+
open.push({
|
|
254
|
+
isVar,
|
|
255
|
+
fallback: false
|
|
256
|
+
});
|
|
257
|
+
} else if (char === ",") {
|
|
258
|
+
const top = open.at(-1);
|
|
259
|
+
if (top?.isVar) top.fallback = true;
|
|
260
|
+
} else if (char === ")") open.pop();
|
|
261
|
+
}
|
|
262
|
+
return false;
|
|
263
|
+
}
|
|
264
|
+
/** `text` after its leading CSS whitespace (space, tab, line feed, carriage
|
|
265
|
+
* return, form feed) and comments. */
|
|
266
|
+
function skipCssSpace(text) {
|
|
267
|
+
let rest = text;
|
|
268
|
+
for (;;) {
|
|
269
|
+
const trimmed = rest.replace(/^[ \t\n\r\f]+/, "");
|
|
270
|
+
if (!trimmed.startsWith("/*")) return trimmed;
|
|
271
|
+
const end = trimmed.indexOf("*/", 2);
|
|
272
|
+
rest = end === -1 ? "" : trimmed.slice(end + 2);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* A value that reads the prop's own `currentVar` takes the slot that leaves
|
|
277
|
+
* it alone, since writing it would make the variable cyclic.
|
|
278
|
+
*/
|
|
279
|
+
function slotClassFor(dc, resolved) {
|
|
280
|
+
return dc.currentVar !== void 0 && readsCurrentVar(resolved, dc.currentVar) ? `${dc.slotClass}--keep` : dc.slotClass;
|
|
281
|
+
}
|
|
282
|
+
/** Through an inline variable these would act on the variable itself. */
|
|
283
|
+
const CSS_WIDE_KEYWORDS = /* @__PURE__ */ new Set([
|
|
284
|
+
"initial",
|
|
285
|
+
"inherit",
|
|
286
|
+
"unset",
|
|
287
|
+
"revert",
|
|
288
|
+
"revert-layer"
|
|
289
|
+
]);
|
|
290
|
+
/**
|
|
229
291
|
* Resolution is staged so a drop is atomic: one entry that misses a strict
|
|
230
292
|
* scale, or one transform that throws or returns an invalid result, leaves
|
|
231
|
-
* `classes` and `dynStyle` untouched.
|
|
293
|
+
* `classes` and `dynStyle` untouched. A responsive entry that is a CSS-wide
|
|
294
|
+
* keyword takes the class extraction emits for it at that breakpoint.
|
|
232
295
|
*/
|
|
233
|
-
function applyDynamicProp(classes, dynStyle, propValue, dc) {
|
|
296
|
+
function applyDynamicProp(classes, dynStyle, propValue, dc, literalClass) {
|
|
234
297
|
const staged = [];
|
|
235
298
|
if (typeof propValue === "object" && propValue !== null && !Array.isArray(propValue)) for (const [bp, bpVal] of Object.entries(propValue)) {
|
|
236
299
|
if (bpVal == null) continue;
|
|
300
|
+
const keywordClass = CSS_WIDE_KEYWORDS.has(bpVal) ? literalClass(bp === "_" ? bpVal : { [bp]: bpVal }) : void 0;
|
|
301
|
+
if (keywordClass) {
|
|
302
|
+
staged.push([keywordClass]);
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
237
305
|
const resolved = resolveEntry(bpVal, dc);
|
|
238
306
|
if (typeof resolved !== "string") return "entry" in resolved ? {
|
|
239
307
|
...resolved,
|
|
240
308
|
breakpoint: bp
|
|
241
309
|
} : resolved;
|
|
310
|
+
const slotClass = slotClassFor(dc, resolved);
|
|
242
311
|
staged.push(bp === "_" ? [
|
|
243
|
-
|
|
312
|
+
slotClass,
|
|
244
313
|
dc.varName,
|
|
245
314
|
resolved
|
|
246
315
|
] : [
|
|
247
|
-
`${
|
|
316
|
+
`${slotClass}-${bp}`,
|
|
248
317
|
`${dc.varName}-${bp}`,
|
|
249
318
|
resolved
|
|
250
319
|
]);
|
|
@@ -253,14 +322,14 @@ function applyDynamicProp(classes, dynStyle, propValue, dc) {
|
|
|
253
322
|
const resolved = resolveEntry(propValue, dc);
|
|
254
323
|
if (typeof resolved !== "string") return resolved;
|
|
255
324
|
staged.push([
|
|
256
|
-
dc
|
|
325
|
+
slotClassFor(dc, resolved),
|
|
257
326
|
dc.varName,
|
|
258
327
|
resolved
|
|
259
328
|
]);
|
|
260
329
|
}
|
|
261
|
-
for (const [
|
|
262
|
-
classes.push(
|
|
263
|
-
dynStyle[varName] = resolved;
|
|
330
|
+
for (const [cls, varName, resolved] of staged) {
|
|
331
|
+
classes.push(cls);
|
|
332
|
+
if (varName !== void 0 && resolved !== void 0) dynStyle[varName] = resolved;
|
|
264
333
|
}
|
|
265
334
|
return null;
|
|
266
335
|
}
|
|
@@ -310,7 +379,8 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
310
379
|
const key = serializeValueKey(propValue);
|
|
311
380
|
const customOwned = customPropMap?.[propName] !== void 0 || customDynamicConfig?.[propName] !== void 0;
|
|
312
381
|
const [classMap, typedProps] = customOwned ? [customPropMap, config.typedCustomProps] : [systemPropMap, config.typedSystemProps];
|
|
313
|
-
const
|
|
382
|
+
const typed = typedProps?.includes(propName) === true;
|
|
383
|
+
const cls = classMap?.[propName]?.[typed ? typedValueKey(propValue) : key];
|
|
314
384
|
if (cls) {
|
|
315
385
|
classes.push(cls);
|
|
316
386
|
recordWitness(baseClassName, propName, key, "static");
|
|
@@ -318,7 +388,7 @@ function resolveClasses(baseClassName, props, config, systemPropMap, dynamicProp
|
|
|
318
388
|
const dc = customOwned ? customDynamicConfig?.[propName] : dynamicPropConfig?.[propName];
|
|
319
389
|
if (dc) {
|
|
320
390
|
const staged = dynStyle ?? {};
|
|
321
|
-
const failure = dc.kind === "declarations" ? applyDeclarationProp(classes, staged, propValue, dc) : applyDynamicProp(classes, staged, propValue, dc);
|
|
391
|
+
const failure = dc.kind === "declarations" ? applyDeclarationProp(classes, staged, propValue, dc) : applyDynamicProp(classes, staged, propValue, dc, (value) => classMap?.[propName]?.[(typed ? typedValueKey : serializeValueKey)(value)]);
|
|
322
392
|
if (failure === null) {
|
|
323
393
|
dynStyle = staged;
|
|
324
394
|
recordWitness(baseClassName, propName, key, "dynamic");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveClasses } from "./createClassResolver-
|
|
1
|
+
import { n as resolveClasses } from "./createClassResolver-DPLExqGy.js";
|
|
2
2
|
import { t as assertRootSlot } from "./assert-root-slot-C3Lp9MNJ.js";
|
|
3
3
|
import { Children, cloneElement, createElement, forwardRef, isValidElement } from "react";
|
|
4
4
|
//#region src/runtime/index.ts
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
2
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-DPLExqGy.js";
|
|
2
|
+
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-C6CLAsMx.js";
|
|
3
3
|
import { compose } from "./compose.js";
|
|
4
4
|
import { a as borderShorthand, c as numericScale, d as createTransform, f as linkAuthoredCallable, i as gridItemRatio, l as stringScale, n as size, o as createScale, r as gridItem, s as numericOrStringScale, t as percentageOrAbsolute, u as areTransformsEqual } from "./size-ZhCTPtA-.js";
|
|
5
|
+
import { registeredInitialValue } from "@animus-ui/properties";
|
|
5
6
|
//#region src/utils/deepMerge.ts
|
|
6
7
|
const isMergeable = (value) => Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
7
8
|
function deepMerge(target, source) {
|
|
@@ -1239,12 +1240,15 @@ function replaceScaleNames(store, scale, names, source) {
|
|
|
1239
1240
|
}
|
|
1240
1241
|
/** The fields a contextual-variable registration sets, read literally: an
|
|
1241
1242
|
* untyped registration without a syntax keeps emitting `syntax: "undefined"`,
|
|
1242
|
-
* which extraction reports as an invalid registration.
|
|
1243
|
+
* which extraction reports as an invalid registration. An all-absolute math
|
|
1244
|
+
* initial value is recorded as its computed value (`calc(1px / 1px)` → `1`),
|
|
1245
|
+
* so both spellings are one registration, and CSS tooling reads the rule. */
|
|
1243
1246
|
function legacyFields(registration) {
|
|
1247
|
+
const syntax = `${registration.syntax}`;
|
|
1244
1248
|
return {
|
|
1245
|
-
syntax
|
|
1249
|
+
syntax,
|
|
1246
1250
|
inherits: registration.inherits ?? THEME_INHERITS,
|
|
1247
|
-
initialValue: registration.initialValue
|
|
1251
|
+
initialValue: registration.initialValue === void 0 ? void 0 : registeredInitialValue(syntax, registration.initialValue)
|
|
1248
1252
|
};
|
|
1249
1253
|
}
|
|
1250
1254
|
function legacyRegistration(store, name) {
|
|
@@ -36,6 +36,8 @@ interface ValueDynamicPropConfig {
|
|
|
36
36
|
strict?: boolean;
|
|
37
37
|
/** The keywords a strict prop admits beside its tokens. */
|
|
38
38
|
keywords?: readonly string[];
|
|
39
|
+
/** The custom property the prop's slot also writes. */
|
|
40
|
+
currentVar?: string;
|
|
39
41
|
kind?: never;
|
|
40
42
|
}
|
|
41
43
|
interface DeclarationDynamicPropConfig {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveClasses.d.ts","sourceRoot":"","sources":["../../src/runtime/resolveClasses.ts"],"names":[],"mappings":"AAAA,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAC9C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,aAAa,C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,EAAE,MAAM,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAkWD,wBAAgB,cAAc,CAC5B,aAAa,EAAE,MAAM,EACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,MAAM,EAAE,mBAAmB,EAC3B,aAAa,CAAC,EAAE,aAAa,EAC7B,iBAAiB,CAAC,EAAE,iBAAiB,GACpC,eAAe,CA0FjB"}
|
package/dist/runtime-entry.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createClassResolver } from "./createClassResolver-
|
|
2
|
-
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-
|
|
1
|
+
import { t as createClassResolver } from "./createClassResolver-DPLExqGy.js";
|
|
2
|
+
import { n as createComponent, t as createComposedFamily } from "./createComposedFamily-C6CLAsMx.js";
|
|
3
3
|
export { createClassResolver, createComponent, createComposedFamily };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property-records.d.ts","sourceRoot":"","sources":["../../src/theme/property-records.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"property-records.d.ts","sourceRoot":"","sources":["../../src/theme/property-records.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/E;oEACoE;AACpE,MAAM,MAAM,cAAc,GACtB;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GACnC;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvB,6EAA6E;AAC7E,MAAM,WAAW,cAAc;IAC7B,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,QAAQ,EAAE,OAAO,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C,KAAK,EAAE,aAAa,EACpB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,yBAAyB,EACvC,MAAM,EAAE,cAAc,GACrB,IAAI,CAQN;AAED,6CAA6C;AAC7C,wBAAgB,YAAY,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAM5D;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,cAAc,CAAC,GAC5E,qBAAqB,CAOvB;AAED,wBAAgB,gBAAgB,CAC9B,CAAC,EAAE,qBAAqB,EACxB,CAAC,EAAE,qBAAqB,GACvB,OAAO,CAOT;AAED,6EAA6E;AAC7E,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,yBAAyB,GACtC,qBAAqB,CAEvB;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAC1B,KAAK,EAAE,aAAa,GACnB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,SAAS,CAKtC;AAED,+EAA+E;AAC/E,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,GACnB,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAO7C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CAe5D;AAED,8EAA8E;AAC9E,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,aAAa,GACnB,MAAM,GAAG,SAAS,CAkBpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/system",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Animus design system builder — tokens, prop groups, global styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"compile": "tsc --noEmit"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@animus-ui/properties": "0.1.
|
|
79
|
+
"@animus-ui/properties": "0.1.20",
|
|
80
80
|
"csstype": "^3.2.3"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|