@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,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class TransitionTimingFunction extends Style {
3
- static matches: RegExp;
4
- static key: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class Transition extends Style {
3
- static symbol: string;
4
- static key: string;
5
- order: number;
6
- }
@@ -1,7 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class UserDrag extends Style {
3
- static key: string;
4
- get props(): {
5
- [key: string]: any;
6
- };
7
- }
@@ -1,7 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class UserSelect extends Style {
3
- static key: string;
4
- get props(): {
5
- [key: string]: any;
6
- };
7
- }
@@ -1,43 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class Utility extends Style {
3
- static semantics: {
4
- 'center-content': {
5
- 'justify-content': string;
6
- 'align-items': string;
7
- };
8
- 'sr-only': {
9
- position: string;
10
- width: string;
11
- height: string;
12
- padding: string;
13
- margin: string;
14
- overflow: string;
15
- clip: string;
16
- 'white-space': string;
17
- 'border-width': string;
18
- };
19
- full: {
20
- width: string;
21
- height: string;
22
- };
23
- center: {
24
- left: number;
25
- right: number;
26
- 'margin-left': string;
27
- 'margin-right': string;
28
- };
29
- middle: {
30
- top: number;
31
- bottom: number;
32
- 'margin-top': string;
33
- 'margin-bottom': string;
34
- };
35
- 'break-spaces': {
36
- 'white-space': string;
37
- };
38
- 'break-word': {
39
- 'overflow-wrap': string;
40
- overflow: string;
41
- };
42
- };
43
- }
@@ -1,9 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class Variable extends Style {
3
- static id: string;
4
- static matches: RegExp;
5
- static unit: string;
6
- get props(): {
7
- [key: string]: any;
8
- };
9
- }
@@ -1,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class VerticalAlign extends Style {
3
- static matches: RegExp;
4
- static key: string;
5
- }
@@ -1,8 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class Visibility extends Style {
3
- static key: string;
4
- static semantics: {
5
- visible: string;
6
- invisible: string;
7
- };
8
- }
@@ -1,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class WhiteSpace extends Style {
3
- static key: string;
4
- static unit: string;
5
- }
package/styles/width.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class Width extends Style {
3
- static matches: RegExp;
4
- static key: string;
5
- static values: {
6
- full: string;
7
- fit: string;
8
- max: string;
9
- min: string;
10
- };
11
- }
@@ -1,4 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class WillChange extends Style {
3
- static key: string;
4
- }
@@ -1,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class WordBreak extends Style {
3
- static key: string;
4
- static unit: string;
5
- }
@@ -1,4 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class WordSpacing extends Style {
3
- static key: string;
4
- }
@@ -1,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class WritingMode extends Style {
3
- static matches: RegExp;
4
- static key: string;
5
- }
package/styles/x.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class X extends Style {
3
- static key: string;
4
- static unit: string;
5
- }
package/styles/y.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class Y extends Style {
3
- static key: string;
4
- static unit: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { Style } from '../style';
2
- export declare class ZIndex extends Style {
3
- static matches: RegExp;
4
- static key: string;
5
- static unit: string;
6
- }
@@ -1,3 +0,0 @@
1
- export declare function getBorderProps(name: string, instance: object, suffix?: string): {
2
- [x: string]: object;
3
- };
@@ -1,5 +0,0 @@
1
- export declare function getCssPropertyText(name: string, property: {
2
- unit?: string;
3
- value: any;
4
- important?: boolean;
5
- }): string;
@@ -1,5 +0,0 @@
1
- /**
2
- * 將 calc( 正規化
3
- * https://aoyue.notion.site/css-calc-2f37632c5cf749949cc060f0f2111443
4
- */
5
- export declare function normalizeCssCalcText(value: string): string;
@@ -1 +0,0 @@
1
- export declare function parseValueUnit(value: string, getUnit: (method: string) => string): string;
@@ -1,5 +0,0 @@
1
- export declare function parseValue(token: string | number, defaultUnit?: string, colors?: Record<string, Record<string, string>>, values?: Record<string, Record<string, string>>, rootSize?: number): {
2
- value: any;
3
- unit: string;
4
- unitToken: string;
5
- };