@public-ui/themes 2.0.2 → 2.0.4-rc.0

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 (5) hide show
  1. package/README.md +2 -10
  2. package/dist/index.cjs +11703 -61419
  3. package/dist/index.d.ts +1 -481
  4. package/dist/index.mjs +11704 -61410
  5. package/package.json +10 -10
package/README.md CHANGED
@@ -23,12 +23,12 @@ Register the themes like this:
23
23
  ```tsx
24
24
  import { register } from '@public-ui/components';
25
25
  import { defineCustomElements } from '@public-ui/components/dist/loader';
26
- import { BAMF, BMF, BZStv1, DEFAULT, DESYv1, DESYv2, ECL_EC, ECL_EU, ITZBund, MAPZ, ZOLLv2, ZOLLv3 } from '@public-ui/themes';
26
+ import { BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';
27
27
 
28
28
  register(
29
29
  DEFAULT,
30
30
  // or provide an array to register multiple themes:
31
- // [BAMF, BMF, DEFAULT, BZStv1, DESYv1, DESYv2, ECL_EC, ECL_EU, ITZBund, MAPZ, ZOLLv2, ZOLLv3, TH]
31
+ // [BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund]
32
32
  defineCustomElements,
33
33
  )
34
34
  .then(() => {
@@ -45,14 +45,6 @@ register(
45
45
 
46
46
  We use **pnpm** as package manager and there is a tiny typing issue with the default typescript setup.
47
47
 
48
- **What happens?**
49
-
50
- We got a type annotation error in TypeScript.
51
-
52
- ```bash
53
- The inferred type of 'THEME' cannot be named without a reference to '.pnpm/@a11y-ui+core@***/node_modules/adopted-style-sheets/types/theming'. This is likely not portable. A type annotation is necessary.ts(2742)
54
- ```
55
-
56
48
  **What does we know?**
57
49
 
58
50
  This seems to be a general issue: