@bcc-code/component-library-vue 0.0.0-dev.cb01644 → 0.0.0-dev.cbc8f81
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/README.md +31 -35
- package/dist/component-library.js +7119 -5925
- package/dist/component-library.umd.cjs +1286 -258
- package/dist/index.css +1 -1
- package/dist/library-utilities.css +2 -0
- package/dist/quill-BfNQeuzX.js +7524 -0
- package/dist/sfc-styles.css +1 -0
- package/dist/theme.css +54 -35
- package/dist-types/components/custom/BccAppNavigation/BccAppNavigation.vue.d.ts +1 -0
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
- package/dist-types/components/custom/index.d.ts +0 -1
- package/dist-types/components/wrapped/BccButton.vue.d.ts +4 -3
- package/dist-types/components/wrapped/BccCheckbox.vue.d.ts +3 -0
- package/dist-types/components/wrapped/BccMessage.vue.d.ts +5 -1
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/package.json +8 -2
- package/dist-types/components/custom/BccCircleLoader/BccCircleLoader.vue.d.ts +0 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.p-button.useCtx{--p-button-primary-color:var(--ctx-text);--p-button-primary-background:var(--ctx-background);--p-button-primary-border-color:var(--ctx-border);--p-button-primary-hover-background:var(--ctx-background-hover);--p-button-primary-hover-border-color:var(--ctx-border-hover);--p-button-primary-hover-color:var(--ctx-text-hover);--p-button-primary-active-background:var(--ctx-background-pressed);--p-button-primary-active-border-color:var(--ctx-border-pressed);--p-button-primary-active-color:var(--ctx-text-pressed)}.p-inputicon{--icon-size: 20px;font-size:var(--icon-size);width:var(--icon-size);height:var(--icon-size);margin-top:calc(-1 * (var(--icon-size) / 2))}.p-iconfield:has(.p-inputfield-sm) .p-inputicon{--icon-size: 16px}.p-iconfield:has(.p-inputfield-lg) .p-inputicon{--icon-size: 24px}
|
package/dist/theme.css
CHANGED
|
@@ -1870,7 +1870,8 @@
|
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
1872
|
.p-message-text {
|
|
1873
|
-
line-height:
|
|
1873
|
+
line-height: 1;
|
|
1874
|
+
flex: 1 1 0;
|
|
1874
1875
|
}
|
|
1875
1876
|
|
|
1876
1877
|
.p-multiselect {
|
|
@@ -2195,43 +2196,52 @@
|
|
|
2195
2196
|
|
|
2196
2197
|
/* from ./BccGraphic/BccGraphic.css */
|
|
2197
2198
|
@layer components {
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2199
|
+
.bcc-graphic .corner,
|
|
2200
|
+
.bcc-graphic .center-slot {
|
|
2201
|
+
@apply absolute z-10;
|
|
2202
|
+
}
|
|
2203
|
+
.bcc-graphic .corner.top-left {
|
|
2204
|
+
@apply top-4 left-4;
|
|
2205
|
+
}
|
|
2206
|
+
.bcc-graphic .corner.top-right {
|
|
2207
|
+
@apply top-4 right-4;
|
|
2208
|
+
}
|
|
2209
|
+
.bcc-graphic .corner.bottom-right {
|
|
2210
|
+
@apply right-4 bottom-4;
|
|
2211
|
+
}
|
|
2212
|
+
.bcc-graphic .corner.bottom-left {
|
|
2213
|
+
@apply bottom-4 left-4;
|
|
2214
|
+
}
|
|
2215
|
+
.bcc-graphic .center-slot {
|
|
2216
|
+
@apply inset-1/4 flex h-1/2 w-1/2 items-center justify-center;
|
|
2217
|
+
}
|
|
2217
2218
|
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2219
|
+
.bcc-graphic {
|
|
2220
|
+
@apply from-background-brand-bolder-default to-background-brand-subtle-default relative flex max-h-full w-full bg-linear-to-tr;
|
|
2221
|
+
}
|
|
2221
2222
|
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2223
|
+
.bcc-graphic-banner {
|
|
2224
|
+
@apply absolute inset-0 h-full w-full object-cover object-center;
|
|
2225
|
+
}
|
|
2226
|
+
.bcc-graphic-banner--loading {
|
|
2227
|
+
@apply from-background-brand-bolder-default to-background-brand-subtle-default animate-pulse bg-linear-to-tr;
|
|
2228
|
+
}
|
|
2228
2229
|
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2230
|
+
.bcc-graphic-logo {
|
|
2231
|
+
@apply absolute inset-1/4 h-1/2 w-1/2 object-contain object-center;
|
|
2232
|
+
}
|
|
2233
|
+
.bcc-graphic-logo--loading {
|
|
2234
|
+
@apply animate-pulse bg-black opacity-10 blur-sm;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
.bcc-graphic.bcc-gb-grayscale .bcc-graphic-banner,
|
|
2238
|
+
.bcc-graphic.bcc-gb-grayscale .bcc-graphic-logo {
|
|
2239
|
+
@apply brightness-75 grayscale;
|
|
2240
|
+
}
|
|
2241
|
+
.bcc-graphic.bcc-gb-highlight .bcc-graphic-banner,
|
|
2242
|
+
.bcc-graphic.bcc-gb-highlight .bcc-graphic-logo {
|
|
2243
|
+
@apply brightness-150;
|
|
2244
|
+
}
|
|
2235
2245
|
}
|
|
2236
2246
|
|
|
2237
2247
|
|
|
@@ -2615,3 +2625,12 @@ strong,
|
|
|
2615
2625
|
cursor: not-allowed;
|
|
2616
2626
|
pointer-events: none;
|
|
2617
2627
|
}
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/* SFC <style> blocks extracted all .vue components */
|
|
2631
|
+
@import './sfc-styles.css';
|
|
2632
|
+
|
|
2633
|
+
/* Library utility classes, compiled from the library's own components.
|
|
2634
|
+
Contains only the utility class rules used inside the library — no preflight,
|
|
2635
|
+
no @theme variables, no design tokens, since theme.css already provides those. */
|
|
2636
|
+
@import './library-utilities.css';
|
|
@@ -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;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
export { default as BccAppNavigation } from './BccAppNavigation/BccAppNavigation.vue';
|
|
6
6
|
export { default as BccBadge } from './BccBadge/BccBadge.vue';
|
|
7
7
|
export { default as BccCapacityIndicator } from './BccCapacityIndicator/BccCapacityIndicator.vue';
|
|
8
|
-
export { default as BccCircleLoader } from './BccCircleLoader/BccCircleLoader.vue';
|
|
9
8
|
export { default as BccDialKnob } from './BccDialKnob/BccDialKnob.vue';
|
|
10
9
|
export { default as BccFrame } from './BccFrame/BccFrame.vue';
|
|
11
10
|
export { default as BccGraphic } from './BccGraphic/BccGraphic.vue';
|
|
@@ -5,11 +5,12 @@ export type ButtonProps = {
|
|
|
5
5
|
iconRight?: boolean;
|
|
6
6
|
iconClass?: PrimeButtonProps['iconClass'];
|
|
7
7
|
size?: PrimeButtonProps['size'];
|
|
8
|
+
loadingIcon?: VueComponent;
|
|
8
9
|
useCtx?: boolean;
|
|
9
|
-
} & /* @vue-ignore */ Omit<PrimeButtonProps, 'icon' | 'iconPos'>;
|
|
10
|
-
declare var
|
|
10
|
+
} & /* @vue-ignore */ Omit<PrimeButtonProps, 'icon' | 'iconPos' | 'loadingIcon'>;
|
|
11
|
+
declare var __VLS_20: {};
|
|
11
12
|
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof
|
|
13
|
+
default?: (props: typeof __VLS_20) => any;
|
|
13
14
|
};
|
|
14
15
|
declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.cbc8f81",
|
|
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",
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"./style.css": "./dist/index.css",
|
|
32
32
|
"./theme.css": "./dist/theme.css",
|
|
33
|
+
"./sfc-styles.css": "./dist/sfc-styles.css",
|
|
34
|
+
"./library-utilities.css": "./dist/library-utilities.css",
|
|
33
35
|
"./archivo-font.css": "./dist/archivo-font.css",
|
|
34
36
|
"./tailwind.css": "./dist-css/tailwind.css"
|
|
35
37
|
},
|
|
@@ -37,7 +39,9 @@
|
|
|
37
39
|
"start": "storybook dev -p 6006",
|
|
38
40
|
"build-storybook": "storybook build",
|
|
39
41
|
"build": "run-p typecheck build:types build:vite",
|
|
40
|
-
"build:vite": "rimraf dist && vite build && node scripts/build-theme-css.mjs",
|
|
42
|
+
"build:vite": "rimraf dist && vite build && pnpm run build:sfc-styles && pnpm run build:library-utilities && node scripts/build-theme-css.mjs",
|
|
43
|
+
"build:sfc-styles": "vite build --config vite.config.sfc-styles.ts && rimraf dist/sfc-styles.js",
|
|
44
|
+
"build:library-utilities": "tailwindcss -i src/library-utilities-input.css -o dist/library-utilities.css --minify",
|
|
41
45
|
"build:types": "rimraf dist-types && vue-tsc -p tsconfig.build.json",
|
|
42
46
|
"generate:semantic": "node scripts/restructure-semantic-primitives.mjs",
|
|
43
47
|
"generate:semantic-css": "node scripts/generate-semantic-css.mjs",
|
|
@@ -70,6 +74,7 @@
|
|
|
70
74
|
"@primevue/auto-import-resolver": "^4.5.4",
|
|
71
75
|
"@storybook/addon-docs": "^10.3.5",
|
|
72
76
|
"@storybook/vue3-vite": "^10.3.5",
|
|
77
|
+
"@tailwindcss/cli": "^4.2.4",
|
|
73
78
|
"@types/node": "^22.0.0",
|
|
74
79
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
75
80
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
@@ -87,6 +92,7 @@
|
|
|
87
92
|
"postcss": "^8.4.49",
|
|
88
93
|
"prettier": "^3.8.1",
|
|
89
94
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
95
|
+
"quill": "^2.0.3",
|
|
90
96
|
"remark-gfm": "^4.0.0",
|
|
91
97
|
"rimraf": "^6.0.0",
|
|
92
98
|
"storybook": "^10.3.5",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
icon?: string;
|
|
3
|
-
size?: 'sm' | 'md' | 'base' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
4
|
-
left?: boolean;
|
|
5
|
-
right?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
size: "sm" | "md" | "base" | "lg" | "xl" | "2xl" | "3xl";
|
|
9
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
|
-
export default _default;
|