@master/css 2.0.0-beta.44 → 2.0.0-beta.46

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 (206) hide show
  1. package/dist/config/rules.d.ts +1 -2
  2. package/dist/css.d.ts +1 -0
  3. package/dist/index.browser.js +1 -1
  4. package/dist/index.browser.js.map +4 -4
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.cjs.map +4 -4
  7. package/dist/index.mjs +1 -1
  8. package/dist/index.mjs.map +4 -4
  9. package/dist/rule.d.ts +2 -2
  10. package/dist/rules/accent-color.d.ts +1 -1
  11. package/dist/rules/align-content.d.ts +2 -2
  12. package/dist/rules/align-items.d.ts +2 -2
  13. package/dist/rules/align-self.d.ts +2 -2
  14. package/dist/rules/animation-delay.d.ts +2 -2
  15. package/dist/rules/animation-direction.d.ts +2 -2
  16. package/dist/rules/animation-duration.d.ts +2 -2
  17. package/dist/rules/animation-fill-mode.d.ts +2 -2
  18. package/dist/rules/animation-iteration-count.d.ts +2 -2
  19. package/dist/rules/animation-name.d.ts +2 -2
  20. package/dist/rules/animation-play-state.d.ts +2 -2
  21. package/dist/rules/animation-timing-function.d.ts +2 -2
  22. package/dist/rules/animation.d.ts +1 -1
  23. package/dist/rules/appearance.d.ts +1 -1
  24. package/dist/rules/aspect-ratio.d.ts +2 -2
  25. package/dist/rules/backdrop-filter.d.ts +2 -2
  26. package/dist/rules/background-attachment.d.ts +2 -2
  27. package/dist/rules/background-blend-mode.d.ts +1 -1
  28. package/dist/rules/background-clip.d.ts +2 -2
  29. package/dist/rules/background-color.d.ts +1 -1
  30. package/dist/rules/background-image.d.ts +2 -2
  31. package/dist/rules/background-origin.d.ts +2 -2
  32. package/dist/rules/background-position.d.ts +2 -2
  33. package/dist/rules/background-repeat.d.ts +2 -2
  34. package/dist/rules/background-size.d.ts +2 -2
  35. package/dist/rules/background.d.ts +2 -2
  36. package/dist/rules/border-collapse.d.ts +2 -2
  37. package/dist/rules/border-color.d.ts +2 -2
  38. package/dist/rules/border-image-outset.d.ts +1 -1
  39. package/dist/rules/border-image-repeat.d.ts +2 -2
  40. package/dist/rules/border-image-slice.d.ts +1 -1
  41. package/dist/rules/border-image-source.d.ts +2 -2
  42. package/dist/rules/border-image-width.d.ts +2 -2
  43. package/dist/rules/border-image.d.ts +1 -1
  44. package/dist/rules/border-radius.d.ts +2 -2
  45. package/dist/rules/border-spacing.d.ts +1 -1
  46. package/dist/rules/border-style.d.ts +2 -2
  47. package/dist/rules/border-width.d.ts +2 -2
  48. package/dist/rules/border.d.ts +2 -2
  49. package/dist/rules/box-decoration-break.d.ts +2 -2
  50. package/dist/rules/box-shadow.d.ts +2 -2
  51. package/dist/rules/box-sizing.d.ts +2 -2
  52. package/dist/rules/break-after.d.ts +1 -1
  53. package/dist/rules/break-before.d.ts +1 -1
  54. package/dist/rules/break-inside.d.ts +1 -1
  55. package/dist/rules/caret-color.d.ts +1 -1
  56. package/dist/rules/clear.d.ts +1 -1
  57. package/dist/rules/clip-path.d.ts +2 -2
  58. package/dist/rules/color.d.ts +1 -1
  59. package/dist/rules/column-span.d.ts +2 -2
  60. package/dist/rules/columns.d.ts +2 -2
  61. package/dist/rules/contain.d.ts +1 -1
  62. package/dist/rules/content.d.ts +1 -1
  63. package/dist/rules/counter-increment.d.ts +1 -1
  64. package/dist/rules/counter-reset.d.ts +1 -1
  65. package/dist/rules/cursor.d.ts +1 -1
  66. package/dist/rules/cx.d.ts +1 -1
  67. package/dist/rules/cy.d.ts +1 -1
  68. package/dist/rules/direction.d.ts +1 -1
  69. package/dist/rules/display.d.ts +2 -2
  70. package/dist/rules/fill.d.ts +1 -1
  71. package/dist/rules/filter.d.ts +2 -2
  72. package/dist/rules/flex-basis.d.ts +1 -1
  73. package/dist/rules/flex-direction.d.ts +2 -2
  74. package/dist/rules/flex-grow.d.ts +1 -1
  75. package/dist/rules/flex-shrink.d.ts +1 -1
  76. package/dist/rules/flex-wrap.d.ts +2 -2
  77. package/dist/rules/flex.d.ts +1 -1
  78. package/dist/rules/float.d.ts +1 -1
  79. package/dist/rules/font-family.d.ts +2 -2
  80. package/dist/rules/font-feature-settings.d.ts +2 -2
  81. package/dist/rules/font-size.d.ts +2 -2
  82. package/dist/rules/font-smoothing.d.ts +2 -2
  83. package/dist/rules/font-style.d.ts +2 -2
  84. package/dist/rules/font-variant-numeric.d.ts +2 -2
  85. package/dist/rules/font-weight.d.ts +2 -2
  86. package/dist/rules/font.d.ts +2 -2
  87. package/dist/rules/gap.d.ts +2 -2
  88. package/dist/rules/grid-area.d.ts +1 -1
  89. package/dist/rules/grid-auto-columns.d.ts +2 -2
  90. package/dist/rules/grid-auto-flow.d.ts +2 -2
  91. package/dist/rules/grid-auto-rows.d.ts +1 -1
  92. package/dist/rules/grid-column-end.d.ts +2 -2
  93. package/dist/rules/grid-column-start.d.ts +2 -2
  94. package/dist/rules/grid-column.d.ts +2 -2
  95. package/dist/rules/grid-columns.d.ts +2 -2
  96. package/dist/rules/grid-row-end.d.ts +1 -1
  97. package/dist/rules/grid-row-start.d.ts +1 -1
  98. package/dist/rules/grid-row.d.ts +2 -2
  99. package/dist/rules/grid-rows.d.ts +1 -1
  100. package/dist/rules/grid-template-areas.d.ts +1 -1
  101. package/dist/rules/grid-template-columns.d.ts +2 -2
  102. package/dist/rules/grid-template-rows.d.ts +1 -1
  103. package/dist/rules/grid-template.d.ts +1 -1
  104. package/dist/rules/grid.d.ts +1 -1
  105. package/dist/rules/group.d.ts +2 -2
  106. package/dist/rules/height.d.ts +2 -2
  107. package/dist/rules/inset.d.ts +2 -2
  108. package/dist/rules/isolation.d.ts +1 -1
  109. package/dist/rules/justify-content.d.ts +2 -2
  110. package/dist/rules/justify-items.d.ts +2 -2
  111. package/dist/rules/justify-self.d.ts +2 -2
  112. package/dist/rules/letter-spacing.d.ts +2 -2
  113. package/dist/rules/line-clamp.d.ts +1 -1
  114. package/dist/rules/line-height.d.ts +2 -2
  115. package/dist/rules/lines.d.ts +2 -2
  116. package/dist/rules/list-style-image.d.ts +2 -2
  117. package/dist/rules/list-style-position.d.ts +2 -2
  118. package/dist/rules/list-style-type.d.ts +2 -2
  119. package/dist/rules/list-style.d.ts +1 -1
  120. package/dist/rules/margin.d.ts +2 -2
  121. package/dist/rules/mask-image.d.ts +1 -1
  122. package/dist/rules/max-height.d.ts +2 -2
  123. package/dist/rules/max-width.d.ts +2 -2
  124. package/dist/rules/min-height.d.ts +2 -2
  125. package/dist/rules/min-width.d.ts +2 -2
  126. package/dist/rules/mix-blend-mode.d.ts +2 -2
  127. package/dist/rules/object-fit.d.ts +2 -2
  128. package/dist/rules/object-position.d.ts +2 -2
  129. package/dist/rules/opacity.d.ts +1 -1
  130. package/dist/rules/order.d.ts +2 -2
  131. package/dist/rules/outline-color.d.ts +1 -1
  132. package/dist/rules/outline-offset.d.ts +1 -1
  133. package/dist/rules/outline-style.d.ts +2 -2
  134. package/dist/rules/outline-width.d.ts +2 -2
  135. package/dist/rules/outline.d.ts +1 -1
  136. package/dist/rules/overflow.d.ts +2 -2
  137. package/dist/rules/overscroll-behavior.d.ts +2 -2
  138. package/dist/rules/padding.d.ts +2 -2
  139. package/dist/rules/place-content.d.ts +1 -1
  140. package/dist/rules/place-items.d.ts +1 -1
  141. package/dist/rules/place-self.d.ts +1 -1
  142. package/dist/rules/pointer-events.d.ts +1 -1
  143. package/dist/rules/position.d.ts +1 -1
  144. package/dist/rules/quotes.d.ts +1 -1
  145. package/dist/rules/resize.d.ts +1 -1
  146. package/dist/rules/rx.d.ts +1 -1
  147. package/dist/rules/ry.d.ts +1 -1
  148. package/dist/rules/scroll-behavior.d.ts +1 -1
  149. package/dist/rules/scroll-margin.d.ts +2 -2
  150. package/dist/rules/scroll-padding.d.ts +2 -2
  151. package/dist/rules/scroll-snap-align.d.ts +2 -2
  152. package/dist/rules/scroll-snap-stop.d.ts +2 -2
  153. package/dist/rules/scroll-snap-type.d.ts +2 -2
  154. package/dist/rules/shape-image-threshold.d.ts +1 -1
  155. package/dist/rules/shape-margin.d.ts +2 -2
  156. package/dist/rules/shape-outside.d.ts +2 -2
  157. package/dist/rules/spacing.d.ts +2 -2
  158. package/dist/rules/stroke-dasharray.d.ts +1 -1
  159. package/dist/rules/stroke-dashoffset.d.ts +1 -1
  160. package/dist/rules/stroke-width.d.ts +2 -2
  161. package/dist/rules/stroke.d.ts +1 -1
  162. package/dist/rules/table-layout.d.ts +1 -1
  163. package/dist/rules/text-align.d.ts +2 -2
  164. package/dist/rules/text-decoration-color.d.ts +1 -1
  165. package/dist/rules/text-decoration-line.d.ts +2 -2
  166. package/dist/rules/text-decoration-style.d.ts +2 -2
  167. package/dist/rules/text-decoration-thickness.d.ts +2 -2
  168. package/dist/rules/text-decoration.d.ts +2 -2
  169. package/dist/rules/text-fill-color.d.ts +2 -2
  170. package/dist/rules/text-indent.d.ts +1 -1
  171. package/dist/rules/text-orientation.d.ts +2 -2
  172. package/dist/rules/text-overflow.d.ts +2 -2
  173. package/dist/rules/text-rendering.d.ts +2 -2
  174. package/dist/rules/text-shadow.d.ts +1 -1
  175. package/dist/rules/text-size.d.ts +2 -2
  176. package/dist/rules/text-stroke-color.d.ts +2 -2
  177. package/dist/rules/text-stroke-width.d.ts +2 -2
  178. package/dist/rules/text-stroke.d.ts +2 -2
  179. package/dist/rules/text-transform.d.ts +2 -2
  180. package/dist/rules/text-underline-offset.d.ts +1 -1
  181. package/dist/rules/touch-action.d.ts +1 -1
  182. package/dist/rules/transform-box.d.ts +2 -2
  183. package/dist/rules/transform-origin.d.ts +2 -2
  184. package/dist/rules/transform-style.d.ts +2 -2
  185. package/dist/rules/transform.d.ts +2 -2
  186. package/dist/rules/transition-delay.d.ts +2 -2
  187. package/dist/rules/transition-duration.d.ts +2 -2
  188. package/dist/rules/transition-property.d.ts +2 -2
  189. package/dist/rules/transition-timing-function.d.ts +2 -2
  190. package/dist/rules/transition.d.ts +1 -1
  191. package/dist/rules/user-drag.d.ts +1 -1
  192. package/dist/rules/user-select.d.ts +1 -1
  193. package/dist/rules/variable.d.ts +2 -2
  194. package/dist/rules/vertical-align.d.ts +2 -2
  195. package/dist/rules/visibility.d.ts +1 -1
  196. package/dist/rules/white-space.d.ts +1 -1
  197. package/dist/rules/width.d.ts +2 -2
  198. package/dist/rules/will-change.d.ts +1 -1
  199. package/dist/rules/word-break.d.ts +1 -1
  200. package/dist/rules/word-spacing.d.ts +1 -1
  201. package/dist/rules/writing-mode.d.ts +2 -2
  202. package/dist/rules/x.d.ts +1 -1
  203. package/dist/rules/y.d.ts +1 -1
  204. package/dist/rules/z-index.d.ts +2 -2
  205. package/package.json +10 -6
  206. package/dist/rules/placement.d.ts +0 -9
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Resize';
3
+ static id: "Resize";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Rx';
3
+ static id: "Rx";
4
4
  static unit: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Ry';
