@bcc-code/component-library-vue 0.0.0-dev.883df16 → 0.0.0-dev.8b50a99

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
@@ -1962,29 +1962,27 @@
1962
1962
  }
1963
1963
 
1964
1964
  .bcc-app-nav-item {
1965
- @apply ctx-gray-subtlest text-ctx relative flex h-12 flex-1 flex-col items-center justify-center gap-1 transition-colors focus:ring-0 focus:outline-none;
1965
+ @apply relative flex h-12 flex-1 flex-col items-center justify-center gap-1 transition-colors focus:ring-0 focus:outline-none;
1966
1966
  }
1967
1967
 
1968
1968
  .bcc-nav-item-icon {
1969
- @apply size-6 opacity-50;
1969
+ @apply size-6 icon-subtlest;
1970
1970
  }
1971
1971
 
1972
1972
  .bcc-nav-item-badge {
1973
- @apply absolute top-0 right-1 opacity-75;
1973
+ @apply absolute top-0 right-1;
1974
1974
  }
1975
1975
 
1976
1976
  .bcc-nav-item-title {
1977
- @apply text-heading-xs text-center opacity-50;
1977
+ @apply text-heading-xs text-center text-subtlest opacity-75;
1978
1978
  }
1979
1979
 
1980
- .bcc-app-nav-item--active {
1981
- @apply text-selected;
1980
+ .bcc-app-nav-item--active .bcc-nav-item-title {
1981
+ @apply text-selected opacity-100;
1982
1982
  }
1983
1983
 
1984
- .bcc-app-nav-item--active .bcc-nav-item-icon,
1985
- .bcc-app-nav-item--active .bcc-nav-item-badge,
1986
- .bcc-app-nav-item--active .bcc-nav-item-title {
1987
- @apply opacity-100;
1984
+ .bcc-app-nav-item--active .bcc-nav-item-icon {
1985
+ @apply text-selected;
1988
1986
  }
1989
1987
  }
1990
1988
 
@@ -2417,10 +2415,13 @@
2417
2415
  }
2418
2416
 
2419
2417
  .bcc-react-emoji-list-item {
2420
- @apply ctx clickable flex items-center justify-center rounded-full p-1 text-2xl leading-none drop-shadow transition-all hover:scale-105;
2418
+ @apply ctx clickable center h-7 min-w-7 shrink-0 rounded-full p-1 text-lg leading-none drop-shadow transition-all hover:scale-105;
2421
2419
  /* Default --not-selected */
2422
2420
  @apply ctx-neutral-subtlest;
2423
2421
  }
2422
+ .bcc-react-emoji-list-item span {
2423
+ @apply leading-none;
2424
+ }
2424
2425
  .bcc-react-emoji-list-item.selected {
2425
2426
  @apply ctx-neutral-subtle;
2426
2427
  }
@@ -2429,27 +2430,27 @@
2429
2430
 
2430
2431
 
2431
2432
  /* from ./BccTag/BccTag.css */
2432
-
2433
2433
  @layer components {
2434
2434
  .bcc-tag.bcc-badge {
2435
2435
  @apply w-auto;
2436
2436
  }
2437
2437
  .bcc-tag.bcc-badge.md {
2438
- @apply font-regular h-6;
2438
+ @apply text-body-md h-6;
2439
2439
  }
2440
2440
  .bcc-tag.bcc-badge.sm {
2441
- @apply font-regular h-5;
2441
+ @apply text-body-sm h-5;
2442
2442
  }
2443
2443
  .bcc-tag.bcc-badge.lg {
2444
- @apply font-regular h-8;
2444
+ @apply text-body-md h-8;
2445
2445
  }
2446
2446
  .bcc-tag.bcc-badge.xl {
2447
- @apply font-regular h-10;
2447
+ @apply text-body-lg h-10;
2448
2448
  }
2449
2449
  }
2450
2450
 
2451
2451
 
2452
2452
 
2453
+
2453
2454
  /* === ./components/wrapped/styles.css === */
2454
2455
 
2455
2456
  /* from ./BccAvatar/BccAvatar.css */
