@bcc-code/component-library-vue 0.0.0-dev.b774eb3 → 0.0.0-dev.b78aa84

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
 
@@ -2142,40 +2140,43 @@
2142
2140
 
2143
2141
  /* from ./BccFrame/BccFrame.css */
2144
2142
  @layer components {
2145
- .bcc-frame {
2146
- @apply ctx ctx-default w-full;
2147
- }
2143
+ .bcc-frame {
2144
+ @apply ctx ctx-default w-full border border-transparent;
2145
+ }
2148
2146
 
2149
- .bcc-frame.bcc-frame--shadow {
2150
- @apply shadow shadow-ctx;
2151
- }
2147
+ .bcc-frame.bcc-frame--shadow {
2148
+ @apply shadow-ctx shadow;
2149
+ }
2152
2150
 
2153
- .bcc-frame--raised {
2154
- --ctx-background: var(--color-elevation-surface-raised-default);
2155
- }
2156
- .bcc-frame--rounded {
2157
- @apply rounded-md;
2158
- }
2159
- .bcc-frame--raised.bcc-frame--shadow {
2160
- @apply shadow-raised;
2161
- }
2151
+ .bcc-frame--raised {
2152
+ --ctx-background: var(--color-elevation-surface-raised-default);
2153
+ }
2154
+ .bcc-frame--rounded {
2155
+ @apply rounded-md;
2156
+ }
2157
+ .bcc-frame--raised.bcc-frame--shadow {
2158
+ @apply shadow-raised dark:border-default;
2159
+ }
2162
2160
 
2163
- .bcc-frame--overlay {
2164
- --ctx-background: var(--color-elevation-surface-overlay-default);
2165
- }
2166
- .bcc-frame--overlay.bcc-frame--shadow {
2167
- @apply shadow-overlay;
2168
- }
2161
+ .bcc-frame--overlay {
2162
+ --ctx-background: var(--color-elevation-surface-overlay-default);
2163
+ @apply border;
2164
+ }
2165
+ .bcc-frame--overlay.bcc-frame--shadow {
2166
+ @apply shadow-overlay dark:border-default;
2167
+ }
2169
2168
 
2170
- .bcc-frame--sunken {
2171
- --ctx-background: var(--color-elevation-surface-sunken-default);
2172
- }
2173
- .bcc-frame--sunken.bcc-frame--shadow {
2174
- @apply shadow-inner;
2175
- }
2169
+ .bcc-frame--sunken {
2170
+ --ctx-background: var(--color-elevation-surface-sunken-default);
2171
+ @apply border;
2172
+ }
2173
+ .bcc-frame--sunken.bcc-frame--shadow {
2174
+ @apply dark:border-default shadow-inner;
2175
+ }
2176
2176
  }
2177
2177
 
2178
2178
 
2179
+
2179
2180
  /* from ./BccGraphic/BccGraphic.css */
2180
2181
  @layer components {
2181
2182
  .bcc-graphic .corner,
@@ -2339,117 +2340,120 @@
2339
2340
 
2340
2341
  /* from ./BccReact/BccReact.css */
2341
2342
  @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
- }
2343
+ .bcc-react {
2344
+ @apply relative flex w-full items-center overflow-visible;
2345
+ }
2346
+ .bcc-react-toggle {
2347
+ @apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 transition;
2348
+ }
2349
+ .bcc-react-list {
2350
+ @apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
2351
+ }
2352
+ .bcc-react-empty {
2353
+ @apply heading-xs flex items-center;
2354
+ }
2354
2355
 
2355
- .bcc-react-selector-container {
2356
- @apply absolute z-50 h-9;
2357
- @apply top-11 origin-top-left;
2358
- }
2356
+ .bcc-react-selector-container {
2357
+ @apply absolute z-50 h-9;
2358
+ @apply top-11 origin-top-left;
2359
+ }
2359
2360
 
2360
- .bcc-react-selector-container--top {
2361
- @apply -top-10 origin-bottom-left;
2362
- }
2361
+ .bcc-react-selector-container--top {
2362
+ @apply -top-10 origin-bottom-left;
2363
+ }
2363
2364
 
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
- }
2365
+ .bcc-react-selector {
2366
+ @apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
2367
+ border-radius: 18px;
2368
+ }
2368
2369
 
2369
- .bcc-react-selector-emojis-container {
2370
- @apply flex items-center bg-neutral-100 px-1;
2371
- }
2370
+ .bcc-react-selector-emojis-container {
2371
+ @apply flex items-center bg-neutral-100 px-1;
2372
+ }
2372
2373
 
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
- }
2374
+ .bcc-react-selector-more {
2375
+ @apply flex w-9 items-center justify-center;
2376
+ }
2377
+ .bcc-react-selector-more-btn {
2378
+ @apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
2379
+ }
2379
2380
 
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
- }
2381
+ .bcc-react-dropdown-container {
2382
+ @apply top-0 left-0 -z-10 w-full max-w-full;
2383
+ width: 296px;
2384
+ }
2385
+ .bcc-react-dropdown-container--top {
2386
+ @apply top-auto bottom-0 pb-0;
2387
+ }
2387
2388
 
2388
- .bcc-react-dropdown {
2389
- @apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
2390
- }
2389
+ .bcc-react-dropdown {
2390
+ @apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
2391
+ }
2391
2392
 
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
- }
2393
+ .bcc-react-arrow-down-icon {
2394
+ @apply h-6 w-6 text-slate-600;
2395
+ transition: transform 0.3s ease;
2396
+ }
2397
+ .bcc-react-arrow-down-icon.open {
2398
+ transform: rotate(-180deg);
2399
+ }
2399
2400
 
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
- }
2401
+ .bcc-react-selector-item {
2402
+ @apply relative h-9 w-9 p-2 text-xl leading-none transition-transform duration-200 ease-out;
2403
+ }
2403
2404
 
2404
- .bcc-react-selector-item--clicked {
2405
- animation: scaleFadeOut 300ms forwards;
2406
- }
2405
+ .bcc-react-selector-item--clicked {
2406
+ animation: scaleFadeOut 300ms forwards;
2407
+ }
2407
2408
 
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
- }
2409
+ @keyframes scaleFadeOut {
2410
+ 0% {
2411
+ transform: scale(1);
2412
+ opacity: 1;
2413
+ }
2414
+ 100% {
2415
+ transform: scale(1.4);
2416
+ opacity: 0;
2417
+ }
2418
+ }
2418
2419
 
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
- }
2420
+ .bcc-react-emoji-list-item {
2421
+ @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;
2422
+ /* Default --not-selected */
2423
+ @apply ctx-neutral-subtlest;
2424
+ }
2425
+ .bcc-react-emoji-list-item span {
2426
+ @apply leading-none;
2427
+ }
2428
+ .bcc-react-emoji-list-item.selected {
2429
+ @apply ctx-neutral-subtle;
2430
+ }
2427
2431
  }
2428
2432
 
2429
2433
 
2430
2434
 
2431
2435
  /* from ./BccTag/BccTag.css */
2432
-
2433
2436
  @layer components {
2434
2437
  .bcc-tag.bcc-badge {
2435
2438
  @apply w-auto;
2436
2439
  }
2437
2440
  .bcc-tag.bcc-badge.md {
2438
- @apply font-regular h-6;
2441
+ @apply text-body-md h-6;
2439
2442
  }
2440
2443
  .bcc-tag.bcc-badge.sm {
2441
- @apply font-regular h-5;
2444
+ @apply text-body-sm h-5;
2442
2445
  }
2443
2446
  .bcc-tag.bcc-badge.lg {
2444
- @apply font-regular h-8;
2447
+ @apply text-body-md h-8;
2445
2448
  }
2446
2449
  .bcc-tag.bcc-badge.xl {
2447
- @apply font-regular h-10;
2450
+ @apply text-body-lg h-10;
2448
2451
  }
2449
2452
  }
2450
2453
 
2451
2454
 
2452
2455
 
2456
+
2453
2457
  /* === ./components/wrapped/styles.css === */
2454
2458
 
