@sky.ui/core 0.0.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 (320) hide show
  1. package/LICENSE.md +139 -0
  2. package/README.md +113 -0
  3. package/auto-import-loader.js +60 -0
  4. package/auto-import.js +93 -0
  5. package/dist/custom-elements.json +27051 -0
  6. package/dist/helper/controllers/animation-controller.d.ts +120 -0
  7. package/dist/helper/controllers/animation-controller.js +2 -0
  8. package/dist/helper/controllers/animation-controller.js.map +1 -0
  9. package/dist/helper/controllers/index.d.ts +2 -0
  10. package/dist/helper/controllers/popover-controller.d.ts +162 -0
  11. package/dist/helper/controllers/popover-controller.js +2 -0
  12. package/dist/helper/controllers/popover-controller.js.map +1 -0
  13. package/dist/helper/form-control-base.d.ts +1 -0
  14. package/dist/helper/iconify-offline.d.ts +73 -0
  15. package/dist/helper/iconify-offline.js +2 -0
  16. package/dist/helper/iconify-offline.js.map +1 -0
  17. package/dist/helper/index.d.ts +5 -0
  18. package/dist/helper/internals/form-control-base.d.ts +81 -0
  19. package/dist/helper/internals/form-control-base.js +2 -0
  20. package/dist/helper/internals/form-control-base.js.map +1 -0
  21. package/dist/helper/internals/index.d.ts +1 -0
  22. package/dist/helper/utils/color-resolver.d.ts +139 -0
  23. package/dist/helper/utils/color-resolver.js +2 -0
  24. package/dist/helper/utils/color-resolver.js.map +1 -0
  25. package/dist/helper/utils/index.d.ts +2 -0
  26. package/dist/helper/utils/size-resolver.d.ts +6 -0
  27. package/dist/helper/utils/size-resolver.js +2 -0
  28. package/dist/helper/utils/size-resolver.js.map +1 -0
  29. package/dist/index.d.ts +58 -0
  30. package/dist/index.js +2 -0
  31. package/dist/index.js.map +1 -0
  32. package/dist/sky-accordion/index.d.ts +1 -0
  33. package/dist/sky-accordion/index.js +1 -0
  34. package/dist/sky-accordion/sky-accordion.d.ts +201 -0
  35. package/dist/sky-accordion/sky-accordion.js +85 -0
  36. package/dist/sky-accordion/sky-accordion.js.map +1 -0
  37. package/dist/sky-accordion-item/index.d.ts +1 -0
  38. package/dist/sky-accordion-item/index.js +1 -0
  39. package/dist/sky-accordion-item/sky-accordion-item.d.ts +161 -0
  40. package/dist/sky-accordion-item/sky-accordion-item.js +191 -0
  41. package/dist/sky-accordion-item/sky-accordion-item.js.map +1 -0
  42. package/dist/sky-alert/index.d.ts +1 -0
  43. package/dist/sky-alert/index.js +1 -0
  44. package/dist/sky-alert/sky-alert.d.ts +136 -0
  45. package/dist/sky-alert/sky-alert.js +292 -0
  46. package/dist/sky-alert/sky-alert.js.map +1 -0
  47. package/dist/sky-appbar/index.d.ts +1 -0
  48. package/dist/sky-appbar/index.js +1 -0
  49. package/dist/sky-appbar/sky-appbar.d.ts +84 -0
  50. package/dist/sky-appbar/sky-appbar.js +173 -0
  51. package/dist/sky-appbar/sky-appbar.js.map +1 -0
  52. package/dist/sky-avatar/index.d.ts +1 -0
  53. package/dist/sky-avatar/index.js +1 -0
  54. package/dist/sky-avatar/sky-avatar.d.ts +104 -0
  55. package/dist/sky-avatar/sky-avatar.js +152 -0
  56. package/dist/sky-avatar/sky-avatar.js.map +1 -0
  57. package/dist/sky-badge/index.d.ts +1 -0
  58. package/dist/sky-badge/index.js +1 -0
  59. package/dist/sky-badge/sky-badge.d.ts +154 -0
  60. package/dist/sky-badge/sky-badge.js +148 -0
  61. package/dist/sky-badge/sky-badge.js.map +1 -0
  62. package/dist/sky-breadcrumb/index.d.ts +1 -0
  63. package/dist/sky-breadcrumb/index.js +1 -0
  64. package/dist/sky-breadcrumb/sky-breadcrumb.d.ts +111 -0
  65. package/dist/sky-breadcrumb/sky-breadcrumb.js +230 -0
  66. package/dist/sky-breadcrumb/sky-breadcrumb.js.map +1 -0
  67. package/dist/sky-button/index.d.ts +1 -0
  68. package/dist/sky-button/index.js +1 -0
  69. package/dist/sky-button/sky-button.d.ts +118 -0
  70. package/dist/sky-button/sky-button.js +172 -0
  71. package/dist/sky-button/sky-button.js.map +1 -0
  72. package/dist/sky-button-group/index.d.ts +1 -0
  73. package/dist/sky-button-group/index.js +1 -0
  74. package/dist/sky-button-group/sky-button-group.d.ts +93 -0
  75. package/dist/sky-button-group/sky-button-group.js +281 -0
  76. package/dist/sky-button-group/sky-button-group.js.map +1 -0
  77. package/dist/sky-card/index.d.ts +1 -0
  78. package/dist/sky-card/index.js +1 -0
  79. package/dist/sky-card/sky-card.d.ts +143 -0
  80. package/dist/sky-card/sky-card.js +186 -0
  81. package/dist/sky-card/sky-card.js.map +1 -0
  82. package/dist/sky-carousel/index.d.ts +1 -0
  83. package/dist/sky-carousel/index.js +1 -0
  84. package/dist/sky-carousel/sky-carousel.d.ts +265 -0
  85. package/dist/sky-carousel/sky-carousel.js +211 -0
  86. package/dist/sky-carousel/sky-carousel.js.map +1 -0
  87. package/dist/sky-checkbox/index.d.ts +1 -0
  88. package/dist/sky-checkbox/index.js +1 -0
  89. package/dist/sky-checkbox/sky-checkbox.d.ts +165 -0
  90. package/dist/sky-checkbox/sky-checkbox.js +276 -0
  91. package/dist/sky-checkbox/sky-checkbox.js.map +1 -0
  92. package/dist/sky-chip/index.d.ts +1 -0
  93. package/dist/sky-chip/index.js +1 -0
  94. package/dist/sky-chip/sky-chip.d.ts +95 -0
  95. package/dist/sky-chip/sky-chip.js +210 -0
  96. package/dist/sky-chip/sky-chip.js.map +1 -0
  97. package/dist/sky-col/index.d.ts +1 -0
  98. package/dist/sky-col/index.js +1 -0
  99. package/dist/sky-col/sky-col.d.ts +84 -0
  100. package/dist/sky-col/sky-col.js +46 -0
  101. package/dist/sky-col/sky-col.js.map +1 -0
  102. package/dist/sky-combobox/index.d.ts +1 -0
  103. package/dist/sky-combobox/index.js +1 -0
  104. package/dist/sky-combobox/sky-combobox.d.ts +313 -0
  105. package/dist/sky-combobox/sky-combobox.js +1146 -0
  106. package/dist/sky-combobox/sky-combobox.js.map +1 -0
  107. package/dist/sky-counter/index.d.ts +1 -0
  108. package/dist/sky-counter/index.js +1 -0
  109. package/dist/sky-counter/sky-counter.d.ts +130 -0
  110. package/dist/sky-counter/sky-counter.js +101 -0
  111. package/dist/sky-counter/sky-counter.js.map +1 -0
  112. package/dist/sky-dialog/index.d.ts +1 -0
  113. package/dist/sky-dialog/index.js +1 -0
  114. package/dist/sky-dialog/sky-dialog.d.ts +237 -0
  115. package/dist/sky-dialog/sky-dialog.js +265 -0
  116. package/dist/sky-dialog/sky-dialog.js.map +1 -0
  117. package/dist/sky-divider/index.d.ts +1 -0
  118. package/dist/sky-divider/index.js +1 -0
  119. package/dist/sky-divider/sky-divider.d.ts +120 -0
  120. package/dist/sky-divider/sky-divider.js +42 -0
  121. package/dist/sky-divider/sky-divider.js.map +1 -0
  122. package/dist/sky-drawer/index.d.ts +1 -0
  123. package/dist/sky-drawer/index.js +1 -0
  124. package/dist/sky-drawer/sky-drawer.d.ts +161 -0
  125. package/dist/sky-drawer/sky-drawer.js +177 -0
  126. package/dist/sky-drawer/sky-drawer.js.map +1 -0
  127. package/dist/sky-dropdown/index.d.ts +1 -0
  128. package/dist/sky-dropdown/index.js +1 -0
  129. package/dist/sky-dropdown/sky-dropdown.d.ts +252 -0
  130. package/dist/sky-dropdown/sky-dropdown.js +58 -0
  131. package/dist/sky-dropdown/sky-dropdown.js.map +1 -0
  132. package/dist/sky-dropdown-item/index.d.ts +1 -0
  133. package/dist/sky-dropdown-item/index.js +1 -0
  134. package/dist/sky-dropdown-item/sky-dropdown-item.d.ts +207 -0
  135. package/dist/sky-dropdown-item/sky-dropdown-item.js +341 -0
  136. package/dist/sky-dropdown-item/sky-dropdown-item.js.map +1 -0
  137. package/dist/sky-flexbar/index.d.ts +1 -0
  138. package/dist/sky-flexbar/index.js +1 -0
  139. package/dist/sky-flexbar/sky-flexbar.d.ts +189 -0
  140. package/dist/sky-flexbar/sky-flexbar.js +148 -0
  141. package/dist/sky-flexbar/sky-flexbar.js.map +1 -0
  142. package/dist/sky-flexbox/index.d.ts +1 -0
  143. package/dist/sky-flexbox/index.js +1 -0
  144. package/dist/sky-flexbox/sky-flexbox.d.ts +156 -0
  145. package/dist/sky-flexbox/sky-flexbox.js +40 -0
  146. package/dist/sky-flexbox/sky-flexbox.js.map +1 -0
  147. package/dist/sky-flexcol/index.d.ts +1 -0
  148. package/dist/sky-flexcol/index.js +1 -0
  149. package/dist/sky-flexcol/sky-flexcol.d.ts +154 -0
  150. package/dist/sky-flexcol/sky-flexcol.js +14 -0
  151. package/dist/sky-flexcol/sky-flexcol.js.map +1 -0
  152. package/dist/sky-flexitem/index.d.ts +1 -0
  153. package/dist/sky-flexitem/index.js +1 -0
  154. package/dist/sky-flexitem/sky-flexitem.d.ts +114 -0
  155. package/dist/sky-flexitem/sky-flexitem.js +45 -0
  156. package/dist/sky-flexitem/sky-flexitem.js.map +1 -0
  157. package/dist/sky-form/index.d.ts +1 -0
  158. package/dist/sky-form/index.js +1 -0
  159. package/dist/sky-form/sky-form.d.ts +286 -0
  160. package/dist/sky-form/sky-form.js +66 -0
  161. package/dist/sky-form/sky-form.js.map +1 -0
  162. package/dist/sky-grid/index.d.ts +1 -0
  163. package/dist/sky-grid/index.js +1 -0
  164. package/dist/sky-grid/sky-grid.d.ts +78 -0
  165. package/dist/sky-grid/sky-grid.js +40 -0
  166. package/dist/sky-grid/sky-grid.js.map +1 -0
  167. package/dist/sky-icon/index.d.ts +1 -0
  168. package/dist/sky-icon/index.js +1 -0
  169. package/dist/sky-icon/ion-local.json.js +2 -0
  170. package/dist/sky-icon/ion-local.json.js.map +1 -0
  171. package/dist/sky-icon/sky-icon.d.ts +123 -0
  172. package/dist/sky-icon/sky-icon.js +40 -0
  173. package/dist/sky-icon/sky-icon.js.map +1 -0
  174. package/dist/sky-image/index.d.ts +1 -0
  175. package/dist/sky-image/index.js +1 -0
  176. package/dist/sky-image/sky-image.d.ts +102 -0
  177. package/dist/sky-image/sky-image.js +29 -0
  178. package/dist/sky-image/sky-image.js.map +1 -0
  179. package/dist/sky-input/index.d.ts +1 -0
  180. package/dist/sky-input/index.js +1 -0
  181. package/dist/sky-input/sky-input.d.ts +345 -0
  182. package/dist/sky-input/sky-input.js +820 -0
  183. package/dist/sky-input/sky-input.js.map +1 -0
  184. package/dist/sky-list/index.d.ts +1 -0
  185. package/dist/sky-list/index.js +1 -0
  186. package/dist/sky-list/sky-list.d.ts +85 -0
  187. package/dist/sky-list/sky-list.js +41 -0
  188. package/dist/sky-list/sky-list.js.map +1 -0
  189. package/dist/sky-listitem/index.d.ts +1 -0
  190. package/dist/sky-listitem/index.js +1 -0
  191. package/dist/sky-listitem/sky-listitem.d.ts +76 -0
  192. package/dist/sky-listitem/sky-listitem.js +104 -0
  193. package/dist/sky-listitem/sky-listitem.js.map +1 -0
  194. package/dist/sky-navbar/index.d.ts +1 -0
  195. package/dist/sky-navbar/index.js +1 -0
  196. package/dist/sky-navbar/sky-navbar.d.ts +207 -0
  197. package/dist/sky-navbar/sky-navbar.js +521 -0
  198. package/dist/sky-navbar/sky-navbar.js.map +1 -0
  199. package/dist/sky-navpanel/index.d.ts +1 -0
  200. package/dist/sky-navpanel/index.js +1 -0
  201. package/dist/sky-navpanel/sky-navpanel.d.ts +186 -0
  202. package/dist/sky-navpanel/sky-navpanel.js +404 -0
  203. package/dist/sky-navpanel/sky-navpanel.js.map +1 -0
  204. package/dist/sky-notification/index.d.ts +1 -0
  205. package/dist/sky-notification/index.js +1 -0
  206. package/dist/sky-notification/sky-notification.d.ts +152 -0
  207. package/dist/sky-notification/sky-notification.js +456 -0
  208. package/dist/sky-notification/sky-notification.js.map +1 -0
  209. package/dist/sky-otp/index.d.ts +1 -0
  210. package/dist/sky-otp/index.js +1 -0
  211. package/dist/sky-otp/sky-otp.d.ts +101 -0
  212. package/dist/sky-otp/sky-otp.js +96 -0
  213. package/dist/sky-otp/sky-otp.js.map +1 -0
  214. package/dist/sky-overlay/index.d.ts +1 -0
  215. package/dist/sky-overlay/index.js +1 -0
  216. package/dist/sky-overlay/sky-overlay.d.ts +71 -0
  217. package/dist/sky-overlay/sky-overlay.js +26 -0
  218. package/dist/sky-overlay/sky-overlay.js.map +1 -0
  219. package/dist/sky-pagination/index.d.ts +1 -0
  220. package/dist/sky-pagination/index.js +1 -0
  221. package/dist/sky-pagination/sky-pagination.d.ts +167 -0
  222. package/dist/sky-pagination/sky-pagination.js +453 -0
  223. package/dist/sky-pagination/sky-pagination.js.map +1 -0
  224. package/dist/sky-progress/index.d.ts +1 -0
  225. package/dist/sky-progress/index.js +1 -0
  226. package/dist/sky-progress/sky-progress.d.ts +70 -0
  227. package/dist/sky-progress/sky-progress.js +87 -0
  228. package/dist/sky-progress/sky-progress.js.map +1 -0
  229. package/dist/sky-radio/index.d.ts +1 -0
  230. package/dist/sky-radio/index.js +1 -0
  231. package/dist/sky-radio/sky-radio.d.ts +118 -0
  232. package/dist/sky-radio/sky-radio.js +109 -0
  233. package/dist/sky-radio/sky-radio.js.map +1 -0
  234. package/dist/sky-radio-group/index.d.ts +1 -0
  235. package/dist/sky-radio-group/index.js +1 -0
  236. package/dist/sky-radio-group/sky-radio-group.d.ts +186 -0
  237. package/dist/sky-radio-group/sky-radio-group.js +239 -0
  238. package/dist/sky-radio-group/sky-radio-group.js.map +1 -0
  239. package/dist/sky-range/index.d.ts +1 -0
  240. package/dist/sky-range/index.js +1 -0
  241. package/dist/sky-range/sky-range.d.ts +110 -0
  242. package/dist/sky-range/sky-range.js +196 -0
  243. package/dist/sky-range/sky-range.js.map +1 -0
  244. package/dist/sky-row/index.d.ts +1 -0
  245. package/dist/sky-row/index.js +1 -0
  246. package/dist/sky-row/sky-row.d.ts +57 -0
  247. package/dist/sky-row/sky-row.js +6 -0
  248. package/dist/sky-row/sky-row.js.map +1 -0
  249. package/dist/sky-serial/index.d.ts +1 -0
  250. package/dist/sky-serial/index.js +1 -0
  251. package/dist/sky-serial/sky-serial.d.ts +127 -0
  252. package/dist/sky-serial/sky-serial.js +133 -0
  253. package/dist/sky-serial/sky-serial.js.map +1 -0
  254. package/dist/sky-sheet/index.d.ts +1 -0
  255. package/dist/sky-sheet/index.js +1 -0
  256. package/dist/sky-sheet/sky-sheet.d.ts +70 -0
  257. package/dist/sky-sheet/sky-sheet.js +47 -0
  258. package/dist/sky-sheet/sky-sheet.js.map +1 -0
  259. package/dist/sky-skeleton/index.d.ts +1 -0
  260. package/dist/sky-skeleton/index.js +1 -0
  261. package/dist/sky-skeleton/sky-skeleton.d.ts +80 -0
  262. package/dist/sky-skeleton/sky-skeleton.js +233 -0
  263. package/dist/sky-skeleton/sky-skeleton.js.map +1 -0
  264. package/dist/sky-slider/index.d.ts +1 -0
  265. package/dist/sky-slider/index.js +1 -0
  266. package/dist/sky-slider/sky-slider.d.ts +96 -0
  267. package/dist/sky-slider/sky-slider.js +139 -0
  268. package/dist/sky-slider/sky-slider.js.map +1 -0
  269. package/dist/sky-speeddial/index.d.ts +1 -0
  270. package/dist/sky-speeddial/index.js +1 -0
  271. package/dist/sky-speeddial/sky-speeddial.d.ts +86 -0
  272. package/dist/sky-speeddial/sky-speeddial.js +154 -0
  273. package/dist/sky-speeddial/sky-speeddial.js.map +1 -0
  274. package/dist/sky-spinner/index.d.ts +1 -0
  275. package/dist/sky-spinner/index.js +1 -0
  276. package/dist/sky-spinner/sky-spinner.d.ts +87 -0
  277. package/dist/sky-spinner/sky-spinner.js +334 -0
  278. package/dist/sky-spinner/sky-spinner.js.map +1 -0
  279. package/dist/sky-steps/index.d.ts +1 -0
  280. package/dist/sky-steps/index.js +1 -0
  281. package/dist/sky-steps/sky-steps.d.ts +170 -0
  282. package/dist/sky-steps/sky-steps.js +455 -0
  283. package/dist/sky-steps/sky-steps.js.map +1 -0
  284. package/dist/sky-switch/index.d.ts +1 -0
  285. package/dist/sky-switch/index.js +1 -0
  286. package/dist/sky-switch/sky-switch.d.ts +116 -0
  287. package/dist/sky-switch/sky-switch.js +191 -0
  288. package/dist/sky-switch/sky-switch.js.map +1 -0
  289. package/dist/sky-tab/index.d.ts +1 -0
  290. package/dist/sky-tab/index.js +1 -0
  291. package/dist/sky-tab/sky-tab.d.ts +188 -0
  292. package/dist/sky-tab/sky-tab.js +390 -0
  293. package/dist/sky-tab/sky-tab.js.map +1 -0
  294. package/dist/sky-tab-button/index.d.ts +1 -0
  295. package/dist/sky-tab-button/index.js +1 -0
  296. package/dist/sky-tab-button/sky-tab-button.d.ts +114 -0
  297. package/dist/sky-tab-button/sky-tab-button.js +167 -0
  298. package/dist/sky-tab-button/sky-tab-button.js.map +1 -0
  299. package/dist/sky-theme-provider/index.d.ts +1 -0
  300. package/dist/sky-theme-provider/index.js +1 -0
  301. package/dist/sky-theme-provider/sky-theme-provider.d.ts +169 -0
  302. package/dist/sky-theme-provider/sky-theme-provider.js +12 -0
  303. package/dist/sky-theme-provider/sky-theme-provider.js.map +1 -0
  304. package/dist/sky-theme-switcher/index.d.ts +1 -0
  305. package/dist/sky-theme-switcher/index.js +1 -0
  306. package/dist/sky-theme-switcher/sky-theme-switcher.d.ts +92 -0
  307. package/dist/sky-theme-switcher/sky-theme-switcher.js +43 -0
  308. package/dist/sky-theme-switcher/sky-theme-switcher.js.map +1 -0
  309. package/dist/sky-tooltip/index.d.ts +1 -0
  310. package/dist/sky-tooltip/index.js +1 -0
  311. package/dist/sky-tooltip/sky-tooltip.d.ts +156 -0
  312. package/dist/sky-tooltip/sky-tooltip.js +242 -0
  313. package/dist/sky-tooltip/sky-tooltip.js.map +1 -0
  314. package/package.json +475 -0
  315. package/plugins/rollup-plugin.d.ts +19 -0
  316. package/plugins/rollup-plugin.js +129 -0
  317. package/plugins/vite-plugin.d.ts +22 -0
  318. package/plugins/vite-plugin.js +116 -0
  319. package/plugins/webpack-plugin.d.ts +12 -0
  320. package/plugins/webpack-plugin.js +46 -0