@@ -1,4 +1,4 @@
1
- import type { ReactProps } from './types';
1
+ import type { ReactInfo, ReactProps } from './types';
2
2
  declare const __VLS_export: import("vue").DefineComponent<ReactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  toggle: (id: string) => any;
4
4
  }, string, import("vue").PublicProps, Readonly<ReactProps> & Readonly<{
@@ -6,6 +6,7 @@ declare const __VLS_export: import("vue").DefineComponent<ReactProps, {}, {}, {}
6
6
  }>, {
7
7
  placeholder: string;
8
8
  top: boolean;
9
+ emojis: ReactInfo[];
9
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
11
  declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -11,13 +11,13 @@ export type StepIndicatorProps = {
11
11
  };
12
12
  type __VLS_Props = StepIndicatorProps;
13
13
  type __VLS_ModelProps = {
14
- modelValue?: number;
14
+ modelValue?: number | null;
15
15
  };
16
16
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
17
17
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- "update:modelValue": (value: number) => any;
18
+ "update:modelValue": (value: number | null) => any;
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
21
21
  }>, {
22
22
  context: BCC_CONTEXT;
23
23
  hideText: boolean;
@@ -11,6 +11,7 @@ export type TagProps = Omit<BadgeProps, 'value' | 'squared'> & {
11
11
  clickable?: boolean;
12
12
  /** Label text for the tag when not using the default slot. */
13
13
  text?: string;
14
+ truncate?: boolean;
14
15
  };
15
16
  declare var __VLS_13: {};
16
17
  type __VLS_Slots = {} & {
@@ -22,21 +22,23 @@ declare var __VLS_1: {
22
22
  title: string;
23
23
  subtitle: string;
24
24
  };
25
- }, __VLS_13: {
25
+ }, __VLS_8: {}, __VLS_15: {
26
26
  title: string;
27
- }, __VLS_15: {
27
+ }, __VLS_17: {
28
28
  subtitle: string;
29
- }, __VLS_17: {}, __VLS_24: {};
29
+ }, __VLS_19: {}, __VLS_26: {};
30
30
  type __VLS_Slots = {} & {
31
31
  default?: (props: typeof __VLS_1) => any;
32
32
  } & {
33
- title?: (props: typeof __VLS_13) => any;
33
+ left?: (props: typeof __VLS_8) => any;
34
34
  } & {
35
- subtitle?: (props: typeof __VLS_15) => any;
35
+ title?: (props: typeof __VLS_15) => any;
36
36
  } & {
37
- right?: (props: typeof __VLS_17) => any;
37
+ subtitle?: (props: typeof __VLS_17) => any;
38
38
  } & {
39
- bottom?: (props: typeof __VLS_24) => any;
39
+ right?: (props: typeof __VLS_19) => any;
40
+ } & {
41
+ bottom?: (props: typeof __VLS_26) => any;
40
42
  };
41
43
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
42
44
  back: () => any;
@@ -1,12 +1,15 @@
1
+ import type { VueComponent } from '@/types';
1
2
  import { type SelectButtonProps as PrimeSelectButtonProps } from 'primevue/selectbutton';
2
- export type SelectButtonProps = PrimeSelectButtonProps;
3
+ export type SelectButtonProps = PrimeSelectButtonProps & {
4
+ optionIcon?: string | ((option: unknown) => VueComponent | null);
5
+ };
3
6
  declare var __VLS_9: {
4
7
  option: any;
5
8
  };
6
9
  type __VLS_Slots = {} & {
7
10
  option?: (props: typeof __VLS_9) => any;
8
11
  };
9
- declare const __VLS_base: import("vue").DefineComponent<PrimeSelectButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrimeSelectButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: import("vue").DefineComponent<SelectButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
14
  declare const _default: typeof __VLS_export;
12
15
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "0.0.0-dev.883df16",
3
+ "version": "0.0.0-dev.8b50a99",
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.60",
56
+ "@bcc-code/design-tokens": "^5.1.72",
57
57
  "@bcc-code/icons-vue": "^1.4.0",
58
58
  "@primeuix/themes": "^2.0.3",
59
59
  "@tailwindcss/vite": "^4.1.18",