cssints 0.1.0 → 0.2.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 +21 -11
- package/dist/check.mjs +2 -2
- package/dist/{contrast-BUKVao74.mjs → contrast-DhK69Xak.mjs} +2 -2
- package/dist/group-common-9zpBxfUF.d.mts +1 -0
- package/dist/group-types-9ttphdku.d.mts +55 -0
- package/dist/groups/compositing-2.d.mts +20 -0
- package/dist/groups/css-align-3.d.mts +29 -0
- package/dist/groups/css-anchor-position-1.d.mts +49 -0
- package/dist/groups/css-anchor-position-2.d.mts +50 -0
- package/dist/groups/css-animations-1.d.mts +28 -0
- package/dist/groups/css-animations-2.d.mts +29 -0
- package/dist/groups/css-backgrounds-3.d.mts +27 -0
- package/dist/groups/css-backgrounds-4.d.mts +29 -0
- package/dist/groups/css-borders-4.d.mts +95 -0
- package/dist/groups/css-box-4.d.mts +38 -0
- package/dist/groups/css-break-4.d.mts +23 -0
- package/dist/groups/css-cascade-5.d.mts +18 -0
- package/dist/groups/css-cascade-6.d.mts +18 -0
- package/dist/groups/css-color-4.d.mts +29 -0
- package/dist/groups/css-color-5.d.mts +32 -0
- package/dist/groups/css-color-6.d.mts +32 -0
- package/dist/groups/css-color-adjust-1.d.mts +20 -0
- package/dist/groups/css-color-hdr-1.d.mts +19 -0
- package/dist/groups/css-conditional-3.d.mts +17 -0
- package/dist/groups/css-conditional-4.d.mts +17 -0
- package/dist/groups/css-conditional-5.d.mts +22 -0
- package/dist/groups/css-contain-2.d.mts +19 -0
- package/dist/groups/css-content-3.d.mts +23 -0
- package/dist/groups/css-counter-styles-3.d.mts +16 -0
- package/dist/groups/css-display-4.d.mts +22 -0
- package/dist/groups/css-easing-2.d.mts +18 -0
- package/dist/groups/css-env-1.d.mts +16 -0
- package/dist/groups/css-flexbox-1.d.mts +24 -0
- package/dist/groups/css-fonts-4.d.mts +46 -0
- package/dist/groups/css-fonts-5.d.mts +44 -0
- package/dist/groups/css-forms-1.d.mts +19 -0
- package/dist/groups/css-gaps-1.d.mts +21 -0
- package/dist/groups/css-gcpm-3.d.mts +20 -0
- package/dist/groups/css-gcpm-4.d.mts +20 -0
- package/dist/groups/css-grid-2.d.mts +34 -0
- package/dist/groups/css-grid-3.d.mts +34 -0
- package/dist/groups/css-images-3.d.mts +25 -0
- package/dist/groups/css-images-4.d.mts +32 -0
- package/dist/groups/css-images-5.d.mts +33 -0
- package/dist/groups/css-inline-3.d.mts +28 -0
- package/dist/groups/css-lists-3.d.mts +26 -0
- package/dist/groups/css-logical-1.d.mts +35 -0
- package/dist/groups/css-masking-1.d.mts +37 -0
- package/dist/groups/css-multicol-2.d.mts +24 -0
- package/dist/groups/css-overflow-3.d.mts +28 -0
- package/dist/groups/css-overflow-4.d.mts +29 -0
- package/dist/groups/css-overflow-5.d.mts +31 -0
- package/dist/groups/css-overscroll-1.d.mts +22 -0
- package/dist/groups/css-page-3.d.mts +18 -0
- package/dist/groups/css-page-floats-3.d.mts +19 -0
- package/dist/groups/css-position-3.d.mts +29 -0
- package/dist/groups/css-position-4.d.mts +30 -0
- package/dist/groups/css-rhythm-1.d.mts +18 -0
- package/dist/groups/css-round-display-1.d.mts +16 -0
- package/dist/groups/css-ruby-1.d.mts +21 -0
- package/dist/groups/css-scroll-anchoring-1.d.mts +18 -0
- package/dist/groups/css-scroll-snap-1.d.mts +42 -0
- package/dist/groups/css-scroll-snap-2.d.mts +43 -0
- package/dist/groups/css-scrollbars-1.d.mts +19 -0
- package/dist/groups/css-shapes-1.d.mts +27 -0
- package/dist/groups/css-shapes-2.d.mts +27 -0
- package/dist/groups/css-size-adjust-1.d.mts +18 -0
- package/dist/groups/css-sizing-3.d.mts +34 -0
- package/dist/groups/css-sizing-4.d.mts +33 -0
- package/dist/groups/css-speech-1.d.mts +18 -0
- package/dist/groups/css-tables-3.d.mts +22 -0
- package/dist/groups/css-text-3.d.mts +36 -0
- package/dist/groups/css-text-4.d.mts +40 -0
- package/dist/groups/css-text-decor-3.d.mts +30 -0
- package/dist/groups/css-text-decor-4.d.mts +31 -0
- package/dist/groups/css-transforms-1.d.mts +31 -0
- package/dist/groups/css-transforms-2.d.mts +48 -0
- package/dist/groups/css-transitions-1.d.mts +22 -0
- package/dist/groups/css-transitions-2.d.mts +23 -0
- package/dist/groups/css-ui-4.d.mts +35 -0
- package/dist/groups/css-values-4.d.mts +38 -0
- package/dist/groups/css-values-5.d.mts +43 -0
- package/dist/groups/css-variables-2.d.mts +6 -0
- package/dist/groups/css-view-transitions-2.d.mts +20 -0
- package/dist/groups/css-viewport.d.mts +18 -0
- package/dist/groups/css-will-change-1.d.mts +18 -0
- package/dist/groups/css-writing-modes-4.d.mts +22 -0
- package/dist/groups/css2.d.mts +19 -0
- package/dist/groups/fill-stroke-3.d.mts +27 -0
- package/dist/groups/filter-effects-1.d.mts +32 -0
- package/dist/groups/filter-effects-2.d.mts +33 -0
- package/dist/groups/limited-availability.d.mts +2 -0
- package/dist/groups/mediaqueries-4.d.mts +16 -0
- package/dist/groups/mediaqueries-5.d.mts +16 -0
- package/dist/groups/motion-1.d.mts +24 -0
- package/dist/groups/newly-available.d.mts +631 -0
- package/dist/groups/not-discouraged.d.mts +727 -0
- package/dist/groups/scroll-animations-1.d.mts +30 -0
- package/dist/groups/selectors-4.d.mts +54 -0
- package/dist/groups/selectors-5.d.mts +54 -0
- package/dist/groups/widely-available.d.mts +616 -0
- package/dist/index.d.mts +19 -5
- package/dist/index.mjs +150 -13
- package/dist/instrument-gCazujmb.mjs +1624 -0
- package/dist/{lowered-CeoXbm0P.mjs → lowered-D2KusPLp.mjs} +1 -1
- package/dist/{node-CdhAGmF3.d.mts → node-OJ_w_Usj.d.mts} +4 -0
- package/dist/plugin-types.d.mts +1 -1
- package/dist/plugin.d.mts +1 -1
- package/dist/{registry-n9JCX4pl.mjs → registry-CTumHB8p.mjs} +2 -1
- package/dist/runtime-Dt4Tm0Q7.d.mts +19 -0
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.mjs +6 -2
- package/dist/{scope-oWEaWE9n.d.mts → scope-ZVhUxQH1.d.mts} +10 -4
- package/dist/{sheet-CO7a-mdA.mjs → sheet-BKsMTa0c.mjs} +2 -1
- package/dist/surface.d.mts +1 -1
- package/dist/{theme-BGEbFAYh.mjs → theme-BsP2E4LB.mjs} +31 -8
- package/dist/{theme-types-DHdtTZhz.d.mts → theme-types-Bqv0Ggz_.d.mts} +11 -6
- package/dist/tui-types.d.mts +1 -1
- package/dist/tui.d.mts +1 -8
- package/dist/tui.mjs +35 -7
- package/dist/types.d.mts +1 -1
- package/dist/vite.d.mts +17 -1
- package/dist/vite.mjs +9 -12
- package/docs/API.md +75 -30
- package/package.json +6 -2
- package/skills/cssints/SKILL.md +12 -9
- package/skills/cssints/references/errors.md +8 -7
- package/skills/cssints-plugin/SKILL.md +1 -1
- package/dist/instrument-Bdtk2INz.mjs +0 -172
- package/dist/lib-2OEIfPAE.d.mts +0 -9
- package/dist/runtime-CTvuM-Hm.d.mts +0 -5
package/README.md
CHANGED
|
@@ -2,17 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
<img src="https://cssints.dev/logo.svg" alt="" width="96" height="96">
|
|
4
4
|
|
|
5
|
-
cssints is compile-time CSS-in-TypeScript. You write calls such as `css.flex().alignItems("center")`. A Vite plugin runs them at build time and replaces each one with atomic, content-hashed class names in `@layer`s. Nothing of the styling code ships to the browser except
|
|
5
|
+
cssints is compile-time CSS-in-TypeScript. You write calls such as `css.flex().alignItems("center")`. A Vite plugin runs them at build time and replaces each one with atomic, content-hashed class names in `@layer`s. Nothing of the styling code ships to the browser except a few lines that join class names: for a `cn()` with runtime arguments and for `cv`.
|
|
6
6
|
|
|
7
7
|
- Values are checked against the spec grammars (mdn-data) in the types and again at build time. A typo is an error in the editor and in the build.
|
|
8
8
|
- Conditions (`media`, `container`, `supports`, `hover`), variants (`cv`), design tokens and themes (`createTokens`, `createGlobalTheme`, `check.contrast`) are all build-time, and all typed.
|
|
9
9
|
- LightningCSS optimizes the output. Browser support (`@mdn/browser-compat-data` against your browserslist) is reported as warnings, except for what LightningCSS lowers for those targets.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
> **Alpha.** cssints is on npm at 0.x. The API can still change between minor versions, the plugin packages
|
|
12
|
+
> may move, and some browsers and frameworks are checked less than others (docs/API.md, "Browser support and what 0.1
|
|
13
|
+
> does not have"). Pin the version, and report what breaks.
|
|
14
|
+
|
|
15
|
+
Decisions and findings are in [docs/wayfinder.md](docs/wayfinder.md); the API reference is [docs/API.md](docs/API.md). Both are also a site with search and type hovers: [apps/docs](apps/docs) (`cd apps/docs && bun run dev`); deployed to Cloudflare with Alchemy: <https://cssints.dev>.
|
|
12
16
|
|
|
13
17
|
## Install
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
```bash
|
|
20
|
+
npm install --save-dev cssints vite@8 # or: bun add -d cssints vite@8, pnpm add -D cssints vite@8
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
cssints needs Vite 8 (Vite+ works too) and Node 22.18 or later (the plugin runs your modules with type stripping). It is a
|
|
24
|
+
dev dependency: nothing of it ships except the few lines behind `cn` with runtime arguments and `cv`. The plugin packages are installed the same
|
|
25
|
+
way, each beside `cssints` (`npm install --save-dev @cssints/fluid`); the list is on the
|
|
26
|
+
[plugin packages](docs/API.md#plugin-packages-cssints-dk1q) page. In this repository `cssints` is a workspace package
|
|
27
|
+
(`"cssints": "workspace:*"`).
|
|
16
28
|
|
|
17
29
|
```ts
|
|
18
30
|
// vite.config.ts
|
|
@@ -48,10 +60,9 @@ export default {
|
|
|
48
60
|
};
|
|
49
61
|
```
|
|
50
62
|
|
|
51
|
-
`tsconfig.json` is Solid's: `"jsx": "preserve"`, `"jsxImportSource": "@solidjs/web"`, `"types": ["vite/client"]`. Solid's `class` takes a string, an object or an array, so `
|
|
63
|
+
`tsconfig.json` is Solid's: `"jsx": "preserve"`, `"jsxImportSource": "@solidjs/web"`, `"types": ["vite/client"]`. Solid's `class` takes a string, an object or an array, so `cn` is not needed for the join: `class={[card, on() && p(4)]}` and `class={badge({ tone: tone() })}` work as in React. A site's arguments are still build-time values, so a signal goes in the condition or in a `cv` variant, not in `p(n())`. Under `vite dev` an edit of a component replaces it and resets its state below it (Solid's refresh); an edit of a style changes the class strings and the sheet with no reload.
|
|
52
64
|
|
|
53
65
|
```tsx
|
|
54
|
-
import { cx } from "cssints";
|
|
55
66
|
import { bg, color, cn, cv, flex, hover, media, p, style, token } from "cssints" with { type: "cssints" };
|
|
56
67
|
|
|
57
68
|
const md = media("(width >= 40rem)");
|
|
@@ -63,13 +74,13 @@ const button = cv({
|
|
|
63
74
|
});
|
|
64
75
|
|
|
65
76
|
export const Row = ({ wide, on }: { wide?: boolean; on?: boolean }) => (
|
|
66
|
-
<div className={
|
|
77
|
+
<div className={cn(flex().alignItems("center").gap(2), on && p(1))} style={style(token.set(accent, "#dc2626"))}>
|
|
67
78
|
<button className={button({ wide })}>Save</button>
|
|
68
79
|
</div>
|
|
69
80
|
);
|
|
70
81
|
```
|
|
71
82
|
|
|
72
|
-
`with { type: "cssints" }` marks what runs at build time. The plugin replaces each call with a class string, so the browser gets `
|
|
83
|
+
`with { type: "cssints" }` marks what runs at build time. The plugin replaces each call with a class string, so the browser gets `__cx([], "_1s47490 _1ob5z5m _g2iyum", on && "_lqk467")` and `button` is a call of the runtime with `{ base: "_1t8gqy5 ...", ... }`, so it never sees `flex()`. `virtual:cssints.css` is one sheet with every rule once, sorted by layer, then condition, then shorthand before longhand, then class name:
|
|
73
84
|
|
|
74
85
|
```css
|
|
75
86
|
@layer _.k, _.a, _.b, _.c, _.d, _.e;
|
|
@@ -95,7 +106,7 @@ export const Row = ({ wide, on }: { wide?: boolean; on?: boolean }) => (
|
|
|
95
106
|
|
|
96
107
|
`import * as css from "cssints/tui" with { type: "cssints" }` gives the members a terminal has (cells, colours, borders, flex, states, `cursor`), and the plugin compiles them to prop objects for [OpenTUI](https://opentui.com) renderables instead of classes; `@cssints/tui` applies their states and themes: [packages/tui](packages/tui/README.md), docs/API.md "TUI".
|
|
97
108
|
|
|
98
|
-
More in [docs/API.md](docs/API.md): property names and short names, `flex()` and `grid()` chains, conditions and layers, tokens and themes, `
|
|
109
|
+
More in [docs/API.md](docs/API.md): property names and short names, `flex()` and `grid()` chains, conditions and layers, tokens and themes, `cn` and `cv`, and the errors you can get.
|
|
99
110
|
|
|
100
111
|
## Debugging
|
|
101
112
|
|
|
@@ -104,7 +115,7 @@ More in [docs/API.md](docs/API.md): property names and short names, `flex()` and
|
|
|
104
115
|
## For agents
|
|
105
116
|
|
|
106
117
|
`cssints` ships two [agent skills](https://agentskills.io) in its package, `skills/cssints` (writing styles: setup,
|
|
107
|
-
`cn`/`
|
|
118
|
+
`cn`/`cv`, conditions, tokens and themes, the plugin packages, build errors) and `skills/cssints-plugin` (writing
|
|
108
119
|
a plugin on `scope()`, with its tests). Install them into your agent's skills folder:
|
|
109
120
|
|
|
110
121
|
```bash
|
|
@@ -112,8 +123,7 @@ npx skills-npm # links the skills of every instal
|
|
|
112
123
|
npx skills add ./node_modules/cssints/skills # or the skills CLI, for opencode, Claude Code, Codex, Cursor, ...
|
|
113
124
|
```
|
|
114
125
|
|
|
115
|
-
|
|
116
|
-
repository get `.agents/skills/cssints-contributor` (also `.claude/skills`) with no install.
|
|
126
|
+
Agents working on this repository get `.agents/skills/cssints-contributor` (also `.claude/skills`) with no install.
|
|
117
127
|
|
|
118
128
|
`@cssints/mcp` is an MCP server with the build's own checks (`check_declaration`, `check_support`, `check_contrast`,
|
|
119
129
|
`compile`, `search_docs`, `list_plugins`), in [packages/mcp](packages/mcp) with the config for opencode, Claude Code
|
package/dist/check.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as ContrastError } from "./registry-
|
|
2
|
-
import { t as fallbackOf } from "./lowered-
|
|
1
|
+
import { s as ContrastError } from "./registry-CTumHB8p.mjs";
|
|
2
|
+
import { t as fallbackOf } from "./lowered-D2KusPLp.mjs";
|
|
3
3
|
import { i as shown, r as ratio, t as luminance } from "./color-BYIxVLlS.mjs";
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
//#region src/check.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as registry, d as MacroError, o as warn } from "./registry-
|
|
2
|
-
import { l as layerStatements } from "./sheet-
|
|
1
|
+
import { a as registry, d as MacroError, o as warn } from "./registry-CTumHB8p.mjs";
|
|
2
|
+
import { l as layerStatements } from "./sheet-BKsMTa0c.mjs";
|
|
3
3
|
import { Effect } from "effect";
|
|
4
4
|
//#region src/contrast.ts
|
|
5
5
|
const VAR = /var\((--[^\s,)]+)\)/g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./theme-types-Bqv0Ggz_.mjs";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { $p as Fn, Qp as CheckMath, Xp as Arg, Zp as CheckFn, am as Fallback, cm as Text, em as Result, om as Part, rm as Check, sm as Style, tm as Text$1 } from "./theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
3
|
+
import { CSSStyleValue } from "@cssints/css-grammar/values";
|
|
4
|
+
import { QueryKind, ValidQuery } from "@cssints/css-grammar/query";
|
|
5
|
+
//#region src/group-types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* What a group bans. `kw`: by property, its keywords, and `name(` for a function only that property has; `fn`: functions
|
|
8
|
+
* (anywhere); `unit`; `media`, `container`, `supports`: the words of a query (`scroll-state(`).
|
|
9
|
+
*/
|
|
10
|
+
interface Ban {
|
|
11
|
+
id: string;
|
|
12
|
+
kw: Record<string, string>;
|
|
13
|
+
fn: string;
|
|
14
|
+
unit: string;
|
|
15
|
+
media: string;
|
|
16
|
+
container: string;
|
|
17
|
+
supports: string;
|
|
18
|
+
}
|
|
19
|
+
type Sep = " " | "," | ")" | "/" | ":" | ";" | '"' | "'" | "<" | ">" | "=" | "+" | "*" | "[" | "]" | "{" | "}" | "!" | "#" | "%" | "." | "⟨" | "⟩" | "&" | "|" | "\n" | "\t";
|
|
20
|
+
type Words<S extends string, W extends string = "", Acc extends string = never> = S extends `${infer C}${infer R}` ? C extends "(" ? Words<R, "", Acc | (W extends "" ? never : `${W}(`)> : C extends Sep ? Words<R, "", Acc | W> : Words<R, `${W}${C}`, Acc> : Acc | W;
|
|
21
|
+
type Banned<B extends Ban, K extends string> = K | `${B["fn"]}(` | `${number}${B["unit"]}`;
|
|
22
|
+
type Digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
23
|
+
type Seen<B extends Ban, K extends string> = K | `${B["fn"]}(` | `${Digit}${B["unit"]}`;
|
|
24
|
+
type Hit<B extends Ban, K extends string, S extends string> = S extends `${string}${Seen<B, K>}${string}` ? Extract<Words<S>, Banned<B, K>> : never;
|
|
25
|
+
type Said<T extends string> = T extends `${infer N}(` ? `${N}()` : T;
|
|
26
|
+
type Msg<B extends Ban, L extends string, T extends string> = `${L}: "${Said<T>}" is not in cssints/${B["id"]}`;
|
|
27
|
+
type KwOf<B extends Ban, P extends string> = P extends keyof B["kw"] ? B["kw"][P] : never;
|
|
28
|
+
type Same<A, C> = [A] extends [C] ? ([C] extends [A] ? true : false) : false;
|
|
29
|
+
type PartText<P> = P extends Fallback<infer V> ? Text<V[number]> : Text<P>;
|
|
30
|
+
type Scan<B extends Ban, K extends string, L extends string, A extends readonly Part[]> = { [I in keyof A]: Hit<B, K, PartText<A[I]>> extends (infer T extends string) ? [T] extends [never] ? A[I] : Msg<B, L, T> : never; };
|
|
31
|
+
type Narrow<B extends Ban, P extends string, A extends readonly Part[], C> = Same<A, C> extends true ? Scan<B, KwOf<B, P>, P, A> : C;
|
|
32
|
+
/** A property of a group: `Prop` of types.ts, with the group's banned words refused. */
|
|
33
|
+
type GProp<B extends Ban, P extends keyof typeof properties, R = Style> = <const A extends readonly Part[]>(...parts: Narrow<B, P, A, Check<P, A>>) => R;
|
|
34
|
+
/** `flex` and `grid` of a group: `M` holds the chain methods whose property the group has. */
|
|
35
|
+
interface GLayout<B extends Ban, P extends "flex" | "grid", M extends Record<string, keyof typeof properties>> {
|
|
36
|
+
(): GChain<B, M>;
|
|
37
|
+
<const A extends readonly Part[]>(...parts: Narrow<B, P, A, Check<P, A>>): Style;
|
|
38
|
+
}
|
|
39
|
+
type GChain<B extends Ban, M extends Record<string, keyof typeof properties>> = Style & { readonly [K in keyof M]: GProp<B, M[K], GChain<B, M>>; };
|
|
40
|
+
type ScanArgs<B extends Ban, L extends string, A extends readonly Arg[]> = { [I in keyof A]: Hit<B, never, Text$1<A[I]>> extends (infer T extends string) ? [T] extends [never] ? A[I] : Msg<B, L, T> : never; };
|
|
41
|
+
type NarrowFn<B extends Ban, L extends string, A extends readonly Arg[], C> = Same<A, C> extends true ? ScanArgs<B, L, A> : C;
|
|
42
|
+
/** A css function of a group (`oklch`, `linearGradient`): `Fn` of function-types.ts, its arguments read for banned words. */
|
|
43
|
+
type GFn<B extends Ban, N extends string, Sep extends string> = <const A extends readonly Arg[]>(...parts: NarrowFn<B, `${N}()`, A, CheckFn<N, Sep, A>>) => ReturnType<Fn<N, Sep>>;
|
|
44
|
+
/** A math function of a group (`calc`, `min`). */
|
|
45
|
+
type GMath<B extends Ban, C extends "same" | "number" | "angle"> = <const A extends readonly Arg[]>(...parts: NarrowFn<B, "calc()", A, CheckMath<A>>) => CSSStyleValue<Result<C, A>>;
|
|
46
|
+
type Query<B extends Ban, K extends QueryKind> = K extends "media" ? B["media"] : K extends "container" ? B["container"] : B["supports"];
|
|
47
|
+
type GQ<B extends Ban, K extends QueryKind, Q extends string> = ValidQuery<K, Q> extends (infer V) ? [V] extends [Q] ? Hit<B, Query<B, K>, Q> extends (infer T extends string) ? [T] extends [never] ? Q : Msg<B, `@${K}`, T> : never : V : never;
|
|
48
|
+
/** `media`, `container` and `supports` of a group: `Condition` of css-grammar's query.ts, the media features it bans refused. */
|
|
49
|
+
interface GCondition<B extends Ban, K extends QueryKind, R> {
|
|
50
|
+
<const O extends Record<string, string>>(queries: { [P in keyof O]: GQ<B, K, O[P]>; }): { [P in keyof O]: R; };
|
|
51
|
+
<const Q extends readonly [string, string, ...string[]]>(...queries: { [I in keyof Q]: GQ<B, K, Q[I]>; }): { [I in keyof Q]: R; };
|
|
52
|
+
<const Q extends string>(query: GQ<B, K, Q>): R;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { GProp as a, GMath as i, GFn as n, GLayout as r, GCondition as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/compositing-2.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "compositing-2";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const backgroundBlendMode: P<"background-blend-mode">;
|
|
17
|
+
export declare const isolation: P<"isolation">;
|
|
18
|
+
export declare const mixBlendMode: P<"mix-blend-mode">;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-align-3.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-align-3";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const alignContent: P<"align-content">;
|
|
17
|
+
export declare const alignItems: P<"align-items">;
|
|
18
|
+
export declare const alignSelf: P<"align-self">;
|
|
19
|
+
export declare const columnGap: P<"column-gap">;
|
|
20
|
+
export declare const gap: P<"gap">;
|
|
21
|
+
export declare const justifyContent: P<"justify-content">;
|
|
22
|
+
export declare const justifyItems: P<"justify-items">;
|
|
23
|
+
export declare const justifySelf: P<"justify-self">;
|
|
24
|
+
export declare const placeContent: P<"place-content">;
|
|
25
|
+
export declare const placeItems: P<"place-items">;
|
|
26
|
+
export declare const placeSelf: P<"place-self">;
|
|
27
|
+
export declare const rowGap: P<"row-gap">;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp, n as GFn } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-anchor-position-1.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-anchor-position-1";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const alignItems: P<"align-items">;
|
|
17
|
+
export declare const alignSelf: P<"align-self">;
|
|
18
|
+
export declare const anchorName: P<"anchor-name">;
|
|
19
|
+
export declare const anchorScope: P<"anchor-scope">;
|
|
20
|
+
export declare const bottom: P<"bottom">;
|
|
21
|
+
export declare const height: P<"height">;
|
|
22
|
+
export declare const justifyItems: P<"justify-items">;
|
|
23
|
+
export declare const justifySelf: P<"justify-self">;
|
|
24
|
+
export declare const left: P<"left">;
|
|
25
|
+
export declare const marginBottom: P<"margin-bottom">;
|
|
26
|
+
export declare const marginLeft: P<"margin-left">;
|
|
27
|
+
export declare const marginRight: P<"margin-right">;
|
|
28
|
+
export declare const marginTop: P<"margin-top">;
|
|
29
|
+
export declare const maxHeight: P<"max-height">;
|
|
30
|
+
export declare const maxWidth: P<"max-width">;
|
|
31
|
+
export declare const mb: P<"margin-bottom">;
|
|
32
|
+
export declare const minHeight: P<"min-height">;
|
|
33
|
+
export declare const minWidth: P<"min-width">;
|
|
34
|
+
export declare const ml: P<"margin-left">;
|
|
35
|
+
export declare const mr: P<"margin-right">;
|
|
36
|
+
export declare const mt: P<"margin-top">;
|
|
37
|
+
export declare const positionAnchor: P<"position-anchor">;
|
|
38
|
+
export declare const positionArea: P<"position-area">;
|
|
39
|
+
export declare const positionTryFallbacks: P<"position-try-fallbacks">;
|
|
40
|
+
export declare const positionTryOrder: P<"position-try-order">;
|
|
41
|
+
export declare const positionVisibility: P<"position-visibility">;
|
|
42
|
+
export declare const right: P<"right">;
|
|
43
|
+
export declare const top: P<"top">;
|
|
44
|
+
export declare const width: P<"width">;
|
|
45
|
+
export declare const anchor: GFn<B, "anchor", ", ">;
|
|
46
|
+
export declare const anchorSize: GFn<B, "anchor-size", ", ">;
|
|
47
|
+
export declare const positionTry: ((style: Style) => PositionTry) & P<"position-try">;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp, n as GFn, t as GCondition } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-anchor-position-2.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-anchor-position-2";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const alignItems: P<"align-items">;
|
|
17
|
+
export declare const alignSelf: P<"align-self">;
|
|
18
|
+
export declare const anchorName: P<"anchor-name">;
|
|
19
|
+
export declare const anchorScope: P<"anchor-scope">;
|
|
20
|
+
export declare const bottom: P<"bottom">;
|
|
21
|
+
export declare const height: P<"height">;
|
|
22
|
+
export declare const justifyItems: P<"justify-items">;
|
|
23
|
+
export declare const justifySelf: P<"justify-self">;
|
|
24
|
+
export declare const left: P<"left">;
|
|
25
|
+
export declare const marginBottom: P<"margin-bottom">;
|
|
26
|
+
export declare const marginLeft: P<"margin-left">;
|
|
27
|
+
export declare const marginRight: P<"margin-right">;
|
|
28
|
+
export declare const marginTop: P<"margin-top">;
|
|
29
|
+
export declare const maxHeight: P<"max-height">;
|
|
30
|
+
export declare const maxWidth: P<"max-width">;
|
|
31
|
+
export declare const mb: P<"margin-bottom">;
|
|
32
|
+
export declare const minHeight: P<"min-height">;
|
|
33
|
+
export declare const minWidth: P<"min-width">;
|
|
34
|
+
export declare const ml: P<"margin-left">;
|
|
35
|
+
export declare const mr: P<"margin-right">;
|
|
36
|
+
export declare const mt: P<"margin-top">;
|
|
37
|
+
export declare const positionAnchor: P<"position-anchor">;
|
|
38
|
+
export declare const positionArea: P<"position-area">;
|
|
39
|
+
export declare const positionTryFallbacks: P<"position-try-fallbacks">;
|
|
40
|
+
export declare const positionTryOrder: P<"position-try-order">;
|
|
41
|
+
export declare const positionVisibility: P<"position-visibility">;
|
|
42
|
+
export declare const right: P<"right">;
|
|
43
|
+
export declare const top: P<"top">;
|
|
44
|
+
export declare const width: P<"width">;
|
|
45
|
+
export declare const anchor: GFn<B, "anchor", ", ">;
|
|
46
|
+
export declare const anchorSize: GFn<B, "anchor-size", ", ">;
|
|
47
|
+
export declare const container: GCondition<B, "container", QueryWrap>;
|
|
48
|
+
export declare const positionTry: ((style: Style) => PositionTry) & P<"position-try">;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps, z as keyframes } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-animations-1.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-animations-1";
|
|
8
|
+
kw: {
|
|
9
|
+
"animation-duration": "auto";
|
|
10
|
+
};
|
|
11
|
+
fn: never;
|
|
12
|
+
unit: never;
|
|
13
|
+
media: never;
|
|
14
|
+
container: never;
|
|
15
|
+
supports: never;
|
|
16
|
+
};
|
|
17
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
18
|
+
export declare const animation: P<"animation">;
|
|
19
|
+
export declare const animationDelay: P<"animation-delay">;
|
|
20
|
+
export declare const animationDirection: P<"animation-direction">;
|
|
21
|
+
export declare const animationDuration: P<"animation-duration">;
|
|
22
|
+
export declare const animationFillMode: P<"animation-fill-mode">;
|
|
23
|
+
export declare const animationIterationCount: P<"animation-iteration-count">;
|
|
24
|
+
export declare const animationName: P<"animation-name">;
|
|
25
|
+
export declare const animationPlayState: P<"animation-play-state">;
|
|
26
|
+
export declare const animationTimingFunction: P<"animation-timing-function">;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, within };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps, z as keyframes } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-animations-2.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-animations-2";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const animation: P<"animation">;
|
|
17
|
+
export declare const animationComposition: P<"animation-composition">;
|
|
18
|
+
export declare const animationDelay: P<"animation-delay">;
|
|
19
|
+
export declare const animationDirection: P<"animation-direction">;
|
|
20
|
+
export declare const animationDuration: P<"animation-duration">;
|
|
21
|
+
export declare const animationFillMode: P<"animation-fill-mode">;
|
|
22
|
+
export declare const animationIterationCount: P<"animation-iteration-count">;
|
|
23
|
+
export declare const animationName: P<"animation-name">;
|
|
24
|
+
export declare const animationPlayState: P<"animation-play-state">;
|
|
25
|
+
export declare const animationTimeline: P<"animation-timeline">;
|
|
26
|
+
export declare const animationTimingFunction: P<"animation-timing-function">;
|
|
27
|
+
export declare const animationTrigger: P<"animation-trigger">;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, within };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-backgrounds-3.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-backgrounds-3";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const background: P<"background">;
|
|
17
|
+
export declare const backgroundAttachment: P<"background-attachment">;
|
|
18
|
+
export declare const backgroundClip: P<"background-clip">;
|
|
19
|
+
export declare const backgroundColor: P<"background-color">;
|
|
20
|
+
export declare const backgroundImage: P<"background-image">;
|
|
21
|
+
export declare const backgroundOrigin: P<"background-origin">;
|
|
22
|
+
export declare const backgroundPosition: P<"background-position">;
|
|
23
|
+
export declare const backgroundRepeat: P<"background-repeat">;
|
|
24
|
+
export declare const backgroundSize: P<"background-size">;
|
|
25
|
+
export declare const bg: P<"background-color">;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-backgrounds-4.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-backgrounds-4";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const background: P<"background">;
|
|
17
|
+
export declare const backgroundAttachment: P<"background-attachment">;
|
|
18
|
+
export declare const backgroundClip: P<"background-clip">;
|
|
19
|
+
export declare const backgroundColor: P<"background-color">;
|
|
20
|
+
export declare const backgroundImage: P<"background-image">;
|
|
21
|
+
export declare const backgroundOrigin: P<"background-origin">;
|
|
22
|
+
export declare const backgroundPosition: P<"background-position">;
|
|
23
|
+
export declare const backgroundPositionX: P<"background-position-x">;
|
|
24
|
+
export declare const backgroundPositionY: P<"background-position-y">;
|
|
25
|
+
export declare const backgroundRepeat: P<"background-repeat">;
|
|
26
|
+
export declare const backgroundSize: P<"background-size">;
|
|
27
|
+
export declare const bg: P<"background-color">;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp, n as GFn } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-borders-4.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-borders-4";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const border: P<"border">;
|
|
17
|
+
export declare const borderBlock: P<"border-block">;
|
|
18
|
+
export declare const borderBlockColor: P<"border-block-color">;
|
|
19
|
+
export declare const borderBlockEnd: P<"border-block-end">;
|
|
20
|
+
export declare const borderBlockEndColor: P<"border-block-end-color">;
|
|
21
|
+
export declare const borderBlockEndStyle: P<"border-block-end-style">;
|
|
22
|
+
export declare const borderBlockEndWidth: P<"border-block-end-width">;
|
|
23
|
+
export declare const borderBlockStart: P<"border-block-start">;
|
|
24
|
+
export declare const borderBlockStartColor: P<"border-block-start-color">;
|
|
25
|
+
export declare const borderBlockStartStyle: P<"border-block-start-style">;
|
|
26
|
+
export declare const borderBlockStartWidth: P<"border-block-start-width">;
|
|
27
|
+
export declare const borderBlockStyle: P<"border-block-style">;
|
|
28
|
+
export declare const borderBlockWidth: P<"border-block-width">;
|
|
29
|
+
export declare const borderBottom: P<"border-bottom">;
|
|
30
|
+
export declare const borderBottomColor: P<"border-bottom-color">;
|
|
31
|
+
export declare const borderBottomLeftRadius: P<"border-bottom-left-radius">;
|
|
32
|
+
export declare const borderBottomRightRadius: P<"border-bottom-right-radius">;
|
|
33
|
+
export declare const borderBottomStyle: P<"border-bottom-style">;
|
|
34
|
+
export declare const borderBottomWidth: P<"border-bottom-width">;
|
|
35
|
+
export declare const borderColor: P<"border-color">;
|
|
36
|
+
export declare const borderEndEndRadius: P<"border-end-end-radius">;
|
|
37
|
+
export declare const borderEndStartRadius: P<"border-end-start-radius">;
|
|
38
|
+
export declare const borderImage: P<"border-image">;
|
|
39
|
+
export declare const borderImageOutset: P<"border-image-outset">;
|
|
40
|
+
export declare const borderImageRepeat: P<"border-image-repeat">;
|
|
41
|
+
export declare const borderImageSlice: P<"border-image-slice">;
|
|
42
|
+
export declare const borderImageSource: P<"border-image-source">;
|
|
43
|
+
export declare const borderImageWidth: P<"border-image-width">;
|
|
44
|
+
export declare const borderInline: P<"border-inline">;
|
|
45
|
+
export declare const borderInlineColor: P<"border-inline-color">;
|
|
46
|
+
export declare const borderInlineEnd: P<"border-inline-end">;
|
|
47
|
+
export declare const borderInlineEndColor: P<"border-inline-end-color">;
|
|
48
|
+
export declare const borderInlineEndStyle: P<"border-inline-end-style">;
|
|
49
|
+
export declare const borderInlineEndWidth: P<"border-inline-end-width">;
|
|
50
|
+
export declare const borderInlineStart: P<"border-inline-start">;
|
|
51
|
+
export declare const borderInlineStartColor: P<"border-inline-start-color">;
|
|
52
|
+
export declare const borderInlineStartStyle: P<"border-inline-start-style">;
|
|
53
|
+
export declare const borderInlineStartWidth: P<"border-inline-start-width">;
|
|
54
|
+
export declare const borderInlineStyle: P<"border-inline-style">;
|
|
55
|
+
export declare const borderInlineWidth: P<"border-inline-width">;
|
|
56
|
+
export declare const borderLeft: P<"border-left">;
|
|
57
|
+
export declare const borderLeftColor: P<"border-left-color">;
|
|
58
|
+
export declare const borderLeftStyle: P<"border-left-style">;
|
|
59
|
+
export declare const borderLeftWidth: P<"border-left-width">;
|
|
60
|
+
export declare const borderRadius: P<"border-radius">;
|
|
61
|
+
export declare const borderRight: P<"border-right">;
|
|
62
|
+
export declare const borderRightColor: P<"border-right-color">;
|
|
63
|
+
export declare const borderRightStyle: P<"border-right-style">;
|
|
64
|
+
export declare const borderRightWidth: P<"border-right-width">;
|
|
65
|
+
export declare const borderStartEndRadius: P<"border-start-end-radius">;
|
|
66
|
+
export declare const borderStartStartRadius: P<"border-start-start-radius">;
|
|
67
|
+
export declare const borderStyle: P<"border-style">;
|
|
68
|
+
export declare const borderTop: P<"border-top">;
|
|
69
|
+
export declare const borderTopColor: P<"border-top-color">;
|
|
70
|
+
export declare const borderTopLeftRadius: P<"border-top-left-radius">;
|
|
71
|
+
export declare const borderTopRightRadius: P<"border-top-right-radius">;
|
|
72
|
+
export declare const borderTopStyle: P<"border-top-style">;
|
|
73
|
+
export declare const borderTopWidth: P<"border-top-width">;
|
|
74
|
+
export declare const borderWidth: P<"border-width">;
|
|
75
|
+
export declare const boxShadow: P<"box-shadow">;
|
|
76
|
+
export declare const cornerBlockEndShape: P<"corner-block-end-shape">;
|
|
77
|
+
export declare const cornerBlockStartShape: P<"corner-block-start-shape">;
|
|
78
|
+
export declare const cornerBottomLeftShape: P<"corner-bottom-left-shape">;
|
|
79
|
+
export declare const cornerBottomRightShape: P<"corner-bottom-right-shape">;
|
|
80
|
+
export declare const cornerBottomShape: P<"corner-bottom-shape">;
|
|
81
|
+
export declare const cornerEndEndShape: P<"corner-end-end-shape">;
|
|
82
|
+
export declare const cornerEndStartShape: P<"corner-end-start-shape">;
|
|
83
|
+
export declare const cornerInlineEndShape: P<"corner-inline-end-shape">;
|
|
84
|
+
export declare const cornerInlineStartShape: P<"corner-inline-start-shape">;
|
|
85
|
+
export declare const cornerLeftShape: P<"corner-left-shape">;
|
|
86
|
+
export declare const cornerRightShape: P<"corner-right-shape">;
|
|
87
|
+
export declare const cornerShape: P<"corner-shape">;
|
|
88
|
+
export declare const cornerStartEndShape: P<"corner-start-end-shape">;
|
|
89
|
+
export declare const cornerStartStartShape: P<"corner-start-start-shape">;
|
|
90
|
+
export declare const cornerTopLeftShape: P<"corner-top-left-shape">;
|
|
91
|
+
export declare const cornerTopRightShape: P<"corner-top-right-shape">;
|
|
92
|
+
export declare const cornerTopShape: P<"corner-top-shape">;
|
|
93
|
+
export declare const superellipse: GFn<B, "superellipse", " ">;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-box-4.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-box-4";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const m: P<"margin">;
|
|
17
|
+
export declare const margin: P<"margin">;
|
|
18
|
+
export declare const marginBottom: P<"margin-bottom">;
|
|
19
|
+
export declare const marginLeft: P<"margin-left">;
|
|
20
|
+
export declare const marginRight: P<"margin-right">;
|
|
21
|
+
export declare const marginTop: P<"margin-top">;
|
|
22
|
+
export declare const marginTrim: P<"margin-trim">;
|
|
23
|
+
export declare const mb: P<"margin-bottom">;
|
|
24
|
+
export declare const ml: P<"margin-left">;
|
|
25
|
+
export declare const mr: P<"margin-right">;
|
|
26
|
+
export declare const mt: P<"margin-top">;
|
|
27
|
+
export declare const p: P<"padding">;
|
|
28
|
+
export declare const padding: P<"padding">;
|
|
29
|
+
export declare const paddingBottom: P<"padding-bottom">;
|
|
30
|
+
export declare const paddingLeft: P<"padding-left">;
|
|
31
|
+
export declare const paddingRight: P<"padding-right">;
|
|
32
|
+
export declare const paddingTop: P<"padding-top">;
|
|
33
|
+
export declare const pb: P<"padding-bottom">;
|
|
34
|
+
export declare const pl: P<"padding-left">;
|
|
35
|
+
export declare const pr: P<"padding-right">;
|
|
36
|
+
export declare const pt: P<"padding-top">;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/css-break-4.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "css-break-4";
|
|
8
|
+
kw: Record<never, never>;
|
|
9
|
+
fn: never;
|
|
10
|
+
unit: never;
|
|
11
|
+
media: never;
|
|
12
|
+
container: never;
|
|
13
|
+
supports: never;
|
|
14
|
+
};
|
|
15
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
16
|
+
export declare const boxDecorationBreak: P<"box-decoration-break">;
|
|
17
|
+
export declare const breakAfter: P<"break-after">;
|
|
18
|
+
export declare const breakBefore: P<"break-before">;
|
|
19
|
+
export declare const breakInside: P<"break-inside">;
|
|
20
|
+
export declare const orphans: P<"orphans">;
|
|
21
|
+
export declare const widows: P<"widows">;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|