@node-core/ui-components 1.0.1-f948ce8a25da149fc61135f90a43e189c4909f5d → 1.2.0

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 (267) hide show
  1. package/Common/AlertBox/index.js +5 -0
  2. package/Common/AlertBox/index.module.css +2 -76
  3. package/Common/AvatarGroup/Avatar/index.js +12 -0
  4. package/Common/AvatarGroup/Avatar/index.module.css +2 -40
  5. package/Common/AvatarGroup/Overlay/index.js +6 -0
  6. package/Common/AvatarGroup/Overlay/index.module.css +2 -31
  7. package/Common/AvatarGroup/index.js +21 -0
  8. package/Common/AvatarGroup/index.module.css +2 -25
  9. package/Common/Badge/index.js +5 -0
  10. package/Common/Badge/index.module.css +2 -38
  11. package/Common/BadgeGroup/index.js +6 -0
  12. package/Common/BadgeGroup/index.module.css +2 -77
  13. package/Common/Banner/index.js +4 -0
  14. package/Common/Banner/index.module.css +2 -42
  15. package/Common/BaseActiveLink/index.js +14 -0
  16. package/Common/BaseButton/index.js +10 -0
  17. package/Common/BaseButton/index.module.css +2 -142
  18. package/Common/BaseCodeBox/index.js +50 -0
  19. package/Common/BaseCodeBox/index.module.css +2 -84
  20. package/Common/BaseCrossLink/index.js +12 -0
  21. package/Common/BaseCrossLink/index.module.css +2 -51
  22. package/Common/BaseLinkTabs/index.js +5 -0
  23. package/Common/BaseLinkTabs/index.module.css +2 -43
  24. package/Common/BasePagination/Ellipsis/index.js +4 -0
  25. package/Common/BasePagination/Ellipsis/index.module.css +2 -10
  26. package/Common/BasePagination/PaginationListItem/index.js +6 -0
  27. package/Common/BasePagination/PaginationListItem/index.module.css +2 -27
  28. package/Common/BasePagination/PrevNextArrow.js +7 -0
  29. package/Common/BasePagination/index.js +10 -0
  30. package/Common/BasePagination/index.module.css +2 -39
  31. package/Common/BasePagination/useGetPageElements.js +77 -0
  32. package/Common/Blockquote/index.js +4 -0
  33. package/Common/Blockquote/index.module.css +2 -29
  34. package/Common/Breadcrumbs/BreadcrumbHomeLink/index.js +9 -0
  35. package/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +2 -5
  36. package/Common/Breadcrumbs/BreadcrumbItem/index.js +6 -0
  37. package/Common/Breadcrumbs/BreadcrumbItem/index.module.css +2 -41
  38. package/Common/Breadcrumbs/BreadcrumbLink/index.js +5 -0
  39. package/Common/Breadcrumbs/BreadcrumbLink/index.module.css +2 -22
  40. package/Common/Breadcrumbs/BreadcrumbRoot/index.js +4 -0
  41. package/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +2 -9
  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 +2 -0
  46. package/Common/CodeTabs/index.js +5 -0
  47. package/Common/CodeTabs/index.module.css +2 -56
  48. package/Common/DataTag/index.js +18 -0
  49. package/Common/DataTag/index.module.css +2 -0
  50. package/Common/GlowingBackdrop/index.js +5 -0
  51. package/Common/GlowingBackdrop/index.module.css +2 -32
  52. package/Common/LanguageDropDown/index.js +11 -0
  53. package/Common/LanguageDropDown/index.module.css +2 -53
  54. package/Common/Modal/index.js +10 -0
  55. package/Common/Modal/index.module.css +2 -79
  56. package/Common/NodejsLogo/index.js +7 -0
  57. package/Common/NodejsLogo/index.module.css +2 -6
  58. package/Common/Notification/index.js +6 -0
  59. package/Common/Notification/index.module.css +2 -20
  60. package/Common/Preview/index.js +7 -0
  61. package/Common/Preview/index.module.css +2 -79
  62. package/Common/Select/NoScriptSelect/index.js +10 -0
  63. package/Common/Select/StatelessSelect/index.js +31 -0
  64. package/Common/Select/index.js +47 -0
  65. package/Common/Select/index.module.css +2 -161
  66. package/Common/Separator/index.js +7 -0
  67. package/Common/Separator/index.module.css +2 -16
  68. package/Common/Skeleton/index.js +18 -0
  69. package/Common/Skeleton/index.module.css +2 -29
  70. package/Common/Tabs/index.js +6 -0
  71. package/Common/Tabs/index.module.css +2 -53
  72. package/Common/ThemeToggle/index.js +7 -0
  73. package/Common/ThemeToggle/index.module.css +2 -15
  74. package/Common/Tooltip/index.js +8 -0
  75. package/Common/Tooltip/index.module.css +2 -43
  76. package/Containers/Article/index.js +4 -0
  77. package/Containers/Article/index.module.css +2 -70
  78. package/Containers/Footer/index.js +21 -0
  79. package/Containers/Footer/index.module.css +2 -46
  80. package/Containers/MetaBar/index.js +12 -0
  81. package/Containers/MetaBar/index.module.css +2 -84
  82. package/Containers/NavBar/NavItem/index.js +7 -0
  83. package/Containers/NavBar/NavItem/index.module.css +2 -60
  84. package/Containers/NavBar/index.js +18 -0
  85. package/Containers/NavBar/index.module.css +2 -125
  86. package/Containers/Sidebar/ProgressionIcon/index.js +3 -0
  87. package/Containers/Sidebar/SidebarGroup/index.js +9 -0
  88. package/Containers/Sidebar/SidebarGroup/index.module.css +2 -26
  89. package/Containers/Sidebar/SidebarItem/index.js +11 -0
  90. package/Containers/Sidebar/SidebarItem/index.module.css +2 -35
  91. package/Containers/Sidebar/index.js +15 -0
  92. package/Containers/Sidebar/index.module.css +2 -31
  93. package/Icons/HexagonGrid.js +3 -0
  94. package/Icons/InstallationMethod/Choco.js +3 -0
  95. package/Icons/InstallationMethod/Devbox.js +3 -0
  96. package/Icons/InstallationMethod/Docker.js +3 -0
  97. package/Icons/InstallationMethod/FNM.js +3 -0
  98. package/Icons/InstallationMethod/Homebrew.js +3 -0
  99. package/Icons/InstallationMethod/N.js +5 -0
  100. package/Icons/InstallationMethod/NVM.js +3 -0
  101. package/Icons/InstallationMethod/Volta.js +3 -0
  102. package/Icons/InstallationMethod/{index.ts → index.js} +0 -1
  103. package/Icons/Logos/JsWhite.js +3 -0
  104. package/Icons/Logos/Nodejs.js +12 -0
  105. package/Icons/Logos/index.js +3 -0
  106. package/Icons/OperatingSystem/AIX.js +3 -0
  107. package/Icons/OperatingSystem/Apple.js +3 -0
  108. package/Icons/OperatingSystem/Linux.js +3 -0
  109. package/Icons/OperatingSystem/Microsoft.js +3 -0
  110. package/Icons/OperatingSystem/{index.ts → index.js} +0 -1
  111. package/Icons/PackageManager/Npm.js +3 -0
  112. package/Icons/PackageManager/Pnpm.js +3 -0
  113. package/Icons/PackageManager/Yarn.js +3 -0
  114. package/Icons/PackageManager/{index.ts → index.js} +0 -1
  115. package/Icons/Social/Bluesky.js +3 -0
  116. package/Icons/Social/Discord.js +3 -0
  117. package/Icons/Social/GitHub.js +3 -0
  118. package/Icons/Social/LinkedIn.js +3 -0
  119. package/Icons/Social/Mastodon.js +3 -0
  120. package/Icons/Social/Slack.js +3 -0
  121. package/Icons/Social/X.js +3 -0
  122. package/Icons/Social/{index.ts → index.js} +0 -1
  123. package/MDX/CodeTabs.js +29 -0
  124. package/Providers/NotificationProvider/index.js +16 -0
  125. package/Providers/NotificationProvider/index.module.css +2 -0
  126. package/package.json +26 -66
  127. package/stylelint/one-utility-class-per-line.mjs +34 -50
  128. package/stylelint/utils.mjs +19 -25
  129. package/styles/index.css +2 -34
  130. package/types.js +1 -0
  131. package/util/array.js +2 -0
  132. package/Common/AlertBox/index.stories.tsx +0 -73
  133. package/Common/AlertBox/index.tsx +0 -24
  134. package/Common/AvatarGroup/Avatar/index.stories.tsx +0 -22
  135. package/Common/AvatarGroup/Avatar/index.tsx +0 -67
  136. package/Common/AvatarGroup/Overlay/index.stories.tsx +0 -33
  137. package/Common/AvatarGroup/Overlay/index.tsx +0 -37
  138. package/Common/AvatarGroup/__tests__/index.test.jsx +0 -55
  139. package/Common/AvatarGroup/index.stories.tsx +0 -56
  140. package/Common/AvatarGroup/index.tsx +0 -87
  141. package/Common/Badge/index.stories.tsx +0 -38
  142. package/Common/Badge/index.tsx +0 -35
  143. package/Common/BadgeGroup/index.stories.tsx +0 -35
  144. package/Common/BadgeGroup/index.tsx +0 -35
  145. package/Common/Banner/index.stories.tsx +0 -29
  146. package/Common/Banner/index.tsx +0 -18
  147. package/Common/BaseActiveLink/__tests__/index.test.jsx +0 -52
  148. package/Common/BaseActiveLink/index.tsx +0 -34
  149. package/Common/BaseButton/index.stories.tsx +0 -67
  150. package/Common/BaseButton/index.tsx +0 -59
  151. package/Common/BaseCodeBox/index.stories.tsx +0 -39
  152. package/Common/BaseCodeBox/index.tsx +0 -133
  153. package/Common/BaseCrossLink/index.stories.tsx +0 -38
  154. package/Common/BaseCrossLink/index.tsx +0 -46
  155. package/Common/BaseLinkTabs/index.stories.tsx +0 -34
  156. package/Common/BaseLinkTabs/index.tsx +0 -53
  157. package/Common/BasePagination/Ellipsis/index.stories.tsx +0 -10
  158. package/Common/BasePagination/Ellipsis/index.tsx +0 -11
  159. package/Common/BasePagination/PaginationListItem/__tests__/index.test.jsx +0 -58
  160. package/Common/BasePagination/PaginationListItem/index.stories.tsx +0 -40
  161. package/Common/BasePagination/PaginationListItem/index.tsx +0 -39
  162. package/Common/BasePagination/PrevNextArrow.tsx +0 -15
  163. package/Common/BasePagination/__tests__/index.test.jsx +0 -180
  164. package/Common/BasePagination/index.stories.tsx +0 -67
  165. package/Common/BasePagination/index.tsx +0 -77
  166. package/Common/BasePagination/useGetPageElements.tsx +0 -132
  167. package/Common/Blockquote/index.stories.tsx +0 -45
  168. package/Common/Blockquote/index.tsx +0 -11
  169. package/Common/Breadcrumbs/BreadcrumbHomeLink/index.tsx +0 -30
  170. package/Common/Breadcrumbs/BreadcrumbItem/index.tsx +0 -42
  171. package/Common/Breadcrumbs/BreadcrumbLink/index.tsx +0 -37
  172. package/Common/Breadcrumbs/BreadcrumbRoot/index.tsx +0 -20
  173. package/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.tsx +0 -9
  174. package/Common/Breadcrumbs/index.stories.tsx +0 -94
  175. package/Common/Breadcrumbs/index.tsx +0 -81
  176. package/Common/CodeTabs/index.stories.tsx +0 -74
  177. package/Common/CodeTabs/index.tsx +0 -16
  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 -32
  183. package/Common/Modal/index.tsx +0 -48
  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/ProgressionSidebar/ProgressionSidebarGroup/index.module.css +0 -47
  191. package/Common/ProgressionSidebar/ProgressionSidebarGroup/index.tsx +0 -35
  192. package/Common/ProgressionSidebar/ProgressionSidebarIcon/index.tsx +0 -16
  193. package/Common/ProgressionSidebar/ProgressionSidebarItem/index.module.css +0 -39
  194. package/Common/ProgressionSidebar/ProgressionSidebarItem/index.tsx +0 -32
  195. package/Common/ProgressionSidebar/index.module.css +0 -30
  196. package/Common/ProgressionSidebar/index.stories.tsx +0 -79
  197. package/Common/ProgressionSidebar/index.tsx +0 -59
  198. package/Common/Select/__tests__/index.test.jsx +0 -67
  199. package/Common/Select/index.stories.tsx +0 -111
  200. package/Common/Select/index.tsx +0 -187
  201. package/Common/Separator/index.stories.tsx +0 -32
  202. package/Common/Separator/index.tsx +0 -27
  203. package/Common/Skeleton/index.tsx +0 -39
  204. package/Common/Tabs/__tests__/index.test.jsx +0 -52
  205. package/Common/Tabs/index.stories.tsx +0 -50
  206. package/Common/Tabs/index.tsx +0 -54
  207. package/Common/ThemeToggle/__tests__/index.test.jsx +0 -35
  208. package/Common/ThemeToggle/index.stories.tsx +0 -10
  209. package/Common/ThemeToggle/index.tsx +0 -15
  210. package/Common/Tooltip/index.stories.tsx +0 -73
  211. package/Common/Tooltip/index.tsx +0 -48
  212. package/Containers/Article/index.stories.tsx +0 -39
  213. package/Containers/Article/index.tsx +0 -9
  214. package/Containers/Footer/index.stories.tsx +0 -27
  215. package/Containers/Footer/index.tsx +0 -95
  216. package/Containers/MetaBar/__tests__/index.test.jsx +0 -63
  217. package/Containers/MetaBar/index.stories.tsx +0 -80
  218. package/Containers/MetaBar/index.tsx +0 -72
  219. package/Containers/NavBar/NavItem/index.stories.tsx +0 -38
  220. package/Containers/NavBar/NavItem/index.tsx +0 -44
  221. package/Containers/NavBar/index.stories.tsx +0 -45
  222. package/Containers/NavBar/index.tsx +0 -94
  223. package/Containers/Sidebar/SidebarGroup/index.stories.tsx +0 -36
  224. package/Containers/Sidebar/SidebarGroup/index.tsx +0 -30
  225. package/Containers/Sidebar/SidebarItem/index.stories.tsx +0 -15
  226. package/Containers/Sidebar/SidebarItem/index.tsx +0 -26
  227. package/Containers/Sidebar/index.stories.tsx +0 -84
  228. package/Containers/Sidebar/index.tsx +0 -58
  229. package/Icons/HexagonGrid.stories.tsx +0 -10
  230. package/Icons/HexagonGrid.tsx +0 -1434
  231. package/Icons/InstallationMethod/Choco.tsx +0 -78
  232. package/Icons/InstallationMethod/Devbox.tsx +0 -21
  233. package/Icons/InstallationMethod/Docker.tsx +0 -20
  234. package/Icons/InstallationMethod/FNM.tsx +0 -132
  235. package/Icons/InstallationMethod/Homebrew.tsx +0 -69
  236. package/Icons/InstallationMethod/N.tsx +0 -32
  237. package/Icons/InstallationMethod/NVM.tsx +0 -63
  238. package/Icons/InstallationMethod/Volta.tsx +0 -34
  239. package/Icons/Logos/JsGreen.tsx +0 -24
  240. package/Icons/Logos/JsWhite.tsx +0 -37
  241. package/Icons/Logos/Nodejs.tsx +0 -188
  242. package/Icons/Logos/NodejsStackedBlack.tsx +0 -98
  243. package/Icons/Logos/NodejsStackedDark.tsx +0 -124
  244. package/Icons/Logos/NodejsStackedLight.tsx +0 -123
  245. package/Icons/Logos/NodejsStackedWhite.tsx +0 -98
  246. package/Icons/Logos/index.ts +0 -17
  247. package/Icons/OperatingSystem/AIX.tsx +0 -46
  248. package/Icons/OperatingSystem/Apple.tsx +0 -23
  249. package/Icons/OperatingSystem/Linux.tsx +0 -969
  250. package/Icons/OperatingSystem/Microsoft.tsx +0 -19
  251. package/Icons/PackageManager/Npm.tsx +0 -21
  252. package/Icons/PackageManager/Pnpm.tsx +0 -22
  253. package/Icons/PackageManager/Yarn.tsx +0 -22
  254. package/Icons/Social/Bluesky.tsx +0 -19
  255. package/Icons/Social/Discord.tsx +0 -20
  256. package/Icons/Social/GitHub.tsx +0 -16
  257. package/Icons/Social/LinkedIn.tsx +0 -16
  258. package/Icons/Social/Mastodon.tsx +0 -36
  259. package/Icons/Social/Slack.tsx +0 -31
  260. package/Icons/Social/X.tsx +0 -16
  261. package/stylelint/__tests__/index.test.mjs +0 -80
  262. package/styles/animations.css +0 -47
  263. package/styles/base.css +0 -17
  264. package/styles/effects.css +0 -12
  265. package/styles/markdown.css +0 -173
  266. package/styles/theme.css +0 -175
  267. package/types.ts +0 -25
