@bcc-code/component-library-vue 0.0.0-dev.f421703 → 0.0.0-dev.f4380ac

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.
@@ -5,6 +5,7 @@ export type BccAppNavigationItem = {
5
5
  title: string;
6
6
  icon: Component;
7
7
  pin?: number;
8
+ is?: VueComponent;
8
9
  /** Any additional properties will be passed to the component.
9
10
  * @example
10
11
  * {
@@ -9,6 +9,8 @@ export type GraphicProps = {
9
9
  ratio?: AspectRatioStyle;
10
10
  /** When true, renders the banner image in grayscale. */
11
11
  grayscale?: boolean;
12
+ /** When true, renders the banner image with a brightness of 150%. */
13
+ highlight?: boolean;
12
14
  };
13
15
  export declare const ratioClasses: {
14
16
  ultraWide: string;
@@ -22,6 +24,7 @@ export declare const roundingClasses: {
22
24
  sm: string;
23
25
  base: string;
24
26
  md: string;
27
+ lg: string;
25
28
  xl: string;
26
29
  };
27
30
  export type AspectRatioStyle = keyof typeof ratioClasses | string | undefined;
@@ -32,13 +35,13 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Graphi
32
35
  rounding: keyof typeof roundingClasses;
33
36
  ratio: string;
34
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
35
- 'top-left'?: (props: {}) => any;
38
+ topLeft?: (props: {}) => any;
36
39
  } & {
37
- 'top-right'?: (props: {}) => any;
40
+ topRight?: (props: {}) => any;
38
41
  } & {
39
- 'bottom-right'?: (props: {}) => any;
42
+ bottomRight?: (props: {}) => any;
40
43
  } & {
41
- 'bottom-left'?: (props: {}) => any;
44
+ bottomLeft?: (props: {}) => any;
42
45
  }>;
