@slabui/theme-react 0.0.2 → 0.0.4
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/CHANGELOG.md +22 -0
- package/README.md +2 -2
- package/dist/editor/index.mjs +12 -76
- package/dist/editor/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +1 -0
- package/dist/next/index.mjs +1 -1
- package/dist/server-BQSWYmwn.mjs +4 -0
- package/dist/server-BQSWYmwn.mjs.map +1 -0
- package/dist/vite/index.mjs +1 -1
- package/package.json +10 -5
- package/dist/server-CVSf3fOz.mjs +0 -4
- package/dist/server-CVSf3fOz.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @slabui/theme-react
|
|
2
2
|
|
|
3
|
+
## 0.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#75](https://github.com/slabui/ui/pull/75) [`57a40bc`](https://github.com/slabui/ui/commit/57a40bc175f35f5b28d36de20bb7ae3b6a56af6e) Thanks [@andrefelipeschulle](https://github.com/andrefelipeschulle)! - O editor de tema confere o plano da conta com mais segurança: consulta sempre o slabui.com (o `registries` do `slabui.json` não muda a conta no pacote publicado) e só libera os recursos Pro com a resposta assinada pelo site para o seu token. Sem rede, o Pro vale até a assinatura vencer (1 hora).
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @slabui/theme-core@0.0.4
|
|
11
|
+
|
|
12
|
+
## 0.0.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#72](https://github.com/slabui/ui/pull/72) [`2d8b66f`](https://github.com/slabui/ui/commit/2d8b66f52914906a722d161c8a998921e886fa19) Thanks [@andrefelipeschulle](https://github.com/andrefelipeschulle)! - Corrija o `ThemeEditor` no Next com Turbopack ("dynamic usage of require is not supported"): o bundle do editor embutia o `use-sync-external-store` (CommonJS) e o `react-dom`. Agora o `use-sync-external-store` é dependência e o `react-dom` é peer dependency, os dois fora do bundle, e o build falha se o bundle voltar a ter `require`.
|
|
17
|
+
|
|
18
|
+
A raiz do pacote também exporta o atributo do tema (`themeAttribute`, `THEME_ATTRIBUTE`, `THEME_ENV`, `themeSelector`, `isThemeName`), que pode ser usado no layout (Server Component): `import { ThemeEditor, themeAttribute } from "@slabui/theme-react"`.
|
|
19
|
+
|
|
20
|
+
A interface do editor agora está em inglês.
|
|
21
|
+
|
|
22
|
+
- Updated dependencies []:
|
|
23
|
+
- @slabui/theme-core@0.0.3
|
|
24
|
+
|
|
3
25
|
## 0.0.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
The SlabUI theme editor and its Vite and Next.js plugins: edit the CSS
|
|
4
4
|
variables of your theme in the running app and save them back to your CSS.
|
|
5
5
|
|
|
6
|
-
[](https://slabui.com/docs/
|
|
6
|
+
[](https://slabui.com/docs/theme-editor/overview)
|
|
7
7
|
|
|
8
8
|
Installation, the editor and the plugin options are in the
|
|
9
|
-
[documentation](https://slabui.com/docs/
|
|
9
|
+
[documentation](https://slabui.com/docs/theme-editor/overview).
|
|
10
10
|
|
|
11
11
|
## License
|
|
12
12
|
|