@node-core/ui-components 1.0.1-c0bc4dd7eb49f97f35ce0983849d17702404c76a → 1.0.1-da75492230302b0f459aab323d2f6fdac6269a06
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 +2 -76
- package/Common/AvatarGroup/Avatar/index.js +11 -0
- package/Common/AvatarGroup/Avatar/index.module.css +2 -40
- package/Common/AvatarGroup/Overlay/index.js +6 -0
- package/Common/AvatarGroup/Overlay/index.module.css +2 -31
- package/Common/AvatarGroup/index.js +21 -0
- package/Common/AvatarGroup/index.module.css +2 -21
- package/Common/Badge/index.js +5 -0
- package/Common/Badge/index.module.css +2 -38
- package/Common/BadgeGroup/index.js +6 -0
- package/Common/BadgeGroup/index.module.css +2 -77
- package/Common/Banner/index.js +4 -0
- package/Common/Banner/index.module.css +2 -42
- package/Common/BaseActiveLink/index.js +14 -0
- package/Common/BaseButton/index.js +10 -0
- package/Common/BaseButton/index.module.css +2 -142
- package/Common/BaseCodeBox/index.js +50 -0
- package/Common/BaseCodeBox/index.module.css +2 -78
- package/Common/BaseCrossLink/index.js +12 -0
- package/Common/BaseCrossLink/index.module.css +2 -51
- package/Common/BaseLinkTabs/index.js +5 -0
- package/Common/BaseLinkTabs/index.module.css +2 -43
- package/Common/BasePagination/Ellipsis/index.js +4 -0
- package/Common/BasePagination/Ellipsis/index.module.css +2 -10
- package/Common/BasePagination/PaginationListItem/index.js +6 -0
- package/Common/BasePagination/PaginationListItem/index.module.css +2 -27
- package/Common/BasePagination/PrevNextArrow.js +7 -0
- package/Common/BasePagination/index.js +10 -0
- package/Common/BasePagination/index.module.css +2 -39
- package/Common/BasePagination/useGetPageElements.js +77 -0
- package/Common/Blockquote/index.js +4 -0
- package/Common/Blockquote/index.module.css +2 -29
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.js +9 -0
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +2 -5
- package/Common/Breadcrumbs/BreadcrumbItem/index.js +6 -0
- package/Common/Breadcrumbs/BreadcrumbItem/index.module.css +2 -41
- package/Common/Breadcrumbs/BreadcrumbLink/index.js +5 -0
- package/Common/Breadcrumbs/BreadcrumbLink/index.module.css +2 -22
- package/Common/Breadcrumbs/BreadcrumbRoot/index.js +4 -0
- package/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +2 -9
- 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 +2 -83
- package/Common/CodeTabs/index.js +5 -0
- package/Common/CodeTabs/index.module.css +2 -56
- package/Common/DataTag/index.js +18 -0
- package/Common/DataTag/index.module.css +2 -56
- package/Common/GlowingBackdrop/index.js +5 -0
- package/Common/GlowingBackdrop/index.module.css +2 -32
- package/Common/LanguageDropDown/index.js +11 -0
- package/Common/LanguageDropDown/index.module.css +2 -53
- package/Common/Modal/index.js +10 -0
- package/Common/Modal/index.module.css +2 -79
- package/Common/NodejsLogo/index.js +7 -0
- package/Common/NodejsLogo/index.module.css +2 -6
- package/Common/Notification/index.js +6 -0
- package/Common/Notification/index.module.css +2 -20
- package/Common/Preview/index.js +7 -0
- package/Common/Preview/index.module.css +2 -79
- package/Common/Select/index.js +47 -0
- package/Common/Select/index.module.css +2 -161
- package/Common/Separator/index.js +7 -0
- package/Common/Separator/index.module.css +2 -16
- package/Common/Skeleton/index.js +18 -0
- package/Common/Skeleton/index.module.css +2 -30
- package/Common/Tabs/index.js +6 -0
- package/Common/Tabs/index.module.css +2 -54
- package/Common/ThemeToggle/index.js +7 -0
- package/Common/ThemeToggle/index.module.css +2 -15
- package/Common/Tooltip/index.js +8 -0
- package/Common/Tooltip/index.module.css +2 -43
- package/Containers/Article/index.js +4 -0
- package/Containers/Article/index.module.css +2 -70
- package/Containers/Footer/index.js +21 -0
- package/Containers/Footer/index.module.css +2 -46
- package/Containers/MetaBar/index.js +12 -0
- package/Containers/MetaBar/index.module.css +2 -91
- package/Containers/NavBar/NavItem/index.js +7 -0
- package/Containers/NavBar/NavItem/index.module.css +2 -60
- package/Containers/NavBar/index.js +18 -0
- package/Containers/NavBar/index.module.css +2 -125
- package/Containers/Sidebar/ProgressionIcon/index.js +3 -0
- package/Containers/Sidebar/SidebarGroup/index.js +9 -0
- package/Containers/Sidebar/SidebarGroup/index.module.css +2 -64
- package/Containers/Sidebar/SidebarItem/index.js +11 -0
- package/Containers/Sidebar/SidebarItem/index.module.css +2 -56
- package/Containers/Sidebar/index.js +15 -0
- package/Containers/Sidebar/index.module.css +2 -30
- 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 +25 -0
- package/Providers/NotificationProvider/index.js +16 -0
- package/Providers/NotificationProvider/index.module.css +2 -0
- package/package.json +6 -51
- package/stylelint/one-utility-class-per-line.mjs +34 -50
- package/stylelint/utils.mjs +19 -25
- package/styles/index.css +2 -38
- package/types.js +1 -0
- package/Common/AlertBox/index.stories.tsx +0 -73
- 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 -32
- package/Common/Modal/index.tsx +0 -48
- 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
package/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/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
|
-
};
|