@node-core/ui-components 1.0.1-cc5c2626b0639fe2088a736f54169ea3e10ed325 → 1.0.1-e1f87bde264af01e260a8efa4fab1749a2c6bc29

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 (262) hide show
  1. package/Common/AlertBox/index.js +5 -0
  2. package/Common/AlertBox/index.module.css +44 -50
  3. package/Common/AvatarGroup/Avatar/index.js +11 -0
  4. package/Common/AvatarGroup/Avatar/index.module.css +50 -30
  5. package/Common/AvatarGroup/Overlay/index.js +6 -0
  6. package/Common/AvatarGroup/Overlay/index.module.css +28 -21
  7. package/Common/AvatarGroup/index.js +21 -0
  8. package/Common/AvatarGroup/index.module.css +12 -11
  9. package/Common/Badge/index.js +7 -0
  10. package/Common/Badge/index.module.css +34 -26
  11. package/Common/BadgeGroup/index.js +6 -0
  12. package/Common/BadgeGroup/index.module.css +75 -51
  13. package/Common/Banner/index.js +4 -0
  14. package/Common/Banner/index.module.css +30 -27
  15. package/Common/BaseActiveLink/index.js +14 -0
  16. package/Common/BaseButton/index.js +10 -0
  17. package/Common/BaseButton/index.module.css +332 -105
  18. package/Common/BaseCodeBox/index.js +50 -0
  19. package/Common/BaseCodeBox/index.module.css +76 -58
  20. package/Common/BaseCrossLink/index.js +12 -0
  21. package/Common/BaseCrossLink/index.module.css +57 -39
  22. package/Common/BaseLinkTabs/index.js +5 -0
  23. package/Common/BaseLinkTabs/index.module.css +67 -33
  24. package/Common/BasePagination/Ellipsis/index.js +4 -0
  25. package/Common/BasePagination/Ellipsis/index.module.css +14 -8
  26. package/Common/BasePagination/PaginationListItem/index.js +6 -0
  27. package/Common/BasePagination/PaginationListItem/index.module.css +36 -21
  28. package/Common/BasePagination/PrevNextArrow.js +7 -0
  29. package/Common/BasePagination/index.js +10 -0
  30. package/Common/BasePagination/index.module.css +27 -26
  31. package/Common/BasePagination/useGetPageElements.js +77 -0
  32. package/Common/Blockquote/index.js +4 -0
  33. package/Common/Blockquote/index.module.css +44 -23
  34. package/Common/Breadcrumbs/BreadcrumbHomeLink/index.js +9 -0
  35. package/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +3 -3
  36. package/Common/Breadcrumbs/BreadcrumbItem/index.js +6 -0
  37. package/Common/Breadcrumbs/BreadcrumbItem/index.module.css +38 -27
  38. package/Common/Breadcrumbs/BreadcrumbLink/index.js +5 -0
  39. package/Common/Breadcrumbs/BreadcrumbLink/index.module.css +26 -16
  40. package/Common/Breadcrumbs/BreadcrumbRoot/index.js +4 -0
  41. package/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +8 -7
  42. package/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.js +4 -0
  43. package/Common/Breadcrumbs/index.js +22 -0
  44. package/Common/ChangeHistory/index.js +9 -0
  45. package/Common/ChangeHistory/index.module.css +181 -66
  46. package/Common/CodeTabs/index.js +5 -0
  47. package/Common/CodeTabs/index.module.css +47 -36
  48. package/Common/DataTag/index.js +18 -0
  49. package/Common/DataTag/index.module.css +30 -32
  50. package/Common/GlowingBackdrop/index.js +5 -0
  51. package/Common/GlowingBackdrop/index.module.css +126 -28
  52. package/Common/LanguageDropDown/index.js +11 -0
  53. package/Common/LanguageDropDown/index.module.css +140 -42
  54. package/Common/Modal/index.js +10 -0
  55. package/Common/Modal/index.module.css +217 -62
  56. package/Common/NodejsLogo/index.js +7 -0
  57. package/Common/NodejsLogo/index.module.css +3 -4
  58. package/Common/Notification/index.js +6 -0
  59. package/Common/Notification/index.module.css +101 -17
  60. package/Common/Preview/index.js +7 -0
  61. package/Common/Preview/index.module.css +269 -65
  62. package/Common/Select/index.js +46 -0
  63. package/Common/Select/index.module.css +294 -127
  64. package/Common/Separator/index.js +7 -0
  65. package/Common/Separator/index.module.css +7 -10
  66. package/Common/Skeleton/index.js +18 -0
  67. package/Common/Skeleton/index.module.css +118 -21
  68. package/Common/Tabs/index.js +6 -0
  69. package/Common/Tabs/index.module.css +58 -40
  70. package/Common/ThemeToggle/index.js +7 -0
  71. package/Common/ThemeToggle/index.module.css +18 -11
  72. package/Common/Tooltip/index.js +8 -0
  73. package/Common/Tooltip/index.module.css +119 -29
  74. package/Containers/Article/index.js +4 -0
  75. package/Containers/Article/index.module.css +127 -58
  76. package/Containers/DocSideBar/index.js +1 -0
  77. package/Containers/Footer/index.js +22 -0
  78. package/Containers/Footer/index.module.css +51 -36
  79. package/Containers/MetaBar/index.js +12 -0
  80. package/Containers/MetaBar/index.module.css +101 -69
  81. package/Containers/NavBar/NavItem/index.js +7 -0
  82. package/Containers/NavBar/NavItem/index.module.css +50 -36
  83. package/Containers/NavBar/index.js +18 -0
  84. package/Containers/NavBar/index.module.css +176 -96
  85. package/Containers/Sidebar/ProgressionIcon/index.js +3 -0
  86. package/Containers/Sidebar/SidebarGroup/index.js +9 -0
  87. package/Containers/Sidebar/SidebarGroup/index.module.css +180 -52
  88. package/Containers/Sidebar/SidebarItem/index.js +11 -0
  89. package/Containers/Sidebar/SidebarItem/index.module.css +49 -38
  90. package/Containers/Sidebar/index.js +15 -0
  91. package/Containers/Sidebar/index.module.css +42 -24
  92. package/Icons/HexagonGrid.js +3 -0
  93. package/Icons/InstallationMethod/Choco.js +3 -0
  94. package/Icons/InstallationMethod/Devbox.js +3 -0
  95. package/Icons/InstallationMethod/Docker.js +3 -0
  96. package/Icons/InstallationMethod/FNM.js +3 -0
  97. package/Icons/InstallationMethod/Homebrew.js +3 -0
  98. package/Icons/InstallationMethod/N.js +5 -0
  99. package/Icons/InstallationMethod/NVM.js +3 -0
  100. package/Icons/InstallationMethod/Volta.js +3 -0
  101. package/Icons/InstallationMethod/{index.ts → index.js} +0 -1
  102. package/Icons/Logos/JsWhite.js +3 -0
  103. package/Icons/Logos/Nodejs.js +12 -0
  104. package/Icons/Logos/index.js +3 -0
  105. package/Icons/OperatingSystem/AIX.js +3 -0
  106. package/Icons/OperatingSystem/Apple.js +3 -0
  107. package/Icons/OperatingSystem/Linux.js +3 -0
  108. package/Icons/OperatingSystem/Microsoft.js +3 -0
  109. package/Icons/OperatingSystem/{index.ts → index.js} +0 -1
  110. package/Icons/PackageManager/Npm.js +3 -0
  111. package/Icons/PackageManager/Pnpm.js +3 -0
  112. package/Icons/PackageManager/Yarn.js +3 -0
  113. package/Icons/PackageManager/{index.ts → index.js} +0 -1
  114. package/Icons/Social/Bluesky.js +3 -0
  115. package/Icons/Social/Discord.js +3 -0
  116. package/Icons/Social/GitHub.js +3 -0
  117. package/Icons/Social/LinkedIn.js +3 -0
  118. package/Icons/Social/Mastodon.js +3 -0
  119. package/Icons/Social/Slack.js +3 -0
  120. package/Icons/Social/X.js +3 -0
  121. package/Icons/Social/{index.ts → index.js} +0 -1
  122. package/MDX/CodeTabs.js +16 -0
  123. package/package.json +6 -54
  124. package/stylelint/one-utility-class-per-line.mjs +34 -50
  125. package/stylelint/utils.mjs +19 -25
  126. package/styles/index.css +1124 -26
  127. package/types.js +1 -0
  128. package/Common/AlertBox/index.stories.tsx +0 -96
  129. package/Common/AlertBox/index.tsx +0 -24
  130. package/Common/AvatarGroup/Avatar/index.stories.tsx +0 -22
  131. package/Common/AvatarGroup/Avatar/index.tsx +0 -67
  132. package/Common/AvatarGroup/Overlay/index.stories.tsx +0 -33
  133. package/Common/AvatarGroup/Overlay/index.tsx +0 -37
  134. package/Common/AvatarGroup/__tests__/index.test.jsx +0 -55
  135. package/Common/AvatarGroup/index.stories.tsx +0 -56
  136. package/Common/AvatarGroup/index.tsx +0 -83
  137. package/Common/Badge/index.stories.tsx +0 -38
  138. package/Common/Badge/index.tsx +0 -35
  139. package/Common/BadgeGroup/index.stories.tsx +0 -35
  140. package/Common/BadgeGroup/index.tsx +0 -35
  141. package/Common/Banner/index.stories.tsx +0 -29
  142. package/Common/Banner/index.tsx +0 -18
  143. package/Common/BaseActiveLink/__tests__/index.test.jsx +0 -52
  144. package/Common/BaseActiveLink/index.tsx +0 -34
  145. package/Common/BaseButton/index.stories.tsx +0 -67
  146. package/Common/BaseButton/index.tsx +0 -59
  147. package/Common/BaseCodeBox/index.stories.tsx +0 -39
  148. package/Common/BaseCodeBox/index.tsx +0 -122
  149. package/Common/BaseCrossLink/index.stories.tsx +0 -38
  150. package/Common/BaseCrossLink/index.tsx +0 -46
  151. package/Common/BaseLinkTabs/index.stories.tsx +0 -34
  152. package/Common/BaseLinkTabs/index.tsx +0 -53
  153. package/Common/BasePagination/Ellipsis/index.stories.tsx +0 -10
  154. package/Common/BasePagination/Ellipsis/index.tsx +0 -11
  155. package/Common/BasePagination/PaginationListItem/__tests__/index.test.jsx +0 -58
  156. package/Common/BasePagination/PaginationListItem/index.stories.tsx +0 -40
  157. package/Common/BasePagination/PaginationListItem/index.tsx +0 -39
  158. package/Common/BasePagination/PrevNextArrow.tsx +0 -15
  159. package/Common/BasePagination/__tests__/index.test.jsx +0 -180
  160. package/Common/BasePagination/index.stories.tsx +0 -67
  161. package/Common/BasePagination/index.tsx +0 -77
  162. package/Common/BasePagination/useGetPageElements.tsx +0 -132
  163. package/Common/Blockquote/index.stories.tsx +0 -45
  164. package/Common/Blockquote/index.tsx +0 -11
  165. package/Common/Breadcrumbs/BreadcrumbHomeLink/index.tsx +0 -30
  166. package/Common/Breadcrumbs/BreadcrumbItem/index.tsx +0 -42
  167. package/Common/Breadcrumbs/BreadcrumbLink/index.tsx +0 -37
  168. package/Common/Breadcrumbs/BreadcrumbRoot/index.tsx +0 -20
  169. package/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.tsx +0 -9
  170. package/Common/Breadcrumbs/index.stories.tsx +0 -94
  171. package/Common/Breadcrumbs/index.tsx +0 -81
  172. package/Common/ChangeHistory/index.stories.tsx +0 -130
  173. package/Common/ChangeHistory/index.tsx +0 -67
  174. package/Common/CodeTabs/index.stories.tsx +0 -73
  175. package/Common/CodeTabs/index.tsx +0 -16
  176. package/Common/DataTag/index.stories.tsx +0 -40
  177. package/Common/DataTag/index.tsx +0 -39
  178. package/Common/GlowingBackdrop/index.stories.tsx +0 -10
  179. package/Common/GlowingBackdrop/index.tsx +0 -13
  180. package/Common/LanguageDropDown/index.stories.tsx +0 -19
  181. package/Common/LanguageDropDown/index.tsx +0 -56
  182. package/Common/Modal/index.stories.tsx +0 -34
  183. package/Common/Modal/index.tsx +0 -50
  184. package/Common/NodejsLogo/index.stories.tsx +0 -14
  185. package/Common/NodejsLogo/index.tsx +0 -26
  186. package/Common/Notification/index.stories.tsx +0 -36
  187. package/Common/Notification/index.tsx +0 -34
  188. package/Common/Preview/index.stories.tsx +0 -44
  189. package/Common/Preview/index.tsx +0 -25
  190. package/Common/Select/__tests__/index.test.jsx +0 -67
  191. package/Common/Select/index.stories.tsx +0 -111
  192. package/Common/Select/index.tsx +0 -187
  193. package/Common/Separator/index.stories.tsx +0 -32
  194. package/Common/Separator/index.tsx +0 -27
  195. package/Common/Skeleton/index.tsx +0 -39
  196. package/Common/Tabs/__tests__/index.test.jsx +0 -52
  197. package/Common/Tabs/index.stories.tsx +0 -50
  198. package/Common/Tabs/index.tsx +0 -54
  199. package/Common/ThemeToggle/__tests__/index.test.jsx +0 -35
  200. package/Common/ThemeToggle/index.stories.tsx +0 -10
  201. package/Common/ThemeToggle/index.tsx +0 -15
  202. package/Common/Tooltip/index.stories.tsx +0 -73
  203. package/Common/Tooltip/index.tsx +0 -48
  204. package/Containers/Article/index.stories.tsx +0 -39
  205. package/Containers/Article/index.tsx +0 -9
  206. package/Containers/DocSideBar/index.tsx +0 -0
  207. package/Containers/Footer/index.stories.tsx +0 -27
  208. package/Containers/Footer/index.tsx +0 -95
  209. package/Containers/MetaBar/__tests__/index.test.jsx +0 -63
  210. package/Containers/MetaBar/index.stories.tsx +0 -80
  211. package/Containers/MetaBar/index.tsx +0 -72
  212. package/Containers/NavBar/NavItem/index.stories.tsx +0 -38
  213. package/Containers/NavBar/NavItem/index.tsx +0 -44
  214. package/Containers/NavBar/index.stories.tsx +0 -45
  215. package/Containers/NavBar/index.tsx +0 -94
  216. package/Containers/Sidebar/ProgressionIcon/index.tsx +0 -16
  217. package/Containers/Sidebar/SidebarGroup/index.stories.tsx +0 -36
  218. package/Containers/Sidebar/SidebarGroup/index.tsx +0 -49
  219. package/Containers/Sidebar/SidebarItem/index.stories.tsx +0 -15
  220. package/Containers/Sidebar/SidebarItem/index.tsx +0 -43
  221. package/Containers/Sidebar/index.stories.tsx +0 -88
  222. package/Containers/Sidebar/index.tsx +0 -70
  223. package/Icons/HexagonGrid.stories.tsx +0 -10
  224. package/Icons/HexagonGrid.tsx +0 -1434
  225. package/Icons/InstallationMethod/Choco.tsx +0 -78
  226. package/Icons/InstallationMethod/Devbox.tsx +0 -21
  227. package/Icons/InstallationMethod/Docker.tsx +0 -20
  228. package/Icons/InstallationMethod/FNM.tsx +0 -132
  229. package/Icons/InstallationMethod/Homebrew.tsx +0 -69
  230. package/Icons/InstallationMethod/N.tsx +0 -32
  231. package/Icons/InstallationMethod/NVM.tsx +0 -63
  232. package/Icons/InstallationMethod/Volta.tsx +0 -34
  233. package/Icons/Logos/JsGreen.tsx +0 -24
  234. package/Icons/Logos/JsWhite.tsx +0 -37
  235. package/Icons/Logos/Nodejs.tsx +0 -372
  236. package/Icons/Logos/NodejsStackedBlack.tsx +0 -98
  237. package/Icons/Logos/NodejsStackedDark.tsx +0 -124
  238. package/Icons/Logos/NodejsStackedLight.tsx +0 -123
  239. package/Icons/Logos/NodejsStackedWhite.tsx +0 -98
  240. package/Icons/Logos/index.ts +0 -17
  241. package/Icons/OperatingSystem/AIX.tsx +0 -46
  242. package/Icons/OperatingSystem/Apple.tsx +0 -23
  243. package/Icons/OperatingSystem/Linux.tsx +0 -969
  244. package/Icons/OperatingSystem/Microsoft.tsx +0 -19
  245. package/Icons/PackageManager/Npm.tsx +0 -21
  246. package/Icons/PackageManager/Pnpm.tsx +0 -22
  247. package/Icons/PackageManager/Yarn.tsx +0 -22
  248. package/Icons/Social/Bluesky.tsx +0 -19
  249. package/Icons/Social/Discord.tsx +0 -20
  250. package/Icons/Social/GitHub.tsx +0 -16
  251. package/Icons/Social/LinkedIn.tsx +0 -16
  252. package/Icons/Social/Mastodon.tsx +0 -36
  253. package/Icons/Social/Slack.tsx +0 -31
  254. package/Icons/Social/X.tsx +0 -16
  255. package/MDX/CodeTabs.tsx +0 -47
  256. package/stylelint/__tests__/index.test.mjs +0 -80
  257. package/styles/animations.css +0 -47
  258. package/styles/base.css +0 -17
  259. package/styles/effects.css +0 -12
  260. package/styles/markdown.css +0 -173
  261. package/styles/theme.css +0 -175
  262. package/types.ts +0 -25
