@bcc-code/component-library-vue 0.0.0-dev.f264081 → 0.0.0-dev.f28f614

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/dist/theme.css CHANGED
@@ -2046,6 +2046,7 @@
2046
2046
 
2047
2047
  .bcc-capacity-indicator.is-warning {
2048
2048
  @apply ctx-yellow-subtlest;
2049
+ --bcc-capacity-indicator-circle: var(--ctx-background);
2049
2050
  }
2050
2051
 
2051
2052
  .bcc-capacity-indicator.is-full {
@@ -2516,6 +2517,7 @@
2516
2517
  @apply m-0 p-0 font-sans antialiased;
2517
2518
  -webkit-font-smoothing: antialiased;
2518
2519
  -moz-osx-font-smoothing: grayscale;
2520
+ line-height: 1.2;
2519
2521
  }
2520
2522
 
2521
2523
  hr {
@@ -1,3 +1,4 @@
1
+ import { BCC_CONTEXT } from '@/contexts';
1
2
  export type CapacityIndicatorProps = {
2
3
  /** Total capacity; use -1 for “unlimited” (shows an infinity-style icon instead of a bar). */
3
4
  total: number;
@@ -11,6 +12,8 @@ export type CapacityIndicatorProps = {
11
12
  squared?: boolean;
12
13
  /** When true, applies warning/full color states (e.g. color change at high usage). */
13
14
  colored?: boolean;
15
+ /** Design context (e.g. neutral, brand) used for background and text color. */
16
+ context?: BCC_CONTEXT;
14
17
  };
15
18
  declare const __VLS_export: import("vue").DefineComponent<CapacityIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CapacityIndicatorProps> & Readonly<{}>, {
16
19
  size: "xs" | "sm" | "base" | "lg";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "0.0.0-dev.f264081",
3
+ "version": "0.0.0-dev.f28f614",
4
4
  "type": "module",
5
5
  "description": "Extended Vue component library based on PrimeVue and BCC design tokens",
6
6
  "repository": "https://github.com/bcc-code/bcc-design.git",
@@ -53,7 +53,7 @@
53
53
  "create-version": "node ./scripts/version.cjs"
54
54
  },
55
55
  "dependencies": {
56
- "@bcc-code/design-tokens": "^5.1.45",
56
+ "@bcc-code/design-tokens": "^5.1.49",
57
57
  "@bcc-code/icons-vue": "^1.4.0",
58
58
  "@primeuix/themes": "^2.0.3",
59
59
  "@tailwindcss/vite": "^4.1.18",