@bcc-code/component-library-vue 1.3.14 → 1.3.16
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 +5 -3
- package/dist/component-library.js +3992 -4001
- package/dist/component-library.umd.cjs +195 -195
- package/dist/sfc-styles.css +1 -0
- package/dist/theme.css +5 -2
- package/dist-types/components/custom/BccAppNavigation/BccAppNavigation.vue.d.ts +1 -0
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -64,10 +64,12 @@ export default defineConfig({
|
|
|
64
64
|
@import '@bcc-code/component-library-vue/theme.css';
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
That single import is enough. `theme.css`
|
|
67
|
+
That single import is enough. `theme.css` includes:
|
|
68
68
|
|
|
69
|
-
-
|
|
70
|
-
-
|
|
69
|
+
- BCC design tokens, `@theme` / `@utility` definitions, and the rest of the design-system CSS inlined from `src/style.css` (including component-specific rules such as `BccInput` icon sizing and `BccButton` context tokens).
|
|
70
|
+
- `library-utilities.css`, the pre-compiled Tailwind **utility class** rules used inside library templates (which your build cannot infer from the published JS).
|
|
71
|
+
|
|
72
|
+
Do **not** rely on `library-utilities.css` alone with a minimal “base” import: you still need the full `theme.css` (or `style.css` for Option 2) so non-utility component styles and tokens are present.
|
|
71
73
|
|
|
72
74
|
### Styles Option 2 — Pre-built CSS only
|
|
73
75
|
|