@bcc-code/component-library-vue 1.3.0 → 1.3.1

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
@@ -2331,57 +2331,63 @@
2331
2331
 
2332
2332
  /* from ./BccCapacityIndicator/BccCapacityIndicator.css */
2333
2333
  @layer components {
2334
- .bcc-capacity-indicator {
2335
- @apply text-base;
2336
- }
2334
+ .bcc-capacity-indicator {
2335
+ @apply text-base;
2336
+ }
2337
2337
 
2338
- .bcc-capacity-indicator.xs {
2339
- @apply text-xs;
2340
- }
2338
+ .bcc-capacity-indicator.xs {
2339
+ @apply text-xs;
2340
+ }
2341
2341
 
2342
- .bcc-capacity-indicator.sm {
2343
- @apply text-sm;
2344
- }
2342
+ .bcc-capacity-indicator.sm {
2343
+ @apply text-sm;
2344
+ }
2345
2345
 
2346
- .bcc-capacity-indicator.lg {
2347
- @apply text-xl;
2348
- }
2346
+ .bcc-capacity-indicator.lg {
2347
+ @apply text-xl;
2348
+ }
2349
2349
 
2350
- .bcc-capacity-indicator {
2351
- --bcc-capacity-indicator-background: transparent;
2352
- --bcc-capacity-indicator-text: var(--ctx-text);
2353
- --bcc-capacity-indicator-circle: var(--ctx-background-pressed);
2354
- --bcc-capacity-indicator-circle-used: var(--ctx-border);
2355
- background: var(--bcc-capacity-indicator-background);
2356
- @apply ctx-gray-subtlest;
2357
- }
2350
+ .bcc-capacity-indicator {
2351
+ --bcc-capacity-indicator-background: transparent;
2352
+ --bcc-capacity-indicator-text: var(--ctx-text);
2353
+ --bcc-capacity-indicator-circle: var(--ctx-background);
2354
+ --bcc-capacity-indicator-circle-used: var(--color-brand-500);
2355
+ background: var(--bcc-capacity-indicator-background);
2356
+ @apply ctx-gray-subtlest;
2357
+ }
2358
2358
 
2359
- .bcc-capacity-indicator.colored {
2360
- --bcc-capacity-indicator-background: var(--ctx-background);
2361
- @apply ctx-blue-subtlest;
2362
- }
2359
+ .bcc-capacity-indicator.colored {
2360
+ --bcc-capacity-indicator-background: var(--ctx-background);
2361
+ --bcc-capacity-indicator-circle: var(--ctx-background-hover);
2362
+ --bcc-capacity-indicator-circle-used: var(--ctx-border);
2363
+ @apply ctx-blue-subtlest;
2364
+ }
2363
2365
 
2364
- .bcc-capacity-indicator .text {
2365
- color: var(--bcc-capacity-indicator-text);
2366
- }
2367
- .bcc-capacity-indicator .circle {
2368
- stroke: var(--bcc-capacity-indicator-circle);
2369
- }
2370
- .bcc-capacity-indicator .circle-used {
2371
- stroke: var(--bcc-capacity-indicator-circle-used);
2372
- }
2366
+ .bcc-capacity-indicator .text {
2367
+ color: var(--bcc-capacity-indicator-text);
2368
+ }
2369
+ .bcc-capacity-indicator .circle {
2370
+ stroke: var(--bcc-capacity-indicator-circle);
2371
+ }
2372
+ .bcc-capacity-indicator .circle-used {
2373
+ stroke: var(--bcc-capacity-indicator-circle-used);
2374
+ }
2373
2375
 
2374
- .bcc-capacity-indicator.is-warning {
2375
- @apply ctx-yellow-subtlest;
2376
- --bcc-capacity-indicator-circle: var(--ctx-background);
2377
- }
2376
+ .bcc-capacity-indicator.is-warning {
2377
+ @apply ctx-yellow-subtlest;
2378
+ --bcc-capacity-indicator-circle-used: var(--ctx-border);
2379
+ }
2378
2380
 
2379
- .bcc-capacity-indicator.is-full {
2380
- @apply ctx-red-subtlest;
2381
- }
2381
+ .bcc-capacity-indicator.is-full {
2382
+ @apply ctx-red-subtlest;
2383
+
2384
+ --bcc-capacity-indicator-circle: var(--ctx-background);
2385
+ --bcc-capacity-indicator-circle-used: var(--ctx-border);
2386
+ }
2382
2387
  }
2383
2388
 
2384
2389
 
2390
+
2385
2391
  /* from ./BccDialKnob/BccDialKnob.css */
