@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.
- package/Common/AlertBox/index.js +5 -0
- package/Common/AlertBox/index.module.css +44 -50
- package/Common/AvatarGroup/Avatar/index.js +11 -0
- package/Common/AvatarGroup/Avatar/index.module.css +50 -30
- package/Common/AvatarGroup/Overlay/index.js +6 -0
- package/Common/AvatarGroup/Overlay/index.module.css +28 -21
- package/Common/AvatarGroup/index.js +21 -0
- package/Common/AvatarGroup/index.module.css +12 -11
- package/Common/Badge/index.js +7 -0
- package/Common/Badge/index.module.css +34 -26
- package/Common/BadgeGroup/index.js +6 -0
- package/Common/BadgeGroup/index.module.css +75 -51
- package/Common/Banner/index.js +4 -0
- package/Common/Banner/index.module.css +30 -27
- package/Common/BaseActiveLink/index.js +14 -0
- package/Common/BaseButton/index.js +10 -0
- package/Common/BaseButton/index.module.css +332 -105
- package/Common/BaseCodeBox/index.js +50 -0
- package/Common/BaseCodeBox/index.module.css +76 -58
- package/Common/BaseCrossLink/index.js +12 -0
- package/Common/BaseCrossLink/index.module.css +57 -39
- package/Common/BaseLinkTabs/index.js +5 -0
- package/Common/BaseLinkTabs/index.module.css +67 -33
- package/Common/BasePagination/Ellipsis/index.js +4 -0
- package/Common/BasePagination/Ellipsis/index.module.css +14 -8
- package/Common/BasePagination/PaginationListItem/index.js +6 -0
- package/Common/BasePagination/PaginationListItem/index.module.css +36 -21
- package/Common/BasePagination/PrevNextArrow.js +7 -0
- package/Common/BasePagination/index.js +10 -0
- package/Common/BasePagination/index.module.css +27 -26
- package/Common/BasePagination/useGetPageElements.js +77 -0
- package/Common/Blockquote/index.js +4 -0
- package/Common/Blockquote/index.module.css +44 -23
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.js +9 -0
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +3 -3
- package/Common/Breadcrumbs/BreadcrumbItem/index.js +6 -0
- package/Common/Breadcrumbs/BreadcrumbItem/index.module.css +38 -27
- package/Common/Breadcrumbs/BreadcrumbLink/index.js +5 -0
- package/Common/Breadcrumbs/BreadcrumbLink/index.module.css +26 -16
- package/Common/Breadcrumbs/BreadcrumbRoot/index.js +4 -0
- package/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +8 -7
- package/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.js +4 -0
- package/Common/Breadcrumbs/index.js +22 -0
- package/Common/ChangeHistory/index.js +9 -0
- package/Common/ChangeHistory/index.module.css +181 -66
- package/Common/CodeTabs/index.js +5 -0
- package/Common/CodeTabs/index.module.css +47 -36
- package/Common/DataTag/index.js +18 -0
- package/Common/DataTag/index.module.css +30 -32
- package/Common/GlowingBackdrop/index.js +5 -0
- package/Common/GlowingBackdrop/index.module.css +126 -28
- package/Common/LanguageDropDown/index.js +11 -0
- package/Common/LanguageDropDown/index.module.css +140 -42
- package/Common/Modal/index.js +10 -0
- package/Common/Modal/index.module.css +217 -62
- package/Common/NodejsLogo/index.js +7 -0
- package/Common/NodejsLogo/index.module.css +3 -4
- package/Common/Notification/index.js +6 -0
- package/Common/Notification/index.module.css +101 -17
- package/Common/Preview/index.js +7 -0
- package/Common/Preview/index.module.css +269 -65
- package/Common/Select/index.js +46 -0
- package/Common/Select/index.module.css +294 -127
- package/Common/Separator/index.js +7 -0
- package/Common/Separator/index.module.css +7 -10
- package/Common/Skeleton/index.js +18 -0
- package/Common/Skeleton/index.module.css +118 -21
- package/Common/Tabs/index.js +6 -0
- package/Common/Tabs/index.module.css +58 -40
- package/Common/ThemeToggle/index.js +7 -0
- package/Common/ThemeToggle/index.module.css +18 -11
- package/Common/Tooltip/index.js +8 -0
- package/Common/Tooltip/index.module.css +119 -29
- package/Containers/Article/index.js +4 -0
- package/Containers/Article/index.module.css +127 -58
- package/Containers/DocSideBar/index.js +1 -0
- package/Containers/Footer/index.js +22 -0
- package/Containers/Footer/index.module.css +51 -36
- package/Containers/MetaBar/index.js +12 -0
- package/Containers/MetaBar/index.module.css +101 -69
- package/Containers/NavBar/NavItem/index.js +7 -0
- package/Containers/NavBar/NavItem/index.module.css +50 -36
- package/Containers/NavBar/index.js +18 -0
- package/Containers/NavBar/index.module.css +176 -96
- package/Containers/Sidebar/ProgressionIcon/index.js +3 -0
- package/Containers/Sidebar/SidebarGroup/index.js +9 -0
- package/Containers/Sidebar/SidebarGroup/index.module.css +180 -52
- package/Containers/Sidebar/SidebarItem/index.js +11 -0
- package/Containers/Sidebar/SidebarItem/index.module.css +49 -38
- package/Containers/Sidebar/index.js +15 -0
- package/Containers/Sidebar/index.module.css +42 -24
- package/Icons/HexagonGrid.js +3 -0
- package/Icons/InstallationMethod/Choco.js +3 -0
- package/Icons/InstallationMethod/Devbox.js +3 -0
- package/Icons/InstallationMethod/Docker.js +3 -0
- package/Icons/InstallationMethod/FNM.js +3 -0
- package/Icons/InstallationMethod/Homebrew.js +3 -0
- package/Icons/InstallationMethod/N.js +5 -0
- package/Icons/InstallationMethod/NVM.js +3 -0
- package/Icons/InstallationMethod/Volta.js +3 -0
- package/Icons/InstallationMethod/{index.ts → index.js} +0 -1
- package/Icons/Logos/JsWhite.js +3 -0
- package/Icons/Logos/Nodejs.js +12 -0
- package/Icons/Logos/index.js +3 -0
- package/Icons/OperatingSystem/AIX.js +3 -0
- package/Icons/OperatingSystem/Apple.js +3 -0
- package/Icons/OperatingSystem/Linux.js +3 -0
- package/Icons/OperatingSystem/Microsoft.js +3 -0
- package/Icons/OperatingSystem/{index.ts → index.js} +0 -1
- package/Icons/PackageManager/Npm.js +3 -0
- package/Icons/PackageManager/Pnpm.js +3 -0
- package/Icons/PackageManager/Yarn.js +3 -0
- package/Icons/PackageManager/{index.ts → index.js} +0 -1
- package/Icons/Social/Bluesky.js +3 -0
- package/Icons/Social/Discord.js +3 -0
- package/Icons/Social/GitHub.js +3 -0
- package/Icons/Social/LinkedIn.js +3 -0
- package/Icons/Social/Mastodon.js +3 -0
- package/Icons/Social/Slack.js +3 -0
- package/Icons/Social/X.js +3 -0
- package/Icons/Social/{index.ts → index.js} +0 -1
- package/MDX/CodeTabs.js +16 -0
- package/package.json +6 -54
- package/stylelint/one-utility-class-per-line.mjs +34 -50
- package/stylelint/utils.mjs +19 -25
- package/styles/index.css +1124 -26
- package/types.js +1 -0
- package/Common/AlertBox/index.stories.tsx +0 -96
- package/Common/AlertBox/index.tsx +0 -24
- package/Common/AvatarGroup/Avatar/index.stories.tsx +0 -22
- package/Common/AvatarGroup/Avatar/index.tsx +0 -67
- package/Common/AvatarGroup/Overlay/index.stories.tsx +0 -33
- package/Common/AvatarGroup/Overlay/index.tsx +0 -37
- package/Common/AvatarGroup/__tests__/index.test.jsx +0 -55
- package/Common/AvatarGroup/index.stories.tsx +0 -56
- package/Common/AvatarGroup/index.tsx +0 -83
- package/Common/Badge/index.stories.tsx +0 -38
- package/Common/Badge/index.tsx +0 -35
- package/Common/BadgeGroup/index.stories.tsx +0 -35
- package/Common/BadgeGroup/index.tsx +0 -35
- package/Common/Banner/index.stories.tsx +0 -29
- package/Common/Banner/index.tsx +0 -18
- package/Common/BaseActiveLink/__tests__/index.test.jsx +0 -52
- package/Common/BaseActiveLink/index.tsx +0 -34
- package/Common/BaseButton/index.stories.tsx +0 -67
- package/Common/BaseButton/index.tsx +0 -59
- package/Common/BaseCodeBox/index.stories.tsx +0 -39
- package/Common/BaseCodeBox/index.tsx +0 -122
- package/Common/BaseCrossLink/index.stories.tsx +0 -38
- package/Common/BaseCrossLink/index.tsx +0 -46
- package/Common/BaseLinkTabs/index.stories.tsx +0 -34
- package/Common/BaseLinkTabs/index.tsx +0 -53
- package/Common/BasePagination/Ellipsis/index.stories.tsx +0 -10
- package/Common/BasePagination/Ellipsis/index.tsx +0 -11
- package/Common/BasePagination/PaginationListItem/__tests__/index.test.jsx +0 -58
- package/Common/BasePagination/PaginationListItem/index.stories.tsx +0 -40
- package/Common/BasePagination/PaginationListItem/index.tsx +0 -39
- package/Common/BasePagination/PrevNextArrow.tsx +0 -15
- package/Common/BasePagination/__tests__/index.test.jsx +0 -180
- package/Common/BasePagination/index.stories.tsx +0 -67
- package/Common/BasePagination/index.tsx +0 -77
- package/Common/BasePagination/useGetPageElements.tsx +0 -132
- package/Common/Blockquote/index.stories.tsx +0 -45
- package/Common/Blockquote/index.tsx +0 -11
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.tsx +0 -30
- package/Common/Breadcrumbs/BreadcrumbItem/index.tsx +0 -42
- package/Common/Breadcrumbs/BreadcrumbLink/index.tsx +0 -37
- package/Common/Breadcrumbs/BreadcrumbRoot/index.tsx +0 -20
- package/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.tsx +0 -9
- package/Common/Breadcrumbs/index.stories.tsx +0 -94
- package/Common/Breadcrumbs/index.tsx +0 -81
- package/Common/ChangeHistory/index.stories.tsx +0 -130
- package/Common/ChangeHistory/index.tsx +0 -67
- package/Common/CodeTabs/index.stories.tsx +0 -73
- package/Common/CodeTabs/index.tsx +0 -16
- package/Common/DataTag/index.stories.tsx +0 -40
- package/Common/DataTag/index.tsx +0 -39
- package/Common/GlowingBackdrop/index.stories.tsx +0 -10
- package/Common/GlowingBackdrop/index.tsx +0 -13
- package/Common/LanguageDropDown/index.stories.tsx +0 -19
- package/Common/LanguageDropDown/index.tsx +0 -56
- package/Common/Modal/index.stories.tsx +0 -34
- package/Common/Modal/index.tsx +0 -50
- package/Common/NodejsLogo/index.stories.tsx +0 -14
- package/Common/NodejsLogo/index.tsx +0 -26
- package/Common/Notification/index.stories.tsx +0 -36
- package/Common/Notification/index.tsx +0 -34
- package/Common/Preview/index.stories.tsx +0 -44
- package/Common/Preview/index.tsx +0 -25
- package/Common/Select/__tests__/index.test.jsx +0 -67
- package/Common/Select/index.stories.tsx +0 -111
- package/Common/Select/index.tsx +0 -187
- package/Common/Separator/index.stories.tsx +0 -32
- package/Common/Separator/index.tsx +0 -27
- package/Common/Skeleton/index.tsx +0 -39
- package/Common/Tabs/__tests__/index.test.jsx +0 -52
- package/Common/Tabs/index.stories.tsx +0 -50
- package/Common/Tabs/index.tsx +0 -54
- package/Common/ThemeToggle/__tests__/index.test.jsx +0 -35
- package/Common/ThemeToggle/index.stories.tsx +0 -10
- package/Common/ThemeToggle/index.tsx +0 -15
- package/Common/Tooltip/index.stories.tsx +0 -73
- package/Common/Tooltip/index.tsx +0 -48
- package/Containers/Article/index.stories.tsx +0 -39
- package/Containers/Article/index.tsx +0 -9
- package/Containers/DocSideBar/index.tsx +0 -0
- package/Containers/Footer/index.stories.tsx +0 -27
- package/Containers/Footer/index.tsx +0 -95
- package/Containers/MetaBar/__tests__/index.test.jsx +0 -63
- package/Containers/MetaBar/index.stories.tsx +0 -80
- package/Containers/MetaBar/index.tsx +0 -72
- package/Containers/NavBar/NavItem/index.stories.tsx +0 -38
- package/Containers/NavBar/NavItem/index.tsx +0 -44
- package/Containers/NavBar/index.stories.tsx +0 -45
- package/Containers/NavBar/index.tsx +0 -94
- package/Containers/Sidebar/ProgressionIcon/index.tsx +0 -16
- package/Containers/Sidebar/SidebarGroup/index.stories.tsx +0 -36
- package/Containers/Sidebar/SidebarGroup/index.tsx +0 -49
- package/Containers/Sidebar/SidebarItem/index.stories.tsx +0 -15
- package/Containers/Sidebar/SidebarItem/index.tsx +0 -43
- package/Containers/Sidebar/index.stories.tsx +0 -88
- package/Containers/Sidebar/index.tsx +0 -70
- package/Icons/HexagonGrid.stories.tsx +0 -10
- package/Icons/HexagonGrid.tsx +0 -1434
- package/Icons/InstallationMethod/Choco.tsx +0 -78
- package/Icons/InstallationMethod/Devbox.tsx +0 -21
- package/Icons/InstallationMethod/Docker.tsx +0 -20
- package/Icons/InstallationMethod/FNM.tsx +0 -132
- package/Icons/InstallationMethod/Homebrew.tsx +0 -69
- package/Icons/InstallationMethod/N.tsx +0 -32
- package/Icons/InstallationMethod/NVM.tsx +0 -63
- package/Icons/InstallationMethod/Volta.tsx +0 -34
- package/Icons/Logos/JsGreen.tsx +0 -24
- package/Icons/Logos/JsWhite.tsx +0 -37
- package/Icons/Logos/Nodejs.tsx +0 -372
- package/Icons/Logos/NodejsStackedBlack.tsx +0 -98
- package/Icons/Logos/NodejsStackedDark.tsx +0 -124
- package/Icons/Logos/NodejsStackedLight.tsx +0 -123
- package/Icons/Logos/NodejsStackedWhite.tsx +0 -98
- package/Icons/Logos/index.ts +0 -17
- package/Icons/OperatingSystem/AIX.tsx +0 -46
- package/Icons/OperatingSystem/Apple.tsx +0 -23
- package/Icons/OperatingSystem/Linux.tsx +0 -969
- package/Icons/OperatingSystem/Microsoft.tsx +0 -19
- package/Icons/PackageManager/Npm.tsx +0 -21
- package/Icons/PackageManager/Pnpm.tsx +0 -22
- package/Icons/PackageManager/Yarn.tsx +0 -22
- package/Icons/Social/Bluesky.tsx +0 -19
- package/Icons/Social/Discord.tsx +0 -20
- package/Icons/Social/GitHub.tsx +0 -16
- package/Icons/Social/LinkedIn.tsx +0 -16
- package/Icons/Social/Mastodon.tsx +0 -36
- package/Icons/Social/Slack.tsx +0 -31
- package/Icons/Social/X.tsx +0 -16
- package/MDX/CodeTabs.tsx +0 -47
- package/stylelint/__tests__/index.test.mjs +0 -80
- package/styles/animations.css +0 -47
- package/styles/base.css +0 -17
- package/styles/effects.css +0 -12
- package/styles/markdown.css +0 -173
- package/styles/theme.css +0 -175
- package/types.ts +0 -25
|
@@ -1,79 +1,234 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
3
2
|
.overlay {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
position: fixed;
|
|
4
|
+
inset: calc(var(--spacing, 0.25rem)*0);
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
background-color: color-mix(in srgb, #fff 40%, transparent);
|
|
8
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9
|
+
background-color: color-mix(in oklab, var(--color-white, #fff) 40%, transparent);
|
|
10
|
+
}
|
|
11
|
+
--tw-backdrop-blur: blur(2px);
|
|
12
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
13
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
14
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
15
|
+
background-color: color-mix(in srgb, #0d121c 40%, transparent);
|
|
16
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
17
|
+
background-color: color-mix(in oklab, var(--color-neutral-950, #0d121c) 40%, transparent);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
12
20
|
.content {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
position: relative;
|
|
22
|
+
margin: calc(var(--spacing, 0.25rem)*4);
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
width: 100%;
|
|
25
|
+
max-width: var(--container-3xl, 48rem);
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: calc(var(--spacing, 0.25rem)*2);
|
|
28
|
+
overflow-y: auto;
|
|
29
|
+
border-radius: 0.25rem;
|
|
30
|
+
border-style: var(--tw-border-style);
|
|
31
|
+
border-width: 1px;
|
|
32
|
+
border-color: var(--color-neutral-200, #e9edf0);
|
|
33
|
+
background-color: var(--color-white, #fff);
|
|
34
|
+
padding: calc(var(--spacing, 0.25rem)*8);
|
|
35
|
+
&:focus {
|
|
36
|
+
--tw-outline-style: none;
|
|
37
|
+
outline-style: none;
|
|
38
|
+
}
|
|
39
|
+
@media (width >= 670px) {
|
|
40
|
+
padding: calc(var(--spacing, 0.25rem)*6);
|
|
41
|
+
}
|
|
42
|
+
@media (width >= 40rem) {
|
|
43
|
+
margin-block: calc(var(--spacing, 0.25rem)*20);
|
|
44
|
+
}
|
|
45
|
+
@media (width >= 80rem) {
|
|
46
|
+
padding: calc(var(--spacing, 0.25rem)*12);
|
|
47
|
+
}
|
|
48
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
49
|
+
background-color: var(--color-neutral-950, #0d121c);
|
|
50
|
+
}
|
|
31
51
|
}
|
|
32
|
-
|
|
33
52
|
.close {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: calc(var(--spacing, 0.25rem)*3);
|
|
55
|
+
right: calc(var(--spacing, 0.25rem)*3);
|
|
56
|
+
display: block;
|
|
57
|
+
width: calc(var(--spacing, 0.25rem)*7);
|
|
58
|
+
height: calc(var(--spacing, 0.25rem)*7);
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
61
|
+
padding: calc(var(--spacing, 0.25rem)*1);
|
|
62
|
+
&:hover {
|
|
63
|
+
@media (hover: hover) {
|
|
64
|
+
background-color: var(--color-neutral-100, #f6f7f9);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
&:focus {
|
|
68
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
69
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
70
|
+
}
|
|
71
|
+
&:focus {
|
|
72
|
+
--tw-ring-color: var(--color-neutral-200, #e9edf0);
|
|
73
|
+
}
|
|
74
|
+
&:focus {
|
|
75
|
+
--tw-outline-style: none;
|
|
76
|
+
outline-style: none;
|
|
77
|
+
}
|
|
78
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
79
|
+
&:hover {
|
|
80
|
+
@media (hover: hover) {
|
|
81
|
+
background-color: var(--color-neutral-900, #2c3437);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
86
|
+
&:focus {
|
|
87
|
+
--tw-ring-color: var(--color-neutral-900, #2c3437);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
48
90
|
}
|
|
49
|
-
|
|
50
91
|
.title {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
92
|
+
font-size: var(--text-3xl, 1.875rem);
|
|
93
|
+
line-height: var(--tw-leading, var(--text-3xl--line-height, 1.2));
|
|
94
|
+
--tw-font-weight: var(--font-weight-semibold, 600);
|
|
95
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
96
|
+
color: var(--color-neutral-900, #2c3437);
|
|
97
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
98
|
+
color: var(--color-white, #fff);
|
|
99
|
+
}
|
|
55
100
|
}
|
|
56
|
-
|
|
57
101
|
.description {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
102
|
+
margin-bottom: calc(var(--spacing, 0.25rem)*2);
|
|
103
|
+
font-size: var(--text-lg, 1.125rem);
|
|
104
|
+
line-height: var(--tw-leading, var(--text-lg--line-height, 1.55556));
|
|
105
|
+
--tw-font-weight: var(--font-weight-regular, 400);
|
|
106
|
+
font-weight: var(--font-weight-regular, 400);
|
|
107
|
+
color: var(--color-neutral-800, #556066);
|
|
108
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
109
|
+
color: var(--color-neutral-200, #e9edf0);
|
|
110
|
+
}
|
|
63
111
|
}
|
|
64
|
-
|
|
65
112
|
.wrapper {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
gap: calc(var(--spacing, 0.25rem)*4);
|
|
70
116
|
pre {
|
|
71
|
-
|
|
117
|
+
overflow: auto;
|
|
72
118
|
}
|
|
73
|
-
|
|
74
119
|
code,
|
|
75
120
|
a {
|
|
76
|
-
|
|
121
|
+
overflow-wrap: break-word;
|
|
77
122
|
}
|
|
78
123
|
}
|
|
79
124
|
}
|
|
125
|
+
@property --tw-backdrop-blur {
|
|
126
|
+
syntax: "*";
|
|
127
|
+
inherits: false;
|
|
128
|
+
}
|
|
129
|
+
@property --tw-backdrop-brightness {
|
|
130
|
+
syntax: "*";
|
|
131
|
+
inherits: false;
|
|
132
|
+
}
|
|
133
|
+
@property --tw-backdrop-contrast {
|
|
134
|
+
syntax: "*";
|
|
135
|
+
inherits: false;
|
|
136
|
+
}
|
|
137
|
+
@property --tw-backdrop-grayscale {
|
|
138
|
+
syntax: "*";
|
|
139
|
+
inherits: false;
|
|
140
|
+
}
|
|
141
|
+
@property --tw-backdrop-hue-rotate {
|
|
142
|
+
syntax: "*";
|
|
143
|
+
inherits: false;
|
|
144
|
+
}
|
|
145
|
+
@property --tw-backdrop-invert {
|
|
146
|
+
syntax: "*";
|
|
147
|
+
inherits: false;
|
|
148
|
+
}
|
|
149
|
+
@property --tw-backdrop-opacity {
|
|
150
|
+
syntax: "*";
|
|
151
|
+
inherits: false;
|
|
152
|
+
}
|
|
153
|
+
@property --tw-backdrop-saturate {
|
|
154
|
+
syntax: "*";
|
|
155
|
+
inherits: false;
|
|
156
|
+
}
|
|
157
|
+
@property --tw-backdrop-sepia {
|
|
158
|
+
syntax: "*";
|
|
159
|
+
inherits: false;
|
|
160
|
+
}
|
|
161
|
+
@property --tw-border-style {
|
|
162
|
+
syntax: "*";
|
|
163
|
+
inherits: false;
|
|
164
|
+
initial-value: solid;
|
|
165
|
+
}
|
|
166
|
+
@property --tw-shadow {
|
|
167
|
+
syntax: "*";
|
|
168
|
+
inherits: false;
|
|
169
|
+
initial-value: 0 0 #0000;
|
|
170
|
+
}
|
|
171
|
+
@property --tw-shadow-color {
|
|
172
|
+
syntax: "*";
|
|
173
|
+
inherits: false;
|
|
174
|
+
}
|
|
175
|
+
@property --tw-shadow-alpha {
|
|
176
|
+
syntax: "<percentage>";
|
|
177
|
+
inherits: false;
|
|
178
|
+
initial-value: 100%;
|
|
179
|
+
}
|
|
180
|
+
@property --tw-inset-shadow {
|
|
181
|
+
syntax: "*";
|
|
182
|
+
inherits: false;
|
|
183
|
+
initial-value: 0 0 #0000;
|
|
184
|
+
}
|
|
185
|
+
@property --tw-inset-shadow-color {
|
|
186
|
+
syntax: "*";
|
|
187
|
+
inherits: false;
|
|
188
|
+
}
|
|
189
|
+
@property --tw-inset-shadow-alpha {
|
|
190
|
+
syntax: "<percentage>";
|
|
191
|
+
inherits: false;
|
|
192
|
+
initial-value: 100%;
|
|
193
|
+
}
|
|
194
|
+
@property --tw-ring-color {
|
|
195
|
+
syntax: "*";
|
|
196
|
+
inherits: false;
|
|
197
|
+
}
|
|
198
|
+
@property --tw-ring-shadow {
|
|
199
|
+
syntax: "*";
|
|
200
|
+
inherits: false;
|
|
201
|
+
initial-value: 0 0 #0000;
|
|
202
|
+
}
|
|
203
|
+
@property --tw-inset-ring-color {
|
|
204
|
+
syntax: "*";
|
|
205
|
+
inherits: false;
|
|
206
|
+
}
|
|
207
|
+
@property --tw-inset-ring-shadow {
|
|
208
|
+
syntax: "*";
|
|
209
|
+
inherits: false;
|
|
210
|
+
initial-value: 0 0 #0000;
|
|
211
|
+
}
|
|
212
|
+
@property --tw-ring-inset {
|
|
213
|
+
syntax: "*";
|
|
214
|
+
inherits: false;
|
|
215
|
+
}
|
|
216
|
+
@property --tw-ring-offset-width {
|
|
217
|
+
syntax: "<length>";
|
|
218
|
+
inherits: false;
|
|
219
|
+
initial-value: 0px;
|
|
220
|
+
}
|
|
221
|
+
@property --tw-ring-offset-color {
|
|
222
|
+
syntax: "*";
|
|
223
|
+
inherits: false;
|
|
224
|
+
initial-value: #fff;
|
|
225
|
+
}
|
|
226
|
+
@property --tw-ring-offset-shadow {
|
|
227
|
+
syntax: "*";
|
|
228
|
+
inherits: false;
|
|
229
|
+
initial-value: 0 0 #0000;
|
|
230
|
+
}
|
|
231
|
+
@property --tw-font-weight {
|
|
232
|
+
syntax: "*";
|
|
233
|
+
inherits: false;
|
|
234
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import NodejsIcon from '#ui/Icons/Logos/Nodejs';
|
|
3
|
+
import style from './index.module.css';
|
|
4
|
+
const NodejsLogo = props => {
|
|
5
|
+
return _jsx(NodejsIcon, { className: style.nodejsLogo, ...props });
|
|
6
|
+
};
|
|
7
|
+
export default NodejsLogo;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import styles from './index.module.css';
|
|
5
|
+
const Notification = ({ open, duration = 5000, onChange, children, className, }) => (_jsx(ToastPrimitive.Root, { open: open, duration: duration, onOpenChange: onChange, className: classNames(styles.root, className), children: _jsx(ToastPrimitive.Title, { className: styles.message, children: children }) }));
|
|
6
|
+
export default Notification;
|
|
@@ -1,20 +1,104 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
3
2
|
.root {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
margin: calc(var(--spacing, 0.25rem)*6);
|
|
4
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
5
|
+
border-style: var(--tw-border-style);
|
|
6
|
+
border-width: 1px;
|
|
7
|
+
border-color: var(--color-neutral-200, #e9edf0);
|
|
8
|
+
background-color: var(--color-white, #fff);
|
|
9
|
+
padding-inline: calc(var(--spacing, 0.25rem)*4);
|
|
10
|
+
padding-block: calc(var(--spacing, 0.25rem)*3);
|
|
11
|
+
--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));
|
|
12
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
13
|
+
--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));
|
|
14
|
+
}
|
|
15
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
16
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
17
|
+
border-color: var(--color-neutral-800, #556066);
|
|
18
|
+
}
|
|
19
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
20
|
+
background-color: var(--color-neutral-900, #2c3437);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
16
23
|
.message {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
25
|
+
font-weight: var(--font-weight-medium, 500);
|
|
26
|
+
color: var(--color-green-600, #417e38);
|
|
27
|
+
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
28
|
+
color: var(--color-white, #fff);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
@property --tw-border-style {
|
|
32
|
+
syntax: "*";
|
|
33
|
+
inherits: false;
|
|
34
|
+
initial-value: solid;
|
|
35
|
+
}
|
|
36
|
+
@property --tw-shadow {
|
|
37
|
+
syntax: "*";
|
|
38
|
+
inherits: false;
|
|
39
|
+
initial-value: 0 0 #0000;
|
|
40
|
+
}
|
|
41
|
+
@property --tw-shadow-color {
|
|
42
|
+
syntax: "*";
|
|
43
|
+
inherits: false;
|
|
44
|
+
}
|
|
45
|
+
@property --tw-shadow-alpha {
|
|
46
|
+
syntax: "<percentage>";
|
|
47
|
+
inherits: false;
|
|
48
|
+
initial-value: 100%;
|
|
49
|
+
}
|
|
50
|
+
@property --tw-inset-shadow {
|
|
51
|
+
syntax: "*";
|
|
52
|
+
inherits: false;
|
|
53
|
+
initial-value: 0 0 #0000;
|
|
54
|
+
}
|
|
55
|
+
@property --tw-inset-shadow-color {
|
|
56
|
+
syntax: "*";
|
|
57
|
+
inherits: false;
|
|
58
|
+
}
|
|
59
|
+
@property --tw-inset-shadow-alpha {
|
|
60
|
+
syntax: "<percentage>";
|
|
61
|
+
inherits: false;
|
|
62
|
+
initial-value: 100%;
|
|
63
|
+
}
|
|
64
|
+
@property --tw-ring-color {
|
|
65
|
+
syntax: "*";
|
|
66
|
+
inherits: false;
|
|
67
|
+
}
|
|
68
|
+
@property --tw-ring-shadow {
|
|
69
|
+
syntax: "*";
|
|
70
|
+
inherits: false;
|
|
71
|
+
initial-value: 0 0 #0000;
|
|
72
|
+
}
|
|
73
|
+
@property --tw-inset-ring-color {
|
|
74
|
+
syntax: "*";
|
|
75
|
+
inherits: false;
|
|
76
|
+
}
|
|
77
|
+
@property --tw-inset-ring-shadow {
|
|
78
|
+
syntax: "*";
|
|
79
|
+
inherits: false;
|
|
80
|
+
initial-value: 0 0 #0000;
|
|
81
|
+
}
|
|
82
|
+
@property --tw-ring-inset {
|
|
83
|
+
syntax: "*";
|
|
84
|
+
inherits: false;
|
|
85
|
+
}
|
|
86
|
+
@property --tw-ring-offset-width {
|
|
87
|
+
syntax: "<length>";
|
|
88
|
+
inherits: false;
|
|
89
|
+
initial-value: 0px;
|
|
90
|
+
}
|
|
91
|
+
@property --tw-ring-offset-color {
|
|
92
|
+
syntax: "*";
|
|
93
|
+
inherits: false;
|
|
94
|
+
initial-value: #fff;
|
|
95
|
+
}
|
|
96
|
+
@property --tw-ring-offset-shadow {
|
|
97
|
+
syntax: "*";
|
|
98
|
+
inherits: false;
|
|
99
|
+
initial-value: 0 0 #0000;
|
|
100
|
+
}
|
|
101
|
+
@property --tw-font-weight {
|
|
102
|
+
syntax: "*";
|
|
103
|
+
inherits: false;
|
|
20
104
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
import HexagonGrid from '#ui/Icons/HexagonGrid';
|
|
4
|
+
import JsWhiteIcon from '#ui/Icons/Logos/JsWhite';
|
|
5
|
+
import styles from './index.module.css';
|
|
6
|
+
const Preview = ({ type = 'announcements', title }) => (_jsx("div", { className: classNames(styles.root, styles[type]), children: _jsxs("div", { className: styles.container, "aria-hidden": true, children: [_jsx(HexagonGrid, { className: styles.hexagon }), _jsx(JsWhiteIcon, { className: styles.logo }), title] }) }));
|
|
7
|
+
export default Preview;
|