@node-core/ui-components 1.0.1-ab0ba1dcb1d91392c44e91b1e74e9f565e460543 → 1.0.1-bc3f4a79ab5f54e7ed1ee525005e7e9f1030495c
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 +77 -0
- package/Common/AvatarGroup/Avatar/index.js +11 -0
- package/Common/AvatarGroup/Avatar/index.module.css +60 -0
- package/Common/AvatarGroup/Overlay/index.js +6 -0
- package/Common/AvatarGroup/Overlay/index.module.css +38 -0
- package/Common/AvatarGroup/index.js +21 -0
- package/Common/AvatarGroup/index.module.css +22 -0
- package/Common/Badge/index.js +7 -0
- package/Common/Badge/index.module.css +46 -0
- package/Common/BadgeGroup/index.js +6 -0
- package/Common/BadgeGroup/index.module.css +101 -0
- package/Common/Banner/index.js +4 -0
- package/Common/Banner/index.module.css +45 -0
- package/Common/BaseActiveLink/index.js +14 -0
- package/Common/BaseButton/index.js +10 -0
- package/Common/BaseButton/index.module.css +372 -0
- package/Common/BaseCodeBox/index.js +50 -0
- package/Common/BaseCodeBox/index.module.css +96 -0
- package/Common/BaseCrossLink/index.js +12 -0
- package/Common/BaseCrossLink/index.module.css +69 -0
- package/Common/BaseLinkTabs/index.js +5 -0
- package/Common/BaseLinkTabs/index.module.css +77 -0
- package/Common/BasePagination/Ellipsis/index.js +4 -0
- package/Common/BasePagination/Ellipsis/index.module.css +16 -0
- package/Common/BasePagination/PaginationListItem/index.js +6 -0
- package/Common/BasePagination/PaginationListItem/index.module.css +42 -0
- package/Common/BasePagination/PrevNextArrow.js +7 -0
- package/Common/BasePagination/index.js +10 -0
- package/Common/BasePagination/index.module.css +40 -0
- package/Common/BasePagination/useGetPageElements.js +77 -0
- package/Common/Blockquote/index.js +4 -0
- package/Common/Blockquote/index.module.css +50 -0
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.js +9 -0
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +5 -0
- package/Common/Breadcrumbs/BreadcrumbItem/index.js +6 -0
- package/Common/Breadcrumbs/BreadcrumbItem/index.module.css +52 -0
- package/Common/Breadcrumbs/BreadcrumbLink/index.js +5 -0
- package/Common/Breadcrumbs/BreadcrumbLink/index.module.css +32 -0
- package/Common/Breadcrumbs/BreadcrumbRoot/index.js +4 -0
- package/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +10 -0
- 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 +198 -0
- package/Common/CodeTabs/index.js +5 -0
- package/Common/CodeTabs/index.module.css +67 -0
- package/Common/DataTag/index.js +18 -0
- package/Common/DataTag/index.module.css +54 -0
- package/Common/GlowingBackdrop/index.js +5 -0
- package/Common/GlowingBackdrop/index.module.css +130 -0
- package/Common/LanguageDropDown/index.js +11 -0
- package/Common/LanguageDropDown/index.module.css +151 -0
- package/Common/Modal/index.js +10 -0
- package/Common/Modal/index.module.css +234 -0
- package/Common/NodejsLogo/index.js +7 -0
- package/Common/NodejsLogo/index.module.css +5 -0
- package/Common/Notification/index.js +6 -0
- package/Common/Notification/index.module.css +104 -0
- package/Common/Preview/index.js +7 -0
- package/Common/Preview/index.module.css +283 -0
- package/Common/Select/index.js +46 -0
- package/Common/Select/index.module.css +328 -0
- package/Common/Separator/index.js +7 -0
- package/Common/Separator/index.module.css +13 -0
- package/Common/Skeleton/index.js +18 -0
- package/Common/Skeleton/index.module.css +127 -0
- package/Common/Tabs/index.js +6 -0
- package/Common/Tabs/index.module.css +72 -0
- package/Common/ThemeToggle/index.js +7 -0
- package/Common/ThemeToggle/index.module.css +22 -0
- package/Common/Tooltip/index.js +8 -0
- package/Common/Tooltip/index.module.css +133 -0
- package/Containers/Article/index.js +4 -0
- package/Containers/Article/index.module.css +139 -0
- package/Containers/DocSideBar/index.js +1 -0
- package/Containers/Footer/index.js +22 -0
- package/Containers/Footer/index.module.css +61 -0
- package/Containers/MetaBar/index.js +12 -0
- package/Containers/MetaBar/index.module.css +123 -0
- package/Containers/NavBar/NavItem/index.js +7 -0
- package/Containers/NavBar/NavItem/index.module.css +74 -0
- package/Containers/NavBar/index.js +18 -0
- package/Containers/NavBar/index.module.css +205 -0
- package/Containers/Sidebar/ProgressionIcon/index.js +3 -0
- package/Containers/Sidebar/SidebarGroup/index.js +9 -0
- package/Containers/Sidebar/SidebarGroup/index.module.css +192 -0
- package/Containers/Sidebar/SidebarItem/index.js +11 -0
- package/Containers/Sidebar/SidebarItem/index.module.css +67 -0
- package/Containers/Sidebar/index.js +15 -0
- package/Containers/Sidebar/index.module.css +48 -0
- 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/{src/Icons/InstallationMethod/index.ts → Icons/InstallationMethod/index.js} +0 -1
- package/Icons/Logos/JsGreen.js +3 -0
- package/Icons/Logos/JsWhite.js +3 -0
- package/Icons/Logos/Nodejs.js +6 -0
- package/Icons/Logos/NodejsStackedBlack.js +3 -0
- package/Icons/Logos/NodejsStackedDark.js +3 -0
- package/Icons/Logos/NodejsStackedLight.js +3 -0
- package/Icons/Logos/NodejsStackedWhite.js +3 -0
- package/{src/Icons/Logos/index.ts → Icons/Logos/index.js} +1 -10
- 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/{src/Icons/OperatingSystem/index.ts → Icons/OperatingSystem/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/{src/Icons/PackageManager/index.ts → Icons/PackageManager/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/{src/Icons/Social/index.ts → Icons/Social/index.js} +0 -1
- package/MDX/CodeTabs.js +16 -0
- package/package.json +6 -45
- package/stylelint/one-utility-class-per-line.mjs +48 -0
- package/{src/stylelint → stylelint}/utils.mjs +19 -25
- package/styles/index.css +1139 -0
- package/types.js +1 -0
- package/.lintstagedrc.json +0 -5
- package/.postcssrc.json +0 -6
- package/.storybook/constants.ts +0 -28
- package/.storybook/main.ts +0 -38
- package/.storybook/preview-head.html +0 -20
- package/.storybook/preview.tsx +0 -32
- package/.stylelintignore +0 -1
- package/.stylelintrc.mjs +0 -56
- package/__design__/colors.stories.tsx +0 -82
- package/__design__/effects.stories.tsx +0 -7
- package/__design__/font-family.stories.tsx +0 -76
- package/__design__/list.stories.tsx +0 -27
- package/__design__/node-logos.stories.tsx +0 -61
- package/__design__/platform-logos.stories.tsx +0 -31
- package/__design__/social-logos.stories.tsx +0 -33
- package/__design__/table.stories.tsx +0 -56
- package/__design__/text.stories.tsx +0 -100
- package/eslint.config.js +0 -61
- package/src/Common/AlertBox/index.module.css +0 -83
- package/src/Common/AlertBox/index.stories.tsx +0 -96
- package/src/Common/AlertBox/index.tsx +0 -24
- package/src/Common/AvatarGroup/Avatar/index.module.css +0 -40
- package/src/Common/AvatarGroup/Avatar/index.stories.tsx +0 -22
- package/src/Common/AvatarGroup/Avatar/index.tsx +0 -67
- package/src/Common/AvatarGroup/Overlay/index.module.css +0 -31
- package/src/Common/AvatarGroup/Overlay/index.stories.tsx +0 -33
- package/src/Common/AvatarGroup/Overlay/index.tsx +0 -37
- package/src/Common/AvatarGroup/__tests__/index.test.jsx +0 -55
- package/src/Common/AvatarGroup/index.module.css +0 -21
- package/src/Common/AvatarGroup/index.stories.tsx +0 -56
- package/src/Common/AvatarGroup/index.tsx +0 -83
- package/src/Common/Badge/index.module.css +0 -38
- package/src/Common/Badge/index.stories.tsx +0 -38
- package/src/Common/Badge/index.tsx +0 -35
- package/src/Common/BadgeGroup/index.module.css +0 -77
- package/src/Common/BadgeGroup/index.stories.tsx +0 -35
- package/src/Common/BadgeGroup/index.tsx +0 -35
- package/src/Common/Banner/index.module.css +0 -42
- package/src/Common/Banner/index.stories.tsx +0 -29
- package/src/Common/Banner/index.tsx +0 -18
- package/src/Common/BaseActiveLink/__tests__/index.test.jsx +0 -52
- package/src/Common/BaseActiveLink/index.tsx +0 -34
- package/src/Common/BaseButton/index.module.css +0 -145
- package/src/Common/BaseButton/index.stories.tsx +0 -67
- package/src/Common/BaseButton/index.tsx +0 -59
- package/src/Common/BaseCodeBox/index.module.css +0 -78
- package/src/Common/BaseCodeBox/index.stories.tsx +0 -39
- package/src/Common/BaseCodeBox/index.tsx +0 -122
- package/src/Common/BaseCrossLink/index.module.css +0 -51
- package/src/Common/BaseCrossLink/index.stories.tsx +0 -38
- package/src/Common/BaseCrossLink/index.tsx +0 -46
- package/src/Common/BaseLinkTabs/index.module.css +0 -43
- package/src/Common/BaseLinkTabs/index.stories.tsx +0 -34
- package/src/Common/BaseLinkTabs/index.tsx +0 -53
- package/src/Common/BasePagination/Ellipsis/index.module.css +0 -10
- package/src/Common/BasePagination/Ellipsis/index.stories.tsx +0 -10
- package/src/Common/BasePagination/Ellipsis/index.tsx +0 -11
- package/src/Common/BasePagination/PaginationListItem/__tests__/index.test.jsx +0 -58
- package/src/Common/BasePagination/PaginationListItem/index.module.css +0 -27
- package/src/Common/BasePagination/PaginationListItem/index.stories.tsx +0 -40
- package/src/Common/BasePagination/PaginationListItem/index.tsx +0 -39
- package/src/Common/BasePagination/PrevNextArrow.tsx +0 -15
- package/src/Common/BasePagination/__tests__/index.test.jsx +0 -180
- package/src/Common/BasePagination/index.module.css +0 -39
- package/src/Common/BasePagination/index.stories.tsx +0 -67
- package/src/Common/BasePagination/index.tsx +0 -77
- package/src/Common/BasePagination/useGetPageElements.tsx +0 -132
- package/src/Common/Blockquote/index.module.css +0 -29
- package/src/Common/Blockquote/index.stories.tsx +0 -45
- package/src/Common/Blockquote/index.tsx +0 -11
- package/src/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +0 -5
- package/src/Common/Breadcrumbs/BreadcrumbHomeLink/index.tsx +0 -30
- package/src/Common/Breadcrumbs/BreadcrumbItem/index.module.css +0 -41
- package/src/Common/Breadcrumbs/BreadcrumbItem/index.tsx +0 -42
- package/src/Common/Breadcrumbs/BreadcrumbLink/index.module.css +0 -22
- package/src/Common/Breadcrumbs/BreadcrumbLink/index.tsx +0 -37
- package/src/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +0 -9
- package/src/Common/Breadcrumbs/BreadcrumbRoot/index.tsx +0 -20
- package/src/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.tsx +0 -9
- package/src/Common/Breadcrumbs/index.stories.tsx +0 -94
- package/src/Common/Breadcrumbs/index.tsx +0 -81
- package/src/Common/ChangeHistory/index.module.css +0 -83
- package/src/Common/ChangeHistory/index.stories.tsx +0 -130
- package/src/Common/ChangeHistory/index.tsx +0 -67
- package/src/Common/CodeTabs/index.module.css +0 -56
- package/src/Common/CodeTabs/index.stories.tsx +0 -73
- package/src/Common/CodeTabs/index.tsx +0 -16
- package/src/Common/DataTag/index.module.css +0 -56
- package/src/Common/DataTag/index.stories.tsx +0 -40
- package/src/Common/DataTag/index.tsx +0 -39
- package/src/Common/GlowingBackdrop/index.module.css +0 -32
- package/src/Common/GlowingBackdrop/index.stories.tsx +0 -10
- package/src/Common/GlowingBackdrop/index.tsx +0 -13
- package/src/Common/LanguageDropDown/index.module.css +0 -53
- package/src/Common/LanguageDropDown/index.stories.tsx +0 -19
- package/src/Common/LanguageDropDown/index.tsx +0 -56
- package/src/Common/Modal/index.module.css +0 -79
- package/src/Common/Modal/index.stories.tsx +0 -34
- package/src/Common/Modal/index.tsx +0 -50
- package/src/Common/NodejsLogo/index.module.css +0 -6
- package/src/Common/NodejsLogo/index.stories.tsx +0 -14
- package/src/Common/NodejsLogo/index.tsx +0 -26
- package/src/Common/Notification/index.module.css +0 -20
- package/src/Common/Notification/index.stories.tsx +0 -36
- package/src/Common/Notification/index.tsx +0 -34
- package/src/Common/Preview/index.module.css +0 -79
- package/src/Common/Preview/index.stories.tsx +0 -44
- package/src/Common/Preview/index.tsx +0 -25
- package/src/Common/Select/__tests__/index.test.jsx +0 -67
- package/src/Common/Select/index.module.css +0 -161
- package/src/Common/Select/index.stories.tsx +0 -111
- package/src/Common/Select/index.tsx +0 -187
- package/src/Common/Separator/index.module.css +0 -16
- package/src/Common/Separator/index.stories.tsx +0 -32
- package/src/Common/Separator/index.tsx +0 -27
- package/src/Common/Skeleton/index.module.css +0 -30
- package/src/Common/Skeleton/index.tsx +0 -39
- package/src/Common/Tabs/__tests__/index.test.jsx +0 -52
- package/src/Common/Tabs/index.module.css +0 -54
- package/src/Common/Tabs/index.stories.tsx +0 -50
- package/src/Common/Tabs/index.tsx +0 -54
- package/src/Common/ThemeToggle/__tests__/index.test.jsx +0 -35
- package/src/Common/ThemeToggle/index.module.css +0 -15
- package/src/Common/ThemeToggle/index.stories.tsx +0 -10
- package/src/Common/ThemeToggle/index.tsx +0 -15
- package/src/Common/Tooltip/index.module.css +0 -43
- package/src/Common/Tooltip/index.stories.tsx +0 -73
- package/src/Common/Tooltip/index.tsx +0 -48
- package/src/Containers/Article/index.module.css +0 -70
- package/src/Containers/Article/index.stories.tsx +0 -39
- package/src/Containers/Article/index.tsx +0 -9
- package/src/Containers/DocSideBar/index.tsx +0 -0
- package/src/Containers/Footer/index.module.css +0 -46
- package/src/Containers/Footer/index.stories.tsx +0 -27
- package/src/Containers/Footer/index.tsx +0 -95
- package/src/Containers/MetaBar/__tests__/index.test.jsx +0 -63
- package/src/Containers/MetaBar/index.module.css +0 -91
- package/src/Containers/MetaBar/index.stories.tsx +0 -80
- package/src/Containers/MetaBar/index.tsx +0 -72
- package/src/Containers/NavBar/NavItem/index.module.css +0 -60
- package/src/Containers/NavBar/NavItem/index.stories.tsx +0 -38
- package/src/Containers/NavBar/NavItem/index.tsx +0 -44
- package/src/Containers/NavBar/index.module.css +0 -125
- package/src/Containers/NavBar/index.stories.tsx +0 -45
- package/src/Containers/NavBar/index.tsx +0 -94
- package/src/Containers/Sidebar/ProgressionIcon/index.tsx +0 -16
- package/src/Containers/Sidebar/SidebarGroup/index.module.css +0 -64
- package/src/Containers/Sidebar/SidebarGroup/index.stories.tsx +0 -36
- package/src/Containers/Sidebar/SidebarGroup/index.tsx +0 -49
- package/src/Containers/Sidebar/SidebarItem/index.module.css +0 -56
- package/src/Containers/Sidebar/SidebarItem/index.stories.tsx +0 -15
- package/src/Containers/Sidebar/SidebarItem/index.tsx +0 -43
- package/src/Containers/Sidebar/index.module.css +0 -30
- package/src/Containers/Sidebar/index.stories.tsx +0 -88
- package/src/Containers/Sidebar/index.tsx +0 -70
- package/src/Icons/HexagonGrid.stories.tsx +0 -10
- package/src/Icons/HexagonGrid.tsx +0 -1434
- package/src/Icons/InstallationMethod/Choco.tsx +0 -78
- package/src/Icons/InstallationMethod/Devbox.tsx +0 -21
- package/src/Icons/InstallationMethod/Docker.tsx +0 -20
- package/src/Icons/InstallationMethod/FNM.tsx +0 -132
- package/src/Icons/InstallationMethod/Homebrew.tsx +0 -69
- package/src/Icons/InstallationMethod/N.tsx +0 -32
- package/src/Icons/InstallationMethod/NVM.tsx +0 -63
- package/src/Icons/InstallationMethod/Volta.tsx +0 -34
- package/src/Icons/Logos/JsGreen.tsx +0 -24
- package/src/Icons/Logos/JsWhite.tsx +0 -37
- package/src/Icons/Logos/Nodejs.tsx +0 -372
- package/src/Icons/Logos/NodejsStackedBlack.tsx +0 -98
- package/src/Icons/Logos/NodejsStackedDark.tsx +0 -124
- package/src/Icons/Logos/NodejsStackedLight.tsx +0 -123
- package/src/Icons/Logos/NodejsStackedWhite.tsx +0 -98
- package/src/Icons/OperatingSystem/AIX.tsx +0 -46
- package/src/Icons/OperatingSystem/Apple.tsx +0 -23
- package/src/Icons/OperatingSystem/Linux.tsx +0 -969
- package/src/Icons/OperatingSystem/Microsoft.tsx +0 -19
- package/src/Icons/PackageManager/Npm.tsx +0 -21
- package/src/Icons/PackageManager/Pnpm.tsx +0 -22
- package/src/Icons/PackageManager/Yarn.tsx +0 -22
- package/src/Icons/Social/Bluesky.tsx +0 -19
- package/src/Icons/Social/Discord.tsx +0 -20
- package/src/Icons/Social/GitHub.tsx +0 -16
- package/src/Icons/Social/LinkedIn.tsx +0 -16
- package/src/Icons/Social/Mastodon.tsx +0 -36
- package/src/Icons/Social/Slack.tsx +0 -31
- package/src/Icons/Social/X.tsx +0 -16
- package/src/MDX/CodeTabs.tsx +0 -47
- package/src/global.d.ts +0 -4
- package/src/stylelint/__tests__/index.test.mjs +0 -80
- package/src/stylelint/one-utility-class-per-line.mjs +0 -64
- package/src/styles/animations.css +0 -47
- package/src/styles/base.css +0 -17
- package/src/styles/effects.css +0 -12
- package/src/styles/index.css +0 -38
- package/src/styles/markdown.css +0 -173
- package/src/styles/theme.css +0 -175
- package/src/types.ts +0 -25
- package/tsconfig.json +0 -20
- package/turbo.json +0 -31
package/src/styles/markdown.css
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
main {
|
|
2
|
-
@apply flex
|
|
3
|
-
w-full
|
|
4
|
-
flex-col
|
|
5
|
-
gap-6;
|
|
6
|
-
|
|
7
|
-
hr {
|
|
8
|
-
@apply w-full
|
|
9
|
-
border-t
|
|
10
|
-
border-t-neutral-200
|
|
11
|
-
bg-white
|
|
12
|
-
dark:border-t-neutral-900
|
|
13
|
-
dark:bg-neutral-950;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
h1 {
|
|
17
|
-
@apply text-3xl;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
h2 {
|
|
21
|
-
@apply text-2xl;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
h3 {
|
|
25
|
-
@apply text-xl;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
h4 {
|
|
29
|
-
@apply text-lg;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
h5,
|
|
33
|
-
h6 {
|
|
34
|
-
@apply text-base;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
h1,
|
|
38
|
-
h2,
|
|
39
|
-
h3,
|
|
40
|
-
h4,
|
|
41
|
-
h5,
|
|
42
|
-
h6 {
|
|
43
|
-
@apply font-semibold
|
|
44
|
-
text-neutral-900
|
|
45
|
-
dark:text-white;
|
|
46
|
-
|
|
47
|
-
&[id] a {
|
|
48
|
-
@apply text-neutral-900
|
|
49
|
-
dark:text-white;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
strong {
|
|
54
|
-
@apply font-semibold;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
code {
|
|
58
|
-
@apply font-ibm-plex-mono
|
|
59
|
-
rounded-xs
|
|
60
|
-
bg-neutral-100
|
|
61
|
-
px-1
|
|
62
|
-
text-base
|
|
63
|
-
font-semibold
|
|
64
|
-
text-neutral-900
|
|
65
|
-
dark:bg-neutral-900
|
|
66
|
-
dark:text-white;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
p {
|
|
70
|
-
@apply text-neutral-900
|
|
71
|
-
dark:text-white;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* link that isn't inside a heading */
|
|
75
|
-
a:not(h1 > a):not(h2 > a):not(h3 > a):not(h4 > a):not(h5 > a):not(h6 > a),
|
|
76
|
-
.anchor {
|
|
77
|
-
@apply max-xs:font-semibold
|
|
78
|
-
text-green-600
|
|
79
|
-
dark:text-green-400;
|
|
80
|
-
|
|
81
|
-
&:hover {
|
|
82
|
-
@apply text-green-900
|
|
83
|
-
dark:text-green-300;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&[role='button'] {
|
|
87
|
-
@apply max-xs:font-regular;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&:has(code) {
|
|
91
|
-
@apply max-xs:decoration-neutral-800
|
|
92
|
-
dark:max-xs:decoration-neutral-200;
|
|
93
|
-
|
|
94
|
-
code {
|
|
95
|
-
@apply text-inherit;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
ul {
|
|
101
|
-
@apply list-disc
|
|
102
|
-
pl-9
|
|
103
|
-
pr-5
|
|
104
|
-
leading-6
|
|
105
|
-
text-neutral-900
|
|
106
|
-
dark:text-white;
|
|
107
|
-
|
|
108
|
-
li div:has(> pre) {
|
|
109
|
-
@apply my-1!;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
ol {
|
|
114
|
-
@apply list-decimal
|
|
115
|
-
px-5
|
|
116
|
-
leading-6
|
|
117
|
-
text-neutral-900
|
|
118
|
-
dark:text-white;
|
|
119
|
-
|
|
120
|
-
li div:has(> pre) {
|
|
121
|
-
@apply my-1!;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
table {
|
|
126
|
-
@apply rounded-xs
|
|
127
|
-
mb-1
|
|
128
|
-
w-full
|
|
129
|
-
border-separate
|
|
130
|
-
border-spacing-0
|
|
131
|
-
border
|
|
132
|
-
border-neutral-200
|
|
133
|
-
text-left
|
|
134
|
-
text-sm
|
|
135
|
-
dark:border-neutral-800;
|
|
136
|
-
|
|
137
|
-
th,
|
|
138
|
-
td {
|
|
139
|
-
@apply max-xs:block
|
|
140
|
-
max-xs:border-l-0
|
|
141
|
-
border
|
|
142
|
-
border-r-0
|
|
143
|
-
border-t-0
|
|
144
|
-
border-neutral-200
|
|
145
|
-
px-4
|
|
146
|
-
py-2
|
|
147
|
-
text-neutral-900
|
|
148
|
-
dark:border-neutral-800
|
|
149
|
-
dark:text-white;
|
|
150
|
-
|
|
151
|
-
> a {
|
|
152
|
-
@apply pr-2;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
th {
|
|
157
|
-
@apply font-semibold;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
tr:last-child > td {
|
|
161
|
-
@apply sm:border-b-0;
|
|
162
|
-
|
|
163
|
-
&:last-child {
|
|
164
|
-
@apply max-xs:border-b-0;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
td:first-child,
|
|
169
|
-
th:first-child {
|
|
170
|
-
@apply sm:border-l-0;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
package/src/styles/theme.css
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
|
|
2
|
-
|
|
3
|
-
@source '../Common';
|
|
4
|
-
@source '../Containers';
|
|
5
|
-
@source '../Icons';
|
|
6
|
-
|
|
7
|
-
@theme {
|
|
8
|
-
--color-green-100: #edf2eb;
|
|
9
|
-
--color-green-200: #c5e5b4;
|
|
10
|
-
--color-green-300: #99cc7d;
|
|
11
|
-
--color-green-400: #84ba64;
|
|
12
|
-
--color-green-500: #5fa04e;
|
|
13
|
-
--color-green-600: #417e38;
|
|
14
|
-
--color-green-700: #2c682c;
|
|
15
|
-
--color-green-800: #2c682c;
|
|
16
|
-
--color-green-900: #1a3f1d;
|
|
17
|
-
--color-neutral-100: #f6f7f9;
|
|
18
|
-
--color-neutral-200: #e9edf0;
|
|
19
|
-
--color-neutral-300: #d9e1e4;
|
|
20
|
-
--color-neutral-400: #cbd4d9;
|
|
21
|
-
--color-neutral-500: #b1bcc2;
|
|
22
|
-
--color-neutral-600: #929fa5;
|
|
23
|
-
--color-neutral-700: #6e7b83;
|
|
24
|
-
--color-neutral-800: #556066;
|
|
25
|
-
--color-neutral-900: #2c3437;
|
|
26
|
-
--color-neutral-950: #0d121c;
|
|
27
|
-
--color-danger-100: #fbf1f0;
|
|
28
|
-
--color-danger-200: #fad3d4;
|
|
29
|
-
--color-danger-300: #fab6b7;
|
|
30
|
-
--color-danger-400: #fa8e8e;
|
|
31
|
-
--color-danger-500: #f65354;
|
|
32
|
-
--color-danger-600: #de1a1b;
|
|
33
|
-
--color-danger-700: #b80c0c;
|
|
34
|
-
--color-danger-800: #900e0e;
|
|
35
|
-
--color-danger-900: #661514;
|
|
36
|
-
--color-warning-100: #fdf3e7;
|
|
37
|
-
--color-warning-200: #fad9b0;
|
|
38
|
-
--color-warning-300: #f5bc75;
|
|
39
|
-
--color-warning-400: #e99c40;
|
|
40
|
-
--color-warning-500: #d07912;
|
|
41
|
-
--color-warning-600: #ae5f00;
|
|
42
|
-
--color-warning-700: #8b4d04;
|
|
43
|
-
--color-warning-800: #683d08;
|
|
44
|
-
--color-warning-900: #4d2f0b;
|
|
45
|
-
--color-info-100: #e9f4fa;
|
|
46
|
-
--color-info-200: #bce6fc;
|
|
47
|
-
--color-info-300: #8ed4f8;
|
|
48
|
-
--color-info-400: #52baed;
|
|
49
|
-
--color-info-500: #229ad6;
|
|
50
|
-
--color-info-600: #0c7bb3;
|
|
51
|
-
--color-info-700: #066291;
|
|
52
|
-
--color-info-800: #074d71;
|
|
53
|
-
--color-info-900: #0a3953;
|
|
54
|
-
--color-accent1-100: #f7f1fb;
|
|
55
|
-
--color-accent1-200: #ead9fb;
|
|
56
|
-
--color-accent1-300: #dbbdf9;
|
|
57
|
-
--color-accent1-400: #c79bf2;
|
|
58
|
-
--color-accent1-500: #af74e8;
|
|
59
|
-
--color-accent1-600: #9756d6;
|
|
60
|
-
--color-accent1-700: #7d3cbe;
|
|
61
|
-
--color-accent1-800: #642b9e;
|
|
62
|
-
--color-accent1-900: #361b52;
|
|
63
|
-
--color-accent2-100: #fbf0f4;
|
|
64
|
-
--color-accent2-200: #fbd4e6;
|
|
65
|
-
--color-accent2-300: #fbb4d2;
|
|
66
|
-
--color-accent2-400: #f68bb7;
|
|
67
|
-
--color-accent2-500: #ed5393;
|
|
68
|
-
--color-accent2-600: #d6246e;
|
|
69
|
-
--color-accent2-700: #b01356;
|
|
70
|
-
--color-accent2-800: #8b1245;
|
|
71
|
-
--color-accent2-900: #411526;
|
|
72
|
-
--color-pulse-100: #0000330f;
|
|
73
|
-
--color-pulse-200: #00002d17;
|
|
74
|
-
--color-pulse-300: #ddeaf814;
|
|
75
|
-
--color-pulse-400: #d3edf81d;
|
|
76
|
-
--color-white: #fff;
|
|
77
|
-
--color-transparent: 'transparent';
|
|
78
|
-
--color-shadow: #101828;
|
|
79
|
-
--shadow-xs: 0px 1px 2px 0px --alpha(var(--color-shadow, #101828) / 5%);
|
|
80
|
-
--shadow-lg:
|
|
81
|
-
0px 4px 6px -2px --alpha(var(--color-shadow, #101828) / 3%),
|
|
82
|
-
0px 12px 16px -4px --alpha(var(--color-shadow, #101828) / 8%);
|
|
83
|
-
|
|
84
|
-
/* TODO(@avivkeller): The --font-xyz-xyz variable is assigned by Next.js in apps/site.
|
|
85
|
-
Ideally, this package shouldn't depend on the consuming application's
|
|
86
|
-
variables, it should remain self-contained. */
|
|
87
|
-
--font-open-sans: var(--font-open-sans);
|
|
88
|
-
--font-ibm-plex-mono: var(--font-ibm-plex-mono);
|
|
89
|
-
--font-weight-regular: 400;
|
|
90
|
-
--font-weight-medium: 500;
|
|
91
|
-
--font-weight-semibold: 600;
|
|
92
|
-
--font-weight-bold: 700;
|
|
93
|
-
--font-xs: 0.75rem;
|
|
94
|
-
--font-xs-line-height: 1rem;
|
|
95
|
-
--font-sm: 0.87rem;
|
|
96
|
-
--font-sm-line-height: 1.25rem;
|
|
97
|
-
--font-base: 1rem;
|
|
98
|
-
--font-base-line-height: 1.5rem;
|
|
99
|
-
--font-lg: 1.125rem;
|
|
100
|
-
--font-lg-line-height: 1.75rem;
|
|
101
|
-
--font-xl: 1.25rem;
|
|
102
|
-
--font-xl-line-height: 1.875rem;
|
|
103
|
-
--font-2xl: 1.5rem;
|
|
104
|
-
--font-2xl-line-height: 2rem;
|
|
105
|
-
--font-3xl: 1.875rem;
|
|
106
|
-
--font-3xl-line-height: 2.25rem;
|
|
107
|
-
--font-4xl: 2.25rem;
|
|
108
|
-
--font-4xl-line-height: 2.5rem;
|
|
109
|
-
--font-5xl: 3rem;
|
|
110
|
-
--font-5xl-line-height: 3rem;
|
|
111
|
-
--font-6xl: 3.75rem;
|
|
112
|
-
--font-6xl-line-height: 3.75rem;
|
|
113
|
-
--font-7xl: 4.5rem;
|
|
114
|
-
--font-7xl-line-height: 4.5rem;
|
|
115
|
-
--breakpoint-xs: 670px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@utility scrollbar-thin {
|
|
119
|
-
scrollbar-width: thin;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@utility max-w-8xl {
|
|
123
|
-
max-width: 95rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@utility bg-gradient-subtle-dark {
|
|
127
|
-
background-image: linear-gradient(
|
|
128
|
-
180deg,
|
|
129
|
-
--alpha(var(--color-neutral-900) / 50%) 0%,
|
|
130
|
-
--alpha(var(--color-neutral-900) / 0%) 48.32%
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@utility bg-gradient-subtle {
|
|
135
|
-
background-image: linear-gradient(
|
|
136
|
-
180deg,
|
|
137
|
-
--alpha(var(--color-neutral-100) / 50%) 0%,
|
|
138
|
-
--alpha(var(--color-neutral-100) / 0%) 48.32%
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@utility bg-gradient-subtle-gray {
|
|
143
|
-
background-image: linear-gradient(
|
|
144
|
-
180deg,
|
|
145
|
-
var(--color-neutral-900) 0%,
|
|
146
|
-
--alpha(var(--color-neutral-900) / 80%) 100%
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@utility bg-gradient-subtle-white {
|
|
151
|
-
background-image: linear-gradient(
|
|
152
|
-
180deg,
|
|
153
|
-
var(--color-white) 0%,
|
|
154
|
-
--alpha(var(--color-white) / 80%) 100%
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@utility bg-gradient-glow-backdrop {
|
|
159
|
-
background-image: radial-gradient(
|
|
160
|
-
8em circle at calc(50%) 10px,
|
|
161
|
-
var(--color-green-400),
|
|
162
|
-
transparent 30%
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
@utility bg-gradient-radial {
|
|
167
|
-
background-image: radial-gradient(
|
|
168
|
-
var(--tw-gradient-from),
|
|
169
|
-
var(--tw-gradient-to)
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
@utility text-inherit {
|
|
174
|
-
color: inherit;
|
|
175
|
-
}
|
package/src/types.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
SVGProps,
|
|
3
|
-
AnchorHTMLAttributes,
|
|
4
|
-
ReactElement,
|
|
5
|
-
JSXElementConstructor,
|
|
6
|
-
ReactNode,
|
|
7
|
-
} from 'react';
|
|
8
|
-
|
|
9
|
-
export type LogoVariant = 'default' | 'pride';
|
|
10
|
-
export type TailwindSVG = SVGProps<SVGSVGElement> & { tw?: string };
|
|
11
|
-
export type BlogPreviewType = 'announcements' | 'release' | 'vulnerability';
|
|
12
|
-
export type LinkLike =
|
|
13
|
-
| JSXElementConstructor<AnchorHTMLAttributes<HTMLAnchorElement>>
|
|
14
|
-
| 'a';
|
|
15
|
-
|
|
16
|
-
export type FormattedMessage =
|
|
17
|
-
| string
|
|
18
|
-
| ReactElement<HTMLElement, string | JSXElementConstructor<HTMLElement>>
|
|
19
|
-
| ReadonlyArray<ReactNode>;
|
|
20
|
-
|
|
21
|
-
export type SimpleLocaleConfig = {
|
|
22
|
-
code: string;
|
|
23
|
-
localName: string;
|
|
24
|
-
name: string;
|
|
25
|
-
};
|
package/tsconfig.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"noEmit": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"module": "esnext",
|
|
12
|
-
"moduleResolution": "Bundler",
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"isolatedModules": true,
|
|
15
|
-
"jsx": "preserve",
|
|
16
|
-
"incremental": true,
|
|
17
|
-
"baseUrl": "."
|
|
18
|
-
},
|
|
19
|
-
"include": ["src"]
|
|
20
|
-
}
|
package/turbo.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://turbo.build/schema.json",
|
|
3
|
-
"extends": ["//"],
|
|
4
|
-
"globalEnv": ["NODE_ENV"],
|
|
5
|
-
"tasks": {
|
|
6
|
-
"lint:js": {
|
|
7
|
-
"inputs": ["**/*.{json,mjs,js,ts,tsx}"]
|
|
8
|
-
},
|
|
9
|
-
"lint:css": {
|
|
10
|
-
"inputs": ["**/*.css"],
|
|
11
|
-
"outputs": [".stylelintcache"]
|
|
12
|
-
},
|
|
13
|
-
"lint:fix": {
|
|
14
|
-
"cache": false
|
|
15
|
-
},
|
|
16
|
-
"lint:types": {
|
|
17
|
-
"cache": false
|
|
18
|
-
},
|
|
19
|
-
"storybook": {
|
|
20
|
-
"cache": false,
|
|
21
|
-
"persistent": true
|
|
22
|
-
},
|
|
23
|
-
"storybook:build": {
|
|
24
|
-
"inputs": ["**/*.{ts,tsx,mjs,css,json}"],
|
|
25
|
-
"outputs": ["storybook-static/**"]
|
|
26
|
-
},
|
|
27
|
-
"test:unit": {
|
|
28
|
-
"inputs": ["**/*.{ts,tsx,mjs}"]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|