package/LICENSE.md ADDED
@@ -0,0 +1,139 @@
1
+ # Sky UI Free End User License Agreement (EULA)
2
+
3
+ Version 1.0
4
+ Effective Date: 2026-06-24
5
+
6
+ This End User License Agreement ("EULA") governs the use of the free tier of Sky UI,
7
+ including the packages published as `@sky.ui/core`, `@sky.ui/react`, `@sky.ui/vue`,
8
+ `@sky.ui/reactivity`, `@sky.ui/utils`, `@sky.ui/mcp`, related VS Code extensions,
9
+ their compiled distributions, documentation, examples, and related materials.
10
+
11
+ Sky UI is **not** open source. Licensor does **not** grant access to source code
12
+ through this EULA.
13
+
14
+ By installing, copying, accessing, or using the Software, you agree to this EULA.
15
+
16
+ ## 1. Definitions
17
+
18
+ "Licensor" means Desai Software.
19
+
20
+ "User" means the person, company, or organization that installs or uses the
21
+ Software.
22
+
23
+ "Software" means the free-tier Sky UI component library and related materials made
24
+ available by Licensor, including compiled package files, type definitions,
25
+ documentation, and examples. **Software does not include source code** unless
26
+ Licensor expressly provides it in a separate written agreement.
27
+
28
+ "Project" means a website, application, SaaS product, internal tool, or other
29
+ software product built by User using the Software.
30
+
31
+ ## 2. License Grant
32
+
33
+ Subject to compliance with this EULA, Licensor grants User a limited,
34
+ non-exclusive, non-transferable, non-sublicensable license to:
35
+
36
+ 1. install the Software from an official distribution channel authorized by Licensor;
37
+ 2. import and use the Software in User's Projects;
38
+ 3. bundle compiled output of the Software as part of User's Projects;
39
+ 4. use the Software in development, testing, staging, production, and CI/CD
40
+ environments.
41
+
42
+ No other rights are granted.
43
+
44
+ ## 3. Permitted Usage
45
+
46
+ User may use the Software to build commercial and non-commercial Projects.
47
+
48
+ User may deploy Projects that include bundled output from the Software to end users,
49
+ provided that end users cannot extract, install, or reuse the Software as a
50
+ standalone component library.
51
+
52
+ ## 4. Restrictions
53
+
54
+ User may not:
55
+
56
+ 1. obtain, copy, publish, distribute, sublicense, sell, rent, lease, or otherwise
57
+ make available the **source code** of the Software, whether from this repository,
58
+ package tarballs, build artifacts, or any other channel, except where expressly
59
+ permitted in writing by Licensor;
60
+ 2. redistribute, republish, or publicly share the Software as a standalone package
61
+ or UI kit;
62
+ 3. upload the Software to a public npm registry, public GitHub repository, public
63
+ CDN, file-sharing service, torrent, or any other public distribution channel
64
+ except through official channels operated or authorized by Licensor;
65
+ 4. remove or modify copyright notices, license notices, or proprietary notices;
66
+ 5. use the Software to create a directly competing component library, template
67
+ marketplace, UI kit, design system package, or component generator;
68
+ 6. reverse engineer, decompile, or disassemble the Software except where applicable
69
+ law expressly prohibits this restriction;
70
+ 7. imply that the Software is open source, MIT-licensed, or freely redistributable
71
+ source code.
72
+
73
+ ## 5. No Source Code
74
+
75
+ Unless Licensor provides source code under a separate written agreement, User
76
+ receives only compiled distributions and related published materials. User has no
77
+ right to inspect, modify, fork, or redistribute Sky UI source code.
78
+
79
+ ## 6. Ownership
80
+
81
+ Licensor retains all rights, title, and interest in and to the Software, including
82
+ copyrights, trademarks, trade secrets, and other intellectual property rights.
83
+
84
+ No ownership rights are transferred to User.
85
+
86
+ All rights not expressly granted in this EULA are reserved by Licensor.
87
+
88
+ ## 7. Third-Party Dependencies
89
+
90
+ The Software may depend on third-party open-source packages. Those third-party
91
+ packages are licensed under their own license terms.
92
+
93
+ This EULA applies only to Licensor's proprietary Sky UI Software and does not
94
+ change the license terms of third-party dependencies.
95
+
96
+ ## 8. Feedback
97
+
98
+ If User provides ideas, feedback, suggestions, bug reports, or feature requests,
99
+ Licensor may use them without restriction and without obligation to pay User.
100
+
101
+ ## 9. Termination
102
+
103
+ This EULA terminates automatically if User violates it.
104
+
105
+ Upon termination, User must stop installing, copying, updating, and using the
106
+ Software.
107
+
108
+ ## 10. No Warranty
109
+
110
+ THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND,
111
+ WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE.
112
+
113
+ LICENSOR DISCLAIMS ALL WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A
114
+ PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, SECURITY, RELIABILITY, AND
115
+ AVAILABILITY.
116
+
117
+ ## 11. Limitation of Liability
118
+
119
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, LICENSOR WILL NOT BE LIABLE FOR ANY
120
+ INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES,
121
+ INCLUDING LOSS OF PROFITS, REVENUE, DATA, GOODWILL, OR BUSINESS OPPORTUNITY.
122
+
123
+ LICENSOR'S TOTAL LIABILITY ARISING OUT OF OR RELATING TO THE SOFTWARE WILL NOT
124
+ EXCEED ONE HUNDRED U.S. DOLLARS (USD $100).
125
+
126
+ ## 12. Governing Law
127
+
128
+ This EULA is governed by the laws of India, without regard to conflict-of-law
129
+ rules.
130
+
131
+ Any disputes will be resolved in the courts located in Gujarat, India, unless
132
+ applicable law requires otherwise.
133
+
134
+ ## 13. Contact
135
+
136
+ For licensing questions, contact:
137
+
138
+ Desai Software
139
+ https://gitlab.com/sky_ui/sky-ui/-/issues
package/README.md ADDED
@@ -0,0 +1,113 @@
1
+ # @sky.ui/core
2
+
3
+ Lit-based web components for Sky UI. Use tags such as `<sky-button>` and `<sky-card>` in any framework, or import components directly for tree-shaken bundles.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @sky.ui/core
9
+ ```
10
+
11
+ Peer dependencies (install as needed for the components you use): `lit`, and optionally `@lit-labs/motion`, `@lit-labs/virtualizer`, `@lit/context`, `d3`, `three`.
12
+
13
+ ## Quick start
14
+
15
+ ```js
16
+ import { SkyButton, SkyCard } from '@sky.ui/core';
17
+ ```
18
+
19
+ Register or render components in your app. In HTML:
20
+
21
+ ```html
22
+ <sky-button label="Save"></sky-button>
23
+ ```
24
+
25
+ Only the components you import are included in production bundles when your bundler tree-shakes ESM.
26
+
27
+ ## Tree-shaking
28
+
29
+ - Published as **ESM** with **one file per component** (`preserveModules`).
30
+ - Import from the package root or per-component paths (`@sky.ui/core/sky-button`).
31
+ - Use a **production build** (`vite build`, `nuxt build`, webpack production) so unused exports are dropped. Dev servers may include more for faster HMR.
32
+
33
+ ## Vite
34
+
35
+ ```js
36
+ import { SkyUIMainVitePlugin } from '@sky.ui/core/vite';
37
+
38
+ export default {
39
+ plugins: [
40
+ // Vue: auto-import <SkyButton> / <sky-button> (requires unplugin-vue-components)
41
+ SkyUIMainVitePlugin(), // or SkyUIMainVitePlugin({ mode: 'vue' })
42
+
43
+ // Framework-less HTML/JS: scan for <sky-*> and inject imports
44
+ // SkyUIMainVitePlugin({ mode: 'auto-import' })
45
+
46
+ // Whole library: SkyUIMainVitePlugin({ mode: 'auto-import', treeShake: false })
47
+ ],
48
+ };
49
+ ```
50
+
51
+ **Vue auto-import:** install `unplugin-vue-components`. Options include `resolverOptions`, `dts`, and `componentsOptions`.
52
+
53
+ **Resolver only:** `import { SkyUIMainResolver } from '@sky.ui/core/auto-import'`.
54
+
55
+ For Vue SFC wrappers or React, use `@sky.ui/vue` or `@sky.ui/react` instead.
56
+
57
+ ## Webpack and Rollup
58
+
59
+ **Webpack**
60
+
61
+ ```js
62
+ import { SkyUIMainWebpackPlugin } from '@sky.ui/core/webpack';
63
+
64
+ export default {
65
+ plugins: [SkyUIMainWebpackPlugin()],
66
+ };
67
+ ```
68
+
69
+ **Rollup** (returns an array — spread into `plugins`):
70
+
71
+ ```js
72
+ import { SkyUIMainRollupPlugin } from '@sky.ui/core/rollup';
73
+
74
+ export default {
75
+ plugins: [
76
+ ...SkyUIMainRollupPlugin(),
77
+ // auto-import: ...SkyUIMainRollupPlugin({ mode: 'auto-import', entryHtml: 'index.html' }),
78
+ ],
79
+ };
80
+ ```
81
+
82
+ ## Manual and full-library imports
83
+
84
+ ```js
85
+ import { SkyButton, SkyCard } from '@sky.ui/core';
86
+ import '@sky.ui/core/sky-button';
87
+
88
+ // Entire catalog
89
+ import '@sky.ui/core/all';
90
+ import * as Sky from '@sky.ui/core';
91
+ ```
92
+
93
+ ## Custom Elements Manifest
94
+
95
+ After building from source, component metadata is available at `@sky.ui/core/custom-elements.json`.
96
+
97
+ ## Related packages
98
+
99
+ | Package | Use when |
100
+ |---------|----------|
101
+ | [`@sky.ui/vue`](https://www.npmjs.com/package/@sky.ui/vue) | Vue 3 SFC wrappers |
102
+ | [`@sky.ui/react`](https://www.npmjs.com/package/@sky.ui/react) | React wrappers |
103
+ | [`@sky.ui/utils`](https://www.npmjs.com/package/@sky.ui/utils) | Utility CSS and PostCSS JIT |
104
+ | [`@sky.ui/reactivity`](https://www.npmjs.com/package/@sky.ui/reactivity) | Lightweight reactivity and template directives |
105
+ | [`@sky.ui.pro/core`](https://www.npmjs.com/package/@sky.ui.pro/core) | Pro-tier components |
106
+
107
+ ## Editor support
108
+
109
+ Install the **Sky UI Components** VS Code extension for completions, hover docs, and validation in HTML, Vue, and JSX.
110
+
111
+ ## License
112
+
113
+ [Sky UI Free EULA](./LICENSE.md) — proprietary; not open source.
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Webpack loader for @sky.ui/core auto-import: scans entry JS (and optional HTML) for <sky-*>
3
+ * and prepends the corresponding import statements. Use only on the entry file.
4
+ *
5
+ * Options: { packageName?: string, entryHtml?: string }
6
+ * @example
7
+ * rules: [{ test: /main\.js$/, use: [{ loader: '@sky.ui/core/auto-import-loader', options: { entryHtml: 'index.html' } }] }]
8
+ */
9
+ import path from 'node:path';
10
+ import fs from 'node:fs';
11
+ import { pathToFileURL } from 'node:url';
12
+ import { fileURLToPath } from 'node:url';
13
+
14
+ const __dirname = path.dirname(fileURLToPath(import.meta.url));
15
+ const TAG_RE = /<(sky-[a-z][a-z0-9]*(?:-[a-z0-9]+)*)|['"`](sky-[a-z][a-z0-9]*(?:-[a-z0-9]+)*)['"`]/gi;
16
+
17
+ function extractUsedTagNames(content, tagNamesSet) {
18
+ const used = new Set();
19
+ let m;
20
+ TAG_RE.lastIndex = 0;
21
+ while ((m = TAG_RE.exec(content)) !== null) {
22
+ const tag = (m[1] || m[2] || '').toLowerCase();
23
+ if (tagNamesSet.has(tag)) used.add(tag);
24
+ }
25
+ return used;
26
+ }
27
+
28
+ export default async function SkyUIMainAutoImportLoader(source, map, meta) {
29
+ const callback = this.async();
30
+ const options = this.getOptions() || {};
31
+ const packageName = options.packageName ?? '@sky.ui/core';
32
+ const entryHtml = options.entryHtml ?? 'index.html';
33
+
34
+ try {
35
+ const autoImportPath = path.resolve(__dirname, 'auto-import.js');
36
+ const { SKY_UI_TAG_NAMES } = await import(pathToFileURL(autoImportPath).href);
37
+ const tagNamesSet = SKY_UI_TAG_NAMES;
38
+
39
+ let used = extractUsedTagNames(source, tagNamesSet);
40
+
41
+ const htmlPath = path.resolve(this.context, '..', entryHtml);
42
+ if (fs.existsSync(htmlPath)) {
43
+ const html = fs.readFileSync(htmlPath, 'utf-8');
44
+ extractUsedTagNames(html, tagNamesSet).forEach((t) => used.add(t));
45
+ }
46
+
47
+ if (used.size === 0) {
48
+ return callback(null, source, map, meta);
49
+ }
50
+
51
+ const imports = [...used]
52
+ .sort()
53
+ .map((tag) => `import '${packageName}/${tag}';`)
54
+ .join('\n');
55
+ const out = `/** Auto-imported by @sky.ui/core (only used components) */\n${imports}\n\n${source}`;
56
+ callback(null, out, map, meta);
57
+ } catch (err) {
58
+ callback(err);
59
+ }
60
+ }
package/auto-import.js ADDED
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Scan-based auto-import for @sky.ui/core (unplugin-vue-components).
3
+ * Auto-generated by scripts/generate-packages.js – do not edit the array by hand.
4
+ */
5
+
6
+ const SKY_UI_COMPONENTS = [
7
+ 'SkyAccordion',
8
+ 'SkyAccordionItem',
9
+ 'SkyAlert',
10
+ 'SkyAppbar',
11
+ 'SkyAvatar',
12
+ 'SkyBadge',
13
+ 'SkyBreadcrumb',
14
+ 'SkyButton',
15
+ 'SkyButtonGroup',
16
+ 'SkyCard',
17
+ 'SkyCarousel',
18
+ 'SkyCheckbox',
19
+ 'SkyChip',
20
+ 'SkyCol',
21
+ 'SkyCombobox',
22
+ 'SkyCounter',
23
+ 'SkyDialog',
24
+ 'SkyDivider',
25
+ 'SkyDrawer',
26
+ 'SkyDropdown',
27
+ 'SkyDropdownItem',
28
+ 'SkyFlexbar',
29
+ 'SkyFlexbox',
30
+ 'SkyFlexcol',
31
+ 'SkyFlexitem',
32
+ 'SkyForm',
33
+ 'SkyGrid',
34
+ 'SkyIcon',
35
+ 'SkyImage',
36
+ 'SkyInput',
37
+ 'SkyList',
38
+ 'SkyListitem',
39
+ 'SkyNavbar',
40
+ 'SkyNavpanel',
41
+ 'SkyNotification',
42
+ 'SkyOtp',
43
+ 'SkyOverlay',
44
+ 'SkyPagination',
45
+ 'SkyProgress',
46
+ 'SkyRadio',
47
+ 'SkyRadioGroup',
48
+ 'SkyRange',
49
+ 'SkyRow',
50
+ 'SkySerial',
51
+ 'SkySheet',
52
+ 'SkySkeleton',
53
+ 'SkySlider',
54
+ 'SkySpeeddial',
55
+ 'SkySpinner',
56
+ 'SkySteps',
57
+ 'SkySwitch',
58
+ 'SkyTab',
59
+ 'SkyTabButton',
60
+ 'SkyThemeProvider',
61
+ 'SkyThemeSwitcher',
62
+ 'SkyTooltip',
63
+ ];
64
+
65
+ const SET = new Set(SKY_UI_COMPONENTS);
66
+
67
+ export function isSkyUIComponent(name) {
68
+ return SET.has(name);
69
+ }
70
+
71
+ /**
72
+ * Resolver for unplugin-vue-components (imports from @sky.ui/core custom elements).
73
+ * @param {{ packageName?: string }} [options]
74
+ */
75
+ export function SkyUIMainResolver(options = {}) {
76
+ const packageName = options.packageName ?? '@sky.ui/core';
77
+ return (componentName) => {
78
+ if (!SET.has(componentName)) return;
79
+ return { name: componentName, from: packageName };
80
+ };
81
+ }
82
+
83
+ /** Kebab-case custom element tags for framework-less auto-import scanners. */
84
+ export const SKY_UI_TAG_NAMES = new Set(
85
+ SKY_UI_COMPONENTS.map((name) =>
86
+ name.replace(/([a-z0-9])([A-Z])/g, '$1-$2').replace(/^Sky/, 'sky-').toLowerCase(),
87
+ ),
88
+ );
89
+
90
+ /** Subpath import for a tag used by Vite/Rollup auto-import plugins. */
91
+ export function getCoreImportPath(tag, packageName = '@sky.ui/core') {
92
+ return `${packageName}/${tag}`;
93
+ }