@tuwaio/docs-ui 0.0.36 → 0.0.37
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/dist/components/Orb.cjs +60 -6
- package/dist/components/Orb.js +60 -6
- package/package.json +10 -10
package/dist/components/Orb.cjs
CHANGED
|
@@ -78,7 +78,15 @@ const getCosmicFilter = (type, id) => {
|
|
|
78
78
|
case "satellite":
|
|
79
79
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("filter", { id, x: "-20%", y: "-20%", width: "140%", height: "140%", children: [
|
|
80
80
|
starField("0.06", "9", "14s"),
|
|
81
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feTurbulence", { type: "fractalNoise", baseFrequency: "0.018", numOctaves: "2", seed: "4", result: "nebulaNoise", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feTurbulence", { type: "fractalNoise", baseFrequency: "0.018", numOctaves: "2", seed: "4", result: "nebulaNoise", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
82
|
+
"animate",
|
|
83
|
+
{
|
|
84
|
+
attributeName: "baseFrequency",
|
|
85
|
+
values: "0.018;0.024;0.016;0.018",
|
|
86
|
+
dur: "18s",
|
|
87
|
+
repeatCount: "indefinite"
|
|
88
|
+
}
|
|
89
|
+
) }),
|
|
82
90
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
83
91
|
"feColorMatrix",
|
|
84
92
|
{
|
|
@@ -118,7 +126,15 @@ const getCosmicFilter = (type, id) => {
|
|
|
118
126
|
case "orbit":
|
|
119
127
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("filter", { id, x: "-20%", y: "-20%", width: "140%", height: "140%", children: [
|
|
120
128
|
starField("0.15", "42", "22s"),
|
|
121
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feTurbulence", { type: "fractalNoise", baseFrequency: "0.012", numOctaves: "3", seed: "12", result: "nebulaNoise", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
129
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feTurbulence", { type: "fractalNoise", baseFrequency: "0.012", numOctaves: "3", seed: "12", result: "nebulaNoise", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
130
|
+
"animate",
|
|
131
|
+
{
|
|
132
|
+
attributeName: "baseFrequency",
|
|
133
|
+
values: "0.012;0.018;0.010;0.012",
|
|
134
|
+
dur: "20s",
|
|
135
|
+
repeatCount: "indefinite"
|
|
136
|
+
}
|
|
137
|
+
) }),
|
|
122
138
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
123
139
|
"feColorMatrix",
|
|
124
140
|
{
|
|
@@ -132,7 +148,17 @@ const getCosmicFilter = (type, id) => {
|
|
|
132
148
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feMergeNode", { in: "nebula" }),
|
|
133
149
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feMergeNode", { in: "stars" })
|
|
134
150
|
] }),
|
|
135
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
151
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
152
|
+
"feDisplacementMap",
|
|
153
|
+
{
|
|
154
|
+
in: "preMerge",
|
|
155
|
+
in2: "nebulaNoise",
|
|
156
|
+
scale: "18",
|
|
157
|
+
xChannelSelector: "R",
|
|
158
|
+
yChannelSelector: "G",
|
|
159
|
+
result: "warped"
|
|
160
|
+
}
|
|
161
|
+
),
|
|
136
162
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feGaussianBlur", { in: "warped", stdDeviation: "0.8", result: "softCosmic" }),
|
|
137
163
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feComposite", { in: "softCosmic", in2: "SourceGraphic", operator: "in" })
|
|
138
164
|
] });
|
|
@@ -153,7 +179,17 @@ const getCosmicFilter = (type, id) => {
|
|
|
153
179
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feMergeNode", { in: "nebula" }),
|
|
154
180
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feMergeNode", { in: "stars" })
|
|
155
181
|
] }),
|
|
156
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
182
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
183
|
+
"feDisplacementMap",
|
|
184
|
+
{
|
|
185
|
+
in: "preMerge",
|
|
186
|
+
in2: "nebulaNoise",
|
|
187
|
+
scale: "28",
|
|
188
|
+
xChannelSelector: "R",
|
|
189
|
+
yChannelSelector: "B",
|
|
190
|
+
result: "warped"
|
|
191
|
+
}
|
|
192
|
+
),
|
|
157
193
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feGaussianBlur", { in: "warped", stdDeviation: "1.5", result: "softCosmic" }),
|
|
158
194
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feComposite", { in: "softCosmic", in2: "SourceGraphic", operator: "in" })
|
|
159
195
|
] });
|
|
@@ -174,7 +210,17 @@ const getCosmicFilter = (type, id) => {
|
|
|
174
210
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feMergeNode", { in: "nebula" }),
|
|
175
211
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feMergeNode", { in: "stars" })
|
|
176
212
|
] }),
|
|
177
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
213
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
214
|
+
"feDisplacementMap",
|
|
215
|
+
{
|
|
216
|
+
in: "preMerge",
|
|
217
|
+
in2: "nebulaNoise",
|
|
218
|
+
scale: "40",
|
|
219
|
+
xChannelSelector: "G",
|
|
220
|
+
yChannelSelector: "B",
|
|
221
|
+
result: "warped"
|
|
222
|
+
}
|
|
223
|
+
),
|
|
178
224
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feGaussianBlur", { in: "warped", stdDeviation: "1.0", result: "softCosmic" }),
|
|
179
225
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feComposite", { in: "softCosmic", in2: "SourceGraphic", operator: "in" })
|
|
180
226
|
] });
|
|
@@ -210,7 +256,15 @@ const getCosmicFilter = (type, id) => {
|
|
|
210
256
|
default:
|
|
211
257
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("filter", { id, x: "-20%", y: "-20%", width: "140%", height: "140%", children: [
|
|
212
258
|
starField("0.10", "3", "28s"),
|
|
213
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feTurbulence", { type: "fractalNoise", baseFrequency: "0.014", numOctaves: "2", seed: "3", result: "nebulaNoise", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
259
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("feTurbulence", { type: "fractalNoise", baseFrequency: "0.014", numOctaves: "2", seed: "3", result: "nebulaNoise", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
260
|
+
"animate",
|
|
261
|
+
{
|
|
262
|
+
attributeName: "baseFrequency",
|
|
263
|
+
values: "0.014;0.020;0.010;0.014",
|
|
264
|
+
dur: "22s",
|
|
265
|
+
repeatCount: "indefinite"
|
|
266
|
+
}
|
|
267
|
+
) }),
|
|
214
268
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
215
269
|
"feColorMatrix",
|
|
216
270
|
{
|
package/dist/components/Orb.js
CHANGED
|
@@ -45,7 +45,15 @@ const getCosmicFilter = (type, id) => {
|
|
|
45
45
|
case "satellite":
|
|
46
46
|
return /* @__PURE__ */ jsxs("filter", { id, x: "-20%", y: "-20%", width: "140%", height: "140%", children: [
|
|
47
47
|
starField("0.06", "9", "14s"),
|
|
48
|
-
/* @__PURE__ */ jsx("feTurbulence", { type: "fractalNoise", baseFrequency: "0.018", numOctaves: "2", seed: "4", result: "nebulaNoise", children: /* @__PURE__ */ jsx(
|
|
48
|
+
/* @__PURE__ */ jsx("feTurbulence", { type: "fractalNoise", baseFrequency: "0.018", numOctaves: "2", seed: "4", result: "nebulaNoise", children: /* @__PURE__ */ jsx(
|
|
49
|
+
"animate",
|
|
50
|
+
{
|
|
51
|
+
attributeName: "baseFrequency",
|
|
52
|
+
values: "0.018;0.024;0.016;0.018",
|
|
53
|
+
dur: "18s",
|
|
54
|
+
repeatCount: "indefinite"
|
|
55
|
+
}
|
|
56
|
+
) }),
|
|
49
57
|
/* @__PURE__ */ jsx(
|
|
50
58
|
"feColorMatrix",
|
|
51
59
|
{
|
|
@@ -85,7 +93,15 @@ const getCosmicFilter = (type, id) => {
|
|
|
85
93
|
case "orbit":
|
|
86
94
|
return /* @__PURE__ */ jsxs("filter", { id, x: "-20%", y: "-20%", width: "140%", height: "140%", children: [
|
|
87
95
|
starField("0.15", "42", "22s"),
|
|
88
|
-
/* @__PURE__ */ jsx("feTurbulence", { type: "fractalNoise", baseFrequency: "0.012", numOctaves: "3", seed: "12", result: "nebulaNoise", children: /* @__PURE__ */ jsx(
|
|
96
|
+
/* @__PURE__ */ jsx("feTurbulence", { type: "fractalNoise", baseFrequency: "0.012", numOctaves: "3", seed: "12", result: "nebulaNoise", children: /* @__PURE__ */ jsx(
|
|
97
|
+
"animate",
|
|
98
|
+
{
|
|
99
|
+
attributeName: "baseFrequency",
|
|
100
|
+
values: "0.012;0.018;0.010;0.012",
|
|
101
|
+
dur: "20s",
|
|
102
|
+
repeatCount: "indefinite"
|
|
103
|
+
}
|
|
104
|
+
) }),
|
|
89
105
|
/* @__PURE__ */ jsx(
|
|
90
106
|
"feColorMatrix",
|
|
91
107
|
{
|
|
@@ -99,7 +115,17 @@ const getCosmicFilter = (type, id) => {
|
|
|
99
115
|
/* @__PURE__ */ jsx("feMergeNode", { in: "nebula" }),
|
|
100
116
|
/* @__PURE__ */ jsx("feMergeNode", { in: "stars" })
|
|
101
117
|
] }),
|
|
102
|
-
/* @__PURE__ */ jsx(
|
|
118
|
+
/* @__PURE__ */ jsx(
|
|
119
|
+
"feDisplacementMap",
|
|
120
|
+
{
|
|
121
|
+
in: "preMerge",
|
|
122
|
+
in2: "nebulaNoise",
|
|
123
|
+
scale: "18",
|
|
124
|
+
xChannelSelector: "R",
|
|
125
|
+
yChannelSelector: "G",
|
|
126
|
+
result: "warped"
|
|
127
|
+
}
|
|
128
|
+
),
|
|
103
129
|
/* @__PURE__ */ jsx("feGaussianBlur", { in: "warped", stdDeviation: "0.8", result: "softCosmic" }),
|
|
104
130
|
/* @__PURE__ */ jsx("feComposite", { in: "softCosmic", in2: "SourceGraphic", operator: "in" })
|
|
105
131
|
] });
|
|
@@ -120,7 +146,17 @@ const getCosmicFilter = (type, id) => {
|
|
|
120
146
|
/* @__PURE__ */ jsx("feMergeNode", { in: "nebula" }),
|
|
121
147
|
/* @__PURE__ */ jsx("feMergeNode", { in: "stars" })
|
|
122
148
|
] }),
|
|
123
|
-
/* @__PURE__ */ jsx(
|
|
149
|
+
/* @__PURE__ */ jsx(
|
|
150
|
+
"feDisplacementMap",
|
|
151
|
+
{
|
|
152
|
+
in: "preMerge",
|
|
153
|
+
in2: "nebulaNoise",
|
|
154
|
+
scale: "28",
|
|
155
|
+
xChannelSelector: "R",
|
|
156
|
+
yChannelSelector: "B",
|
|
157
|
+
result: "warped"
|
|
158
|
+
}
|
|
159
|
+
),
|
|
124
160
|
/* @__PURE__ */ jsx("feGaussianBlur", { in: "warped", stdDeviation: "1.5", result: "softCosmic" }),
|
|
125
161
|
/* @__PURE__ */ jsx("feComposite", { in: "softCosmic", in2: "SourceGraphic", operator: "in" })
|
|
126
162
|
] });
|
|
@@ -141,7 +177,17 @@ const getCosmicFilter = (type, id) => {
|
|
|
141
177
|
/* @__PURE__ */ jsx("feMergeNode", { in: "nebula" }),
|
|
142
178
|
/* @__PURE__ */ jsx("feMergeNode", { in: "stars" })
|
|
143
179
|
] }),
|
|
144
|
-
/* @__PURE__ */ jsx(
|
|
180
|
+
/* @__PURE__ */ jsx(
|
|
181
|
+
"feDisplacementMap",
|
|
182
|
+
{
|
|
183
|
+
in: "preMerge",
|
|
184
|
+
in2: "nebulaNoise",
|
|
185
|
+
scale: "40",
|
|
186
|
+
xChannelSelector: "G",
|
|
187
|
+
yChannelSelector: "B",
|
|
188
|
+
result: "warped"
|
|
189
|
+
}
|
|
190
|
+
),
|
|
145
191
|
/* @__PURE__ */ jsx("feGaussianBlur", { in: "warped", stdDeviation: "1.0", result: "softCosmic" }),
|
|
146
192
|
/* @__PURE__ */ jsx("feComposite", { in: "softCosmic", in2: "SourceGraphic", operator: "in" })
|
|
147
193
|
] });
|
|
@@ -177,7 +223,15 @@ const getCosmicFilter = (type, id) => {
|
|
|
177
223
|
default:
|
|
178
224
|
return /* @__PURE__ */ jsxs("filter", { id, x: "-20%", y: "-20%", width: "140%", height: "140%", children: [
|
|
179
225
|
starField("0.10", "3", "28s"),
|
|
180
|
-
/* @__PURE__ */ jsx("feTurbulence", { type: "fractalNoise", baseFrequency: "0.014", numOctaves: "2", seed: "3", result: "nebulaNoise", children: /* @__PURE__ */ jsx(
|
|
226
|
+
/* @__PURE__ */ jsx("feTurbulence", { type: "fractalNoise", baseFrequency: "0.014", numOctaves: "2", seed: "3", result: "nebulaNoise", children: /* @__PURE__ */ jsx(
|
|
227
|
+
"animate",
|
|
228
|
+
{
|
|
229
|
+
attributeName: "baseFrequency",
|
|
230
|
+
values: "0.014;0.020;0.010;0.014",
|
|
231
|
+
dur: "22s",
|
|
232
|
+
repeatCount: "indefinite"
|
|
233
|
+
}
|
|
234
|
+
) }),
|
|
181
235
|
/* @__PURE__ */ jsx(
|
|
182
236
|
"feColorMatrix",
|
|
183
237
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/docs-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@tuwaio/nova-core": "^0.
|
|
52
|
+
"@tuwaio/nova-core": "^0.6.0",
|
|
53
53
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
54
54
|
"clsx": "^2.1.1",
|
|
55
|
-
"html-react-parser": "^6.1.
|
|
55
|
+
"html-react-parser": "^6.1.7",
|
|
56
56
|
"react-syntax-highlighter": "^16.1.1",
|
|
57
57
|
"tailwind-merge": "^3.6.0"
|
|
58
58
|
},
|
|
@@ -68,17 +68,17 @@
|
|
|
68
68
|
"@tailwindcss/postcss": "^4.3.3",
|
|
69
69
|
"@tailwindcss/vite": "^4.3.3",
|
|
70
70
|
"@types/node": "^26",
|
|
71
|
-
"@types/react": "^19.
|
|
72
|
-
"autoprefixer": "^10.5.
|
|
73
|
-
"next": "16.3.
|
|
71
|
+
"@types/react": "^19.3.0",
|
|
72
|
+
"autoprefixer": "^10.5.5",
|
|
73
|
+
"next": "16.3.4",
|
|
74
74
|
"nextra": "^4.6.1",
|
|
75
75
|
"nextra-theme-docs": "^4.6.1",
|
|
76
|
-
"postcss": "^8.5.
|
|
77
|
-
"postcss-cli": "^
|
|
78
|
-
"react": "^19.
|
|
76
|
+
"postcss": "^8.5.28",
|
|
77
|
+
"postcss-cli": "^12.0.0",
|
|
78
|
+
"react": "^19.3.0",
|
|
79
79
|
"tailwindcss": "^4.3.3",
|
|
80
80
|
"tsup": "^8.5.1",
|
|
81
|
-
"typescript": "
|
|
81
|
+
"typescript": "6.0.3"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsup && pnpm exec postcss src/styles/general.css -o ./dist/index.css"
|