2455
2459
  /* 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 = {} & {
@@ -12,7 +12,7 @@ type __VLS_Props = TopNavigationProps & {
12
12
  fixed?: boolean;
13
13
  padded?: boolean;
14
14
  transparent?: boolean;
15
- glass?: boolean;
15
+ white?: boolean;
16
16
  backTitle?: string;
17
17
  force?: boolean;
18
18
  titleLeft?: boolean;
@@ -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;
@@ -3,6 +3,7 @@ export type RadioButtonProps = PrimeRadioButtonProps & {
3
3
  label?: string;
4
4
  labelLeft?: boolean;
5
5
  justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
6
+ labelClass?: string;
6
7
  };
7
8
  declare var __VLS_6: {};
8
9
  type __VLS_Slots = {} & {
@@ -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,105 +1,107 @@
1
1
  {
2
- "name": "@bcc-code/component-library-vue",
3
- "version": "0.0.0-dev.b774eb3",
4
- "type": "module",
5
- "description": "Extended Vue component library based on PrimeVue and BCC design tokens",
6
- "repository": "https://github.com/bcc-code/bcc-design.git",
7
- "license": "Apache-2.0",
8
- "publishConfig": {
9
- "access": "public"
10
- },
11
- "packageManager": "pnpm@9.15.0",
12
- "files": [
13
- "dist",
14
- "dist-types",
15
- "dist-css"
16
- ],
17
- "main": "./dist/component-library.umd.cjs",
18
- "module": "./dist/component-library.js",
19
- "types": "./dist-types/index.d.ts",
20
- "exports": {
21
- ".": {
22
- "import": {
23
- "types": "./dist-types/index.d.ts",
24
- "default": "./dist/component-library.js"
25
- },
26
- "require": {
27
- "types": "./dist-types/index.d.ts",
28
- "default": "./dist/component-library.umd.cjs"
29
- }
30
- },
31
- "./style.css": "./dist/index.css",
32
- "./theme.css": "./dist/theme.css",
33
- "./archivo-font.css": "./dist/archivo-font.css",
34
- "./tailwind.css": "./dist-css/tailwind.css"
35
- },
36
- "scripts": {
37
- "start": "storybook dev -p 6006",
38
- "build-storybook": "storybook build",
39
- "build": "run-p typecheck build:types build:vite",
40
- "build:vite": "rimraf dist && vite build && node scripts/build-theme-css.mjs",
41
- "build:types": "rimraf dist-types && vue-tsc -p tsconfig.build.json",
42
- "generate:semantic": "node scripts/restructure-semantic-primitives.mjs",
43
- "generate:semantic-css": "node scripts/generate-semantic-css.mjs",
44
- "generate:context-modes": "node scripts/generate-context-modes.mjs",
45
- "generate:context-css": "node scripts/generate-context-css.mjs",
46
- "generate": "pnpm run generate:semantic && pnpm run generate:semantic-css && pnpm run generate:context-modes && pnpm run generate:context-css",
47
- "sync:primevue-icon-patches": "node scripts/sync-primevue-icon-patches.mjs",
48
- "typecheck": "vue-tsc --noEmit",
49
- "lint": "eslint src/**/*.ts src/**/*.vue",
50
- "lint:fix": "eslint --fix src/**/*.ts src/**/*.vue",
51
- "test:unit": "vitest run",
52
- "release-channel": "node ./scripts/release-channel.cjs",
53
- "create-version": "node ./scripts/version.cjs"
54
- },
55
- "dependencies": {
56
- "@bcc-code/design-tokens": "^5.1.59",
57
- "@bcc-code/icons-vue": "^1.4.0",
58
- "@primeuix/themes": "^2.0.3",
59
- "@tailwindcss/vite": "^4.1.18",
60
- "primevue": "^4.5.4",
61
- "tailwindcss": "^4.0.0"
62
- },
63
- "peerDependencies": {
64
- "vue": "^3.5.0"
65
- },
66
- "devDependencies": {
67
- "@eslint/js": "^9.39.2",
68
- "@primevue/auto-import-resolver": "^4.5.4",
69
- "@storybook/addon-docs": "^10.2.8",
70
- "@storybook/manager-api": "^8.6.14",
71
- "@storybook/theming": "^8.6.14",
72
- "@storybook/vue3": "^10.0.0",
73
- "@storybook/vue3-vite": "^10.0.0",
74
- "@types/node": "^22.0.0",
75
- "@vitejs/plugin-vue": "^6.0.0",
76
- "@vue/eslint-config-prettier": "^10.2.0",
77
- "@vue/test-utils": "^2.4.6",
78
- "@vue/tsconfig": "^0.7.0",
79
- "autoprefixer": "^10.4.20",
80
- "eslint": "^9.39.2",
81
- "eslint-plugin-prettier": "^5.5.5",
82
- "eslint-plugin-vue": "^10.7.0",
83
- "globals": "^17.3.0",
84
- "jiti": "^2.6.1",
85
- "npm-run-all": "^4.1.5",
86
- "postcss": "^8.4.49",
87
- "prettier": "^3.8.1",
88
- "prettier-plugin-tailwindcss": "^0.7.2",
89
- "remark-gfm": "^4.0.0",
90
- "rimraf": "^6.0.0",
91
- "storybook": "^10.0.0",
92
- "typescript": "~5.7.0",
93
- "typescript-eslint": "^8.54.0",
94
- "unplugin-vue-components": "^31.0.0",
95
- "vite": "^7.3.0",
96
- "vitest": "^4.0.18",
97
- "vue": "^3.5.0",
98
- "vue-tsc": "^3.2.4"
99
- },
100
- "pnpm": {
101
- "patchedDependencies": {
102
- "@primevue/icons": "patches/@primevue__icons.patch"
103
- }
104
- }
2
+ "name": "@bcc-code/component-library-vue",
3
+ "version": "0.0.0-dev.b78aa84",
4
+ "type": "module",
5
+ "description": "Extended Vue component library based on PrimeVue and BCC design tokens",
6
+ "repository": "https://github.com/bcc-code/bcc-design.git",
7
+ "license": "Apache-2.0",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "packageManager": "pnpm@9.15.0",
12
+ "files": [
13
+ "dist",
14
+ "dist-types",
15
+ "dist-css"
16
+ ],
17
+ "main": "./dist/component-library.umd.cjs",
18
+ "module": "./dist/component-library.js",
19
+ "types": "./dist-types/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "import": {
23
+ "types": "./dist-types/index.d.ts",
24
+ "default": "./dist/component-library.js"
25
+ },
26
+ "require": {
27
+ "types": "./dist-types/index.d.ts",
28
+ "default": "./dist/component-library.umd.cjs"
29
+ }
30
+ },
31
+ "./style.css": "./dist/index.css",
32
+ "./theme.css": "./dist/theme.css",
33
+ "./archivo-font.css": "./dist/archivo-font.css",
34
+ "./tailwind.css": "./dist-css/tailwind.css"
35
+ },
36
+ "scripts": {
37
+ "start": "storybook dev -p 6006",
38
+ "build-storybook": "storybook build",
39
+ "build": "run-p typecheck build:types build:vite",
40
+ "build:vite": "rimraf dist && vite build && node scripts/build-theme-css.mjs",
41
+ "build:types": "rimraf dist-types && vue-tsc -p tsconfig.build.json",
42
+ "generate:semantic": "node scripts/restructure-semantic-primitives.mjs",
43
+ "generate:semantic-css": "node scripts/generate-semantic-css.mjs",
44
+ "generate:context-modes": "node scripts/generate-context-modes.mjs",
45
+ "generate:context-css": "node scripts/generate-context-css.mjs",
46
+ "generate": "pnpm run generate:semantic && pnpm run generate:semantic-css && pnpm run generate:context-modes && pnpm run generate:context-css",
47
+ "sync:primevue-icon-patches": "node scripts/sync-primevue-icon-patches.mjs",
48
+ "typecheck": "vue-tsc --noEmit",
49
+ "lint": "eslint src/**/*.ts src/**/*.vue",
50
+ "lint:fix": "eslint --fix src/**/*.ts src/**/*.vue",
51
+ "test:unit": "vitest run",
52
+ "test:e2e": "playwright test",
53
+ "release-channel": "node ./scripts/release-channel.cjs",
54
+ "create-version": "node ./scripts/version.cjs"
55
+ },
56
+ "dependencies": {
57
+ "@bcc-code/design-tokens": "^5.1.80",
58
+ "@bcc-code/icons-vue": "^1.4.0",
59
+ "@primeuix/themes": "^2.0.3",
60
+ "@tailwindcss/vite": "^4.1.18",
61
+ "primevue": "^4.5.4",
62
+ "tailwindcss": "^4.0.0"
63
+ },
64
+ "peerDependencies": {
65
+ "vue": "^3.5.0"
66
+ },
67
+ "devDependencies": {
68
+ "@eslint/js": "^9.39.2",
69
+ "@playwright/test": "^1.59.1",
70
+ "@primevue/auto-import-resolver": "^4.5.4",
71
+ "@storybook/addon-docs": "^10.3.5",
72
+ "@storybook/vue3-vite": "^10.3.5",
73
+ "@types/node": "^22.0.0",
74
+ "@vitejs/plugin-vue": "^6.0.0",
75
+ "@vue/eslint-config-prettier": "^10.2.0",
76
+ "@vue/test-utils": "^2.4.6",
77
+ "@vue/tsconfig": "^0.7.0",
78
+ "autoprefixer": "^10.4.20",
79
+ "eslint": "^9.39.2",
80
+ "eslint-plugin-prettier": "^5.5.5",
81
+ "eslint-plugin-vue": "^10.7.0",
82
+ "globals": "^17.3.0",
83
+ "http-server": "^14.1.1",
84
+ "jiti": "^2.6.1",
85
+ "npm-run-all": "^4.1.5",
86
+ "postcss": "^8.4.49",
87
+ "prettier": "^3.8.1",
88
+ "prettier-plugin-tailwindcss": "^0.7.2",
89
+ "remark-gfm": "^4.0.0",
90
+ "rimraf": "^6.0.0",
91
+ "storybook": "^10.3.5",
92
+ "tippy.js": "^6.3.7",
93
+ "typescript": "~5.7.0",
94
+ "typescript-eslint": "^8.54.0",
95
+ "unplugin-vue-components": "^31.0.0",
96
+ "vite": "^7.3.0",
97
+ "vitest": "^4.0.18",
98
+ "vue": "^3.5.0",
99
+ "vue-tsc": "^3.2.4",
100
+ "eslint-plugin-storybook": "10.3.5"
101
+ },
102
+ "pnpm": {
103
+ "patchedDependencies": {
104
+ "@primevue/icons": "patches/@primevue__icons.patch"
105
+ }
106
+ }
105
107
  }