fulldev-ui 0.3.36 → 0.4.0-beta.1

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 (287) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.yml +57 -0
  2. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
  4. package/.github/pull_request_template.md +23 -0
  5. package/.github/workflows/github-releases-to-discord.yml +21 -0
  6. package/.prettierignore +15 -0
  7. package/.prettierrc.yaml +34 -0
  8. package/.vscode/extensions.json +4 -0
  9. package/.vscode/launch.json +11 -0
  10. package/.vscode/settings.json +23 -0
  11. package/CHANGELOG.md +100 -0
  12. package/CONTRIBUTING.md +102 -0
  13. package/LICENCE +21 -0
  14. package/README.md +9 -7
  15. package/astro.config.ts +44 -0
  16. package/package.json +42 -27
  17. package/pnpm-lock.yaml +5515 -0
  18. package/public/favicon/android-chrome-192x192.png +0 -0
  19. package/public/favicon/android-chrome-512x512.png +0 -0
  20. package/public/favicon/apple-touch-icon.png +0 -0
  21. package/public/favicon/browserconfig.xml +9 -0
  22. package/public/favicon/favicon-16x16.png +0 -0
  23. package/public/favicon/favicon-32x32.png +0 -0
  24. package/public/favicon/favicon.ico +0 -0
  25. package/public/favicon/mstile-150x150.png +0 -0
  26. package/public/favicon/safari-pinned-tab.svg +17 -0
  27. package/public/favicon/site.webmanifest +19 -0
  28. package/public/images/avatar-placeholder.jpg +0 -0
  29. package/public/images/avatars/1.jpeg +0 -0
  30. package/public/images/avatars/2.jpeg +0 -0
  31. package/public/images/avatars/3.jpeg +0 -0
  32. package/public/images/avatars/300/1.jpeg +0 -0
  33. package/public/images/avatars/300/2.jpeg +0 -0
  34. package/public/images/avatars/300/3.jpeg +0 -0
  35. package/public/images/avatars/300/4.jpeg +0 -0
  36. package/public/images/avatars/4.jpeg +0 -0
  37. package/public/images/avatars/5.jpeg +0 -0
  38. package/public/images/avatars/500/1.jpeg +0 -0
  39. package/public/images/avatars/500/2.jpeg +0 -0
  40. package/public/images/avatars/500/3.jpeg +0 -0
  41. package/public/images/avatars/500/4.jpeg +0 -0
  42. package/public/images/avatars/6.jpeg +0 -0
  43. package/public/images/avatars/7.jpeg +0 -0
  44. package/public/images/avatars/8.jpeg +0 -0
  45. package/public/images/block-code.png +0 -0
  46. package/public/images/blocks/colleagues.png +0 -0
  47. package/public/images/blocks/content.png +0 -0
  48. package/public/images/blocks/cta.png +0 -0
  49. package/public/images/blocks/features.png +0 -0
  50. package/public/images/blocks/footer.png +0 -0
  51. package/public/images/blocks/header.png +0 -0
  52. package/public/images/blocks/hero.png +0 -0
  53. package/public/images/blocks/intro.png +0 -0
  54. package/public/images/blocks/posts.png +0 -0
  55. package/public/images/blocks/prices.png +0 -0
  56. package/public/images/blocks/reviews.png +0 -0
  57. package/public/images/component-code.png +0 -0
  58. package/public/images/logo-placeholder.svg +1 -0
  59. package/public/images/placeholder-center.webp +0 -0
  60. package/public/images/placeholder-landscape-dark.png +0 -0
  61. package/public/images/placeholder-landscape.webp +0 -0
  62. package/public/images/placeholder-portrait.webp +0 -0
  63. package/public/images/placeholder-right.webp +0 -0
  64. package/public/images/placeholder.webp +0 -0
  65. package/siteicon.png +0 -0
  66. package/src/blocks/Categories.astro +12 -0
  67. package/src/blocks/Colleagues.astro +12 -0
  68. package/src/blocks/Contact.astro +152 -0
  69. package/src/blocks/Content.astro +12 -0
  70. package/src/blocks/Cta.astro +14 -0
  71. package/src/blocks/Features.astro +11 -0
  72. package/src/blocks/Footer.astro +7 -0
  73. package/src/blocks/Header.astro +7 -0
  74. package/src/blocks/Hero.astro +16 -0
  75. package/src/blocks/Intro.astro +19 -0
  76. package/src/blocks/Jobs.astro +12 -0
  77. package/src/blocks/Posts.astro +11 -0
  78. package/src/blocks/Prices.astro +22 -0
  79. package/src/blocks/Product.astro +64 -0
  80. package/src/blocks/Products.astro +11 -0
  81. package/src/blocks/Reviews.astro +13 -0
  82. package/src/components/{base/Avatar.astro → Avatar.astro} +7 -11
  83. package/src/components/{base/Badge.astro → Badge.astro} +36 -22
  84. package/src/components/{structure/Bento.astro → Bento.astro} +6 -9
  85. package/src/components/Block.astro +157 -0
  86. package/src/components/Blocks.astro +5 -0
  87. package/src/components/Box.astro +60 -0
  88. package/src/components/Button.astro +140 -0
  89. package/src/components/Card.astro +212 -0
  90. package/src/components/{structure/Carousel.astro → Carousel.astro} +13 -16
  91. package/src/components/Checkbox.astro +63 -0
  92. package/src/components/{structure/Column.astro → Column.astro} +14 -9
  93. package/src/components/Dialog.astro +65 -0
  94. package/src/components/Drawer.astro +99 -0
  95. package/src/components/Footer.astro +144 -0
  96. package/src/components/{structure/Grid.astro → Grid.astro} +7 -10
  97. package/src/components/Head.astro +85 -0
  98. package/src/components/Header.astro +204 -0
  99. package/src/components/Heading.astro +79 -0
  100. package/src/components/{base/Icon.astro → Icon.astro} +7 -9
  101. package/src/components/{base/Image.astro → Image.astro} +32 -30
  102. package/src/components/Input.astro +119 -0
  103. package/src/components/{typography/Label.astro → Label.astro} +12 -12
  104. package/src/components/{typography/Link.astro → Link.astro} +15 -13
  105. package/src/components/List.astro +41 -0
  106. package/src/components/{structure/Masonry.astro → Masonry.astro} +9 -11
  107. package/src/components/Rating.astro +82 -0
  108. package/src/components/{_Component.astro → Root.astro} +7 -11
  109. package/src/components/{structure/Row.astro → Row.astro} +6 -9
  110. package/src/components/Search.astro +62 -0
  111. package/src/components/Section.astro +274 -0
  112. package/src/components/Select.astro +144 -0
  113. package/src/components/Sidebar.astro +71 -0
  114. package/src/components/{structure/Split.astro → Split.astro} +6 -9
  115. package/src/components/{structure/Spread.astro → Spread.astro} +6 -9
  116. package/src/components/Switch.astro +114 -0
  117. package/src/components/Table.astro +121 -0
  118. package/src/components/Tagline.astro +35 -0
  119. package/src/components/Text.astro +43 -0
  120. package/src/components/Textarea.astro +105 -0
  121. package/src/components/Toc.astro +52 -0
  122. package/src/components/{structure/Wrap.astro → Wrap.astro} +5 -10
  123. package/src/components/docs/DecorativeBox.astro +15 -0
  124. package/src/components/docs/PropsTable.astro +95 -0
  125. package/src/components/experimental/Channel.astro +15 -10
  126. package/src/components/experimental/Form.astro +34 -0
  127. package/src/components/experimental/Gallery.astro +180 -0
  128. package/src/components/experimental/GalleryVertical.astro +161 -0
  129. package/src/components/{base → experimental}/Logo.astro +3 -5
  130. package/src/components/experimental/Price.astro +17 -17
  131. package/src/components/experimental/Prose.astro +154 -0
  132. package/src/components/{base → experimental}/Video.astro +1 -1
  133. package/src/components/experimental/Window.astro +173 -0
  134. package/src/content/config.ts +16 -13
  135. package/src/content/pages/_changelog.mdx +10 -0
  136. package/src/content/pages/_segment/footer.mdx +244 -0
  137. package/src/content/pages/_segment/header.mdx +210 -0
  138. package/src/content/pages/base/_dialog.mdx +17 -0
  139. package/src/content/pages/base/_drawer.mdx +17 -0
  140. package/src/content/pages/base/_image.mdx +14 -0
  141. package/src/content/pages/base/_switch.mdx +33 -0
  142. package/src/content/pages/base/badge.mdx +70 -0
  143. package/src/content/pages/base/button.mdx +71 -0
  144. package/src/content/pages/base/card.mdx +114 -0
  145. package/src/content/pages/base/checkbox.mdx +43 -0
  146. package/src/content/pages/base/icon.mdx +54 -0
  147. package/src/content/pages/base/input.mdx +67 -0
  148. package/src/content/pages/base/rating.mdx +66 -0
  149. package/src/content/pages/base/section.mdx +79 -0
  150. package/src/content/pages/base/select.mdx +77 -0
  151. package/src/content/pages/base/table.mdx +133 -0
  152. package/src/content/pages/base/textarea.mdx +73 -0
  153. package/src/content/pages/blocks/_banner.mdx +13 -0
  154. package/src/content/pages/blocks/_categories.mdx +149 -0
  155. package/src/content/pages/blocks/_jobs.mdx +37 -0
  156. package/src/content/pages/blocks/_product.mdx +29 -0
  157. package/src/content/pages/blocks/_products.mdx +55 -0
  158. package/src/content/pages/blocks/_stats.mdx +34 -0
  159. package/src/content/pages/blocks/colleagues.mdx +42 -0
  160. package/src/content/pages/blocks/content.mdx +101 -0
  161. package/src/content/pages/blocks/cta.mdx +192 -0
  162. package/src/content/pages/blocks/features.mdx +134 -0
  163. package/src/content/pages/blocks/footer.mdx +71 -0
  164. package/src/content/pages/blocks/header.mdx +192 -0
  165. package/src/content/pages/blocks/hero.mdx +97 -0
  166. package/src/content/pages/blocks/intro.mdx +132 -0
  167. package/src/content/pages/blocks/posts.mdx +40 -0
  168. package/src/content/pages/blocks/prices.mdx +126 -0
  169. package/src/content/pages/blocks/reviews.mdx +249 -0
  170. package/src/content/pages/blocks.mdx +10 -0
  171. package/src/content/pages/index.mdx +65 -0
  172. package/src/content/pages/overview/frameworks.mdx +180 -0
  173. package/src/content/pages/overview/installation.mdx +20 -0
  174. package/src/content/pages/overview/integration.mdx +37 -0
  175. package/src/content/pages/overview/introduction.mdx +20 -0
  176. package/src/content/pages/overview/theming.mdx +83 -0
  177. package/src/content/pages/structure/_row.mdx +23 -0
  178. package/src/content/pages/structure/_wrap.mdx +25 -0
  179. package/src/content/pages/structure/carousel.mdx +31 -0
  180. package/src/content/pages/structure/column.mdx +21 -0
  181. package/src/content/pages/structure/grid.mdx +26 -0
  182. package/src/content/pages/structure/masonry.mdx +32 -0
  183. package/src/content/pages/structure/split.mdx +21 -0
  184. package/src/content/pages/structure/spread.mdx +21 -0
  185. package/src/content/pages/typography/_tagline.mdx +36 -0
  186. package/src/content/pages/typography/heading.mdx +74 -0
  187. package/src/content/pages/typography/label.mdx +42 -0
  188. package/src/content/pages/typography/link.mdx +63 -0
  189. package/src/content/pages/typography/list.mdx +52 -0
  190. package/src/content/pages/typography/text.mdx +62 -0
  191. package/src/content/records/record.yml +1 -0
  192. package/src/content/settings/base.yml +48 -0
  193. package/src/content/settings/components.yml +27 -0
  194. package/src/css/color.css +6 -67
  195. package/src/css/custom.css +59 -0
  196. package/src/css/size.css +130 -0
  197. package/src/css/space.css +47 -26
  198. package/src/css/styles.css +4 -2
  199. package/src/env.d.ts +1 -1
  200. package/src/integration/generate-colors.ts +637 -0
  201. package/src/integration/index.ts +158 -0
  202. package/src/integration/tailwind-plugin.ts +80 -0
  203. package/src/integration/unocss-preset.ts +84 -0
  204. package/src/layouts/BlockLayout.astro +24 -0
  205. package/src/layouts/BlockOverviewLayout.astro +39 -0
  206. package/src/layouts/ComponentLayout.astro +23 -0
  207. package/src/layouts/JobsLayout.astro +40 -0
  208. package/src/layouts/Layout.astro +168 -0
  209. package/src/layouts/OverviewLayout.astro +45 -0
  210. package/src/layouts/PageLayout.astro +32 -0
  211. package/src/layouts/PostLayout.astro +32 -0
  212. package/src/layouts/ProductLayout.astro +31 -0
  213. package/src/pages/[...page].astro +41 -0
  214. package/src/schemas/base.ts +81 -0
  215. package/src/schemas/block.ts +15 -0
  216. package/src/schemas/card.ts +3 -0
  217. package/src/schemas/page.ts +43 -0
  218. package/src/schemas/utils.ts +22 -0
  219. package/src/utils/mergeEntries.ts +28 -0
  220. package/tsconfig.json +10 -1
  221. package/.astro/settings.json +0 -5
  222. package/.astro/types.d.ts +0 -147
  223. package/.env +0 -1
  224. package/astro.config.mjs +0 -6
  225. package/src/components/_Block.astro +0 -20
  226. package/src/components/_Blocks.astro +0 -11
  227. package/src/components/_Children.astro +0 -31
  228. package/src/components/_archive/Body.astro +0 -37
  229. package/src/components/_archive/Main.astro +0 -28
  230. package/src/components/_archive/Nav.astro +0 -50
  231. package/src/components/_todo/Form.astro +0 -36
  232. package/src/components/_todo/Prose.astro +0 -139
  233. package/src/components/_todo/Writeup.astro +0 -24
  234. package/src/components/base/Button.astro +0 -123
  235. package/src/components/base/Rating.astro +0 -47
  236. package/src/components/base/checkbox/Checkbox.astro +0 -52
  237. package/src/components/base/checkbox/CheckboxElement.astro +0 -31
  238. package/src/components/base/input/Input.astro +0 -79
  239. package/src/components/base/input/InputElement.astro +0 -69
  240. package/src/components/base/radio/Radio.astro +0 -66
  241. package/src/components/base/radio/RadioElement.astro +0 -34
  242. package/src/components/base/select/Select.astro +0 -90
  243. package/src/components/base/select/SelectElement.astro +0 -56
  244. package/src/components/base/select/SelectOption.astro +0 -32
  245. package/src/components/base/switch/Switch.astro +0 -55
  246. package/src/components/base/switch/SwitchElement.astro +0 -84
  247. package/src/components/base/table/Table.astro +0 -57
  248. package/src/components/base/table/TableBody.astro +0 -38
  249. package/src/components/base/table/TableCell.astro +0 -30
  250. package/src/components/base/table/TableFooter.astro +0 -48
  251. package/src/components/base/table/TableHead.astro +0 -31
  252. package/src/components/base/table/TableHeader.astro +0 -44
  253. package/src/components/base/table/TableRow.astro +0 -46
  254. package/src/components/base/textarea/Textarea.astro +0 -79
  255. package/src/components/base/textarea/TextareaElement.astro +0 -68
  256. package/src/components/segment/Box.astro +0 -46
  257. package/src/components/segment/Card.astro +0 -114
  258. package/src/components/segment/Footer.astro +0 -94
  259. package/src/components/segment/Header.astro +0 -100
  260. package/src/components/segment/Section.astro +0 -103
  261. package/src/components/segment/_regels.md +0 -32
  262. package/src/components/typography/Heading.astro +0 -66
  263. package/src/components/typography/List.astro +0 -47
  264. package/src/components/typography/ListItem.astro +0 -36
  265. package/src/components/typography/Paragraph.astro +0 -36
  266. package/src/components/typography/Tagline.astro +0 -36
  267. package/src/components/typography/Text.astro +0 -37
  268. package/src/components/utility/Head.astro +0 -83
  269. package/src/components/utility/Layout.astro +0 -46
  270. package/src/content/pages/index.md +0 -2
  271. package/src/css/color.scss +0 -289
  272. package/src/css/size.scss +0 -296
  273. package/src/css/utils.scss +0 -16
  274. package/src/index.ts +0 -71
  275. package/src/integration/integration.ts +0 -88
  276. package/src/integration/tailwind.ts +0 -34
  277. package/src/integration/unocss.ts +0 -38
  278. /package/src/{_archive → utils/_archive}/Childmorphic.ts +0 -0
  279. /package/src/{_archive → utils/_archive}/getAllCollections.ts +0 -0
  280. /package/src/{_archive → utils/_archive}/getCollectionCascade.ts +0 -0
  281. /package/src/{_archive → utils/_archive}/getPathname.ts +0 -0
  282. /package/src/{_archive → utils/_archive}/staticPageSchema.ts +0 -0
  283. /package/src/{_archive → utils/_archive}/transform/transform.ts +0 -0
  284. /package/src/{_archive → utils/_archive}/transform/transformCasing.ts +0 -0
  285. /package/src/{_archive → utils/_archive}/transform/transformReferences.ts +0 -0
  286. /package/src/{_archive → utils/_archive}/transform/transformSelfs.ts +0 -0
  287. /package/src/{_archive → utils/_archive}/transform/transformUnderscores.ts +0 -0