43
46
  type __VLS_WithSlots<T, S> = T & {
44
47
  new (): {
@@ -4,9 +4,9 @@ declare const __VLS_export: import("vue").DefineComponent<ReactProps, {}, {}, {}
4
4
  }, string, import("vue").PublicProps, Readonly<ReactProps> & Readonly<{
5
5
  onToggle?: ((id: string) => any) | undefined;
6
6
  }>, {
7
- placeholder: string;
8
7
  top: boolean;
9
8
  emojis: ReactInfo[];
9
+ placeholder: string;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -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;
@@ -2,6 +2,9 @@ import { type CheckboxProps as PrimeCheckboxProps } from 'primevue/checkbox';
2
2
  export type CheckboxProps = PrimeCheckboxProps & {
3
3
  label?: string;
4
4
  labelLeft?: boolean;
5
+ justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
6
+ labelClass?: string;
7
+ fluid?: boolean;
5
8
  };
6
9
  declare var __VLS_18: {};
7
10
  type __VLS_Slots = {} & {
@@ -6,9 +6,13 @@ export type MessageProps = Omit<PrimeMessageProps, 'icon'> & {
6
6
  title?: string;
7
7
  message?: string;
8
8
  };
9
- declare var __VLS_19: {};
9
+ declare var __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_19) => any;
12
+ } & {
13
+ title?: (props: typeof __VLS_21) => any;
14
+ } & {
15
+ message?: (props: typeof __VLS_23) => any;
12
16
  };
13
17
  declare const __VLS_base: import("vue").DefineComponent<MessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -3,6 +3,8 @@ export type RadioButtonProps = PrimeRadioButtonProps & {
3
3
  label?: string;
4
4
  labelLeft?: boolean;
5
5
  justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
6
+ labelClass?: string;
7
+ fluid?: boolean;
6
8
  };
7
9
  declare var __VLS_6: {};
8
10
  type __VLS_Slots = {} & {
@@ -57,6 +57,7 @@ export { default as BccDivider } from 'primevue/divider';
57
57
  export { default as BccDock } from 'primevue/dock';
58
58
  export { default as BccDrawer } from 'primevue/drawer';
59
59
  export { default as BccDynamicDialog } from 'primevue/dynamicdialog';
60
+ export { default as BccEditor } from 'primevue/editor';
60
61
  export { default as BccFieldset } from 'primevue/fieldset';
61
62
  export { default as BccFileUpload } from 'primevue/fileupload';
62
63
  export { default as BccFloatLabel } from 'primevue/floatlabel';
package/package.json CHANGED
@@ -1,105 +1,111 @@
1
1
  {
2
- "name": "@bcc-code/component-library-vue",
3
- "version": "0.0.0-dev.f421703",
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.66",
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.f4380ac",
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
+ "./library-utilities.css": "./dist/library-utilities.css",
34
+ "./archivo-font.css": "./dist/archivo-font.css",
35
+ "./tailwind.css": "./dist-css/tailwind.css"
36
+ },
37
+ "scripts": {
38
+ "start": "storybook dev -p 6006",
39
+ "build-storybook": "storybook build",
40
+ "build": "run-p typecheck build:types build:vite",
41
+ "build:vite": "rimraf dist && vite build && pnpm run build:library-utilities && node scripts/build-theme-css.mjs",
42
+ "build:library-utilities": "tailwindcss -i src/library-utilities-input.css -o dist/library-utilities.css --minify",
43
+ "build:types": "rimraf dist-types && vue-tsc -p tsconfig.build.json",
44
+ "generate:semantic": "node scripts/restructure-semantic-primitives.mjs",
45
+ "generate:semantic-css": "node scripts/generate-semantic-css.mjs",
46
+ "generate:context-modes": "node scripts/generate-context-modes.mjs",
47
+ "generate:context-css": "node scripts/generate-context-css.mjs",
48
+ "generate": "pnpm run generate:semantic && pnpm run generate:semantic-css && pnpm run generate:context-modes && pnpm run generate:context-css",
49
+ "sync:primevue-icon-patches": "node scripts/sync-primevue-icon-patches.mjs",
50
+ "typecheck": "vue-tsc --noEmit",
51
+ "lint": "eslint src/**/*.ts src/**/*.vue",
52
+ "lint:fix": "eslint --fix src/**/*.ts src/**/*.vue",
53
+ "test:unit": "vitest run",
54
+ "test:e2e": "playwright test",
55
+ "release-channel": "node ./scripts/release-channel.cjs",
56
+ "create-version": "node ./scripts/version.cjs"
57
+ },
58
+ "dependencies": {
59
+ "@bcc-code/design-tokens": "^5.2.5",
60
+ "@bcc-code/icons-vue": "^1.4.0",
61
+ "@primeuix/themes": "^2.0.3",
62
+ "@tailwindcss/vite": "^4.1.18",
63
+ "primevue": "^4.5.4",
64
+ "tailwindcss": "^4.0.0"
65
+ },
66
+ "peerDependencies": {
67
+ "vue": "^3.5.0"
68
+ },
69
+ "devDependencies": {
70
+ "@eslint/js": "^9.39.2",
71
+ "@playwright/test": "^1.59.1",
72
+ "@primevue/auto-import-resolver": "^4.5.4",
73
+ "@storybook/addon-docs": "^10.3.5",
74
+ "@storybook/vue3-vite": "^10.3.5",
75
+ "@tailwindcss/cli": "^4.2.4",
76
+ "@types/node": "^22.0.0",
77
+ "@vitejs/plugin-vue": "^6.0.0",
78
+ "@vue/eslint-config-prettier": "^10.2.0",
79
+ "@vue/test-utils": "^2.4.6",
80
+ "@vue/tsconfig": "^0.7.0",
81
+ "autoprefixer": "^10.4.20",
82
+ "eslint": "^9.39.2",
83
+ "eslint-plugin-prettier": "^5.5.5",
84
+ "eslint-plugin-storybook": "10.3.5",
85
+ "eslint-plugin-vue": "^10.7.0",
86
+ "globals": "^17.3.0",
87
+ "http-server": "^14.1.1",
88
+ "jiti": "^2.6.1",
89
+ "npm-run-all": "^4.1.5",
90
+ "postcss": "^8.4.49",
91
+ "prettier": "^3.8.1",
92
+ "prettier-plugin-tailwindcss": "^0.7.2",
93
+ "quill": "^2.0.3",
94
+ "remark-gfm": "^4.0.0",
95
+ "rimraf": "^6.0.0",
96
+ "storybook": "^10.3.5",
97
+ "tippy.js": "^6.3.7",
98
+ "typescript": "~5.7.0",
99
+ "typescript-eslint": "^8.54.0",
100
+ "unplugin-vue-components": "^31.0.0",
101
+ "vite": "^7.3.0",
102
+ "vitest": "^4.0.18",
103
+ "vue": "^3.5.0",
104
+ "vue-tsc": "^3.2.4"
105
+ },
106
+ "pnpm": {
107
+ "patchedDependencies": {
108
+ "@primevue/icons": "patches/@primevue__icons.patch"
109
+ }
110
+ }
105
111
  }