@@ -1,17 +0,0 @@
1
- import JsGreen from '#ui/Icons/Logos/JsGreen';
2
- import JsWhite from '#ui/Icons/Logos/JsWhite';
3
- import Nodejs from '#ui/Icons/Logos/Nodejs';
4
- import NodejsStackedBlack from '#ui/Icons/Logos/NodejsStackedBlack';
5
- import NodejsStackedDark from '#ui/Icons/Logos/NodejsStackedDark';
6
- import NodejsStackedLight from '#ui/Icons/Logos/NodejsStackedLight';
7
- import NodejsStackedWhite from '#ui/Icons/Logos/NodejsStackedWhite';
8
-
9
- export {
10
- JsGreen,
11
- JsWhite,
12
- Nodejs,
13
- NodejsStackedBlack,
14
- NodejsStackedDark,
15
- NodejsStackedLight,
16
- NodejsStackedWhite,
17
- };
@@ -1,46 +0,0 @@
1
- import type { FC, SVGProps } from 'react';
2
-
3
- const AIX: FC<SVGProps<SVGSVGElement>> = props => (
4
- <svg
5
- width={32}
6
- height={32}
7
- viewBox="0 0 1341.9 1341.9"
8
- xmlns="http://www.w3.org/2000/svg"
9
- {...props}
10
- >
11
- <g>
12
- <path
13
- transform="matrix(133.33 0 0 -133.33 1266.2 670.93)"
14
- d="m0 0c0-2.466-1.998-4.465-4.465-4.465-2.465 0-4.466 1.999-4.466 4.465 0 2.467 2.001 4.465 4.466 4.465 2.467 0 4.465-1.998 4.465-4.465"
15
- fill="#80cc28"
16
- />
17
- <path
18
- transform="matrix(133.33 0 0 -133.33 1328.1 670.93)"
19
- d="m0 0h-0.103c0-1.333-0.54-2.539-1.413-3.413-0.874-0.873-2.08-1.413-3.412-1.413-1.335 0-2.539 0.54-3.414 1.413-0.874 0.874-1.414 2.08-1.414 3.413s0.54 2.539 1.414 3.413c0.875 0.873 2.079 1.413 3.414 1.413 1.332 0 2.538-0.54 3.412-1.413 0.873-0.874 1.413-2.08 1.413-3.413h0.206c0 2.779-2.253 5.032-5.031 5.032-2.78 0-5.033-2.253-5.033-5.032s2.253-5.032 5.033-5.032c2.778 0 5.031 2.253 5.031 5.032h-0.103"
20
- fill="#4d7ec9"
21
- />
22
- <path
23
- transform="matrix(133.33 0 0 -133.33 389.19 556.69)"
24
- d="m0 0-5e-3 -0.016-0.347-0.904h0.7zm0.776-2.024-0.267 0.681h-1.035l-0.265-0.678-0.526-3e-3 1.11 2.677h0.465l1.066-2.677z"
25
- fill="#fff"
26
- />
27
- <path
28
- transform="matrix(133.33 0 0 -133.33 -63646 63635)"
29
- d="m481.83 473.74h0.49v-2.679h-0.49z"
30
- fill="#fff"
31
- />
32
- <path
33
- transform="matrix(133.33 0 0 -133.33 974.08 826.65)"
34
- d="m0 0-0.721 1.014-0.76-1.014h-0.603l1.061 1.383-0.987 1.296h0.608l0.696-0.936 0.693 0.936h0.592l-0.983-1.3 1.015-1.379z"
35
- fill="#fff"
36
- />
37
- <path
38
- transform="matrix(133.33 0 0 -133.33 1120.2 787.65)"
39
- d="m0 0c0.037 0 0.07 2e-3 0.07 0.047 0 0.035-0.031 0.042-0.062 0.042h-0.059v-0.089zm-0.051-0.162h-0.045v0.288h0.11c0.068 0 0.102-0.025 0.102-0.082 0-0.052-0.033-0.074-0.074-0.079l0.082-0.127h-0.049l-0.077 0.125h-0.049zm0.052-0.064c0.114 0 0.202 0.088 0.202 0.209 0 0.118-0.088 0.207-0.202 0.207s-0.204-0.089-0.204-0.207c0-0.121 0.09-0.209 0.204-0.209m-0.253 0.209c0 0.143 0.116 0.249 0.253 0.249s0.253-0.106 0.253-0.249c0-0.145-0.116-0.251-0.253-0.251s-0.253 0.106-0.253 0.251"
40
- fill="#fff"
41
- />
42
- </g>
43
- </svg>
44
- );
45
-
46
- export default AIX;
@@ -1,23 +0,0 @@
1
- import type { FC, SVGProps } from 'react';
2
-
3
- const Apple: FC<SVGProps<SVGSVGElement>> = props => (
4
- <svg
5
- width="32"
6
- height="32"
7
- viewBox="0 0 32 32"
8
- fill="none"
9
- xmlns="http://www.w3.org/2000/svg"
10
- {...props}
11
- >
12
- <path
13
- d="M30 16c0 7.728-6.265 14-14 14S2 23.728 2 16C2 8.265 8.265 2 16 2s14 6.265 14 14Z"
14
- fill="#283544"
15
- />
16
- <path
17
- d="M22.562 12.457c-.076.045-1.895.986-1.895 3.07.086 2.38 2.295 3.213 2.333 3.213-.038.045-.334 1.136-1.21 2.28-.694.986-1.466 1.98-2.637 1.98-1.114 0-1.514-.657-2.8-.657-1.381 0-1.772.657-2.829.657-1.171 0-2-1.047-2.733-2.023-.952-1.278-1.761-3.284-1.79-5.21-.02-1.02.19-2.023.724-2.875.752-1.19 2.095-1.997 3.561-2.023 1.124-.036 2.124.719 2.81.719.657 0 1.885-.72 3.275-.72.6.001 2.2.17 3.191 1.59Zm-6.561-1.792c-.2-.932.352-1.864.866-2.458.657-.72 1.695-1.207 2.59-1.207a3.334 3.334 0 0 1-.952 2.511c-.58.72-1.58 1.26-2.504 1.154Z"
18
- fill="#fff"
19
- />
20
- </svg>
21
- );
22
-
23
- export default Apple;