@master/css 2.0.0-alpha.40 → 2.0.0-alpha.42

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 (294) hide show
  1. package/config/breakpoints.d.ts +12 -0
  2. package/config/breakpoints.js +13 -0
  3. package/config/breakpoints.js.map +1 -0
  4. package/config/colors.d.ts +24 -0
  5. package/config/colors.js +265 -0
  6. package/config/colors.js.map +1 -0
  7. package/config/index.d.ts +9 -9
  8. package/config/index.js +20 -0
  9. package/config/index.js.map +1 -0
  10. package/config/root-size.d.ts +1 -0
  11. package/config/root-size.js +2 -0
  12. package/config/root-size.js.map +1 -0
  13. package/config/rules.d.ts +1 -0
  14. package/config/rules.js +196 -0
  15. package/config/rules.js.map +1 -0
  16. package/config/selectors.d.ts +18 -0
  17. package/config/selectors.js +19 -0
  18. package/config/selectors.js.map +1 -0
  19. package/config/semantics.d.ts +81 -0
  20. package/config/semantics.js +82 -0
  21. package/config/semantics.js.map +1 -0
  22. package/config/themes.d.ts +1 -0
  23. package/config/themes.js +2 -0
  24. package/config/themes.js.map +1 -0
  25. package/config/values.d.ts +125 -0
  26. package/config/values.js +71 -0
  27. package/config/values.js.map +1 -0
  28. package/configure.js +11 -0
  29. package/configure.js.map +1 -0
  30. package/constants/css-property-keyword.js +211 -0
  31. package/constants/css-property-keyword.js.map +1 -0
  32. package/constants/priority-selectors.js +2 -0
  33. package/constants/priority-selectors.js.map +1 -0
  34. package/constants/start-symbol.js +6 -0
  35. package/constants/start-symbol.js.map +1 -0
  36. package/{css.d.ts → core.d.ts} +0 -0
  37. package/core.js +850 -0
  38. package/core.js.map +1 -0
  39. package/fill-color-scale.d.ts +1 -0
  40. package/fill-color-scale.js +60 -0
  41. package/fill-color-scale.js.map +1 -0
  42. package/index.d.ts +2 -2
  43. package/index.js +9 -1
  44. package/index.js.map +1 -1
  45. package/init.d.ts +1 -1
  46. package/init.js +13 -0
  47. package/init.js.map +1 -0
  48. package/interfaces/config.js +2 -0
  49. package/interfaces/config.js.map +1 -0
  50. package/interfaces/declaration.js +2 -0
  51. package/interfaces/declaration.js.map +1 -0
  52. package/interfaces/media-feature-rule.js +2 -0
  53. package/interfaces/media-feature-rule.js.map +1 -0
  54. package/interfaces/media.js +2 -0
  55. package/interfaces/media.js.map +1 -0
  56. package/main.js +2 -0
  57. package/main.js.map +1 -0
  58. package/package.json +3 -2
  59. package/polyfills/css-escape.d.ts +2 -0
  60. package/polyfills/css-escape.js +91 -0
  61. package/polyfills/css-escape.js.map +1 -0
  62. package/render-from-html.d.ts +1 -1
  63. package/render-from-html.js +19 -0
  64. package/render-from-html.js.map +1 -0
  65. package/render-into-html.d.ts +1 -1
  66. package/render-into-html.js +10 -0
  67. package/render-into-html.js.map +1 -0
  68. package/render.d.ts +1 -1
  69. package/render.js +13 -1
  70. package/render.js.map +1 -1
  71. package/rule.d.ts +1 -1
  72. package/rule.js +540 -0
  73. package/rule.js.map +1 -0
  74. package/rules/z-index.js +9 -0
  75. package/rules/z-index.js.map +1 -0
  76. package/utils/concat-arrays.js +8 -0
  77. package/utils/concat-arrays.js.map +1 -0
  78. package/utils/get-css-property-text.js +8 -0
  79. package/utils/get-css-property-text.js.map +1 -0
  80. package/utils/get-type.js +10 -0
  81. package/utils/get-type.js.map +1 -0
  82. package/utils/hex-to-rgb.d.ts +1 -0
  83. package/utils/hex-to-rgb.js +8 -0
  84. package/utils/hex-to-rgb.js.map +1 -0
  85. package/utils/is-plain-object.js +13 -0
  86. package/utils/is-plain-object.js.map +1 -0
  87. package/utils/is-symbol.js +11 -0
  88. package/utils/is-symbol.js.map +1 -0
  89. package/utils/merge.js +59 -0
  90. package/utils/merge.js.map +1 -0
  91. package/utils/normalize-css-calc-text.js +56 -0
  92. package/utils/normalize-css-calc-text.js.map +1 -0
  93. package/utils/parse-value.js +86 -0
  94. package/utils/parse-value.js.map +1 -0
  95. package/utils/rgb-to-hex.d.ts +1 -0
  96. package/utils/rgb-to-hex.js +4 -0
  97. package/utils/rgb-to-hex.js.map +1 -0
  98. package/constants/css-browser-prefix.d.ts +0 -3
  99. package/constants/direction.d.ts +0 -10
  100. package/master-css.min.js +0 -2
  101. package/rules/accent-color.d.ts +0 -7
  102. package/rules/align-content.d.ts +0 -6
  103. package/rules/align-items.d.ts +0 -6
  104. package/rules/align-self.d.ts +0 -6
  105. package/rules/animation-delay.d.ts +0 -7
  106. package/rules/animation-direction.d.ts +0 -6
  107. package/rules/animation-duration.d.ts +0 -7
  108. package/rules/animation-fill-mode.d.ts +0 -6
  109. package/rules/animation-iteration-count.d.ts +0 -7
  110. package/rules/animation-name.d.ts +0 -6
  111. package/rules/animation-play-state.d.ts +0 -6
  112. package/rules/animation-timing-function.d.ts +0 -6
  113. package/rules/animation.d.ts +0 -8
  114. package/rules/appearance.d.ts +0 -5
  115. package/rules/aspect-radio.d.ts +0 -7
  116. package/rules/backdrop-filter.d.ts +0 -10
  117. package/rules/background-attachment.d.ts +0 -6
  118. package/rules/background-blend-mode.d.ts +0 -5
  119. package/rules/background-clip.d.ts +0 -9
  120. package/rules/background-color.d.ts +0 -8
  121. package/rules/background-image.d.ts +0 -7
  122. package/rules/background-origin.d.ts +0 -6
  123. package/rules/background-position.d.ts +0 -7
  124. package/rules/background-repeat.d.ts +0 -6
  125. package/rules/background-size.d.ts +0 -6
  126. package/rules/background.d.ts +0 -8
  127. package/rules/border-collapse.d.ts +0 -6
  128. package/rules/border-color.d.ts +0 -11
  129. package/rules/border-image-outset.d.ts +0 -5
  130. package/rules/border-image-repeat.d.ts +0 -6
  131. package/rules/border-image-slice.d.ts +0 -6
  132. package/rules/border-image-source.d.ts +0 -6
  133. package/rules/border-image-width.d.ts +0 -6
  134. package/rules/border-image.d.ts +0 -6
  135. package/rules/border-radius.d.ts +0 -9
  136. package/rules/border-spacing.d.ts +0 -5
  137. package/rules/border-style.d.ts +0 -9
  138. package/rules/border-width.d.ts +0 -9
  139. package/rules/border.d.ts +0 -10
  140. package/rules/box-decoration-break.d.ts +0 -9
  141. package/rules/box-shadow.d.ts +0 -7
  142. package/rules/box-sizing.d.ts +0 -6
  143. package/rules/break-after.d.ts +0 -5
  144. package/rules/break-before.d.ts +0 -5
  145. package/rules/break-inside.d.ts +0 -5
  146. package/rules/caret-color.d.ts +0 -7
  147. package/rules/clear.d.ts +0 -5
  148. package/rules/clip-path.d.ts +0 -6
  149. package/rules/color.d.ts +0 -8
  150. package/rules/column-span.d.ts +0 -6
  151. package/rules/columns.d.ts +0 -8
  152. package/rules/contain.d.ts +0 -5
  153. package/rules/content.d.ts +0 -5
  154. package/rules/counter-increment.d.ts +0 -6
  155. package/rules/cursor.d.ts +0 -5
  156. package/rules/cx.d.ts +0 -6
  157. package/rules/cy.d.ts +0 -6
  158. package/rules/direction.d.ts +0 -5
  159. package/rules/display.d.ts +0 -6
  160. package/rules/fill.d.ts +0 -7
  161. package/rules/filter.d.ts +0 -7
  162. package/rules/flex-basis.d.ts +0 -5
  163. package/rules/flex-direction.d.ts +0 -6
  164. package/rules/flex-grow.d.ts +0 -6
  165. package/rules/flex-shrink.d.ts +0 -6
  166. package/rules/flex-wrap.d.ts +0 -6
  167. package/rules/flex.d.ts +0 -7
  168. package/rules/float.d.ts +0 -5
  169. package/rules/font-family.d.ts +0 -6
  170. package/rules/font-size.d.ts +0 -6
  171. package/rules/font-smoothing.d.ts +0 -9
  172. package/rules/font-style.d.ts +0 -7
  173. package/rules/font-variant-numeric.d.ts +0 -6
  174. package/rules/font-weight.d.ts +0 -7
  175. package/rules/font.d.ts +0 -8
  176. package/rules/gap.d.ts +0 -9
  177. package/rules/grid-area.d.ts +0 -7
  178. package/rules/grid-auto-columns.d.ts +0 -6
  179. package/rules/grid-auto-flow.d.ts +0 -6
  180. package/rules/grid-auto-rows.d.ts +0 -5
  181. package/rules/grid-column-end.d.ts +0 -7
  182. package/rules/grid-column-start.d.ts +0 -7
  183. package/rules/grid-column.d.ts +0 -9
  184. package/rules/grid-columns.d.ts +0 -10
  185. package/rules/grid-row-end.d.ts +0 -6
  186. package/rules/grid-row-start.d.ts +0 -6
  187. package/rules/grid-row.d.ts +0 -9
  188. package/rules/grid-rows.d.ts +0 -9
  189. package/rules/grid-template-areas.d.ts +0 -5
  190. package/rules/grid-template-columns.d.ts +0 -6
  191. package/rules/grid-template-rows.d.ts +0 -5
  192. package/rules/grid-template.d.ts +0 -6
  193. package/rules/grid.d.ts +0 -6
  194. package/rules/group.d.ts +0 -9
  195. package/rules/height.d.ts +0 -6
  196. package/rules/inset.d.ts +0 -9
  197. package/rules/isolation.d.ts +0 -5
  198. package/rules/justify-content.d.ts +0 -6
  199. package/rules/justify-items.d.ts +0 -6
  200. package/rules/justify-self.d.ts +0 -6
  201. package/rules/letter-spacing.d.ts +0 -7
  202. package/rules/line-height.d.ts +0 -7
  203. package/rules/lines.d.ts +0 -9
  204. package/rules/list-style-image.d.ts +0 -6
  205. package/rules/list-style-position.d.ts +0 -6
  206. package/rules/list-style-type.d.ts +0 -6
  207. package/rules/list-style.d.ts +0 -6
  208. package/rules/margin.d.ts +0 -9
  209. package/rules/mask-image.d.ts +0 -8
  210. package/rules/max-height.d.ts +0 -6
  211. package/rules/max-width.d.ts +0 -6
  212. package/rules/min-height.d.ts +0 -6
  213. package/rules/min-width.d.ts +0 -6
  214. package/rules/mix-blend-mode.d.ts +0 -6
  215. package/rules/object-fit.d.ts +0 -6
  216. package/rules/object-position.d.ts +0 -6
  217. package/rules/opacity.d.ts +0 -6
  218. package/rules/order.d.ts +0 -7
  219. package/rules/outline-color.d.ts +0 -7
  220. package/rules/outline-offset.d.ts +0 -5
  221. package/rules/outline-style.d.ts +0 -6
  222. package/rules/outline-width.d.ts +0 -6
  223. package/rules/outline.d.ts +0 -7
  224. package/rules/overflow.d.ts +0 -9
  225. package/rules/overscroll-behavior.d.ts +0 -8
  226. package/rules/padding.d.ts +0 -9
  227. package/rules/place-content.d.ts +0 -6
  228. package/rules/place-items.d.ts +0 -6
  229. package/rules/place-self.d.ts +0 -6
  230. package/rules/placement.d.ts +0 -8
  231. package/rules/pointer-events.d.ts +0 -5
  232. package/rules/position.d.ts +0 -5
  233. package/rules/quotes.d.ts +0 -5
  234. package/rules/resize.d.ts +0 -5
  235. package/rules/rx.d.ts +0 -6
  236. package/rules/ry.d.ts +0 -6
  237. package/rules/scroll-behavior.d.ts +0 -5
  238. package/rules/scroll-margin.d.ts +0 -9
  239. package/rules/scroll-padding.d.ts +0 -9
  240. package/rules/scroll-snap-align.d.ts +0 -6
  241. package/rules/scroll-snap-stop.d.ts +0 -6
  242. package/rules/scroll-snap-type.d.ts +0 -6
  243. package/rules/shape-image-threshold.d.ts +0 -6
  244. package/rules/shape-margin.d.ts +0 -6
  245. package/rules/shape-outside.d.ts +0 -6
  246. package/rules/spacing.d.ts +0 -9
  247. package/rules/stroke-dasharray.d.ts +0 -5
  248. package/rules/stroke-dashoffset.d.ts +0 -5
  249. package/rules/stroke-width.d.ts +0 -6
  250. package/rules/stroke.d.ts +0 -6
  251. package/rules/table-layout.d.ts +0 -5
  252. package/rules/text-align.d.ts +0 -6
  253. package/rules/text-decoration-color.d.ts +0 -7
  254. package/rules/text-decoration-line.d.ts +0 -6
  255. package/rules/text-decoration-style.d.ts +0 -6
  256. package/rules/text-decoration-thickness.d.ts +0 -7
  257. package/rules/text-decoration.d.ts +0 -8
  258. package/rules/text-fill-color.d.ts +0 -10
  259. package/rules/text-indent.d.ts +0 -5
  260. package/rules/text-orientation.d.ts +0 -6
  261. package/rules/text-overflow.d.ts +0 -6
  262. package/rules/text-rendering.d.ts +0 -6
  263. package/rules/text-shadow.d.ts +0 -6
  264. package/rules/text-size.d.ts +0 -8
  265. package/rules/text-stroke-color.d.ts +0 -10
  266. package/rules/text-stroke-width.d.ts +0 -8
  267. package/rules/text-stroke.d.ts +0 -8
  268. package/rules/text-transform.d.ts +0 -6
  269. package/rules/text-underline-offset.d.ts +0 -5
  270. package/rules/touch-action.d.ts +0 -5
  271. package/rules/transform-box.d.ts +0 -6
  272. package/rules/transform-origin.d.ts +0 -7
  273. package/rules/transform-style.d.ts +0 -6
  274. package/rules/transform.d.ts +0 -8
  275. package/rules/transition-delay.d.ts +0 -7
  276. package/rules/transition-duration.d.ts +0 -7
  277. package/rules/transition-property.d.ts +0 -6
  278. package/rules/transition-timing-function.d.ts +0 -6
  279. package/rules/transition.d.ts +0 -7
  280. package/rules/user-drag.d.ts +0 -8
  281. package/rules/user-select.d.ts +0 -8
  282. package/rules/variable.d.ts +0 -9
  283. package/rules/vertical-align.d.ts +0 -6
  284. package/rules/visibility.d.ts +0 -5
  285. package/rules/white-space.d.ts +0 -6
  286. package/rules/width.d.ts +0 -6
  287. package/rules/will-change.d.ts +0 -5
  288. package/rules/word-break.d.ts +0 -6
  289. package/rules/word-spacing.d.ts +0 -6
  290. package/rules/writing-mode.d.ts +0 -6
  291. package/rules/x.d.ts +0 -6
  292. package/rules/y.d.ts +0 -6
  293. package/utils/get-border-props.d.ts +0 -3
  294. package/utils/parse-value-unit.d.ts +0 -1
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- static colorful: boolean;
6
- }
@@ -1,8 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- get(declaration: any): {
6
- [key: string]: any;
7
- };
8
- }
@@ -1,10 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static colorStarts: string;
6
- static colorful: boolean;
7
- get(declaration: any): {
8
- [key: string]: any;
9
- };
10
- }
@@ -1,8 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- get(declaration: any): {
6
- [key: string]: any;
7
- };
8
- }
@@ -1,8 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- get(declaration: any): {
6
- [key: string]: any;
7
- };
8
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,5 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- }
@@ -1,5 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,7 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- static unit: string;
7
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,8 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- static unit: string;
7
- parseValue(value: string): string;
8
- }
@@ -1,7 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- static unit: string;
7
- }
@@ -1,7 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- static unit: string;
7
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,7 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static symbol: string;
5
- static propName: string;
6
- order: number;
7
- }
@@ -1,8 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- get(declaration: any): {
6
- [key: string]: any;
7
- };
8
- }
@@ -1,8 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- get(declaration: any): {
6
- [key: string]: any;
7
- };
8
- }
@@ -1,9 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static unit: string;
6
- get(declaration: any): {
7
- [key: string]: any;
8
- };
9
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,5 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- static unit: string;
6
- }
package/rules/width.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
@@ -1,5 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- static unit: string;
6
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- static unit: string;
6
- }
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static matches: RegExp;
5
- static propName: string;
6
- }
package/rules/x.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- static unit: string;
6
- }
package/rules/y.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { MasterCSSRule } from '../rule';
2
- export default class extends MasterCSSRule {
3
- static id: string;
4
- static propName: string;
5
- static unit: string;
6
- }
@@ -1,3 +0,0 @@
1
- export declare function getBorderProps(name: string, declaration: any, suffix?: string): {
2
- [x: string]: any;
3
- };
@@ -1 +0,0 @@
1
- export declare function parseValueUnit(value: string, getUnit: (method: string) => string): string;