cssints 0.7.0 → 0.8.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/README.md +2 -2
- package/dist/clay-types.d.mts +1 -1
- package/dist/clay.mjs +1 -1
- package/dist/group-common-ClVCSlR6.d.mts +1 -0
- package/dist/{group-types-BBaZ8dwy.d.mts → group-types-D1m9Whs0.d.mts} +1 -1
- package/dist/groups/baseline-2015/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2015.d.mts +4 -4
- package/dist/groups/baseline-2016/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2016.d.mts +4 -4
- package/dist/groups/baseline-2017/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2017.d.mts +4 -4
- package/dist/groups/baseline-2018/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2018.d.mts +4 -4
- package/dist/groups/baseline-2019/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2019.d.mts +4 -4
- package/dist/groups/baseline-2020/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2020.d.mts +4 -4
- package/dist/groups/baseline-2021/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2021.d.mts +4 -4
- package/dist/groups/baseline-2022/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2022.d.mts +4 -4
- package/dist/groups/baseline-2023/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2023.d.mts +4 -4
- package/dist/groups/baseline-2024/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2024.d.mts +4 -4
- package/dist/groups/baseline-2025/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2025.d.mts +4 -4
- package/dist/groups/baseline-2026/with-downstream.d.mts +2 -2
- package/dist/groups/baseline-2026.d.mts +2 -2
- package/dist/groups/compositing-2.d.mts +4 -4
- package/dist/groups/css-align-3.d.mts +4 -4
- package/dist/groups/css-anchor-position-1.d.mts +4 -4
- package/dist/groups/css-anchor-position-2.d.mts +4 -4
- package/dist/groups/css-animations-1.d.mts +4 -4
- package/dist/groups/css-animations-2.d.mts +4 -4
- package/dist/groups/css-backgrounds-3.d.mts +4 -4
- package/dist/groups/css-backgrounds-4.d.mts +4 -4
- package/dist/groups/css-borders-4.d.mts +4 -4
- package/dist/groups/css-box-4.d.mts +4 -4
- package/dist/groups/css-break-4.d.mts +4 -4
- package/dist/groups/css-cascade-5.d.mts +4 -4
- package/dist/groups/css-cascade-6.d.mts +4 -4
- package/dist/groups/css-color-4.d.mts +4 -4
- package/dist/groups/css-color-5.d.mts +4 -4
- package/dist/groups/css-color-6.d.mts +4 -4
- package/dist/groups/css-color-adjust-1.d.mts +4 -4
- package/dist/groups/css-color-hdr-1.d.mts +4 -4
- package/dist/groups/css-conditional-3.d.mts +4 -4
- package/dist/groups/css-conditional-4.d.mts +4 -4
- package/dist/groups/css-conditional-5.d.mts +4 -4
- package/dist/groups/css-contain-2.d.mts +4 -4
- package/dist/groups/css-content-3.d.mts +4 -4
- package/dist/groups/css-counter-styles-3.d.mts +4 -4
- package/dist/groups/css-display-4.d.mts +4 -4
- package/dist/groups/css-easing-2.d.mts +4 -4
- package/dist/groups/css-env-1.d.mts +4 -4
- package/dist/groups/css-flexbox-1.d.mts +4 -4
- package/dist/groups/css-fonts-4.d.mts +4 -4
- package/dist/groups/css-fonts-5.d.mts +4 -4
- package/dist/groups/css-forms-1.d.mts +4 -4
- package/dist/groups/css-gaps-1.d.mts +4 -4
- package/dist/groups/css-gcpm-3.d.mts +4 -4
- package/dist/groups/css-gcpm-4.d.mts +4 -4
- package/dist/groups/css-grid-2.d.mts +4 -4
- package/dist/groups/css-grid-3.d.mts +4 -4
- package/dist/groups/css-images-3.d.mts +4 -4
- package/dist/groups/css-images-4.d.mts +4 -4
- package/dist/groups/css-images-5.d.mts +4 -4
- package/dist/groups/css-inline-3.d.mts +4 -4
- package/dist/groups/css-lists-3.d.mts +4 -4
- package/dist/groups/css-logical-1.d.mts +4 -4
- package/dist/groups/css-masking-1.d.mts +4 -4
- package/dist/groups/css-multicol-2.d.mts +4 -4
- package/dist/groups/css-overflow-3.d.mts +4 -4
- package/dist/groups/css-overflow-4.d.mts +4 -4
- package/dist/groups/css-overflow-5.d.mts +4 -4
- package/dist/groups/css-overscroll-1.d.mts +4 -4
- package/dist/groups/css-page-3.d.mts +4 -4
- package/dist/groups/css-page-floats-3.d.mts +4 -4
- package/dist/groups/css-position-3.d.mts +4 -4
- package/dist/groups/css-position-4.d.mts +4 -4
- package/dist/groups/css-rhythm-1.d.mts +4 -4
- package/dist/groups/css-round-display-1.d.mts +4 -4
- package/dist/groups/css-ruby-1.d.mts +4 -4
- package/dist/groups/css-scroll-anchoring-1.d.mts +4 -4
- package/dist/groups/css-scroll-snap-1.d.mts +4 -4
- package/dist/groups/css-scroll-snap-2.d.mts +4 -4
- package/dist/groups/css-scrollbars-1.d.mts +4 -4
- package/dist/groups/css-shapes-1.d.mts +4 -4
- package/dist/groups/css-shapes-2.d.mts +4 -4
- package/dist/groups/css-size-adjust-1.d.mts +4 -4
- package/dist/groups/css-sizing-3.d.mts +4 -4
- package/dist/groups/css-sizing-4.d.mts +4 -4
- package/dist/groups/css-speech-1.d.mts +4 -4
- package/dist/groups/css-tables-3.d.mts +4 -4
- package/dist/groups/css-text-3.d.mts +4 -4
- package/dist/groups/css-text-4.d.mts +4 -4
- package/dist/groups/css-text-decor-3.d.mts +4 -4
- package/dist/groups/css-text-decor-4.d.mts +4 -4
- package/dist/groups/css-transforms-1.d.mts +4 -4
- package/dist/groups/css-transforms-2.d.mts +4 -4
- package/dist/groups/css-transitions-1.d.mts +4 -4
- package/dist/groups/css-transitions-2.d.mts +4 -4
- package/dist/groups/css-ui-4.d.mts +4 -4
- package/dist/groups/css-values-4.d.mts +4 -4
- package/dist/groups/css-values-5.d.mts +4 -4
- package/dist/groups/css-variables-2.d.mts +3 -3
- package/dist/groups/css-view-transitions-2.d.mts +4 -4
- package/dist/groups/css-viewport.d.mts +4 -4
- package/dist/groups/css-will-change-1.d.mts +4 -4
- package/dist/groups/css-writing-modes-4.d.mts +4 -4
- package/dist/groups/css2.d.mts +4 -4
- package/dist/groups/fill-stroke-3.d.mts +4 -4
- package/dist/groups/filter-effects-1.d.mts +4 -4
- package/dist/groups/filter-effects-2.d.mts +4 -4
- package/dist/groups/limited-availability.d.mts +2 -2
- package/dist/groups/mediaqueries-4.d.mts +4 -4
- package/dist/groups/mediaqueries-5.d.mts +4 -4
- package/dist/groups/motion-1.d.mts +4 -4
- package/dist/groups/newly-available/with-downstream.d.mts +4 -4
- package/dist/groups/newly-available.d.mts +4 -4
- package/dist/groups/not-discouraged.d.mts +4 -4
- package/dist/groups/scroll-animations-1.d.mts +4 -4
- package/dist/groups/selectors-4.d.mts +3 -3
- package/dist/groups/selectors-5.d.mts +3 -3
- package/dist/groups/widely-available/with-downstream.d.mts +4 -4
- package/dist/groups/widely-available.d.mts +4 -4
- package/dist/index.d.mts +14 -3
- package/dist/index.mjs +77 -16
- package/dist/{instrument-BN47aTEW.mjs → instrument-D68RkfDU.mjs} +7 -2
- package/dist/plugin-types.d.mts +1 -1
- package/dist/plugin.d.mts +1 -1
- package/dist/runtime.d.mts +1 -0
- package/dist/runtime.mjs +5 -1
- package/dist/{scope-5A3kbBoQ.d.mts → scope-xUS8MykU.d.mts} +16 -1
- package/dist/surface.d.mts +1 -1
- package/dist/{theme-DBCyDih4.mjs → theme-C5cmxs1-.mjs} +4 -3
- package/dist/{theme-types-CplLnGgG.d.mts → theme-types-C5OAtybo.d.mts} +17 -2
- package/dist/tui-types.d.mts +1 -1
- package/dist/tui.mjs +1 -1
- package/dist/types.d.mts +2 -2
- package/dist/vite.mjs +1 -1
- package/docs/API.md +81 -2
- package/package.json +2 -2
- package/skills/cssints/SKILL.md +8 -3
- package/dist/group-common-CTUs5yym.d.mts +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as registry, d as MacroError, f as MemberError, o as warn, r as forgetKernels, t as Registry } from "./registry-8sYvlzyn.mjs";
|
|
2
|
-
import { A as camel, C as hashClass, D as settled, E as minWidth, F as probed, M as failIn, N as isNode, O as toDecls, P as node, S as edge, T as merged, _ as PSEUDOS, a as createTokens, b as checkVars, c as tokensOf, d as style, f as token, g as PROPS, h as LAYER, i as createGlobalTheme, j as fail, k as VAR, l as CSSTokenValue, m as FUNCTIONS, n as addTheme, o as isDone, p as CONTEXTS, r as check$1, t as DONE, u as isStyle, v as carried, w as isFallback, x as dropsOf, y as chainDecl } from "./theme-
|
|
2
|
+
import { A as camel, C as hashClass, D as settled, E as minWidth, F as probed, M as failIn, N as isNode, O as toDecls, P as node, S as edge, T as merged, _ as PSEUDOS, a as createTokens, b as checkVars, c as tokensOf, d as style, f as token, g as PROPS, h as LAYER, i as createGlobalTheme, j as fail, k as VAR, l as CSSTokenValue, m as FUNCTIONS, n as addTheme, o as isDone, p as CONTEXTS, r as check$1, t as DONE, u as isStyle, v as carried, w as isFallback, x as dropsOf, y as chainDecl } from "./theme-C5cmxs1-.mjs";
|
|
3
3
|
import { D as relation, S as addRuntime, _ as addKernel, i as byOrder, n as addGlobal, r as addLayers, y as kernelWarnings } from "./sheet-qCuMvyUo.mjs";
|
|
4
4
|
import { n as loweredOf } from "./lowered-DOJEDRFM.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { i as SCV_CALL, l as groups$1, n as CX_CALL, t as CV_CALL } from "./instrument-D68RkfDU.mjs";
|
|
6
6
|
import { checkDeclarationNow, checkQuery, checkSelector, checkValueNow, isDeclarationError } from "@cssints/css-grammar/check";
|
|
7
7
|
import { lackingOf, messageOf } from "@cssints/css-grammar/support";
|
|
8
8
|
import { CSS, CSSColorValue, CSSImageValue, CSSStyleValue, CSSStyleValue as CSSStyleValue$1, CSSUnitValue } from "@cssints/css-grammar/values";
|
|
@@ -657,6 +657,10 @@ function _cx(drops, ...a) {
|
|
|
657
657
|
const gone = drops.flatMap(([by, c]) => on.includes(by) ? c.split(" ") : []);
|
|
658
658
|
return on.filter((c) => c && !gone.includes(c)).join(" ");
|
|
659
659
|
}
|
|
660
|
+
function _scv(config) {
|
|
661
|
+
const slots = Object.entries(config).map(([slot, c]) => [slot, _cv(c)]);
|
|
662
|
+
return (props = {}) => Object.fromEntries(slots.map(([slot, of]) => [slot, of(props)]));
|
|
663
|
+
}
|
|
660
664
|
function _cv(config) {
|
|
661
665
|
return (props = {}) => {
|
|
662
666
|
const out = [config.base];
|
|
@@ -1081,34 +1085,37 @@ const classesOf = Effect.fnUntraced(function* ({ __cssints: decls, markers, kern
|
|
|
1081
1085
|
}
|
|
1082
1086
|
});
|
|
1083
1087
|
});
|
|
1084
|
-
const styleOf = Effect.fnUntraced(function* (s, where, at) {
|
|
1085
|
-
if (!isNode(s)) return yield* new MacroError({ message: `cssints:
|
|
1088
|
+
const styleOf = Effect.fnUntraced(function* (s, where, at, engine = "cv()") {
|
|
1089
|
+
if (!isNode(s)) return yield* new MacroError({ message: `cssints: ${engine} ${where} must be a css.* value (cn(...), a flex() chain or one property), got ${Formatter.formatJson(s)}. CSS strings are gone: write cn(p(4), fontSize("1rem"))` });
|
|
1086
1090
|
return yield* classesOf(s, at);
|
|
1087
1091
|
});
|
|
1088
|
-
const cvOf = Effect.fnUntraced(function* (config, at) {
|
|
1092
|
+
const cvOf = Effect.fnUntraced(function* (config, at, engine = "cv()") {
|
|
1089
1093
|
const variants = {};
|
|
1090
|
-
const base = config.base === void 0 ? "" : yield* styleOf(config.base, "base", at);
|
|
1094
|
+
const base = config.base === void 0 ? "" : yield* styleOf(config.base, "base", at, engine);
|
|
1091
1095
|
for (const [k, vs] of Object.entries(config.variants ?? {})) {
|
|
1092
1096
|
const classes = {};
|
|
1093
|
-
for (const [n, s] of Object.entries(vs)) classes[n] = yield* styleOf(s, `variant ${k}.${n}`, at);
|
|
1097
|
+
for (const [n, s] of Object.entries(vs)) if (s !== void 0) classes[n] = yield* styleOf(s, `variant ${k}.${n}`, at, engine);
|
|
1094
1098
|
variants[k] = classes;
|
|
1095
1099
|
}
|
|
1096
1100
|
const compound = [];
|
|
1097
1101
|
const whens = [];
|
|
1102
|
+
const kept = [];
|
|
1098
1103
|
for (const [i, { class: style, ...values }] of (config.compoundVariants ?? []).entries()) {
|
|
1099
1104
|
const when = Object.fromEntries(Object.entries(values).map(([k, v]) => [k, String(v)]));
|
|
1100
|
-
|
|
1105
|
+
whens.push({
|
|
1101
1106
|
when,
|
|
1102
|
-
|
|
1107
|
+
decls: style === void 0 ? [] : style.__cssints
|
|
1103
1108
|
});
|
|
1104
|
-
|
|
1109
|
+
if (style === void 0) continue;
|
|
1110
|
+
compound.push({
|
|
1105
1111
|
when,
|
|
1106
|
-
|
|
1112
|
+
class: yield* styleOf(style, `compoundVariants[${i}] class`, at, engine)
|
|
1107
1113
|
});
|
|
1114
|
+
kept.push(whens.length - 1);
|
|
1108
1115
|
}
|
|
1109
|
-
const declsOf = (s) => s.__cssints;
|
|
1116
|
+
const declsOf = (s) => s === void 0 ? [] : s.__cssints;
|
|
1110
1117
|
const { drops, compound: gone } = yield* Effect.try({
|
|
1111
|
-
try: () => settled(config.base === void 0 ? [] : declsOf(config.base), Object.fromEntries(Object.entries(config.variants ?? {}).map(([k, vs]) => [k, Object.fromEntries(Object.entries(vs).map(([n, s]) => [n, declsOf(s)]))])), whens),
|
|
1118
|
+
try: () => settled(config.base === void 0 ? [] : declsOf(config.base), Object.fromEntries(Object.entries(config.variants ?? {}).map(([k, vs]) => [k, Object.fromEntries(Object.entries(vs).map(([n, s]) => [n, declsOf(s)]))])), whens, engine),
|
|
1112
1119
|
catch: (e) => {
|
|
1113
1120
|
if (e instanceof MacroError) return e;
|
|
1114
1121
|
throw e;
|
|
@@ -1119,9 +1126,9 @@ const cvOf = Effect.fnUntraced(function* (config, at) {
|
|
|
1119
1126
|
variants,
|
|
1120
1127
|
defaultVariants: config.defaultVariants ?? {},
|
|
1121
1128
|
...Object.keys(drops).length && { drops },
|
|
1122
|
-
...compound.length && { compound: compound.map((c, i) => gone[i] ? {
|
|
1129
|
+
...compound.length && { compound: compound.map((c, i) => gone[kept[i]] ? {
|
|
1123
1130
|
...c,
|
|
1124
|
-
drops: gone[i]
|
|
1131
|
+
drops: gone[kept[i]]
|
|
1125
1132
|
} : c) }
|
|
1126
1133
|
});
|
|
1127
1134
|
});
|
|
@@ -1135,6 +1142,58 @@ const cv = (config) => {
|
|
|
1135
1142
|
};
|
|
1136
1143
|
return Object.assign((props) => (built[0] ??= build())(props), { __cv: config });
|
|
1137
1144
|
};
|
|
1145
|
+
const isScv = (v) => Predicate.hasProperty(v, "__scv");
|
|
1146
|
+
const isBySlot = (v) => !isNode(v) && Predicate.isObject(v);
|
|
1147
|
+
const slotOf = (config, slot, base) => {
|
|
1148
|
+
const variants = config.variants ?? {};
|
|
1149
|
+
const pick = (v) => {
|
|
1150
|
+
if (isNode(v)) return slot === base ? v : void 0;
|
|
1151
|
+
return isBySlot(v) ? v[slot] : v;
|
|
1152
|
+
};
|
|
1153
|
+
return {
|
|
1154
|
+
base: config.slots[slot],
|
|
1155
|
+
variants: Object.fromEntries(Object.entries(variants).map(([k, vs]) => [k, Object.fromEntries(Object.entries(vs).map(([n, s]) => [n, pick(s)]))])),
|
|
1156
|
+
defaultVariants: config.defaultVariants,
|
|
1157
|
+
compoundVariants: (config.compoundVariants ?? []).map(({ class: style, ...rest }) => {
|
|
1158
|
+
return {
|
|
1159
|
+
...Object.fromEntries(Object.entries(rest).filter(([k]) => Object.hasOwn(variants, k) || !Object.hasOwn(config.slots, k))),
|
|
1160
|
+
class: rest[slot] ?? (slot === base ? style : void 0)
|
|
1161
|
+
};
|
|
1162
|
+
})
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
const scvOf = Effect.fnUntraced(function* (config, at) {
|
|
1166
|
+
const slots = Object.keys(config.slots);
|
|
1167
|
+
const base = slots.includes("base") ? "base" : void 0;
|
|
1168
|
+
const variants = config.variants ?? {};
|
|
1169
|
+
for (const [k, vs] of Object.entries(variants)) for (const [n, v] of Object.entries(vs)) if (isNode(v)) {
|
|
1170
|
+
if (base === void 0) return yield* new MacroError({
|
|
1171
|
+
message: `cssints: scv() variant ${k}.${n} is a style, and slots has no slot named base: name it, { base: … }, or write { ${slots[0] ?? "…"}: … }`,
|
|
1172
|
+
...at
|
|
1173
|
+
});
|
|
1174
|
+
} else if (isBySlot(v)) {
|
|
1175
|
+
for (const s of Object.keys(v)) if (!slots.includes(s)) return yield* new MacroError({
|
|
1176
|
+
message: `cssints: scv() variant ${k}.${n} styles ${s}, which is not a slot: ${slots.join(", ")}`,
|
|
1177
|
+
...at
|
|
1178
|
+
});
|
|
1179
|
+
}
|
|
1180
|
+
for (const [i, entry] of (config.compoundVariants ?? []).entries()) for (const k of Object.keys(entry)) if (k !== "class" && !slots.includes(k) && !Object.hasOwn(variants, k)) return yield* new MacroError({
|
|
1181
|
+
message: `cssints: scv() compoundVariants[${i}] styles ${k}, which is not a slot: ${slots.join(", ")}`,
|
|
1182
|
+
...at
|
|
1183
|
+
});
|
|
1184
|
+
const configs = [];
|
|
1185
|
+
for (const slot of slots) configs.push([slot, fromJson(yield* cvOf(slotOf(config, slot, base), at, `scv() slot ${slot}:`))]);
|
|
1186
|
+
return Formatter.formatJson(Object.fromEntries(configs));
|
|
1187
|
+
});
|
|
1188
|
+
const scv = (config) => {
|
|
1189
|
+
const built = [];
|
|
1190
|
+
const build = () => {
|
|
1191
|
+
const exit = Effect.runSyncExit(scvOf(config));
|
|
1192
|
+
if (Exit.isFailure(exit)) throw Cause.squash(exit.cause);
|
|
1193
|
+
return _scv(fromJson(exit.value));
|
|
1194
|
+
};
|
|
1195
|
+
return Object.assign((props) => (built[0] ??= build())(props), { __scv: config });
|
|
1196
|
+
};
|
|
1138
1197
|
const isGroup = (v) => Predicate.hasProperty(v, "__cnGroup");
|
|
1139
1198
|
const headOf = Effect.fnUntraced(function* ({ __cnGroup: { statics, parts } }, at) {
|
|
1140
1199
|
const { nodes } = yield* Registry;
|
|
@@ -1176,6 +1235,7 @@ const named = {
|
|
|
1176
1235
|
flex,
|
|
1177
1236
|
grid,
|
|
1178
1237
|
cv,
|
|
1238
|
+
scv,
|
|
1179
1239
|
group,
|
|
1180
1240
|
global: globalRule,
|
|
1181
1241
|
layers: layersRule,
|
|
@@ -1228,6 +1288,7 @@ const isPluginValue = Predicate.isObjectKeyword;
|
|
|
1228
1288
|
const replacementOf = Effect.fnUntraced(function* (at, value) {
|
|
1229
1289
|
if (isNode(value)) return Formatter.formatJson(yield* classesOf(value, at));
|
|
1230
1290
|
if (isCv(value)) return `${CV_CALL}${yield* cvOf(value.__cv, at)})`;
|
|
1291
|
+
if (isScv(value)) return `${SCV_CALL}${yield* scvOf(value.__scv, at)})`;
|
|
1231
1292
|
if (isGroup(value)) return yield* headOf(value, at);
|
|
1232
1293
|
if (isStyle(value)) return yield* inlineOf(value);
|
|
1233
1294
|
const tokens = tokensOf(value);
|
|
@@ -1290,4 +1351,4 @@ function __site(at, value) {
|
|
|
1290
1351
|
if (Exit.isFailure(exit)) throw Cause.squash(exit.cause);
|
|
1291
1352
|
return exit.value;
|
|
1292
1353
|
}
|
|
1293
|
-
export { CSS, CSSAtRuleValue, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, __at, __cnGroup, __group, __nocn, __site, __unseen, _cv, _cx, cn, css, cv, firstThatWorks, flex, grid, keyframes, positionTry, sx };
|
|
1354
|
+
export { CSS, CSSAtRuleValue, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, __at, __cnGroup, __group, __nocn, __site, __unseen, _cv, _cx, cn, css, cv, firstThatWorks, flex, grid, keyframes, positionTry, scv, sx };
|
|
@@ -3638,6 +3638,7 @@ const groups = {
|
|
|
3638
3638
|
// src/instrument.ts
|
|
3639
3639
|
const RUNTIME = "cssints";
|
|
3640
3640
|
const CV_CALL = "__cv(";
|
|
3641
|
+
const SCV_CALL = "__scv(";
|
|
3641
3642
|
const CX_CALL = "__cx(";
|
|
3642
3643
|
const rootIdent = (n) => n.type === "Identifier" ? n.name : n.type === "MemberExpression" ? rootIdent(n.object) : n.type === "CallExpression" ? rootIdent(n.callee) : null;
|
|
3643
3644
|
const isCssints = (source) => source === "cssints" || source.startsWith(`cssints/`) && (Object.hasOwn(groups, source.slice(8)) || source === `cssints/limited-availability`);
|
|
@@ -3893,7 +3894,11 @@ const writeSite = (ms, s, replacement) => {
|
|
|
3893
3894
|
};
|
|
3894
3895
|
const runtimeImport = (replacements) => {
|
|
3895
3896
|
const all = [...replacements];
|
|
3896
|
-
const names = [
|
|
3897
|
+
const names = [
|
|
3898
|
+
...all.some((r) => r.startsWith("__cv(")) ? ["_cv as __cv"] : [],
|
|
3899
|
+
...all.some((r) => r.startsWith("__scv(")) ? ["_scv as __scv"] : [],
|
|
3900
|
+
...all.some((r) => r.startsWith("__cx(")) ? ["_cx as __cx"] : []
|
|
3901
|
+
];
|
|
3897
3902
|
return names.length ? `import { ${names.join(", ")} } from ${Formatter.formatJson(RUNTIME)};\n` : "";
|
|
3898
3903
|
};
|
|
3899
3904
|
const instrument = Effect.fn("cssints.instrument")(function* (code, id, client = true, named = false) {
|
|
@@ -3951,4 +3956,4 @@ const instrument = Effect.fn("cssints.instrument")(function* (code, id, client =
|
|
|
3951
3956
|
imp
|
|
3952
3957
|
};
|
|
3953
3958
|
});
|
|
3954
|
-
export {
|
|
3959
|
+
export { instrument as a, writeSite as c, SCV_CALL as i, groups as l, CX_CALL as n, runtimeImport as o, RUNTIME as r, tagged as s, CV_CALL as t };
|
package/dist/plugin-types.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as Wrap, X as types_d_exports, dm as Part, fm as Style, lm as CheckIn, t as CheckOverrides } from "./theme-types-C5OAtybo.mjs";
|
|
2
2
|
import { CSSStyleValue } from "@cssints/css-grammar/values";
|
|
3
3
|
import { Grammar, TokenType } from "@cssints/css-grammar/token";
|
|
4
4
|
import { ValidSelector } from "@cssints/css-grammar/query";
|
package/dist/plugin.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as inGroup, a as Entry, b as Part, c as Made, d as Scope, f as Table, g as fn, h as dependsOn, i as Css, l as Members, m as arg, n as ArgsDef, o as Impl, p as Typed, r as Chain, s as KernelDef, u as Pending, v as lacking, x as Style, y as scope } from "./scope-
|
|
1
|
+
import { _ as inGroup, a as Entry, b as Part, c as Made, d as Scope, f as Table, g as fn, h as dependsOn, i as Css, l as Members, m as arg, n as ArgsDef, o as Impl, p as Typed, r as Chain, s as KernelDef, u as Pending, v as lacking, x as Style, y as scope } from "./scope-xUS8MykU.mjs";
|
|
2
2
|
import { a as Kernel, i as GlobalRule, n as Conflict, o as Runtime, r as Decl, s as ThemeRule } from "./author-types-D9IjEXwn.mjs";
|
|
3
3
|
export { type ArgsDef, type Chain, type Conflict, type Css, type Decl, type Entry, type GlobalRule, type Impl, type Kernel, type KernelDef, type Made, type Members, type Part, type Pending, type Runtime, type Scope, type Style, type Table, type ThemeRule, type Typed, arg, dependsOn, fn, inGroup, lacking, scope };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -13,4 +13,5 @@ export interface CvRuntimeConfig {
|
|
|
13
13
|
drops?: string;
|
|
14
14
|
}[];
|
|
15
15
|
}
|
|
16
|
+
export declare function _scv(config: Record<string, CvRuntimeConfig>): (props?: Record<string, string | boolean | undefined>) => Record<string, string>;
|
|
16
17
|
export declare function _cv(config: CvRuntimeConfig): (props?: Record<string, string | boolean | undefined>) => string;
|
package/dist/runtime.mjs
CHANGED
|
@@ -4,6 +4,10 @@ function _cx(drops, ...a) {
|
|
|
4
4
|
const gone = drops.flatMap(([by, c]) => on.includes(by) ? c.split(" ") : []);
|
|
5
5
|
return on.filter((c) => c && !gone.includes(c)).join(" ");
|
|
6
6
|
}
|
|
7
|
+
function _scv(config) {
|
|
8
|
+
const slots = Object.entries(config).map(([slot, c]) => [slot, _cv(c)]);
|
|
9
|
+
return (props = {}) => Object.fromEntries(slots.map(([slot, of]) => [slot, of(props)]));
|
|
10
|
+
}
|
|
7
11
|
function _cv(config) {
|
|
8
12
|
return (props = {}) => {
|
|
9
13
|
const out = [config.base];
|
|
@@ -21,4 +25,4 @@ function _cv(config) {
|
|
|
21
25
|
return out.join(" ").split(" ").filter((c) => c && !gone.includes(c)).join(" ");
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
export { _cv, _cx };
|
|
28
|
+
export { _cv, _cx, _scv };
|
|
@@ -3213,7 +3213,7 @@ interface ChainMembers {
|
|
|
3213
3213
|
};
|
|
3214
3214
|
}
|
|
3215
3215
|
declare namespace types_d_exports {
|
|
3216
|
-
export { AttrOp, CSS$1 as CSS, CSSColorValue$1 as CSSColorValue, CSSImageValue$1 as CSSImageValue, CSSStyleValue$1 as CSSStyleValue, CSSUnitValue$1 as CSSUnitValue, Chain$1 as Chain, ChainStyle, CheckOverrides, ClassValue, CvConfig, CvProps, CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, Fallback, FlexMethods, GridMethods, Keyframes, Layout, Overrides, Part, PositionTry, Prop, QueryWrap, StateWrap, Steps, Style, Tokens, WebkitBoxOrient, WebkitBoxReflect, WebkitLineClamp, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, Wrap, abs, accentColor, acos, active, alignContent, alignItems, alignSelf, alignmentBaseline, all, anchor, anchorName, anchorScope, anchorSize, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationRange, animationRangeEnd, animationRangeStart, animationTimeline, animationTimingFunction, animationTrigger, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, autofill, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundPositionX, backgroundPositionY, backgroundRepeat, backgroundSize, baselineShift, baselineSource, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxDecorationBreak, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, buffering, calc, calcSize, captionSide, caret, caretAnimation, caretColor, caretShape, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnHeight, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columnWrap, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contentVisibility, contrast, contrastColor, cornerBlockEndShape, cornerBlockStartShape, cornerBottomLeftShape, cornerBottomRightShape, cornerBottomShape, cornerEndEndShape, cornerEndStartShape, cornerInlineEndShape, cornerInlineStartShape, cornerLeftShape, cornerRightShape, cornerShape, cornerStartEndShape, cornerStartStartShape, cornerTopLeftShape, cornerTopRightShape, cornerTopShape, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, crossFade, css, cubicBezier, cursor, cv, cx, cy, d, defined, direction, disabled, display, dominantBaseline, dropShadow, dynamicRangeLimit, dynamicRangeLimitMix, element, ellipse, empty, emptyCells, enabled, env, exp, fieldSizing, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, fitContent, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, flowTolerance, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontLanguageOverride, fontOpticalSizing, fontPalette, fontSize, fontSizeAdjust, fontStyle, fontSynthesis, fontSynthesisPosition, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantEmoji, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, fontWidth, forcedColorAdjust, fullscreen, future, gap, global, grayscale, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, hangingPunctuation, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphenateLimitChars, hyphens, hypot, image, imageOrientation, imageRendering, imageResolution, imageSet, inRange, indeterminate, initialLetter, initialLetterAlign, inlineSize, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, interactivity, interestDelay, interestDelayEnd, interestDelayStart, interpolateSize, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layer, layers, lch, leader, left, letterSpacing, lightDark, lightingColor, lineBreak, lineClamp, lineHeight, lineHeightStep, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marginTrim, marker, markerEnd, markerMid, markerStart, mask, maskBorder, maskBorderMode, maskBorderOutset, maskBorderRepeat, maskBorderSlice, maskBorderSource, maskBorderWidth, maskClip, maskComposite, maskImage, maskMode, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathDepth, mathShift, mathStyle, matrix, matrix3d, max, maxBlockSize, maxHeight, maxInlineSize, maxLines, maxWidth, mb, media, min, minBlockSize, minHeight, minInlineSize, minWidth, minmax, mixBlendMode, ml, mod, modal, mr, mt, muted, objectFit, objectPosition, objectViewBox, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, open, optional, order, orphans, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowAnchor, overflowBlock, overflowClipMargin, overflowInline, overflowWrap, overflowX, overflowY, overlay, overscrollBehavior, overscrollBehaviorBlock, overscrollBehaviorInline, overscrollBehaviorX, overscrollBehaviorY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paint, paintOrder, paletteMix, past, path, paused, pb, perspective, perspectiveFn, perspectiveOrigin, pictureInPicture, pl, placeContent, placeItems, placeSelf, placeholderShown, playing, pointerEvents, polygon, popoverOpen, position, positionAnchor, positionArea, positionTry, positionTryFallbacks, positionTryOrder, positionVisibility, pow, pr, printColorAdjust, pt, quotes, r, radialGradient, ray, readOnly, readWrite, readingFlow, readingOrder, rect, rem, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, resize, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, round, rowGap, rubyAlign, rubyMerge, rubyOverhang, rubyPosition, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope$1 as scope, scroll, scrollBehavior, scrollInitialTarget, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollMarkerGroup, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, scrollTargetGroup, scrollTimeline, scrollTimelineAxis, scrollTimelineName, scrollbarColor, scrollbarGutter, scrollbarWidth, seeking, sepia, shapeImageThreshold, shapeMargin, shapeOutside, shapeRendering, sign, sin, skew, skewX, skewY, speakAs, sqrt, src, stalled, steps, stopColor, stopOpacity, stroke, strokeColor, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, superellipse, supports, sx, symbols, tabSize, tableLayout, tan, target, targetCounter, targetCounters, targetText, textAlign, textAlignLast, textAnchor, textAutospace, textBox, textBoxEdge, textBoxTrim, textCombineUpright, textDecoration, textDecorationColor, textDecorationInset, textDecorationLine, textDecorationSkip, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textJustify, textOrientation, textOverflow, textRendering, textShadow, textSizeAdjust, textSpacingTrim, textTransform, textUnderlineOffset, textUnderlinePosition, textWrap, textWrapMode, textWrapStyle, timelineScope, timelineTrigger, timelineTriggerExitRange, timelineTriggerExitRangeEnd, timelineTriggerExitRangeStart, timelineTriggerName, timelineTriggerRange, timelineTriggerRangeEnd, timelineTriggerRangeStart, timelineTriggerSource, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionBehavior, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, triggerScope, unicodeBidi, url, userInvalid, userSelect, userValid, valid, _var as var, vectorEffect, verticalAlign, view, viewTimeline, viewTimelineAxis, viewTimelineInset, viewTimelineName, viewTransitionClass, viewTransitionName, visibility, visited, volumeLocked, whiteSpace, whiteSpaceCollapse, widows, width, willChange, within, wordBreak, wordSpacing, wordWrap, writingMode, x, xywh, y, zIndex, zoom };
|
|
3216
|
+
export { AttrOp, CSS$1 as CSS, CSSColorValue$1 as CSSColorValue, CSSImageValue$1 as CSSImageValue, CSSStyleValue$1 as CSSStyleValue, CSSUnitValue$1 as CSSUnitValue, Chain$1 as Chain, ChainStyle, CheckOverrides, ClassValue, CvConfig, CvProps, CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, Fallback, FlexMethods, GridMethods, Keyframes, Layout, Overrides, Part, PositionTry, Prop, QueryWrap, ScvConfig, ScvValue, StateWrap, Steps, Style, Tokens, WebkitBoxOrient, WebkitBoxReflect, WebkitLineClamp, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, Wrap, abs, accentColor, acos, active, alignContent, alignItems, alignSelf, alignmentBaseline, all, anchor, anchorName, anchorScope, anchorSize, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationRange, animationRangeEnd, animationRangeStart, animationTimeline, animationTimingFunction, animationTrigger, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, autofill, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundPositionX, backgroundPositionY, backgroundRepeat, backgroundSize, baselineShift, baselineSource, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxDecorationBreak, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, buffering, calc, calcSize, captionSide, caret, caretAnimation, caretColor, caretShape, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnHeight, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columnWrap, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contentVisibility, contrast, contrastColor, cornerBlockEndShape, cornerBlockStartShape, cornerBottomLeftShape, cornerBottomRightShape, cornerBottomShape, cornerEndEndShape, cornerEndStartShape, cornerInlineEndShape, cornerInlineStartShape, cornerLeftShape, cornerRightShape, cornerShape, cornerStartEndShape, cornerStartStartShape, cornerTopLeftShape, cornerTopRightShape, cornerTopShape, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, crossFade, css, cubicBezier, cursor, cv, cx, cy, d, defined, direction, disabled, display, dominantBaseline, dropShadow, dynamicRangeLimit, dynamicRangeLimitMix, element, ellipse, empty, emptyCells, enabled, env, exp, fieldSizing, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, fitContent, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, flowTolerance, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontLanguageOverride, fontOpticalSizing, fontPalette, fontSize, fontSizeAdjust, fontStyle, fontSynthesis, fontSynthesisPosition, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantEmoji, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, fontWidth, forcedColorAdjust, fullscreen, future, gap, global, grayscale, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, hangingPunctuation, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphenateLimitChars, hyphens, hypot, image, imageOrientation, imageRendering, imageResolution, imageSet, inRange, indeterminate, initialLetter, initialLetterAlign, inlineSize, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, interactivity, interestDelay, interestDelayEnd, interestDelayStart, interpolateSize, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layer, layers, lch, leader, left, letterSpacing, lightDark, lightingColor, lineBreak, lineClamp, lineHeight, lineHeightStep, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marginTrim, marker, markerEnd, markerMid, markerStart, mask, maskBorder, maskBorderMode, maskBorderOutset, maskBorderRepeat, maskBorderSlice, maskBorderSource, maskBorderWidth, maskClip, maskComposite, maskImage, maskMode, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathDepth, mathShift, mathStyle, matrix, matrix3d, max, maxBlockSize, maxHeight, maxInlineSize, maxLines, maxWidth, mb, media, min, minBlockSize, minHeight, minInlineSize, minWidth, minmax, mixBlendMode, ml, mod, modal, mr, mt, muted, objectFit, objectPosition, objectViewBox, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, open, optional, order, orphans, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowAnchor, overflowBlock, overflowClipMargin, overflowInline, overflowWrap, overflowX, overflowY, overlay, overscrollBehavior, overscrollBehaviorBlock, overscrollBehaviorInline, overscrollBehaviorX, overscrollBehaviorY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paint, paintOrder, paletteMix, past, path, paused, pb, perspective, perspectiveFn, perspectiveOrigin, pictureInPicture, pl, placeContent, placeItems, placeSelf, placeholderShown, playing, pointerEvents, polygon, popoverOpen, position, positionAnchor, positionArea, positionTry, positionTryFallbacks, positionTryOrder, positionVisibility, pow, pr, printColorAdjust, pt, quotes, r, radialGradient, ray, readOnly, readWrite, readingFlow, readingOrder, rect, rem, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, resize, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, round, rowGap, rubyAlign, rubyMerge, rubyOverhang, rubyPosition, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope$1 as scope, scroll, scrollBehavior, scrollInitialTarget, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollMarkerGroup, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, scrollTargetGroup, scrollTimeline, scrollTimelineAxis, scrollTimelineName, scrollbarColor, scrollbarGutter, scrollbarWidth, scv, seeking, sepia, shapeImageThreshold, shapeMargin, shapeOutside, shapeRendering, sign, sin, skew, skewX, skewY, speakAs, sqrt, src, stalled, steps, stopColor, stopOpacity, stroke, strokeColor, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, superellipse, supports, sx, symbols, tabSize, tableLayout, tan, target, targetCounter, targetCounters, targetText, textAlign, textAlignLast, textAnchor, textAutospace, textBox, textBoxEdge, textBoxTrim, textCombineUpright, textDecoration, textDecorationColor, textDecorationInset, textDecorationLine, textDecorationSkip, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textJustify, textOrientation, textOverflow, textRendering, textShadow, textSizeAdjust, textSpacingTrim, textTransform, textUnderlineOffset, textUnderlinePosition, textWrap, textWrapMode, textWrapStyle, timelineScope, timelineTrigger, timelineTriggerExitRange, timelineTriggerExitRangeEnd, timelineTriggerExitRangeStart, timelineTriggerName, timelineTriggerRange, timelineTriggerRangeEnd, timelineTriggerRangeStart, timelineTriggerSource, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionBehavior, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, triggerScope, unicodeBidi, url, userInvalid, userSelect, userValid, valid, _var as var, vectorEffect, verticalAlign, view, viewTimeline, viewTimelineAxis, viewTimelineInset, viewTimelineName, viewTransitionClass, viewTransitionName, visibility, visited, volumeLocked, whiteSpace, whiteSpaceCollapse, widows, width, willChange, within, wordBreak, wordSpacing, wordWrap, writingMode, x, xywh, y, zIndex, zoom };
|
|
3217
3217
|
}
|
|
3218
3218
|
/** One property: parts are checked against its mdn grammar; `R` is what the call gives (a chain method: the chain). */
|
|
3219
3219
|
type Prop<P extends keyof typeof properties, R = Style> = <const A extends readonly Part[]>(...parts: Check<P, A>) => R;
|
|
@@ -3263,6 +3263,18 @@ interface CvConfig<V extends Record<string, Record<string, Style>>> {
|
|
|
3263
3263
|
class: Style;
|
|
3264
3264
|
})[];
|
|
3265
3265
|
}
|
|
3266
|
+
/** The value of one variant of an `scv()`: a style for the `base` slot, or a style for each slot it names. */
|
|
3267
|
+
type ScvValue<S extends Record<string, Style>> = Style | Partial<Record<keyof S, Style>>;
|
|
3268
|
+
interface ScvConfig<S extends Record<string, Style>, V extends Record<string, Record<string, ScvValue<S>>> = Record<never, never>> {
|
|
3269
|
+
/** The slots it styles, `base` and the others: a variant value that is a style styles `base`. */
|
|
3270
|
+
slots: S;
|
|
3271
|
+
variants?: V;
|
|
3272
|
+
defaultVariants?: CvProps<NoInfer<V>>;
|
|
3273
|
+
/** Styles added when every value named here is active: `class` is the `base` slot, a slot's name styles that slot. */
|
|
3274
|
+
compoundVariants?: (CvProps<NoInfer<V>> & {
|
|
3275
|
+
class: Style;
|
|
3276
|
+
} & Partial<Record<keyof S, Style>>)[];
|
|
3277
|
+
}
|
|
3266
3278
|
/**
|
|
3267
3279
|
* Merges styles into one class string. What is known at build time merges (the later property wins); a runtime value
|
|
3268
3280
|
* (`on && p(4)`, `props.class`, a state call) is joined when the code runs, and a style in it replaces the classes it
|
|
@@ -3339,6 +3351,8 @@ declare const token: { readonly [K in TokenType]: TokenFn<K>; } & {
|
|
|
3339
3351
|
declare const style: (...styles: (Style | StyleObject)[]) => StyleObject;
|
|
3340
3352
|
/** The plugin replaces the call by a runtime function of class strings: `button({ size: "lg" })` gives the class names. */
|
|
3341
3353
|
declare const cv: <V extends Record<string, Record<string, Style>> = Record<never, never>>(config: CvConfig<V>) => (props?: CvProps<V>) => string;
|
|
3354
|
+
/** The plugin replaces the call by one runtime function per slot: `button({ size: "lg" })` gives each slot's classes. */
|
|
3355
|
+
declare const scv: <S extends Record<string, Style>, V extends Record<string, Record<string, ScvValue<S>>> = Record<never, never>>(config: ScvConfig<S, V>) => (props?: CvProps<V>) => { [K in keyof S]: string; };
|
|
3342
3356
|
declare const css: typeof members_d_exports & {
|
|
3343
3357
|
cn: typeof cn;
|
|
3344
3358
|
firstThatWorks: typeof firstThatWorks;
|
|
@@ -3355,6 +3369,7 @@ declare const css: typeof members_d_exports & {
|
|
|
3355
3369
|
token: typeof token;
|
|
3356
3370
|
style: typeof style;
|
|
3357
3371
|
cv: typeof cv;
|
|
3372
|
+
scv: typeof scv;
|
|
3358
3373
|
CSS: typeof CSS;
|
|
3359
3374
|
CSSColorValue: typeof CSSColorValue;
|
|
3360
3375
|
CSSImageValue: typeof CSSImageValue;
|
package/dist/surface.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AliasesOf } from "./scope-
|
|
1
|
+
import { t as AliasesOf } from "./scope-xUS8MykU.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* `surface().color(t.color.canvas).lighten(0.06).ink()`: a background that follows from the surface around it, however
|
|
4
4
|
* many plain wrappers sit between. `color(<color>)` is an absolute base (default: the parent surface); `lighten(step)`,
|
|
@@ -121,6 +121,7 @@ const BUILDERS = /* @__PURE__ */ new Set([
|
|
|
121
121
|
"flex",
|
|
122
122
|
"grid",
|
|
123
123
|
"cv",
|
|
124
|
+
"scv",
|
|
124
125
|
"media",
|
|
125
126
|
"container",
|
|
126
127
|
"supports",
|
|
@@ -232,13 +233,13 @@ function merged(decls) {
|
|
|
232
233
|
}
|
|
233
234
|
return out;
|
|
234
235
|
}
|
|
235
|
-
function settled(base, variants, compounds = []) {
|
|
236
|
+
function settled(base, variants, compounds = [], engine = "cv()") {
|
|
236
237
|
const at = (d) => (d[2] ?? []).map((c) => c.text).join(" > ");
|
|
237
238
|
const under = (d) => at(d) ? ` (under ${at(d)})` : "";
|
|
238
239
|
const meet = (o, d, who) => {
|
|
239
240
|
if (at(o) !== at(d)) return "apart";
|
|
240
241
|
const r = relation(o[0], d[0]);
|
|
241
|
-
if (r === "overlap") throw fail(`cssints:
|
|
242
|
+
if (r === "overlap") throw fail(`cssints: ${engine} ${who} ${o[0]} and ${d[0]} overlap without one containing the other${under(d)}, so the sheet cannot order them: set one of them, or the longhands`);
|
|
242
243
|
return r;
|
|
243
244
|
};
|
|
244
245
|
const replace = (olds, d, who, gone) => {
|
|
@@ -248,7 +249,7 @@ function settled(base, variants, compounds = []) {
|
|
|
248
249
|
}
|
|
249
250
|
};
|
|
250
251
|
const together = (o, d, a, b) => {
|
|
251
|
-
for (const x of o) if (meet(d, x, `${a} and ${b}:`) === "same") throw fail(`cssints:
|
|
252
|
+
for (const x of o) if (meet(d, x, `${a} and ${b}:`) === "same") throw fail(`cssints: ${engine} ${a} and ${b} both set ${x[0]}${under(d)} and can be active together, so nothing says which wins: set it in one of them, or in the base`);
|
|
252
253
|
};
|
|
253
254
|
const out = {};
|
|
254
255
|
const keys = Object.entries(variants);
|
|
@@ -3211,7 +3211,7 @@ interface ChainMembers {
|
|
|
3211
3211
|
}
|
|
3212
3212
|
type ClassValue = string | false | null | undefined | 0 | ClassValue[];
|
|
3213
3213
|
declare namespace types_d_exports {
|
|
3214
|
-
export { AttrOp, CSS$1 as CSS, CSSColorValue$1 as CSSColorValue, CSSImageValue$1 as CSSImageValue, CSSStyleValue$1 as CSSStyleValue, CSSUnitValue$1 as CSSUnitValue, Chain, ChainStyle, CheckOverrides, ClassValue, CvConfig, CvProps, CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, Fallback, FlexMethods, GridMethods, Keyframes, Layout, Overrides, Part, PositionTry, Prop, QueryWrap, StateWrap, Steps, Style, Tokens, WebkitBoxOrient, WebkitBoxReflect, WebkitLineClamp, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, Wrap, abs, accentColor, acos, active, alignContent, alignItems, alignSelf, alignmentBaseline, all, anchor, anchorName, anchorScope, anchorSize, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationRange, animationRangeEnd, animationRangeStart, animationTimeline, animationTimingFunction, animationTrigger, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, autofill, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundPositionX, backgroundPositionY, backgroundRepeat, backgroundSize, baselineShift, baselineSource, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxDecorationBreak, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, buffering, calc, calcSize, captionSide, caret, caretAnimation, caretColor, caretShape, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnHeight, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columnWrap, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contentVisibility, contrast, contrastColor, cornerBlockEndShape, cornerBlockStartShape, cornerBottomLeftShape, cornerBottomRightShape, cornerBottomShape, cornerEndEndShape, cornerEndStartShape, cornerInlineEndShape, cornerInlineStartShape, cornerLeftShape, cornerRightShape, cornerShape, cornerStartEndShape, cornerStartStartShape, cornerTopLeftShape, cornerTopRightShape, cornerTopShape, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, crossFade, css, cubicBezier, cursor, cv, cx, cy, d, defined, direction, disabled, display, dominantBaseline, dropShadow, dynamicRangeLimit, dynamicRangeLimitMix, element, ellipse, empty, emptyCells, enabled, env, exp, fieldSizing, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, fitContent, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, flowTolerance, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontLanguageOverride, fontOpticalSizing, fontPalette, fontSize, fontSizeAdjust, fontStyle, fontSynthesis, fontSynthesisPosition, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantEmoji, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, fontWidth, forcedColorAdjust, fullscreen, future, gap, global, grayscale, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, hangingPunctuation, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphenateLimitChars, hyphens, hypot, image, imageOrientation, imageRendering, imageResolution, imageSet, inRange, indeterminate, initialLetter, initialLetterAlign, inlineSize, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, interactivity, interestDelay, interestDelayEnd, interestDelayStart, interpolateSize, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layer, layers, lch, leader, left, letterSpacing, lightDark, lightingColor, lineBreak, lineClamp, lineHeight, lineHeightStep, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marginTrim, marker, markerEnd, markerMid, markerStart, mask, maskBorder, maskBorderMode, maskBorderOutset, maskBorderRepeat, maskBorderSlice, maskBorderSource, maskBorderWidth, maskClip, maskComposite, maskImage, maskMode, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathDepth, mathShift, mathStyle, matrix, matrix3d, max, maxBlockSize, maxHeight, maxInlineSize, maxLines, maxWidth, mb, media, min, minBlockSize, minHeight, minInlineSize, minWidth, minmax, mixBlendMode, ml, mod, modal, mr, mt, muted, objectFit, objectPosition, objectViewBox, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, open, optional, order, orphans, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowAnchor, overflowBlock, overflowClipMargin, overflowInline, overflowWrap, overflowX, overflowY, overlay, overscrollBehavior, overscrollBehaviorBlock, overscrollBehaviorInline, overscrollBehaviorX, overscrollBehaviorY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paint, paintOrder, paletteMix, past, path, paused, pb, perspective, perspectiveFn, perspectiveOrigin, pictureInPicture, pl, placeContent, placeItems, placeSelf, placeholderShown, playing, pointerEvents, polygon, popoverOpen, position, positionAnchor, positionArea, positionTry, positionTryFallbacks, positionTryOrder, positionVisibility, pow, pr, printColorAdjust, pt, quotes, r, radialGradient, ray, readOnly, readWrite, readingFlow, readingOrder, rect, rem, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, resize, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, round, rowGap, rubyAlign, rubyMerge, rubyOverhang, rubyPosition, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scroll, scrollBehavior, scrollInitialTarget, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollMarkerGroup, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, scrollTargetGroup, scrollTimeline, scrollTimelineAxis, scrollTimelineName, scrollbarColor, scrollbarGutter, scrollbarWidth, seeking, sepia, shapeImageThreshold, shapeMargin, shapeOutside, shapeRendering, sign, sin, skew, skewX, skewY, speakAs, sqrt, src, stalled, steps, stopColor, stopOpacity, stroke, strokeColor, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, superellipse, supports, sx, symbols, tabSize, tableLayout, tan, target, targetCounter, targetCounters, targetText, textAlign, textAlignLast, textAnchor, textAutospace, textBox, textBoxEdge, textBoxTrim, textCombineUpright, textDecoration, textDecorationColor, textDecorationInset, textDecorationLine, textDecorationSkip, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textJustify, textOrientation, textOverflow, textRendering, textShadow, textSizeAdjust, textSpacingTrim, textTransform, textUnderlineOffset, textUnderlinePosition, textWrap, textWrapMode, textWrapStyle, timelineScope, timelineTrigger, timelineTriggerExitRange, timelineTriggerExitRangeEnd, timelineTriggerExitRangeStart, timelineTriggerName, timelineTriggerRange, timelineTriggerRangeEnd, timelineTriggerRangeStart, timelineTriggerSource, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionBehavior, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, triggerScope, unicodeBidi, url, userInvalid, userSelect, userValid, valid, _var as var, vectorEffect, verticalAlign, view, viewTimeline, viewTimelineAxis, viewTimelineInset, viewTimelineName, viewTransitionClass, viewTransitionName, visibility, visited, volumeLocked, whiteSpace, whiteSpaceCollapse, widows, width, willChange, within, wordBreak, wordSpacing, wordWrap, writingMode, x, xywh, y, zIndex, zoom };
|
|
3214
|
+
export { AttrOp, CSS$1 as CSS, CSSColorValue$1 as CSSColorValue, CSSImageValue$1 as CSSImageValue, CSSStyleValue$1 as CSSStyleValue, CSSUnitValue$1 as CSSUnitValue, Chain, ChainStyle, CheckOverrides, ClassValue, CvConfig, CvProps, CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, Fallback, FlexMethods, GridMethods, Keyframes, Layout, Overrides, Part, PositionTry, Prop, QueryWrap, ScvConfig, ScvValue, StateWrap, Steps, Style, Tokens, WebkitBoxOrient, WebkitBoxReflect, WebkitLineClamp, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, Wrap, abs, accentColor, acos, active, alignContent, alignItems, alignSelf, alignmentBaseline, all, anchor, anchorName, anchorScope, anchorSize, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationRange, animationRangeEnd, animationRangeStart, animationTimeline, animationTimingFunction, animationTrigger, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, autofill, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundPositionX, backgroundPositionY, backgroundRepeat, backgroundSize, baselineShift, baselineSource, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxDecorationBreak, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, buffering, calc, calcSize, captionSide, caret, caretAnimation, caretColor, caretShape, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnHeight, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columnWrap, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contentVisibility, contrast, contrastColor, cornerBlockEndShape, cornerBlockStartShape, cornerBottomLeftShape, cornerBottomRightShape, cornerBottomShape, cornerEndEndShape, cornerEndStartShape, cornerInlineEndShape, cornerInlineStartShape, cornerLeftShape, cornerRightShape, cornerShape, cornerStartEndShape, cornerStartStartShape, cornerTopLeftShape, cornerTopRightShape, cornerTopShape, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, crossFade, css, cubicBezier, cursor, cv, cx, cy, d, defined, direction, disabled, display, dominantBaseline, dropShadow, dynamicRangeLimit, dynamicRangeLimitMix, element, ellipse, empty, emptyCells, enabled, env, exp, fieldSizing, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, fitContent, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, flowTolerance, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontLanguageOverride, fontOpticalSizing, fontPalette, fontSize, fontSizeAdjust, fontStyle, fontSynthesis, fontSynthesisPosition, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantEmoji, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, fontWidth, forcedColorAdjust, fullscreen, future, gap, global, grayscale, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, hangingPunctuation, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphenateLimitChars, hyphens, hypot, image, imageOrientation, imageRendering, imageResolution, imageSet, inRange, indeterminate, initialLetter, initialLetterAlign, inlineSize, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, interactivity, interestDelay, interestDelayEnd, interestDelayStart, interpolateSize, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layer, layers, lch, leader, left, letterSpacing, lightDark, lightingColor, lineBreak, lineClamp, lineHeight, lineHeightStep, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marginTrim, marker, markerEnd, markerMid, markerStart, mask, maskBorder, maskBorderMode, maskBorderOutset, maskBorderRepeat, maskBorderSlice, maskBorderSource, maskBorderWidth, maskClip, maskComposite, maskImage, maskMode, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathDepth, mathShift, mathStyle, matrix, matrix3d, max, maxBlockSize, maxHeight, maxInlineSize, maxLines, maxWidth, mb, media, min, minBlockSize, minHeight, minInlineSize, minWidth, minmax, mixBlendMode, ml, mod, modal, mr, mt, muted, objectFit, objectPosition, objectViewBox, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, open, optional, order, orphans, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowAnchor, overflowBlock, overflowClipMargin, overflowInline, overflowWrap, overflowX, overflowY, overlay, overscrollBehavior, overscrollBehaviorBlock, overscrollBehaviorInline, overscrollBehaviorX, overscrollBehaviorY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paint, paintOrder, paletteMix, past, path, paused, pb, perspective, perspectiveFn, perspectiveOrigin, pictureInPicture, pl, placeContent, placeItems, placeSelf, placeholderShown, playing, pointerEvents, polygon, popoverOpen, position, positionAnchor, positionArea, positionTry, positionTryFallbacks, positionTryOrder, positionVisibility, pow, pr, printColorAdjust, pt, quotes, r, radialGradient, ray, readOnly, readWrite, readingFlow, readingOrder, rect, rem, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, resize, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, round, rowGap, rubyAlign, rubyMerge, rubyOverhang, rubyPosition, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scroll, scrollBehavior, scrollInitialTarget, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollMarkerGroup, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, scrollTargetGroup, scrollTimeline, scrollTimelineAxis, scrollTimelineName, scrollbarColor, scrollbarGutter, scrollbarWidth, scv, seeking, sepia, shapeImageThreshold, shapeMargin, shapeOutside, shapeRendering, sign, sin, skew, skewX, skewY, speakAs, sqrt, src, stalled, steps, stopColor, stopOpacity, stroke, strokeColor, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, superellipse, supports, sx, symbols, tabSize, tableLayout, tan, target, targetCounter, targetCounters, targetText, textAlign, textAlignLast, textAnchor, textAutospace, textBox, textBoxEdge, textBoxTrim, textCombineUpright, textDecoration, textDecorationColor, textDecorationInset, textDecorationLine, textDecorationSkip, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textJustify, textOrientation, textOverflow, textRendering, textShadow, textSizeAdjust, textSpacingTrim, textTransform, textUnderlineOffset, textUnderlinePosition, textWrap, textWrapMode, textWrapStyle, timelineScope, timelineTrigger, timelineTriggerExitRange, timelineTriggerExitRangeEnd, timelineTriggerExitRangeStart, timelineTriggerName, timelineTriggerRange, timelineTriggerRangeEnd, timelineTriggerRangeStart, timelineTriggerSource, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionBehavior, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, triggerScope, unicodeBidi, url, userInvalid, userSelect, userValid, valid, _var as var, vectorEffect, verticalAlign, view, viewTimeline, viewTimelineAxis, viewTimelineInset, viewTimelineName, viewTransitionClass, viewTransitionName, visibility, visited, volumeLocked, whiteSpace, whiteSpaceCollapse, widows, width, willChange, within, wordBreak, wordSpacing, wordWrap, writingMode, x, xywh, y, zIndex, zoom };
|
|
3215
3215
|
}
|
|
3216
3216
|
/** One property: parts are checked against its mdn grammar; `R` is what the call gives (a chain method: the chain). */
|
|
3217
3217
|
type Prop<P extends keyof typeof properties, R = Style> = <const A extends readonly Part[]>(...parts: Check<P, A>) => R;
|
|
@@ -3261,6 +3261,18 @@ interface CvConfig<V extends Record<string, Record<string, Style>>> {
|
|
|
3261
3261
|
class: Style;
|
|
3262
3262
|
})[];
|
|
3263
3263
|
}
|
|
3264
|
+
/** The value of one variant of an `scv()`: a style for the `base` slot, or a style for each slot it names. */
|
|
3265
|
+
type ScvValue<S extends Record<string, Style>> = Style | Partial<Record<keyof S, Style>>;
|
|
3266
|
+
interface ScvConfig<S extends Record<string, Style>, V extends Record<string, Record<string, ScvValue<S>>> = Record<never, never>> {
|
|
3267
|
+
/** The slots it styles, `base` and the others: a variant value that is a style styles `base`. */
|
|
3268
|
+
slots: S;
|
|
3269
|
+
variants?: V;
|
|
3270
|
+
defaultVariants?: CvProps<NoInfer<V>>;
|
|
3271
|
+
/** Styles added when every value named here is active: `class` is the `base` slot, a slot's name styles that slot. */
|
|
3272
|
+
compoundVariants?: (CvProps<NoInfer<V>> & {
|
|
3273
|
+
class: Style;
|
|
3274
|
+
} & Partial<Record<keyof S, Style>>)[];
|
|
3275
|
+
}
|
|
3264
3276
|
/**
|
|
3265
3277
|
* Merges styles into one class string. What is known at build time merges (the later property wins); a runtime value
|
|
3266
3278
|
* (`on && p(4)`, `props.class`, a state call) is joined when the code runs, and a style in it replaces the classes it
|
|
@@ -3337,6 +3349,8 @@ declare const token: { readonly [K in TokenType]: TokenFn<K>; } & {
|
|
|
3337
3349
|
declare const style: (...styles: (Style | StyleObject)[]) => StyleObject;
|
|
3338
3350
|
/** The plugin replaces the call by a runtime function of class strings: `button({ size: "lg" })` gives the class names. */
|
|
3339
3351
|
declare const cv: <V extends Record<string, Record<string, Style>> = Record<never, never>>(config: CvConfig<V>) => (props?: CvProps<V>) => string;
|
|
3352
|
+
/** The plugin replaces the call by one runtime function per slot: `button({ size: "lg" })` gives each slot's classes. */
|
|
3353
|
+
declare const scv: <S extends Record<string, Style>, V extends Record<string, Record<string, ScvValue<S>>> = Record<never, never>>(config: ScvConfig<S, V>) => (props?: CvProps<V>) => { [K in keyof S]: string; };
|
|
3340
3354
|
declare const css: typeof members_d_exports & {
|
|
3341
3355
|
cn: typeof cn;
|
|
3342
3356
|
firstThatWorks: typeof firstThatWorks;
|
|
@@ -3353,6 +3367,7 @@ declare const css: typeof members_d_exports & {
|
|
|
3353
3367
|
token: typeof token;
|
|
3354
3368
|
style: typeof style;
|
|
3355
3369
|
cv: typeof cv;
|
|
3370
|
+
scv: typeof scv;
|
|
3356
3371
|
CSS: typeof CSS;
|
|
3357
3372
|
CSSColorValue: typeof CSSColorValue;
|
|
3358
3373
|
CSSImageValue: typeof CSSImageValue;
|
|
@@ -3477,4 +3492,4 @@ declare const check: {
|
|
|
3477
3492
|
}) => void;
|
|
3478
3493
|
};
|
|
3479
3494
|
type ColourOrAny<K extends TokenType> = "color" extends K ? unknown : never;
|
|
3480
|
-
export { WebkitBoxReflect as $, forcedColorAdjust as $a, outlineColor as $c, strokeMiterlimit as $d, timelineTriggerRangeStart as $f, ellipse as $i, positionTryFallbacks as $l, borderLeftStyle as $n, invalid as $o, CheckFn as $p, columnWidth as $r, maskComposite as $s, backgroundOrigin as $t, scrollMarginBlockStart as $u, Steps as A, fontKerning as Aa, mt as Ac, sepia as Ad, textEmphasisStyle as Af, cornerTopRightShape as Ai, paint as Al, borderColor as An, image as Ao, viewTimelineAxis as Ap, caretAnimation as Ar, marginBlockEnd as As, animationPlayState as At, rotateZ as Au, keyframes as B, fontSynthesisStyle as Ba, offsetRotate as Bc, speakAs as Bd, textUnderlineOffset as Bf, cursor as Bi, pictureInPicture as Bl, borderInlineColor as Bn, inset as Bo, widows as Bp, colorFn as Br, marker as Bs, aspectRatio as Bt, scale as Bu, CvValue as C, flowTolerance as Ca, minWidth as Cc, scrollTimeline as Cd, textDecorationSkip as Cf, cornerInlineStartShape as Ci, paddingInline as Cl, borderBottom as Cn, hsla as Co, userSelect as Cp, breakInside as Cr, listStyleImage as Cs, animationComposition as Ct, right as Cu, Prop as D, font as Da, mod as Dc, scrollbarGutter as Dd, textEmphasis as Df, cornerStartEndShape as Di, paddingRight as Dl, borderBottomStyle as Dn, hyphenateLimitChars as Do, verticalAlign as Dp, calcSize as Dr, m as Ds, animationFillMode as Dt, rotateFn as Du, PositionTry as E, focusWithin as Ea, ml as Ec, scrollbarColor as Ed, textDecorationThickness as Ef, cornerShape as Ei, paddingLeft as El, borderBottomRightRadius as En, hyphenateCharacter as Eo, vectorEffect as Ep, calc as Er, log as Es, animationDuration as Et, rotate3d as Eu, css as F, fontSizeAdjust as Fa, offset as Fc, sign as Fd, textRendering as Ff, counterReset as Fi, paused as Fl, borderImageRepeat as Fn, inRange as Fo, visibility as Fp, clamp as Fr, marginInlineStart as Fs, animationTimingFunction as Ft, rubyOverhang as Fu, sx as G, fontVariantEastAsian as Ga, opacity as Gc, stopColor as Gd, timelineScope as Gf, direction as Gi, placeholderShown as Gl, borderInlineStart as Gn, insetInline as Go, wordWrap as Gp, columnFill as Gr, maskBorder as Gs, backdropFilter as Gt, scaleZ as Gu, positionTry as H, fontVariant as Ha, oklch as Hc, src as Hd, textWrap as Hf, cy as Hi, placeContent as Hl, borderInlineEndColor as Hn, insetBlockEnd as Ho, willChange as Hp, colorMix as Hr, markerMid as Hs, atan2 as Ht, scaleFn as Hu, cv as I, fontStyle as Ia, offsetAnchor as Ic, sin as Id, textShadow as If, counterSet as Ii, pb as Il, borderImageSlice as In, indeterminate as Io, visited as Ip, clear as Ir, marginLeft as Is, animationTrigger as It, rubyPosition as Iu, within as J, fontVariantNumeric as Ja, optional as Jc, strokeColor as Jd, timelineTriggerExitRangeEnd as Jf, dominantBaseline as Ji, polygon as Jl, borderInlineStartWidth as Jn, interactivity as Jo, xywh as Jp, columnRule as Jr, maskBorderRepeat as Js, backgroundAttachment as Jt, scrollBehavior as Ju, token as K, fontVariantEmoji as Ka, opacityFn as Kc, stopOpacity as Kd, timelineTrigger as Kf, disabled as Ki, playing as Kl, borderInlineStartColor as Kn, insetInlineEnd as Ko, writingMode as Kp, columnGap as Kr, maskBorderMode as Ks, backfaceVisibility as Kt, scope as Ku, firstThatWorks as L, fontSynthesis as La, offsetDistance as Lc, skew as Ld, textSizeAdjust as Lf, counters as Li, perspective as Ll, borderImageSource as Ln, initialLetter as Lo, volumeLocked as Lp, clipPath as Lr, marginRight as Ls, anyLink as Lt, rx as Lu, attr as M, fontOpticalSizing as Ma, objectFit as Mc, shapeMargin as Md, textJustify as Mf, cos as Mi, paletteMix as Ml, borderEndStartRadius as Mn, imageRendering as Mo, viewTimelineName as Mp, caretShape as Mr, marginBottom as Ms, animationRangeEnd as Mt, rowGap as Mu, cn as N, fontPalette as Na, objectPosition as Nc, shapeOutside as Nd, textOrientation as Nf, counter as Ni, past as Nl, borderImage as Nn, imageResolution as No, viewTransitionClass as Np, checked as Nr, marginInline as Ns, animationRangeStart as Nt, rubyAlign as Nu, QueryWrap as O, fontFamily as Oa, modal as Oc, scrollbarWidth as Od, textEmphasisColor as Of, cornerStartStartShape as Oi, paddingTop as Ol, borderBottomWidth as On, hyphens as Oo, view as Op, captionSide as Or, margin as Os, animationIterationCount as Ot, rotateX as Ou, container as P, fontSize as Pa, objectViewBox as Pc, shapeRendering as Pd, textOverflow as Pf, counterIncrement as Pi, path as Pl, borderImageOutset as Pn, imageSet as Po, viewTransitionName as Pp, circle as Pr, marginInlineEnd as Ps, animationTimeline as Pt, rubyMerge as Pu, WebkitBoxOrient as Q, fontWidth as Qa, outline as Qc, strokeLinejoin as Qd, timelineTriggerRangeEnd as Qf, element as Qi, positionArea as Ql, borderLeftColor as Qn, interpolateSize as Qo, Arg as Qp, columnSpan as Qr, maskClip as Qs, backgroundImage as Qt, scrollMarginBlockEnd as Qu, global as R, fontSynthesisPosition as Ra, offsetPath as Rc, skewX as Rd, textSpacingTrim as Rf, crossFade as Ri, perspectiveFn as Rl, borderImageWidth as Rn, initialLetterAlign as Ro, whiteSpace as Rp, clipRule as Rr, marginTop as Rs, appearance as Rt, ry as Ru, CvProps as S, floodOpacity as Sa, minInlineSize as Sc, scrollTargetGroup as Sd, textDecorationLine as Sf, cornerInlineEndShape as Si, paddingBottom as Sl, borderBlockWidth as Sn, hsl as So, userInvalid as Sp, breakBefore as Sr, listStyle as Ss, animation as St, rgba as Su, Layout as T, focusVisible as Ta, mixBlendMode as Tc, scrollTimelineName as Td, textDecorationStyle as Tf, cornerRightShape as Ti, paddingInlineStart as Tl, borderBottomLeftRadius as Tn, hwb as To, valid as Tp, buffering as Tr, listStyleType as Ts, animationDirection as Tt, rotate as Tu, style as U, fontVariantAlternates as Ua, onlyChild as Uc, stalled as Ud, textWrapMode as Uf, d as Ui, placeItems as Ul, borderInlineEndStyle as Un, insetBlockStart as Uo, wordBreak as Up, colorScheme as Ur, markerStart as Us, attrFn as Ut, scaleX as Uu, media as V, fontSynthesisWeight as Va, oklab as Vc, sqrt as Vd, textUnderlinePosition as Vf, cx as Vi, pl as Vl, borderInlineEnd as Vn, insetBlock as Vo, width as Vp, colorInterpolationFilters as Vr, markerEnd as Vs, atan as Vt, scale3d as Vu, supports as W, fontVariantCaps as Wa, onlyOfType as Wc, steps as Wd, textWrapStyle as Wf, defined as Wi, placeSelf as Wl, borderInlineEndWidth as Wn, insetFn as Wo, wordSpacing as Wp, columnCount as Wr, mask as Ws, autofill as Wt, scaleY as Wu, FlexMethods as X, fontVariationSettings as Xa, orphans as Xc, strokeDashoffset as Xd, timelineTriggerName as Xf, dynamicRangeLimit as Xi, position as Xl, borderInlineWidth as Xn, interestDelayEnd as Xo, zIndex as Xp, columnRuleStyle as Xr, maskBorderSource as Xs, backgroundClip as Xt, scrollMargin as Xu, ClassValue as Y, fontVariantPosition as Ya, order as Yc, strokeDasharray as Yd, timelineTriggerExitRangeStart as Yf, dropShadow as Yi, popoverOpen as Yl, borderInlineStyle as Yn, interestDelay as Yo, y as Yp, columnRuleColor as Yr, maskBorderSlice as Ys, backgroundBlendMode as Yt, scrollInitialTarget as Yu, GridMethods as Z, fontWeight as Za, outOfRange as Zc, strokeLinecap as Zd, timelineTriggerRange as Zf, dynamicRangeLimitMix as Zi, positionAnchor as Zl, borderLeft as Zn, interestDelayStart as Zo, zoom as Zp, columnRuleWidth as Zr, maskBorderWidth as Zs, backgroundColor as Zt, scrollMarginBlock as Zu, CSSStyleValue$1 as _, flexGrow as _a, maxWidth as _c, scrollPaddingRight as _d, textBoxTrim as _f, cornerBottomLeftShape as _i, p as _l, borderBlockStart as _n, gridTemplateColumns as _o, translateY as _p, bottom as _r, lineHeight as _s, all as _t, repeatingLinearGradient as _u, DtcgUnit as a, fieldSizing as aa, maskSize as ac, scrollMarginRight as ad, tableLayout as af, containIntrinsicHeight as ai, overflowBlock as al, Check as am, baselineShift as an, gridArea as ao, transformOrigin as ap, borderRightWidth as ar, lab as as, WebkitTextStrokeWidth as at, pt as au, ChainStyle as b, float as ba, minBlockSize as bc, scrollSnapStop as bd, textDecorationColor as bf, cornerEndEndShape as bi, paddingBlockEnd as bl, borderBlockStartWidth as bn, height as bo, unicodeBidi as bp, boxSizing as br, linearGradient as bs, anchorScope as bt, resize as bu, Tokens as c, fillRule as ca, mathShift as cc, scrollPadding as cd, targetCounter as cf, containIntrinsicWidth as ci, overflowWrap as cl, Part as cm, blockSize as cn, gridAutoRows as co, transitionBehavior as cp, borderStartStartRadius as cr, layer as cs, _var as ct, radialGradient as cu, createTokens as d, firstOfType as da, matrix3d as dc, scrollPaddingBlockStart as dd, textAlign as df, content as di, overlay as dl, borderBlock as dn, gridColumnStart as do, transitionProperty as dp, borderTopColor as dr, left as ds, acos as dt, readWrite as du, empty as ea, maskImage as ec, scrollMarginBottom as ed, strokeOpacity as ef, columnWrap as ei, outlineOffset as el, CheckMath as em, backgroundPosition as en, fullscreen as eo, timelineTriggerSource as ep, borderLeftWidth as er, invert as es, WebkitLineClamp as et, positionTryOrder as eu, layers as f, fitContent as fa, max as fc, scrollPaddingBottom as fd, textAlignLast as ff, contentVisibility as fi, overscrollBehavior as fl, borderBlockColor as fn, gridRow as fo, transitionTimingFunction as fp, borderTopLeftRadius as fr, letterSpacing as fs, active as ft, readingFlow as fu, CSSImageValue$1 as g, flexFlow as ga, maxLines as gc, scrollPaddingLeft as gd, textBoxEdge as gf, cornerBlockStartShape as gi, overscrollBehaviorY as gl, borderBlockEndWidth as gn, gridTemplateAreas as go, translateX as gp, borderWidth as gr, lineClamp as gs, alignmentBaseline as gt, repeatingConicGradient as gu, CSSColorValue$1 as h, flexDirection as ha, maxInlineSize as hc, scrollPaddingInlineStart as hd, textBox as hf, cornerBlockEndShape as hi, overscrollBehaviorX as hl, borderBlockEndStyle as hn, gridTemplate as ho, translateFn as hp, borderTopWidth as hr, lineBreak as hs, alignSelf as ht, rem as hu, DtcgShadow as i, exp as ia, maskRepeat as ic, scrollMarginLeft as id, tabSize as if, containIntrinsicBlockSize as ii, overflowAnchor as il, VarCall as im, backgroundSize as in, grid as io, transformBox as ip, borderRightStyle as ir, justifySelf as is, WebkitTextStrokeColor as it, printColorAdjust as iu, Wrap as j, fontLanguageOverride as ja, muted as jc, shapeImageThreshold as jd, textIndent as jf, cornerTopShape as ji, paintOrder as jl, borderEndEndRadius as jn, imageOrientation as jo, viewTimelineInset as jp, caretColor as jr, marginBlockStart as js, animationRange as jt, round as ju, StateWrap as k, fontFeatureSettings as ka, mr as kc, seeking as kd, textEmphasisPosition as kf, cornerTopLeftShape as ki, page as kl, borderCollapse as kn, hypot as ko, viewTimeline as kp, caret as kr, marginBlock as ks, animationName as kt, rotateY as ku, check as l, filter as la, mathStyle as lc, scrollPaddingBlock as ld, targetCounters as lf, containerName as li, overflowX as ll, Style as lm, blur as ln, gridColumn as lo, transitionDelay as lp, borderStyle as lr, lch as ls, abs as lt, ray as lu, CSS$1 as m, flexBasis as ma, maxHeight as mc, scrollPaddingInlineEnd as md, textAutospace as mf, contrastColor as mi, overscrollBehaviorInline as ml, borderBlockEndColor as mn, gridRowStart as mo, translate3d as mp, borderTopStyle as mr, lightingColor as ms, alignItems as mt, rect as mu, DtcgColor as n, enabled as na, maskOrigin as nc, scrollMarginInlineEnd as nd, superellipse as nf, conicGradient as ni, outlineWidth as nl, Result as nm, backgroundPositionY as nn, gap as no, touchAction as np, borderRight as nr, justifyContent as ns, WebkitTextFillColor as nt, pow as nu, DtcgValue as o, fill as oa, maskType as oc, scrollMarginTop as od, tan as of, containIntrinsicInlineSize as oi, overflowClipMargin as ol, CheckIn as om, baselineSource as on, gridAutoColumns as oo, transformStyle as op, borderSpacing as or, lastChild as os, WebkitTouchCallout as ot, quotes as ou, AttrOp as p, flex as pa, maxBlockSize as pc, scrollPaddingInline as pd, textAnchor as pf, contrast as pi, overscrollBehaviorBlock as pl, borderBlockEnd as pn, gridRowEnd as po, translate as pp, borderTopRightRadius as pr, lightDark as ps, alignContent as pt, readingOrder as pu, types_d_exports as q, fontVariantLigatures as qa, open as qc, stroke as qd, timelineTriggerExitRange as qf, display as qi, pointerEvents as ql, borderInlineStartStyle as qn, insetInlineStart as qo, x as qp, columnHeight as qr, maskBorderOutset as qs, background as qt, scroll as qu, DtcgCubicBezier as r, env as ra, maskPosition as rc, scrollMarginInlineStart as rd, symbols as rf, contain as ri, overflow as rl, Text$1 as rm, backgroundRepeat as rn, grayscale as ro, transform as rp, borderRightColor as rr, justifyItems as rs, WebkitTextStroke as rt, pr as ru, Overrides as s, fillOpacity as sa, mathDepth as sc, scrollMarkerGroup as sd, target as sf, containIntrinsicSize as si, overflowInline as sl, Fallback as sm, bg as sn, gridAutoFlow as so, transition as sp, borderStartEndRadius as sr, lastOfType as ss, WebkitUserModify as st, r as su, CheckOverrides as t, emptyCells as ta, maskMode as tc, scrollMarginInline as td, strokeWidth as tf, columns as ti, outlineStyle as tl, Fn as tm, backgroundPositionX as tn, future as to, top as tp, borderRadius as tr, isolation as ts, WebkitTapHighlightColor as tt, positionVisibility as tu, createGlobalTheme as u, firstChild as ua, matrix as uc, scrollPaddingBlockEnd as ud, targetText as uf, containerType as ui, overflowY as ul, Text$2 as um, border as un, gridColumnEnd as uo, transitionDuration as up, borderTop as ur, leader as us, accentColor as ut, readOnly as uu, CSSUnitValue$1 as v, flexShrink as va, mb as vc, scrollPaddingTop as vd, textCombineUpright as vf, cornerBottomRightShape as vi, padding as vl, borderBlockStartColor as vn, gridTemplateRows as vo, translateZ as vp, boxDecorationBreak as vr, lineHeightStep as vs, anchor as vt, repeatingRadialGradient as vu, Keyframes as w, focus as wa, minmax as wc, scrollTimelineAxis as wd, textDecorationSkipInk as wf, cornerLeftShape as wi, paddingInlineEnd as wl, borderBottomColor as wn, hueRotate as wo, userValid as wp, brightness as wr, listStylePosition as ws, animationDelay as wt, root as wu, CvConfig as x, floodColor as xa, minHeight as xc, scrollSnapType as xd, textDecorationInset as xf, cornerEndStartShape as xi, paddingBlockStart as xl, borderBlockStyle as xn, hover as xo, url as xp, breakAfter as xr, link as xs, anchorSize as xt, rgb as xu, Chain as y, flexWrap as ya, min as yc, scrollSnapAlign as yd, textDecoration as yf, cornerBottomShape as yi, paddingBlock as yl, borderBlockStartStyle as yn, hangingPunctuation as yo, triggerScope as yp, boxShadow as yr, linear as ys, anchorName as yt, required as yu, group as z, fontSynthesisSmallCaps as za, offsetPosition as zc, skewY as zd, textTransform as zf, cubicBezier as zi, perspectiveOrigin as zl, borderInline as zn, inlineSize as zo, whiteSpaceCollapse as zp, color as zr, marginTrim as zs, asin as zt, saturate as zu };
|
|
3495
|
+
export { FlexMethods as $, fontVariationSettings as $a, orphans as $c, strokeDashoffset as $d, timelineTriggerName as $f, dynamicRangeLimit as $i, position as $l, borderInlineWidth as $n, interestDelayEnd as $o, zIndex as $p, columnRuleStyle as $r, maskBorderSource as $s, backgroundClip as $t, scrollMargin as $u, ScvValue as A, font as Aa, mod as Ac, scrollbarGutter as Ad, textEmphasis as Af, cornerStartEndShape as Ai, paddingRight as Al, borderBottomStyle as An, hyphenateLimitChars as Ao, verticalAlign as Ap, calcSize as Ar, m as As, animationFillMode as At, rotateFn as Au, global as B, fontSynthesis as Ba, offsetDistance as Bc, skew as Bd, textSizeAdjust as Bf, counters as Bi, perspective as Bl, borderImageSource as Bn, initialLetter as Bo, volumeLocked as Bp, clipPath as Br, marginRight as Bs, anyLink as Bt, rx as Bu, CvValue as C, float as Ca, minBlockSize as Cc, scrollSnapStop as Cd, textDecorationColor as Cf, cornerEndEndShape as Ci, paddingBlockEnd as Cl, borderBlockStartWidth as Cn, height as Co, unicodeBidi as Cp, boxSizing as Cr, linearGradient as Cs, anchorScope as Ct, resize as Cu, Prop as D, focus as Da, minmax as Dc, scrollTimelineAxis as Dd, textDecorationSkipInk as Df, cornerLeftShape as Di, paddingInlineEnd as Dl, borderBottomColor as Dn, hueRotate as Do, userValid as Dp, brightness as Dr, listStylePosition as Ds, animationDelay as Dt, root as Du, PositionTry as E, flowTolerance as Ea, minWidth as Ec, scrollTimeline as Ed, textDecorationSkip as Ef, cornerInlineStartShape as Ei, paddingInline as El, borderBottom as En, hsla as Eo, userSelect as Ep, breakInside as Er, listStyleImage as Es, animationComposition as Et, right as Eu, cn as F, fontOpticalSizing as Fa, objectFit as Fc, shapeMargin as Fd, textJustify as Ff, cos as Fi, paletteMix as Fl, borderEndStartRadius as Fn, imageRendering as Fo, viewTimelineName as Fp, caretShape as Fr, marginBottom as Fs, animationRangeEnd as Ft, rowGap as Fu, scv as G, fontVariant as Ga, oklch as Gc, src as Gd, textWrap as Gf, cy as Gi, placeContent as Gl, borderInlineEndColor as Gn, insetBlockEnd as Go, willChange as Gp, colorMix as Gr, markerMid as Gs, atan2 as Gt, scaleFn as Gu, keyframes as H, fontSynthesisSmallCaps as Ha, offsetPosition as Hc, skewY as Hd, textTransform as Hf, cubicBezier as Hi, perspectiveOrigin as Hl, borderInline as Hn, inlineSize as Ho, whiteSpaceCollapse as Hp, color as Hr, marginTrim as Hs, asin as Ht, saturate as Hu, container as I, fontPalette as Ia, objectPosition as Ic, shapeOutside as Id, textOrientation as If, counter as Ii, past as Il, borderImage as In, imageResolution as Io, viewTransitionClass as Ip, checked as Ir, marginInline as Is, animationRangeStart as It, rubyAlign as Iu, sx as J, fontVariantEastAsian as Ja, opacity as Jc, stopColor as Jd, timelineScope as Jf, direction as Ji, placeholderShown as Jl, borderInlineStart as Jn, insetInline as Jo, wordWrap as Jp, columnFill as Jr, maskBorder as Js, backdropFilter as Jt, scaleZ as Ju, style as K, fontVariantAlternates as Ka, onlyChild as Kc, stalled as Kd, textWrapMode as Kf, d as Ki, placeItems as Kl, borderInlineEndStyle as Kn, insetBlockStart as Ko, wordBreak as Kp, colorScheme as Kr, markerStart as Ks, attrFn as Kt, scaleX as Ku, css as L, fontSize as La, objectViewBox as Lc, shapeRendering as Ld, textOverflow as Lf, counterIncrement as Li, path as Ll, borderImageOutset as Ln, imageSet as Lo, viewTransitionName as Lp, circle as Lr, marginInlineEnd as Ls, animationTimeline as Lt, rubyMerge as Lu, Steps as M, fontFeatureSettings as Ma, mr as Mc, seeking as Md, textEmphasisPosition as Mf, cornerTopLeftShape as Mi, page as Ml, borderCollapse as Mn, hypot as Mo, viewTimeline as Mp, caret as Mr, marginBlock as Ms, animationName as Mt, rotateY as Mu, Wrap as N, fontKerning as Na, mt as Nc, sepia as Nd, textEmphasisStyle as Nf, cornerTopRightShape as Ni, paint as Nl, borderColor as Nn, image as No, viewTimelineAxis as Np, caretAnimation as Nr, marginBlockEnd as Ns, animationPlayState as Nt, rotateZ as Nu, QueryWrap as O, focusVisible as Oa, mixBlendMode as Oc, scrollTimelineName as Od, textDecorationStyle as Of, cornerRightShape as Oi, paddingInlineStart as Ol, borderBottomLeftRadius as On, hwb as Oo, valid as Op, buffering as Or, listStyleType as Os, animationDirection as Ot, rotate as Ou, attr as P, fontLanguageOverride as Pa, muted as Pc, shapeImageThreshold as Pd, textIndent as Pf, cornerTopShape as Pi, paintOrder as Pl, borderEndEndRadius as Pn, imageOrientation as Po, viewTimelineInset as Pp, caretColor as Pr, marginBlockStart as Ps, animationRange as Pt, round as Pu, ClassValue as Q, fontVariantPosition as Qa, order as Qc, strokeDasharray as Qd, timelineTriggerExitRangeStart as Qf, dropShadow as Qi, popoverOpen as Ql, borderInlineStyle as Qn, interestDelay as Qo, y as Qp, columnRuleColor as Qr, maskBorderSlice as Qs, backgroundBlendMode as Qt, scrollInitialTarget as Qu, cv as R, fontSizeAdjust as Ra, offset as Rc, sign as Rd, textRendering as Rf, counterReset as Ri, paused as Rl, borderImageRepeat as Rn, inRange as Ro, visibility as Rp, clamp as Rr, marginInlineStart as Rs, animationTimingFunction as Rt, rubyOverhang as Ru, CvProps as S, flexWrap as Sa, min as Sc, scrollSnapAlign as Sd, textDecoration as Sf, cornerBottomShape as Si, paddingBlock as Sl, borderBlockStartStyle as Sn, hangingPunctuation as So, triggerScope as Sp, boxShadow as Sr, linear as Ss, anchorName as St, required as Su, Layout as T, floodOpacity as Ta, minInlineSize as Tc, scrollTargetGroup as Td, textDecorationLine as Tf, cornerInlineEndShape as Ti, paddingBottom as Tl, borderBlockWidth as Tn, hsl as To, userInvalid as Tp, breakBefore as Tr, listStyle as Ts, animation as Tt, rgba as Tu, media as U, fontSynthesisStyle as Ua, offsetRotate as Uc, speakAs as Ud, textUnderlineOffset as Uf, cursor as Ui, pictureInPicture as Ul, borderInlineColor as Un, inset as Uo, widows as Up, colorFn as Ur, marker as Us, aspectRatio as Ut, scale as Uu, group as V, fontSynthesisPosition as Va, offsetPath as Vc, skewX as Vd, textSpacingTrim as Vf, crossFade as Vi, perspectiveFn as Vl, borderImageWidth as Vn, initialLetterAlign as Vo, whiteSpace as Vp, clipRule as Vr, marginTop as Vs, appearance as Vt, ry as Vu, positionTry as W, fontSynthesisWeight as Wa, oklab as Wc, sqrt as Wd, textUnderlinePosition as Wf, cx as Wi, pl as Wl, borderInlineEnd as Wn, insetBlock as Wo, width as Wp, colorInterpolationFilters as Wr, markerEnd as Ws, atan as Wt, scale3d as Wu, types_d_exports as X, fontVariantLigatures as Xa, open as Xc, stroke as Xd, timelineTriggerExitRange as Xf, display as Xi, pointerEvents as Xl, borderInlineStartStyle as Xn, insetInlineStart as Xo, x as Xp, columnHeight as Xr, maskBorderOutset as Xs, background as Xt, scroll as Xu, token as Y, fontVariantEmoji as Ya, opacityFn as Yc, stopOpacity as Yd, timelineTrigger as Yf, disabled as Yi, playing as Yl, borderInlineStartColor as Yn, insetInlineEnd as Yo, writingMode as Yp, columnGap as Yr, maskBorderMode as Ys, backfaceVisibility as Yt, scope as Yu, within as Z, fontVariantNumeric as Za, optional as Zc, strokeColor as Zd, timelineTriggerExitRangeEnd as Zf, dominantBaseline as Zi, polygon as Zl, borderInlineStartWidth as Zn, interactivity as Zo, xywh as Zp, columnRule as Zr, maskBorderRepeat as Zs, backgroundAttachment as Zt, scrollBehavior as Zu, CSSStyleValue$1 as _, flexBasis as _a, maxHeight as _c, scrollPaddingInlineEnd as _d, textAutospace as _f, contrastColor as _i, overscrollBehaviorInline as _l, borderBlockEndColor as _n, gridRowStart as _o, translate3d as _p, borderTopStyle as _r, lightingColor as _s, alignItems as _t, rect as _u, DtcgUnit as a, enabled as aa, maskOrigin as ac, scrollMarginInlineEnd as ad, superellipse as af, conicGradient as ai, outlineWidth as al, Result as am, backgroundPositionY as an, gap as ao, touchAction as ap, borderRight as ar, justifyContent as as, WebkitTextFillColor as at, pow as au, ChainStyle as b, flexGrow as ba, maxWidth as bc, scrollPaddingRight as bd, textBoxTrim as bf, cornerBottomLeftShape as bi, p as bl, borderBlockStart as bn, gridTemplateColumns as bo, translateY as bp, bottom as br, lineHeight as bs, all as bt, repeatingLinearGradient as bu, Tokens as c, fieldSizing as ca, maskSize as cc, scrollMarginRight as cd, tableLayout as cf, containIntrinsicHeight as ci, overflowBlock as cl, Check as cm, baselineShift as cn, gridArea as co, transformOrigin as cp, borderRightWidth as cr, lab as cs, WebkitTextStrokeWidth as ct, pt as cu, createTokens as d, fillRule as da, mathShift as dc, scrollPadding as dd, targetCounter as df, containIntrinsicWidth as di, overflowWrap as dl, Part as dm, blockSize as dn, gridAutoRows as do, transitionBehavior as dp, borderStartStartRadius as dr, layer as ds, _var as dt, radialGradient as du, dynamicRangeLimitMix as ea, maskBorderWidth as ec, scrollMarginBlock as ed, strokeLinecap as ef, columnRuleWidth as ei, outOfRange as el, zoom as em, backgroundColor as en, fontWeight as eo, timelineTriggerRange as ep, borderLeft as er, interestDelayStart as es, GridMethods as et, positionAnchor as eu, layers as f, filter as fa, mathStyle as fc, scrollPaddingBlock as fd, targetCounters as ff, containerName as fi, overflowX as fl, Style as fm, blur as fn, gridColumn as fo, transitionDelay as fp, borderStyle as fr, lch as fs, abs as ft, ray as fu, CSSImageValue$1 as g, flex as ga, maxBlockSize as gc, scrollPaddingInline as gd, textAnchor as gf, contrast as gi, overscrollBehaviorBlock as gl, borderBlockEnd as gn, gridRowEnd as go, translate as gp, borderTopRightRadius as gr, lightDark as gs, alignContent as gt, readingOrder as gu, CSSColorValue$1 as h, fitContent as ha, max as hc, scrollPaddingBottom as hd, textAlignLast as hf, contentVisibility as hi, overscrollBehavior as hl, borderBlockColor as hn, gridRow as ho, transitionTimingFunction as hp, borderTopLeftRadius as hr, letterSpacing as hs, active as ht, readingFlow as hu, DtcgShadow as i, emptyCells as ia, maskMode as ic, scrollMarginInline as id, strokeWidth as if, columns as ii, outlineStyle as il, Fn as im, backgroundPositionX as in, future as io, top as ip, borderRadius as ir, isolation as is, WebkitTapHighlightColor as it, positionVisibility as iu, StateWrap as j, fontFamily as ja, modal as jc, scrollbarWidth as jd, textEmphasisColor as jf, cornerStartStartShape as ji, paddingTop as jl, borderBottomWidth as jn, hyphens as jo, view as jp, captionSide as jr, margin as js, animationIterationCount as jt, rotateX as ju, ScvConfig as k, focusWithin as ka, ml as kc, scrollbarColor as kd, textDecorationThickness as kf, cornerShape as ki, paddingLeft as kl, borderBottomRightRadius as kn, hyphenateCharacter as ko, vectorEffect as kp, calc as kr, log as ks, animationDuration as kt, rotate3d as ku, check as l, fill as la, maskType as lc, scrollMarginTop as ld, tan as lf, containIntrinsicInlineSize as li, overflowClipMargin as ll, CheckIn as lm, baselineSource as ln, gridAutoColumns as lo, transformStyle as lp, borderSpacing as lr, lastChild as ls, WebkitTouchCallout as lt, quotes as lu, CSS$1 as m, firstOfType as ma, matrix3d as mc, scrollPaddingBlockStart as md, textAlign as mf, content as mi, overlay as ml, borderBlock as mn, gridColumnStart as mo, transitionProperty as mp, borderTopColor as mr, left as ms, acos as mt, readWrite as mu, DtcgColor as n, ellipse as na, maskComposite as nc, scrollMarginBlockStart as nd, strokeMiterlimit as nf, columnWidth as ni, outlineColor as nl, CheckFn as nm, backgroundOrigin as nn, forcedColorAdjust as no, timelineTriggerRangeStart as np, borderLeftStyle as nr, invalid as ns, WebkitBoxReflect as nt, positionTryFallbacks as nu, DtcgValue as o, env as oa, maskPosition as oc, scrollMarginInlineStart as od, symbols as of, contain as oi, overflow as ol, Text$1 as om, backgroundRepeat as on, grayscale as oo, transform as op, borderRightColor as or, justifyItems as os, WebkitTextStroke as ot, pr as ou, AttrOp as p, firstChild as pa, matrix as pc, scrollPaddingBlockEnd as pd, targetText as pf, containerType as pi, overflowY as pl, Text$2 as pm, border as pn, gridColumnEnd as po, transitionDuration as pp, borderTop as pr, leader as ps, accentColor as pt, readOnly as pu, supports as q, fontVariantCaps as qa, onlyOfType as qc, steps as qd, textWrapStyle as qf, defined as qi, placeSelf as ql, borderInlineEndWidth as qn, insetFn as qo, wordSpacing as qp, columnCount as qr, mask as qs, autofill as qt, scaleY as qu, DtcgCubicBezier as r, empty as ra, maskImage as rc, scrollMarginBottom as rd, strokeOpacity as rf, columnWrap as ri, outlineOffset as rl, CheckMath as rm, backgroundPosition as rn, fullscreen as ro, timelineTriggerSource as rp, borderLeftWidth as rr, invert as rs, WebkitLineClamp as rt, positionTryOrder as ru, Overrides as s, exp as sa, maskRepeat as sc, scrollMarginLeft as sd, tabSize as sf, containIntrinsicBlockSize as si, overflowAnchor as sl, VarCall as sm, backgroundSize as sn, grid as so, transformBox as sp, borderRightStyle as sr, justifySelf as ss, WebkitTextStrokeColor as st, printColorAdjust as su, CheckOverrides as t, element as ta, maskClip as tc, scrollMarginBlockEnd as td, strokeLinejoin as tf, columnSpan as ti, outline as tl, Arg as tm, backgroundImage as tn, fontWidth as to, timelineTriggerRangeEnd as tp, borderLeftColor as tr, interpolateSize as ts, WebkitBoxOrient as tt, positionArea as tu, createGlobalTheme as u, fillOpacity as ua, mathDepth as uc, scrollMarkerGroup as ud, target as uf, containIntrinsicSize as ui, overflowInline as ul, Fallback as um, bg as un, gridAutoFlow as uo, transition as up, borderStartEndRadius as ur, lastOfType as us, WebkitUserModify as ut, r as uu, CSSUnitValue$1 as v, flexDirection as va, maxInlineSize as vc, scrollPaddingInlineStart as vd, textBox as vf, cornerBlockEndShape as vi, overscrollBehaviorX as vl, borderBlockEndStyle as vn, gridTemplate as vo, translateFn as vp, borderTopWidth as vr, lineBreak as vs, alignSelf as vt, rem as vu, Keyframes as w, floodColor as wa, minHeight as wc, scrollSnapType as wd, textDecorationInset as wf, cornerEndStartShape as wi, paddingBlockStart as wl, borderBlockStyle as wn, hover as wo, url as wp, breakAfter as wr, link as ws, anchorSize as wt, rgb as wu, CvConfig as x, flexShrink as xa, mb as xc, scrollPaddingTop as xd, textCombineUpright as xf, cornerBottomRightShape as xi, padding as xl, borderBlockStartColor as xn, gridTemplateRows as xo, translateZ as xp, boxDecorationBreak as xr, lineHeightStep as xs, anchor as xt, repeatingRadialGradient as xu, Chain as y, flexFlow as ya, maxLines as yc, scrollPaddingLeft as yd, textBoxEdge as yf, cornerBlockStartShape as yi, overscrollBehaviorY as yl, borderBlockEndWidth as yn, gridTemplateAreas as yo, translateX as yp, borderWidth as yr, lineClamp as ys, alignmentBaseline as yt, repeatingConicGradient as yu, firstThatWorks as z, fontStyle as za, offsetAnchor as zc, sin as zd, textShadow as zf, counterSet as zi, pb as zl, borderImageSlice as zn, indeterminate as zo, visited as zp, clear as zr, marginLeft as zs, animationTrigger as zt, rubyPosition as zu };
|
package/dist/tui-types.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cm as Check, d as createTokens, dm as Part, u as createGlobalTheme } from "./theme-types-C5OAtybo.mjs";
|
|
2
2
|
type Percent = `${number}%`;
|
|
3
3
|
/** A number of cells (columns across, rows down) or a percentage of the parent. */
|
|
4
4
|
export type Cells = number | Percent;
|
package/dist/tui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as registry } from "./registry-8sYvlzyn.mjs";
|
|
2
|
-
import { a as createTokens$1, i as createGlobalTheme$1, j as fail, s as sets } from "./theme-
|
|
2
|
+
import { a as createTokens$1, i as createGlobalTheme$1, j as fail, s as sets } from "./theme-C5cmxs1-.mjs";
|
|
3
3
|
import { g as evaluate, h as css } from "./sheet-qCuMvyUo.mjs";
|
|
4
4
|
import { n as valueOf, t as together } from "./contrast-Dw6gXoO3.mjs";
|
|
5
5
|
import { n as parseColor } from "./color-BB8ipynT.mjs";
|