@bcc-code/component-library-vue 0.0.0-dev.88de459 → 0.0.0-dev.8ce935f

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
@@ -2339,91 +2339,94 @@
2339
2339
 
2340
2340
  /* from ./BccReact/BccReact.css */
2341
2341
  @layer components {
2342
- .bcc-react {
2343
- @apply relative flex w-full items-center overflow-visible;
2344
- }
2345
- .bcc-react-toggle {
2346
- @apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 leading-tight transition;
2347
- }
2348
- .bcc-react-list {
2349
- @apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
2350
- }
2351
- .bcc-react-empty {
2352
- @apply heading-xs flex items-center;
2353
- }
2342
+ .bcc-react {
2343
+ @apply relative flex w-full items-center overflow-visible;
2344
+ }
2345
+ .bcc-react-toggle {
2346
+ @apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 transition;
2347
+ }
2348
+ .bcc-react-list {
2349
+ @apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
2350
+ }
2351
+ .bcc-react-empty {
2352
+ @apply heading-xs flex items-center;
2353
+ }
2354
2354
 
2355
- .bcc-react-selector-container {
2356
- @apply absolute z-50 h-9;
2357
- @apply top-11 origin-top-left;
2358
- }
2355
+ .bcc-react-selector-container {
2356
+ @apply absolute z-50 h-9;
2357
+ @apply top-11 origin-top-left;
2358
+ }
2359
2359
 
2360
- .bcc-react-selector-container--top {
2361
- @apply -top-10 origin-bottom-left;
2362
- }
2360
+ .bcc-react-selector-container--top {
2361
+ @apply -top-10 origin-bottom-left;
2362
+ }
2363
2363
 
2364
- .bcc-react-selector {
2365
- @apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
2366
- border-radius: 18px;
2367
- }
2364
+ .bcc-react-selector {
2365
+ @apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
2366
+ border-radius: 18px;
2367
+ }
2368
2368
 
2369
- .bcc-react-selector-emojis-container {
2370
- @apply flex items-center bg-neutral-100 px-1;
2371
- }
2369
+ .bcc-react-selector-emojis-container {
2370
+ @apply flex items-center bg-neutral-100 px-1;
2371
+ }
2372
2372
 
2373
- .bcc-react-selector-more {
2374
- @apply flex w-9 items-center justify-center;
2375
- }
2376
- .bcc-react-selector-more-btn {
2377
- @apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
2378
- }
2373
+ .bcc-react-selector-more {
2374
+ @apply flex w-9 items-center justify-center;
2375
+ }
2376
+ .bcc-react-selector-more-btn {
2377
+ @apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
2378
+ }
2379
2379
 
2380
- .bcc-react-dropdown-container {
2381
- @apply left-0 top-0 -z-10 w-full max-w-full;
2382
- width: 296px;
2383
- }
2384
- .bcc-react-dropdown-container--top {
2385
- @apply bottom-0 top-auto pb-0;
2386
- }
2380
+ .bcc-react-dropdown-container {
2381
+ @apply top-0 left-0 -z-10 w-full max-w-full;
2382
+ width: 296px;
2383
+ }
2384
+ .bcc-react-dropdown-container--top {
2385
+ @apply top-auto bottom-0 pb-0;
2386
+ }
2387
2387
 
2388
- .bcc-react-dropdown {
2389
- @apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
2390
- }
2388
+ .bcc-react-dropdown {
2389
+ @apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
2390
+ }
2391
2391
 
2392
- .bcc-react-arrow-down-icon {
2393
- @apply h-6 w-6 text-slate-600;
2394
- transition: transform 0.3s ease;
2395
- }
2396
- .bcc-react-arrow-down-icon.open {
2397
- transform: rotate(-180deg);
2398
- }
2392
+ .bcc-react-arrow-down-icon {
2393
+ @apply h-6 w-6 text-slate-600;
2394
+ transition: transform 0.3s ease;
2395
+ }
2396
+ .bcc-react-arrow-down-icon.open {
2397
+ transform: rotate(-180deg);
2398
+ }
2399
2399
 
2400
- .bcc-react-selector-item {
2401
- @apply p-2 text-xl leading-none transition-transform duration-200 ease-out h-9 w-9 relative;
2402
- }
2400
+ .bcc-react-selector-item {
2401
+ @apply relative h-9 w-9 p-2 text-xl leading-none transition-transform duration-200 ease-out;
2402
+ }
2403
2403
 
2404
- .bcc-react-selector-item--clicked {
2405
- animation: scaleFadeOut 300ms forwards;
2406
- }
2404
+ .bcc-react-selector-item--clicked {
2405
+ animation: scaleFadeOut 300ms forwards;
2406
+ }
2407
2407
 
2408
- @keyframes scaleFadeOut {
2409
- 0% {
2410
- transform: scale(1);
2411
- opacity: 1;
2412
- }
2413
- 100% {
2414
- transform: scale(1.4);
2415
- opacity: 0;
2416
- }
2417
- }
2408
+ @keyframes scaleFadeOut {
2409
+ 0% {
2410
+ transform: scale(1);
2411
+ opacity: 1;
2412
+ }
2413
+ 100% {
2414
+ transform: scale(1.4);
2415
+ opacity: 0;
2416
+ }
2417
+ }
2418
2418
 
2419
- .bcc-react-emoji-list-item {
2420
- @apply flex ctx clickable items-center justify-center rounded-full p-1 text-2xl leading-none drop-shadow transition-all hover:scale-105;
2421
- /* Default --not-selected */
2422
- @apply ctx-neutral-subtlest;
2423
- }
2424
- .bcc-react-emoji-list-item.selected {
2425
- @apply ctx-neutral-subtle;
2426
- }
2419
+ .bcc-react-emoji-list-item {
2420
+ @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
+ /* Default --not-selected */
2422
+ @apply ctx-neutral-subtlest;
2423
+ }
2424
+ .bcc-react-emoji-list-item span {
2425
+ @apply leading-none;
2426
+ }
2427
+ .bcc-react-emoji-list-item.selected {
2428
+ @apply ctx-neutral-subtle;
2429
+ }
2427
2430
  }
