@netfoundry/docusaurus-theme 0.2.0 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/src/components/Alert/Alert.js +51 -6
  2. package/dist/src/components/Alert/Alert.js.map +7 -1
  3. package/dist/src/components/Alert/index.js +29 -2
  4. package/dist/src/components/Alert/index.js.map +7 -1
  5. package/dist/src/components/CodeBlock/CodeBlock.js +53 -7
  6. package/dist/src/components/CodeBlock/CodeBlock.js.map +7 -1
  7. package/dist/src/components/CodeBlock/index.js +29 -2
  8. package/dist/src/components/CodeBlock/index.js.map +7 -1
  9. package/dist/src/components/Common/Common.js +59 -16
  10. package/dist/src/components/Common/Common.js.map +7 -1
  11. package/dist/src/components/Common/Logos.d.ts +6 -0
  12. package/dist/src/components/Common/Logos.d.ts.map +1 -0
  13. package/dist/src/components/Common/Logos.js +93 -0
  14. package/dist/src/components/Common/Logos.js.map +7 -0
  15. package/dist/src/components/Common/index.d.ts +1 -0
  16. package/dist/src/components/Common/index.d.ts.map +1 -1
  17. package/dist/src/components/Common/index.js +25 -2
  18. package/dist/src/components/Common/index.js.map +7 -1
  19. package/dist/src/components/NetFoundry/Divider/Divider.js +46 -5
  20. package/dist/src/components/NetFoundry/Divider/Divider.js.map +7 -1
  21. package/dist/src/components/NetFoundry/Divider/index.js +23 -2
  22. package/dist/src/components/NetFoundry/Divider/index.js.map +7 -1
  23. package/dist/src/components/NetFoundry/index.js +23 -2
  24. package/dist/src/components/NetFoundry/index.js.map +7 -1
  25. package/dist/src/components/NetFoundryFooter/NetFoundryFooter.d.ts +2 -21
  26. package/dist/src/components/NetFoundryFooter/NetFoundryFooter.d.ts.map +1 -1
  27. package/dist/src/components/NetFoundryFooter/NetFoundryFooter.js +115 -58
  28. package/dist/src/components/NetFoundryFooter/NetFoundryFooter.js.map +7 -1
  29. package/dist/src/components/NetFoundryFooter/defaults.js +50 -23
  30. package/dist/src/components/NetFoundryFooter/defaults.js.map +7 -1
  31. package/dist/src/components/NetFoundryFooter/index.js +23 -2
  32. package/dist/src/components/NetFoundryFooter/index.js.map +7 -1
  33. package/dist/src/components/NetFoundryFooter/types.d.ts +27 -0
  34. package/dist/src/components/NetFoundryFooter/types.d.ts.map +1 -0
  35. package/dist/src/components/NetFoundryFooter/types.js +53 -0
  36. package/dist/src/components/NetFoundryFooter/types.js.map +7 -0
  37. package/dist/src/components/NetFoundryHighlight/NetFoundryHighlight.js +32 -5
  38. package/dist/src/components/NetFoundryHighlight/NetFoundryHighlight.js.map +7 -1
  39. package/dist/src/components/NetFoundryHighlight/index.js +29 -2
  40. package/dist/src/components/NetFoundryHighlight/index.js.map +7 -1
  41. package/dist/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.js +52 -7
  42. package/dist/src/components/NetFoundryHorizontalSection/NetFoundryHorizontalSection.js.map +7 -1
  43. package/dist/src/components/NetFoundryHorizontalSection/index.js +29 -2
  44. package/dist/src/components/NetFoundryHorizontalSection/index.js.map +7 -1
  45. package/dist/src/components/NetFoundryLayout/NetFoundryLayout.js +111 -34
  46. package/dist/src/components/NetFoundryLayout/NetFoundryLayout.js.map +7 -1
  47. package/dist/src/components/NetFoundryLayout/index.js +23 -2
  48. package/dist/src/components/NetFoundryLayout/index.js.map +7 -1
  49. package/dist/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.js +40 -13
  50. package/dist/src/components/NetFoundryNavbarItems/NetFoundryNavbarItems.js.map +7 -1
  51. package/dist/src/components/NetFoundryNavbarItems/index.js +29 -2
  52. package/dist/src/components/NetFoundryNavbarItems/index.js.map +7 -1
  53. package/dist/src/components/OsTabs/OsTabs.js +53 -17
  54. package/dist/src/components/OsTabs/OsTabs.js.map +7 -1
  55. package/dist/src/components/OsTabs/index.js +29 -2
  56. package/dist/src/components/OsTabs/index.js.map +7 -1
  57. package/dist/src/components/ProductSearch/ProductSearch.js +243 -122
  58. package/dist/src/components/ProductSearch/ProductSearch.js.map +7 -1
  59. package/dist/src/components/ProductSearch/index.js +42 -4
  60. package/dist/src/components/ProductSearch/index.js.map +7 -1
  61. package/dist/src/components/StarUs/StarUs.js +45 -6
  62. package/dist/src/components/StarUs/StarUs.js.map +7 -1
  63. package/dist/src/components/StarUs/index.js +39 -2
  64. package/dist/src/components/StarUs/index.js.map +7 -1
  65. package/dist/src/components/index.js +45 -13
  66. package/dist/src/components/index.js.map +7 -1
  67. package/dist/src/config.d.ts +9 -0
  68. package/dist/src/config.d.ts.map +1 -0
  69. package/dist/src/config.js +34 -0
  70. package/dist/src/config.js.map +7 -0
  71. package/dist/src/css-modules.d.js +2 -0
  72. package/dist/src/css-modules.d.js.map +7 -0
  73. package/dist/src/docusaurus-envhelper.js +111 -64
  74. package/dist/src/docusaurus-envhelper.js.map +7 -1
  75. package/dist/src/docusaurus-plugins/index.js +35 -8
  76. package/dist/src/docusaurus-plugins/index.js.map +7 -1
  77. package/dist/src/docusaurus-plugins/logger.js +66 -38
  78. package/dist/src/docusaurus-plugins/logger.js.map +7 -1
  79. package/dist/src/docusaurus-plugins/remarkCodeSections.js +127 -94
  80. package/dist/src/docusaurus-plugins/remarkCodeSections.js.map +7 -1
  81. package/dist/src/docusaurus-plugins/remarkReplaceMetaUrl.js +50 -22
  82. package/dist/src/docusaurus-plugins/remarkReplaceMetaUrl.js.map +7 -1
  83. package/dist/src/docusaurus-plugins/remarkScopedPath.js +78 -46
  84. package/dist/src/docusaurus-plugins/remarkScopedPath.js.map +7 -1
  85. package/dist/src/docusaurus-plugins/remarkYamlTable.js +84 -49
  86. package/dist/src/docusaurus-plugins/remarkYamlTable.js.map +7 -1
  87. package/dist/src/docusaurus-plugins/remarkYouTube.js +65 -42
  88. package/dist/src/docusaurus-plugins/remarkYouTube.js.map +7 -1
  89. package/dist/src/docusaurus-plugins/timedPlugin.js +42 -15
  90. package/dist/src/docusaurus-plugins/timedPlugin.js.map +7 -1
  91. package/dist/src/docusaurus.d.js +2 -0
  92. package/dist/src/docusaurus.d.js.map +7 -0
  93. package/dist/src/index.d.ts.map +1 -1
  94. package/dist/src/index.js +63 -31
  95. package/dist/src/index.js.map +7 -1
  96. package/dist/src/node.js +23 -7
  97. package/dist/src/node.js.map +7 -1
  98. package/dist/src/options.d.ts +7 -0
  99. package/dist/src/options.d.ts.map +1 -1
  100. package/dist/src/options.js +17 -2
  101. package/dist/src/options.js.map +7 -1
  102. package/dist/src/plugins.js +23 -7
  103. package/dist/src/plugins.js.map +7 -1
  104. package/dist/src/ui.js +25 -8
  105. package/dist/src/ui.js.map +7 -1
  106. package/dist/src/version.js +29 -2
  107. package/dist/src/version.js.map +7 -1
  108. package/dist/theme/BlogPostPage/Metadata.js +35 -2
  109. package/dist/theme/BlogPostPage/Metadata.js.map +7 -1
  110. package/dist/theme/BlogPostPage/StructuredData.js +35 -2
  111. package/dist/theme/BlogPostPage/StructuredData.js.map +7 -1
  112. package/dist/theme/BlogPostPage/index.js +98 -24
  113. package/dist/theme/BlogPostPage/index.js.map +7 -1
  114. package/dist/theme/DocSearch/index.js +95 -27
  115. package/dist/theme/DocSearch/index.js.map +7 -1
  116. package/dist/theme/Layout/index.js +81 -35
  117. package/dist/theme/Layout/index.js.map +7 -1
  118. package/dist/theme/Navbar/Content/index.js +69 -26
  119. package/dist/theme/Navbar/Content/index.js.map +7 -1
  120. package/dist/theme/Navbar/Logo/index.d.ts.map +1 -1
  121. package/dist/theme/Navbar/Logo/index.js +87 -42
  122. package/dist/theme/Navbar/Logo/index.js.map +7 -1
  123. package/dist/theme/OsTabs/index.js +50 -19
  124. package/dist/theme/OsTabs/index.js.map +7 -1
  125. package/dist/theme/SearchBar/index.js +89 -34
  126. package/dist/theme/SearchBar/index.js.map +7 -1
  127. package/package.json +11 -25
  128. package/css/layout.css +0 -14
  129. package/css/legacy.css +0 -2313
  130. package/css/tabs-v1-gradient.css +0 -92
  131. package/css/tabs-v2-glass.css +0 -116
  132. package/css/tabs-v3-minimal.css +0 -86
  133. package/css/tabs-v4-segmented.css +0 -85
  134. package/css/tabs-v5-neon.css +0 -99
  135. package/css/tabs-v6-neumorphic.css +0 -89
  136. package/css/tabs-v7-brutalist.css +0 -81
  137. package/css/tabs-v8-float.css +0 -114
  138. package/css/tabs-v9-line.css +0 -104
  139. package/css/theme.css +0 -72
  140. package/css/vars-dark.css +0 -7
  141. package/css/vars.css +0 -8