2386
2392
  @layer components {
2387
2393
  .bcc-knob {
@@ -2555,60 +2561,60 @@
2555
2561
 
2556
2562
  /* from ./BccNpsScore/BccNpsScore.css */
2557
2563
  @layer components {
2558
- .bcc-nps-score {
2559
- @apply min-w-70 p-4 body-sm flex flex-col gap-y-2 select-none;
2560
- }
2564
+ .bcc-nps-score {
2565
+ @apply body-sm flex min-w-70 flex-col gap-y-2 p-4 select-none;
2566
+ }
2561
2567
 
2562
- .bcc-nps-score--heading {
2563
- @apply flex items-center justify-between;
2564
- }
2568
+ .bcc-nps-score--heading {
2569
+ @apply flex items-center justify-between;
2570
+ }
2565
2571
 
2566
- .bcc-nps-score--label {
2567
- @apply flex-1 truncate;
2568
- }
2572
+ .bcc-nps-score--label {
2573
+ @apply flex-1 truncate;
2574
+ }
2569
2575
 
2570
- .bcc-nps-score--bar {
2571
- @apply flex justify-evenly rounded-xl text-white pointer-events-none;
2572
- @apply bg-linear-to-r from-red-600 via-yellow-400 via-75% to-green-400;
2573
- }
2576
+ .bcc-nps-score--bar {
2577
+ @apply pointer-events-none flex justify-evenly rounded-xl text-white;
2578
+ @apply bg-linear-to-r from-red-600 via-yellow-400 via-75% to-green-400;
2579
+ }
2574
2580
 
2575
- .bcc-nps-score--bar.reverse {
2576
- @apply bg-linear-to-l;
2577
- }
2581
+ .bcc-nps-score--bar.reverse {
2582
+ @apply bg-linear-to-l;
2583
+ }
2578
2584
 
2579
- .bcc-nps-score--bar.disabled .bcc-nps-score--number.inactive {
2580
- @apply bg-ctx ctx-gray-subtlest text-disabled;
2581
- }
2585
+ .bcc-nps-score--bar.disabled .bcc-nps-score--number.inactive {
2586
+ @apply bg-ctx ctx-gray-subtlest text-disabled;
2587
+ }
2582
2588
 
2583
- .bcc-nps-score--number {
2584
- @apply border-border-inverse;
2585
- @apply flex h-8 flex-1 items-center justify-center border-r-2 font-bold text-sm leading-none;
2586
- @apply pointer-events-auto cursor-pointer transition-all duration-200 hover:bg-transparent;
2587
- }
2589
+ .bcc-nps-score--number {
2590
+ @apply border-inverse;
2591
+ @apply flex h-8 flex-1 items-center justify-center border-r-2 text-sm leading-none font-bold;
2592
+ @apply pointer-events-auto cursor-pointer transition-all duration-200 hover:bg-transparent;
2593
+ }
2588
2594
 
2589
- .bcc-nps-score--number:disabled {
2590
- @apply cursor-not-allowed;
2591
- }
2595
+ .bcc-nps-score--number:disabled {
2596
+ @apply cursor-not-allowed;
2597
+ }
2592
2598
 
2593
- .bcc-nps-score--number.active {
2594
- @apply pointer-events-none;
2595
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
2596
- }
2599
+ .bcc-nps-score--number.active {
2600
+ @apply pointer-events-none;
2601
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
2602
+ }
2597
2603
 
2598
- .bcc-nps-score--number:has(~ .bcc-nps-score--number.active) {
2599
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
2600
- }
2604
+ .bcc-nps-score--number:has(~ .bcc-nps-score--number.active) {
2605
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
2606
+ }
2601
2607
 
2602
- .bcc-nps-score--number.inactive {
2603
- @apply bg-ctx text-ctx ctx-gray-subtler;
2604
- }
2608
+ .bcc-nps-score--number.inactive {
2609
+ @apply bg-ctx text-ctx ctx-gray-subtler;
2610
+ }
2605
2611
 
2606
- .bcc-nps-score--number:first-child {
2607
- @apply rounded-l-xl pl-0.5;
2608
- }
2609
- .bcc-nps-score--number:last-child{
2610
- @apply rounded-r-xl border-r-0 pr-0.5;
2611
- }
2612
+ .bcc-nps-score--number:first-child {
2613
+ @apply rounded-l-xl pl-0.5;
2614
+ }
2615
+ .bcc-nps-score--number:last-child {
2616
+ @apply rounded-r-xl border-r-0 pr-0.5;
2617
+ }
2612
2618
  }
2613
2619
 
2614
2620
 
@@ -24,6 +24,7 @@ export declare const roundingClasses: {
24
24
  sm: string;
25
25
  base: string;
26
26
  md: string;
27
+ lg: string;
27
28
  xl: string;
28
29
  };
29
30
  export type AspectRatioStyle = keyof typeof ratioClasses | string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
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",
@@ -54,7 +54,7 @@
54
54
  "create-version": "node ./scripts/version.cjs"
55
55
  },
56
56
  "dependencies": {
57
- "@bcc-code/design-tokens": "^5.2.1",
57
+ "@bcc-code/design-tokens": "^5.2.2",
58
58
  "@bcc-code/icons-vue": "^1.4.0",
59
59
  "@primeuix/themes": "^2.0.3",
60
60
  "@tailwindcss/vite": "^4.1.18",