@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
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2334
|
+
.bcc-capacity-indicator {
|
|
2335
|
+
@apply text-base;
|
|
2336
|
+
}
|
|
2337
2337
|
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2338
|
+
.bcc-capacity-indicator.xs {
|
|
2339
|
+
@apply text-xs;
|
|
2340
|
+
}
|
|
2341
2341
|
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2342
|
+
.bcc-capacity-indicator.sm {
|
|
2343
|
+
@apply text-sm;
|
|
2344
|
+
}
|
|
2345
2345
|
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2346
|
+
.bcc-capacity-indicator.lg {
|
|
2347
|
+
@apply text-xl;
|
|
2348
|
+
}
|
|
2349
2349
|
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
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
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
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
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
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
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
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
|
-
|
|
2380
|
-
|
|
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
|
-
|
|
2559
|
-
|
|
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
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2568
|
+
.bcc-nps-score--heading {
|
|
2569
|
+
@apply flex items-center justify-between;
|
|
2570
|
+
}
|
|
2565
2571
|
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2572
|
+
.bcc-nps-score--label {
|
|
2573
|
+
@apply flex-1 truncate;
|
|
2574
|
+
}
|
|
2569
2575
|
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
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
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2581
|
+
.bcc-nps-score--bar.reverse {
|
|
2582
|
+
@apply bg-linear-to-l;
|
|
2583
|
+
}
|
|
2578
2584
|
|
|
2579
|
-
|
|
2580
|
-
|
|
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
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
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
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2595
|
+
.bcc-nps-score--number:disabled {
|
|
2596
|
+
@apply cursor-not-allowed;
|
|
2597
|
+
}
|
|
2592
2598
|
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
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
|
-
|
|
2599
|
-
|
|
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
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2608
|
+
.bcc-nps-score--number.inactive {
|
|
2609
|
+
@apply bg-ctx text-ctx ctx-gray-subtler;
|
|
2610
|
+
}
|
|
2605
2611
|
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "1.3.
|
|
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.
|
|
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",
|