@bcc-code/component-library-vue 0.0.0-dev.db92332 → 0.0.0-dev.dbcae8b

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 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` does two things:
67
+ That single import is enough. `theme.css` includes:
68
68
 
69
- - It exposes the BCC design tokens and Tailwind utilities.
70
- - It also imports `library-utilities.css`, the pre-compiled CSS for the utility classes used **inside** the library's own components.
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
 
@@ -8339,7 +8339,7 @@ const dI = { key: 1 }, _a = /* @__PURE__ */ Le({
8339
8339
  });
8340
8340
  return (o, a) => (d(), p("div", cI, [
8341
8341
  y("div", uI, [
8342
- (d(!0), p(T, null, V(t.items, (l) => (d(), k(C(t.linkComponent ?? "a"), c({
8342
+ (d(!0), p(T, null, V(t.items, (l) => (d(), k(C(l.component ?? t.linkComponent ?? "a"), c({
8343
8343
  key: l.key,
8344
8344
  ref_for: !0
8345
8345
  }, l, {
@@ -8823,7 +8823,7 @@ const Rj = /* @__PURE__ */ Le({
8823
8823
  setup(t) {
8824
8824
  const e = t, n = $e(!1), r = $e(!1), i = we(() => LI(e.ratio));
8825
8825
  return (o, a) => (d(), p("div", {
8826
- class: S(["bcc-graphic", [Si[t.rounding], { "brightness-75 grayscale": t.grayscale, "brightness-150": t.highlight }]]),
8826
+ class: S(["bcc-graphic", [Si[t.rounding], { "bcc-gb-grayscale": t.grayscale, "bcc-gb-highlight": t.highlight }]]),
8827
8827
  style: $t(`padding-bottom: ${i.value}`)
8828
8828
  }, [
8829
8829
  t.bannerSrc ? (d(), p(T, { key: 0 }, [
@@ -9727,7 +9727,7 @@ const OC = {
9727
9727
  "aria-label": t.backTitle ? void 0 : "Back",
9728
9728
  onClick: a[0] || (a[0] = (l) => r("back"))
9729
9729
  }, [
9730
- B(ne(jI), { class: "w-6" }),
9730
+ B(ne(jI), { class: "icon-size-sm" }),
9731
9731
  t.backTitle ? (d(), p("h3", HC, D(t.backTitle), 1)) : g("", !0)
9732
9732
  ], 8, NC)),
9733
9733
  b(o.$slots, "left", {}, () => [