@master/css 2.0.0-alpha.4 → 2.0.0-alpha.41
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/color.scss +1 -1
- package/config/breakpoints.d.ts +12 -0
- package/config/breakpoints.js +13 -0
- package/config/breakpoints.js.map +1 -0
- package/config/colors.d.ts +24 -0
- package/config/colors.js +265 -0
- package/config/colors.js.map +1 -0
- package/config/index.d.ts +11 -0
- package/config/index.js +20 -0
- package/config/index.js.map +1 -0
- package/config/root-size.d.ts +1 -0
- package/config/root-size.js +2 -0
- package/config/root-size.js.map +1 -0
- package/config/rules.d.ts +1 -0
- package/config/rules.js +196 -0
- package/config/rules.js.map +1 -0
- package/config/selectors.d.ts +18 -0
- package/config/selectors.js +19 -0
- package/config/selectors.js.map +1 -0
- package/config/semantics.d.ts +81 -0
- package/config/semantics.js +82 -0
- package/config/semantics.js.map +1 -0
- package/config/themes.d.ts +1 -0
- package/config/themes.js +2 -0
- package/config/themes.js.map +1 -0
- package/config/values.d.ts +125 -0
- package/config/values.js +71 -0
- package/config/values.js.map +1 -0
- package/configure.d.ts +2 -0
- package/configure.js +11 -0
- package/configure.js.map +1 -0
- package/constants/css-property-keyword.d.ts +0 -7
- package/constants/css-property-keyword.js +211 -0
- package/constants/css-property-keyword.js.map +1 -0
- package/constants/priority-selectors.js +2 -0
- package/constants/priority-selectors.js.map +1 -0
- package/constants/start-symbol.js +6 -0
- package/constants/start-symbol.js.map +1 -0
- package/core.d.ts +68 -0
- package/core.js +850 -0
- package/core.js.map +1 -0
- package/fill-color-scale.d.ts +1 -0
- package/fill-color-scale.js +60 -0
- package/fill-color-scale.js.map +1 -0
- package/index.d.ts +9 -6
- package/index.js +10 -1
- package/index.js.map +1 -0
- package/init.d.ts +3 -0
- package/init.js +13 -0
- package/init.js.map +1 -0
- package/interfaces/config.d.ts +16 -0
- package/interfaces/config.js +2 -0
- package/interfaces/config.js.map +1 -0
- package/interfaces/declaration.d.ts +5 -0
- package/interfaces/declaration.js +2 -0
- package/interfaces/declaration.js.map +1 -0
- package/interfaces/{style-media-feature.d.ts → media-feature-rule.d.ts} +1 -1
- package/interfaces/media-feature-rule.js +2 -0
- package/interfaces/media-feature-rule.js.map +1 -0
- package/interfaces/media.d.ts +8 -0
- package/interfaces/media.js +2 -0
- package/interfaces/media.js.map +1 -0
- package/main.js +2 -0
- package/main.js.map +1 -0
- package/package.json +3 -2
- package/polyfills/css-escape.d.ts +2 -0
- package/polyfills/css-escape.js +91 -0
- package/polyfills/css-escape.js.map +1 -0
- package/render-from-html.d.ts +3 -0
- package/render-from-html.js +19 -0
- package/render-from-html.js.map +1 -0
- package/render-into-html.d.ts +3 -0
- package/render-into-html.js +10 -0
- package/render-into-html.js.map +1 -0
- package/render.d.ts +2 -7
- package/render.js +14 -1
- package/render.js.map +1 -0
- package/rule.d.ts +51 -0
- package/rule.js +540 -0
- package/rule.js.map +1 -0
- package/rules/z-index.d.ts +7 -0
- package/rules/z-index.js +9 -0
- package/rules/z-index.js.map +1 -0
- package/utils/concat-arrays.d.ts +1 -0
- package/utils/concat-arrays.js +8 -0
- package/utils/concat-arrays.js.map +1 -0
- package/utils/get-css-property-text.js +8 -0
- package/utils/get-css-property-text.js.map +1 -0
- package/utils/get-type.d.ts +7 -0
- package/utils/get-type.js +10 -0
- package/utils/get-type.js.map +1 -0
- package/utils/hex-to-rgb.d.ts +1 -0
- package/utils/hex-to-rgb.js +8 -0
- package/utils/hex-to-rgb.js.map +1 -0
- package/utils/is-plain-object.d.ts +8 -0
- package/utils/is-plain-object.js +13 -0
- package/utils/is-plain-object.js.map +1 -0
- package/utils/is-symbol.d.ts +7 -0
- package/utils/is-symbol.js +11 -0
- package/utils/is-symbol.js.map +1 -0
- package/utils/merge.d.ts +5 -0
- package/utils/merge.js +59 -0
- package/utils/merge.js.map +1 -0
- package/utils/normalize-css-calc-text.js +56 -0
- package/utils/normalize-css-calc-text.js.map +1 -0
- package/utils/parse-value.d.ts +3 -2
- package/utils/parse-value.js +86 -0
- package/utils/parse-value.js.map +1 -0
- package/utils/rgb-to-hex.d.ts +1 -0
- package/utils/rgb-to-hex.js +4 -0
- package/utils/rgb-to-hex.js.map +1 -0
- package/breakpoints.js +0 -1
- package/colors.js +0 -1
- package/constants/css-browser-prefix.d.ts +0 -3
- package/constants/direction.d.ts +0 -10
- package/interfaces/style-media.d.ts +0 -8
- package/master-css.min.js +0 -1
- package/sheet.d.ts +0 -55
- package/style.d.ts +0 -69
- package/styles/accent-color.d.ts +0 -6
- package/styles/align-content.d.ts +0 -5
- package/styles/align-items.d.ts +0 -5
- package/styles/align-self.d.ts +0 -5
- package/styles/animation-delay.d.ts +0 -6
- package/styles/animation-direction.d.ts +0 -5
- package/styles/animation-duration.d.ts +0 -6
- package/styles/animation-fill-mode.d.ts +0 -5
- package/styles/animation-iteration-count.d.ts +0 -6
- package/styles/animation-name.d.ts +0 -5
- package/styles/animation-play-state.d.ts +0 -5
- package/styles/animation-timing-function.d.ts +0 -5
- package/styles/animation.d.ts +0 -7
- package/styles/appearance.d.ts +0 -4
- package/styles/aspect-radio.d.ts +0 -10
- package/styles/backdrop-filter.d.ts +0 -9
- package/styles/background-attachment.d.ts +0 -5
- package/styles/background-blend-mode.d.ts +0 -4
- package/styles/background-clip.d.ts +0 -13
- package/styles/background-color.d.ts +0 -7
- package/styles/background-image.d.ts +0 -6
- package/styles/background-origin.d.ts +0 -10
- package/styles/background-position.d.ts +0 -6
- package/styles/background-repeat.d.ts +0 -5
- package/styles/background-size.d.ts +0 -5
- package/styles/background.d.ts +0 -7
- package/styles/border-collapse.d.ts +0 -5
- package/styles/border-color.d.ts +0 -11
- package/styles/border-image-outset.d.ts +0 -4
- package/styles/border-image-repeat.d.ts +0 -5
- package/styles/border-image-slice.d.ts +0 -5
- package/styles/border-image-source.d.ts +0 -5
- package/styles/border-image-width.d.ts +0 -5
- package/styles/border-image.d.ts +0 -5
- package/styles/border-radius.d.ts +0 -13
- package/styles/border-spacing.d.ts +0 -4
- package/styles/border-style.d.ts +0 -9
- package/styles/border-width.d.ts +0 -9
- package/styles/border.d.ts +0 -10
- package/styles/box-decoration-break.d.ts +0 -8
- package/styles/box-shadow.d.ts +0 -6
- package/styles/box-sizing.d.ts +0 -9
- package/styles/break-after.d.ts +0 -4
- package/styles/break-before.d.ts +0 -4
- package/styles/break-inside.d.ts +0 -4
- package/styles/caret-color.d.ts +0 -6
- package/styles/clear.d.ts +0 -4
- package/styles/clip-path.d.ts +0 -14
- package/styles/color.d.ts +0 -7
- package/styles/column-span.d.ts +0 -5
- package/styles/columns.d.ts +0 -7
- package/styles/contain.d.ts +0 -4
- package/styles/content.d.ts +0 -4
- package/styles/counter-increment.d.ts +0 -5
- package/styles/cursor.d.ts +0 -4
- package/styles/cx.d.ts +0 -5
- package/styles/cy.d.ts +0 -5
- package/styles/direction.d.ts +0 -4
- package/styles/display.d.ts +0 -29
- package/styles/fill.d.ts +0 -6
- package/styles/filter.d.ts +0 -6
- package/styles/flex-basis.d.ts +0 -10
- package/styles/flex-direction.d.ts +0 -9
- package/styles/flex-grow.d.ts +0 -5
- package/styles/flex-shrink.d.ts +0 -5
- package/styles/flex-wrap.d.ts +0 -5
- package/styles/flex.d.ts +0 -6
- package/styles/float.d.ts +0 -4
- package/styles/font-family.d.ts +0 -10
- package/styles/font-size.d.ts +0 -5
- package/styles/font-smoothing.d.ts +0 -9
- package/styles/font-style.d.ts +0 -10
- package/styles/font-variant-numeric.d.ts +0 -5
- package/styles/font-weight.d.ts +0 -17
- package/styles/font.d.ts +0 -7
- package/styles/gap.d.ts +0 -9
- package/styles/grid-area.d.ts +0 -6
- package/styles/grid-auto-columns.d.ts +0 -9
- package/styles/grid-auto-flow.d.ts +0 -5
- package/styles/grid-auto-rows.d.ts +0 -8
- package/styles/grid-column-end.d.ts +0 -6
- package/styles/grid-column-start.d.ts +0 -6
- package/styles/grid-column.d.ts +0 -8
- package/styles/grid-columns.d.ts +0 -9
- package/styles/grid-row-end.d.ts +0 -5
- package/styles/grid-row-start.d.ts +0 -5
- package/styles/grid-row.d.ts +0 -8
- package/styles/grid-rows.d.ts +0 -8
- package/styles/grid-template-areas.d.ts +0 -4
- package/styles/grid-template-columns.d.ts +0 -9
- package/styles/grid-template-rows.d.ts +0 -8
- package/styles/grid-template.d.ts +0 -5
- package/styles/grid.d.ts +0 -5
- package/styles/group.d.ts +0 -9
- package/styles/height.d.ts +0 -11
- package/styles/index.d.ts +0 -17
- package/styles/inset.d.ts +0 -8
- package/styles/isolation.d.ts +0 -7
- package/styles/justify-content.d.ts +0 -5
- package/styles/justify-items.d.ts +0 -5
- package/styles/justify-self.d.ts +0 -5
- package/styles/letter-spacing.d.ts +0 -6
- package/styles/line-height.d.ts +0 -6
- package/styles/lines.d.ts +0 -9
- package/styles/list-style-image.d.ts +0 -5
- package/styles/list-style-position.d.ts +0 -5
- package/styles/list-style-type.d.ts +0 -5
- package/styles/list-style.d.ts +0 -5
- package/styles/margin.d.ts +0 -9
- package/styles/mask-image.d.ts +0 -7
- package/styles/max-height.d.ts +0 -11
- package/styles/max-width.d.ts +0 -11
- package/styles/min-height.d.ts +0 -11
- package/styles/min-width.d.ts +0 -11
- package/styles/mix-blend-mode.d.ts +0 -5
- package/styles/object-fit.d.ts +0 -5
- package/styles/object-position.d.ts +0 -5
- package/styles/opacity.d.ts +0 -5
- package/styles/order.d.ts +0 -10
- package/styles/outline-color.d.ts +0 -6
- package/styles/outline-offset.d.ts +0 -4
- package/styles/outline-style.d.ts +0 -5
- package/styles/outline-width.d.ts +0 -5
- package/styles/outline.d.ts +0 -6
- package/styles/overflow.d.ts +0 -12
- package/styles/overscroll-behavior.d.ts +0 -8
- package/styles/padding.d.ts +0 -9
- package/styles/place-content.d.ts +0 -5
- package/styles/place-items.d.ts +0 -5
- package/styles/place-self.d.ts +0 -5
- package/styles/placement.d.ts +0 -7
- package/styles/pointer-events.d.ts +0 -7
- package/styles/position.d.ts +0 -15
- package/styles/quotes.d.ts +0 -4
- package/styles/resize.d.ts +0 -4
- package/styles/rx.d.ts +0 -5
- package/styles/ry.d.ts +0 -5
- package/styles/scroll-behavior.d.ts +0 -4
- package/styles/scroll-margin.d.ts +0 -9
- package/styles/scroll-padding.d.ts +0 -9
- package/styles/scroll-snap-align.d.ts +0 -5
- package/styles/scroll-snap-stop.d.ts +0 -5
- package/styles/scroll-snap-type.d.ts +0 -5
- package/styles/shape-image-threshold.d.ts +0 -5
- package/styles/shape-margin.d.ts +0 -5
- package/styles/shape-outside.d.ts +0 -11
- package/styles/spacing.d.ts +0 -9
- package/styles/stroke-dasharray.d.ts +0 -4
- package/styles/stroke-dashoffset.d.ts +0 -4
- package/styles/stroke-width.d.ts +0 -5
- package/styles/stroke.d.ts +0 -5
- package/styles/table-layout.d.ts +0 -4
- package/styles/text-align.d.ts +0 -5
- package/styles/text-decoration-color.d.ts +0 -6
- package/styles/text-decoration-line.d.ts +0 -5
- package/styles/text-decoration-style.d.ts +0 -5
- package/styles/text-decoration-thickness.d.ts +0 -6
- package/styles/text-decoration.d.ts +0 -7
- package/styles/text-fill-color.d.ts +0 -10
- package/styles/text-indent.d.ts +0 -4
- package/styles/text-orientation.d.ts +0 -5
- package/styles/text-overflow.d.ts +0 -5
- package/styles/text-rendering.d.ts +0 -5
- package/styles/text-shadow.d.ts +0 -5
- package/styles/text-size.d.ts +0 -8
- package/styles/text-stroke-color.d.ts +0 -10
- package/styles/text-stroke-width.d.ts +0 -8
- package/styles/text-stroke.d.ts +0 -8
- package/styles/text-transform.d.ts +0 -10
- package/styles/text-underline-offset.d.ts +0 -4
- package/styles/touch-action.d.ts +0 -4
- package/styles/transform-box.d.ts +0 -12
- package/styles/transform-origin.d.ts +0 -6
- package/styles/transform-style.d.ts +0 -5
- package/styles/transform.d.ts +0 -7
- package/styles/transition-delay.d.ts +0 -6
- package/styles/transition-duration.d.ts +0 -6
- package/styles/transition-property.d.ts +0 -5
- package/styles/transition-timing-function.d.ts +0 -5
- package/styles/transition.d.ts +0 -6
- package/styles/user-drag.d.ts +0 -7
- package/styles/user-select.d.ts +0 -7
- package/styles/utility.d.ts +0 -43
- package/styles/variable.d.ts +0 -9
- package/styles/vertical-align.d.ts +0 -5
- package/styles/visibility.d.ts +0 -8
- package/styles/white-space.d.ts +0 -5
- package/styles/width.d.ts +0 -11
- package/styles/will-change.d.ts +0 -4
- package/styles/word-break.d.ts +0 -5
- package/styles/word-spacing.d.ts +0 -4
- package/styles/writing-mode.d.ts +0 -5
- package/styles/x.d.ts +0 -5
- package/styles/y.d.ts +0 -5
- package/styles/z-index.d.ts +0 -6
- package/utils/get-border-props.d.ts +0 -3
- package/utils/parse-value-unit.d.ts +0 -1
|
@@ -157,7 +157,6 @@ export declare const AFTER = "after";
|
|
|
157
157
|
export declare const BEFORE = "before";
|
|
158
158
|
export declare const INSIDE = "inside";
|
|
159
159
|
export declare const TABLE = "table";
|
|
160
|
-
export declare const GROUP = "group";
|
|
161
160
|
export declare const LIST = "list";
|
|
162
161
|
export declare const ITEM = "item";
|
|
163
162
|
export declare const BASIS = "basis";
|
|
@@ -204,9 +203,3 @@ export declare const START = "start";
|
|
|
204
203
|
export declare const BLUR = "blur";
|
|
205
204
|
export declare const DROP = "drop";
|
|
206
205
|
export declare const HUE = "hue";
|
|
207
|
-
export declare const SIZING_VALUES: {
|
|
208
|
-
full: string;
|
|
209
|
-
fit: string;
|
|
210
|
-
max: string;
|
|
211
|
-
min: string;
|
|
212
|
-
};
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
export const dash = (...words) => words.join('-');
|
|
2
|
+
export const DASH = '-';
|
|
3
|
+
export const BORDER = 'border';
|
|
4
|
+
export const RADIUS = 'radius';
|
|
5
|
+
export const MARGIN = 'margin';
|
|
6
|
+
export const PADDING = 'padding';
|
|
7
|
+
export const FONT = 'font';
|
|
8
|
+
export const CURSOR = 'cursor';
|
|
9
|
+
export const POINTER = 'pointer';
|
|
10
|
+
export const COMMA = ',';
|
|
11
|
+
export const FLOW = 'flow';
|
|
12
|
+
export const TEMPLATE = 'template';
|
|
13
|
+
export const COLUMN = 'column';
|
|
14
|
+
export const COLUMNS = COLUMN + 's';
|
|
15
|
+
export const GAP = 'gap';
|
|
16
|
+
export const ROW = 'row';
|
|
17
|
+
export const ROWS = ROW + 's';
|
|
18
|
+
export const FR = 'fr';
|
|
19
|
+
export const EVENTS = 'events';
|
|
20
|
+
export const RESIZE = 'resize';
|
|
21
|
+
export const SHADOW = 'shadow';
|
|
22
|
+
export const USER = 'user';
|
|
23
|
+
export const DRAG = 'drag';
|
|
24
|
+
export const TOUCH = 'touch';
|
|
25
|
+
export const ACTION = 'action';
|
|
26
|
+
export const SELECT = 'select';
|
|
27
|
+
export const SIZING = 'sizing';
|
|
28
|
+
export const CONTENT = 'content';
|
|
29
|
+
export const ISOLATION = 'isolation';
|
|
30
|
+
export const IMAGE = 'image';
|
|
31
|
+
export const STICKY = 'sticky';
|
|
32
|
+
export const STROKE = 'stroke';
|
|
33
|
+
export const CENTER = 'center';
|
|
34
|
+
export const MIDDLE = 'middle';
|
|
35
|
+
export const BACKDROP = 'backdrop';
|
|
36
|
+
export const FILTER = 'filter';
|
|
37
|
+
export const STATIC = 'static';
|
|
38
|
+
export const BLEND = 'blend';
|
|
39
|
+
export const MIX = 'mix';
|
|
40
|
+
export const ISOLATE = 'isolate';
|
|
41
|
+
export const ROUNDED = 'rounded';
|
|
42
|
+
export const ROUND = 'round';
|
|
43
|
+
export const BACKGROUND = 'background';
|
|
44
|
+
export const ATTACHMENT = 'attachment';
|
|
45
|
+
export const REPEAT = 'repeat';
|
|
46
|
+
export const COLOR = 'color';
|
|
47
|
+
export const FLOAT = 'float';
|
|
48
|
+
export const OPACITY = 'opacity';
|
|
49
|
+
export const FIXED = 'fixed';
|
|
50
|
+
export const LOCAL = 'local';
|
|
51
|
+
export const SCROLL = 'scroll';
|
|
52
|
+
export const ANIMATION = 'animation';
|
|
53
|
+
export const DIRECTION = 'direction';
|
|
54
|
+
export const MODE = 'mode';
|
|
55
|
+
export const ITERATION = 'iteration';
|
|
56
|
+
export const COUNT = 'count';
|
|
57
|
+
export const NAME = 'name';
|
|
58
|
+
export const PLAY_STATE = 'play-state';
|
|
59
|
+
export const VISIBILITY = 'visibility';
|
|
60
|
+
export const INVISIBLE = 'invisible';
|
|
61
|
+
export const VISIBLE = 'visible';
|
|
62
|
+
export const Z_INDEX = 'z-index';
|
|
63
|
+
export const CLEAR = 'clear';
|
|
64
|
+
export const BEHAVIOR = 'behavior';
|
|
65
|
+
export const OVERSCROLL_BEHAVIOR = dash('overscroll', BEHAVIOR);
|
|
66
|
+
export const Y = 'y';
|
|
67
|
+
export const X = 'x';
|
|
68
|
+
export const WEIGHT = 'weight';
|
|
69
|
+
export const HEIGHT = 'height';
|
|
70
|
+
export const WIDTH = 'width';
|
|
71
|
+
export const MAX = 'max';
|
|
72
|
+
export const MIN = 'min';
|
|
73
|
+
export const BLOCK = 'block';
|
|
74
|
+
export const INLINE = 'inline';
|
|
75
|
+
export const FLEX = 'flex';
|
|
76
|
+
export const GRID = 'grid';
|
|
77
|
+
export const CONTENTS = 'contents';
|
|
78
|
+
export const SHOW = 'show';
|
|
79
|
+
export const HIDE = 'hide';
|
|
80
|
+
export const TRANSITION = 'transition';
|
|
81
|
+
export const ORIGIN = 'origin';
|
|
82
|
+
export const DELAY = 'delay';
|
|
83
|
+
export const TRANSLATE = 'translate';
|
|
84
|
+
export const SKEW = 'skew';
|
|
85
|
+
export const ROTATE = 'rotate';
|
|
86
|
+
export const DEG = 'deg';
|
|
87
|
+
export const PROPERTY = 'property';
|
|
88
|
+
export const TIMING_FUNCTION = 'timing-function';
|
|
89
|
+
export const DURATION = 'duration';
|
|
90
|
+
export const DISPLAY = 'display';
|
|
91
|
+
export const ORIENT = 'orient';
|
|
92
|
+
export const KEEP = 'keep';
|
|
93
|
+
export const NORMAL = 'normal';
|
|
94
|
+
export const FAMILY = 'family';
|
|
95
|
+
export const ALL = 'all';
|
|
96
|
+
export const CLAMP = 'clamp';
|
|
97
|
+
export const HIDDEN = 'hidden';
|
|
98
|
+
export const CONTAIN = 'contain';
|
|
99
|
+
export const COVER = 'cover';
|
|
100
|
+
export const BOX = 'box';
|
|
101
|
+
export const FILL = 'fill';
|
|
102
|
+
export const ELLIPSIS = 'ellipsis';
|
|
103
|
+
export const CLIP = 'clip';
|
|
104
|
+
export const NONE = 'none';
|
|
105
|
+
export const WHITE = 'white';
|
|
106
|
+
export const SCALE = 'scale';
|
|
107
|
+
export const TEXT = 'text';
|
|
108
|
+
export const ALIGN = 'align';
|
|
109
|
+
export const OVERFLOW = 'overflow';
|
|
110
|
+
export const WRAP = 'wrap';
|
|
111
|
+
export const TRANSFORM = 'transform';
|
|
112
|
+
export const VERTICAL = 'vertical';
|
|
113
|
+
export const WORD = 'word';
|
|
114
|
+
export const SPACE = 'space';
|
|
115
|
+
export const DECORATION = 'decoration';
|
|
116
|
+
export const BREAK = 'break';
|
|
117
|
+
export const DOWN = 'down';
|
|
118
|
+
export const SIZE = 'size';
|
|
119
|
+
export const AUTO = 'auto';
|
|
120
|
+
export const VARIANT = 'variant';
|
|
121
|
+
export const LINE = 'line';
|
|
122
|
+
export const NUMERIC = 'numeric';
|
|
123
|
+
export const OBJECT = 'object';
|
|
124
|
+
export const FIT = 'fit';
|
|
125
|
+
export const POSITION = 'position';
|
|
126
|
+
export const REM = 'rem';
|
|
127
|
+
export const EM = 'em';
|
|
128
|
+
export const PX = 'px';
|
|
129
|
+
export const STYLE = 'style';
|
|
130
|
+
export const GRAYSCALE = 'grayscale';
|
|
131
|
+
export const SMOOTHING = 'smoothing';
|
|
132
|
+
export const SHARP = 'sharp';
|
|
133
|
+
export const ANTIALIASED = 'antialiased';
|
|
134
|
+
export const SUBPIXEL = 'subpixel';
|
|
135
|
+
export const LETTER = 'letter';
|
|
136
|
+
export const FIRST = 'first';
|
|
137
|
+
export const SPACING = 'spacing';
|
|
138
|
+
export const LETTER_SPACING = dash(LETTER, SPACING);
|
|
139
|
+
export const MAX_WIDTH = dash(MAX, WIDTH);
|
|
140
|
+
export const MIN_WIDTH = dash(MIN, WIDTH);
|
|
141
|
+
export const MAX_HEIGHT = dash(MAX, HEIGHT);
|
|
142
|
+
export const MIN_HEIGHT = dash(MIN, HEIGHT);
|
|
143
|
+
export const FONT_PREFIX = 'font:';
|
|
144
|
+
export const F_PREFIX = 'f:';
|
|
145
|
+
export const T_PREFIX = 't:';
|
|
146
|
+
export const H_PREFIX = 'h:';
|
|
147
|
+
export const W_PREFIX = 'w:';
|
|
148
|
+
export const BG_PREFIX = 'bg:';
|
|
149
|
+
export const OBJECT_PREFIX = OBJECT + ':';
|
|
150
|
+
export const SQUARE = 'square';
|
|
151
|
+
export const VIDEO = 'video';
|
|
152
|
+
export const SLICE = 'slice';
|
|
153
|
+
export const CLONE = 'clone';
|
|
154
|
+
export const ASPECT = 'aspect';
|
|
155
|
+
export const RATIO = 'ratio';
|
|
156
|
+
export const AFTER = 'after';
|
|
157
|
+
export const BEFORE = 'before';
|
|
158
|
+
export const INSIDE = 'inside';
|
|
159
|
+
export const TABLE = 'table';
|
|
160
|
+
// export const CAPTION = 'caption';
|
|
161
|
+
// export const CELL = 'cell';
|
|
162
|
+
// export const FOOTER = 'footer';
|
|
163
|
+
// export const HEADER = 'header';
|
|
164
|
+
// export const ROOT = 'root';
|
|
165
|
+
export const LIST = 'list';
|
|
166
|
+
export const ITEM = 'item';
|
|
167
|
+
export const BASIS = 'basis';
|
|
168
|
+
export const FULL = 'full';
|
|
169
|
+
export const REVERSE = 'reverse';
|
|
170
|
+
export const NOWRAP = 'nowrap';
|
|
171
|
+
export const FLEX_PREFIX = FLEX + ':';
|
|
172
|
+
export const GROW = 'grow';
|
|
173
|
+
export const BOX_PREFIX = BOX + ':';
|
|
174
|
+
export const SHRINK = 'shrink';
|
|
175
|
+
export const ORDER = 'order';
|
|
176
|
+
export const ORDER_PREFIX = 'o:';
|
|
177
|
+
export const LAST = 'last';
|
|
178
|
+
export const COL = 'col';
|
|
179
|
+
export const SPAN = 'span';
|
|
180
|
+
export const JUSTIFY = 'justify';
|
|
181
|
+
export const ITEMS = ITEM + 's';
|
|
182
|
+
export const SELF = 'self';
|
|
183
|
+
export const PLACE = 'place';
|
|
184
|
+
export const MONO = 'mono';
|
|
185
|
+
export const SANS = 'sans';
|
|
186
|
+
export const SERIF = 'serif';
|
|
187
|
+
export const TYPE = 'type';
|
|
188
|
+
export const ABS = 'abs';
|
|
189
|
+
export const ABSOLUTE = 'absolute';
|
|
190
|
+
export const REL = 'rel';
|
|
191
|
+
export const RELATIVE = 'relative';
|
|
192
|
+
export const THICKNESS = 'thickness';
|
|
193
|
+
export const OFFSET = 'offset';
|
|
194
|
+
export const UNDERLINE = 'underline';
|
|
195
|
+
export const INDENT = 'indent';
|
|
196
|
+
export const OUTLINE = 'outline';
|
|
197
|
+
export const COLLAPSE = 'collapse';
|
|
198
|
+
export const LAYOUT = 'layout';
|
|
199
|
+
export const ACCENT = 'accent';
|
|
200
|
+
export const CARET = 'caret';
|
|
201
|
+
export const SNAP = 'snap';
|
|
202
|
+
export const STOP = 'stop';
|
|
203
|
+
export const SHAPE = 'shape';
|
|
204
|
+
export const VIEW = 'view';
|
|
205
|
+
export const AREA = 'area';
|
|
206
|
+
export const END = 'end';
|
|
207
|
+
export const START = 'start';
|
|
208
|
+
export const BLUR = 'blur';
|
|
209
|
+
export const DROP = 'drop';
|
|
210
|
+
export const HUE = 'hue';
|
|
211
|
+
//# sourceMappingURL=css-property-keyword.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-property-keyword.js","sourceRoot":"","sources":["../../src/constants/css-property-keyword.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,GAAG,KAAe,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,QAAQ,CAA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M,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,GAAG,GAAG,KAAK,CAAC;AACzB,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC;AAC7B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,GAAG,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priority-selectors.js","sourceRoot":"","sources":["../../src/constants/priority-selectors.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-symbol.js","sourceRoot":"","sources":["../../src/constants/start-symbol.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,IAAI;IACV,GAAG,EAAE,GAAG;CACX,CAAC"}
|
package/core.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { init } from './init';
|
|
2
|
+
import { MasterCSSConfig } from './interfaces/config';
|
|
3
|
+
import { MasterCSSRule } from './rule';
|
|
4
|
+
declare const MutationObserver: ObjectConstructor | {
|
|
5
|
+
new (callback: MutationCallback): MutationObserver;
|
|
6
|
+
prototype: MutationObserver;
|
|
7
|
+
};
|
|
8
|
+
export default class MasterCSS extends MutationObserver {
|
|
9
|
+
config: MasterCSSConfig;
|
|
10
|
+
container?: Element;
|
|
11
|
+
static init: typeof init;
|
|
12
|
+
static defaultConfig: MasterCSSConfig;
|
|
13
|
+
static instances: MasterCSS[];
|
|
14
|
+
static root: MasterCSS;
|
|
15
|
+
/**
|
|
16
|
+
* 全部 sheet 根據目前蒐集到的所有 DOM class 重新 findAndNew
|
|
17
|
+
*/
|
|
18
|
+
static refresh(config: MasterCSSConfig): void;
|
|
19
|
+
readonly style: HTMLStyleElement;
|
|
20
|
+
readonly rules: MasterCSSRule[];
|
|
21
|
+
readonly ruleOfName: Record<string, MasterCSSRule>;
|
|
22
|
+
readonly countOfName: {};
|
|
23
|
+
private cache;
|
|
24
|
+
semantics: [RegExp, string][];
|
|
25
|
+
classes: Record<string, string[]>;
|
|
26
|
+
colorsThemesMap: Record<string, Record<string, Record<string, string>>>;
|
|
27
|
+
colorNames: string[];
|
|
28
|
+
themeNames: string[];
|
|
29
|
+
relationThemesMap: Record<string, Record<string, string[]>>;
|
|
30
|
+
relations: Record<string, string[]>;
|
|
31
|
+
selectors: {
|
|
32
|
+
single: [RegExp, string][];
|
|
33
|
+
multiple: [RegExp, string[]][];
|
|
34
|
+
};
|
|
35
|
+
constructor(config?: MasterCSSConfig, container?: Element);
|
|
36
|
+
observe(target: Node, options?: MutationObserverInit): this;
|
|
37
|
+
disconnect(): void;
|
|
38
|
+
/**
|
|
39
|
+
* 尋找匹配的 MasterCSSRule 生成實例
|
|
40
|
+
*/
|
|
41
|
+
findAndNew(name: string): MasterCSSRule | MasterCSSRule[];
|
|
42
|
+
/**
|
|
43
|
+
* 根據目前蒐集到的所有 DOM class 重新 findAndNew
|
|
44
|
+
*/
|
|
45
|
+
refresh(config: MasterCSSConfig): void;
|
|
46
|
+
destroy(): void;
|
|
47
|
+
/**
|
|
48
|
+
* 1. where
|
|
49
|
+
* 2. normal
|
|
50
|
+
* 3. where selectors
|
|
51
|
+
* 4. normal selectors
|
|
52
|
+
* 5. media where
|
|
53
|
+
* 6. media normal
|
|
54
|
+
* 7. media selectors
|
|
55
|
+
* 8. media width where
|
|
56
|
+
* 9. media width
|
|
57
|
+
* 10. media width selectors
|
|
58
|
+
*/
|
|
59
|
+
insert(rule: MasterCSSRule): void;
|
|
60
|
+
delete(className: string): void;
|
|
61
|
+
findAndInsert(className: string): void;
|
|
62
|
+
}
|
|
63
|
+
declare global {
|
|
64
|
+
interface Window {
|
|
65
|
+
MasterCSS: typeof MasterCSS;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export {};
|