tailwindcss-core-plugins-extractor 0.0.1 → 0.1.0

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 (182) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +27 -1
  3. package/dist/index.es.js +50 -38
  4. package/dist/index.js +55 -37
  5. package/package.json +58 -45
  6. package/{dist/types → types}/corePlugins/accentColor.d.ts +747 -681
  7. package/{dist/types → types}/corePlugins/accessibility.d.ts +24 -24
  8. package/{dist/types → types}/corePlugins/alignContent.d.ts +30 -21
  9. package/{dist/types → types}/corePlugins/alignItems.d.ts +18 -18
  10. package/{dist/types → types}/corePlugins/alignSelf.d.ts +21 -21
  11. package/{dist/types → types}/corePlugins/animation.d.ts +56 -56
  12. package/{dist/types → types}/corePlugins/appearance.d.ts +6 -6
  13. package/{dist/types → types}/corePlugins/aspectRatio.d.ts +12 -12
  14. package/{dist/types → types}/corePlugins/backdropBlur.d.ts +39 -39
  15. package/{dist/types → types}/corePlugins/backdropBrightness.d.ts +47 -47
  16. package/{dist/types → types}/corePlugins/backdropContrast.d.ts +31 -31
  17. package/{dist/types → types}/corePlugins/backdropFilter.d.ts +9 -9
  18. package/{dist/types → types}/corePlugins/backdropGrayscale.d.ts +11 -11
  19. package/{dist/types → types}/corePlugins/backdropHueRotate.d.ts +27 -27
  20. package/{dist/types → types}/corePlugins/backdropInvert.d.ts +11 -11
  21. package/{dist/types → types}/corePlugins/backdropOpacity.d.ts +63 -63
  22. package/{dist/types → types}/corePlugins/backdropSaturate.d.ts +23 -23
  23. package/{dist/types → types}/corePlugins/backdropSepia.d.ts +11 -11
  24. package/{dist/types → types}/corePlugins/backgroundAttachment.d.ts +12 -12
  25. package/{dist/types → types}/corePlugins/backgroundBlendMode.d.ts +51 -51
  26. package/{dist/types → types}/corePlugins/backgroundClip.d.ts +15 -15
  27. package/{dist/types → types}/corePlugins/backgroundColor.d.ts +988 -900
  28. package/{dist/types → types}/corePlugins/backgroundImage.d.ts +30 -30
  29. package/{dist/types → types}/corePlugins/backgroundOpacity.d.ts +48 -48
  30. package/{dist/types → types}/corePlugins/backgroundOrigin.d.ts +12 -12
  31. package/{dist/types → types}/corePlugins/backgroundPosition.d.ts +30 -30
  32. package/{dist/types → types}/corePlugins/backgroundRepeat.d.ts +21 -21
  33. package/{dist/types → types}/corePlugins/backgroundSize.d.ts +12 -12
  34. package/{dist/types → types}/corePlugins/blur.d.ts +39 -39
  35. package/{dist/types → types}/corePlugins/borderCollapse.d.ts +9 -9
  36. package/{dist/types → types}/corePlugins/borderColor.d.ts +9362 -6732
  37. package/{dist/types → types}/corePlugins/borderOpacity.d.ts +48 -48
  38. package/{dist/types → types}/corePlugins/borderRadius.d.ts +462 -282
  39. package/types/corePlugins/borderSpacing.d.ts +458 -0
  40. package/{dist/types → types}/corePlugins/borderStyle.d.ts +21 -21
  41. package/{dist/types → types}/corePlugins/borderWidth.d.ts +148 -118
  42. package/{dist/types → types}/corePlugins/boxDecorationBreak.d.ts +15 -15
  43. package/{dist/types → types}/corePlugins/boxShadow.d.ts +43 -43
  44. package/{dist/types → types}/corePlugins/boxShadowColor.d.ts +991 -903
  45. package/{dist/types → types}/corePlugins/boxSizing.d.ts +9 -9
  46. package/{dist/types → types}/corePlugins/breakAfter.d.ts +27 -27
  47. package/{dist/types → types}/corePlugins/breakBefore.d.ts +27 -27
  48. package/{dist/types → types}/corePlugins/breakInside.d.ts +15 -15
  49. package/{dist/types → types}/corePlugins/brightness.d.ts +47 -47
  50. package/types/corePlugins/captionSide.d.ts +9 -0
  51. package/{dist/types → types}/corePlugins/caretColor.d.ts +744 -678
  52. package/{dist/types → types}/corePlugins/clear.d.ts +15 -15
  53. package/{dist/types → types}/corePlugins/columns.d.ts +81 -81
  54. package/{dist/types → types}/corePlugins/container.d.ts +2 -2
  55. package/{dist/types → types}/corePlugins/content.d.ts +7 -7
  56. package/{dist/types → types}/corePlugins/contrast.d.ts +31 -31
  57. package/{dist/types → types}/corePlugins/cursor.d.ts +111 -111
  58. package/{dist/types → types}/corePlugins/display.d.ts +66 -66
  59. package/{dist/types → types}/corePlugins/divideColor.d.ts +988 -900
  60. package/{dist/types → types}/corePlugins/divideOpacity.d.ts +48 -48
  61. package/{dist/types → types}/corePlugins/divideStyle.d.ts +18 -18
  62. package/{dist/types → types}/corePlugins/divideWidth.d.ts +59 -59
  63. package/{dist/types → types}/corePlugins/dropShadow.d.ts +31 -31
  64. package/{dist/types → types}/corePlugins/fill.d.ts +747 -678
  65. package/{dist/types → types}/corePlugins/filter.d.ts +9 -9
  66. package/{dist/types → types}/corePlugins/flex.d.ts +15 -15
  67. package/{dist/types → types}/corePlugins/flexBasis.d.ts +192 -192
  68. package/{dist/types → types}/corePlugins/flexDirection.d.ts +15 -15
  69. package/{dist/types → types}/corePlugins/flexGrow.d.ts +15 -15
  70. package/{dist/types → types}/corePlugins/flexShrink.d.ts +15 -15
  71. package/{dist/types → types}/corePlugins/flexWrap.d.ts +12 -12
  72. package/{dist/types → types}/corePlugins/float.d.ts +12 -12
  73. package/{dist/types → types}/corePlugins/fontFamily.d.ts +12 -12
  74. package/{dist/types → types}/corePlugins/fontSize.d.ts +55 -55
  75. package/{dist/types → types}/corePlugins/fontSmoothing.d.ts +11 -11
  76. package/{dist/types → types}/corePlugins/fontStyle.d.ts +9 -9
  77. package/{dist/types → types}/corePlugins/fontVariantNumeric.d.ts +38 -38
  78. package/{dist/types → types}/corePlugins/fontWeight.d.ts +30 -30
  79. package/{dist/types → types}/corePlugins/gap.d.ts +318 -318
  80. package/{dist/types → types}/corePlugins/gradientColorStops.d.ts +3156 -2253
  81. package/{dist/types → types}/corePlugins/grayscale.d.ts +11 -11
  82. package/{dist/types → types}/corePlugins/gridAutoColumns.d.ts +15 -15
  83. package/{dist/types → types}/corePlugins/gridAutoFlow.d.ts +18 -15
  84. package/{dist/types → types}/corePlugins/gridAutoRows.d.ts +15 -15
  85. package/{dist/types → types}/corePlugins/gridColumn.d.ts +45 -45
  86. package/{dist/types → types}/corePlugins/gridColumnEnd.d.ts +45 -45
  87. package/{dist/types → types}/corePlugins/gridColumnStart.d.ts +45 -45
  88. package/{dist/types → types}/corePlugins/gridRow.d.ts +27 -27
  89. package/{dist/types → types}/corePlugins/gridRowEnd.d.ts +27 -27
  90. package/{dist/types → types}/corePlugins/gridRowStart.d.ts +27 -27
  91. package/{dist/types → types}/corePlugins/gridTemplateColumns.d.ts +42 -42
  92. package/{dist/types → types}/corePlugins/gridTemplateRows.d.ts +24 -24
  93. package/{dist/types → types}/corePlugins/height.d.ts +171 -171
  94. package/{dist/types → types}/corePlugins/hueRotate.d.ts +27 -27
  95. package/types/corePlugins/hyphens.d.ts +12 -0
  96. package/{dist/types → types}/corePlugins/inset.d.ts +1250 -1121
  97. package/{dist/types → types}/corePlugins/invert.d.ts +11 -11
  98. package/{dist/types → types}/corePlugins/isolation.d.ts +9 -9
  99. package/{dist/types → types}/corePlugins/justifyContent.d.ts +27 -21
  100. package/{dist/types → types}/corePlugins/justifyItems.d.ts +15 -15
  101. package/{dist/types → types}/corePlugins/justifySelf.d.ts +18 -18
  102. package/{dist/types → types}/corePlugins/letterSpacing.d.ts +21 -21
  103. package/types/corePlugins/lineClamp.d.ts +45 -0
  104. package/{dist/types → types}/corePlugins/lineHeight.d.ts +45 -45
  105. package/types/corePlugins/listStyleImage.d.ts +6 -0
  106. package/{dist/types → types}/corePlugins/listStylePosition.d.ts +9 -9
  107. package/{dist/types → types}/corePlugins/listStyleType.d.ts +12 -12
  108. package/{dist/types → types}/corePlugins/margin.d.ts +1047 -831
  109. package/{dist/types → types}/corePlugins/maxHeight.d.ts +126 -123
  110. package/{dist/types → types}/corePlugins/maxWidth.d.ts +72 -72
  111. package/{dist/types → types}/corePlugins/minHeight.d.ts +21 -21
  112. package/{dist/types → types}/corePlugins/minWidth.d.ts +18 -18
  113. package/{dist/types → types}/corePlugins/mixBlendMode.d.ts +54 -51
  114. package/{dist/types → types}/corePlugins/objectFit.d.ts +18 -18
  115. package/{dist/types → types}/corePlugins/objectPosition.d.ts +30 -30
  116. package/{dist/types → types}/corePlugins/opacity.d.ts +48 -48
  117. package/{dist/types → types}/corePlugins/order.d.ts +48 -48
  118. package/{dist/types → types}/corePlugins/outlineColor.d.ts +744 -678
  119. package/{dist/types → types}/corePlugins/outlineOffset.d.ts +18 -18
  120. package/{dist/types → types}/corePlugins/outlineStyle.d.ts +19 -22
  121. package/{dist/types → types}/corePlugins/outlineWidth.d.ts +18 -18
  122. package/{dist/types → types}/corePlugins/overflow.d.ts +48 -48
  123. package/{dist/types → types}/corePlugins/overscrollBehavior.d.ts +30 -30
  124. package/{dist/types → types}/corePlugins/padding.d.ts +1018 -808
  125. package/{dist/types → types}/corePlugins/placeContent.d.ts +27 -24
  126. package/{dist/types → types}/corePlugins/placeItems.d.ts +18 -15
  127. package/{dist/types → types}/corePlugins/placeSelf.d.ts +18 -18
  128. package/{dist/types → types}/corePlugins/placeholderColor.d.ts +988 -900
  129. package/{dist/types → types}/corePlugins/placeholderOpacity.d.ts +48 -48
  130. package/{dist/types → types}/corePlugins/pointerEvents.d.ts +9 -9
  131. package/{dist/types → types}/corePlugins/position.d.ts +18 -18
  132. package/{dist/types → types}/corePlugins/preflight.d.ts +2 -2
  133. package/{dist/types → types}/corePlugins/resize.d.ts +15 -15
  134. package/{dist/types → types}/corePlugins/ringColor.d.ts +988 -900
  135. package/{dist/types → types}/corePlugins/ringOffsetColor.d.ts +744 -678
  136. package/{dist/types → types}/corePlugins/ringOffsetWidth.d.ts +18 -18
  137. package/{dist/types → types}/corePlugins/ringOpacity.d.ts +48 -48
  138. package/{dist/types → types}/corePlugins/ringWidth.d.ts +36 -36
  139. package/{dist/types → types}/corePlugins/rotate.d.ts +39 -39
  140. package/{dist/types → types}/corePlugins/saturate.d.ts +23 -23
  141. package/{dist/types → types}/corePlugins/scale.d.ts +133 -133
  142. package/{dist/types → types}/corePlugins/scrollBehavior.d.ts +9 -9
  143. package/{dist/types → types}/corePlugins/scrollMargin.d.ts +1018 -808
  144. package/{dist/types → types}/corePlugins/scrollPadding.d.ts +1018 -808
  145. package/{dist/types → types}/corePlugins/scrollSnapAlign.d.ts +15 -15
  146. package/{dist/types → types}/corePlugins/scrollSnapStop.d.ts +9 -9
  147. package/{dist/types → types}/corePlugins/scrollSnapType.d.ts +21 -21
  148. package/{dist/types → types}/corePlugins/sepia.d.ts +11 -11
  149. package/{dist/types → types}/corePlugins/skew.d.ts +51 -51
  150. package/{dist/types → types}/corePlugins/space.d.ts +359 -359
  151. package/{dist/types → types}/corePlugins/stroke.d.ts +747 -678
  152. package/{dist/types → types}/corePlugins/strokeWidth.d.ts +12 -12
  153. package/{dist/types → types}/corePlugins/tableLayout.d.ts +9 -9
  154. package/{dist/types → types}/corePlugins/textAlign.d.ts +21 -15
  155. package/{dist/types → types}/corePlugins/textColor.d.ts +988 -900
  156. package/{dist/types → types}/corePlugins/textDecoration.d.ts +15 -15
  157. package/{dist/types → types}/corePlugins/textDecorationColor.d.ts +744 -678
  158. package/{dist/types → types}/corePlugins/textDecorationStyle.d.ts +18 -18
  159. package/{dist/types → types}/corePlugins/textDecorationThickness.d.ts +24 -24
  160. package/{dist/types → types}/corePlugins/textIndent.d.ts +108 -108
  161. package/{dist/types → types}/corePlugins/textOpacity.d.ts +48 -48
  162. package/{dist/types → types}/corePlugins/textOverflow.d.ts +17 -17
  163. package/{dist/types → types}/corePlugins/textTransform.d.ts +15 -15
  164. package/{dist/types → types}/corePlugins/textUnderlineOffset.d.ts +21 -21
  165. package/{dist/types → types}/corePlugins/touchAction.d.ts +40 -40
  166. package/{dist/types → types}/corePlugins/transform.d.ts +15 -15
  167. package/{dist/types → types}/corePlugins/transformOrigin.d.ts +30 -30
  168. package/{dist/types → types}/corePlugins/transitionDelay.d.ts +30 -27
  169. package/{dist/types → types}/corePlugins/transitionDuration.d.ts +30 -27
  170. package/{dist/types → types}/corePlugins/transitionProperty.d.ts +36 -36
  171. package/{dist/types → types}/corePlugins/transitionTimingFunction.d.ts +15 -15
  172. package/{dist/types → types}/corePlugins/translate.d.ts +339 -339
  173. package/{dist/types → types}/corePlugins/userSelect.d.ts +15 -15
  174. package/{dist/types → types}/corePlugins/verticalAlign.d.ts +27 -27
  175. package/{dist/types → types}/corePlugins/visibility.d.ts +12 -9
  176. package/{dist/types → types}/corePlugins/whitespace.d.ts +21 -18
  177. package/{dist/types → types}/corePlugins/width.d.ts +204 -204
  178. package/{dist/types → types}/corePlugins/willChange.d.ts +15 -15
  179. package/{dist/types → types}/corePlugins/wordBreak.d.ts +16 -13
  180. package/{dist/types → types}/corePlugins/zIndex.d.ts +24 -24
  181. package/{dist/types → types}/index.d.ts +177 -171
  182. package/types/theme/screens.d.ts +8 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 ice breaker
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2021 ice breaker
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1 +1,27 @@
1
- # tailwindcss-core-plugins-extractor
1
+ # tailwindcss-core-plugins-extractor
2
+
3
+ > this version is refer to `tailwindcss@3.2.2`
4
+
5
+ get all `tailwindcss` `corePlugins`!
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ <npm | yarn | pnpm> i tailwindcss-core-plugins-extractor
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ // cjs
17
+ const corePlugins = require('tailwindcss-core-plugins-extractor')
18
+ // or esm
19
+ import * as corePlugins from 'tailwindcss-core-plugins-extractor';
20
+
21
+ // get corePlugins
22
+ corePlugins.accentColor
23
+ corePlugins.accessibility
24
+ corePlugins.zIndex
25
+ corePlugins.width
26
+ // ....
27
+ ```