2428
2431
 
2429
2432
 
@@ -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;
@@ -22,13 +22,21 @@ declare var __VLS_1: {
22
22
  title: string;
23
23
  subtitle: string;
24
24
  };
25
- }, __VLS_13: {}, __VLS_20: {};
25
+ }, __VLS_13: {
26
+ title: string;
27
+ }, __VLS_15: {
28
+ subtitle: string;
29
+ }, __VLS_17: {}, __VLS_24: {};
26
30
  type __VLS_Slots = {} & {
27
31
  default?: (props: typeof __VLS_1) => any;
28
32
  } & {
29
- right?: (props: typeof __VLS_13) => any;
33
+ title?: (props: typeof __VLS_13) => any;
30
34
  } & {
31
- bottom?: (props: typeof __VLS_20) => any;
35
+ subtitle?: (props: typeof __VLS_15) => any;
36
+ } & {
37
+ right?: (props: typeof __VLS_17) => any;
38
+ } & {
39
+ bottom?: (props: typeof __VLS_24) => any;
32
40
  };
33
41
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
42
  back: () => any;
@@ -2,6 +2,7 @@ import { type RadioButtonProps as PrimeRadioButtonProps } from 'primevue/radiobu
2
2
  export type RadioButtonProps = PrimeRadioButtonProps & {
3
3
  label?: string;
4
4
  labelLeft?: boolean;
5
+ justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
5
6
  };
6
7
  declare var __VLS_6: {};
7
8
  type __VLS_Slots = {} & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "0.0.0-dev.88de459",
3
+ "version": "0.0.0-dev.8ce935f",
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.56",
56
+ "@bcc-code/design-tokens": "^5.1.62",
57
57
  "@bcc-code/icons-vue": "^1.4.0",
58
58
  "@primeuix/themes": "^2.0.3",
59
59
  "@tailwindcss/vite": "^4.1.18",