@master/css 2.0.0-alpha.5 → 2.0.0-alpha.7

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