package/src/css/size.scss DELETED
@@ -1,296 +0,0 @@
1
- :root {
2
- --screen: 1536px;
3
- --gutter: max(4vw, calc(100vw - var(--screen)) / 2);
4
-
5
- --space-sm-1: 3px;
6
- --space-sm-2: 6px;
7
- --space-sm-3: 9px;
8
- --space-sm-4: 12px;
9
- --space-sm-5: 24px;
10
- --space-sm-6: 48px;
11
- --space-sm-7: 72px;
12
-
13
- --space-md-1: 4px;
14
- --space-md-2: 8px;
15
- --space-md-3: 12px;
16
- --space-md-4: 16px;
17
- --space-md-5: 32px;
18
- --space-md-6: 64px;
19
- --space-md-7: 96px;
20
-
21
- --space-lg-1: 5px;
22
- --space-lg-2: 10px;
23
- --space-lg-3: 15px;
24
- --space-lg-4: 20px;
25
- --space-lg-5: 40px;
26
- --space-lg-6: 80px;
27
- --space-lg-7: 120px;
28
-
29
- --text-xs-1: 12px;
30
- --text-xs-2: 12px;
31
- --text-xs-3: 12px;
32
- --text-xs-4: 14px;
33
- --text-xs-5: 16px;
34
- --text-xs-6: 18px;
35
- --text-xs-7: 20px;
36
-
37
- --text-sm-1: 12px;
38
- --text-sm-2: 14px;
39
- --text-sm-3: 14px;
40
- --text-sm-4: 16px;
41
- --text-sm-5: 18px;
42
- --text-sm-6: 20px;
43
- --text-sm-7: 24px;
44
-
45
- --text-md-1: 14px;
46
- --text-md-2: 16px;
47
- --text-md-3: 16px;
48
- --text-md-4: 18px;
49
- --text-md-5: 20px;
50
- --text-md-6: 24px;
51
- --text-md-7: 30px;
52
-
53
- --text-lg-1: 16px;
54
- --text-lg-2: 18px;
55
- --text-lg-3: 18px;
56
- --text-lg-4: 20px;
57
- --text-lg-5: 24px;
58
- --text-lg-6: 30px;
59
- --text-lg-7: 36px;
60
-
61
- --text-xl-1: 16px;
62
- --text-xl-2: 18px;
63
- --text-xl-3: 20px;
64
- --text-xl-4: 24px;
65
- --text-xl-5: 30px;
66
- --text-xl-6: 36px;
67
- --text-xl-7: 48px;
68
-
69
- @media (min-width: 768px) {
70
- --text-xs-3: 14px;
71
- --text-xs-4: 16px;
72
- --text-xs-5: 18px;
73
- --text-xs-6: 20px;
74
- --text-xs-7: 24px;
75
-
76
- --text-sm-3: 16px;
77
- --text-sm-4: 18px;
78
- --text-sm-5: 20px;
79
- --text-sm-6: 24px;
80
- --text-sm-7: 30px;
81
-
82
- --text-md-3: 18px;
83
- --text-md-4: 20px;
84
- --text-md-5: 24px;
85
- --text-md-6: 30px;
86
- --text-md-7: 36px;
87
-
88
- --text-lg-3: 20px;
89
- --text-lg-4: 24px;
90
- --text-lg-5: 30px;
91
- --text-lg-6: 36px;
92
- --text-lg-7: 48px;
93
-
94
- --text-xl-2: 20px;
95
- --text-xl-3: 24px;
96
- --text-xl-4: 30px;
97
- --text-xl-5: 36px;
98
- --text-xl-6: 48px;
99
- --text-xl-7: 60px;
100
- }
101
- }
102
-
103
- .compact {
104
- --space-sm-1: 3px;
105
- --space-sm-2: 6px;
106
- --space-sm-3: 7.5px;
107
- --space-sm-4: 9px;
108
- --space-sm-5: 12px;
109
- --space-sm-6: 15px;
110
- --space-sm-7: 18px;
111
-
112
- --space-md-1: 4px;
113
- --space-md-2: 8px;
114
- --space-md-3: 10px;
115
- --space-md-4: 12px;
116
- --space-md-5: 16px;
117
- --space-md-6: 20px;
118
- --space-md-7: 24px;
119
-
120
- --space-lg-1: 5px;
121
- --space-lg-2: 10px;
122
- --space-lg-3: 12.5px;
123
- --space-lg-4: 15px;
124
- --space-lg-5: 20px;
125
- --space-lg-6: 25px;
126
- --space-lg-7: 30px;
127
-
128
- --text-xs-1: 12px;
129
- --text-xs-2: 12px;
130
- --text-xs-3: 12px;
131
- --text-xs-4: 14px;
132
- --text-xs-5: 16px;
133
- --text-xs-6: 18px;
134
- --text-xs-7: 20px;
135
-
136
- --text-sm-1: 12px;
137
- --text-sm-2: 14px;
138
- --text-sm-3: 14px;
139
- --text-sm-4: 16px;
140
- --text-sm-5: 18px;
141
- --text-sm-6: 20px;
142
- --text-sm-7: 24px;
143
-
144
- --text-md-1: 14px;
145
- --text-md-2: 16px;
146
- --text-md-3: 16px;
147
- --text-md-4: 18px;
148
- --text-md-5: 20px;
149
- --text-md-6: 24px;
150
- --text-md-7: 30px;
151
-
152
- --text-lg-1: 16px;
153
- --text-lg-2: 18px;
154
- --text-lg-3: 18px;
155
- --text-lg-4: 20px;
156
- --text-lg-5: 24px;
157
- --text-lg-6: 30px;
158
- --text-lg-7: 30px;
159
-
160
- --text-xl-1: 16px;
161
- --text-xl-2: 18px;
162
- --text-xl-3: 20px;
163
- --text-xl-4: 24px;
164
- --text-xl-5: 30px;
165
- --text-xl-6: 30px;
166
- --text-xl-7: 30px;
167
- }
168
-
169
- /* --------------------------- */
170
- /* Generate sizes */
171
- /* --------------------------- */
172
-
173
- @mixin selector($selector,
174
- $selectors: $selector) {
175
- #{$selectors},
176
- #{$selector},
177
- #{$selector}
178
- .compact:not(#{$selector} [class*='size-'] .compact):not(
179
- #{$selector} [class*='size-'].compact
180
- ) {
181
- @content;
182
- }
183
- }
184
-
185
- @include selector('.size-xs') {
186
- --space-1: var(--space-sm-1);
187
- --space-2: var(--space-sm-2);
188
- --space-3: var(--space-sm-3);
189
- --space-4: var(--space-sm-4);
190
- --space-5: var(--space-sm-5);
191
- --space-6: var(--space-sm-6);
192
- --space-7: var(--space-sm-7);
193
-
194
- --radius-1: calc(var(--border-radius, 1) * var(--space-sm-1));
195
- --radius-2: calc(var(--border-radius, 1) * var(--space-sm-2));
196
- --radius-3: calc(var(--border-radius, 1) * var(--space-sm-3));
197
-
198
- --text-1: var(--text-xs-1);
199
- --text-2: var(--text-xs-2);
200
- --text-3: var(--text-xs-3);
201
- --text-4: var(--text-xs-4);
202
- --text-5: var(--text-xs-5);
203
- --text-6: var(--text-xs-6);
204
- --text-7: var(--text-xs-7);
205
- }
206
-
207
- @include selector('.size-sm') {
208
- --space-1: var(--space-sm-1);
209
- --space-2: var(--space-sm-2);
210
- --space-3: var(--space-sm-3);
211
- --space-4: var(--space-sm-4);
212
- --space-5: var(--space-sm-5);
213
- --space-6: var(--space-sm-6);
214
- --space-7: var(--space-sm-7);
215
-
216
- --radius-1: calc(var(--border-radius, 1) * var(--space-sm-1));
217
- --radius-2: calc(var(--border-radius, 1) * var(--space-sm-2));
218
- --radius-3: calc(var(--border-radius, 1) * var(--space-sm-3));
219
-
220
- --text-1: var(--text-sm-1);
221
- --text-2: var(--text-sm-2);
222
- --text-3: var(--text-sm-3);
223
- --text-4: var(--text-sm-4);
224
- --text-5: var(--text-sm-5);
225
- --text-6: var(--text-sm-6);
226
- --text-7: var(--text-sm-7);
227
- }
228
-
229
- @include selector(
230
- '.size-md',
231
- ':where(:root), :where(.compact)'
232
- ) {
233
- --space-1: var(--space-md-1);
234
- --space-2: var(--space-md-2);
235
- --space-3: var(--space-md-3);
236
- --space-4: var(--space-md-4);
237
- --space-5: var(--space-md-5);
238
- --space-6: var(--space-md-6);
239
- --space-7: var(--space-md-7);
240
-
241
- --radius-1: calc(var(--border-radius, 1) * var(--space-md-1));
242
- --radius-2: calc(var(--border-radius, 1) * var(--space-md-2));
243
- --radius-3: calc(var(--border-radius, 1) * var(--space-md-3));
244
-
245
- --text-1: var(--text-md-1);
246
- --text-2: var(--text-md-2);
247
- --text-3: var(--text-md-3);
248
- --text-4: var(--text-md-4);
249
- --text-5: var(--text-md-5);
250
- --text-6: var(--text-md-6);
251
- --text-7: var(--text-md-7);
252
- }
253
-
254
- @include selector('.size-lg') {
255
- --space-1: var(--space-lg-1);
256
- --space-2: var(--space-lg-2);
257
- --space-3: var(--space-lg-3);
258
- --space-4: var(--space-lg-4);
259
- --space-5: var(--space-lg-5);
260
- --space-6: var(--space-lg-6);
261
- --space-7: var(--space-lg-7);
262
-
263
- --radius-1: calc(var(--border-radius, 1) * var(--space-lg-1));
264
- --radius-2: calc(var(--border-radius, 1) * var(--space-lg-2));
265
- --radius-3: calc(var(--border-radius, 1) * var(--space-lg-3));
266
-
267
- --text-1: var(--text-lg-1);
268
- --text-2: var(--text-lg-2);
269
- --text-3: var(--text-lg-3);
270
- --text-4: var(--text-lg-4);
271
- --text-5: var(--text-lg-5);
272
- --text-6: var(--text-lg-6);
273
- --text-7: var(--text-lg-7);
274
- }
275
-
276
- @include selector('.size-xl') {
277
- --space-1: var(--space-lg-1);
278
- --space-2: var(--space-lg-2);
279
- --space-3: var(--space-lg-3);
280
- --space-4: var(--space-lg-4);
281
- --space-5: var(--space-lg-5);
282
- --space-6: var(--space-lg-6);
283
- --space-7: var(--space-lg-7);
284
-
285
- --radius-1: calc(var(--border-radius, 1) * var(--space-lg-1));
286
- --radius-2: calc(var(--border-radius, 1) * var(--space-lg-2));
287
- --radius-3: calc(var(--border-radius, 1) * var(--space-lg-3));
288
-
289
- --text-1: var(--text-xl-1);
290
- --text-2: var(--text-xl-2);
291
- --text-3: var(--text-xl-3);
292
- --text-4: var(--text-xl-4);
293
- --text-5: var(--text-xl-5);
294
- --text-6: var(--text-xl-6);
295
- --text-7: var(--text-xl-7);
296
- }
@@ -1,16 +0,0 @@
1
- $layer: 'fulldev' !default;
2
-
3
- @mixin component($name) {
4
- @if $layer {
5
- @layer #{$layer} {
6
- .full.#{$name} {
7
- @content;
8
- }
9
- }
10
-
11
- } @else {
12
- .full.#{$name} {
13
- @content;
14
- }
15
- }
16
- }
package/src/index.ts DELETED
@@ -1,71 +0,0 @@
1
- // Base components
2
- export { default as Badge } from './components/base/Badge.astro'
3
- export { default as Button } from './components/base/Button.astro'
4
- export { default as Icon } from './components/base/Icon.astro'
5
- export { default as Image } from './components/base/Image.astro'
6
- export { default as Logo } from './components/base/Logo.astro'
7
- export { default as Rating } from './components/base/Rating.astro'
8
- export { default as Video } from './components/base/Video.astro'
9
- export { default as Checkbox } from './components/base/checkbox/Checkbox.astro'
10
- export { default as Input } from './components/base/input/Input.astro'
11
- export { default as InputElement } from './components/base/input/InputElement.astro'
12
- // export { default as Radio } from './components/base/radio/Radio.astro'
13
- export { default as Avatar } from './components/base/Avatar.astro'
14
- export { default as Select } from './components/base/select/Select.astro'
15
- export { default as SelectElement } from './components/base/select/SelectElement.astro'
16
- export { default as SelectOption } from './components/base/select/SelectOption.astro'
17
- export { default as Switch } from './components/base/switch/Switch.astro'
18
- export { default as Table } from './components/base/table/Table.astro'
19
- export { default as TableBody } from './components/base/table/TableBody.astro'
20
- export { default as TableCell } from './components/base/table/TableCell.astro'
21
- export { default as TableFooter } from './components/base/table/TableFooter.astro'
22
- export { default as TableHead } from './components/base/table/TableHead.astro'
23
- export { default as TableHeader } from './components/base/table/TableHeader.astro'
24
- export { default as TableRow } from './components/base/table/TableRow.astro'
25
- export { default as Textarea } from './components/base/textarea/Textarea.astro'
26
- export { default as TextareaElement } from './components/base/textarea/TextareaElement.astro'
27
-
28
- // Typography components
29
- export { default as Heading } from './components/typography/Heading.astro'
30
- export { default as Label } from './components/typography/Label.astro'
31
- export { default as Link } from './components/typography/Link.astro'
32
- export { default as List } from './components/typography/List.astro'
33
- export { default as ListItem } from './components/typography/ListItem.astro'
34
- export { default as Paragraph } from './components/typography/Paragraph.astro'
35
- export { default as Tagline } from './components/typography/Tagline.astro'
36
- export { default as Text } from './components/typography/Text.astro'
37
-
38
- // Segment components
39
- export { default as Body } from './components/_archive/Body.astro'
40
- export { default as Main } from './components/_archive/Main.astro'
41
- export { default as Nav } from './components/_archive/Nav.astro'
42
- export { default as Form } from './components/_todo/Form.astro'
43
- export { default as Prose } from './components/_todo/Prose.astro'
44
- export { default as Writeup } from './components/_todo/Writeup.astro'
45
- export { default as Box } from './components/segment/Box.astro'
46
- export { default as Card } from './components/segment/Card.astro'
47
- export { default as Footer } from './components/segment/Footer.astro'
48
- export { default as Header } from './components/segment/Header.astro'
49
- export { default as Section } from './components/segment/Section.astro'
50
-
51
- // Structure components
52
- export { default as Bento } from './components/structure/Bento.astro'
53
- export { default as Carousel } from './components/structure/Carousel.astro'
54
- export { default as Column } from './components/structure/Column.astro'
55
- export { default as Grid } from './components/structure/Grid.astro'
56
- export { default as Masonry } from './components/structure/Masonry.astro'
57
- export { default as Row } from './components/structure/Row.astro'
58
- export { default as Split } from './components/structure/Split.astro'
59
- export { default as Spread } from './components/structure/Spread.astro'
60
- export { default as Wrap } from './components/structure/Wrap.astro'
61
-
62
- // Experimental components
63
- export { default as Channel } from './components/experimental/Channel.astro'
64
- export { default as Price } from './components/experimental/Price.astro'
65
-
66
- // Utility components
67
- export { default as Block } from './components/_Block.astro'
68
- export { default as Blocks } from './components/_Blocks.astro'
69
- // export { default as Children } from './components/_Children.astro'
70
- export { default as Head } from './components/utility/Head.astro'
71
- export { default as Layout } from './components/utility/Layout.astro'
@@ -1,88 +0,0 @@
1
- import type { AstroIntegration } from 'astro'
2
- import { mergeDeep } from 'remeda'
3
- import virtual from 'vite-plugin-virtual'
4
-
5
- const defaultConfig = {
6
- layer: 'fulldev',
7
- }
8
-
9
- interface Config {
10
- layer: string
11
- prefix: string
12
- screen: string
13
- styled: boolean
14
- responsive: boolean
15
- colors: {
16
- gray: {
17
- background: string
18
- backgroundPanel: string
19
- backgroundElement: string
20
- backgroundHover: string
21
- backgroundActive: string
22
-
23
- border: string
24
- borderElement: string
25
- borderHover: string
26
-
27
- solid: string
28
- solidHover: string
29
-
30
- text: string
31
- textContrast: string
32
- }
33
- accent: {
34
- background: string
35
- backgroundPanel: string
36
- backgroundElement: string
37
- backgroundHover: string
38
- backgroundActive: string
39
-
40
- border: string
41
- borderElement: string
42
- borderHover: string
43
-
44
- solid: string
45
- solidHover: string
46
-
47
- text: string
48
- textContrast: string
49
- }
50
- }
51
- tailwind: {}
52
- }
53
-
54
- export default function fulluiIntegration(
55
- userConfig: any = {}
56
- ): AstroIntegration {
57
- const config: any = mergeDeep(defaultConfig || {}, userConfig || {})
58
-
59
- return {
60
- name: '/integration',
61
- hooks: {
62
- 'astro:config:setup': async ({
63
- // config: astroConfig,
64
- updateConfig,
65
- injectScript,
66
- }) => {
67
- updateConfig({
68
- vite: {
69
- plugins: [
70
- virtual({
71
- 'virtual:/config': `export default ${JSON.stringify(config)}`,
72
- }) as any,
73
- ],
74
- css: {
75
- preprocessorOptions: {
76
- scss: {
77
- additionalData: `$layer: ${config.layer};`,
78
- },
79
- },
80
- },
81
- },
82
- })
83
-
84
- // injectScript('page-ssr', 'import "fulldev-ui/css";')
85
- },
86
- },
87
- }
88
- }
@@ -1,34 +0,0 @@
1
- import plugin from 'tailwindcss/plugin'
2
-
3
- export default plugin(() => {}, {
4
- theme: {
5
- spacing: {
6
- 'space-1': 'var(--space-1)',
7
- 'space-2': 'var(--space-2)',
8
- 'space-3': 'var(--space-3)',
9
- 'space-4': 'var(--space-4)',
10
- 'space-5': 'var(--space-5)',
11
- 'space-6': 'var(--space-6)',
12
- 'space-7': 'var(--space-7)',
13
- },
14
- borderRadius: {
15
- 1: 'var(--radius-1)',
16
- 2: 'var(--radius-2)',
17
- 3: 'var(--radius-3)',
18
- },
19
- fontSize: {
20
- 1: 'var(--text-1)',
21
- 2: 'var(--text-2)',
22
- 3: 'var(--text-3)',
23
- 4: 'var(--text-4)',
24
- 5: 'var(--text-5)',
25
- 6: 'var(--text-6)',
26
- 7: 'var(--text-7)',
27
- },
28
- colors: {
29
- background: 'var(--background)',
30
- text: 'var(--text)',
31
- border: 'var(--border)',
32
- },
33
- },
34
- })
@@ -1,38 +0,0 @@
1
- import { definePreset, presetUno } from 'unocss'
2
-
3
- export default definePreset((options?: any) => {
4
- return {
5
- name: 'fullUI',
6
- presets: [presetUno()],
7
- theme: {
8
- spacing: {
9
- 'space-1': 'var(--space-1)',
10
- 'space-2': 'var(--space-2)',
11
- 'space-3': 'var(--space-3)',
12
- 'space-4': 'var(--space-4)',
13
- 'space-5': 'var(--space-5)',
14
- 'space-6': 'var(--space-6)',
15
- 'space-7': 'var(--space-7)',
16
- },
17
- borderRadius: {
18
- 1: 'var(--radius-1)',
19
- 2: 'var(--radius-2)',
20
- 3: 'var(--radius-3)',
21
- },
22
- fontSize: {
23
- 1: 'var(--text-1)',
24
- 2: 'var(--text-2)',
25
- 3: 'var(--text-3)',
26
- 4: 'var(--text-4)',
27
- 5: 'var(--text-5)',
28
- 6: 'var(--text-6)',
29
- 7: 'var(--text-7)',
30
- },
31
- colors: {
32
- background: 'var(--background)',
33
- text: 'var(--text)',
34
- border: 'var(--border)',
35
- },
36
- },
37
- }
38
- })
File without changes