@@ -1,114 +0,0 @@
1
- /* ==========================================================================
2
- TABS V8 - Floating Cards
3
- Each tab as independent floating card, elevation on select
4
- ========================================================================== */
5
-
6
- :root {
7
- --nf-float-bg: transparent;
8
- --nf-card-bg: #ffffff;
9
- --nf-card-bg-hover: #f8fafc;
10
- --nf-card-bg-active: #ffffff;
11
- --nf-card-text: #64748b;
12
- --nf-card-text-active: #0f172a;
13
- --nf-card-border: rgba(0, 0, 0, 0.08);
14
- --nf-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
15
- --nf-card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
16
- --nf-card-shadow-active: 0 8px 24px rgba(0, 0, 0, 0.12);
17
- --nf-card-accent: linear-gradient(135deg, #0068f9 0%, #00d4ff 100%);
18
- --nf-panel-bg: #ffffff;
19
- --nf-panel-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
20
- }
21
-
22
- html[data-theme="dark"] {
23
- --nf-float-bg: transparent;
24
- --nf-card-bg: #1e293b;
25
- --nf-card-bg-hover: #334155;
26
- --nf-card-bg-active: #1e293b;
27
- --nf-card-text: #94a3b8;
28
- --nf-card-text-active: #f1f5f9;
29
- --nf-card-border: rgba(255, 255, 255, 0.06);
30
- --nf-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
31
- --nf-card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.3);
32
- --nf-card-shadow-active: 0 8px 24px rgba(0, 0, 0, 0.4);
33
- --nf-card-accent: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
34
- --nf-panel-bg: #1e293b;
35
- --nf-panel-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
36
- }
37
-
38
- .tabs {
39
- display: flex;
40
- flex-wrap: wrap;
41
- gap: 10px;
42
- padding: 8px 4px;
43
- background: var(--nf-float-bg);
44
- border: none;
45
- border-radius: 0;
46
- margin-bottom: 10px;
47
- }
48
-
49
- .tabs__item {
50
- position: relative;
51
- padding: 14px 24px;
52
- font-size: 0.875rem;
53
- font-weight: 500;
54
- color: var(--nf-card-text);
55
- background: var(--nf-card-bg);
56
- border: 1px solid var(--nf-card-border);
57
- border-radius: 12px;
58
- cursor: pointer;
59
- box-shadow: var(--nf-card-shadow);
60
- transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
61
- overflow: hidden;
62
- }
63
-
64
- .tabs__item::before {
65
- content: '';
66
- position: absolute;
67
- top: 0;
68
- left: 0;
69
- right: 0;
70
- height: 3px;
71
- background: var(--nf-card-accent);
72
- transform: scaleX(0);
73
- transition: transform 0.25s ease;
74
- }
75
-
76
- .tabs__item:hover {
77
- color: var(--nf-card-text-active);
78
- background: var(--nf-card-bg-hover);
79
- box-shadow: var(--nf-card-shadow-hover);
80
- transform: translateY(-2px);
81
- }
82
-
83
- .tabs__item:hover::before {
84
- transform: scaleX(0.5);
85
- }
86
-
87
- .tabs__item.tabs__item--active {
88
- color: var(--nf-card-text-active);
89
- background: var(--nf-card-bg-active);
90
- font-weight: 600;
91
- box-shadow: var(--nf-card-shadow-active);
92
- transform: translateY(-4px);
93
- }
94
-
95
- .tabs__item.tabs__item--active::before {
96
- transform: scaleX(1);
97
- }
98
-
99
- [class*="tabItem_"][role="tabpanel"] {
100
- background: var(--nf-panel-bg);
101
- border: 1px solid var(--nf-card-border);
102
- border-radius: 16px;
103
- padding: 1.75rem;
104
- box-shadow: var(--nf-panel-shadow);
105
- animation: floatUp 0.3s ease-out;
106
- }
107
-
108
- @keyframes floatUp {
109
- from { opacity: 0; transform: translateY(12px); }
110
- to { opacity: 1; transform: translateY(0); }
111
- }
112
-
113
- .margin-top--md { margin-top: 0 !important; }
114
- [hidden] { display: none !important; }
@@ -1,104 +0,0 @@
1
- /* ==========================================================================
2
- TABS V9 - Sliding Line
3
- Clean text tabs with animated line that slides between items
4
- ========================================================================== */
5
-
6
- :root {
7
- --nf-line-bg: transparent;
8
- --nf-line-border: #e5e7eb;
9
- --nf-line-text: #6b7280;
10
- --nf-line-text-hover: #374151;
11
- --nf-line-text-active: #111827;
12
- --nf-line-accent: #0068f9;
13
- --nf-line-accent-glow: rgba(0, 104, 249, 0.15);
14
- --nf-panel-bg: #fafafa;
15
- --nf-panel-border: #e5e7eb;
16
- }
17
-
18
- html[data-theme="dark"] {
19
- --nf-line-bg: transparent;
20
- --nf-line-border: #374151;
21
- --nf-line-text: #9ca3af;
22
- --nf-line-text-hover: #d1d5db;
23
- --nf-line-text-active: #f9fafb;
24
- --nf-line-accent: #38bdf8;
25
- --nf-line-accent-glow: rgba(56, 189, 248, 0.15);
26
- --nf-panel-bg: #1f2937;
27
- --nf-panel-border: #374151;
28
- }
29
-
30
- .tabs {
31
- display: flex;
32
- flex-wrap: wrap;
33
- gap: 0;
34
- padding: 0;
35
- background: var(--nf-line-bg);
36
- border: none;
37
- border-bottom: 2px solid var(--nf-line-border);
38
- border-radius: 0;
39
- position: relative;
40
- }
41
-
42
- .tabs__item {
43
- position: relative;
44
- padding: 16px 28px;
45
- font-size: 0.9375rem;
46
- font-weight: 500;
47
- color: var(--nf-line-text);
48
- background: transparent;
49
- border: none;
50
- border-radius: 0;
51
- cursor: pointer;
52
- transition: color 0.2s ease;
53
- }
54
-
55
- .tabs__item:hover {
56
- color: var(--nf-line-text-hover);
57
- }
58
-
59
- .tabs__item.tabs__item--active {
60
- color: var(--nf-line-text-active);
61
- font-weight: 600;
62
- }
63
-
64
- /* Animated underline */
65
- .tabs__item::after {
66
- content: '';
67
- position: absolute;
68
- bottom: -2px;
69
- left: 50%;
70
- width: 0;
71
- height: 3px;
72
- background: var(--nf-line-accent);
73
- border-radius: 3px 3px 0 0;
74
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
75
- transform: translateX(-50%);
76
- }
77
-
78
- .tabs__item:hover::after {
79
- width: 30%;
80
- background: var(--nf-line-text-hover);
81
- }
82
-
83
- .tabs__item.tabs__item--active::after {
84
- width: calc(100% - 24px);
85
- background: var(--nf-line-accent);
86
- box-shadow: 0 0 12px var(--nf-line-accent-glow);
87
- }
88
-
89
- [class*="tabItem_"][role="tabpanel"] {
90
- background: var(--nf-panel-bg);
91
- border: 1px solid var(--nf-panel-border);
92
- border-top: none;
93
- border-radius: 0 0 10px 10px;
94
- padding: 1.5rem;
95
- animation: lineSlide 0.25s ease-out;
96
- }
97
-
98
- @keyframes lineSlide {
99
- from { opacity: 0; transform: translateX(-10px); }
100
- to { opacity: 1; transform: translateX(0); }
101
- }
102
-
103
- .margin-top--md { margin-top: 0 !important; }
104
- [hidden] { display: none !important; }
package/css/theme.css DELETED
@@ -1,72 +0,0 @@
1
- /**
2
- * NetFoundry Docusaurus Theme - Combined Styles
3
- *
4
- * This file is automatically loaded by the theme via getClientModules().
5
- *
6
- * Consuming projects no longer need to manually add these imports
7
- * to their custom.css files.
8
- */
9
-
10
- /* CSS variables for light mode */
11
- @import "./vars.css";
12
-
13
- /* CSS variables for dark mode */
14
- @import "./vars-dark.css";
15
-
16
- /* Layout styles */
17
- @import "./layout.css";
18
-
19
- /* Legacy design system variables and comprehensive styling */
20
- @import "./legacy.css";
21
-
22
- /* Migrated from unified-doc custom.css */
23
- :root {
24
- --ziti-landing-max-width: 1800px;
25
- --ifm-container-width-xl: 1400px;
26
- --ziti-star-us-height: 1px;
27
- }
28
-
29
- .navbar__brand {
30
- margin-right: 0;
31
- display:flex;
32
- align-items:center;
33
- justify-content: end;
34
- }
35
- .navbar__logo_nf {
36
- margin-right: 0;
37
- height: var(--ifm-navbar-height);
38
- }
39
- .navbar__logo {
40
- margin-right: 0;
41
- height: 40px;
42
- width: 40px;
43
- margin-left: 10px;
44
- }
45
- .clean-btn svg {
46
- height: 30px;
47
- width: 30px;
48
- }
49
-
50
- .DocSearch-Button {
51
- background: #ebedf0;
52
- color: var(--ifm-color-primary);
53
- }
54
-
55
- .main-wrapper {
56
- article {
57
- padding-bottom: 2em;
58
- }
59
- > div {
60
- max-width: var(--ziti-landing-max-width);
61
- width: 100%;
62
- }
63
- }
64
-
65
- .navbar .navbar__inner {
66
- margin: 0 auto;
67
- max-width: var(--ziti-landing-max-width);
68
- }
69
-
70
- .navbar {
71
- padding-top: 0;
72
- }
package/css/vars-dark.css DELETED
@@ -1,7 +0,0 @@
1
- html[data-theme="dark"] {
2
- /*--nf-docs-max-width: 100px;*/
3
- /*--nf-docs-main-color: pink;*/
4
- .container {
5
- /*background: orange;*/
6
- }
7
- }
package/css/vars.css DELETED
@@ -1,8 +0,0 @@
1
- :root {
2
- --ifm-navbar-height: 50px;
3
- --nf-docs-max-width: 1400px;
4
- /*--nf-docs-main-color: purple;*/
5
- .container {
6
- /*background: sandybrown;*/
7
- }
8
- }