@master/css 2.0.0-beta.18 → 2.0.0-beta.181
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 +113 -109
- package/dist/bin/index.bundle.js +42 -0
- package/dist/bin/index.d.ts +2 -0
- package/dist/config/animations.d.ts +110 -0
- package/dist/config/colors.d.ts +6 -4
- package/dist/config/fonts.d.ts +6 -0
- package/dist/config/functions.d.ts +127 -0
- package/dist/config/index.d.ts +87 -25
- package/dist/config/rules.d.ts +268 -3
- package/dist/config/selectors.d.ts +3 -2
- package/dist/config/semantics.d.ts +189 -80
- package/dist/config/{breakpoints.d.ts → viewports.d.ts} +3 -2
- package/dist/constants/config-esm-text.d.ts +1 -0
- package/dist/constants/config-text.d.ts +1 -0
- package/dist/constants/config-ts-text.d.ts +1 -0
- package/dist/constants/selector-symbols.d.ts +1 -0
- package/dist/constants/start-symbol.d.ts +2 -1
- package/dist/core.d.ts +100 -0
- package/dist/functions/extract-classes-from-html.d.ts +5 -0
- package/dist/functions/generate-from-classes.d.ts +8 -0
- package/dist/functions/generate-from-html.d.ts +8 -0
- package/dist/functions/init-runtime.d.ts +9 -0
- package/dist/functions/render-html.d.ts +8 -0
- package/dist/functions/transform-color-with-opacity.d.ts +1 -0
- package/dist/index.browser.bundle.js +1 -0
- package/dist/index.browser.d.ts +6 -1
- package/dist/index.bundle.js +41 -0
- package/dist/index.bundle.mjs +41 -0
- package/dist/index.d.ts +14 -21
- package/dist/layer.d.ts +13 -0
- package/dist/polyfills/css-escape.d.ts +0 -1
- package/dist/rule.d.ts +40 -47
- package/dist/types/css-declarations.d.ts +4 -0
- package/dist/utils/is-plain-object.d.ts +1 -1
- package/package.json +1 -162
- package/LICENSE +0 -21
- package/dist/apis/extend.d.ts +0 -5
- package/dist/apis/render-from-html.d.ts +0 -3
- package/dist/apis/render-into-html.d.ts +0 -3
- package/dist/apis/render.d.ts +0 -3
- package/dist/config/root-size.d.ts +0 -2
- package/dist/config/scheme.d.ts +0 -7
- package/dist/config/themes.d.ts +0 -2
- package/dist/config/values.d.ts +0 -126
- package/dist/css.d.ts +0 -80
- package/dist/index.browser.js +0 -2
- package/dist/index.browser.js.map +0 -7
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +0 -7
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +0 -7
- package/dist/rules/accent-color.d.ts +0 -7
- package/dist/rules/align-content.d.ts +0 -6
- package/dist/rules/align-items.d.ts +0 -6
- package/dist/rules/align-self.d.ts +0 -6
- package/dist/rules/animation-delay.d.ts +0 -7
- package/dist/rules/animation-direction.d.ts +0 -6
- package/dist/rules/animation-duration.d.ts +0 -7
- package/dist/rules/animation-fill-mode.d.ts +0 -6
- package/dist/rules/animation-iteration-count.d.ts +0 -7
- package/dist/rules/animation-name.d.ts +0 -6
- package/dist/rules/animation-play-state.d.ts +0 -6
- package/dist/rules/animation-timing-function.d.ts +0 -6
- package/dist/rules/animation.d.ts +0 -8
- package/dist/rules/appearance.d.ts +0 -5
- package/dist/rules/aspect-radio.d.ts +0 -7
- package/dist/rules/backdrop-filter.d.ts +0 -11
- package/dist/rules/background-attachment.d.ts +0 -6
- package/dist/rules/background-blend-mode.d.ts +0 -5
- package/dist/rules/background-clip.d.ts +0 -9
- package/dist/rules/background-color.d.ts +0 -8
- package/dist/rules/background-image.d.ts +0 -7
- package/dist/rules/background-origin.d.ts +0 -6
- package/dist/rules/background-position.d.ts +0 -7
- package/dist/rules/background-repeat.d.ts +0 -6
- package/dist/rules/background-size.d.ts +0 -6
- package/dist/rules/background.d.ts +0 -8
- package/dist/rules/border-collapse.d.ts +0 -6
- package/dist/rules/border-color.d.ts +0 -11
- package/dist/rules/border-image-outset.d.ts +0 -5
- package/dist/rules/border-image-repeat.d.ts +0 -6
- package/dist/rules/border-image-slice.d.ts +0 -6
- package/dist/rules/border-image-source.d.ts +0 -6
- package/dist/rules/border-image-width.d.ts +0 -6
- package/dist/rules/border-image.d.ts +0 -6
- package/dist/rules/border-radius.d.ts +0 -9
- package/dist/rules/border-spacing.d.ts +0 -5
- package/dist/rules/border-style.d.ts +0 -9
- package/dist/rules/border-width.d.ts +0 -9
- package/dist/rules/border.d.ts +0 -10
- package/dist/rules/box-decoration-break.d.ts +0 -9
- package/dist/rules/box-shadow.d.ts +0 -7
- package/dist/rules/box-sizing.d.ts +0 -6
- package/dist/rules/break-after.d.ts +0 -5
- package/dist/rules/break-before.d.ts +0 -5
- package/dist/rules/break-inside.d.ts +0 -5
- package/dist/rules/caret-color.d.ts +0 -7
- package/dist/rules/clear.d.ts +0 -5
- package/dist/rules/clip-path.d.ts +0 -6
- package/dist/rules/color.d.ts +0 -8
- package/dist/rules/column-span.d.ts +0 -6
- package/dist/rules/columns.d.ts +0 -8
- package/dist/rules/contain.d.ts +0 -5
- package/dist/rules/content.d.ts +0 -5
- package/dist/rules/counter-increment.d.ts +0 -6
- package/dist/rules/cursor.d.ts +0 -5
- package/dist/rules/cx.d.ts +0 -6
- package/dist/rules/cy.d.ts +0 -6
- package/dist/rules/direction.d.ts +0 -5
- package/dist/rules/display.d.ts +0 -6
- package/dist/rules/fill.d.ts +0 -7
- package/dist/rules/filter.d.ts +0 -8
- package/dist/rules/flex-basis.d.ts +0 -5
- package/dist/rules/flex-direction.d.ts +0 -6
- package/dist/rules/flex-grow.d.ts +0 -6
- package/dist/rules/flex-shrink.d.ts +0 -6
- package/dist/rules/flex-wrap.d.ts +0 -6
- package/dist/rules/flex.d.ts +0 -7
- package/dist/rules/float.d.ts +0 -5
- package/dist/rules/font-family.d.ts +0 -6
- package/dist/rules/font-size.d.ts +0 -6
- package/dist/rules/font-smoothing.d.ts +0 -9
- package/dist/rules/font-style.d.ts +0 -7
- package/dist/rules/font-variant-numeric.d.ts +0 -6
- package/dist/rules/font-weight.d.ts +0 -7
- package/dist/rules/font.d.ts +0 -8
- package/dist/rules/gap.d.ts +0 -9
- package/dist/rules/grid-area.d.ts +0 -7
- package/dist/rules/grid-auto-columns.d.ts +0 -6
- package/dist/rules/grid-auto-flow.d.ts +0 -6
- package/dist/rules/grid-auto-rows.d.ts +0 -5
- package/dist/rules/grid-column-end.d.ts +0 -7
- package/dist/rules/grid-column-start.d.ts +0 -7
- package/dist/rules/grid-column.d.ts +0 -9
- package/dist/rules/grid-columns.d.ts +0 -10
- package/dist/rules/grid-row-end.d.ts +0 -6
- package/dist/rules/grid-row-start.d.ts +0 -6
- package/dist/rules/grid-row.d.ts +0 -9
- package/dist/rules/grid-rows.d.ts +0 -9
- package/dist/rules/grid-template-areas.d.ts +0 -5
- package/dist/rules/grid-template-columns.d.ts +0 -6
- package/dist/rules/grid-template-rows.d.ts +0 -5
- package/dist/rules/grid-template.d.ts +0 -6
- package/dist/rules/grid.d.ts +0 -6
- package/dist/rules/group.d.ts +0 -9
- package/dist/rules/height.d.ts +0 -6
- package/dist/rules/inset.d.ts +0 -9
- package/dist/rules/isolation.d.ts +0 -5
- package/dist/rules/justify-content.d.ts +0 -6
- package/dist/rules/justify-items.d.ts +0 -6
- package/dist/rules/justify-self.d.ts +0 -6
- package/dist/rules/letter-spacing.d.ts +0 -7
- package/dist/rules/line-clamp.d.ts +0 -9
- package/dist/rules/line-height.d.ts +0 -7
- package/dist/rules/lines.d.ts +0 -9
- package/dist/rules/list-style-image.d.ts +0 -6
- package/dist/rules/list-style-position.d.ts +0 -6
- package/dist/rules/list-style-type.d.ts +0 -6
- package/dist/rules/list-style.d.ts +0 -6
- package/dist/rules/margin.d.ts +0 -9
- package/dist/rules/mask-image.d.ts +0 -8
- package/dist/rules/max-height.d.ts +0 -6
- package/dist/rules/max-width.d.ts +0 -6
- package/dist/rules/min-height.d.ts +0 -6
- package/dist/rules/min-width.d.ts +0 -6
- package/dist/rules/mix-blend-mode.d.ts +0 -6
- package/dist/rules/object-fit.d.ts +0 -6
- package/dist/rules/object-position.d.ts +0 -6
- package/dist/rules/opacity.d.ts +0 -6
- package/dist/rules/order.d.ts +0 -7
- package/dist/rules/outline-color.d.ts +0 -7
- package/dist/rules/outline-offset.d.ts +0 -5
- package/dist/rules/outline-style.d.ts +0 -6
- package/dist/rules/outline-width.d.ts +0 -6
- package/dist/rules/outline.d.ts +0 -7
- package/dist/rules/overflow.d.ts +0 -9
- package/dist/rules/overscroll-behavior.d.ts +0 -8
- package/dist/rules/padding.d.ts +0 -9
- package/dist/rules/place-content.d.ts +0 -6
- package/dist/rules/place-items.d.ts +0 -6
- package/dist/rules/place-self.d.ts +0 -6
- package/dist/rules/placement.d.ts +0 -8
- package/dist/rules/pointer-events.d.ts +0 -5
- package/dist/rules/position.d.ts +0 -5
- package/dist/rules/quotes.d.ts +0 -5
- package/dist/rules/resize.d.ts +0 -5
- package/dist/rules/rx.d.ts +0 -6
- package/dist/rules/ry.d.ts +0 -6
- package/dist/rules/scroll-behavior.d.ts +0 -5
- package/dist/rules/scroll-margin.d.ts +0 -9
- package/dist/rules/scroll-padding.d.ts +0 -9
- package/dist/rules/scroll-snap-align.d.ts +0 -6
- package/dist/rules/scroll-snap-stop.d.ts +0 -6
- package/dist/rules/scroll-snap-type.d.ts +0 -6
- package/dist/rules/shape-image-threshold.d.ts +0 -6
- package/dist/rules/shape-margin.d.ts +0 -6
- package/dist/rules/shape-outside.d.ts +0 -6
- package/dist/rules/spacing.d.ts +0 -9
- package/dist/rules/stroke-dasharray.d.ts +0 -5
- package/dist/rules/stroke-dashoffset.d.ts +0 -5
- package/dist/rules/stroke-width.d.ts +0 -6
- package/dist/rules/stroke.d.ts +0 -6
- package/dist/rules/table-layout.d.ts +0 -5
- package/dist/rules/text-align.d.ts +0 -6
- package/dist/rules/text-decoration-color.d.ts +0 -7
- package/dist/rules/text-decoration-line.d.ts +0 -6
- package/dist/rules/text-decoration-style.d.ts +0 -6
- package/dist/rules/text-decoration-thickness.d.ts +0 -7
- package/dist/rules/text-decoration.d.ts +0 -8
- package/dist/rules/text-fill-color.d.ts +0 -10
- package/dist/rules/text-indent.d.ts +0 -5
- package/dist/rules/text-orientation.d.ts +0 -6
- package/dist/rules/text-overflow.d.ts +0 -6
- package/dist/rules/text-rendering.d.ts +0 -6
- package/dist/rules/text-shadow.d.ts +0 -6
- package/dist/rules/text-size.d.ts +0 -8
- package/dist/rules/text-stroke-color.d.ts +0 -10
- package/dist/rules/text-stroke-width.d.ts +0 -8
- package/dist/rules/text-stroke.d.ts +0 -8
- package/dist/rules/text-transform.d.ts +0 -6
- package/dist/rules/text-underline-offset.d.ts +0 -5
- package/dist/rules/touch-action.d.ts +0 -5
- package/dist/rules/transform-box.d.ts +0 -6
- package/dist/rules/transform-origin.d.ts +0 -7
- package/dist/rules/transform-style.d.ts +0 -6
- package/dist/rules/transform.d.ts +0 -9
- package/dist/rules/transition-delay.d.ts +0 -7
- package/dist/rules/transition-duration.d.ts +0 -7
- package/dist/rules/transition-property.d.ts +0 -6
- package/dist/rules/transition-timing-function.d.ts +0 -6
- package/dist/rules/transition.d.ts +0 -7
- package/dist/rules/user-drag.d.ts +0 -8
- package/dist/rules/user-select.d.ts +0 -8
- package/dist/rules/variable.d.ts +0 -9
- package/dist/rules/vertical-align.d.ts +0 -6
- package/dist/rules/visibility.d.ts +0 -5
- package/dist/rules/white-space.d.ts +0 -6
- package/dist/rules/width.d.ts +0 -6
- package/dist/rules/will-change.d.ts +0 -5
- package/dist/rules/word-break.d.ts +0 -6
- package/dist/rules/word-spacing.d.ts +0 -6
- package/dist/rules/writing-mode.d.ts +0 -6
- package/dist/rules/x.d.ts +0 -6
- package/dist/rules/y.d.ts +0 -6
- package/dist/rules/z-index.d.ts +0 -7
- package/dist/utils/get-border-props.d.ts +0 -3
- package/dist/utils/get-css-property-text.d.ts +0 -5
- package/dist/utils/normalize-css-calc-text.d.ts +0 -5
- package/dist/utils/parse-value-unit.d.ts +0 -2
- package/dist/utils/parse-value.d.ts +0 -6
- package/readme.md +0 -118
- /package/dist/{apis → functions}/fill-color-scale.d.ts +0 -0
package/dist/config/index.d.ts
CHANGED
|
@@ -1,27 +1,89 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import viewports from './viewports';
|
|
2
|
+
import colors from './colors';
|
|
3
|
+
import selectors from './selectors';
|
|
4
|
+
import semantics from './semantics';
|
|
5
|
+
import animations from './animations';
|
|
6
|
+
import rules from './rules';
|
|
7
|
+
import functions from './functions';
|
|
8
|
+
import fonts from './fonts';
|
|
9
|
+
import { CSSDeclarations } from '../types/css-declarations';
|
|
10
|
+
import type { Rule } from '../rule';
|
|
11
|
+
import type { MasterCSS } from '../core';
|
|
12
|
+
import { CoreLayer, Layer } from '../layer';
|
|
13
|
+
declare const config: Config;
|
|
14
|
+
export { config, viewports, colors, selectors, semantics, rules, fonts, functions, animations };
|
|
15
|
+
type ExtendedValues = {
|
|
16
|
+
[key: string]: string | number | ExtendedValues;
|
|
17
|
+
};
|
|
18
|
+
export interface RuleConfig {
|
|
19
|
+
id?: string;
|
|
20
|
+
match?: RegExp | [string, string[]?];
|
|
21
|
+
_resolvedMatch?: RegExp;
|
|
22
|
+
order?: number;
|
|
23
|
+
separators?: string[];
|
|
24
|
+
colored?: boolean;
|
|
25
|
+
numeric?: boolean;
|
|
26
|
+
unit?: any;
|
|
27
|
+
native?: boolean;
|
|
28
|
+
_semantic?: boolean;
|
|
29
|
+
_declarations?: CSSDeclarations;
|
|
30
|
+
_propName?: string;
|
|
31
|
+
layer?: Layer | CoreLayer;
|
|
32
|
+
values?: Config['values'];
|
|
33
|
+
analyze?(this: Rule, className: string): [valueToken: string, prefixToken?: string];
|
|
34
|
+
transform?(this: Rule, value: string): string;
|
|
35
|
+
declare?(this: Rule, value: string, unit: string): CSSDeclarations;
|
|
36
|
+
delete?(this: Rule, className: string): void;
|
|
37
|
+
create?(this: Rule, className: string): void;
|
|
38
|
+
insert?(this: Rule): void;
|
|
39
|
+
}
|
|
40
|
+
export interface Config {
|
|
41
|
+
extends?: (Config | {
|
|
42
|
+
config: Config;
|
|
43
|
+
})[];
|
|
44
|
+
classes?: {
|
|
45
|
+
[key: string]: string | Config['classes'];
|
|
46
|
+
};
|
|
47
|
+
colors?: {
|
|
48
|
+
[key: string]: string | Config['colors'];
|
|
49
|
+
};
|
|
50
|
+
viewports?: {
|
|
51
|
+
[key: string]: number | Config['viewports'];
|
|
52
|
+
};
|
|
53
|
+
mediaQueries?: {
|
|
54
|
+
[key: string]: string | Config['mediaQueries'];
|
|
26
55
|
};
|
|
56
|
+
selectors?: {
|
|
57
|
+
[key: string]: string | string[] | Config['selectors'];
|
|
58
|
+
};
|
|
59
|
+
semantics?: {
|
|
60
|
+
[key in keyof typeof semantics]?: CSSDeclarations;
|
|
61
|
+
} & {
|
|
62
|
+
[key: string]: CSSDeclarations;
|
|
63
|
+
};
|
|
64
|
+
values?: ExtendedValues | ((this: MasterCSS, resolvedValues: Record<string, Record<string, string | number>>) => ExtendedValues);
|
|
65
|
+
fonts?: {
|
|
66
|
+
[key: string]: string | string[];
|
|
67
|
+
} | ((css: MasterCSS) => Config['fonts']);
|
|
68
|
+
rules?: {
|
|
69
|
+
[key in keyof typeof rules]?: RuleConfig;
|
|
70
|
+
} & {
|
|
71
|
+
[key: string]: RuleConfig;
|
|
72
|
+
};
|
|
73
|
+
rootSize?: number;
|
|
74
|
+
scope?: string;
|
|
75
|
+
important?: boolean;
|
|
76
|
+
override?: boolean;
|
|
77
|
+
functions?: Record<string, {
|
|
78
|
+
unit?: string;
|
|
79
|
+
name?: string;
|
|
80
|
+
colored?: boolean;
|
|
81
|
+
transform?(this: Rule, value: string): string;
|
|
82
|
+
}>;
|
|
83
|
+
animations?: Record<string, {
|
|
84
|
+
[key in 'from' | 'to']?: CSSDeclarations;
|
|
85
|
+
} & {
|
|
86
|
+
[key: string]: CSSDeclarations;
|
|
87
|
+
}>;
|
|
88
|
+
themeDriver?: 'class' | 'media' | 'host';
|
|
27
89
|
}
|
package/dist/config/rules.d.ts
CHANGED
|
@@ -1,3 +1,268 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const
|
|
3
|
-
|
|
1
|
+
import { RuleConfig } from './';
|
|
2
|
+
declare const rules: {
|
|
3
|
+
group: RuleConfig;
|
|
4
|
+
variable: RuleConfig;
|
|
5
|
+
fontSize: RuleConfig;
|
|
6
|
+
fontWeight: RuleConfig;
|
|
7
|
+
fontFamily: RuleConfig;
|
|
8
|
+
fontSmoothing: RuleConfig;
|
|
9
|
+
fontStyle: RuleConfig;
|
|
10
|
+
fontVariantNumeric: RuleConfig;
|
|
11
|
+
fontFeatureSettings: RuleConfig;
|
|
12
|
+
font: RuleConfig;
|
|
13
|
+
color: RuleConfig;
|
|
14
|
+
marginLeft: RuleConfig;
|
|
15
|
+
marginRight: RuleConfig;
|
|
16
|
+
marginTop: RuleConfig;
|
|
17
|
+
marginBottom: RuleConfig;
|
|
18
|
+
marginX: RuleConfig;
|
|
19
|
+
marginY: RuleConfig;
|
|
20
|
+
margin: RuleConfig;
|
|
21
|
+
paddingLeft: RuleConfig;
|
|
22
|
+
paddingRight: RuleConfig;
|
|
23
|
+
paddingTop: RuleConfig;
|
|
24
|
+
paddingBottom: RuleConfig;
|
|
25
|
+
paddingX: RuleConfig;
|
|
26
|
+
paddingY: RuleConfig;
|
|
27
|
+
padding: RuleConfig;
|
|
28
|
+
order: RuleConfig;
|
|
29
|
+
flexBasis: RuleConfig;
|
|
30
|
+
flexWrap: RuleConfig;
|
|
31
|
+
flexGrow: RuleConfig;
|
|
32
|
+
flexShrink: RuleConfig;
|
|
33
|
+
flexDirection: RuleConfig;
|
|
34
|
+
flex: RuleConfig;
|
|
35
|
+
display: RuleConfig;
|
|
36
|
+
width: RuleConfig;
|
|
37
|
+
Height: RuleConfig;
|
|
38
|
+
minWidth: RuleConfig;
|
|
39
|
+
minHeight: RuleConfig;
|
|
40
|
+
box: RuleConfig;
|
|
41
|
+
minBox: RuleConfig;
|
|
42
|
+
maxBox: RuleConfig;
|
|
43
|
+
boxSizing: RuleConfig;
|
|
44
|
+
boxDecorationBreak: RuleConfig;
|
|
45
|
+
contain: RuleConfig;
|
|
46
|
+
content: RuleConfig;
|
|
47
|
+
counterIncrement: RuleConfig;
|
|
48
|
+
counterReset: RuleConfig;
|
|
49
|
+
letterSpacing: RuleConfig;
|
|
50
|
+
lineHeight: RuleConfig;
|
|
51
|
+
objectFit: RuleConfig;
|
|
52
|
+
objectPosition: RuleConfig;
|
|
53
|
+
textAlign: RuleConfig;
|
|
54
|
+
textDecorationColor: RuleConfig;
|
|
55
|
+
textDecorationStyle: RuleConfig;
|
|
56
|
+
textDecorationThickness: RuleConfig;
|
|
57
|
+
textDecorationLine: RuleConfig;
|
|
58
|
+
textDecoration: RuleConfig;
|
|
59
|
+
textUnderlineOffset: RuleConfig;
|
|
60
|
+
textOverflow: RuleConfig;
|
|
61
|
+
textOrientation: RuleConfig;
|
|
62
|
+
textTransform: RuleConfig;
|
|
63
|
+
textRendering: RuleConfig;
|
|
64
|
+
textIndent: RuleConfig;
|
|
65
|
+
verticalAlign: RuleConfig;
|
|
66
|
+
columns: RuleConfig;
|
|
67
|
+
whiteSpace: RuleConfig;
|
|
68
|
+
top: RuleConfig;
|
|
69
|
+
bottom: RuleConfig;
|
|
70
|
+
left: RuleConfig;
|
|
71
|
+
right: RuleConfig;
|
|
72
|
+
inset: RuleConfig;
|
|
73
|
+
lines: RuleConfig;
|
|
74
|
+
maxHeight: RuleConfig;
|
|
75
|
+
maxWidth: RuleConfig;
|
|
76
|
+
opacity: RuleConfig;
|
|
77
|
+
visibility: RuleConfig;
|
|
78
|
+
clear: RuleConfig;
|
|
79
|
+
float: RuleConfig;
|
|
80
|
+
isolation: RuleConfig;
|
|
81
|
+
overflowX: RuleConfig;
|
|
82
|
+
overflowY: RuleConfig;
|
|
83
|
+
overflow: RuleConfig;
|
|
84
|
+
overscrollBehaviorX: RuleConfig;
|
|
85
|
+
overscrollBehaviorY: RuleConfig;
|
|
86
|
+
overscrollBehavior: RuleConfig;
|
|
87
|
+
zIndex: RuleConfig;
|
|
88
|
+
position: RuleConfig;
|
|
89
|
+
cursor: RuleConfig;
|
|
90
|
+
pointerEvents: RuleConfig;
|
|
91
|
+
resize: RuleConfig;
|
|
92
|
+
touchAction: RuleConfig;
|
|
93
|
+
wordBreak: RuleConfig;
|
|
94
|
+
wordSpacing: RuleConfig;
|
|
95
|
+
userDrag: RuleConfig;
|
|
96
|
+
userSelect: RuleConfig;
|
|
97
|
+
textShadow: RuleConfig;
|
|
98
|
+
textSize: RuleConfig;
|
|
99
|
+
textFillColor: RuleConfig;
|
|
100
|
+
textStrokeWidth: RuleConfig;
|
|
101
|
+
textStrokeColor: RuleConfig;
|
|
102
|
+
textStroke: RuleConfig;
|
|
103
|
+
boxShadow: RuleConfig;
|
|
104
|
+
tableLayout: RuleConfig;
|
|
105
|
+
transformBox: RuleConfig;
|
|
106
|
+
transformStyle: RuleConfig;
|
|
107
|
+
transformOrigin: RuleConfig;
|
|
108
|
+
transform: RuleConfig;
|
|
109
|
+
transitionProperty: RuleConfig;
|
|
110
|
+
transitionTimingFunction: RuleConfig;
|
|
111
|
+
transitionDuration: RuleConfig;
|
|
112
|
+
transitionDelay: RuleConfig;
|
|
113
|
+
transition: RuleConfig;
|
|
114
|
+
animationDelay: RuleConfig;
|
|
115
|
+
animationDirection: RuleConfig;
|
|
116
|
+
animationDuration: RuleConfig;
|
|
117
|
+
animationFillMode: RuleConfig;
|
|
118
|
+
animationIterationCount: RuleConfig;
|
|
119
|
+
animationName: RuleConfig;
|
|
120
|
+
animationPlayState: RuleConfig;
|
|
121
|
+
animationTimingFunction: RuleConfig;
|
|
122
|
+
animation: RuleConfig;
|
|
123
|
+
borderCollapse: RuleConfig;
|
|
124
|
+
borderSpacing: RuleConfig;
|
|
125
|
+
borderTopColor: RuleConfig;
|
|
126
|
+
borderBottomColor: RuleConfig;
|
|
127
|
+
borderLeftColor: RuleConfig;
|
|
128
|
+
borderRightColor: RuleConfig;
|
|
129
|
+
borderXColor: RuleConfig;
|
|
130
|
+
borderYColor: RuleConfig;
|
|
131
|
+
borderColor: RuleConfig;
|
|
132
|
+
borderTopLeftRadius: RuleConfig;
|
|
133
|
+
borderTopRightRadius: RuleConfig;
|
|
134
|
+
borderBottomLeftRadius: RuleConfig;
|
|
135
|
+
borderBottomRightRadius: RuleConfig;
|
|
136
|
+
borderTopRadius: RuleConfig;
|
|
137
|
+
borderBottomRadius: RuleConfig;
|
|
138
|
+
borderLeftRadius: RuleConfig;
|
|
139
|
+
borderRightRadius: RuleConfig;
|
|
140
|
+
borderRadius: RuleConfig;
|
|
141
|
+
borderTopStyle: RuleConfig;
|
|
142
|
+
borderBottomStyle: RuleConfig;
|
|
143
|
+
borderLeftStyle: RuleConfig;
|
|
144
|
+
borderRightStyle: RuleConfig;
|
|
145
|
+
borderXStyle: RuleConfig;
|
|
146
|
+
borderYStyle: RuleConfig;
|
|
147
|
+
borderStyle: RuleConfig;
|
|
148
|
+
borderTopWidth: RuleConfig;
|
|
149
|
+
borderBottomWidth: RuleConfig;
|
|
150
|
+
borderLeftWidth: RuleConfig;
|
|
151
|
+
borderRightWidth: RuleConfig;
|
|
152
|
+
borderXWidth: RuleConfig;
|
|
153
|
+
borderYWidth: RuleConfig;
|
|
154
|
+
borderWidth: RuleConfig;
|
|
155
|
+
borderImageOutset: RuleConfig;
|
|
156
|
+
borderImageRepeat: RuleConfig;
|
|
157
|
+
borderImageSlice: RuleConfig;
|
|
158
|
+
borderImageSource: RuleConfig;
|
|
159
|
+
borderImageWidth: RuleConfig;
|
|
160
|
+
borderImage: RuleConfig;
|
|
161
|
+
borderTop: RuleConfig;
|
|
162
|
+
borderBottom: RuleConfig;
|
|
163
|
+
borderLeft: RuleConfig;
|
|
164
|
+
borderRight: RuleConfig;
|
|
165
|
+
borderX: RuleConfig;
|
|
166
|
+
borderY: RuleConfig;
|
|
167
|
+
border: RuleConfig;
|
|
168
|
+
backgroundAttachment: RuleConfig;
|
|
169
|
+
backgroundBlendMode: RuleConfig;
|
|
170
|
+
backgroundColor: RuleConfig;
|
|
171
|
+
backgroundClip: RuleConfig;
|
|
172
|
+
backgroundOrigin: RuleConfig;
|
|
173
|
+
backgroundPosition: RuleConfig;
|
|
174
|
+
backgroundRepeat: RuleConfig;
|
|
175
|
+
backgroundSize: RuleConfig;
|
|
176
|
+
backgroundImage: RuleConfig;
|
|
177
|
+
background: RuleConfig;
|
|
178
|
+
gradient: RuleConfig;
|
|
179
|
+
mixBlendMode: RuleConfig;
|
|
180
|
+
backdropFilter: RuleConfig;
|
|
181
|
+
filter: RuleConfig;
|
|
182
|
+
fill: RuleConfig;
|
|
183
|
+
strokeDasharray: RuleConfig;
|
|
184
|
+
strokeDashoffset: RuleConfig;
|
|
185
|
+
strokeWidth: RuleConfig;
|
|
186
|
+
stroke: RuleConfig;
|
|
187
|
+
x: RuleConfig;
|
|
188
|
+
y: RuleConfig;
|
|
189
|
+
cx: RuleConfig;
|
|
190
|
+
cy: RuleConfig;
|
|
191
|
+
rx: RuleConfig;
|
|
192
|
+
ry: RuleConfig;
|
|
193
|
+
gridColumnStart: RuleConfig;
|
|
194
|
+
gridColumnEnd: RuleConfig;
|
|
195
|
+
gridColumn: RuleConfig;
|
|
196
|
+
gridColumns: RuleConfig;
|
|
197
|
+
gridRowStart: RuleConfig;
|
|
198
|
+
gridRowEnd: RuleConfig;
|
|
199
|
+
gridRow: RuleConfig;
|
|
200
|
+
gridRows: RuleConfig;
|
|
201
|
+
gridAutoColumns: RuleConfig;
|
|
202
|
+
gridAutoFlow: RuleConfig;
|
|
203
|
+
gridAutoRows: RuleConfig;
|
|
204
|
+
gridTemplateAreas: RuleConfig;
|
|
205
|
+
gridTemplateColumns: RuleConfig;
|
|
206
|
+
gridTemplateRows: RuleConfig;
|
|
207
|
+
gridTemplate: RuleConfig;
|
|
208
|
+
gridArea: RuleConfig;
|
|
209
|
+
grid: RuleConfig;
|
|
210
|
+
columnGap: RuleConfig;
|
|
211
|
+
rowGap: RuleConfig;
|
|
212
|
+
gap: RuleConfig;
|
|
213
|
+
layer: RuleConfig;
|
|
214
|
+
breakInside: RuleConfig;
|
|
215
|
+
breakBefore: RuleConfig;
|
|
216
|
+
breakAfter: RuleConfig;
|
|
217
|
+
aspectRatio: RuleConfig;
|
|
218
|
+
columnSpan: RuleConfig;
|
|
219
|
+
alignContent: RuleConfig;
|
|
220
|
+
alignItems: RuleConfig;
|
|
221
|
+
alignSelf: RuleConfig;
|
|
222
|
+
justifyContent: RuleConfig;
|
|
223
|
+
justifyItems: RuleConfig;
|
|
224
|
+
justifySelf: RuleConfig;
|
|
225
|
+
placeContent: RuleConfig;
|
|
226
|
+
placeItems: RuleConfig;
|
|
227
|
+
placeSelf: RuleConfig;
|
|
228
|
+
listStylePosition: RuleConfig;
|
|
229
|
+
listStyleType: RuleConfig;
|
|
230
|
+
listStyleImage: RuleConfig;
|
|
231
|
+
listStyle: RuleConfig;
|
|
232
|
+
outlineColor: RuleConfig;
|
|
233
|
+
outlineOffset: RuleConfig;
|
|
234
|
+
outlineStyle: RuleConfig;
|
|
235
|
+
outlineWidth: RuleConfig;
|
|
236
|
+
outline: RuleConfig;
|
|
237
|
+
accentColor: RuleConfig;
|
|
238
|
+
appearance: RuleConfig;
|
|
239
|
+
caretColor: RuleConfig;
|
|
240
|
+
scrollBehavior: RuleConfig;
|
|
241
|
+
scrollMarginLeft: RuleConfig;
|
|
242
|
+
scrollMarginRight: RuleConfig;
|
|
243
|
+
scrollMarginTop: RuleConfig;
|
|
244
|
+
scrollMarginBottom: RuleConfig;
|
|
245
|
+
scrollMarginX: RuleConfig;
|
|
246
|
+
scrollMarginY: RuleConfig;
|
|
247
|
+
scrollMargin: RuleConfig;
|
|
248
|
+
scrollPaddingLeft: RuleConfig;
|
|
249
|
+
scrollPaddingRight: RuleConfig;
|
|
250
|
+
scrollPaddingTop: RuleConfig;
|
|
251
|
+
scrollPaddingBottom: RuleConfig;
|
|
252
|
+
scrollPaddingX: RuleConfig;
|
|
253
|
+
scrollPaddingY: RuleConfig;
|
|
254
|
+
scrollPadding: RuleConfig;
|
|
255
|
+
scrollSnapAlign: RuleConfig;
|
|
256
|
+
scrollSnapStop: RuleConfig;
|
|
257
|
+
scrollSnapType: RuleConfig;
|
|
258
|
+
willChange: RuleConfig;
|
|
259
|
+
writingMode: RuleConfig;
|
|
260
|
+
direction: RuleConfig;
|
|
261
|
+
shapeOutside: RuleConfig;
|
|
262
|
+
shapeMargin: RuleConfig;
|
|
263
|
+
shapeImageThreshold: RuleConfig;
|
|
264
|
+
clipPath: RuleConfig;
|
|
265
|
+
quotes: RuleConfig;
|
|
266
|
+
maskImage: RuleConfig;
|
|
267
|
+
};
|
|
268
|
+
export default rules;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const selectors: {
|
|
2
2
|
'::scrollbar': string;
|
|
3
3
|
'::scrollbar-button': string;
|
|
4
4
|
'::scrollbar-thumb': string;
|
|
@@ -15,5 +15,6 @@ declare const defaultSelectors: {
|
|
|
15
15
|
':even': string;
|
|
16
16
|
':odd': string;
|
|
17
17
|
':nth(': string;
|
|
18
|
+
':only': string;
|
|
18
19
|
};
|
|
19
|
-
export default
|
|
20
|
+
export default selectors;
|
|
@@ -1,82 +1,191 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
square:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
};
|
|
47
|
-
'
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
};
|
|
74
|
-
'
|
|
75
|
-
|
|
76
|
-
};
|
|
77
|
-
'
|
|
78
|
-
|
|
79
|
-
|
|
1
|
+
declare const semantics: {
|
|
2
|
+
readonly square: {
|
|
3
|
+
readonly 'aspect-ratio': "1/1";
|
|
4
|
+
};
|
|
5
|
+
readonly video: {
|
|
6
|
+
readonly 'aspect-ratio': "16/9";
|
|
7
|
+
};
|
|
8
|
+
readonly rounded: {
|
|
9
|
+
readonly 'border-radius': "1e9em";
|
|
10
|
+
};
|
|
11
|
+
readonly round: {
|
|
12
|
+
readonly 'border-radius': "50%";
|
|
13
|
+
};
|
|
14
|
+
readonly hidden: {
|
|
15
|
+
readonly display: "none";
|
|
16
|
+
};
|
|
17
|
+
readonly hide: {
|
|
18
|
+
readonly display: "none";
|
|
19
|
+
};
|
|
20
|
+
readonly block: {
|
|
21
|
+
readonly display: "block";
|
|
22
|
+
};
|
|
23
|
+
readonly table: {
|
|
24
|
+
readonly display: "table";
|
|
25
|
+
};
|
|
26
|
+
readonly flex: {
|
|
27
|
+
readonly display: "flex";
|
|
28
|
+
};
|
|
29
|
+
readonly grid: {
|
|
30
|
+
readonly display: "grid";
|
|
31
|
+
};
|
|
32
|
+
readonly contents: {
|
|
33
|
+
readonly display: "contents";
|
|
34
|
+
};
|
|
35
|
+
readonly inline: {
|
|
36
|
+
readonly display: "inline";
|
|
37
|
+
};
|
|
38
|
+
readonly 'inline-block': {
|
|
39
|
+
readonly display: "inline-block";
|
|
40
|
+
};
|
|
41
|
+
readonly 'inline-flex': {
|
|
42
|
+
readonly display: "inline-flex";
|
|
43
|
+
};
|
|
44
|
+
readonly 'inline-grid': {
|
|
45
|
+
readonly display: "inline-grid";
|
|
46
|
+
};
|
|
47
|
+
readonly 'inline-table': {
|
|
48
|
+
readonly display: "inline-table";
|
|
49
|
+
};
|
|
50
|
+
readonly 'table-cell': {
|
|
51
|
+
readonly display: "table-cell";
|
|
52
|
+
};
|
|
53
|
+
readonly 'table-caption': {
|
|
54
|
+
readonly display: "table-caption";
|
|
55
|
+
};
|
|
56
|
+
readonly 'flow-root': {
|
|
57
|
+
readonly display: "flow-root";
|
|
58
|
+
};
|
|
59
|
+
readonly 'list-item': {
|
|
60
|
+
readonly display: "list-item";
|
|
61
|
+
};
|
|
62
|
+
readonly 'table-row': {
|
|
63
|
+
readonly display: "table-row";
|
|
64
|
+
};
|
|
65
|
+
readonly 'table-column': {
|
|
66
|
+
readonly display: "table-column";
|
|
67
|
+
};
|
|
68
|
+
readonly 'table-row-group': {
|
|
69
|
+
readonly display: "table-row-group";
|
|
70
|
+
};
|
|
71
|
+
readonly 'table-column-group': {
|
|
72
|
+
readonly display: "table-column-group";
|
|
73
|
+
};
|
|
74
|
+
readonly 'table-header-group': {
|
|
75
|
+
readonly display: "table-header-group";
|
|
76
|
+
};
|
|
77
|
+
readonly 'table-footer-group': {
|
|
78
|
+
readonly display: "table-footer-group";
|
|
79
|
+
};
|
|
80
|
+
readonly italic: {
|
|
81
|
+
readonly 'font-style': "italic";
|
|
82
|
+
};
|
|
83
|
+
readonly oblique: {
|
|
84
|
+
readonly 'font-style': "oblique";
|
|
85
|
+
};
|
|
86
|
+
readonly isolate: {
|
|
87
|
+
readonly isolation: "isolate";
|
|
88
|
+
};
|
|
89
|
+
readonly overflowed: {
|
|
90
|
+
readonly overflow: "visible";
|
|
91
|
+
};
|
|
92
|
+
readonly untouchable: {
|
|
93
|
+
readonly 'pointer-events': "none";
|
|
94
|
+
};
|
|
95
|
+
readonly static: {
|
|
96
|
+
readonly position: "static";
|
|
97
|
+
};
|
|
98
|
+
readonly fixed: {
|
|
99
|
+
readonly position: "fixed";
|
|
100
|
+
};
|
|
101
|
+
readonly abs: {
|
|
102
|
+
readonly position: "absolute";
|
|
103
|
+
};
|
|
104
|
+
readonly rel: {
|
|
105
|
+
readonly position: "relative";
|
|
106
|
+
};
|
|
107
|
+
readonly sticky: {
|
|
108
|
+
readonly position: "sticky";
|
|
109
|
+
};
|
|
110
|
+
readonly uppercase: {
|
|
111
|
+
readonly 'text-transform': "uppercase";
|
|
112
|
+
};
|
|
113
|
+
readonly lowercase: {
|
|
114
|
+
readonly 'text-transform': "lowercase";
|
|
115
|
+
};
|
|
116
|
+
readonly capitalize: {
|
|
117
|
+
readonly 'text-transform': "capitalize";
|
|
118
|
+
};
|
|
119
|
+
readonly visible: {
|
|
120
|
+
readonly visibility: "visible";
|
|
121
|
+
};
|
|
122
|
+
readonly invisible: {
|
|
123
|
+
readonly visibility: "hidden";
|
|
124
|
+
};
|
|
125
|
+
readonly vw: {
|
|
126
|
+
readonly width: "100vw";
|
|
127
|
+
};
|
|
128
|
+
readonly vh: {
|
|
129
|
+
readonly height: "100vh";
|
|
130
|
+
};
|
|
131
|
+
readonly 'max-vw': {
|
|
132
|
+
readonly 'max-width': "100vw";
|
|
133
|
+
};
|
|
134
|
+
readonly 'max-vh': {
|
|
135
|
+
readonly 'max-height': "100vh";
|
|
136
|
+
};
|
|
137
|
+
readonly 'min-vw': {
|
|
138
|
+
readonly 'min-width': "100vw";
|
|
139
|
+
};
|
|
140
|
+
readonly 'min-vh': {
|
|
141
|
+
readonly 'min-height': "100vh";
|
|
142
|
+
};
|
|
143
|
+
readonly 'center-content': {
|
|
144
|
+
readonly 'justify-content': "center";
|
|
145
|
+
readonly 'align-items': "center";
|
|
146
|
+
};
|
|
147
|
+
readonly 'sr-only': {
|
|
148
|
+
readonly position: "absolute";
|
|
149
|
+
readonly width: "1px";
|
|
150
|
+
readonly height: "1px";
|
|
151
|
+
readonly padding: "0";
|
|
152
|
+
readonly margin: "-1px";
|
|
153
|
+
readonly overflow: "hidden";
|
|
154
|
+
readonly clip: "rect(0,0,0,0)";
|
|
155
|
+
readonly 'white-space': "nowrap";
|
|
156
|
+
readonly 'border-width': "0";
|
|
157
|
+
};
|
|
158
|
+
readonly full: {
|
|
159
|
+
readonly width: "100%";
|
|
160
|
+
readonly height: "100%";
|
|
161
|
+
};
|
|
162
|
+
readonly center: {
|
|
163
|
+
readonly left: 0;
|
|
164
|
+
readonly right: 0;
|
|
165
|
+
readonly 'margin-left': "auto";
|
|
166
|
+
readonly 'margin-right': "auto";
|
|
167
|
+
};
|
|
168
|
+
readonly middle: {
|
|
169
|
+
readonly top: 0;
|
|
170
|
+
readonly bottom: 0;
|
|
171
|
+
readonly 'margin-top': "auto";
|
|
172
|
+
readonly 'margin-bottom': "auto";
|
|
173
|
+
};
|
|
174
|
+
readonly 'break-spaces': {
|
|
175
|
+
readonly 'white-space': "break-spaces";
|
|
176
|
+
};
|
|
177
|
+
readonly 'break-word': {
|
|
178
|
+
readonly 'overflow-wrap': "break-word";
|
|
179
|
+
readonly overflow: "hidden";
|
|
180
|
+
};
|
|
181
|
+
readonly 'gradient-text': {
|
|
182
|
+
readonly '-webkit-text-fill-color': "transparent";
|
|
183
|
+
readonly '-webkit-background-clip': "text";
|
|
184
|
+
readonly 'background-clip': "text";
|
|
185
|
+
};
|
|
186
|
+
readonly fit: {
|
|
187
|
+
readonly width: "fit-content";
|
|
188
|
+
readonly height: "fit-content";
|
|
80
189
|
};
|
|
81
190
|
};
|
|
82
|
-
export default
|
|
191
|
+
export default semantics;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const viewports: {
|
|
2
|
+
'4xs': number;
|
|
2
3
|
'3xs': number;
|
|
3
4
|
'2xs': number;
|
|
4
5
|
xs: number;
|
|
@@ -10,4 +11,4 @@ declare const defaultBreakpoints: {
|
|
|
10
11
|
'3xl': number;
|
|
11
12
|
'4xl': number;
|
|
12
13
|
};
|
|
13
|
-
export default
|
|
14
|
+
export default viewports;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CONFIG_ESM_TEXT = "/** @type {import('@master/css').Config} */\nexport default {\n classes: {},\n colors: {},\n rules: {},\n values: {},\n semantics: {},\n viewports: {},\n mediaQueries: {},\n animations: {},\n selectors: {},\n functions: {}\n}\n";
|