@bookklik/senangstart-css 0.1.3 → 0.1.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 (482) hide show
  1. package/.github/workflows/deploy-docs.yml +7 -1
  2. package/dist/senangstart-css.js +1473 -21
  3. package/dist/senangstart-css.min.js +1182 -12
  4. package/docs/.vitepress/config.js +769 -71
  5. package/docs/SYNTAX-REFERENCE.md +1555 -0
  6. package/docs/guide/dark-mode.md +152 -0
  7. package/docs/guide/preflight.md +139 -0
  8. package/docs/ms/examples/cards.md +116 -0
  9. package/docs/ms/examples/forms.md +207 -0
  10. package/docs/ms/examples/hero.md +150 -0
  11. package/docs/ms/examples/index.md +87 -0
  12. package/docs/ms/examples/navigation.md +144 -0
  13. package/docs/ms/guide/cdn.md +110 -0
  14. package/docs/ms/guide/cli.md +174 -0
  15. package/docs/ms/guide/configuration.md +152 -0
  16. package/docs/ms/guide/dark-mode.md +152 -0
  17. package/docs/ms/guide/getting-started.md +130 -0
  18. package/docs/ms/guide/index.md +64 -0
  19. package/docs/ms/guide/natural-scale.md +123 -0
  20. package/docs/ms/guide/philosophy.md +103 -0
  21. package/docs/ms/guide/preflight.md +139 -0
  22. package/docs/ms/guide/responsive.md +129 -0
  23. package/docs/ms/guide/states.md +162 -0
  24. package/docs/ms/guide/tri-attribute.md +187 -0
  25. package/docs/ms/index.md +64 -0
  26. package/docs/ms/reference/breakpoints.md +131 -0
  27. package/docs/ms/reference/colors.md +126 -0
  28. package/docs/ms/reference/layout/align-content.md +35 -0
  29. package/docs/ms/reference/layout/align-items.md +33 -0
  30. package/docs/ms/reference/layout/align-self.md +34 -0
  31. package/docs/ms/reference/layout/aspect-ratio.md +40 -0
  32. package/docs/ms/reference/layout/border-collapse.md +30 -0
  33. package/docs/ms/reference/layout/border-spacing.md +39 -0
  34. package/docs/ms/reference/layout/box-sizing.md +30 -0
  35. package/docs/ms/reference/layout/caption-side.md +30 -0
  36. package/docs/ms/reference/layout/columns.md +30 -0
  37. package/docs/ms/reference/layout/container.md +29 -0
  38. package/docs/ms/reference/layout/display.md +60 -0
  39. package/docs/ms/reference/layout/flex-basis.md +38 -0
  40. package/docs/ms/reference/layout/flex-direction.md +33 -0
  41. package/docs/ms/reference/layout/flex-items.md +32 -0
  42. package/docs/ms/reference/layout/flex-wrap.md +31 -0
  43. package/docs/ms/reference/layout/flex.md +40 -0
  44. package/docs/ms/reference/layout/float-clear.md +32 -0
  45. package/docs/ms/reference/layout/grid-auto-flow.md +33 -0
  46. package/docs/ms/reference/layout/grid-auto-sizing.md +32 -0
  47. package/docs/ms/reference/layout/grid-column-span.md +31 -0
  48. package/docs/ms/reference/layout/grid-columns.md +32 -0
  49. package/docs/ms/reference/layout/grid-row-span.md +30 -0
  50. package/docs/ms/reference/layout/grid-rows.md +31 -0
  51. package/docs/ms/reference/layout/inset.md +44 -0
  52. package/docs/ms/reference/layout/isolation.md +30 -0
  53. package/docs/ms/reference/layout/justify-content.md +36 -0
  54. package/docs/ms/reference/layout/justify-items.md +32 -0
  55. package/docs/ms/reference/layout/justify-self.md +33 -0
  56. package/docs/ms/reference/layout/object-fit.md +33 -0
  57. package/docs/ms/reference/layout/object-position.md +45 -0
  58. package/docs/ms/reference/layout/order.md +32 -0
  59. package/docs/ms/reference/layout/overflow.md +34 -0
  60. package/docs/ms/reference/layout/overscroll.md +31 -0
  61. package/docs/ms/reference/layout/place-content.md +35 -0
  62. package/docs/ms/reference/layout/place-items.md +32 -0
  63. package/docs/ms/reference/layout/place-self.md +33 -0
  64. package/docs/ms/reference/layout/position.md +34 -0
  65. package/docs/ms/reference/layout/shorthand-alignment.md +34 -0
  66. package/docs/ms/reference/layout/table-layout.md +30 -0
  67. package/docs/ms/reference/layout/visibility.md +30 -0
  68. package/docs/ms/reference/layout/z-index.md +33 -0
  69. package/docs/ms/reference/layout.md +73 -0
  70. package/docs/ms/reference/space/arbitrary-values.md +32 -0
  71. package/docs/ms/reference/space/gap.md +44 -0
  72. package/docs/ms/reference/space/height.md +44 -0
  73. package/docs/ms/reference/space/margin.md +49 -0
  74. package/docs/ms/reference/space/padding.md +49 -0
  75. package/docs/ms/reference/space/scale-reference.md +43 -0
  76. package/docs/ms/reference/space/sizing.md +27 -0
  77. package/docs/ms/reference/space/width.md +45 -0
  78. package/docs/ms/reference/space.md +37 -0
  79. package/docs/ms/reference/spacing.md +88 -0
  80. package/docs/ms/reference/visual/accent-color.md +31 -0
  81. package/docs/ms/reference/visual/animation-builtin.md +41 -0
  82. package/docs/ms/reference/visual/animation-delay.md +41 -0
  83. package/docs/ms/reference/visual/animation-direction.md +32 -0
  84. package/docs/ms/reference/visual/animation-duration.md +43 -0
  85. package/docs/ms/reference/visual/animation-fill.md +32 -0
  86. package/docs/ms/reference/visual/animation-iteration.md +30 -0
  87. package/docs/ms/reference/visual/animation-play.md +30 -0
  88. package/docs/ms/reference/visual/appearance.md +30 -0
  89. package/docs/ms/reference/visual/backdrop-blur.md +43 -0
  90. package/docs/ms/reference/visual/backdrop-brightness.md +41 -0
  91. package/docs/ms/reference/visual/backdrop-contrast.md +41 -0
  92. package/docs/ms/reference/visual/backdrop-grayscale.md +39 -0
  93. package/docs/ms/reference/visual/backdrop-hue-rotate.md +39 -0
  94. package/docs/ms/reference/visual/backdrop-invert.md +39 -0
  95. package/docs/ms/reference/visual/backdrop-opacity.md +39 -0
  96. package/docs/ms/reference/visual/backdrop-saturate.md +41 -0
  97. package/docs/ms/reference/visual/backdrop-sepia.md +39 -0
  98. package/docs/ms/reference/visual/background-attachment.md +31 -0
  99. package/docs/ms/reference/visual/background-blend-mode.md +34 -0
  100. package/docs/ms/reference/visual/background-clip.md +32 -0
  101. package/docs/ms/reference/visual/background-color.md +33 -0
  102. package/docs/ms/reference/visual/background-image.md +41 -0
  103. package/docs/ms/reference/visual/background-origin.md +31 -0
  104. package/docs/ms/reference/visual/background-position.md +45 -0
  105. package/docs/ms/reference/visual/background-repeat.md +34 -0
  106. package/docs/ms/reference/visual/background-size.md +39 -0
  107. package/docs/ms/reference/visual/background.md +13 -0
  108. package/docs/ms/reference/visual/blend-modes.md +34 -0
  109. package/docs/ms/reference/visual/border-radius.md +34 -0
  110. package/docs/ms/reference/visual/border-style.md +33 -0
  111. package/docs/ms/reference/visual/border-width.md +44 -0
  112. package/docs/ms/reference/visual/border.md +43 -0
  113. package/docs/ms/reference/visual/box-shadow.md +33 -0
  114. package/docs/ms/reference/visual/caret-color.md +31 -0
  115. package/docs/ms/reference/visual/color-scheme.md +31 -0
  116. package/docs/ms/reference/visual/cursor.md +37 -0
  117. package/docs/ms/reference/visual/field-sizing.md +30 -0
  118. package/docs/ms/reference/visual/fill.md +38 -0
  119. package/docs/ms/reference/visual/filter-blur.md +43 -0
  120. package/docs/ms/reference/visual/filter-brightness.md +41 -0
  121. package/docs/ms/reference/visual/filter-contrast.md +41 -0
  122. package/docs/ms/reference/visual/filter-drop-shadow.md +42 -0
  123. package/docs/ms/reference/visual/filter-grayscale.md +39 -0
  124. package/docs/ms/reference/visual/filter-hue-rotate.md +39 -0
  125. package/docs/ms/reference/visual/filter-invert.md +39 -0
  126. package/docs/ms/reference/visual/filter-saturate.md +41 -0
  127. package/docs/ms/reference/visual/filter-sepia.md +39 -0
  128. package/docs/ms/reference/visual/font-family.md +31 -0
  129. package/docs/ms/reference/visual/font-smoothing.md +30 -0
  130. package/docs/ms/reference/visual/font-style.md +30 -0
  131. package/docs/ms/reference/visual/font-variant-numeric.md +35 -0
  132. package/docs/ms/reference/visual/font-weight.md +31 -0
  133. package/docs/ms/reference/visual/forced-color-adjust.md +30 -0
  134. package/docs/ms/reference/visual/hyphens.md +31 -0
  135. package/docs/ms/reference/visual/letter-spacing.md +42 -0
  136. package/docs/ms/reference/visual/line-clamp.md +40 -0
  137. package/docs/ms/reference/visual/line-height.md +42 -0
  138. package/docs/ms/reference/visual/list-style.md +34 -0
  139. package/docs/ms/reference/visual/mask.md +39 -0
  140. package/docs/ms/reference/visual/opacity.md +33 -0
  141. package/docs/ms/reference/visual/outline.md +31 -0
  142. package/docs/ms/reference/visual/pointer-events.md +30 -0
  143. package/docs/ms/reference/visual/resize.md +32 -0
  144. package/docs/ms/reference/visual/scroll-behavior.md +30 -0
  145. package/docs/ms/reference/visual/scroll-margin.md +41 -0
  146. package/docs/ms/reference/visual/scroll-padding.md +41 -0
  147. package/docs/ms/reference/visual/scroll-snap-align.md +32 -0
  148. package/docs/ms/reference/visual/scroll-snap-stop.md +30 -0
  149. package/docs/ms/reference/visual/scroll-snap-type.md +34 -0
  150. package/docs/ms/reference/visual/state-prefixes.md +37 -0
  151. package/docs/ms/reference/visual/stroke-width.md +39 -0
  152. package/docs/ms/reference/visual/stroke.md +38 -0
  153. package/docs/ms/reference/visual/text-alignment.md +32 -0
  154. package/docs/ms/reference/visual/text-color.md +41 -0
  155. package/docs/ms/reference/visual/text-decoration.md +32 -0
  156. package/docs/ms/reference/visual/text-indent.md +37 -0
  157. package/docs/ms/reference/visual/text-overflow.md +31 -0
  158. package/docs/ms/reference/visual/text-shadow.md +40 -0
  159. package/docs/ms/reference/visual/text-size.md +32 -0
  160. package/docs/ms/reference/visual/text-transform.md +32 -0
  161. package/docs/ms/reference/visual/text-wrap.md +32 -0
  162. package/docs/ms/reference/visual/touch-action.md +36 -0
  163. package/docs/ms/reference/visual/transform-backface.md +30 -0
  164. package/docs/ms/reference/visual/transform-origin.md +45 -0
  165. package/docs/ms/reference/visual/transform-perspective-origin.md +45 -0
  166. package/docs/ms/reference/visual/transform-perspective.md +43 -0
  167. package/docs/ms/reference/visual/transform-rotate.md +40 -0
  168. package/docs/ms/reference/visual/transform-scale.md +43 -0
  169. package/docs/ms/reference/visual/transform-skew.md +40 -0
  170. package/docs/ms/reference/visual/transform-style.md +30 -0
  171. package/docs/ms/reference/visual/transform-translate.md +39 -0
  172. package/docs/ms/reference/visual/transition-delay.md +41 -0
  173. package/docs/ms/reference/visual/transition-duration.md +43 -0
  174. package/docs/ms/reference/visual/transition-property.md +34 -0
  175. package/docs/ms/reference/visual/transition-timing.md +40 -0
  176. package/docs/ms/reference/visual/typography-keywords.md +81 -0
  177. package/docs/ms/reference/visual/user-select.md +32 -0
  178. package/docs/ms/reference/visual/vertical-align.md +36 -0
  179. package/docs/ms/reference/visual/whitespace.md +34 -0
  180. package/docs/ms/reference/visual/will-change.md +33 -0
  181. package/docs/ms/reference/visual/word-break.md +32 -0
  182. package/docs/ms/reference/visual.md +157 -0
  183. package/docs/public/assets/senangstart-css.min.js +1545 -0
  184. package/docs/reference/layout/align-content.md +35 -0
  185. package/docs/reference/layout/align-items.md +33 -0
  186. package/docs/reference/layout/align-self.md +34 -0
  187. package/docs/reference/layout/aspect-ratio.md +40 -0
  188. package/docs/reference/layout/border-collapse.md +30 -0
  189. package/docs/reference/layout/border-spacing.md +39 -0
  190. package/docs/reference/layout/box-sizing.md +30 -0
  191. package/docs/reference/layout/caption-side.md +30 -0
  192. package/docs/reference/layout/columns.md +30 -0
  193. package/docs/reference/layout/container.md +29 -0
  194. package/docs/reference/layout/display.md +60 -0
  195. package/docs/reference/layout/flex-basis.md +38 -0
  196. package/docs/reference/layout/flex-direction.md +33 -0
  197. package/docs/reference/layout/flex-items.md +32 -0
  198. package/docs/reference/layout/flex-wrap.md +31 -0
  199. package/docs/reference/layout/flex.md +40 -0
  200. package/docs/reference/layout/float-clear.md +32 -0
  201. package/docs/reference/layout/grid-auto-flow.md +33 -0
  202. package/docs/reference/layout/grid-auto-sizing.md +32 -0
  203. package/docs/reference/layout/grid-column-span.md +31 -0
  204. package/docs/reference/layout/grid-columns.md +32 -0
  205. package/docs/reference/layout/grid-row-span.md +30 -0
  206. package/docs/reference/layout/grid-rows.md +31 -0
  207. package/docs/reference/layout/inset.md +44 -0
  208. package/docs/reference/layout/isolation.md +30 -0
  209. package/docs/reference/layout/justify-content.md +36 -0
  210. package/docs/reference/layout/justify-items.md +32 -0
  211. package/docs/reference/layout/justify-self.md +33 -0
  212. package/docs/reference/layout/object-fit.md +33 -0
  213. package/docs/reference/layout/object-position.md +45 -0
  214. package/docs/reference/layout/order.md +32 -0
  215. package/docs/reference/layout/overflow.md +34 -0
  216. package/docs/reference/layout/overscroll.md +31 -0
  217. package/docs/reference/layout/place-content.md +35 -0
  218. package/docs/reference/layout/place-items.md +32 -0
  219. package/docs/reference/layout/place-self.md +33 -0
  220. package/docs/reference/layout/position.md +34 -0
  221. package/docs/reference/layout/shorthand-alignment.md +34 -0
  222. package/docs/reference/layout/table-layout.md +30 -0
  223. package/docs/reference/layout/visibility.md +30 -0
  224. package/docs/reference/layout/z-index.md +33 -0
  225. package/docs/reference/layout.md +60 -102
  226. package/docs/reference/space/arbitrary-values.md +39 -0
  227. package/docs/reference/space/gap.md +44 -0
  228. package/docs/reference/space/height.md +44 -0
  229. package/docs/reference/space/margin.md +49 -0
  230. package/docs/reference/space/padding.md +49 -0
  231. package/docs/reference/space/scale-reference.md +43 -0
  232. package/docs/reference/space/width.md +45 -0
  233. package/docs/reference/space.md +14 -98
  234. package/docs/reference/spacing.md +22 -8
  235. package/docs/reference/visual/accent-color.md +31 -0
  236. package/docs/reference/visual/animation-builtin.md +41 -0
  237. package/docs/reference/visual/animation-delay.md +41 -0
  238. package/docs/reference/visual/animation-direction.md +32 -0
  239. package/docs/reference/visual/animation-duration.md +43 -0
  240. package/docs/reference/visual/animation-fill.md +32 -0
  241. package/docs/reference/visual/animation-iteration.md +30 -0
  242. package/docs/reference/visual/animation-play.md +30 -0
  243. package/docs/reference/visual/appearance.md +30 -0
  244. package/docs/reference/visual/backdrop-blur.md +43 -0
  245. package/docs/reference/visual/backdrop-brightness.md +41 -0
  246. package/docs/reference/visual/backdrop-contrast.md +41 -0
  247. package/docs/reference/visual/backdrop-grayscale.md +39 -0
  248. package/docs/reference/visual/backdrop-hue-rotate.md +39 -0
  249. package/docs/reference/visual/backdrop-invert.md +39 -0
  250. package/docs/reference/visual/backdrop-opacity.md +39 -0
  251. package/docs/reference/visual/backdrop-saturate.md +41 -0
  252. package/docs/reference/visual/backdrop-sepia.md +39 -0
  253. package/docs/reference/visual/background-attachment.md +31 -0
  254. package/docs/reference/visual/background-blend-mode.md +34 -0
  255. package/docs/reference/visual/background-clip.md +32 -0
  256. package/docs/reference/visual/background-color.md +33 -0
  257. package/docs/reference/visual/background-image.md +41 -0
  258. package/docs/reference/visual/background-origin.md +31 -0
  259. package/docs/reference/visual/background-position.md +45 -0
  260. package/docs/reference/visual/background-repeat.md +34 -0
  261. package/docs/reference/visual/background-size.md +39 -0
  262. package/docs/reference/visual/blend-modes.md +34 -0
  263. package/docs/reference/visual/border-radius.md +34 -0
  264. package/docs/reference/visual/border-style.md +33 -0
  265. package/docs/reference/visual/border-width.md +44 -0
  266. package/docs/reference/visual/border.md +43 -0
  267. package/docs/reference/visual/box-shadow.md +33 -0
  268. package/docs/reference/visual/caret-color.md +31 -0
  269. package/docs/reference/visual/color-scheme.md +31 -0
  270. package/docs/reference/visual/cursor.md +37 -0
  271. package/docs/reference/visual/field-sizing.md +30 -0
  272. package/docs/reference/visual/fill.md +38 -0
  273. package/docs/reference/visual/filter-blur.md +43 -0
  274. package/docs/reference/visual/filter-brightness.md +41 -0
  275. package/docs/reference/visual/filter-contrast.md +41 -0
  276. package/docs/reference/visual/filter-drop-shadow.md +42 -0
  277. package/docs/reference/visual/filter-grayscale.md +39 -0
  278. package/docs/reference/visual/filter-hue-rotate.md +39 -0
  279. package/docs/reference/visual/filter-invert.md +39 -0
  280. package/docs/reference/visual/filter-saturate.md +41 -0
  281. package/docs/reference/visual/filter-sepia.md +39 -0
  282. package/docs/reference/visual/font-family.md +31 -0
  283. package/docs/reference/visual/font-smoothing.md +30 -0
  284. package/docs/reference/visual/font-style.md +30 -0
  285. package/docs/reference/visual/font-variant-numeric.md +35 -0
  286. package/docs/reference/visual/font-weight.md +31 -0
  287. package/docs/reference/visual/forced-color-adjust.md +30 -0
  288. package/docs/reference/visual/hyphens.md +31 -0
  289. package/docs/reference/visual/letter-spacing.md +42 -0
  290. package/docs/reference/visual/line-clamp.md +40 -0
  291. package/docs/reference/visual/line-height.md +42 -0
  292. package/docs/reference/visual/list-style.md +34 -0
  293. package/docs/reference/visual/mask.md +39 -0
  294. package/docs/reference/visual/opacity.md +33 -0
  295. package/docs/reference/visual/outline.md +31 -0
  296. package/docs/reference/visual/pointer-events.md +30 -0
  297. package/docs/reference/visual/resize.md +32 -0
  298. package/docs/reference/visual/scroll-behavior.md +30 -0
  299. package/docs/reference/visual/scroll-margin.md +41 -0
  300. package/docs/reference/visual/scroll-padding.md +41 -0
  301. package/docs/reference/visual/scroll-snap-align.md +32 -0
  302. package/docs/reference/visual/scroll-snap-stop.md +30 -0
  303. package/docs/reference/visual/scroll-snap-type.md +34 -0
  304. package/docs/reference/visual/state-prefixes.md +37 -0
  305. package/docs/reference/visual/stroke-width.md +39 -0
  306. package/docs/reference/visual/stroke.md +38 -0
  307. package/docs/reference/visual/text-alignment.md +32 -0
  308. package/docs/reference/visual/text-color.md +41 -0
  309. package/docs/reference/visual/text-decoration.md +32 -0
  310. package/docs/reference/visual/text-indent.md +37 -0
  311. package/docs/reference/visual/text-overflow.md +31 -0
  312. package/docs/reference/visual/text-shadow.md +40 -0
  313. package/docs/reference/visual/text-size.md +32 -0
  314. package/docs/reference/visual/text-transform.md +32 -0
  315. package/docs/reference/visual/text-wrap.md +32 -0
  316. package/docs/reference/visual/touch-action.md +36 -0
  317. package/docs/reference/visual/transform-backface.md +30 -0
  318. package/docs/reference/visual/transform-origin.md +45 -0
  319. package/docs/reference/visual/transform-perspective-origin.md +45 -0
  320. package/docs/reference/visual/transform-perspective.md +43 -0
  321. package/docs/reference/visual/transform-rotate.md +40 -0
  322. package/docs/reference/visual/transform-scale.md +43 -0
  323. package/docs/reference/visual/transform-skew.md +40 -0
  324. package/docs/reference/visual/transform-style.md +30 -0
  325. package/docs/reference/visual/transform-translate.md +39 -0
  326. package/docs/reference/visual/transition-delay.md +41 -0
  327. package/docs/reference/visual/transition-duration.md +43 -0
  328. package/docs/reference/visual/transition-property.md +34 -0
  329. package/docs/reference/visual/transition-timing.md +40 -0
  330. package/docs/reference/visual/typography-keywords.md +81 -0
  331. package/docs/reference/visual/user-select.md +32 -0
  332. package/docs/reference/visual/vertical-align.md +36 -0
  333. package/docs/reference/visual/whitespace.md +34 -0
  334. package/docs/reference/visual/will-change.md +33 -0
  335. package/docs/reference/visual/word-break.md +32 -0
  336. package/docs/reference/visual.md +151 -154
  337. package/docs/syntax-reference.json +1973 -0
  338. package/package.json +10 -2
  339. package/playground/index.html +78 -0
  340. package/playground/jit-test.html +384 -0
  341. package/scripts/extract-syntax.js +152 -0
  342. package/scripts/generate-docs.js +352 -0
  343. package/src/cdn/jit.js +1473 -21
  344. package/src/cli/commands/build.js +5 -0
  345. package/src/cli/index.js +2 -0
  346. package/src/compiler/generators/css.js +1594 -30
  347. package/src/compiler/generators/preflight.js +379 -0
  348. package/src/compiler/tokenizer.js +1 -1
  349. package/src/config/defaults.js +25 -1
  350. package/src/definitions/index.js +153 -0
  351. package/src/definitions/layout-alignment.js +257 -0
  352. package/src/definitions/layout-flex.js +209 -0
  353. package/src/definitions/layout-grid.js +150 -0
  354. package/src/definitions/layout-positioning.js +89 -0
  355. package/src/definitions/layout-table.js +98 -0
  356. package/src/definitions/layout-utilities.js +262 -0
  357. package/src/definitions/layout.js +195 -0
  358. package/src/definitions/space.js +164 -0
  359. package/src/definitions/visual-backgrounds.js +423 -0
  360. package/src/definitions/visual-borders.js +111 -0
  361. package/src/definitions/visual-filters.js +204 -0
  362. package/src/definitions/visual-interactivity.js +292 -0
  363. package/src/definitions/visual-svg.js +80 -0
  364. package/src/definitions/visual-transform3d.js +159 -0
  365. package/src/definitions/visual-transforms.js +142 -0
  366. package/src/definitions/visual-transitions.js +277 -0
  367. package/src/definitions/visual-typography.js +386 -0
  368. package/src/definitions/visual.js +542 -0
  369. package/tests/helpers/test-utils.js +144 -0
  370. package/tests/integration/compiler.test.js +247 -0
  371. package/tests/sync/docs-sync.test.js +364 -0
  372. package/tests/unit/compiler/generators/css.test.js +719 -0
  373. package/tests/unit/compiler/parser.test.js +244 -0
  374. package/tests/unit/compiler/tokenizer.test.js +305 -0
  375. package/tests/unit/config/defaults.test.js +168 -0
  376. package/docs/.vitepress/cache/deps/_metadata.json +0 -52
  377. package/docs/.vitepress/cache/deps/chunk-2CLQ7TTZ.js +0 -9719
  378. package/docs/.vitepress/cache/deps/chunk-2CLQ7TTZ.js.map +0 -7
  379. package/docs/.vitepress/cache/deps/chunk-LE5NDSFD.js +0 -12824
  380. package/docs/.vitepress/cache/deps/chunk-LE5NDSFD.js.map +0 -7
  381. package/docs/.vitepress/cache/deps/package.json +0 -3
  382. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +0 -4505
  383. package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +0 -7
  384. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +0 -583
  385. package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +0 -7
  386. package/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js +0 -1333
  387. package/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map +0 -7
  388. package/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js +0 -1665
  389. package/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js.map +0 -7
  390. package/docs/.vitepress/cache/deps/vitepress___minisearch.js +0 -1813
  391. package/docs/.vitepress/cache/deps/vitepress___minisearch.js.map +0 -7
  392. package/docs/.vitepress/cache/deps/vue.js +0 -347
  393. package/docs/.vitepress/cache/deps/vue.js.map +0 -7
  394. package/docs/.vitepress/dist/404.html +0 -22
  395. package/docs/.vitepress/dist/assets/app.CwVZm472.js +0 -1
  396. package/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.BTWwOmXN.js +0 -1
  397. package/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.B-RMQ_ux.js +0 -9
  398. package/docs/.vitepress/dist/assets/chunks/framework.qISVh_QZ.js +0 -19
  399. package/docs/.vitepress/dist/assets/chunks/theme.B37_rtT6.js +0 -2
  400. package/docs/.vitepress/dist/assets/examples_cards.md.D4i0phvj.js +0 -84
  401. package/docs/.vitepress/dist/assets/examples_cards.md.D4i0phvj.lean.js +0 -1
  402. package/docs/.vitepress/dist/assets/examples_forms.md.BnsjqHST.js +0 -169
  403. package/docs/.vitepress/dist/assets/examples_forms.md.BnsjqHST.lean.js +0 -1
  404. package/docs/.vitepress/dist/assets/examples_hero.md.CCcb2x8Y.js +0 -118
  405. package/docs/.vitepress/dist/assets/examples_hero.md.CCcb2x8Y.lean.js +0 -1
  406. package/docs/.vitepress/dist/assets/examples_index.md.Dj7lqhZt.js +0 -52
  407. package/docs/.vitepress/dist/assets/examples_index.md.Dj7lqhZt.lean.js +0 -1
  408. package/docs/.vitepress/dist/assets/examples_navigation.md.CppyHbnP.js +0 -106
  409. package/docs/.vitepress/dist/assets/examples_navigation.md.CppyHbnP.lean.js +0 -1
  410. package/docs/.vitepress/dist/assets/guide_cdn.md.BzsOep2E.js +0 -30
  411. package/docs/.vitepress/dist/assets/guide_cdn.md.BzsOep2E.lean.js +0 -1
  412. package/docs/.vitepress/dist/assets/guide_cli.md.zXEKk-bu.js +0 -44
  413. package/docs/.vitepress/dist/assets/guide_cli.md.zXEKk-bu.lean.js +0 -1
  414. package/docs/.vitepress/dist/assets/guide_configuration.md.D2JZzhKm.js +0 -79
  415. package/docs/.vitepress/dist/assets/guide_configuration.md.D2JZzhKm.lean.js +0 -1
  416. package/docs/.vitepress/dist/assets/guide_getting-started.md.to1dkMR9.js +0 -47
  417. package/docs/.vitepress/dist/assets/guide_getting-started.md.to1dkMR9.lean.js +0 -1
  418. package/docs/.vitepress/dist/assets/guide_index.md.C1xk2lBl.js +0 -3
  419. package/docs/.vitepress/dist/assets/guide_index.md.C1xk2lBl.lean.js +0 -1
  420. package/docs/.vitepress/dist/assets/guide_natural-scale.md.D1oVRN5V.js +0 -22
  421. package/docs/.vitepress/dist/assets/guide_natural-scale.md.D1oVRN5V.lean.js +0 -1
  422. package/docs/.vitepress/dist/assets/guide_philosophy.md.DPyyMH8d.js +0 -7
  423. package/docs/.vitepress/dist/assets/guide_philosophy.md.DPyyMH8d.lean.js +0 -1
  424. package/docs/.vitepress/dist/assets/guide_responsive.md.wksOAMT5.js +0 -57
  425. package/docs/.vitepress/dist/assets/guide_responsive.md.wksOAMT5.lean.js +0 -1
  426. package/docs/.vitepress/dist/assets/guide_states.md.DRjYOZDJ.js +0 -77
  427. package/docs/.vitepress/dist/assets/guide_states.md.DRjYOZDJ.lean.js +0 -1
  428. package/docs/.vitepress/dist/assets/guide_tri-attribute.md.CoFqfmPZ.js +0 -45
  429. package/docs/.vitepress/dist/assets/guide_tri-attribute.md.CoFqfmPZ.lean.js +0 -1
  430. package/docs/.vitepress/dist/assets/index.md.CUZJzNzP.js +0 -7
  431. package/docs/.vitepress/dist/assets/index.md.CUZJzNzP.lean.js +0 -1
  432. package/docs/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
  433. package/docs/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
  434. package/docs/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
  435. package/docs/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
  436. package/docs/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
  437. package/docs/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
  438. package/docs/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
  439. package/docs/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
  440. package/docs/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
  441. package/docs/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
  442. package/docs/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
  443. package/docs/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
  444. package/docs/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
  445. package/docs/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
  446. package/docs/.vitepress/dist/assets/reference_breakpoints.md.BEhuwXBS.js +0 -48
  447. package/docs/.vitepress/dist/assets/reference_breakpoints.md.BEhuwXBS.lean.js +0 -1
  448. package/docs/.vitepress/dist/assets/reference_colors.md.o5ltImYJ.js +0 -17
  449. package/docs/.vitepress/dist/assets/reference_colors.md.o5ltImYJ.lean.js +0 -1
  450. package/docs/.vitepress/dist/assets/reference_layout.md.DqSoofMZ.js +0 -13
  451. package/docs/.vitepress/dist/assets/reference_layout.md.DqSoofMZ.lean.js +0 -1
  452. package/docs/.vitepress/dist/assets/reference_space.md.luOYAfQg.js +0 -24
  453. package/docs/.vitepress/dist/assets/reference_space.md.luOYAfQg.lean.js +0 -1
  454. package/docs/.vitepress/dist/assets/reference_spacing.md.DdsDhDhS.js +0 -32
  455. package/docs/.vitepress/dist/assets/reference_spacing.md.DdsDhDhS.lean.js +0 -1
  456. package/docs/.vitepress/dist/assets/reference_visual.md.DZFvxgPk.js +0 -22
  457. package/docs/.vitepress/dist/assets/reference_visual.md.DZFvxgPk.lean.js +0 -1
  458. package/docs/.vitepress/dist/assets/style.BuMqNgkb.css +0 -1
  459. package/docs/.vitepress/dist/examples/cards.html +0 -108
  460. package/docs/.vitepress/dist/examples/forms.html +0 -193
  461. package/docs/.vitepress/dist/examples/hero.html +0 -142
  462. package/docs/.vitepress/dist/examples/index.html +0 -76
  463. package/docs/.vitepress/dist/examples/navigation.html +0 -130
  464. package/docs/.vitepress/dist/guide/cdn.html +0 -54
  465. package/docs/.vitepress/dist/guide/cli.html +0 -68
  466. package/docs/.vitepress/dist/guide/configuration.html +0 -103
  467. package/docs/.vitepress/dist/guide/getting-started.html +0 -71
  468. package/docs/.vitepress/dist/guide/index.html +0 -27
  469. package/docs/.vitepress/dist/guide/natural-scale.html +0 -46
  470. package/docs/.vitepress/dist/guide/philosophy.html +0 -31
  471. package/docs/.vitepress/dist/guide/responsive.html +0 -81
  472. package/docs/.vitepress/dist/guide/states.html +0 -101
  473. package/docs/.vitepress/dist/guide/tri-attribute.html +0 -69
  474. package/docs/.vitepress/dist/hashmap.json +0 -1
  475. package/docs/.vitepress/dist/index.html +0 -31
  476. package/docs/.vitepress/dist/reference/breakpoints.html +0 -72
  477. package/docs/.vitepress/dist/reference/colors.html +0 -41
  478. package/docs/.vitepress/dist/reference/layout.html +0 -37
  479. package/docs/.vitepress/dist/reference/space.html +0 -48
  480. package/docs/.vitepress/dist/reference/spacing.html +0 -56
  481. package/docs/.vitepress/dist/reference/visual.html +0 -46
  482. package/docs/.vitepress/dist/vp-icons.css +0 -1
