@tuwaio/docs-ui 0.5.0 → 0.5.2
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/README.md +3 -2
- package/dist/components/Footer.d.cts +2 -2
- package/dist/components/Footer.d.ts +2 -2
- package/dist/components/LocaleSwitcher.cjs +474 -0
- package/dist/components/LocaleSwitcher.d.cts +89 -0
- package/dist/components/LocaleSwitcher.d.ts +89 -0
- package/dist/components/LocaleSwitcher.js +448 -0
- package/dist/components/Logo.cjs +8 -2
- package/dist/components/Logo.d.cts +4 -4
- package/dist/components/Logo.d.ts +4 -4
- package/dist/components/Logo.js +9 -3
- package/dist/components/NavBar.d.cts +2 -2
- package/dist/components/NavBar.d.ts +2 -2
- package/dist/components/NoSSR.d.cts +2 -2
- package/dist/components/NoSSR.d.ts +2 -2
- package/dist/components/Orb.d.cts +4 -4
- package/dist/components/Orb.d.ts +4 -4
- package/dist/components/PolicyDocument.d.cts +2 -2
- package/dist/components/PolicyDocument.d.ts +2 -2
- package/dist/components/StarryBackground.d.cts +2 -2
- package/dist/components/StarryBackground.d.ts +2 -2
- package/dist/components/ThemeSwitcher.d.cts +2 -2
- package/dist/components/ThemeSwitcher.d.ts +2 -2
- package/dist/index.cjs +2 -0
- package/dist/index.css +443 -7
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/preferences.d.cts +2 -2
- package/dist/preferences.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Footer } from './components/Footer.cjs';
|
|
2
|
+
export { DEFAULT_LOCALES, LocaleOption, LocaleSwitcher, LocaleSwitcherProps, getLocaleFlag } from './components/LocaleSwitcher.cjs';
|
|
2
3
|
export { RemoteLogo, RemoteLogoProps } from './components/Logo.cjs';
|
|
3
4
|
export { NavProps, Navbar, SocialLink } from './components/NavBar.cjs';
|
|
4
5
|
export { default as NoSSR } from './components/NoSSR.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Footer } from './components/Footer.js';
|
|
2
|
+
export { DEFAULT_LOCALES, LocaleOption, LocaleSwitcher, LocaleSwitcherProps, getLocaleFlag } from './components/LocaleSwitcher.js';
|
|
2
3
|
export { RemoteLogo, RemoteLogoProps } from './components/Logo.js';
|
|
3
4
|
export { NavProps, Navbar, SocialLink } from './components/NavBar.js';
|
|
4
5
|
export { default as NoSSR } from './components/NoSSR.js';
|
package/dist/index.js
CHANGED
package/dist/preferences.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
/** How long the TUWA sites keep an interface setting after it is chosen (Cookie Policy). */
|
|
4
4
|
declare const PREFERENCE_DAYS = 30;
|
|
@@ -23,6 +23,6 @@ declare function expireStoredPreferences(storage: Storage, proto: Pick<Storage,
|
|
|
23
23
|
*/
|
|
24
24
|
declare function PreferenceExpiry({ keys }: {
|
|
25
25
|
keys?: string[];
|
|
26
|
-
}):
|
|
26
|
+
}): react.JSX.Element;
|
|
27
27
|
|
|
28
28
|
export { PREFERENCE_DAYS, PreferenceExpiry, expireStoredPreferences };
|
package/dist/preferences.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
/** How long the TUWA sites keep an interface setting after it is chosen (Cookie Policy). */
|
|
4
4
|
declare const PREFERENCE_DAYS = 30;
|
|
@@ -23,6 +23,6 @@ declare function expireStoredPreferences(storage: Storage, proto: Pick<Storage,
|
|
|
23
23
|
*/
|
|
24
24
|
declare function PreferenceExpiry({ keys }: {
|
|
25
25
|
keys?: string[];
|
|
26
|
-
}):
|
|
26
|
+
}): react.JSX.Element;
|
|
27
27
|
|
|
28
28
|
export { PREFERENCE_DAYS, PreferenceExpiry, expireStoredPreferences };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/docs-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@tuwaio/nova-core": "^0.10.
|
|
64
|
+
"@tuwaio/nova-core": "^0.10.2",
|
|
65
65
|
"clsx": "^2.1.1",
|
|
66
|
-
"html-react-parser": "^6.1.
|
|
66
|
+
"html-react-parser": "^6.1.9",
|
|
67
67
|
"tailwind-merge": "^3.7.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@types/node": "^26.6.5",
|
|
80
80
|
"@types/react": "^19.3.0",
|
|
81
81
|
"autoprefixer": "^10.6.1",
|
|
82
|
-
"next": "16.4.
|
|
82
|
+
"next": "16.4.3",
|
|
83
83
|
"nextra": "^4.6.1",
|
|
84
84
|
"nextra-theme-docs": "^4.6.1",
|
|
85
85
|
"postcss": "^8.5.31",
|