@chamn/engine 0.0.9 → 0.0.11

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 (277) hide show
  1. package/dist/component/CSSEditor/index.d.ts +16 -0
  2. package/dist/component/CSSPropertiesEditor/cssProperties.d.ts +898 -0
  3. package/dist/component/CSSPropertiesEditor/index.d.ts +43 -0
  4. package/dist/component/CSSPropertiesEditor/util.d.ts +1 -0
  5. package/dist/component/CSSPropertiesVariableBindEditor/cssProperties.d.ts +898 -0
  6. package/dist/component/CSSPropertiesVariableBindEditor/index.d.ts +37 -0
  7. package/dist/component/CSSPropertiesVariableBindEditor/util.d.ts +1 -0
  8. package/dist/component/ClassNameEditor/index.d.ts +16 -0
  9. package/dist/component/CustomSchemaForm/components/Form/Field/index.d.ts +11 -0
  10. package/dist/component/CustomSchemaForm/components/Form/context.d.ts +12 -0
  11. package/dist/component/CustomSchemaForm/components/Form/index.d.ts +18 -0
  12. package/dist/component/CustomSchemaForm/components/SetterSwitcher/index.d.ts +14 -0
  13. package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/ArrayItem.d.ts +11 -0
  14. package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/SortItemOrderModal.d.ts +10 -0
  15. package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/index.d.ts +14 -0
  16. package/dist/component/CustomSchemaForm/components/Setters/BooleanSetter/index.d.ts +5 -0
  17. package/dist/component/CustomSchemaForm/components/Setters/CSSValueSetter/index.d.ts +6 -0
  18. package/dist/component/CustomSchemaForm/components/Setters/ExpressionSetter/index.d.ts +8 -0
  19. package/dist/component/CustomSchemaForm/components/Setters/FunctionSetter/defaultDts.d.ts +1 -0
  20. package/dist/component/CustomSchemaForm/components/Setters/FunctionSetter/index.d.ts +2 -0
  21. package/dist/component/CustomSchemaForm/components/Setters/JSONSetter/index.d.ts +2 -0
  22. package/dist/component/CustomSchemaForm/components/Setters/NumberSetter/index.d.ts +3 -0
  23. package/dist/component/CustomSchemaForm/components/Setters/SelectSetter/index.d.ts +3 -0
  24. package/dist/component/CustomSchemaForm/components/Setters/ShapeSetter/index.d.ts +8 -0
  25. package/dist/component/CustomSchemaForm/components/Setters/StringSetter/index.d.ts +3 -0
  26. package/dist/component/CustomSchemaForm/components/Setters/TextAreaSetter/index.d.ts +3 -0
  27. package/dist/component/CustomSchemaForm/components/Setters/index.d.ts +3 -0
  28. package/dist/component/CustomSchemaForm/components/Setters/type.d.ts +19 -0
  29. package/dist/component/CustomSchemaForm/context.d.ts +15 -0
  30. package/dist/component/CustomSchemaForm/index.d.ts +20 -0
  31. package/dist/component/CustomSchemaForm/utils.d.ts +2 -0
  32. package/dist/component/MonacoEditor/index.d.ts +15 -0
  33. package/dist/component/Workbench/index.d.ts +61 -0
  34. package/dist/core/pluginManager.d.ts +61 -0
  35. package/dist/i18n/en_US/index.d.ts +5 -0
  36. package/dist/i18n/index.d.ts +6 -0
  37. package/dist/i18n/zh_CN/index.d.ts +5 -0
  38. package/dist/index.d.ts +44 -0
  39. package/dist/index.js +197 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/{index.es.js → index.mjs} +6867 -6541
  42. package/dist/index.mjs.map +1 -0
  43. package/dist/material/innerMaterial.d.ts +2 -0
  44. package/dist/plugins/AdvancePanel/index.d.ts +10 -0
  45. package/dist/plugins/ComponentLibrary/components/DragItem/index.d.ts +12 -0
  46. package/dist/plugins/ComponentLibrary/components/ListView/index.d.ts +9 -0
  47. package/dist/plugins/ComponentLibrary/index.d.ts +3 -0
  48. package/dist/plugins/ComponentLibrary/localize/en_US/index.d.ts +1 -0
  49. package/dist/plugins/ComponentLibrary/localize/index.d.ts +2 -0
  50. package/dist/plugins/ComponentLibrary/localize/zh_CN/index.d.ts +1 -0
  51. package/dist/plugins/ComponentLibrary/util.d.ts +1 -0
  52. package/dist/plugins/ComponentStatePanel/index.d.ts +10 -0
  53. package/dist/plugins/Designer/components/DefaultSelectToolBar/index.d.ts +10 -0
  54. package/dist/plugins/Designer/components/GhostView/index.d.ts +5 -0
  55. package/dist/plugins/Designer/config.d.ts +1 -0
  56. package/dist/plugins/Designer/index.d.ts +15 -0
  57. package/dist/plugins/Designer/localize/en_US/index.d.ts +1 -0
  58. package/dist/plugins/Designer/localize/index.d.ts +2 -0
  59. package/dist/plugins/Designer/localize/zh_CN/index.d.ts +1 -0
  60. package/dist/plugins/Designer/util.d.ts +2 -0
  61. package/dist/plugins/Designer/view.d.ts +30 -0
  62. package/dist/plugins/DisplaySourceSchema/index.d.ts +9 -0
  63. package/dist/plugins/GlobalStatePanel/index.d.ts +3 -0
  64. package/dist/plugins/GlobalStatePanel/localize/en_US/index.d.ts +1 -0
  65. package/dist/plugins/GlobalStatePanel/localize/index.d.ts +2 -0
  66. package/dist/plugins/GlobalStatePanel/localize/zh_CN/index.d.ts +1 -0
  67. package/dist/plugins/History/index.d.ts +2 -0
  68. package/dist/plugins/OutlineTree/components/TreeView/context.d.ts +30 -0
  69. package/dist/plugins/OutlineTree/components/TreeView/dataStruct.d.ts +21 -0
  70. package/dist/plugins/OutlineTree/components/TreeView/index.d.ts +34 -0
  71. package/dist/plugins/OutlineTree/components/TreeView/treeNode.d.ts +9 -0
  72. package/dist/plugins/OutlineTree/index.d.ts +3 -0
  73. package/dist/plugins/OutlineTree/localize/en_US/index.d.ts +1 -0
  74. package/dist/plugins/OutlineTree/localize/index.d.ts +2 -0
  75. package/dist/plugins/OutlineTree/localize/zh_CN/index.d.ts +1 -0
  76. package/dist/plugins/OutlineTree/util.d.ts +15 -0
  77. package/dist/plugins/PropertyPanel/index.d.ts +9 -0
  78. package/dist/plugins/RightPanel/index.d.ts +2 -0
  79. package/dist/plugins/RightPanel/view.d.ts +38 -0
  80. package/dist/plugins/VisualPanelPlus/index.d.ts +9 -0
  81. package/dist/plugins/index.d.ts +9 -0
  82. package/dist/utils/css.d.ts +19 -0
  83. package/dist/utils/defaultEngineConfig.d.ts +5 -0
  84. package/dist/utils/index.d.ts +6 -0
  85. package/dist/utils/logger.d.ts +1 -0
  86. package/package.json +12 -9
  87. package/.eslintignore +0 -1
  88. package/.eslintrc.js +0 -36
  89. package/.prettierrc.json +0 -7
  90. package/.storybook/main.js +0 -24
  91. package/.storybook/preview.js +0 -9
  92. package/CHANGELOG.md +0 -50
  93. package/__tests__/demo.test.ts +0 -3
  94. package/build.config.js +0 -88
  95. package/dist/index.cjs.js +0 -197
  96. package/dist/index.cjs.js.map +0 -1
  97. package/dist/index.es.js.map +0 -1
  98. package/index.html +0 -16
  99. package/jest.config.js +0 -196
  100. package/public/_dev_/render.d.ts +0 -2
  101. package/public/render.umd.js +0 -42
  102. package/public/render.umd.js.map +0 -1
  103. package/src/Engine.module.scss +0 -10
  104. package/src/Engine.module.scss.d.ts +0 -5
  105. package/src/_dev_/index.css +0 -22
  106. package/src/_dev_/index.tsx +0 -5
  107. package/src/_dev_/page/Editor/index.tsx +0 -198
  108. package/src/_dev_/page/Editor/indexCustom.tsx +0 -274
  109. package/src/_dev_/page/Preview/index.tsx +0 -56
  110. package/src/_dev_/render.ts +0 -3
  111. package/src/_dev_/router.tsx +0 -14
  112. package/src/assets/react.svg +0 -4
  113. package/src/assets/styles/mixin.scss +0 -15
  114. package/src/component/CSSEditor/index.tsx +0 -247
  115. package/src/component/CSSEditor/style.module.scss +0 -22
  116. package/src/component/CSSEditor/style.module.scss.d.ts +0 -6
  117. package/src/component/CSSPropertiesEditor/cssProperties.ts +0 -1062
  118. package/src/component/CSSPropertiesEditor/index.tsx +0 -389
  119. package/src/component/CSSPropertiesEditor/style.module.scss +0 -46
  120. package/src/component/CSSPropertiesEditor/style.module.scss.d.ts +0 -15
  121. package/src/component/CSSPropertiesEditor/util.ts +0 -19
  122. package/src/component/CSSPropertiesVariableBindEditor/cssProperties.ts +0 -782
  123. package/src/component/CSSPropertiesVariableBindEditor/index.tsx +0 -366
  124. package/src/component/CSSPropertiesVariableBindEditor/style.module.scss +0 -48
  125. package/src/component/CSSPropertiesVariableBindEditor/style.module.scss.d.ts +0 -15
  126. package/src/component/CSSPropertiesVariableBindEditor/util.ts +0 -19
  127. package/src/component/ClassNameEditor/index.tsx +0 -91
  128. package/src/component/ClassNameEditor/style.module.scss +0 -0
  129. package/src/component/CustomSchemaForm/components/Form/Field/index.tsx +0 -81
  130. package/src/component/CustomSchemaForm/components/Form/Field/style.module.scss +0 -32
  131. package/src/component/CustomSchemaForm/components/Form/Field/style.module.scss.d.ts +0 -8
  132. package/src/component/CustomSchemaForm/components/Form/context.ts +0 -23
  133. package/src/component/CustomSchemaForm/components/Form/index.tsx +0 -71
  134. package/src/component/CustomSchemaForm/components/SetterSwitcher/index.tsx +0 -273
  135. package/src/component/CustomSchemaForm/components/SetterSwitcher/style.module.scss +0 -16
  136. package/src/component/CustomSchemaForm/components/SetterSwitcher/style.module.scss.d.ts +0 -7
  137. package/src/component/CustomSchemaForm/components/Setters/ArraySetter/ArrayItem.tsx +0 -55
  138. package/src/component/CustomSchemaForm/components/Setters/ArraySetter/SortItemOrderModal.tsx +0 -160
  139. package/src/component/CustomSchemaForm/components/Setters/ArraySetter/index.tsx +0 -129
  140. package/src/component/CustomSchemaForm/components/Setters/ArraySetter/style.module.scss +0 -22
  141. package/src/component/CustomSchemaForm/components/Setters/ArraySetter/style.module.scss.d.ts +0 -7
  142. package/src/component/CustomSchemaForm/components/Setters/BooleanSetter/index.tsx +0 -32
  143. package/src/component/CustomSchemaForm/components/Setters/CSSValueSetter/index.tsx +0 -78
  144. package/src/component/CustomSchemaForm/components/Setters/CSSValueSetter/style.module.scss +0 -7
  145. package/src/component/CustomSchemaForm/components/Setters/CSSValueSetter/style.module.scss.d.ts +0 -6
  146. package/src/component/CustomSchemaForm/components/Setters/ExpressionSetter/index.tsx +0 -47
  147. package/src/component/CustomSchemaForm/components/Setters/FunctionSetter/defaultDts.ts +0 -28
  148. package/src/component/CustomSchemaForm/components/Setters/FunctionSetter/index.tsx +0 -93
  149. package/src/component/CustomSchemaForm/components/Setters/JSONSetter/index.tsx +0 -80
  150. package/src/component/CustomSchemaForm/components/Setters/NumberSetter/index.tsx +0 -34
  151. package/src/component/CustomSchemaForm/components/Setters/SelectSetter/index.tsx +0 -35
  152. package/src/component/CustomSchemaForm/components/Setters/ShapeSetter/index.tsx +0 -65
  153. package/src/component/CustomSchemaForm/components/Setters/StringSetter/index.tsx +0 -30
  154. package/src/component/CustomSchemaForm/components/Setters/TextAreaSetter/index.tsx +0 -31
  155. package/src/component/CustomSchemaForm/components/Setters/index.ts +0 -26
  156. package/src/component/CustomSchemaForm/components/Setters/type.ts +0 -18
  157. package/src/component/CustomSchemaForm/context.ts +0 -20
  158. package/src/component/CustomSchemaForm/index.tsx +0 -93
  159. package/src/component/CustomSchemaForm/style.module.scss +0 -15
  160. package/src/component/CustomSchemaForm/style.module.scss.d.ts +0 -11
  161. package/src/component/CustomSchemaForm/utils.ts +0 -13
  162. package/src/component/MonacoEditor/index.tsx +0 -81
  163. package/src/component/Workbench/index.tsx +0 -329
  164. package/src/component/Workbench/style.module.scss +0 -159
  165. package/src/component/Workbench/style.module.scss.d.ts +0 -25
  166. package/src/core/pluginManager.ts +0 -151
  167. package/src/i18n/en_US/index.ts +0 -5
  168. package/src/i18n/index.ts +0 -39
  169. package/src/i18n/zh_CN/index.ts +0 -5
  170. package/src/index.tsx +0 -150
  171. package/src/material/innerMaterial.ts +0 -343
  172. package/src/plugins/AdvancePanel/index.tsx +0 -191
  173. package/src/plugins/AdvancePanel/style.module.scss +0 -8
  174. package/src/plugins/AdvancePanel/style.module.scss.d.ts +0 -7
  175. package/src/plugins/ComponentLibrary/components/DragItem/index.tsx +0 -65
  176. package/src/plugins/ComponentLibrary/components/DragItem/style.module.scss +0 -58
  177. package/src/plugins/ComponentLibrary/components/DragItem/style.module.scss.d.ts +0 -9
  178. package/src/plugins/ComponentLibrary/components/ListView/index.tsx +0 -50
  179. package/src/plugins/ComponentLibrary/components/ListView/style.module.scss +0 -27
  180. package/src/plugins/ComponentLibrary/components/ListView/style.module.scss.d.ts +0 -12
  181. package/src/plugins/ComponentLibrary/index.tsx +0 -184
  182. package/src/plugins/ComponentLibrary/localize/en_US/index.ts +0 -3
  183. package/src/plugins/ComponentLibrary/localize/index.ts +0 -3
  184. package/src/plugins/ComponentLibrary/localize/zh_CN/index.ts +0 -3
  185. package/src/plugins/ComponentLibrary/style.module.scss +0 -31
  186. package/src/plugins/ComponentLibrary/style.module.scss.d.ts +0 -11
  187. package/src/plugins/ComponentLibrary/util.ts +0 -14
  188. package/src/plugins/ComponentStatePanel/index.tsx +0 -59
  189. package/src/plugins/Designer/components/DefaultSelectToolBar/index.tsx +0 -94
  190. package/src/plugins/Designer/components/DefaultSelectToolBar/style.module.scss +0 -59
  191. package/src/plugins/Designer/components/DefaultSelectToolBar/style.module.scss.d.ts +0 -11
  192. package/src/plugins/Designer/components/GhostView/index.tsx +0 -18
  193. package/src/plugins/Designer/config.ts +0 -1
  194. package/src/plugins/Designer/index.tsx +0 -61
  195. package/src/plugins/Designer/localize/en_US/index.ts +0 -3
  196. package/src/plugins/Designer/localize/index.ts +0 -3
  197. package/src/plugins/Designer/localize/zh_CN/index.ts +0 -3
  198. package/src/plugins/Designer/style.module.scss +0 -10
  199. package/src/plugins/Designer/style.module.scss.d.ts +0 -5
  200. package/src/plugins/Designer/util.ts +0 -18
  201. package/src/plugins/Designer/view.tsx +0 -225
  202. package/src/plugins/DisplaySourceSchema/index.tsx +0 -76
  203. package/src/plugins/GlobalStatePanel/index.tsx +0 -96
  204. package/src/plugins/GlobalStatePanel/localize/en_US/index.ts +0 -3
  205. package/src/plugins/GlobalStatePanel/localize/index.ts +0 -3
  206. package/src/plugins/GlobalStatePanel/localize/zh_CN/index.ts +0 -3
  207. package/src/plugins/GlobalStatePanel/style.module.scss +0 -8
  208. package/src/plugins/GlobalStatePanel/style.module.scss.d.ts +0 -5
  209. package/src/plugins/History/index.tsx +0 -110
  210. package/src/plugins/OutlineTree/components/TreeView/context.ts +0 -43
  211. package/src/plugins/OutlineTree/components/TreeView/dataStruct.ts +0 -58
  212. package/src/plugins/OutlineTree/components/TreeView/index.tsx +0 -376
  213. package/src/plugins/OutlineTree/components/TreeView/style.module.scss +0 -93
  214. package/src/plugins/OutlineTree/components/TreeView/style.module.scss.d.ts +0 -16
  215. package/src/plugins/OutlineTree/components/TreeView/treeNode.tsx +0 -271
  216. package/src/plugins/OutlineTree/index.tsx +0 -39
  217. package/src/plugins/OutlineTree/localize/en_US/index.ts +0 -3
  218. package/src/plugins/OutlineTree/localize/index.ts +0 -3
  219. package/src/plugins/OutlineTree/localize/zh_CN/index.ts +0 -3
  220. package/src/plugins/OutlineTree/util.tsx +0 -302
  221. package/src/plugins/PropertyPanel/index.tsx +0 -63
  222. package/src/plugins/PropertyPanel/style.module.scss +0 -12
  223. package/src/plugins/PropertyPanel/style.module.scss.d.ts +0 -10
  224. package/src/plugins/PropertyPanel/utils.ts +0 -13
  225. package/src/plugins/RightPanel/index.tsx +0 -30
  226. package/src/plugins/RightPanel/style.module.scss +0 -16
  227. package/src/plugins/RightPanel/style.module.scss.d.ts +0 -10
  228. package/src/plugins/RightPanel/view.tsx +0 -177
  229. package/src/plugins/VisualPanel/index.tsx +0 -185
  230. package/src/plugins/VisualPanel/style.module.scss +0 -17
  231. package/src/plugins/VisualPanelPlus/index.tsx +0 -103
  232. package/src/plugins/VisualPanelPlus/style.module.scss +0 -20
  233. package/src/plugins/VisualPanelPlus/style.module.scss.d.ts +0 -10
  234. package/src/plugins/index.tsx +0 -26
  235. package/src/stories/Button.jsx +0 -50
  236. package/src/stories/Button.stories.jsx +0 -40
  237. package/src/stories/Introduction.stories.mdx +0 -194
  238. package/src/stories/assets/code-brackets.svg +0 -1
  239. package/src/stories/assets/colors.svg +0 -1
  240. package/src/stories/assets/comments.svg +0 -1
  241. package/src/stories/assets/direction.svg +0 -1
  242. package/src/stories/assets/flow.svg +0 -1
  243. package/src/stories/assets/plugin.svg +0 -1
  244. package/src/stories/assets/repo.svg +0 -1
  245. package/src/stories/assets/stackalt.svg +0 -1
  246. package/src/stories/button.css +0 -30
  247. package/src/stories/plugins/CSSEditor.stories.tsx +0 -75
  248. package/src/stories/plugins/VisualPanelPlus.stories.tsx +0 -74
  249. package/src/style.d.ts +0 -2
  250. package/src/typing.d.ts +0 -9
  251. package/src/utils/css.ts +0 -88
  252. package/src/utils/defaultEngineConfig.tsx +0 -55
  253. package/src/utils/index.ts +0 -12
  254. package/src/utils/logger.ts +0 -4
  255. package/src/vite-env.d.ts +0 -1
  256. package/tsconfig.json +0 -32
  257. /package/{public → dist}/Engine.module.scss.d.ts +0 -0
  258. /package/{public → dist}/component/CSSEditor/style.module.scss.d.ts +0 -0
  259. /package/{public → dist}/component/CSSPropertiesEditor/style.module.scss.d.ts +0 -0
  260. /package/{public → dist}/component/CSSPropertiesVariableBindEditor/style.module.scss.d.ts +0 -0
  261. /package/{public → dist}/component/CustomSchemaForm/components/Form/Field/style.module.scss.d.ts +0 -0
  262. /package/{public → dist}/component/CustomSchemaForm/components/SetterSwitcher/style.module.scss.d.ts +0 -0
  263. /package/{public → dist}/component/CustomSchemaForm/components/Setters/ArraySetter/style.module.scss.d.ts +0 -0
  264. /package/{public → dist}/component/CustomSchemaForm/components/Setters/CSSValueSetter/style.module.scss.d.ts +0 -0
  265. /package/{public → dist}/component/CustomSchemaForm/style.module.scss.d.ts +0 -0
  266. /package/{public → dist}/component/Workbench/style.module.scss.d.ts +0 -0
  267. /package/{public → dist}/plugins/AdvancePanel/style.module.scss.d.ts +0 -0
  268. /package/{public → dist}/plugins/ComponentLibrary/components/DragItem/style.module.scss.d.ts +0 -0
  269. /package/{public → dist}/plugins/ComponentLibrary/components/ListView/style.module.scss.d.ts +0 -0
  270. /package/{public → dist}/plugins/ComponentLibrary/style.module.scss.d.ts +0 -0
  271. /package/{public → dist}/plugins/Designer/components/DefaultSelectToolBar/style.module.scss.d.ts +0 -0
  272. /package/{public → dist}/plugins/Designer/style.module.scss.d.ts +0 -0
  273. /package/{public → dist}/plugins/GlobalStatePanel/style.module.scss.d.ts +0 -0
  274. /package/{public → dist}/plugins/OutlineTree/components/TreeView/style.module.scss.d.ts +0 -0
  275. /package/{public → dist}/plugins/PropertyPanel/style.module.scss.d.ts +0 -0
  276. /package/{public → dist}/plugins/RightPanel/style.module.scss.d.ts +0 -0
  277. /package/{public → dist}/plugins/VisualPanelPlus/style.module.scss.d.ts +0 -0
