@node-core/ui-components 1.0.1-a459447336d99556960d6f9e1c997327b29e4974 → 1.0.1-ab0ba1dcb1d91392c44e91b1e74e9f565e460543
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/.lintstagedrc.json +5 -0
- package/.postcssrc.json +6 -0
- package/.storybook/constants.ts +28 -0
- package/.storybook/main.ts +38 -0
- package/.storybook/preview-head.html +20 -0
- package/.storybook/preview.tsx +32 -0
- package/.stylelintignore +1 -0
- package/.stylelintrc.mjs +56 -0
- package/__design__/colors.stories.tsx +82 -0
- package/__design__/effects.stories.tsx +7 -0
- package/__design__/font-family.stories.tsx +76 -0
- package/__design__/list.stories.tsx +27 -0
- package/__design__/node-logos.stories.tsx +61 -0
- package/__design__/platform-logos.stories.tsx +31 -0
- package/__design__/social-logos.stories.tsx +33 -0
- package/__design__/table.stories.tsx +56 -0
- package/__design__/text.stories.tsx +100 -0
- package/eslint.config.js +61 -0
- package/package.json +45 -6
- package/src/Common/AlertBox/index.module.css +83 -0
- package/src/Common/AlertBox/index.stories.tsx +96 -0
- package/src/Common/AlertBox/index.tsx +24 -0
- package/src/Common/AvatarGroup/Avatar/index.module.css +40 -0
- package/src/Common/AvatarGroup/Avatar/index.stories.tsx +22 -0
- package/src/Common/AvatarGroup/Avatar/index.tsx +67 -0
- package/src/Common/AvatarGroup/Overlay/index.module.css +31 -0
- package/src/Common/AvatarGroup/Overlay/index.stories.tsx +33 -0
- package/src/Common/AvatarGroup/Overlay/index.tsx +37 -0
- package/src/Common/AvatarGroup/__tests__/index.test.jsx +55 -0
- package/src/Common/AvatarGroup/index.module.css +21 -0
- package/src/Common/AvatarGroup/index.stories.tsx +56 -0
- package/src/Common/AvatarGroup/index.tsx +83 -0
- package/src/Common/Badge/index.module.css +38 -0
- package/src/Common/Badge/index.stories.tsx +38 -0
- package/src/Common/Badge/index.tsx +35 -0
- package/src/Common/BadgeGroup/index.module.css +77 -0
- package/src/Common/BadgeGroup/index.stories.tsx +35 -0
- package/src/Common/BadgeGroup/index.tsx +35 -0
- package/src/Common/Banner/index.module.css +42 -0
- package/src/Common/Banner/index.stories.tsx +29 -0
- package/src/Common/Banner/index.tsx +18 -0
- package/src/Common/BaseActiveLink/__tests__/index.test.jsx +52 -0
- package/src/Common/BaseActiveLink/index.tsx +34 -0
- package/src/Common/BaseButton/index.module.css +145 -0
- package/src/Common/BaseButton/index.stories.tsx +67 -0
- package/src/Common/BaseButton/index.tsx +59 -0
- package/src/Common/BaseCodeBox/index.module.css +78 -0
- package/src/Common/BaseCodeBox/index.stories.tsx +39 -0
- package/src/Common/BaseCodeBox/index.tsx +122 -0
- package/src/Common/BaseCrossLink/index.module.css +51 -0
- package/src/Common/BaseCrossLink/index.stories.tsx +38 -0
- package/src/Common/BaseCrossLink/index.tsx +46 -0
- package/src/Common/BaseLinkTabs/index.module.css +43 -0
- package/src/Common/BaseLinkTabs/index.stories.tsx +34 -0
- package/src/Common/BaseLinkTabs/index.tsx +53 -0
- package/src/Common/BasePagination/Ellipsis/index.module.css +10 -0
- package/src/Common/BasePagination/Ellipsis/index.stories.tsx +10 -0
- package/src/Common/BasePagination/Ellipsis/index.tsx +11 -0
- package/src/Common/BasePagination/PaginationListItem/__tests__/index.test.jsx +58 -0
- package/src/Common/BasePagination/PaginationListItem/index.module.css +27 -0
- package/src/Common/BasePagination/PaginationListItem/index.stories.tsx +40 -0
- package/src/Common/BasePagination/PaginationListItem/index.tsx +39 -0
- package/src/Common/BasePagination/PrevNextArrow.tsx +15 -0
- package/src/Common/BasePagination/__tests__/index.test.jsx +180 -0
- package/src/Common/BasePagination/index.module.css +39 -0
- package/src/Common/BasePagination/index.stories.tsx +67 -0
- package/src/Common/BasePagination/index.tsx +77 -0
- package/src/Common/BasePagination/useGetPageElements.tsx +132 -0
- package/src/Common/Blockquote/index.module.css +29 -0
- package/src/Common/Blockquote/index.stories.tsx +45 -0
- package/src/Common/Blockquote/index.tsx +11 -0
- package/src/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +5 -0
- package/src/Common/Breadcrumbs/BreadcrumbHomeLink/index.tsx +30 -0
- package/src/Common/Breadcrumbs/BreadcrumbItem/index.module.css +41 -0
- package/src/Common/Breadcrumbs/BreadcrumbItem/index.tsx +42 -0
- package/src/Common/Breadcrumbs/BreadcrumbLink/index.module.css +22 -0
- package/src/Common/Breadcrumbs/BreadcrumbLink/index.tsx +37 -0
- package/src/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +9 -0
- package/src/Common/Breadcrumbs/BreadcrumbRoot/index.tsx +20 -0
- package/src/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.tsx +9 -0
- package/src/Common/Breadcrumbs/index.stories.tsx +94 -0
- package/src/Common/Breadcrumbs/index.tsx +81 -0
- package/src/Common/ChangeHistory/index.module.css +83 -0
- package/src/Common/ChangeHistory/index.stories.tsx +130 -0
- package/src/Common/ChangeHistory/index.tsx +67 -0
- package/src/Common/CodeTabs/index.module.css +56 -0
- package/src/Common/CodeTabs/index.stories.tsx +73 -0
- package/src/Common/CodeTabs/index.tsx +16 -0
- package/src/Common/DataTag/index.module.css +56 -0
- package/src/Common/DataTag/index.stories.tsx +40 -0
- package/src/Common/DataTag/index.tsx +39 -0
- package/src/Common/GlowingBackdrop/index.module.css +32 -0
- package/src/Common/GlowingBackdrop/index.stories.tsx +10 -0
- package/src/Common/GlowingBackdrop/index.tsx +13 -0
- package/src/Common/LanguageDropDown/index.module.css +53 -0
- package/src/Common/LanguageDropDown/index.stories.tsx +19 -0
- package/src/Common/LanguageDropDown/index.tsx +56 -0
- package/src/Common/Modal/index.module.css +79 -0
- package/src/Common/Modal/index.stories.tsx +34 -0
- package/src/Common/Modal/index.tsx +50 -0
- package/src/Common/NodejsLogo/index.module.css +6 -0
- package/src/Common/NodejsLogo/index.stories.tsx +14 -0
- package/src/Common/NodejsLogo/index.tsx +26 -0
- package/src/Common/Notification/index.module.css +20 -0
- package/src/Common/Notification/index.stories.tsx +36 -0
- package/src/Common/Notification/index.tsx +34 -0
- package/src/Common/Preview/index.module.css +79 -0
- package/src/Common/Preview/index.stories.tsx +44 -0
- package/src/Common/Preview/index.tsx +25 -0
- package/src/Common/Select/__tests__/index.test.jsx +67 -0
- package/src/Common/Select/index.module.css +161 -0
- package/src/Common/Select/index.stories.tsx +111 -0
- package/src/Common/Select/index.tsx +187 -0
- package/src/Common/Separator/index.module.css +16 -0
- package/src/Common/Separator/index.stories.tsx +32 -0
- package/src/Common/Separator/index.tsx +27 -0
- package/src/Common/Skeleton/index.module.css +30 -0
- package/src/Common/Skeleton/index.tsx +39 -0
- package/src/Common/Tabs/__tests__/index.test.jsx +52 -0
- package/src/Common/Tabs/index.module.css +54 -0
- package/src/Common/Tabs/index.stories.tsx +50 -0
- package/src/Common/Tabs/index.tsx +54 -0
- package/src/Common/ThemeToggle/__tests__/index.test.jsx +35 -0
- package/src/Common/ThemeToggle/index.module.css +15 -0
- package/src/Common/ThemeToggle/index.stories.tsx +10 -0
- package/src/Common/ThemeToggle/index.tsx +15 -0
- package/src/Common/Tooltip/index.module.css +43 -0
- package/src/Common/Tooltip/index.stories.tsx +73 -0
- package/src/Common/Tooltip/index.tsx +48 -0
- package/src/Containers/Article/index.module.css +70 -0
- package/src/Containers/Article/index.stories.tsx +39 -0
- package/src/Containers/Article/index.tsx +9 -0
- package/src/Containers/DocSideBar/index.tsx +0 -0
- package/src/Containers/Footer/index.module.css +46 -0
- package/src/Containers/Footer/index.stories.tsx +27 -0
- package/src/Containers/Footer/index.tsx +95 -0
- package/src/Containers/MetaBar/__tests__/index.test.jsx +63 -0
- package/src/Containers/MetaBar/index.module.css +91 -0
- package/src/Containers/MetaBar/index.stories.tsx +80 -0
- package/src/Containers/MetaBar/index.tsx +72 -0
- package/src/Containers/NavBar/NavItem/index.module.css +60 -0
- package/src/Containers/NavBar/NavItem/index.stories.tsx +38 -0
- package/src/Containers/NavBar/NavItem/index.tsx +44 -0
- package/src/Containers/NavBar/index.module.css +125 -0
- package/src/Containers/NavBar/index.stories.tsx +45 -0
- package/src/Containers/NavBar/index.tsx +94 -0
- package/src/Containers/Sidebar/ProgressionIcon/index.tsx +16 -0
- package/src/Containers/Sidebar/SidebarGroup/index.module.css +64 -0
- package/src/Containers/Sidebar/SidebarGroup/index.stories.tsx +36 -0
- package/src/Containers/Sidebar/SidebarGroup/index.tsx +49 -0
- package/src/Containers/Sidebar/SidebarItem/index.module.css +56 -0
- package/src/Containers/Sidebar/SidebarItem/index.stories.tsx +15 -0
- package/src/Containers/Sidebar/SidebarItem/index.tsx +43 -0
- package/src/Containers/Sidebar/index.module.css +30 -0
- package/src/Containers/Sidebar/index.stories.tsx +88 -0
- package/src/Containers/Sidebar/index.tsx +70 -0
- package/src/Icons/HexagonGrid.stories.tsx +10 -0
- package/src/Icons/HexagonGrid.tsx +1434 -0
- package/src/Icons/InstallationMethod/Choco.tsx +78 -0
- package/src/Icons/InstallationMethod/Devbox.tsx +21 -0
- package/src/Icons/InstallationMethod/Docker.tsx +20 -0
- package/src/Icons/InstallationMethod/FNM.tsx +132 -0
- package/src/Icons/InstallationMethod/Homebrew.tsx +69 -0
- package/src/Icons/InstallationMethod/N.tsx +32 -0
- package/src/Icons/InstallationMethod/NVM.tsx +63 -0
- package/src/Icons/InstallationMethod/Volta.tsx +34 -0
- package/{Icons/InstallationMethod/index.js → src/Icons/InstallationMethod/index.ts} +1 -0
- package/src/Icons/Logos/JsGreen.tsx +24 -0
- package/src/Icons/Logos/JsWhite.tsx +37 -0
- package/src/Icons/Logos/Nodejs.tsx +372 -0
- package/src/Icons/Logos/NodejsStackedBlack.tsx +98 -0
- package/src/Icons/Logos/NodejsStackedDark.tsx +124 -0
- package/src/Icons/Logos/NodejsStackedLight.tsx +123 -0
- package/src/Icons/Logos/NodejsStackedWhite.tsx +98 -0
- package/src/Icons/Logos/index.ts +17 -0
- package/src/Icons/OperatingSystem/AIX.tsx +46 -0
- package/src/Icons/OperatingSystem/Apple.tsx +23 -0
- package/src/Icons/OperatingSystem/Linux.tsx +969 -0
- package/src/Icons/OperatingSystem/Microsoft.tsx +19 -0
- package/{Icons/OperatingSystem/index.js → src/Icons/OperatingSystem/index.ts} +1 -0
- package/src/Icons/PackageManager/Npm.tsx +21 -0
- package/src/Icons/PackageManager/Pnpm.tsx +22 -0
- package/src/Icons/PackageManager/Yarn.tsx +22 -0
- package/{Icons/PackageManager/index.js → src/Icons/PackageManager/index.ts} +1 -0
- package/src/Icons/Social/Bluesky.tsx +19 -0
- package/src/Icons/Social/Discord.tsx +20 -0
- package/src/Icons/Social/GitHub.tsx +16 -0
- package/src/Icons/Social/LinkedIn.tsx +16 -0
- package/src/Icons/Social/Mastodon.tsx +36 -0
- package/src/Icons/Social/Slack.tsx +31 -0
- package/src/Icons/Social/X.tsx +16 -0
- package/{Icons/Social/index.js → src/Icons/Social/index.ts} +1 -0
- package/src/MDX/CodeTabs.tsx +47 -0
- package/src/global.d.ts +4 -0
- package/src/stylelint/__tests__/index.test.mjs +80 -0
- package/src/stylelint/one-utility-class-per-line.mjs +64 -0
- package/{stylelint → src/stylelint}/utils.mjs +25 -19
- package/src/styles/animations.css +47 -0
- package/src/styles/base.css +17 -0
- package/src/styles/effects.css +12 -0
- package/src/styles/index.css +38 -0
- package/src/styles/markdown.css +173 -0
- package/src/styles/theme.css +175 -0
- package/src/types.ts +25 -0
- package/tsconfig.json +20 -0
- package/turbo.json +31 -0
- package/Common/AlertBox/index.js +0 -5
- package/Common/AlertBox/index.module.css +0 -77
- package/Common/AvatarGroup/Avatar/index.js +0 -11
- package/Common/AvatarGroup/Avatar/index.module.css +0 -60
- package/Common/AvatarGroup/Overlay/index.js +0 -6
- package/Common/AvatarGroup/Overlay/index.module.css +0 -38
- package/Common/AvatarGroup/index.js +0 -21
- package/Common/AvatarGroup/index.module.css +0 -22
- package/Common/Badge/index.js +0 -7
- package/Common/Badge/index.module.css +0 -46
- package/Common/BadgeGroup/index.js +0 -6
- package/Common/BadgeGroup/index.module.css +0 -101
- package/Common/Banner/index.js +0 -4
- package/Common/Banner/index.module.css +0 -45
- package/Common/BaseActiveLink/index.js +0 -14
- package/Common/BaseButton/index.js +0 -10
- package/Common/BaseButton/index.module.css +0 -372
- package/Common/BaseCodeBox/index.js +0 -50
- package/Common/BaseCodeBox/index.module.css +0 -96
- package/Common/BaseCrossLink/index.js +0 -12
- package/Common/BaseCrossLink/index.module.css +0 -69
- package/Common/BaseLinkTabs/index.js +0 -5
- package/Common/BaseLinkTabs/index.module.css +0 -77
- package/Common/BasePagination/Ellipsis/index.js +0 -4
- package/Common/BasePagination/Ellipsis/index.module.css +0 -16
- package/Common/BasePagination/PaginationListItem/index.js +0 -6
- package/Common/BasePagination/PaginationListItem/index.module.css +0 -42
- package/Common/BasePagination/PrevNextArrow.js +0 -7
- package/Common/BasePagination/index.js +0 -10
- package/Common/BasePagination/index.module.css +0 -40
- package/Common/BasePagination/useGetPageElements.js +0 -77
- package/Common/Blockquote/index.js +0 -4
- package/Common/Blockquote/index.module.css +0 -50
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.js +0 -9
- package/Common/Breadcrumbs/BreadcrumbHomeLink/index.module.css +0 -5
- package/Common/Breadcrumbs/BreadcrumbItem/index.js +0 -6
- package/Common/Breadcrumbs/BreadcrumbItem/index.module.css +0 -52
- package/Common/Breadcrumbs/BreadcrumbLink/index.js +0 -5
- package/Common/Breadcrumbs/BreadcrumbLink/index.module.css +0 -32
- package/Common/Breadcrumbs/BreadcrumbRoot/index.js +0 -4
- package/Common/Breadcrumbs/BreadcrumbRoot/index.module.css +0 -10
- package/Common/Breadcrumbs/BreadcrumbTruncatedItem/index.js +0 -4
- package/Common/Breadcrumbs/index.js +0 -22
- package/Common/ChangeHistory/index.js +0 -9
- package/Common/ChangeHistory/index.module.css +0 -198
- package/Common/CodeTabs/index.js +0 -5
- package/Common/CodeTabs/index.module.css +0 -67
- package/Common/DataTag/index.js +0 -18
- package/Common/DataTag/index.module.css +0 -54
- package/Common/GlowingBackdrop/index.js +0 -5
- package/Common/GlowingBackdrop/index.module.css +0 -130
- package/Common/LanguageDropDown/index.js +0 -11
- package/Common/LanguageDropDown/index.module.css +0 -151
- package/Common/Modal/index.js +0 -10
- package/Common/Modal/index.module.css +0 -234
- package/Common/NodejsLogo/index.js +0 -7
- package/Common/NodejsLogo/index.module.css +0 -5
- package/Common/Notification/index.js +0 -6
- package/Common/Notification/index.module.css +0 -104
- package/Common/Preview/index.js +0 -7
- package/Common/Preview/index.module.css +0 -283
- package/Common/Select/index.js +0 -49
- package/Common/Select/index.module.css +0 -328
- package/Common/Separator/index.js +0 -7
- package/Common/Separator/index.module.css +0 -13
- package/Common/Skeleton/index.js +0 -18
- package/Common/Skeleton/index.module.css +0 -127
- package/Common/Tabs/index.js +0 -6
- package/Common/Tabs/index.module.css +0 -72
- package/Common/ThemeToggle/index.js +0 -7
- package/Common/ThemeToggle/index.module.css +0 -22
- package/Common/Tooltip/index.js +0 -8
- package/Common/Tooltip/index.module.css +0 -133
- package/Containers/Article/index.js +0 -4
- package/Containers/Article/index.module.css +0 -139
- package/Containers/DocSideBar/index.js +0 -1
- package/Containers/Footer/index.js +0 -22
- package/Containers/Footer/index.module.css +0 -61
- package/Containers/MetaBar/index.js +0 -12
- package/Containers/MetaBar/index.module.css +0 -123
- package/Containers/NavBar/NavItem/index.js +0 -7
- package/Containers/NavBar/NavItem/index.module.css +0 -74
- package/Containers/NavBar/index.js +0 -18
- package/Containers/NavBar/index.module.css +0 -205
- package/Containers/Sidebar/ProgressionIcon/index.js +0 -3
- package/Containers/Sidebar/SidebarGroup/index.js +0 -9
- package/Containers/Sidebar/SidebarGroup/index.module.css +0 -192
- package/Containers/Sidebar/SidebarItem/index.js +0 -11
- package/Containers/Sidebar/SidebarItem/index.module.css +0 -67
- package/Containers/Sidebar/index.js +0 -15
- package/Containers/Sidebar/index.module.css +0 -48
- package/Icons/HexagonGrid.js +0 -3
- package/Icons/InstallationMethod/Choco.js +0 -3
- package/Icons/InstallationMethod/Devbox.js +0 -3
- package/Icons/InstallationMethod/Docker.js +0 -3
- package/Icons/InstallationMethod/FNM.js +0 -3
- package/Icons/InstallationMethod/Homebrew.js +0 -3
- package/Icons/InstallationMethod/N.js +0 -5
- package/Icons/InstallationMethod/NVM.js +0 -3
- package/Icons/InstallationMethod/Volta.js +0 -3
- package/Icons/Logos/JsWhite.js +0 -3
- package/Icons/Logos/Nodejs.js +0 -12
- package/Icons/Logos/index.js +0 -3
- package/Icons/OperatingSystem/AIX.js +0 -3
- package/Icons/OperatingSystem/Apple.js +0 -3
- package/Icons/OperatingSystem/Linux.js +0 -3
- package/Icons/OperatingSystem/Microsoft.js +0 -3
- package/Icons/PackageManager/Npm.js +0 -3
- package/Icons/PackageManager/Pnpm.js +0 -3
- package/Icons/PackageManager/Yarn.js +0 -3
- package/Icons/Social/Bluesky.js +0 -3
- package/Icons/Social/Discord.js +0 -3
- package/Icons/Social/GitHub.js +0 -3
- package/Icons/Social/LinkedIn.js +0 -3
- package/Icons/Social/Mastodon.js +0 -3
- package/Icons/Social/Slack.js +0 -3
- package/Icons/Social/X.js +0 -3
- package/MDX/CodeTabs.js +0 -16
- package/stylelint/one-utility-class-per-line.mjs +0 -48
- package/styles/index.css +0 -1136
- package/types.js +0 -1
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.wrapper {
|
|
3
|
-
display: flex;
|
|
4
|
-
width: 100%;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: flex-start;
|
|
7
|
-
gap: calc(var(--spacing, 0.25rem)*8);
|
|
8
|
-
border-color: var(--color-neutral-200, #e9edf0);
|
|
9
|
-
padding-inline: calc(var(--spacing, 0.25rem)*4);
|
|
10
|
-
padding-block: calc(var(--spacing, 0.25rem)*6);
|
|
11
|
-
overflow-wrap: anywhere;
|
|
12
|
-
@media (width >= 64rem) {
|
|
13
|
-
position: sticky;
|
|
14
|
-
}
|
|
15
|
-
@media (width >= 64rem) {
|
|
16
|
-
top: calc(var(--spacing, 0.25rem)*0);
|
|
17
|
-
}
|
|
18
|
-
@media (width >= 64rem) {
|
|
19
|
-
max-height: 100vh;
|
|
20
|
-
}
|
|
21
|
-
@media (width >= 64rem) {
|
|
22
|
-
padding-inline: calc(var(--spacing, 0.25rem)*6);
|
|
23
|
-
}
|
|
24
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
25
|
-
border-color: var(--color-neutral-900, #2c3437);
|
|
26
|
-
}
|
|
27
|
-
dl {
|
|
28
|
-
display: flex;
|
|
29
|
-
width: 100%;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
gap: calc(var(--spacing, 0.25rem)*1.5);
|
|
32
|
-
padding-bottom: calc(var(--spacing, 0.25rem)*12);
|
|
33
|
-
scrollbar-width: none;
|
|
34
|
-
@media (width >= 64rem) {
|
|
35
|
-
max-height: calc(100vh - var(--header-height));
|
|
36
|
-
}
|
|
37
|
-
@media (width >= 64rem) {
|
|
38
|
-
overflow-y: auto;
|
|
39
|
-
}
|
|
40
|
-
&::-webkit-scrollbar {
|
|
41
|
-
display: none;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
dt {
|
|
45
|
-
margin-bottom: calc(var(--spacing, 0.25rem)*2);
|
|
46
|
-
font-size: var(--text-sm, 0.875rem);
|
|
47
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
|
|
48
|
-
--tw-font-weight: var(--font-weight-medium, 500);
|
|
49
|
-
font-weight: var(--font-weight-medium, 500);
|
|
50
|
-
color: var(--color-neutral-800, #556066);
|
|
51
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
52
|
-
color: var(--color-neutral-200, #e9edf0);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
dd {
|
|
56
|
-
margin-bottom: calc(var(--spacing, 0.25rem)*8);
|
|
57
|
-
display: flex;
|
|
58
|
-
align-items: center;
|
|
59
|
-
gap: calc(var(--spacing, 0.25rem)*2);
|
|
60
|
-
font-size: var(--text-sm, 0.875rem);
|
|
61
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
|
|
62
|
-
color: var(--color-neutral-900, #2c3437);
|
|
63
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
64
|
-
color: var(--color-white, #fff);
|
|
65
|
-
}
|
|
66
|
-
a {
|
|
67
|
-
--tw-font-weight: var(--font-weight-semibold, 600);
|
|
68
|
-
font-weight: var(--font-weight-semibold, 600);
|
|
69
|
-
color: var(--color-neutral-900, #2c3437);
|
|
70
|
-
text-decoration-line: underline;
|
|
71
|
-
@media (width < 670px) {
|
|
72
|
-
display: inline-block;
|
|
73
|
-
}
|
|
74
|
-
@media (width < 670px) {
|
|
75
|
-
padding-block: calc(var(--spacing, 0.25rem)*1);
|
|
76
|
-
}
|
|
77
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
78
|
-
color: var(--color-white, #fff);
|
|
79
|
-
}
|
|
80
|
-
&:hover {
|
|
81
|
-
color: var(--color-neutral-700, #6e7b83);
|
|
82
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
83
|
-
color: var(--color-neutral-500, #b1bcc2);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
ol {
|
|
88
|
-
display: flex;
|
|
89
|
-
width: 100%;
|
|
90
|
-
list-style-type: none;
|
|
91
|
-
flex-direction: column;
|
|
92
|
-
gap: calc(var(--spacing, 0.25rem)*1.5);
|
|
93
|
-
padding: calc(var(--spacing, 0.25rem)*0);
|
|
94
|
-
}
|
|
95
|
-
svg {
|
|
96
|
-
width: calc(var(--spacing, 0.25rem)*4);
|
|
97
|
-
height: calc(var(--spacing, 0.25rem)*4);
|
|
98
|
-
color: var(--color-neutral-600, #929fa5);
|
|
99
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
100
|
-
color: var(--color-neutral-400, #cbd4d9);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
&:last-child {
|
|
104
|
-
margin-bottom: calc(var(--spacing, 0.25rem)*0);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
[data-on-dark] {
|
|
108
|
-
display: none;
|
|
109
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
110
|
-
display: block;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
[data-on-light] {
|
|
114
|
-
display: block;
|
|
115
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
116
|
-
display: none;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
@property --tw-font-weight {
|
|
121
|
-
syntax: "*";
|
|
122
|
-
inherits: false;
|
|
123
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ArrowUpRightIcon } from '@heroicons/react/24/solid';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import BaseActiveLink from '#ui/Common/BaseActiveLink';
|
|
5
|
-
import styles from './index.module.css';
|
|
6
|
-
const NavItem = ({ href = '', type = 'nav', children, className, target, ...props }) => (_jsxs(BaseActiveLink, { target: target, href: href, className: classNames(styles.navItem, styles[type], className), activeClassName: styles.active, allowSubPath: href.startsWith('/'), ...props, children: [_jsx("span", { className: styles.label, children: children }), target === '_blank' && _jsx(ArrowUpRightIcon, { className: styles.icon })] }));
|
|
7
|
-
export default NavItem;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.navItem {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: calc(var(--spacing, 0.25rem)*2);
|
|
6
|
-
border-radius: var(--radius-sm, 0.25rem);
|
|
7
|
-
padding-inline: calc(var(--spacing, 0.25rem)*3);
|
|
8
|
-
padding-block: calc(var(--spacing, 0.25rem)*2);
|
|
9
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
10
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
11
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
12
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
13
|
-
}
|
|
14
|
-
.label {
|
|
15
|
-
font-size: var(--text-base, 1rem);
|
|
16
|
-
line-height: var(--tw-leading, var(--text-base--line-height, 1.5));
|
|
17
|
-
--tw-font-weight: var(--font-weight-medium, 500);
|
|
18
|
-
font-weight: var(--font-weight-medium, 500);
|
|
19
|
-
@media (width >= 64rem) {
|
|
20
|
-
font-size: var(--text-sm, 0.875rem);
|
|
21
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.icon {
|
|
25
|
-
width: calc(var(--spacing, 0.25rem)*3);
|
|
26
|
-
height: calc(var(--spacing, 0.25rem)*3);
|
|
27
|
-
color: var(--color-neutral-500, #b1bcc2);
|
|
28
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
29
|
-
color: var(--color-neutral-200, #e9edf0);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
&:hover {
|
|
33
|
-
background-color: var(--color-neutral-100, #f6f7f9);
|
|
34
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
35
|
-
background-color: var(--color-neutral-900, #2c3437);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
&.nav {
|
|
39
|
-
.label {
|
|
40
|
-
color: var(--color-neutral-900, #2c3437);
|
|
41
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
42
|
-
color: var(--color-white, #fff);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
&.active {
|
|
46
|
-
background-color: var(--color-green-600, #417e38);
|
|
47
|
-
.label {
|
|
48
|
-
color: var(--color-white, #fff);
|
|
49
|
-
}
|
|
50
|
-
.icon {
|
|
51
|
-
color: var(--color-white, #fff);
|
|
52
|
-
opacity: 50%;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
&.footer {
|
|
57
|
-
.label {
|
|
58
|
-
color: var(--color-neutral-800, #556066);
|
|
59
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
60
|
-
color: var(--color-white, #fff);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
&:hover {
|
|
64
|
-
background-color: var(--color-neutral-100, #f6f7f9);
|
|
65
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
66
|
-
background-color: var(--color-neutral-900, #2c3437);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@property --tw-font-weight {
|
|
72
|
-
syntax: "*";
|
|
73
|
-
inherits: false;
|
|
74
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import Hamburger from '@heroicons/react/24/solid/Bars3Icon';
|
|
4
|
-
import XMark from '@heroicons/react/24/solid/XMarkIcon';
|
|
5
|
-
import * as Label from '@radix-ui/react-label';
|
|
6
|
-
import classNames from 'classnames';
|
|
7
|
-
import { useState } from 'react';
|
|
8
|
-
import NavItem from '#ui/Containers/NavBar/NavItem';
|
|
9
|
-
import style from './index.module.css';
|
|
10
|
-
const navInteractionIcons = {
|
|
11
|
-
show: _jsx(Hamburger, { className: style.navInteractionIcon }),
|
|
12
|
-
close: _jsx(XMark, { className: style.navInteractionIcon }),
|
|
13
|
-
};
|
|
14
|
-
const NavBar = ({ children, Logo, as: Component = 'a', navItems, pathname, sidebarItemTogglerAriaLabel, }) => {
|
|
15
|
-
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
16
|
-
return (_jsxs("nav", { className: style.container, children: [_jsxs("div", { className: style.nodeIconAndMobileItemsToggler, children: [_jsx(Component, { className: style.nodeIconWrapper, href: "/", "aria-label": "Home", children: _jsx(Logo, {}) }), _jsx(Label.Root, { className: style.sidebarItemTogglerLabel, htmlFor: "sidebarItemToggler", role: "button", "aria-label": sidebarItemTogglerAriaLabel, children: navInteractionIcons[isMenuOpen ? 'close' : 'show'] })] }), _jsx("input", { className: classNames(['peer', style.sidebarItemToggler]), id: "sidebarItemToggler", type: "checkbox", onChange: e => setIsMenuOpen(() => e.target.checked), "aria-label": sidebarItemTogglerAriaLabel, tabIndex: -1 }), _jsxs("div", { className: `${style.main} hidden peer-checked:flex`, children: [_jsx("div", { className: style.navItems, children: navItems.map(({ text, link, target }) => (_jsx(NavItem, { pathname: pathname, as: Component, href: link, target: target, children: text }, link))) }), _jsx("div", { className: style.actionsWrapper, children: children })] })] }));
|
|
17
|
-
};
|
|
18
|
-
export default NavBar;
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.container {
|
|
3
|
-
border-color: var(--color-neutral-200, #e9edf0);
|
|
4
|
-
background-color: var(--color-white, #fff);
|
|
5
|
-
@media (width >= 64rem) {
|
|
6
|
-
display: flex;
|
|
7
|
-
}
|
|
8
|
-
@media (width >= 64rem) {
|
|
9
|
-
height: calc(var(--spacing, 0.25rem)*16);
|
|
10
|
-
}
|
|
11
|
-
@media (width >= 64rem) {
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
}
|
|
14
|
-
@media (width >= 64rem) {
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
@media (width >= 64rem) {
|
|
18
|
-
gap: calc(var(--spacing, 0.25rem)*8);
|
|
19
|
-
}
|
|
20
|
-
@media (width >= 64rem) {
|
|
21
|
-
border-bottom-style: var(--tw-border-style);
|
|
22
|
-
border-bottom-width: 1px;
|
|
23
|
-
}
|
|
24
|
-
@media (width >= 64rem) {
|
|
25
|
-
padding-inline: calc(var(--spacing, 0.25rem)*8);
|
|
26
|
-
}
|
|
27
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
28
|
-
border-color: var(--color-neutral-900, #2c3437);
|
|
29
|
-
}
|
|
30
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
31
|
-
background-color: var(--color-neutral-950, #0d121c);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.nodeIconAndMobileItemsToggler {
|
|
35
|
-
display: flex;
|
|
36
|
-
height: calc(var(--spacing, 0.25rem)*16);
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
align-items: center;
|
|
39
|
-
border-bottom-style: var(--tw-border-style);
|
|
40
|
-
border-bottom-width: 1px;
|
|
41
|
-
border-color: var(--color-neutral-200, #e9edf0);
|
|
42
|
-
padding-inline: calc(var(--spacing, 0.25rem)*4);
|
|
43
|
-
@media (width >= 64rem) {
|
|
44
|
-
display: flex;
|
|
45
|
-
}
|
|
46
|
-
@media (width >= 64rem) {
|
|
47
|
-
height: 100%;
|
|
48
|
-
}
|
|
49
|
-
@media (width >= 64rem) {
|
|
50
|
-
align-items: center;
|
|
51
|
-
}
|
|
52
|
-
@media (width >= 64rem) {
|
|
53
|
-
border-style: var(--tw-border-style);
|
|
54
|
-
border-width: 0px;
|
|
55
|
-
}
|
|
56
|
-
@media (width >= 64rem) {
|
|
57
|
-
padding-inline: calc(var(--spacing, 0.25rem)*0);
|
|
58
|
-
}
|
|
59
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
60
|
-
border-color: var(--color-neutral-900, #2c3437);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
.sidebarItemToggler {
|
|
64
|
-
position: absolute;
|
|
65
|
-
right: calc(var(--spacing, 0.25rem)*4);
|
|
66
|
-
z-index: -10;
|
|
67
|
-
--tw-translate-y: -200%;
|
|
68
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
69
|
-
appearance: none;
|
|
70
|
-
opacity: 0%;
|
|
71
|
-
}
|
|
72
|
-
.nodeIconWrapper {
|
|
73
|
-
height: 30px;
|
|
74
|
-
flex: 1;
|
|
75
|
-
}
|
|
76
|
-
.navInteractionIcon,
|
|
77
|
-
.sidebarItemToggler {
|
|
78
|
-
width: calc(var(--spacing, 0.25rem)*6);
|
|
79
|
-
height: calc(var(--spacing, 0.25rem)*6);
|
|
80
|
-
}
|
|
81
|
-
.sidebarItemTogglerLabel {
|
|
82
|
-
display: block;
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
@media (width >= 64rem) {
|
|
85
|
-
display: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
.main {
|
|
89
|
-
flex: 1;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
justify-content: space-between;
|
|
92
|
-
gap: calc(var(--spacing, 0.25rem)*4);
|
|
93
|
-
@media (width >= 64rem) {
|
|
94
|
-
display: flex;
|
|
95
|
-
}
|
|
96
|
-
@media (width >= 64rem) {
|
|
97
|
-
flex-direction: row;
|
|
98
|
-
}
|
|
99
|
-
@media (width >= 64rem) {
|
|
100
|
-
align-items: center;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
.navItems {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
gap: calc(var(--spacing, 0.25rem)*0);
|
|
107
|
-
border-bottom-style: var(--tw-border-style);
|
|
108
|
-
border-bottom-width: 1px;
|
|
109
|
-
border-color: var(--color-neutral-200, #e9edf0);
|
|
110
|
-
padding: calc(var(--spacing, 0.25rem)*4);
|
|
111
|
-
@media (width >= 64rem) {
|
|
112
|
-
flex: 1;
|
|
113
|
-
}
|
|
114
|
-
@media (width >= 64rem) {
|
|
115
|
-
flex-direction: row;
|
|
116
|
-
}
|
|
117
|
-
@media (width >= 64rem) {
|
|
118
|
-
gap: calc(var(--spacing, 0.25rem)*1);
|
|
119
|
-
}
|
|
120
|
-
@media (width >= 64rem) {
|
|
121
|
-
border-style: var(--tw-border-style);
|
|
122
|
-
border-width: 0px;
|
|
123
|
-
}
|
|
124
|
-
@media (width >= 64rem) {
|
|
125
|
-
padding: calc(var(--spacing, 0.25rem)*0);
|
|
126
|
-
}
|
|
127
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
128
|
-
border-color: var(--color-neutral-900, #2c3437);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
.actionsWrapper {
|
|
132
|
-
display: flex;
|
|
133
|
-
flex-direction: row;
|
|
134
|
-
flex-wrap: wrap;
|
|
135
|
-
align-items: center;
|
|
136
|
-
justify-content: space-between;
|
|
137
|
-
gap: calc(var(--spacing, 0.25rem)*2);
|
|
138
|
-
border-bottom-style: var(--tw-border-style);
|
|
139
|
-
border-bottom-width: 1px;
|
|
140
|
-
border-color: var(--color-neutral-200, #e9edf0);
|
|
141
|
-
padding: calc(var(--spacing, 0.25rem)*4);
|
|
142
|
-
@media (width >= 40rem) {
|
|
143
|
-
flex-wrap: nowrap;
|
|
144
|
-
}
|
|
145
|
-
@media (width >= 64rem) {
|
|
146
|
-
flex-basis: calc(var(--spacing, 0.25rem)*96);
|
|
147
|
-
}
|
|
148
|
-
@media (width >= 64rem) {
|
|
149
|
-
border-style: var(--tw-border-style);
|
|
150
|
-
border-width: 0px;
|
|
151
|
-
}
|
|
152
|
-
@media (width >= 64rem) {
|
|
153
|
-
padding: calc(var(--spacing, 0.25rem)*0);
|
|
154
|
-
}
|
|
155
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
156
|
-
border-color: var(--color-neutral-900, #2c3437);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
span.searchButtonSkeleton {
|
|
160
|
-
margin-block: 1px;
|
|
161
|
-
margin-right: calc(var(--spacing, 0.25rem)*2);
|
|
162
|
-
flex-grow: 1;
|
|
163
|
-
border-radius: var(--radius-xl, 0.75rem);
|
|
164
|
-
&:empty {
|
|
165
|
-
height: calc(var(--spacing, 0.25rem)*10);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
.ghIconWrapper {
|
|
169
|
-
width: calc(var(--spacing, 0.25rem)*9);
|
|
170
|
-
height: calc(var(--spacing, 0.25rem)*9);
|
|
171
|
-
border-radius: var(--radius-md, 0.375rem);
|
|
172
|
-
padding: calc(var(--spacing, 0.25rem)*2);
|
|
173
|
-
svg {
|
|
174
|
-
fill: var(--color-neutral-700, #6e7b83);
|
|
175
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
176
|
-
fill: var(--color-neutral-300, #d9e1e4);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
&:hover {
|
|
180
|
-
background-color: var(--color-neutral-100, #f6f7f9);
|
|
181
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
182
|
-
background-color: var(--color-neutral-900, #2c3437);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
@property --tw-border-style {
|
|
187
|
-
syntax: "*";
|
|
188
|
-
inherits: false;
|
|
189
|
-
initial-value: solid;
|
|
190
|
-
}
|
|
191
|
-
@property --tw-translate-x {
|
|
192
|
-
syntax: "*";
|
|
193
|
-
inherits: false;
|
|
194
|
-
initial-value: 0;
|
|
195
|
-
}
|
|
196
|
-
@property --tw-translate-y {
|
|
197
|
-
syntax: "*";
|
|
198
|
-
inherits: false;
|
|
199
|
-
initial-value: 0;
|
|
200
|
-
}
|
|
201
|
-
@property --tw-translate-z {
|
|
202
|
-
syntax: "*";
|
|
203
|
-
inherits: false;
|
|
204
|
-
initial-value: 0;
|
|
205
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const ProgressionIcon = props => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", ...props, children: _jsx("path", { d: "M9 3.26795L8 2.6906L7 3.26795L3.5359 5.26795L2.5359 5.8453V7V11V12.1547L3.5359 12.7321L7 14.7321L8 15.3094L9 14.7321L12.4641 12.7321L13.4641 12.1547V11V7V5.8453L12.4641 5.26795L9 3.26795Z" }) }));
|
|
3
|
-
export default ProgressionIcon;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import SidebarItem from '#ui/Containers/Sidebar/SidebarItem';
|
|
4
|
-
import styles from './index.module.css';
|
|
5
|
-
const SidebarGroup = ({ groupName, items, showProgressionIcons, className, ...props }) => (_jsxs("section", { className: classNames({
|
|
6
|
-
[styles.group]: true,
|
|
7
|
-
[styles.progression]: showProgressionIcons,
|
|
8
|
-
}, className), children: [_jsx("label", { className: styles.groupName, children: groupName }), _jsx("ul", { className: styles.itemList, children: items.map(({ label, link }) => (_jsx(SidebarItem, { label: label, link: link, showProgressionIcons: showProgressionIcons, ...props }, link))) })] }));
|
|
9
|
-
export default SidebarGroup;
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.group {
|
|
3
|
-
display: flex;
|
|
4
|
-
width: 100%;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: calc(var(--spacing, 0.25rem)*2);
|
|
7
|
-
&:not(.progression) {
|
|
8
|
-
.groupName {
|
|
9
|
-
padding-inline: calc(var(--spacing, 0.25rem)*2);
|
|
10
|
-
padding-block: calc(var(--spacing, 0.25rem)*1);
|
|
11
|
-
font-size: var(--text-xs, 0.75rem);
|
|
12
|
-
line-height: var(--tw-leading, var(--text-xs--line-height, 1.33333));
|
|
13
|
-
--tw-font-weight: var(--font-weight-semibold, 600);
|
|
14
|
-
font-weight: var(--font-weight-semibold, 600);
|
|
15
|
-
color: var(--color-neutral-800, #556066);
|
|
16
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
17
|
-
color: var(--color-neutral-600, #929fa5);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
&.progression {
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
gap: calc(var(--spacing, 0.25rem)*4);
|
|
25
|
-
font-size: var(--text-sm, 0.875rem);
|
|
26
|
-
line-height: var(--tw-leading, var(--text-sm--line-height, 1.42857));
|
|
27
|
-
--tw-font-weight: var(--font-weight-medium, 500);
|
|
28
|
-
font-weight: var(--font-weight-medium, 500);
|
|
29
|
-
color: var(--color-neutral-800, #556066);
|
|
30
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
31
|
-
color: var(--color-neutral-200, #e9edf0);
|
|
32
|
-
}
|
|
33
|
-
.itemList {
|
|
34
|
-
position: relative;
|
|
35
|
-
left: calc(var(--spacing, 0.25rem)*-1);
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
&::after {
|
|
39
|
-
content: var(--tw-content);
|
|
40
|
-
position: absolute;
|
|
41
|
-
}
|
|
42
|
-
&::after {
|
|
43
|
-
content: var(--tw-content);
|
|
44
|
-
top: calc(var(--spacing, 0.25rem)*0);
|
|
45
|
-
}
|
|
46
|
-
&::after {
|
|
47
|
-
content: var(--tw-content);
|
|
48
|
-
left: 0.45rem;
|
|
49
|
-
}
|
|
50
|
-
&::after {
|
|
51
|
-
content: var(--tw-content);
|
|
52
|
-
z-index: 10;
|
|
53
|
-
}
|
|
54
|
-
&::after {
|
|
55
|
-
content: var(--tw-content);
|
|
56
|
-
height: 100%;
|
|
57
|
-
}
|
|
58
|
-
&::after {
|
|
59
|
-
content: var(--tw-content);
|
|
60
|
-
width: 1px;
|
|
61
|
-
}
|
|
62
|
-
&::after {
|
|
63
|
-
content: var(--tw-content);
|
|
64
|
-
background-color: var(--color-neutral-200, #e9edf0);
|
|
65
|
-
}
|
|
66
|
-
&::after {
|
|
67
|
-
content: var(--tw-content);
|
|
68
|
-
--tw-content: '';
|
|
69
|
-
content: var(--tw-content);
|
|
70
|
-
}
|
|
71
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
72
|
-
&::after {
|
|
73
|
-
content: var(--tw-content);
|
|
74
|
-
background-color: var(--color-neutral-800, #556066);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
a {
|
|
78
|
-
&:first-child {
|
|
79
|
-
&::before {
|
|
80
|
-
content: var(--tw-content);
|
|
81
|
-
position: absolute;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
&:first-child {
|
|
85
|
-
&::before {
|
|
86
|
-
content: var(--tw-content);
|
|
87
|
-
bottom: calc(50% + 0.25rem);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
&:first-child {
|
|
91
|
-
&::before {
|
|
92
|
-
content: var(--tw-content);
|
|
93
|
-
left: calc(var(--spacing, 0.25rem)*0);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
&:first-child {
|
|
97
|
-
&::before {
|
|
98
|
-
content: var(--tw-content);
|
|
99
|
-
height: calc(var(--spacing, 0.25rem)*20);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
&:first-child {
|
|
103
|
-
&::before {
|
|
104
|
-
content: var(--tw-content);
|
|
105
|
-
width: calc(var(--spacing, 0.25rem)*4);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
&:first-child {
|
|
109
|
-
&::before {
|
|
110
|
-
content: var(--tw-content);
|
|
111
|
-
background-color: var(--color-white, #fff);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
&:first-child {
|
|
115
|
-
&::before {
|
|
116
|
-
content: var(--tw-content);
|
|
117
|
-
--tw-content: '';
|
|
118
|
-
content: var(--tw-content);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
&:last-child {
|
|
122
|
-
&::after {
|
|
123
|
-
content: var(--tw-content);
|
|
124
|
-
position: absolute;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
&:last-child {
|
|
128
|
-
&::after {
|
|
129
|
-
content: var(--tw-content);
|
|
130
|
-
top: calc(50% + 0.25rem);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
&:last-child {
|
|
134
|
-
&::after {
|
|
135
|
-
content: var(--tw-content);
|
|
136
|
-
left: calc(var(--spacing, 0.25rem)*0);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
&:last-child {
|
|
140
|
-
&::after {
|
|
141
|
-
content: var(--tw-content);
|
|
142
|
-
height: calc(var(--spacing, 0.25rem)*20);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
&:last-child {
|
|
146
|
-
&::after {
|
|
147
|
-
content: var(--tw-content);
|
|
148
|
-
width: calc(var(--spacing, 0.25rem)*4);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
&:last-child {
|
|
152
|
-
&::after {
|
|
153
|
-
content: var(--tw-content);
|
|
154
|
-
background-color: var(--color-white, #fff);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
&:last-child {
|
|
158
|
-
&::after {
|
|
159
|
-
content: var(--tw-content);
|
|
160
|
-
--tw-content: '';
|
|
161
|
-
content: var(--tw-content);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
&:first-child {
|
|
165
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
166
|
-
&::before {
|
|
167
|
-
content: var(--tw-content);
|
|
168
|
-
background-color: var(--color-neutral-950, #0d121c);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
&:last-child {
|
|
173
|
-
&:where([data-theme=dark], [data-theme=dark] *) {
|
|
174
|
-
&::after {
|
|
175
|
-
content: var(--tw-content);
|
|
176
|
-
background-color: var(--color-neutral-950, #0d121c);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
@property --tw-font-weight {
|
|
185
|
-
syntax: "*";
|
|
186
|
-
inherits: false;
|
|
187
|
-
}
|
|
188
|
-
@property --tw-content {
|
|
189
|
-
syntax: "*";
|
|
190
|
-
initial-value: "";
|
|
191
|
-
inherits: false;
|
|
192
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ArrowUpRightIcon } from '@heroicons/react/24/solid';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import BaseActiveLink from '#ui/Common/BaseActiveLink';
|
|
5
|
-
import styles from './index.module.css';
|
|
6
|
-
import ProgressionIcon from '../ProgressionIcon';
|
|
7
|
-
const SidebarItem = ({ label, link, showProgressionIcons = false, ...props }) => (_jsxs(BaseActiveLink, { className: classNames({
|
|
8
|
-
[styles.item]: true,
|
|
9
|
-
[styles.progression]: showProgressionIcons,
|
|
10
|
-
}), href: link, activeClassName: styles.active, ...props, children: [showProgressionIcons && (_jsx(ProgressionIcon, { className: styles.progressionIcon })), _jsx("span", { className: styles.label, children: label }), /^https?:/.test(link) && _jsx(ArrowUpRightIcon, { className: styles.icon })] }));
|
|
11
|
-
export default SidebarItem;
|