@@ -1,161 +1,328 @@
1
- @reference "../../styles/index.css";
2
-
1
+ /*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
3
2
  .select {
4
- @apply inline-flex
5
- flex-col
6
- gap-1.5;
7
-
3
+ display: inline-flex;
4
+ flex-direction: column;
5
+ gap: calc(var(--spacing, 0.25rem)*1.5);
8
6
  .label {
9
- @apply block
10
- w-full
11
- text-sm
12
- font-medium
13
- text-neutral-800
14
- dark:text-neutral-200;
15
- }
16
-
7
+ display: block;
8
+ width: 100%;
9
+ font-size: var(--text-sm, 0.875rem);
10
+ line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
11
+ --tw-font-weight: var(--font-weight-medium, 500);
12
+ font-weight: var(--font-weight-medium, 500);
13
+ color: var(--color-neutral-800, #556066);
14
+ &:where([data-theme=dark], [data-theme=dark] *) {
15
+ color: var(--color-neutral-200, #e9edf0);
16
+ }
17
+ }
17
18
  .trigger {
18
- @apply shadow-xs
19
- outline-hidden
20
- inline-flex
21
- h-11
22
- w-full
23
- min-w-[17rem]
24
- items-center
25
- justify-between
26
- gap-2
27
- rounded-sm
28
- border
29
- border-neutral-300
30
- bg-white
31
- px-3.5
32
- py-2.5
33
- text-left
34
- text-base
35
- font-medium
36
- text-neutral-900
37
- focus:border-neutral-500
38
- focus:ring-1
39
- focus:ring-neutral-500
40
- data-[placeholder]:text-neutral-800
41
- dark:border-neutral-800
42
- dark:bg-neutral-950
43
- dark:text-white
44
- dark:focus:border-neutral-600
45
- dark:focus:ring-neutral-600
46
- dark:data-[placeholder]:text-neutral-200;
47
- }
48
-
19
+ display: inline-flex;
20
+ height: calc(var(--spacing, 0.25rem)*11);
21
+ width: 100%;
22
+ min-width: 17rem;
23
+ align-items: center;
24
+ justify-content: space-between;
25
+ gap: calc(var(--spacing, 0.25rem)*2);
26
+ border-radius: var(--radius-sm, 0.25rem);
27
+ border-style: var(--tw-border-style);
28
+ border-width: 1px;
29
+ border-color: var(--color-neutral-300, #d9e1e4);
30
+ background-color: var(--color-white, #fff);
31
+ padding-inline: calc(var(--spacing, 0.25rem)*3.5);
32
+ padding-block: calc(var(--spacing, 0.25rem)*2.5);
33
+ text-align: left;
34
+ font-size: var(--text-base, 1rem);
35
+ line-height: var(--tw-leading, var(--text-base--line-height, 1.5));
36
+ --tw-font-weight: var(--font-weight-medium, 500);
37
+ font-weight: var(--font-weight-medium, 500);
38
+ color: var(--color-neutral-900, #2c3437);
39
+ --tw-shadow: 0px 1px 2px 0px var(--tw-shadow-color, color-mix(in srgb, #101828 5%, transparent));
40
+ @supports (color: color-mix(in lab, red, red)) {
41
+ --tw-shadow: 0px 1px 2px 0px var(--tw-shadow-color, color-mix(in oklab, var(--color-shadow, #101828) 5%, transparent));
42
+ }
43
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
44
+ --tw-outline-style: none;
45
+ outline-style: none;
46
+ @media (forced-colors: active) {
47
+ outline: 2px solid transparent;
48
+ outline-offset: 2px;
49
+ }
50
+ &:focus {
51
+ border-color: var(--color-neutral-500, #b1bcc2);
52
+ }
53
+ &:focus {
54
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
55
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
56
+ }
57
+ &:focus {
58
+ --tw-ring-color: var(--color-neutral-500, #b1bcc2);
59
+ }
60
+ &[data-placeholder] {
61
+ color: var(--color-neutral-800, #556066);
62
+ }
63
+ &:where([data-theme=dark], [data-theme=dark] *) {
64
+ border-color: var(--color-neutral-800, #556066);
65
+ }
66
+ &:where([data-theme=dark], [data-theme=dark] *) {
67
+ background-color: var(--color-neutral-950, #0d121c);
68
+ }
69
+ &:where([data-theme=dark], [data-theme=dark] *) {
70
+ color: var(--color-white, #fff);
71
+ }
72
+ &:where([data-theme=dark], [data-theme=dark] *) {
73
+ &:focus {
74
+ border-color: var(--color-neutral-600, #929fa5);
75
+ }
76
+ }
77
+ &:where([data-theme=dark], [data-theme=dark] *) {
78
+ &:focus {
79
+ --tw-ring-color: var(--color-neutral-600, #929fa5);
80
+ }
81
+ }
82
+ &:where([data-theme=dark], [data-theme=dark] *) {
83
+ &[data-placeholder] {
84
+ color: var(--color-neutral-200, #e9edf0);
85
+ }
86
+ }
87
+ }
49
88
  .trigger span {
50
- @apply flex
51
- h-5
52
- items-center
53
- gap-2;
89
+ display: flex;
90
+ height: calc(var(--spacing, 0.25rem)*5);
91
+ align-items: center;
92
+ gap: calc(var(--spacing, 0.25rem)*2);
54
93
  }
55
-
56
94
  .icon {
57
- @apply size-5
58
- text-neutral-600
59
- dark:text-neutral-400;
95
+ width: calc(var(--spacing, 0.25rem)*5);
96
+ height: calc(var(--spacing, 0.25rem)*5);
97
+ color: var(--color-neutral-600, #929fa5);
98
+ &:where([data-theme=dark], [data-theme=dark] *) {
99
+ color: var(--color-neutral-400, #cbd4d9);
100
+ }
60
101
  }
61
102
  }
62
-
63
103
  .dropdown {
64
- @apply max-h-48
65
- max-w-xs
66
- overflow-hidden
67
- overflow-y-auto
68
- rounded-md
69
- border
70
- border-neutral-200
71
- bg-white
72
- shadow-lg
73
- dark:border-neutral-800
74
- dark:bg-neutral-950;
75
-
104
+ max-height: calc(var(--spacing, 0.25rem)*48);
105
+ max-width: var(--container-xs, 20rem);
106
+ overflow: hidden;
107
+ overflow-y: auto;
108
+ border-radius: var(--radius-md, 0.375rem);
109
+ border-style: var(--tw-border-style);
110
+ border-width: 1px;
111
+ border-color: var(--color-neutral-200, #e9edf0);
112
+ background-color: var(--color-white, #fff);
113
+ --tw-shadow: 0px 4px 6px -2px var(--tw-shadow-color, color-mix(in srgb, #101828 3%, transparent)), 0px 12px 16px -4px var(--tw-shadow-color, color-mix(in srgb, #101828 8%, transparent));
114
+ @supports (color: color-mix(in lab, red, red)) {
115
+ --tw-shadow: 0px 4px 6px -2px var(--tw-shadow-color, color-mix(in oklab, var(--color-shadow, #101828) 3%, transparent)), 0px 12px 16px -4px var(--tw-shadow-color, color-mix(in oklab, var(--color-shadow, #101828) 8%, transparent));
116
+ }
117
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
118
+ &:where([data-theme=dark], [data-theme=dark] *) {
119
+ border-color: var(--color-neutral-800, #556066);
120
+ }
121
+ &:where([data-theme=dark], [data-theme=dark] *) {
122
+ background-color: var(--color-neutral-950, #0d121c);
123
+ }
76
124
  .item {
77
- @apply select-none
78
- truncate
79
- px-2.5
80
- py-1.5
81
- text-sm
82
- font-medium;
83
- }
84
-
125
+ overflow: hidden;
126
+ text-overflow: ellipsis;
127
+ white-space: nowrap;
128
+ padding-inline: calc(var(--spacing, 0.25rem)*2.5);
129
+ padding-block: calc(var(--spacing, 0.25rem)*1.5);
130
+ font-size: var(--text-sm, 0.875rem);
131
+ line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
132
+ --tw-font-weight: var(--font-weight-medium, 500);
133
+ font-weight: var(--font-weight-medium, 500);
134
+ -webkit-user-select: none;
135
+ user-select: none;
136
+ }
85
137
  .text {
86
- @apply data-[highlighted]:outline-hidden
87
- text-neutral-800
88
- data-[highlighted]:bg-green-500
89
- data-[highlighted]:text-white
90
- dark:text-neutral-200
91
- dark:data-[highlighted]:bg-green-600
92
- dark:data-[highlighted]:text-white;
93
- }
94
-
138
+ color: var(--color-neutral-800, #556066);
139
+ &[data-highlighted] {
140
+ background-color: var(--color-green-500, #5fa04e);
141
+ }
142
+ &[data-highlighted] {
143
+ color: var(--color-white, #fff);
144
+ }
145
+ &[data-highlighted] {
146
+ --tw-outline-style: none;
147
+ outline-style: none;
148
+ @media (forced-colors: active) {
149
+ outline: 2px solid transparent;
150
+ outline-offset: 2px;
151
+ }
152
+ }
153
+ &:where([data-theme=dark], [data-theme=dark] *) {
154
+ color: var(--color-neutral-200, #e9edf0);
155
+ }
156
+ &:where([data-theme=dark], [data-theme=dark] *) {
157
+ &[data-highlighted] {
158
+ background-color: var(--color-green-600, #417e38);
159
+ }
160
+ }
161
+ &:where([data-theme=dark], [data-theme=dark] *) {
162
+ &[data-highlighted] {
163
+ color: var(--color-white, #fff);
164
+ }
165
+ }
166
+ }
95
167
  .text > span {
96
- @apply flex
97
- items-center
98
- gap-2;
168
+ display: flex;
169
+ align-items: center;
170
+ gap: calc(var(--spacing, 0.25rem)*2);
99
171
  }
100
-
101
172
  .text > span > span {
102
- @apply max-w-64
103
- truncate
104
- text-wrap;
173
+ max-width: calc(var(--spacing, 0.25rem)*64);
174
+ overflow: hidden;
175
+ text-overflow: ellipsis;
176
+ white-space: nowrap;
177
+ text-wrap: wrap;
105
178
  }
106
-
107
179
  .label {
108
- @apply text-neutral-600
109
- dark:text-neutral-400;
180
+ color: var(--color-neutral-600, #929fa5);
181
+ &:where([data-theme=dark], [data-theme=dark] *) {
182
+ color: var(--color-neutral-400, #cbd4d9);
183
+ }
110
184
  }
111
185
  }
112
-
113
186
  .dropdown:has(.label) .text > span {
114
187
  &:has(svg) > svg {
115
- @apply ml-3;
188
+ margin-left: calc(var(--spacing, 0.25rem)*3);
116
189
  }
117
-
118
190
  &:not(&:has(svg)) > span {
119
- @apply ml-3;
191
+ margin-left: calc(var(--spacing, 0.25rem)*3);
120
192
  }
121
193
  }
122
-
123
194
  .inline {
124
195
  .trigger {
125
- @apply h-auto
126
- min-w-fit
127
- px-2.5
128
- py-2
129
- text-sm
130
- font-medium;
131
- }
132
-
196
+ height: auto;
197
+ min-width: fit-content;
198
+ padding-inline: calc(var(--spacing, 0.25rem)*2.5);
199
+ padding-block: calc(var(--spacing, 0.25rem)*2);
200
+ font-size: var(--text-sm, 0.875rem);
201
+ line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
202
+ --tw-font-weight: var(--font-weight-medium, 500);
203
+ font-weight: var(--font-weight-medium, 500);
204
+ }
133
205
  .icon {
134
- @apply size-4;
206
+ width: calc(var(--spacing, 0.25rem)*4);
207
+ height: calc(var(--spacing, 0.25rem)*4);
135
208
  }
136
-
137
209
  .text {
138
- @apply text-neutral-900
139
- data-[highlighted]:bg-neutral-100
140
- data-[disabled]:text-neutral-600
141
- data-[highlighted]:text-neutral-900
142
- dark:text-white
143
- dark:data-[highlighted]:bg-neutral-900
144
- dark:data-[disabled]:text-neutral-700
145
- dark:data-[highlighted]:text-white;
146
- }
147
-
210
+ color: var(--color-neutral-900, #2c3437);
211
+ &[data-disabled] {
212
+ color: var(--color-neutral-600, #929fa5);
213
+ }
214
+ &[data-highlighted] {
215
+ background-color: var(--color-neutral-100, #f6f7f9);
216
+ }
217
+ &[data-highlighted] {
218
+ color: var(--color-neutral-900, #2c3437);
219
+ }
220
+ &:where([data-theme=dark], [data-theme=dark] *) {
221
+ color: var(--color-white, #fff);
222
+ }
223
+ &:where([data-theme=dark], [data-theme=dark] *) {
224
+ &[data-disabled] {
225
+ color: var(--color-neutral-700, #6e7b83);
226
+ }
227
+ }
228
+ &:where([data-theme=dark], [data-theme=dark] *) {
229
+ &[data-highlighted] {
230
+ background-color: var(--color-neutral-900, #2c3437);
231
+ }
232
+ }
233
+ &:where([data-theme=dark], [data-theme=dark] *) {
234
+ &[data-highlighted] {
235
+ color: var(--color-white, #fff);
236
+ }
237
+ }
238
+ }
148
239
  &.dropdown {
149
- @apply mt-1
150
- w-[calc(100%+1.5rem)]
151
- rounded;
240
+ margin-top: calc(var(--spacing, 0.25rem)*1);
241
+ width: calc(100% + 1.5rem);
242
+ border-radius: 0.25rem;
152
243
  }
153
244
  }
154
-
155
245
  .scrollIcon {
156
- @apply mx-auto
157
- my-1
158
- size-4
159
- text-neutral-700
160
- dark:text-neutral-200;
246
+ margin-inline: auto;
247
+ margin-block: calc(var(--spacing, 0.25rem)*1);
248
+ width: calc(var(--spacing, 0.25rem)*4);
249
+ height: calc(var(--spacing, 0.25rem)*4);
250
+ color: var(--color-neutral-700, #6e7b83);
251
+ &:where([data-theme=dark], [data-theme=dark] *) {
252
+ color: var(--color-neutral-200, #e9edf0);
253
+ }
254
+ }
255
+ @property --tw-font-weight {
256
+ syntax: "*";
257
+ inherits: false;
258
+ }
259
+ @property --tw-border-style {
260
+ syntax: "*";
261
+ inherits: false;
262
+ initial-value: solid;
263
+ }
264
+ @property --tw-shadow {
265
+ syntax: "*";
266
+ inherits: false;
267
+ initial-value: 0 0 #0000;
268
+ }
269
+ @property --tw-shadow-color {
270
+ syntax: "*";
271
+ inherits: false;
272
+ }
273
+ @property --tw-shadow-alpha {
274
+ syntax: "<percentage>";
275
+ inherits: false;
276
+ initial-value: 100%;
277
+ }
278
+ @property --tw-inset-shadow {
279
+ syntax: "*";
280
+ inherits: false;
281
+ initial-value: 0 0 #0000;
282
+ }
283
+ @property --tw-inset-shadow-color {
284
+ syntax: "*";
285
+ inherits: false;
286
+ }
287
+ @property --tw-inset-shadow-alpha {
288
+ syntax: "<percentage>";
289
+ inherits: false;
290
+ initial-value: 100%;
291
+ }
292
+ @property --tw-ring-color {
293
+ syntax: "*";
294
+ inherits: false;
295
+ }
296
+ @property --tw-ring-shadow {
297
+ syntax: "*";
298
+ inherits: false;
299
+ initial-value: 0 0 #0000;
300
+ }
301
+ @property --tw-inset-ring-color {
302
+ syntax: "*";
303
+ inherits: false;
304
+ }
305
+ @property --tw-inset-ring-shadow {
306
+ syntax: "*";
307
+ inherits: false;
308
+ initial-value: 0 0 #0000;
309
+ }
310
+ @property --tw-ring-inset {
311
+ syntax: "*";
312
+ inherits: false;
313
+ }
314
+ @property --tw-ring-offset-width {
315
+ syntax: "<length>";
316
+ inherits: false;
317
+ initial-value: 0px;
318
+ }
319
+ @property --tw-ring-offset-color {
320
+ syntax: "*";
321
+ inherits: false;
322
+ initial-value: #fff;
323
+ }
324
+ @property --tw-ring-offset-shadow {
325
+ syntax: "*";
326
+ inherits: false;
327
+ initial-value: 0 0 #0000;
161
328
  }
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
4
+ import classNames from 'classnames';
5
+ import styles from './index.module.css';
6
+ const Separator = ({ className, orientation = 'horizontal', decorative = true, ...props }) => (_jsx(SeparatorPrimitive.Root, { decorative: decorative, orientation: orientation, className: classNames(styles.root, orientation === 'horizontal' ? styles.horizontal : styles.vertical, className), ...props }));
7
+ export default Separator;
@@ -1,16 +1,13 @@
1
- @reference "../../styles/index.css";
2
-
1
+ /*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
3
2
  .root {
4
- @apply shrink-0
5
- bg-neutral-800;
6
-
3
+ flex-shrink: 0;
4
+ background-color: var(--color-neutral-800, #556066);
7
5
  &.horizontal {
8
- @apply h-px
9
- w-full;
6
+ height: 1px;
7
+ width: 100%;
10
8
  }
11
-
12
9
  &.vertical {
13
- @apply h-full
14
- w-px;
10
+ height: 100%;
11
+ width: 1px;
15
12
  }
16
13
  }
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import classNames from 'classnames';
3
+ import { isValidElement } from 'react';
4
+ import styles from './index.module.css';
5
+ const Skeleton = ({ children, className, hide = false, loading = true, }) => {
6
+ // This can be used to completely hide the children after the Skeleton has loaded
7
+ // If certain criterias do not match. This is useful for conditional rendering without
8
+ // changing the actual tree that the Skeleton is wrapping
9
+ if (!loading && hide) {
10
+ return null;
11
+ }
12
+ // If we finished loading, we can hide the Skeleton and render the children tree
13
+ if (!loading) {
14
+ return children;
15
+ }
16
+ return (_jsx("span", { tabIndex: -1, "aria-hidden": "true", className: classNames(styles.skeleton, className), "data-inline-skeleton": isValidElement(children) ? undefined : true, children: children }));
17
+ };
18
+ export default Skeleton;
@@ -1,30 +1,127 @@
1
- @reference "../../styles/index.css";
2
-
1
+ /*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
3
2
  .skeleton {
4
- @apply outline-hidden
5
- dark:animate-pulse-dark
6
- pointer-events-none
7
- animate-pulse
8
- cursor-default
9
- select-none
10
- rounded-md
11
- border-none
12
- bg-clip-border
13
- text-transparent
14
- shadow-none;
15
- }
16
-
3
+ pointer-events: none;
4
+ animation: pulse 500ms infinite alternate-reverse;
5
+ cursor: default;
6
+ border-radius: var(--radius-md, 0.375rem);
7
+ --tw-border-style: none;
8
+ border-style: none;
9
+ background-clip: border-box;
10
+ color: transparent;
11
+ --tw-shadow: 0 0 #0000;
12
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
13
+ --tw-outline-style: none;
14
+ outline-style: none;
15
+ @media (forced-colors: active) {
16
+ outline: 2px solid transparent;
17
+ outline-offset: 2px;
18
+ }
19
+ -webkit-user-select: none;
20
+ user-select: none;
21
+ &:where([data-theme=dark], [data-theme=dark] *) {
22
+ animation: pulse-dark 500ms infinite alternate-reverse;
23
+ }
24
+ }
17
25
  .skeleton[data-inline-skeleton] {
18
- @apply leading-none;
26
+ --tw-leading: 1;
27
+ line-height: 1;
19
28
  }
20
-
21
29
  .skeleton:empty {
22
- @apply block
23
- h-3;
30
+ display: block;
31
+ height: calc(var(--spacing, 0.25rem)*3);
24
32
  }
25
-
26
33
  .skeleton > *,
27
34
  .skeleton::after,
28
35
  .skeleton::before {
29
- @apply invisible;
36
+ visibility: hidden;
37
+ }
38
+ @property --tw-shadow {
39
+ syntax: "*";
40
+ inherits: false;
41
+ initial-value: 0 0 #0000;
42
+ }
43
+ @property --tw-shadow-color {
44
+ syntax: "*";
45
+ inherits: false;
46
+ }
47
+ @property --tw-shadow-alpha {
48
+ syntax: "<percentage>";
49
+ inherits: false;
50
+ initial-value: 100%;
51
+ }
52
+ @property --tw-inset-shadow {
53
+ syntax: "*";
54
+ inherits: false;
55
+ initial-value: 0 0 #0000;
56
+ }
57
+ @property --tw-inset-shadow-color {
58
+ syntax: "*";
59
+ inherits: false;
60
+ }
61
+ @property --tw-inset-shadow-alpha {
62
+ syntax: "<percentage>";
63
+ inherits: false;
64
+ initial-value: 100%;
65
+ }
66
+ @property --tw-ring-color {
67
+ syntax: "*";
68
+ inherits: false;
69
+ }
70
+ @property --tw-ring-shadow {
71
+ syntax: "*";
72
+ inherits: false;
73
+ initial-value: 0 0 #0000;
74
+ }
75
+ @property --tw-inset-ring-color {
76
+ syntax: "*";
77
+ inherits: false;
78
+ }
79
+ @property --tw-inset-ring-shadow {
80
+ syntax: "*";
81
+ inherits: false;
82
+ initial-value: 0 0 #0000;
83
+ }
84
+ @property --tw-ring-inset {
85
+ syntax: "*";
86
+ inherits: false;
87
+ }
88
+ @property --tw-ring-offset-width {
89
+ syntax: "<length>";
90
+ inherits: false;
91
+ initial-value: 0px;
92
+ }
93
+ @property --tw-ring-offset-color {
94
+ syntax: "*";
95
+ inherits: false;
96
+ initial-value: #fff;
97
+ }
98
+ @property --tw-ring-offset-shadow {
99
+ syntax: "*";
100
+ inherits: false;
101
+ initial-value: 0 0 #0000;
102
+ }
103
+ @property --tw-leading {
104
+ syntax: "*";
105
+ inherits: false;
106
+ }
107
+ @keyframes pulse {
108
+ 50% {
109
+ opacity: 0.5;
110
+ }
111
+ }
112
+ @keyframes pulse {
113
+ from {
114
+ background: var(--color-pulse-100);
115
+ }
116
+ to {
117
+ background: var(--color-pulse-200);
118
+ }
119
+ }
120
+ @keyframes pulse-dark {
121
+ from {
122
+ background: var(--color-pulse-300);
123
+ }
124
+ to {
125
+ background: var(--color-pulse-400);
126
+ }
30
127
  }
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
3
+ import classNames from 'classnames';
4
+ import styles from './index.module.css';
5
+ const Tabs = ({ tabs, addons, triggerClassName, children, ...props }) => (_jsxs(TabsPrimitive.Root, { ...props, className: classNames(styles.tabsRoot, props.className), children: [_jsxs(TabsPrimitive.List, { className: styles.tabsList, children: [tabs.map(tab => (_jsxs(TabsPrimitive.Trigger, { value: tab.value ?? tab.key, className: classNames(styles.tabsTrigger, triggerClassName), children: [tab.label, tab.secondaryLabel ? (_jsx("span", { className: styles.tabSecondaryLabel, children: tab.secondaryLabel })) : null] }, tab.key))), addons && _jsx("div", { className: styles.addons, children: addons })] }), children] }));
6
+ export default Tabs;