@@ -1,1062 +0,0 @@
1
- const CSSSourceInfo = {
2
- cssColors: {
3
- aliceblue: '#f0f8ff',
4
- antiquewhite: '#faebd7',
5
- aqua: '#00ffff',
6
- aquamarine: '#7fffd4',
7
- azure: '#f0ffff',
8
- beige: '#f5f5dc',
9
- bisque: '#ffe4c4',
10
- black: '#000000',
11
- blanchedalmond: '#ffebcd',
12
- blue: '#0000ff',
13
- blueviolet: '#8a2be2',
14
- brown: '#a52a2a',
15
- burlywood: '#deb887',
16
- cadetblue: '#5f9ea0',
17
- chartreuse: '#7fff00',
18
- chocolate: '#d2691e',
19
- coral: '#ff7f50',
20
- cornflowerblue: '#6495ed',
21
- cornsilk: '#fff8dc',
22
- crimson: '#dc143c',
23
- cyan: '#00ffff',
24
- darkblue: '#00008b',
25
- darkcyan: '#008b8b',
26
- darkgoldenrod: '#b8860b',
27
- darkgray: '#a9a9a9',
28
- darkgreen: '#006400',
29
- darkgrey: '#a9a9a9',
30
- darkkhaki: '#bdb76b',
31
- darkmagenta: '#8b008b',
32
- darkolivegreen: '#556b2f',
33
- darkorange: '#ff8c00',
34
- darkorchid: '#9932cc',
35
- darkred: '#8b0000',
36
- darksalmon: '#e9967a',
37
- darkseagreen: '#8fbc8f',
38
- darkslateblue: '#483d8b',
39
- darkslategray: '#2f4f4f',
40
- darkslategrey: '#2f4f4f',
41
- darkturquoise: '#00ced1',
42
- darkviolet: '#9400d3',
43
- deeppink: '#ff1493',
44
- deepskyblue: '#00bfff',
45
- dimgray: '#696969',
46
- dimgrey: '#696969',
47
- dodgerblue: '#1e90ff',
48
- firebrick: '#b22222',
49
- floralwhite: '#fffaf0',
50
- forestgreen: '#228b22',
51
- fuchsia: '#ff00ff',
52
- gainsboro: '#dcdcdc',
53
- ghostwhite: '#f8f8ff',
54
- goldenrod: '#daa520',
55
- gold: '#ffd700',
56
- gray: '#808080',
57
- green: '#008000',
58
- greenyellow: '#adff2f',
59
- grey: '#808080',
60
- honeydew: '#f0fff0',
61
- hotpink: '#ff69b4',
62
- indianred: '#cd5c5c',
63
- indigo: '#4b0082',
64
- ivory: '#fffff0',
65
- khaki: '#f0e68c',
66
- lavenderblush: '#fff0f5',
67
- lavender: '#e6e6fa',
68
- lawngreen: '#7cfc00',
69
- lemonchiffon: '#fffacd',
70
- lightblue: '#add8e6',
71
- lightcoral: '#f08080',
72
- lightcyan: '#e0ffff',
73
- lightgoldenrodyellow: '#fafad2',
74
- lightgray: '#d3d3d3',
75
- lightgreen: '#90ee90',
76
- lightgrey: '#d3d3d3',
77
- lightpink: '#ffb6c1',
78
- lightsalmon: '#ffa07a',
79
- lightseagreen: '#20b2aa',
80
- lightskyblue: '#87cefa',
81
- lightslategray: '#778899',
82
- lightslategrey: '#778899',
83
- lightsteelblue: '#b0c4de',
84
- lightyellow: '#ffffe0',
85
- lime: '#00ff00',
86
- limegreen: '#32cd32',
87
- linen: '#faf0e6',
88
- magenta: '#ff00ff',
89
- maroon: '#800000',
90
- mediumaquamarine: '#66cdaa',
91
- mediumblue: '#0000cd',
92
- mediumorchid: '#ba55d3',
93
- mediumpurple: '#9370db',
94
- mediumseagreen: '#3cb371',
95
- mediumslateblue: '#7b68ee',
96
- mediumspringgreen: '#00fa9a',
97
- mediumturquoise: '#48d1cc',
98
- mediumvioletred: '#c71585',
99
- midnightblue: '#191970',
100
- mintcream: '#f5fffa',
101
- mistyrose: '#ffe4e1',
102
- moccasin: '#ffe4b5',
103
- navajowhite: '#ffdead',
104
- navy: '#000080',
105
- oldlace: '#fdf5e6',
106
- olive: '#808000',
107
- olivedrab: '#6b8e23',
108
- orange: '#ffa500',
109
- orangered: '#ff4500',
110
- orchid: '#da70d6',
111
- palegoldenrod: '#eee8aa',
112
- palegreen: '#98fb98',
113
- paleturquoise: '#afeeee',
114
- palevioletred: '#db7093',
115
- papayawhip: '#ffefd5',
116
- peachpuff: '#ffdab9',
117
- peru: '#cd853f',
118
- pink: '#ffc0cb',
119
- plum: '#dda0dd',
120
- powderblue: '#b0e0e6',
121
- purple: '#800080',
122
- rebeccapurple: '#663399',
123
- red: '#ff0000',
124
- rosybrown: '#bc8f8f',
125
- royalblue: '#4169e1',
126
- saddlebrown: '#8b4513',
127
- salmon: '#fa8072',
128
- sandybrown: '#f4a460',
129
- seagreen: '#2e8b57',
130
- seashell: '#fff5ee',
131
- sienna: '#a0522d',
132
- silver: '#c0c0c0',
133
- skyblue: '#87ceeb',
134
- slateblue: '#6a5acd',
135
- slategray: '#708090',
136
- slategrey: '#708090',
137
- snow: '#fffafa',
138
- springgreen: '#00ff7f',
139
- steelblue: '#4682b4',
140
- tan: '#d2b48c',
141
- teal: '#008080',
142
- thistle: '#d8bfd8',
143
- tomato: '#ff6347',
144
- turquoise: '#40e0d0',
145
- violet: '#ee82ee',
146
- wheat: '#f5deb3',
147
- white: '#ffffff',
148
- whitesmoke: '#f5f5f5',
149
- yellow: '#ffff00',
150
- yellowgreen: '#9acd32',
151
- },
152
- cssKeyValue: {
153
- 'align-content': {
154
- values: [
155
- 'center',
156
- 'flex-end',
157
- 'flex-start',
158
- 'space-around',
159
- 'space-between',
160
- 'stretch',
161
- ],
162
- },
163
- 'align-items': {
164
- values: ['baseline', 'center', 'flex-end', 'flex-start', 'stretch'],
165
- },
166
- 'align-self': {
167
- values: [
168
- 'auto',
169
- 'normal',
170
- 'self-start',
171
- 'self-end',
172
- 'baseline',
173
- 'center',
174
- 'start',
175
- 'end',
176
- 'flex-end',
177
- 'flex-start',
178
- 'safe',
179
- 'stretch',
180
- 'unsafe',
181
- ],
182
- },
183
- all: { values: [] },
184
- animation: { values: [] },
185
- 'animation-delay': { values: [] },
186
- 'animation-direction': {
187
- values: ['alternate', 'alternate-reverse', 'normal', 'reverse'],
188
- },
189
- 'animation-duration': { values: [] },
190
- 'animation-fill-mode': {
191
- values: ['backwards', 'both', 'forwards', 'none'],
192
- },
193
- 'animation-iteration-count': { values: ['infinite'] },
194
- 'animation-name': { values: ['none'] },
195
- 'animation-play-state': { values: ['paused', 'running'] },
196
- 'animation-timing-function': {
197
- values: [
198
- 'cubic-bezier()',
199
- 'ease',
200
- 'ease-in',
201
- 'ease-in-out',
202
- 'ease-out',
203
- 'linear',
204
- 'step-end',
205
- 'step-start',
206
- 'steps()',
207
- ],
208
- },
209
- 'backface-visibility': { values: ['hidden', 'visible'] },
210
- background: { values: [], type: 'color' },
211
- 'background-attachment': { values: ['fixed', 'local', 'scroll'] },
212
- 'background-blend-mode': {
213
- values: [
214
- 'color',
215
- 'color-burn',
216
- 'color-dodge',
217
- 'darken',
218
- 'difference',
219
- 'exclusion',
220
- 'hard-light',
221
- 'hue',
222
- 'lighten',
223
- 'luminosity',
224
- 'multiply',
225
- 'normal',
226
- 'overlay',
227
- 'saturation',
228
- 'screen',
229
- 'soft-light',
230
- ],
231
- },
232
- 'background-clip': { values: ['border-box', 'content-box', 'padding-box'] },
233
- 'background-color': { values: [], type: 'color' },
234
- 'background-image': {
235
- values: [
236
- 'image()',
237
- 'linear-gradient()',
238
- 'radial-gradient()',
239
- 'repeating-linear-gradient()',
240
- 'repeating-radial-gradient()',
241
- 'url()',
242
- ],
243
- },
244
- 'background-origin': {
245
- values: ['border-box', 'content-box', 'padding-box'],
246
- },
247
- 'background-position': {
248
- values: ['left', 'center', 'right', 'bottom', 'top'],
249
- },
250
- 'background-repeat': {
251
- values: ['no-repeat', 'repeat', 'repeat-x', 'repeat-y', 'round', 'space'],
252
- },
253
- 'background-size': { values: ['auto', 'contain', 'cover'] },
254
- border: { values: [] },
255
- 'border-collapse': { values: ['collapse', 'separate'] },
256
- 'border-color': { values: [], type: 'color' },
257
- 'border-spacing': { values: [] },
258
- 'border-style': {
259
- values: [
260
- 'dashed',
261
- 'dotted',
262
- 'double',
263
- 'groove',
264
- 'hidden',
265
- 'inset',
266
- 'none',
267
- 'outset',
268
- 'ridge',
269
- 'solid',
270
- ],
271
- },
272
- 'border-bottom': { values: [] },
273
- 'border-bottom-color': { values: [], type: 'color' },
274
- 'border-bottom-left-radius': { values: [] },
275
- 'border-bottom-right-radius': { values: [] },
276
- 'border-bottom-style': {
277
- values: [
278
- 'dashed',
279
- 'dotted',
280
- 'double',
281
- 'groove',
282
- 'hidden',
283
- 'inset',
284
- 'none',
285
- 'outset',
286
- 'ridge',
287
- 'solid',
288
- ],
289
- },
290
- 'border-bottom-width': { values: ['medium', 'thin', 'thick'] },
291
- 'border-image': { values: ['url()'] },
292
- 'border-image-outset': { values: [] },
293
- 'border-image-slice': { values: [] },
294
- 'border-image-source': { values: [] },
295
- 'border-image-repeat': { values: ['repeat', 'round', 'space', 'stretch'] },
296
- 'border-image-width': { values: ['auto'] },
297
- 'border-left': { values: [] },
298
- 'border-left-color': { values: [], type: 'color' },
299
- 'border-left-style': {
300
- values: [
301
- 'dashed',
302
- 'dotted',
303
- 'double',
304
- 'groove',
305
- 'hidden',
306
- 'inset',
307
- 'none',
308
- 'outset',
309
- 'ridge',
310
- 'solid',
311
- ],
312
- },
313
- 'border-left-width': { values: ['medium', 'thin', 'thick'] },
314
- 'border-radius': { values: [] },
315
- 'border-right': { values: [] },
316
- 'border-right-color': { values: [], type: 'color' },
317
- 'border-right-style': {
318
- values: [
319
- 'dashed',
320
- 'dotted',
321
- 'double',
322
- 'groove',
323
- 'hidden',
324
- 'inset',
325
- 'none',
326
- 'outset',
327
- 'ridge',
328
- 'solid',
329
- ],
330
- },
331
- 'border-right-width': { values: ['medium', 'thin', 'thick'] },
332
- 'border-top': { values: [] },
333
- 'border-top-color': { values: [], type: 'color' },
334
- 'border-top-left-radius': { values: [] },
335
- 'border-top-right-radius': { values: [] },
336
- 'border-top-style': {
337
- values: [
338
- 'dashed',
339
- 'dotted',
340
- 'double',
341
- 'groove',
342
- 'hidden',
343
- 'inset',
344
- 'none',
345
- 'outset',
346
- 'ridge',
347
- 'solid',
348
- ],
349
- },
350
- 'border-top-width': { values: ['medium', 'thin', 'thick'] },
351
- 'border-width': { values: ['medium', 'thin', 'thick'] },
352
- 'box-decoration-break': { values: ['clone', 'slice'] },
353
- 'box-shadow': { values: ['none'] },
354
- 'box-sizing': { values: ['border-box', 'content-box'] },
355
- bottom: { values: ['auto'] },
356
- 'break-after': {
357
- values: [
358
- 'always',
359
- 'auto',
360
- 'avoid',
361
- 'avoid-column',
362
- 'avoid-page',
363
- 'avoid-region',
364
- 'column',
365
- 'left',
366
- 'page',
367
- 'region',
368
- 'right',
369
- ],
370
- },
371
- 'break-before': {
372
- values: [
373
- 'always',
374
- 'auto',
375
- 'avoid',
376
- 'avoid-column',
377
- 'avoid-page',
378
- 'avoid-region',
379
- 'column',
380
- 'left',
381
- 'page',
382
- 'region',
383
- 'right',
384
- ],
385
- },
386
- 'break-inside': {
387
- values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region'],
388
- },
389
- 'caption-side': { values: ['bottom', 'top'] },
390
- 'caret-color': { values: ['auto'], type: 'color' },
391
- clear: { values: ['both', 'left', 'none', 'right'] },
392
- clip: { values: ['auto'] },
393
- color: { values: [], type: 'color' },
394
- columns: { values: [] },
395
- 'column-count': { values: [] },
396
- 'column-fill': { values: ['auto', 'balance'] },
397
- 'column-gap': { values: ['normal'] },
398
- 'column-rule': { values: [] },
399
- 'column-rule-color': { values: [], type: 'color' },
400
- 'column-rule-style': {
401
- values: [
402
- 'dashed',
403
- 'dotted',
404
- 'double',
405
- 'groove',
406
- 'hidden',
407
- 'inset',
408
- 'none',
409
- 'outset',
410
- 'ridge',
411
- 'solid',
412
- ],
413
- },
414
- 'column-rule-width': { values: ['medium', 'thin', 'thick'] },
415
- 'column-span': { values: ['all', 'none'] },
416
- 'column-width': { values: ['auto'] },
417
- content: {
418
- values: [
419
- 'attr()',
420
- 'close-quote',
421
- 'no-close-quote',
422
- 'no-open-quote',
423
- 'normal',
424
- 'none',
425
- 'open-quote',
426
- ],
427
- },
428
- 'counter-increment': { values: ['none'] },
429
- 'counter-reset': { values: ['none'] },
430
- cursor: {
431
- values: [
432
- 'alias',
433
- 'all-scroll',
434
- 'auto',
435
- 'cell',
436
- 'col-resize',
437
- 'context-menu',
438
- 'copy',
439
- 'crosshair',
440
- 'default',
441
- 'e-resize',
442
- 'ew-resize',
443
- 'grab',
444
- 'grabbing',
445
- 'help',
446
- 'move',
447
- 'n-resize',
448
- 'ne-resize',
449
- 'nesw-resize',
450
- 'no-drop',
451
- 'none',
452
- 'not-allowed',
453
- 'ns-resize',
454
- 'nw-resize',
455
- 'nwse-resize',
456
- 'pointer',
457
- 'progress',
458
- 'row-resize',
459
- 's-resize',
460
- 'se-resize',
461
- 'sw-resize',
462
- 'text',
463
- 'vertical-text',
464
- 'w-resize',
465
- 'wait',
466
- 'zoom-in',
467
- 'zoom-out',
468
- ],
469
- },
470
- direction: { values: ['ltr', 'rtl'] },
471
- display: {
472
- values: [
473
- 'block',
474
- 'contents',
475
- 'flex',
476
- 'flow-root',
477
- 'grid',
478
- 'inline',
479
- 'inline-block',
480
- 'inline-flex',
481
- 'inline-grid',
482
- 'inline-table',
483
- 'list-item',
484
- 'none',
485
- 'run-in',
486
- 'subgrid',
487
- 'table',
488
- 'table-caption',
489
- 'table-cell',
490
- 'table-column',
491
- 'table-column-group',
492
- 'table-footer-group',
493
- 'table-header-group',
494
- 'table-row',
495
- 'table-row-group',
496
- ],
497
- },
498
- 'empty-cells': { values: ['hide', 'show'] },
499
- fill: { values: [] },
500
- filter: {
501
- values: [
502
- 'blur()',
503
- 'brightness()',
504
- 'contrast()',
505
- 'custom()',
506
- 'drop-shadow()',
507
- 'grayscale()',
508
- 'hue-rotate()',
509
- 'invert()',
510
- 'none',
511
- 'opacity()',
512
- 'sepia()',
513
- 'saturate()',
514
- 'url()',
515
- ],
516
- },
517
- flex: { values: ['auto', 'none'] },
518
- 'flex-basis': { values: ['auto'] },
519
- 'flex-direction': {
520
- values: ['column', 'column-reverse', 'row', 'row-reverse'],
521
- },
522
- 'flex-flow': {
523
- values: [
524
- 'column',
525
- 'column-reverse',
526
- 'nowrap',
527
- 'row',
528
- 'row-reverse',
529
- 'wrap',
530
- 'wrap-reverse',
531
- ],
532
- },
533
- 'flex-grow': { values: [] },
534
- 'flex-shrink': { values: [] },
535
- 'flex-wrap': { values: ['nowrap', 'wrap', 'wrap-reverse'] },
536
- float: { values: ['left', 'right', 'none', 'inline-start', 'inline-end'] },
537
- 'flow-into': { values: ['none'], type: 'named-flow' },
538
- 'flow-from': { values: ['none'], type: 'named-flow' },
539
- font: { values: [] },
540
- 'font-display': {
541
- values: ['auto', 'block', 'swap', 'fallback', 'optional'],
542
- },
543
- 'font-family': {
544
- values: [
545
- 'auto',
546
- 'cursive',
547
- 'fantasy',
548
- 'monospace',
549
- 'sans-serif',
550
- 'serif',
551
- ],
552
- },
553
- 'font-feature-settings': { values: ['normal'] },
554
- 'font-kerning': { values: ['auto', 'none', 'normal'] },
555
- 'font-language-override': { values: ['normal'] },
556
- 'font-size': {
557
- values: [
558
- 'xx-small',
559
- 'x-small',
560
- 'small',
561
- 'medium',
562
- 'large',
563
- 'x-large',
564
- 'xx-large',
565
- 'xxx-large',
566
- 'larger',
567
- 'smaller',
568
- ],
569
- },
570
- 'font-size-adjust': { values: ['auto', 'none'] },
571
- 'font-stretch': {
572
- values: [
573
- 'condensed',
574
- 'expanded',
575
- 'extra-condensed',
576
- 'extra-expanded',
577
- 'normal',
578
- 'semi-condensed',
579
- 'semi-expanded',
580
- 'ultra-condensed',
581
- 'ultra-expanded',
582
- ],
583
- },
584
- 'font-style': { values: ['italic', 'normal', 'oblique'] },
585
- 'font-synthesis': { values: ['none', 'style', 'weight'] },
586
- 'font-variant': { values: ['normal', 'small-caps'] },
587
- 'font-variant-alternates': { values: ['normal'] },
588
- 'font-variant-caps': {
589
- values: [
590
- 'normal',
591
- 'small-caps',
592
- 'all-small-caps',
593
- 'petite-caps',
594
- 'all-petite-caps',
595
- 'unicase',
596
- 'titling-caps',
597
- ],
598
- },
599
- 'font-variant-east-asian': { values: ['normal'] },
600
- 'font-variant-ligatures': { values: ['normal', 'none'] },
601
- 'font-variant-numeric': { values: ['normal'] },
602
- 'font-variant-position': { values: ['normal', 'sub', 'super'] },
603
- 'font-weight': {
604
- values: [
605
- 'bold',
606
- 'bolder',
607
- 'lighter',
608
- 'normal',
609
- '100',
610
- '200',
611
- '300',
612
- '400',
613
- '500',
614
- '600',
615
- '700',
616
- '800',
617
- '900',
618
- ],
619
- },
620
- gap: { values: ['revert-layer'] },
621
- grid: { values: [] },
622
- 'grid-area': { values: [] },
623
- 'grid-auto-columns': { values: [] },
624
- 'grid-auto-flow': { values: ['row', 'column', 'dense'] },
625
- 'grid-auto-rows': { values: [] },
626
- 'grid-column': { values: ['auto'] },
627
- 'grid-column-end': { values: [] },
628
- 'grid-column-gap': { values: [] },
629
- 'grid-column-start': { values: [] },
630
- 'grid-gap': { values: [] },
631
- 'grid-row': { values: ['auto'] },
632
- 'grid-row-end': { values: [] },
633
- 'grid-row-start': { values: [] },
634
- 'grid-row-gap': { values: [] },
635
- 'grid-template': { values: ['none'] },
636
- 'grid-template-areas': { values: [] },
637
- 'grid-template-columns': { values: ['auto'] },
638
- 'grid-template-rows': { values: ['auto'] },
639
- 'hanging-punctuation': {
640
- values: ['allow-end', 'first', 'force-end', 'last', 'none'],
641
- },
642
- height: { values: ['auto', 'max-content', 'min-content', 'fit-content'] },
643
- hyphens: { values: ['auto', 'manual', 'none'] },
644
- 'image-orientation': { values: [] },
645
- 'image-resolution': { values: ['from-image', 'snap'] },
646
- isolation: { values: ['auto', 'isolate'] },
647
- 'justify-content': {
648
- values: [
649
- 'center',
650
- 'flex-end',
651
- 'flex-start',
652
- 'space-around',
653
- 'space-between',
654
- ],
655
- },
656
- 'justify-items': {
657
- values: [
658
- 'auto',
659
- 'normal',
660
- 'stretch',
661
- 'center',
662
- 'start',
663
- 'end',
664
- 'flex-start',
665
- 'flex-end',
666
- 'self-start',
667
- 'self-end',
668
- 'left',
669
- 'right',
670
- 'baseline',
671
- 'first',
672
- 'last',
673
- 'safe',
674
- 'unsafe',
675
- 'legacy',
676
- ],
677
- },
678
- 'justify-self': {
679
- values: [
680
- 'auto',
681
- 'normal',
682
- 'stretch',
683
- 'center',
684
- 'start',
685
- 'end',
686
- 'flex-start',
687
- 'flex-end',
688
- 'self-start',
689
- 'self-end',
690
- 'left',
691
- 'right',
692
- 'baseline',
693
- 'first',
694
- 'last',
695
- 'safe',
696
- 'unsafe',
697
- ],
698
- },
699
- left: { values: ['auto'] },
700
- 'letter-spacing': { values: ['normal'] },
701
- 'line-height': { values: ['normal'] },
702
- 'list-style': {
703
- values: [
704
- 'none',
705
- 'url()',
706
- 'armenian',
707
- 'circle',
708
- 'decimal',
709
- 'decimal-leading-zero',
710
- 'disc',
711
- 'georgian',
712
- 'inside',
713
- 'lower-alpha',
714
- 'lower-greek',
715
- 'lower-latin',
716
- 'lower-roman',
717
- 'outside',
718
- 'square',
719
- 'upper-alpha',
720
- 'upper-latin',
721
- 'upper-roman',
722
- ],
723
- },
724
- 'list-style-image': { values: ['none', 'url()'] },
725
- 'list-style-position': { values: ['inside', 'outside'] },
726
- 'list-style-type': {
727
- values: [
728
- 'armenian',
729
- 'circle',
730
- 'decimal',
731
- 'decimal-leading-zero',
732
- 'disc',
733
- 'georgian',
734
- 'lower-alpha',
735
- 'lower-greek',
736
- 'lower-latin',
737
- 'lower-roman',
738
- 'none',
739
- 'square',
740
- 'upper-alpha',
741
- 'upper-latin',
742
- 'upper-roman',
743
- ],
744
- },
745
- margin: { values: ['auto'] },
746
- 'margin-bottom': { values: ['auto'] },
747
- 'margin-left': { values: ['auto'] },
748
- 'margin-right': { values: ['auto'] },
749
- 'margin-top': { values: ['auto'] },
750
- 'max-height': { values: ['none'] },
751
- 'max-width': { values: ['none'] },
752
- 'min-height': { values: [] },
753
- 'min-width': { values: [] },
754
- 'mix-blend-mode': {
755
- values: [
756
- 'color',
757
- 'color-burn',
758
- 'color-dodge',
759
- 'darken',
760
- 'difference',
761
- 'exclusion',
762
- 'hard-light',
763
- 'hue',
764
- 'lighten',
765
- 'luminosity',
766
- 'multiply',
767
- 'normal',
768
- 'overlay',
769
- 'saturation',
770
- 'screen',
771
- 'soft-light',
772
- ],
773
- },
774
- 'object-fit': {
775
- values: ['contain', 'cover', 'fill', 'none', 'scale-down'],
776
- },
777
- 'object-position': { values: ['left', 'center', 'right', 'bottom', 'top'] },
778
- opacity: { values: [] },
779
- order: { values: [] },
780
- orphans: { values: [] },
781
- outline: { values: [] },
782
- 'outline-color': { values: ['invert'], type: 'color' },
783
- 'outline-offset': { values: [] },
784
- 'outline-style': {
785
- values: [
786
- 'dashed',
787
- 'dotted',
788
- 'double',
789
- 'groove',
790
- 'hidden',
791
- 'inset',
792
- 'none',
793
- 'outset',
794
- 'ridge',
795
- 'solid',
796
- ],
797
- },
798
- 'outline-width': { values: ['medium', 'thin', 'thick'] },
799
- overflow: { values: ['auto', 'hidden', 'scroll', 'visible'] },
800
- 'overflow-x': { values: ['auto', 'hidden', 'scroll', 'visible'] },
801
- 'overflow-y': { values: ['auto', 'hidden', 'scroll', 'visible'] },
802
- 'overflow-wrap': { values: ['normal', 'anywhere', 'break-word'] },
803
- padding: { values: [] },
804
- 'padding-bottom': { values: [] },
805
- 'padding-left': { values: [] },
806
- 'padding-right': { values: [] },
807
- 'padding-top': { values: [] },
808
- 'page-break-after': {
809
- values: ['always', 'auto', 'avoid', 'left', 'right'],
810
- },
811
- 'page-break-before': {
812
- values: ['always', 'auto', 'avoid', 'left', 'right'],
813
- },
814
- 'page-break-inside': { values: ['auto', 'avoid'] },
815
- perspective: { values: ['none'] },
816
- 'perspective-origin': {
817
- values: ['bottom', 'center', 'left', 'right', 'top'],
818
- },
819
- 'pointer-events': {
820
- values: [
821
- 'all',
822
- 'auto',
823
- 'fill',
824
- 'none',
825
- 'painted',
826
- 'stroke',
827
- 'visible',
828
- 'visibleFill',
829
- 'visiblePainted',
830
- 'visibleStroke',
831
- ],
832
- },
833
- position: { values: ['absolute', 'fixed', 'relative', 'static', 'sticky'] },
834
- quotes: { values: ['none'] },
835
- 'region-break-after': {
836
- values: [
837
- 'always',
838
- 'auto',
839
- 'avoid',
840
- 'avoid-column',
841
- 'avoid-page',
842
- 'avoid-region',
843
- 'column',
844
- 'left',
845
- 'page',
846
- 'region',
847
- 'right',
848
- ],
849
- },
850
- 'region-break-before': {
851
- values: [
852
- 'always',
853
- 'auto',
854
- 'avoid',
855
- 'avoid-column',
856
- 'avoid-page',
857
- 'avoid-region',
858
- 'column',
859
- 'left',
860
- 'page',
861
- 'region',
862
- 'right',
863
- ],
864
- },
865
- 'region-break-inside': {
866
- values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region'],
867
- },
868
- 'region-fragment': { values: ['auto', 'break'] },
869
- resize: { values: ['both', 'horizontal', 'none', 'vertical'] },
870
- right: { values: ['auto'] },
871
- 'scroll-behavior': { values: ['auto', 'smooth'] },
872
- 'scroll-snap-type': {
873
- values: [
874
- 'none',
875
- 'x',
876
- 'y',
877
- 'block',
878
- 'inline',
879
- 'both',
880
- 'mandatory',
881
- 'proximity',
882
- ],
883
- },
884
- src: { values: ['url()'] },
885
- 'shape-image-threshold': { values: [] },
886
- 'shape-inside': {
887
- values: [
888
- 'auto',
889
- 'circle()',
890
- 'ellipse()',
891
- 'outside-shape',
892
- 'polygon()',
893
- 'rectangle()',
894
- ],
895
- },
896
- 'shape-margin': { values: [] },
897
- 'shape-outside': {
898
- values: [
899
- 'none',
900
- 'circle()',
901
- 'ellipse()',
902
- 'polygon()',
903
- 'inset()',
904
- 'margin-box',
905
- 'border-box',
906
- 'padding-box',
907
- 'content-box',
908
- 'url()',
909
- 'image()',
910
- 'linear-gradient()',
911
- 'radial-gradient()',
912
- 'repeating-linear-gradient()',
913
- 'repeating-radial-gradient()',
914
- ],
915
- },
916
- 'tab-size': { values: [] },
917
- 'table-layout': { values: ['auto', 'fixed'] },
918
- 'text-align': {
919
- values: [
920
- 'start',
921
- 'end',
922
- 'center',
923
- 'left',
924
- 'justify',
925
- 'right',
926
- 'match-parent',
927
- 'justify-all',
928
- ],
929
- },
930
- 'text-align-last': { values: ['center', 'left', 'justify', 'right'] },
931
- 'text-decoration': {
932
- values: ['line-through', 'none', 'overline', 'underline'],
933
- },
934
- 'text-decoration-color': { values: [], type: 'color' },
935
- 'text-decoration-line': {
936
- values: ['line-through', 'none', 'overline', 'underline'],
937
- },
938
- 'text-decoration-skip': {
939
- values: ['edges', 'ink', 'none', 'objects', 'spaces'],
940
- },
941
- 'text-decoration-style': {
942
- values: ['dashed', 'dotted', 'double', 'solid', 'wavy'],
943
- },
944
- 'text-emphasis': { values: [] },
945
- 'text-emphasis-color': { values: [], type: 'color' },
946
- 'text-emphasis-position': { values: ['above', 'below', 'left', 'right'] },
947
- 'text-emphasis-style': {
948
- values: [
949
- 'circle',
950
- 'dot',
951
- 'double-circle',
952
- 'filled',
953
- 'none',
954
- 'open',
955
- 'sesame',
956
- 'triangle',
957
- ],
958
- },
959
- 'text-indent': { values: [] },
960
- 'text-justify': {
961
- values: ['auto', 'none', 'inter-word', 'inter-character'],
962
- },
963
- 'text-overflow': { values: ['clip', 'ellipsis'] },
964
- 'text-shadow': { values: [] },
965
- 'text-rendering': {
966
- values: [
967
- 'auto',
968
- 'geometricPrecision',
969
- 'optimizeLegibility',
970
- 'optimizeSpeed',
971
- ],
972
- },
973
- 'text-transform': {
974
- values: ['capitalize', 'full-width', 'lowercase', 'none', 'uppercase'],
975
- },
976
- 'text-underline-position': {
977
- values: ['alphabetic', 'auto', 'below', 'left', 'right'],
978
- },
979
- top: { values: ['auto'] },
980
- transform: {
981
- values: [
982
- 'matrix()',
983
- 'matrix3d()',
984
- 'none',
985
- 'perspective()',
986
- 'rotate()',
987
- 'rotate3d()',
988
- 'rotateX()',
989
- 'rotateY()',
990
- 'rotateZ()',
991
- 'scale()',
992
- 'scale3d()',
993
- 'scaleX()',
994
- 'scaleY()',
995
- 'scaleZ()',
996
- 'skewX()',
997
- 'skewY()',
998
- 'translate()',
999
- 'translate3d()',
1000
- 'translateX()',
1001
- 'translateY()',
1002
- 'translateZ()',
1003
- ],
1004
- },
1005
- 'transform-origin': {
1006
- values: ['bottom', 'center', 'left', 'right', 'top'],
1007
- },
1008
- 'transform-style': { values: ['flat', 'preserve-3d'] },
1009
- transition: { values: [] },
1010
- 'transition-delay': { values: [] },
1011
- 'transition-duration': { values: [] },
1012
- 'transition-property': { values: ['all', 'none'] },
1013
- 'transition-timing-function': {
1014
- values: [
1015
- 'cubic-bezier()',
1016
- 'ease',
1017
- 'ease-in',
1018
- 'ease-in-out',
1019
- 'ease-out',
1020
- 'linear',
1021
- 'step-end',
1022
- 'step-start',
1023
- 'steps()',
1024
- ],
1025
- },
1026
- 'unicode-bidi': { values: ['bidi-override', 'embed', 'normal'] },
1027
- 'unicode-range': { values: [] },
1028
- 'user-select': { values: ['all', 'auto', 'contain', 'none', 'text'] },
1029
- 'vertical-align': {
1030
- values: [
1031
- 'baseline',
1032
- 'bottom',
1033
- 'middle',
1034
- 'sub',
1035
- 'super',
1036
- 'text-bottom',
1037
- 'text-top',
1038
- 'top',
1039
- ],
1040
- },
1041
- visibility: { values: ['collapse', 'hidden', 'visible'] },
1042
- 'white-space': {
1043
- values: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap'],
1044
- },
1045
- widows: { values: [] },
1046
- width: { values: ['auto', 'max-content', 'min-content', 'fit-content'] },
1047
- 'will-change': {
1048
- values: ['auto', 'contents', 'opacity', 'scroll-position'],
1049
- },
1050
- 'word-break': { values: ['normal', 'break-all', 'keep-all'] },
1051
- 'word-spacing': { values: ['normal'] },
1052
- 'z-index': { values: ['auto'] },
1053
- },
1054
- };
1055
-
1056
- export const CSSProperties = CSSSourceInfo.cssKeyValue;
1057
-
1058
- export const CSSColors = CSSSourceInfo.cssColors;
1059
-
1060
- export type CSSPropertiesKey = keyof typeof CSSProperties;
1061
-
1062
- export const CSSPropertyList = Object.keys(CSSSourceInfo.cssKeyValue);