3
+ static id: "Ry";
4
4
  static unit: string;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ScrollBehavior';
3
+ static id: "ScrollBehavior";
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ScrollMargin';
4
- static matches: RegExp;
3
+ static id: "ScrollMargin";
4
+ static matches: string;
5
5
  static get prop(): string;
6
6
  get(declaration: any): {
7
7
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ScrollPadding';
4
- static matches: RegExp;
3
+ static id: "ScrollPadding";
4
+ static matches: string;
5
5
  static get prop(): string;
6
6
  get(declaration: any): {
7
7
  [key: string]: any;
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ScrollSnapAlign';
4
- static matches: RegExp;
3
+ static id: "ScrollSnapAlign";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ScrollSnapStop';
4
- static matches: RegExp;
3
+ static id: "ScrollSnapStop";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ScrollSnapType';
4
- static matches: RegExp;
3
+ static id: "ScrollSnapType";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ShapeImageThreshold';
3
+ static id: "ShapeImageThreshold";
4
4
  static unit: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ShapeMargin';
4
- static matches: RegExp;
3
+ static id: "ShapeMargin";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ShapeOutside';
4
- static matches: RegExp;
3
+ static id: "ShapeOutside";
4
+ static matches: string;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Spacing';
4
- static matches: RegExp;
3
+ static id: "Spacing";
4
+ static matches: string;
5
5
  static get prop(): string;
6
6
  get(declaration: any): {
7
7
  [key: string]: any;
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'StrokeDasharray';
3
+ static id: "StrokeDasharray";
4
4
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'StrokeDashoffset';
3
+ static id: "StrokeDashoffset";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'StrokeWidth';
4
- static matches: RegExp;
3
+ static id: "StrokeWidth";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Stroke';
3
+ static id: "Stroke";
4
4
  static colorful: boolean;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TableLayout';
3
+ static id: "TableLayout";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextAlign';
4
- static matches: RegExp;
3
+ static id: "TextAlign";
4
+ static matches: string;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextDecorationColor';
3
+ static id: "TextDecorationColor";
4
4
  static colorStarts: string;
5
5
  static colorful: boolean;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextDecorationLine';
4
- static matches: RegExp;
3
+ static id: "TextDecorationLine";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextDecorationStyle';
4
- static matches: RegExp;
3
+ static id: "TextDecorationStyle";
4
+ static matches: string;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextDecorationThickness';
4
- static matches: RegExp;
3
+ static id: "TextDecorationThickness";
4
+ static matches: string;
5
5
  static unit: string;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextDecoration';
4
- static matches: RegExp;
3
+ static id: "TextDecoration";
4
+ static matches: string;
5
5
  static colorful: boolean;
6
6
  order: number;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextFillColor';
4
- static matches: RegExp;
3
+ static id: "TextFillColor";
4
+ static matches: string;
5
5
  static colorStarts: string;
6
6
  static colorful: boolean;
7
7
  static get prop(): string;
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextIndent';
3
+ static id: "TextIndent";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextOrientation';
4
- static matches: RegExp;
3
+ static id: "TextOrientation";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextOverflow';
4
- static matches: RegExp;
3
+ static id: "TextOverflow";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextRendering';
4
- static matches: RegExp;
3
+ static id: "TextRendering";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextShadow';
3
+ static id: "TextShadow";
4
4
  static colorful: boolean;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextSize';
4
- static matches: RegExp;
3
+ static id: "TextSize";
4
+ static matches: string;
5
5
  static get prop(): string;
6
6
  get(declaration: any): {
7
7
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextStrokeColor';
4
- static matches: RegExp;
3
+ static id: "TextStrokeColor";
4
+ static matches: string;
5
5
  static colorStarts: string;
6
6
  static colorful: boolean;
7
7
  static get prop(): string;
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextStrokeWidth';
4
- static matches: RegExp;
3
+ static id: "TextStrokeWidth";
4
+ static matches: string;
5
5
  static get prop(): string;
6
6
  get(declaration: any): {
7
7
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextStroke';
4
- static matches: RegExp;
3
+ static id: "TextStroke";
4
+ static matches: string;
5
5
  static get prop(): string;
6
6
  get(declaration: any): {
7
7
  [key: string]: any;
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextTransform';
4
- static matches: RegExp;
3
+ static id: "TextTransform";
4
+ static matches: string;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TextUnderlineOffset';
3
+ static id: "TextUnderlineOffset";
4
4
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TouchAction';
3
+ static id: "TouchAction";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransformBox';
4
- static matches: RegExp;
3
+ static id: "TransformBox";
4
+ static matches: string;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransformOrigin';
4
- static matches: RegExp;
3
+ static id: "TransformOrigin";
4
+ static matches: string;
5
5
  static unit: string;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransformStyle';
4
- static matches: RegExp;
3
+ static id: "TransformStyle";
4
+ static matches: string;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  import type { Config } from '../config';
2
2
  import Rule from '../rule';
3
3
  export default class extends Rule {
4
- static id: 'Transform';
5
- static matches: RegExp;
4
+ static id: "Transform";
5
+ static matches: string;
6
6
  static unit: string;
7
7
  parseValue(value: string, { rootSize }: Config): string;
8
8
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransitionDelay';
4
- static matches: RegExp;
3
+ static id: "TransitionDelay";
4
+ static matches: string;
5
5
  static unit: string;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransitionDuration';
4
- static matches: RegExp;
3
+ static id: "TransitionDuration";
4
+ static matches: string;
5
5
  static unit: string;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransitionProperty';
4
- static matches: RegExp;
3
+ static id: "TransitionProperty";
4
+ static matches: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'TransitionTimingFunction';
4
- static matches: RegExp;
3
+ static id: "TransitionTimingFunction";
4
+ static matches: string;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Transition';
3
+ static id: "Transition";
4
4
  static symbol: string;
5
5
  order: number;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'UserDrag';
3
+ static id: "UserDrag";
4
4
  get(declaration: any): {
5
5
  [key: string]: any;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'UserSelect';
3
+ static id: "UserSelect";
4
4
  get(declaration: any): {
5
5
  [key: string]: any;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Variable';
4
- static matches: RegExp;
3
+ static id: "Variable";
4
+ static matches: string;
5
5
  static unit: string;
6
6
  static get prop(): string;
7
7
  get(declaration: any): {
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'VerticalAlign';
4
- static matches: RegExp;
3
+ static id: "VerticalAlign";
4
+ static matches: string;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Visibility';
3
+ static id: "Visibility";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'WhiteSpace';
3
+ static id: "WhiteSpace";
4
4
  static unit: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Width';
4
- static matches: RegExp;
3
+ static id: "Width";
4
+ static matches: string;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'WillChange';
3
+ static id: "WillChange";
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'WordBreak';
3
+ static id: "WordBreak";
4
4
  static unit: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'WordSpacing';
3
+ static id: "WordSpacing";
4
4
  static unit: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'WritingMode';
4
- static matches: RegExp;
3
+ static id: "WritingMode";
4
+ static matches: string;
5
5
  }
package/dist/rules/x.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'X';
3
+ static id: "X";
4
4
  static unit: string;
5
5
  }
package/dist/rules/y.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'Y';
3
+ static id: "Y";
4
4
  static unit: string;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import Rule from '../rule';
2
2
  export default class extends Rule {
3
- static id: 'ZIndex';
4
- static matches: RegExp;
3
+ static id: "ZIndex";
4
+ static matches: string;
5
5
  static unit: string;
6
6
  }
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@master/css",
3
3
  "scripts": {
4
- "build:iife": "esbuild src/index.browser.ts --bundle --outfile=dist/index.browser.js --format=iife",
5
- "build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.cjs --format=cjs --platform=node",
6
- "build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --platform=node",
7
- "build": "concurrently 'npm:build:* -- --minify --sourcemap' 'tsc --emitDeclarationOnly'",
8
- "dev": "concurrently 'npm:build:* -- --watch'",
4
+ "build:iife": "esbuild src/index.browser.ts --bundle --outfile=dist/index.browser.js --format=iife --minify --sourcemap",
5
+ "build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.cjs --format=cjs --platform=node --minify --sourcemap",
6
+ "build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --platform=node --minify --sourcemap",
7
+ "build": "npm run build:iife && npm run build:cjs && npm run build:esm && tsc --emitDeclarationOnly",
8
+ "dev:iife": "npm run build:iife -- --watch",
9
+ "dev:cjs": "npm run build:cjs -- --watch",
10
+ "dev:esm": "npm run build:esm -- --watch",
9
11
  "test": "jest",
10
12
  "lint": "eslint ./src"
11
13
  },
@@ -46,7 +48,9 @@
46
48
  "./src/polyfills/css-escape.ts"
47
49
  ],
48
50
  "main": "./dist/index.cjs",
51
+ "jsnext:main": "./dist/index.mjs",
49
52
  "browser": "./dist/index.browser.js",
53
+ "esnext": "./dist/index.mjs",
50
54
  "module": "./dist/index.mjs",
51
55
  "types": "./dist/index.d.ts",
52
56
  "exports": {
@@ -59,5 +63,5 @@
59
63
  "files": [
60
64
  "dist"
61
65
  ],
62
- "version": "2.0.0-beta.44"
66
+ "version": "2.0.0-beta.46"
63
67
  }
@@ -1,9 +0,0 @@
1
- import Rule from '../rule';
2
- export default class extends Rule {
3
- static id: 'Placement';
4
- static matches: RegExp;
5
- static get prop(): string;
6
- get(declaration: any): {
7
- [key: string]: any;
8
- };
9
- }