@bcc-code/component-library-vue 0.8.7 → 0.8.9
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/component-library.js +8085 -5910
- package/dist/component-library.umd.cjs +316 -316
- package/dist/index.css +1 -1
- package/dist/theme.css +2 -0
- package/dist-types/components/custom/BccCapacityIndicator/BccCapacityIndicator.vue.d.ts +3 -0
- package/dist-types/components/wrapped/BccMessage.vue.d.ts +4 -2
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +18 -0
- package/dist-types/components/wrapped/index.d.ts +2 -0
- package/dist-types/index.d.ts +0 -1
- package/package.json +2 -2
package/dist/theme.css
CHANGED
|
@@ -2046,6 +2046,7 @@
|
|
|
2046
2046
|
|
|
2047
2047
|
.bcc-capacity-indicator.is-warning {
|
|
2048
2048
|
@apply ctx-yellow-subtlest;
|
|
2049
|
+
--bcc-capacity-indicator-circle: var(--ctx-background);
|
|
2049
2050
|
}
|
|
2050
2051
|
|
|
2051
2052
|
.bcc-capacity-indicator.is-full {
|
|
@@ -2516,6 +2517,7 @@
|
|
|
2516
2517
|
@apply m-0 p-0 font-sans antialiased;
|
|
2517
2518
|
-webkit-font-smoothing: antialiased;
|
|
2518
2519
|
-moz-osx-font-smoothing: grayscale;
|
|
2520
|
+
line-height: 1.2;
|
|
2519
2521
|
}
|
|
2520
2522
|
|
|
2521
2523
|
hr {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BCC_CONTEXT } from '@/contexts';
|
|
1
2
|
export type CapacityIndicatorProps = {
|
|
2
3
|
/** Total capacity; use -1 for “unlimited” (shows an infinity-style icon instead of a bar). */
|
|
3
4
|
total: number;
|
|
@@ -11,6 +12,8 @@ export type CapacityIndicatorProps = {
|
|
|
11
12
|
squared?: boolean;
|
|
12
13
|
/** When true, applies warning/full color states (e.g. color change at high usage). */
|
|
13
14
|
colored?: boolean;
|
|
15
|
+
/** Design context (e.g. neutral, brand) used for background and text color. */
|
|
16
|
+
context?: BCC_CONTEXT;
|
|
14
17
|
};
|
|
15
18
|
declare const __VLS_export: import("vue").DefineComponent<CapacityIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CapacityIndicatorProps> & Readonly<{}>, {
|
|
16
19
|
size: "xs" | "sm" | "base" | "lg";
|
|
@@ -3,10 +3,12 @@ import { type MessageProps as PrimeMessageProps } from 'primevue/message';
|
|
|
3
3
|
export type MessageProps = Omit<PrimeMessageProps, 'icon'> & {
|
|
4
4
|
icon?: boolean | VueComponent;
|
|
5
5
|
iconRight?: VueComponent | boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
message?: string;
|
|
6
8
|
};
|
|
7
|
-
declare var
|
|
9
|
+
declare var __VLS_19: {};
|
|
8
10
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_19) => any;
|
|
10
12
|
};
|
|
11
13
|
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>;
|
|
12
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type RadioButtonProps as PrimeRadioButtonProps } from 'primevue/radiobutton';
|
|
2
|
+
export type RadioButtonProps = PrimeRadioButtonProps & {
|
|
3
|
+
label?: string;
|
|
4
|
+
labelLeft?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<RadioButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -11,6 +11,7 @@ export { default as BccImage } from './BccImage.vue';
|
|
|
11
11
|
export { default as BccInput } from './BccInput.vue';
|
|
12
12
|
export { default as BccMenu } from './BccMenu/BccMenu.vue';
|
|
13
13
|
export { default as BccMessage } from './BccMessage.vue';
|
|
14
|
+
export { default as BccRadioButton } from './BccRadioButton.vue';
|
|
14
15
|
export { default as BccTabs } from './BccTabs/BccTabs.vue';
|
|
15
16
|
export { default as BccToggle } from './BccToggle/BccToggle.vue';
|
|
16
17
|
export { default as BccToggleButton } from './BccToggleButton.vue';
|
|
@@ -22,6 +23,7 @@ export type { ImageProps } from './BccImage.vue';
|
|
|
22
23
|
export type { InputProps } from './BccInput.vue';
|
|
23
24
|
export type { BccMenuItem, MenuProps } from './BccMenu/BccMenu.vue';
|
|
24
25
|
export type { MessageProps } from './BccMessage.vue';
|
|
26
|
+
export type { RadioButtonProps } from './BccRadioButton.vue';
|
|
25
27
|
export type { TabItem, TabsProps } from './BccTabs/BccTabs.vue';
|
|
26
28
|
export type { ToggleProps } from './BccToggle/BccToggle.vue';
|
|
27
29
|
export type { ToggleButtonProps } from './BccToggleButton.vue';
|
package/dist-types/index.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export { default as BccPopover } from 'primevue/popover';
|
|
|
94
94
|
export { default as BccPortal } from 'primevue/portal';
|
|
95
95
|
export { default as BccProgressBar } from 'primevue/progressbar';
|
|
96
96
|
export { default as BccProgressSpinner } from 'primevue/progressspinner';
|
|
97
|
-
export { default as BccRadioButton } from 'primevue/radiobutton';
|
|
98
97
|
export { default as BccRadioButtonGroup } from 'primevue/radiobuttongroup';
|
|
99
98
|
export { default as BccRating } from 'primevue/rating';
|
|
100
99
|
export { default as BccRipple } from 'primevue/ripple';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9",
|
|
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
|
+
"@bcc-code/design-tokens": "^5.1.49",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|