@bcc-code/component-library-vue 0.7.2 → 0.7.3

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
@@ -2121,7 +2121,7 @@
2121
2121
  /* from ./BccNpsScore/BccNpsScore.css */
2122
2122
  @layer components {
2123
2123
  .bcc-nps-score {
2124
- @apply min-w-[280px] p-4 text-body-sm flex flex-col gap-y-2;
2124
+ @apply min-w-[280px] p-4 text-body-sm flex flex-col gap-y-2 select-none;
2125
2125
  }
2126
2126
 
2127
2127
  .bcc-nps-score--heading {
@@ -2142,7 +2142,7 @@
2142
2142
  }
2143
2143
 
2144
2144
  .bcc-nps-score--bar.disabled .bcc-nps-score--number.inactive {
2145
- @apply bg-ctx ctx-gray-subtler text-disabled;
2145
+ @apply bg-ctx ctx-gray-subtlest text-disabled;
2146
2146
  }
2147
2147
 
2148
2148
  .bcc-nps-score--number {
@@ -2152,7 +2152,7 @@
2152
2152
  }
2153
2153
 
2154
2154
  .bcc-nps-score--number:disabled {
2155
- @apply pointer-events-none cursor-default;
2155
+ @apply cursor-not-allowed;
2156
2156
  }
2157
2157
 
2158
2158
  .bcc-nps-score--number.active {
@@ -2165,7 +2165,7 @@
2165
2165
  }
2166
2166
 
2167
2167
  .bcc-nps-score--number.inactive {
2168
- @apply bg-ctx text-ctx ctx-gray-subtle;
2168
+ @apply bg-ctx text-ctx ctx-gray-subtler;
2169
2169
  }
2170
2170
 
2171
2171
  .bcc-nps-score--number:first-child {
@@ -2269,55 +2269,6 @@
2269
2269
 
2270
2270
 
2271
2271
 
2272
- /* from ./BccStepIndicator/BccStepIndicator.css */
2273
- @layer components {
2274
- .bcc-stepper-container {
2275
- @apply flex flex-col;
2276
- }
2277
-
2278
- .bcc-stepper-header {
2279
- @apply mb-2 text-left;
2280
- }
2281
-
2282
- .bcc-stepper-current-step {
2283
- @apply text-heading-sm text-default;
2284
- }
2285
-
2286
- .bcc-stepper-current-label {
2287
- @apply text-body-sm pl-2 text-subtle;
2288
- }
2289
-
2290
- .bcc-stepper-indicators {
2291
- @apply flex justify-start gap-2;
2292
- }
2293
-
2294
- .bcc-stepper-indicator-container {
2295
- @apply col;
2296
- }
2297
-
2298
- .bcc-stepper-indicator {
2299
- @apply h-1.5 rounded-lg duration-300;
2300
- }
2301
-
2302
- .bcc-stepper-indicator-active {
2303
- @apply w-6;
2304
- }
2305
-
2306
- .bcc-stepper-indicator-inactive {
2307
- @apply w-1.5;
2308
- }
2309
-
2310
- .bcc-stepper-indicator-completed {
2311
- @apply bg-selected-bold-default;
2312
- }
2313
-
2314
- .bcc-stepper-indicator-pending {
2315
- @apply bg-alpha-subtle-default;
2316
- }
2317
- }
2318
-
2319
-
2320
-
2321
2272
  /* from ./BccTag/BccTag.css */
2322
2273
 
2323
2274
  @layer components {
@@ -7,6 +7,7 @@ export type StepIndicatorProps = {
7
7
  right?: boolean;
8
8
  context?: BCC_CONTEXT;
9
9
  headingFn?: (currentStep: number, totalSteps: number) => string;
10
+ clickable?: boolean;
10
11
  };
11
12
  type __VLS_Props = StepIndicatorProps;
12
13
  type __VLS_ModelProps = {
@@ -0,0 +1,18 @@
1
+ import type { VueComponent } from '@/types';
2
+ import { type ChipProps as PrimeChipProps } from 'primevue/chip';
3
+ export type ChipProps = {
4
+ icon?: VueComponent;
5
+ } & /* @vue-ignore */ Omit<PrimeChipProps, 'icon' | 'iconPos'>;
6
+ declare var __VLS_14: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_14) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChipProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
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.0",
56
+ "@bcc-code/design-tokens": "^5.1.2",
57
57
  "@bcc-code/icons-vue": "^1.4.0",
58
58
  "@primeuix/themes": "^2.0.3",
59
59
  "@tailwindcss/vite": "^4.1.18",
@@ -61,7 +61,6 @@
61
61
  "tailwindcss": "^4.0.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "@bcc-code/design-tokens": "^5.1.0",
65
64
  "vue": "^3.5.0"
66
65
  },
67
66
  "devDependencies": {