@@ -0,0 +1,49 @@
1
+ # Padding
2
+
3
+ Tambah padding pada elemen
4
+
5
+ ## Sintaks
6
+ ```
7
+ space="p:[value]" or space="p-{side}:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Properti | CSS Output | Huraian |
13
+ |--------|------------|-------------|
14
+ | `p` | `padding: var(--s-{value})` | Semua sisi |
15
+ | `p-t` | `padding-top: var(--s-{value})` | Atas |
16
+ | `p-r` | `padding-right: var(--s-{value})` | Kanan |
17
+ | `p-b` | `padding-bottom: var(--s-{value})` | Bawah |
18
+ | `p-l` | `padding-left: var(--s-{value})` | Kiri |
19
+ | `p-x` | `padding-left: var(--s-{value}) padding-right: var(--s-{value})` | Mendatar |
20
+ | `p-y` | `padding-top: var(--s-{value}) padding-bottom: var(--s-{value})` | Menegak |
21
+
22
+ ## Nilai Skala
23
+
24
+ `none`, `tiny`, `small`, `medium`, `big`, `giant`, `vast`
25
+
26
+ ## Contoh
27
+
28
+ ```html
29
+ <div space="p:medium">Padding all sides</div>
30
+ <div space="p-x:big p-y:small">Different padding</div>
31
+ <div space="p:[20px]">Custom padding</div>
32
+ ```
33
+
34
+ ## Nilai Arbitrari
35
+
36
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
37
+
38
+ ```html
39
+ <div space="padding:[custom-value]">Custom</div>
40
+ ```
41
+
42
+ ## Responsif
43
+
44
+ ```html
45
+ <!-- Contoh responsif -->
46
+ <div space="mob:... tab:... lap:...">
47
+ Kandungan responsif
48
+ </div>
49
+ ```
@@ -0,0 +1,43 @@
1
+ # Rujukan Skala
2
+
3
+ Skala semula jadi yang digunakan untuk sifat jarak.
4
+
5
+ ## Nilai Skala
6
+
7
+ | Kata Kunci | Nilai Lalai |
8
+ |------------|-------------|
9
+ | `none` | 0px |
10
+ | `tiny` | 4px |
11
+ | `small` | 8px |
12
+ | `medium` | 16px |
13
+ | `big` | 32px |
14
+ | `giant` | 64px |
15
+ | `vast` | 128px |
16
+
17
+ ## Penyesuaian
18
+
19
+ Timpa nilai skala dalam konfigurasi anda:
20
+
21
+ ```js
22
+ // senangstart.config.js
23
+ module.exports = {
24
+ scale: {
25
+ tiny: '2px',
26
+ small: '4px',
27
+ medium: '8px',
28
+ big: '16px',
29
+ giant: '32px',
30
+ vast: '64px'
31
+ }
32
+ }
33
+ ```
34
+
35
+ ## Penggunaan
36
+
37
+ Semua sifat jarak menggunakan skala yang sama:
38
+
39
+ ```html
40
+ <div space="p:medium m:small g:big">
41
+ Jarak konsisten menggunakan skala semula jadi
42
+ </div>
43
+ ```
@@ -0,0 +1,27 @@
1
+ # Saiz
2
+
3
+ Mengawal lebar dan tinggi dengan atribut `space`.
4
+
5
+ ## Sifat
6
+
7
+ | Property | Output CSS |
8
+ |----------|------------|
9
+ | `w` | `width` |
10
+ | `h` | `height` |
11
+ | `min-w` | `min-width` |
12
+ | `max-w` | `max-width` |
13
+ | `min-h` | `min-height` |
14
+ | `max-h` | `max-height` |
15
+
16
+ ## Contoh
17
+
18
+ ```html
19
+ <!-- Saiz eksplisit -->
20
+ <div space="w:[100%] h:[400px]">Dimensi tetap</div>
21
+
22
+ <!-- Kontena max width -->
23
+ <div space="max-w:[1200px]">Kontena terhad</div>
24
+
25
+ <!-- Tinggi penuh viewport -->
26
+ <div space="min-h:[100vh]">Sekurang-kurangnya penuh viewport</div>
27
+ ```
@@ -0,0 +1,45 @@
1
+ # Width
2
+
3
+ Tetapkan lebar elemen
4
+
5
+ ## Sintaks
6
+ ```
7
+ space="w:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Properti | CSS Output | Huraian |
13
+ |--------|------------|-------------|
14
+ | `w` | `width: var(--s-{value})` | Lebar |
15
+ | `min-w` | `min-width: var(--s-{value})` | Lebar minimum |
16
+ | `max-w` | `max-width: var(--s-{value})` | Lebar maksimum |
17
+
18
+ ## Nilai Skala
19
+
20
+ `none`, `tiny`, `small`, `medium`, `big`, `giant`, `vast`
21
+
22
+ ## Contoh
23
+
24
+ ```html
25
+ <div space="w:[100%]">Full width</div>
26
+ <div space="max-w:[1200px]">Max width container</div>
27
+ <div space="min-w:[300px]">Min width</div>
28
+ ```
29
+
30
+ ## Nilai Arbitrari
31
+
32
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
33
+
34
+ ```html
35
+ <div space="width:[custom-value]">Custom</div>
36
+ ```
37
+
38
+ ## Responsif
39
+
40
+ ```html
41
+ <!-- Contoh responsif -->
42
+ <div space="mob:... tab:... lap:...">
43
+ Kandungan responsif
44
+ </div>
45
+ ```
@@ -0,0 +1,37 @@
1
+ # Rujukan Space
2
+
3
+ Atribut `space` mengawal saiz dan jarak.
4
+
5
+ ## Sintaksis
6
+
7
+ ```
8
+ [breakpoint]:[property]:[scale]
9
+ ```
10
+
11
+ **Titik Henti:** `mob:`, `tab:`, `lap:`, `desk:`
12
+
13
+ **Nilai skala:** `none`, `tiny`, `small`, `medium`, `big`, `giant`, `vast`
14
+
15
+ ## Jarak
16
+
17
+ - [Padding](./space/padding) - Jarak dalaman (`p`, `p-t`, `p-r`, `p-b`, `p-l`, `p-x`, `p-y`)
18
+ - [Margin](./space/margin) - Jarak luar (`m`, `m-t`, `m-r`, `m-b`, `m-l`, `m-x`, `m-y`)
19
+ - [Gap](./space/gap) - Jarak flex/grid (`g`, `g-x`, `g-y`)
20
+
21
+ ## Dimensi
22
+
23
+ - [Lebar](./space/width) - Lebar elemen (`w`, `min-w`, `max-w`)
24
+ - [Tinggi](./space/height) - Tinggi elemen (`h`, `min-h`, `max-h`)
25
+
26
+ ## Rujukan
27
+
28
+ - [Nilai Arbitrari](./space/arbitrary-values) - Sintaks escape hatch `[value]`
29
+ - [Rujukan Skala](./space/scale-reference) - Nilai kata kunci skala
30
+
31
+ ## Contoh Pantas
32
+
33
+ ```html
34
+ <div space="p:medium m-b:big w:[100%] max-w:[800px]">
35
+ Kad dengan padding sederhana, margin bawah besar, dan lebar terhad
36
+ </div>
37
+ ```
@@ -0,0 +1,88 @@
1
+ # Rujukan Jarak
2
+
3
+ Rujukan lengkap untuk skala jarak.
4
+
5
+ ## Skala Lalai
6
+
7
+ | Kata Kunci | Nilai | Kes Penggunaan |
8
+ |------------|-------|----------------|
9
+ | `none` | 0px | Reset jarak |
10
+ | `thin` | 1px | Sempadan halus |
11
+ | `regular` | 2px | Sempadan standard |
12
+ | `thick` | 3px | Sempadan tebal |
13
+ | `tiny` | 4px | Offset kecil |
14
+ | `small` | 8px | Kumpulkan item berkaitan |
15
+ | `medium` | 16px | Lalai standard |
16
+ | `big` | 32px | Pisahkan seksyen |
17
+ | `giant` | 64px | Bahagian layout |
18
+ | `vast` | 128px | Seksyen hero |
19
+
20
+ ## Variable CSS
21
+
22
+ Skala jarak menghasilkan variable CSS ini:
23
+
24
+ ```css
25
+ :root {
26
+ --s-none: 0px;
27
+ --s-thin: 1px;
28
+ --s-regular: 2px;
29
+ --s-thick: 3px;
30
+ --s-tiny: 4px;
31
+ --s-small: 8px;
32
+ --s-medium: 16px;
33
+ --s-big: 32px;
34
+ --s-giant: 64px;
35
+ --s-vast: 128px;
36
+ }
37
+ ```
38
+
39
+ ## Contoh Penggunaan
40
+
41
+ ```html
42
+ <!-- Padding -->
43
+ <div space="p:medium">16px padding semua sisi</div>
44
+ <div space="p-x:big">32px padding horizontal</div>
45
+
46
+ <!-- Margin -->
47
+ <div space="m:small">8px margin semua sisi</div>
48
+ <div space="m-b:giant">64px margin bawah</div>
49
+
50
+ <!-- Gap -->
51
+ <div layout="flex" space="g:small">8px gap antara item</div>
52
+
53
+ <!-- Lebar Sempadan -->
54
+ <div visual="border:gray-300 border-w:thin">Sempadan 1px</div>
55
+ <div visual="border:gray-300 border-w:regular">Sempadan 2px</div>
56
+ <div visual="border:gray-300 border-w:thick">Sempadan 3px</div>
57
+ ```
58
+
59
+ ## Penyesuaian
60
+
61
+ Tindih ganti dalam `senangstart.config.js`:
62
+
63
+ ```javascript
64
+ export default {
65
+ theme: {
66
+ spacing: {
67
+ 'tiny': '2px', // Tindih ganti sedia ada
68
+ 'huge': '256px', // Tambah baru
69
+ 'massive': '512px' // Tambah baru
70
+ }
71
+ }
72
+ }
73
+ ```
74
+
75
+ ## Panduan Visual
76
+
77
+ ```
78
+ none │ (tiada ruang)
79
+ thin │ 1px
80
+ regular │▏ 2px
81
+ thick │▎ 3px
82
+ tiny │▌ 4px
83
+ small │██ 8px
84
+ medium │████ 16px
85
+ big │████████ 32px
86
+ giant │████████████████ 64px
87
+ vast │████████████████████████████████ 128px
88
+ ```
@@ -0,0 +1,31 @@
1
+ # Accent Color
2
+
3
+ Tetapkan warna aksen untuk kawalan borang
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="accent:[color]"
8
+ ```
9
+
10
+ ## Contoh
11
+
12
+ ```html
13
+ <input type="checkbox" visual="accent:primary">
14
+ ```
15
+
16
+ ## Nilai Arbitrari
17
+
18
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
19
+
20
+ ```html
21
+ <div visual="accent:[custom-value]">Custom</div>
22
+ ```
23
+
24
+ ## Responsif
25
+
26
+ ```html
27
+ <!-- Contoh responsif -->
28
+ <div visual="mob:... tab:... lap:...">
29
+ Kandungan responsif
30
+ </div>
31
+ ```
@@ -0,0 +1,41 @@
1
+ # Animation Builtin
2
+
3
+ Terapkan animasi terbina dalam
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animate:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `none` | `animation: none` | Tiada animasi |
15
+ | `spin` | `animation: spin 1s linear infinite` | Berpusing |
16
+ | `ping` | `animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite` | Kesan ping |
17
+ | `pulse` | `animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite` | Berdenyut |
18
+ | `bounce` | `animation: bounce 1s infinite` | Melantun |
19
+
20
+ ## Contoh
21
+
22
+ ```html
23
+ <div visual="animate:spin">Loading...</div>
24
+ ```
25
+
26
+ ## Nilai Arbitrari
27
+
28
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
29
+
30
+ ```html
31
+ <div visual="animation:[custom-value]">Custom</div>
32
+ ```
33
+
34
+ ## Responsif
35
+
36
+ ```html
37
+ <!-- Contoh responsif -->
38
+ <div visual="mob:... tab:... lap:...">
39
+ Kandungan responsif
40
+ </div>
41
+ ```
@@ -0,0 +1,41 @@
1
+ # Animation Delay
2
+
3
+ Tetapkan kelewatan animasi
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animation-delay:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `instant` | `animation-delay: 75ms` | Kelewatan 75ms |
15
+ | `quick` | `animation-delay: 100ms` | Kelewatan 100ms |
16
+ | `fast` | `animation-delay: 150ms` | Kelewatan 150ms |
17
+ | `normal` | `animation-delay: 200ms` | Kelewatan 200ms |
18
+ | `slow` | `animation-delay: 300ms` | Kelewatan 300ms |
19
+
20
+ ## Contoh
21
+
22
+ ```html
23
+ <div visual="animate:bounce animation-delay:slow">Delayed bounce</div>
24
+ ```
25
+
26
+ ## Nilai Arbitrari
27
+
28
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
29
+
30
+ ```html
31
+ <div visual="animation:[custom-value]">Custom</div>
32
+ ```
33
+
34
+ ## Responsif
35
+
36
+ ```html
37
+ <!-- Contoh responsif -->
38
+ <div visual="mob:... tab:... lap:...">
39
+ Kandungan responsif
40
+ </div>
41
+ ```
@@ -0,0 +1,32 @@
1
+ # Animation Direction
2
+
3
+ Tetapkan arah animasi
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animation-direction:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `normal` | `animation-direction: normal` | Arah normal |
15
+ | `reverse` | `animation-direction: reverse` | Arah terbalik |
16
+ | `alternate` | `animation-direction: alternate` | Arah berselang |
17
+ | `alternate-reverse` | `animation-direction: alternate-reverse` | Berselang terbalik |
18
+
19
+ ## Contoh
20
+
21
+ ```html
22
+ <div visual="animate:bounce animation-direction:alternate">Alternating</div>
23
+ ```
24
+
25
+ ## Responsif
26
+
27
+ ```html
28
+ <!-- Contoh responsif -->
29
+ <div visual="mob:... tab:... lap:...">
30
+ Kandungan responsif
31
+ </div>
32
+ ```
@@ -0,0 +1,43 @@
1
+ # Animation Duration
2
+
3
+ Tetapkan tempoh animasi
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animation-duration:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `instant` | `animation-duration: 75ms` | 75ms |
15
+ | `quick` | `animation-duration: 100ms` | 100ms |
16
+ | `fast` | `animation-duration: 150ms` | 150ms |
17
+ | `normal` | `animation-duration: 200ms` | 200ms |
18
+ | `slow` | `animation-duration: 300ms` | 300ms |
19
+ | `slower` | `animation-duration: 500ms` | 500ms |
20
+ | `lazy` | `animation-duration: 700ms` | 700ms |
21
+
22
+ ## Contoh
23
+
24
+ ```html
25
+ <div visual="animate:spin animation-duration:slow">Slow spin</div>
26
+ ```
27
+
28
+ ## Nilai Arbitrari
29
+
30
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
31
+
32
+ ```html
33
+ <div visual="animation:[custom-value]">Custom</div>
34
+ ```
35
+
36
+ ## Responsif
37
+
38
+ ```html
39
+ <!-- Contoh responsif -->
40
+ <div visual="mob:... tab:... lap:...">
41
+ Kandungan responsif
42
+ </div>
43
+ ```
@@ -0,0 +1,32 @@
1
+ # Animation Fill
2
+
3
+ Tetapkan mod pengisian animasi
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animation-fill:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `none` | `animation-fill-mode: none` | Tiada pengisian |
15
+ | `forwards` | `animation-fill-mode: forwards` | Kekalkan keadaan akhir |
16
+ | `backwards` | `animation-fill-mode: backwards` | Terapkan keadaan mula |
17
+ | `both` | `animation-fill-mode: both` | Kedua-dua arah |
18
+
19
+ ## Contoh
20
+
21
+ ```html
22
+ <div visual="animate:bounce animation-fill:forwards">Stays at end</div>
23
+ ```
24
+
25
+ ## Responsif
26
+
27
+ ```html
28
+ <!-- Contoh responsif -->
29
+ <div visual="mob:... tab:... lap:...">
30
+ Kandungan responsif
31
+ </div>
32
+ ```
@@ -0,0 +1,30 @@
1
+ # Animation Iteration
2
+
3
+ Tetapkan bilangan ulangan animasi
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animation-iteration:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `1` | `animation-iteration-count: 1` | Sekali |
15
+ | `infinite` | `animation-iteration-count: infinite` | Selamanya |
16
+
17
+ ## Contoh
18
+
19
+ ```html
20
+ <div visual="animate:bounce animation-iteration:1">Bounce once</div>
21
+ ```
22
+
23
+ ## Responsif
24
+
25
+ ```html
26
+ <!-- Contoh responsif -->
27
+ <div visual="mob:... tab:... lap:...">
28
+ Kandungan responsif
29
+ </div>
30
+ ```
@@ -0,0 +1,30 @@
1
+ # Animation Play
2
+
3
+ Kawal keadaan main animasi
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="animation-play:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `running` | `animation-play-state: running` | Animasi berjalan |
15
+ | `paused` | `animation-play-state: paused` | Animasi dijeda |
16
+
17
+ ## Contoh
18
+
19
+ ```html
20
+ <div visual="animate:spin hover:animation-play:paused">Pause on hover</div>
21
+ ```
22
+
23
+ ## Responsif
24
+
25
+ ```html
26
+ <!-- Contoh responsif -->
27
+ <div visual="mob:... tab:... lap:...">
28
+ Kandungan responsif
29
+ </div>
30
+ ```
@@ -0,0 +1,30 @@
1
+ # Appearance
2
+
3
+ Kawal penampilan asli
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="appearance:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `none` | `appearance: none` | Buang gaya asli |
15
+ | `auto` | `appearance: auto` | Penampilan lalai |
16
+
17
+ ## Contoh
18
+
19
+ ```html
20
+ <select visual="appearance:none">Custom select</select>
21
+ ```
22
+
23
+ ## Responsif
24
+
25
+ ```html
26
+ <!-- Contoh responsif -->
27
+ <div visual="mob:... tab:... lap:...">
28
+ Kandungan responsif
29
+ </div>
30
+ ```
@@ -0,0 +1,43 @@
1
+ # Backdrop Blur
2
+
3
+ Kaburkan latar belakang
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="backdrop-blur:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `none` | `backdrop-filter: blur(0)` | Tiada kabur |
15
+ | `tiny` | `backdrop-filter: blur(2px)` | Kabur kecil |
16
+ | `small` | `backdrop-filter: blur(4px)` | Kabur kecil |
17
+ | `medium` | `backdrop-filter: blur(8px)` | Kabur sederhana |
18
+ | `big` | `backdrop-filter: blur(12px)` | Kabur besar |
19
+ | `giant` | `backdrop-filter: blur(24px)` | Kabur gergasi |
20
+ | `vast` | `backdrop-filter: blur(48px)` | Kabur luas |
21
+
22
+ ## Contoh
23
+
24
+ ```html
25
+ <div visual="backdrop-blur:medium bg:[rgba(255,255,255,0.5)]">Frosted glass</div>
26
+ ```
27
+
28
+ ## Nilai Arbitrari
29
+
30
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
31
+
32
+ ```html
33
+ <div visual="backdrop:[custom-value]">Custom</div>
34
+ ```
35
+
36
+ ## Responsif
37
+
38
+ ```html
39
+ <!-- Contoh responsif -->
40
+ <div visual="mob:... tab:... lap:...">
41
+ Kandungan responsif
42
+ </div>
43
+ ```
@@ -0,0 +1,41 @@
1
+ # Backdrop Brightness
2
+
3
+ Laraskan kecerahan latar belakang
4
+
5
+ ## Sintaks
6
+ ```
7
+ visual="backdrop-brightness:[value]"
8
+ ```
9
+
10
+ ## Nilai
11
+
12
+ | Nilai | CSS Output | Huraian |
13
+ |-------|------------|-------------|
14
+ | `dim` | `backdrop-filter: brightness(0.5)` | 50% kecerahan |
15
+ | `dark` | `backdrop-filter: brightness(0.75)` | 75% kecerahan |
16
+ | `normal` | `backdrop-filter: brightness(1)` | Kecerahan normal |
17
+ | `bright` | `backdrop-filter: brightness(1.25)` | 125% kecerahan |
18
+ | `vivid` | `backdrop-filter: brightness(1.5)` | 150% kecerahan |
19
+
20
+ ## Contoh
21
+
22
+ ```html
23
+ <div visual="backdrop-brightness:dark">Darkened backdrop</div>
24
+ ```
25
+
26
+ ## Nilai Arbitrari
27
+
28
+ Sokong nilai tersuai menggunakan sintaks kurungan segi empat:
29
+
30
+ ```html
31
+ <div visual="backdrop:[custom-value]">Custom</div>
32
+ ```
33
+
34
+ ## Responsif
35
+
36
+ ```html
37
+ <!-- Contoh responsif -->
38
+ <div visual="mob:... tab:... lap:...">
39
+ Kandungan responsif
40
+ </div>
41
+ ```