@bcc-code/component-library-vue 1.3.23 → 1.3.25

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
@@ -1,5 +1,5 @@
1
1
  /* Layer order: Tailwind base/utilities first, then PrimeVue so component styles win */
2
- @layer theme, base, tailwind, primevue;
2
+ @layer theme, base, component, library-utilities, utilities, primevue;
3
3
  @import '@bcc-code/design-tokens/css';
4
4
 
5
5
  @import 'tailwindcss';
@@ -23,201 +23,36 @@
23
23
  --spacing-18: 4.5rem;
24
24
  }
25
25
 
26
- .ctx-default {
27
- @apply ctx-default;
28
- }
29
- .ctx-success {
30
- @apply ctx-success-subtlest;
31
- }
32
- .ctx-danger {
33
- @apply ctx-danger-subtlest;
34
- }
35
- .ctx-warning {
36
- @apply ctx-warning-subtlest;
37
- }
38
- .ctx-info {
39
- @apply ctx-info-subtlest;
40
- }
26
+ /*
27
+ * Force-emit ctx-* utilities that components construct dynamically (e.g.
28
+ * `:class="\`ctx-${context}\`"` in BccBadge, BccStepIndicator, BccCapacityIndicator).
29
+ * Tailwind cannot see those class names by scanning source, so without this list
30
+ * they would never be emitted into the utilities layer.
31
+ *
32
+ * Source of truth: the @utility ctx-* definitions in ./contexts.css (auto-generated
33
+ * by `pnpm run generate:context-css`). Keep this list in sync with that file.
34
+ */
35
+ @source inline("ctx-default ctx-{blue,brown,gray,green,magenta,orange,purple,red,teal,yellow}-{bolder,subtle,subtler,subtlest} ctx-{danger,info,success,warning}-{bolder,subtlest} ctx-brand-{bold,bolder,boldest,default,subtle,subtler,subtlest} ctx-neutral-{bold,bolder,boldest,subtle,subtler,subtlest}");
41
36
 
42
- .ctx-blue-bolder {
43
- @apply ctx-blue-bolder;
44
- }
45
- .ctx-blue-subtle {
46
- @apply ctx-blue-subtle;
47
- }
48
- .ctx-blue-subtler {
49
- @apply ctx-blue-subtler;
50
- }
51
- .ctx-blue-subtlest {
52
- @apply ctx-blue-subtlest;
53
- }
54
- .ctx-brand-boldest {
55
- @apply ctx-brand-boldest;
56
- }
57
- .ctx-brand-bolder {
58
- @apply ctx-brand-bolder;
59
- }
60
- .ctx-brand-bold {
61
- @apply ctx-brand-bold;
62
- }
63
- .ctx-brand-subtle {
64
- @apply ctx-brand-subtle;
65
- }
66
- .ctx-brand-subtler {
67
- @apply ctx-brand-subtler;
68
- }
69
- .ctx-brand-subtlest {
70
- @apply ctx-brand-subtlest;
71
- }
72
- .ctx-brown-bolder {
73
- @apply ctx-brown-bolder;
74
- }
75
- .ctx-brown-subtle {
76
- @apply ctx-brown-subtle;
77
- }
78
- .ctx-brown-subtler {
79
- @apply ctx-brown-subtler;
80
- }
81
- .ctx-brown-subtlest {
82
- @apply ctx-brown-subtlest;
83
- }
84
- .ctx-danger-subtlest {
85
- @apply ctx-danger;
86
- }
87
- .ctx-danger-bolder {
88
- @apply ctx-danger-bolder;
89
- }
90
- .ctx-gray-bolder {
91
- @apply ctx-gray-bolder;
92
- }
93
- .ctx-gray-subtle {
94
- @apply ctx-gray-subtle;
95
- }
96
- .ctx-gray-subtler {
97
- @apply ctx-gray-subtler;
98
- }
99
- .ctx-gray-subtlest {
100
- @apply ctx-gray-subtlest;
101
- }
102
- .ctx-green-bolder {
103
- @apply ctx-green-bolder;
104
- }
105
- .ctx-green-subtle {
106
- @apply ctx-green-subtle;
107
- }
108
- .ctx-green-subtler {
109
- @apply ctx-green-subtler;
110
- }
111
- .ctx-green-subtlest {
112
- @apply ctx-green-subtlest;
113
- }
114
- .ctx-info-subtlest {
115
- @apply ctx-info;
116
- }
117
- .ctx-info-bolder {
118
- @apply ctx-info-bolder;
119
- }
120
- .ctx-magenta-bolder {
121
- @apply ctx-magenta-bolder;
122
- }
123
- .ctx-magenta-subtle {
124
- @apply ctx-magenta-subtle;
125
- }
126
- .ctx-magenta-subtler {
127
- @apply ctx-magenta-subtler;
128
- }
129
- .ctx-magenta-subtlest {
130
- @apply ctx-magenta-subtlest;
131
- }
132
- .ctx-neutral-boldest {
133
- @apply ctx-neutral-boldest;
134
- }
135
- .ctx-neutral-bolder {
136
- @apply ctx-neutral-bolder;
137
- }
138
- .ctx-neutral-bold {
139
- @apply ctx-neutral-bold;
140
- }
141
- .ctx-neutral-subtle {
142
- @apply ctx-neutral-subtle;
143
- }
144
- .ctx-neutral-subtler {
145
- @apply ctx-neutral-subtler;
146
- }
147
- .ctx-neutral-subtlest {
148
- @apply ctx-neutral-subtlest;
149
- }
150
- .ctx-orange-bolder {
151
- @apply ctx-orange-bolder;
152
- }
153
- .ctx-orange-subtle {
154
- @apply ctx-orange-subtle;
155
- }
156
- .ctx-orange-subtler {
157
- @apply ctx-orange-subtler;
158
- }
159
- .ctx-orange-subtlest {
160
- @apply ctx-orange-subtlest;
161
- }
162
- .ctx-purple-bolder {
163
- @apply ctx-purple-bolder;
164
- }
165
- .ctx-purple-subtle {
166
- @apply ctx-purple-subtle;
167
- }
168
- .ctx-purple-subtler {
169
- @apply ctx-purple-subtler;
170
- }
171
- .ctx-purple-subtlest {
172
- @apply ctx-purple-subtlest;
173
- }
174
- .ctx-red-bolder {
175
- @apply ctx-red-bolder;
176
- }
177
- .ctx-red-subtle {
178
- @apply ctx-red-subtle;
179
- }
180
- .ctx-red-subtler {
181
- @apply ctx-red-subtler;
182
- }
183
- .ctx-red-subtlest {
184
- @apply ctx-red-subtlest;
185
- }
186
- .ctx-success-subtlest {
187
- @apply ctx-success;
188
- }
189
- .ctx-success-bolder {
190
- @apply ctx-success-bolder;
191
- }
192
- .ctx-teal-bolder {
193
- @apply ctx-teal-bolder;
194
- }
195
- .ctx-teal-subtle {
196
- @apply ctx-teal-subtle;
197
- }
198
- .ctx-teal-subtler {
199
- @apply ctx-teal-subtler;
200
- }
201
- .ctx-teal-subtlest {
202
- @apply ctx-teal-subtlest;
203
- }
204
- .ctx-warning-subtlest {
205
- @apply ctx-warning;
206
- }
207
- .ctx-warning-bolder {
208
- @apply ctx-warning-bolder;
209
- }
210
- .ctx-yellow-bolder {
211
- @apply ctx-yellow-bolder;
212
- }
213
- .ctx-yellow-subtle {
214
- @apply ctx-yellow-subtle;
215
- }
216
- .ctx-yellow-subtler {
217
- @apply ctx-yellow-subtler;
218
- }
219
- .ctx-yellow-subtlest {
220
- @apply ctx-yellow-subtlest;
37
+ /*
38
+ * Aliases for semantic context names. Plain @apply wrappers are kept because
39
+ * `.ctx-success` etc. are aliases (point at -subtlest variants), not standalone
40
+ * @utility definitions. Wrapped in @layer utilities so they participate in the
41
+ * cascade alongside other utilities.
42
+ */
43
+ @layer utilities {
44
+ .ctx-success {
45
+ @apply ctx-success-subtlest;
46
+ }
47
+ .ctx-danger {
48
+ @apply ctx-danger-subtlest;
49
+ }
50
+ .ctx-warning {
51
+ @apply ctx-warning-subtlest;
52
+ }
53
+ .ctx-info {
54
+ @apply ctx-info-subtlest;
55
+ }
221
56
  }
222
57
 
223
58
 
@@ -2246,6 +2081,114 @@
2246
2081
 
2247
2082
 
2248
2083
 
2084
+ /* from ./BccImage/BccImage.css */
2085
+ @layer components {
2086
+ .bcc-image {
2087
+ @apply relative inline-block overflow-hidden leading-none;
2088
+ }
2089
+
2090
+ .bcc-image__img {
2091
+ @apply block max-w-full align-middle;
2092
+ }
2093
+
2094
+ .bcc-image--preview {
2095
+ @apply cursor-zoom-in;
2096
+ }
2097
+
2098
+ .bcc-image__preview-mask {
2099
+ @apply absolute inset-0 m-0 flex cursor-pointer items-center justify-center border-0 bg-black/40 p-0 opacity-0 transition-opacity;
2100
+ }
2101
+
2102
+ .bcc-image--preview:hover .bcc-image__preview-mask,
2103
+ .bcc-image--preview:focus-within .bcc-image__preview-mask {
2104
+ @apply opacity-100;
2105
+ }
2106
+
2107
+ .bcc-image__preview-icon {
2108
+ @apply size-6 text-white;
2109
+ }
2110
+ }
2111
+
2112
+
2113
+
2114
+ /* from ./BccLightbox/BccLightbox.css */
2115
+ @layer components {
2116
+ .bcc-lightbox {
2117
+ @apply fixed inset-0 z-9999 flex touch-none items-center justify-center;
2118
+ }
2119
+
2120
+ .bcc-lightbox__backdrop {
2121
+ @apply absolute inset-0 bg-black/75;
2122
+ }
2123
+
2124
+ .bcc-lightbox__header {
2125
+ @apply top-inset-top pointer-events-none absolute inset-x-0 z-20 flex items-center justify-end gap-3 p-3;
2126
+ }
2127
+
2128
+ .bcc-lightbox__counter {
2129
+ @apply body-sm pointer-events-none mr-auto rounded-md bg-black/50 px-2.5 py-1 text-white;
2130
+ }
2131
+
2132
+ .bcc-lightbox__control {
2133
+ @apply pointer-events-auto flex cursor-pointer items-center justify-center rounded-md border-0 bg-black/50 p-2 text-white transition-colors hover:bg-black/65;
2134
+ }
2135
+
2136
+ .bcc-lightbox__icon {
2137
+ @apply size-6 shrink-0;
2138
+ }
2139
+
2140
+ .bcc-lightbox__nav {
2141
+ @apply absolute top-1/2 z-20 -translate-y-1/2;
2142
+ }
2143
+
2144
+ .bcc-lightbox__nav--prev {
2145
+ @apply left-1 sm:left-3;
2146
+ }
2147
+
2148
+ .bcc-lightbox__nav--next {
2149
+ @apply right-1 sm:right-3;
2150
+ }
2151
+
2152
+ .bcc-lightbox__stage {
2153
+ @apply relative z-10 box-border flex h-full w-full max-w-6xl items-center justify-center px-2 py-14 sm:px-12;
2154
+ }
2155
+
2156
+ .bcc-lightbox__toolbar {
2157
+ @apply center bottom-inset-bottom-4 pointer-events-none absolute z-20 flex gap-1 rounded-md bg-black/50 p-1;
2158
+ }
2159
+
2160
+ .bcc-lightbox__toolbar-btn {
2161
+ @apply pointer-events-auto flex cursor-pointer items-center justify-center rounded-sm border-0 bg-transparent px-3 py-2 text-white transition-colors hover:bg-white/12;
2162
+ }
2163
+
2164
+ .bcc-lightbox__media {
2165
+ @apply flex max-h-[calc(100vh-7rem)] w-full touch-none flex-col items-center justify-center;
2166
+ }
2167
+
2168
+ .bcc-lightbox__media--zoomable {
2169
+ @apply cursor-grab active:cursor-grabbing;
2170
+ }
2171
+
2172
+ .bcc-lightbox__transform {
2173
+ @apply flex origin-center items-center justify-center will-change-transform;
2174
+ }
2175
+
2176
+ .bcc-lightbox__image,
2177
+ .bcc-lightbox__video {
2178
+ @apply block h-auto max-h-[calc(100vh-8rem)] w-auto max-w-[min(92vw,68rem)] object-contain select-none;
2179
+ }
2180
+
2181
+ .bcc-lightbox__video {
2182
+ @apply bg-black;
2183
+ }
2184
+
2185
+ .bcc-lightbox__caption {
2186
+ @apply body-sm mt-3 max-w-[min(92vw,40rem)] text-center text-white;
2187
+ }
2188
+ }
2189
+
2190
+
2191
+
2249
2192
  /* from ./BccNpsResult/BccNpsResult.css */
2250
2193
  @layer components {
2251
2194
  .bcc-nps-result {
@@ -2480,6 +2423,7 @@
2480
2423
 
2481
2424
 
2482
2425
 
2426
+
2483
2427
  /* === ./components/wrapped/styles.css === */
2484
2428
 
2485
2429
  /* from ./BccAvatar/BccAvatar.css */
@@ -2608,22 +2552,24 @@
2608
2552
  font-kerning: normal;
2609
2553
  }
2610
2554
 
2611
- hr {
2612
- border-color: var(--color-border-default);
2613
- }
2555
+ @layer base {
2556
+ hr {
2557
+ border-color: var(--color-border-default);
2558
+ }
2614
2559
 
2615
- b,
2616
- strong,
2617
- .bold {
2618
- font-weight: bold;
2619
- --ctx-text: var(--ctx-text-bold);
2620
- }
2560
+ b,
2561
+ strong,
2562
+ .bold {
2563
+ font-weight: bold;
2564
+ --ctx-text: var(--ctx-text-bold);
2565
+ }
2621
2566
 
2622
- /* Disable state */
2623
- :disabled,
2624
- .disabled {
2625
- cursor: not-allowed;
2626
- pointer-events: none;
2567
+ /* Disable state */
2568
+ :disabled,
2569
+ .disabled {
2570
+ cursor: not-allowed;
2571
+ pointer-events: none;
2572
+ }
2627
2573
  }
2628
2574
 
2629
2575
 
@@ -0,0 +1,54 @@
1
+ import { type StyleValue } from 'vue';
2
+ import type { LightboxItemInput } from '../BccLightbox/types';
3
+ export type { LightboxItem, LightboxItemInput, LightboxMediaType } from '../BccLightbox/types';
4
+ export type ImageProps = {
5
+ /** Image URL for the thumbnail and lightbox (when `imgs` is not set). */
6
+ src?: string;
7
+ /** Enables click-to-preview in the global lightbox. */
8
+ preview?: boolean;
9
+ /** Inline style applied to the thumbnail `<img>`. */
10
+ imageStyle?: StyleValue;
11
+ /** Class applied to the thumbnail `<img>`. */
12
+ imageClass?: string | Record<string, boolean> | Array<string | Record<string, boolean>>;
13
+ /** Gallery items for the lightbox. Falls back to `src` when omitted. */
14
+ imgs?: LightboxItemInput[];
15
+ /** Index of the item shown when the lightbox opens. */
16
+ index?: number;
17
+ /** Allow looping when navigating a gallery. */
18
+ loop?: boolean;
19
+ /** Close the lightbox when clicking the backdrop. */
20
+ maskClosable?: boolean;
21
+ /** Accessible label for the preview trigger button. */
22
+ previewAriaLabel?: string;
23
+ };
24
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
25
+ type __VLS_Slots = {} & {
26
+ image?: (props: typeof __VLS_1) => any;
27
+ } & {
28
+ previewicon?: (props: typeof __VLS_3) => any;
29
+ } & {
30
+ indicatoricon?: (props: typeof __VLS_5) => any;
31
+ };
32
+ declare const __VLS_base: import("vue").DefineComponent<ImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ error: (event: Event) => any;
34
+ show: () => any;
35
+ hide: () => any;
36
+ }, string, import("vue").PublicProps, Readonly<ImageProps> & Readonly<{
37
+ onError?: ((event: Event) => any) | undefined;
38
+ onShow?: (() => any) | undefined;
39
+ onHide?: (() => any) | undefined;
40
+ }>, {
41
+ index: number;
42
+ loop: boolean;
43
+ maskClosable: boolean;
44
+ preview: boolean;
45
+ previewAriaLabel: string;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
48
+ declare const _default: typeof __VLS_export;
49
+ export default _default;
50
+ type __VLS_WithSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import type { LightboxItem } from './types';
2
+ type __VLS_Props = {
3
+ item: LightboxItem;
4
+ zoomEnabled: boolean;
5
+ };
6
+ declare function rotateLeft(): void;
7
+ declare function rotateRight(): void;
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
9
+ isImage: import("vue").ComputedRef<boolean>;
10
+ rotateLeft: typeof rotateLeft;
11
+ rotateRight: typeof rotateRight;
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ swipe: (direction: "left" | "right") => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSwipe?: ((direction: "left" | "right") => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { type Ref } from 'vue';
2
+ import { openLightbox } from './state';
3
+ import { type LightboxApi } from './types';
4
+ export declare function useLightbox(): LightboxApi;
5
+ /** Open the global lightbox without using inject (e.g. imperative usage). */
6
+ export declare const openBccLightbox: typeof openLightbox;
7
+ /** Close the global lightbox without using inject. */
8
+ export declare const closeBccLightbox: LightboxApi['close'];
9
+ export declare function usePinchPan(zoomEnabled: Ref<boolean>, options?: {
10
+ swipeEnabled?: Ref<boolean>;
11
+ onSwipe?: (direction: 'left' | 'right') => void;
12
+ swipeThreshold?: number;
13
+ }): {
14
+ scale: Ref<number, number>;
15
+ transformStyle: import("vue").ComputedRef<{
16
+ transform: string;
17
+ }>;
18
+ reset: () => void;
19
+ onPointerDown: (event: PointerEvent) => void;
20
+ onPointerMove: (event: PointerEvent) => void;
21
+ onPointerUp: (event: PointerEvent) => void;
22
+ onWheel: (event: WheelEvent) => void;
23
+ };
@@ -0,0 +1,4 @@
1
+ import type { LightboxItem, LightboxItemInput, LightboxMediaType } from './types';
2
+ export declare function detectMediaType(src: string, type?: LightboxMediaType): LightboxMediaType;
3
+ export declare function normalizeLightboxItem(input: LightboxItemInput): LightboxItem;
4
+ export declare function normalizeLightboxItems(items: LightboxItemInput[]): LightboxItem[];
@@ -0,0 +1,6 @@
1
+ export { default as BccLightbox } from './BccLightbox.vue';
2
+ export { closeBccLightbox, openBccLightbox, useLightbox, usePinchPan } from './composables';
3
+ export { detectMediaType, normalizeLightboxItem, normalizeLightboxItems } from './detectMedia';
4
+ export { installBccLightbox, LightboxStore } from './state';
5
+ export { LIGHTBOX_KEY } from './types';
6
+ export type { LightboxApi, LightboxItem, LightboxItemInput, LightboxMediaType, LightboxOpenOptions, LightboxState, } from './types';
@@ -0,0 +1,33 @@
1
+ import type { App } from 'vue';
2
+ import { type LightboxOpenOptions } from './types';
3
+ export declare function openLightbox(options: LightboxOpenOptions): void;
4
+ export declare function closeLightbox(): void;
5
+ declare function setLightboxIndex(index: number): void;
6
+ declare function goToPreviousItem(): void;
7
+ declare function goToNextItem(): void;
8
+ declare function canGoPrevious(): boolean;
9
+ declare function canGoNext(): boolean;
10
+ export declare const LightboxStore: {
11
+ state: {
12
+ readonly visible: boolean;
13
+ readonly items: readonly {
14
+ readonly src: string;
15
+ readonly type?: import("./types").LightboxMediaType | undefined;
16
+ readonly alt?: string | undefined;
17
+ readonly title?: string | undefined;
18
+ readonly poster?: string | undefined;
19
+ }[];
20
+ readonly index: number;
21
+ readonly loop: boolean;
22
+ readonly maskClosable: boolean;
23
+ };
24
+ openLightbox: typeof openLightbox;
25
+ closeLightbox: typeof closeLightbox;
26
+ setLightboxIndex: typeof setLightboxIndex;
27
+ goToPreviousItem: typeof goToPreviousItem;
28
+ goToNextItem: typeof goToNextItem;
29
+ canGoPrevious: typeof canGoPrevious;
30
+ canGoNext: typeof canGoNext;
31
+ };
32
+ export declare function installBccLightbox(app: App): void;
33
+ export {};
@@ -0,0 +1,31 @@
1
+ import type { InjectionKey } from 'vue';
2
+ export type LightboxMediaType = 'image' | 'video';
3
+ export type LightboxItem = {
4
+ src: string;
5
+ type?: LightboxMediaType;
6
+ alt?: string;
7
+ title?: string;
8
+ /** Poster image for video items. */
9
+ poster?: string;
10
+ };
11
+ export type LightboxItemInput = string | LightboxItem;
12
+ export type LightboxOpenOptions = {
13
+ items: LightboxItemInput[];
14
+ index?: number;
15
+ loop?: boolean;
16
+ maskClosable?: boolean;
17
+ onShow?: () => void;
18
+ onHide?: () => void;
19
+ };
20
+ export type LightboxState = {
21
+ visible: boolean;
22
+ items: LightboxItem[];
23
+ index: number;
24
+ loop: boolean;
25
+ maskClosable: boolean;
26
+ };
27
+ export type LightboxApi = {
28
+ open: (options: LightboxOpenOptions) => void;
29
+ close: () => void;
30
+ };
31
+ export declare const LIGHTBOX_KEY: InjectionKey<LightboxApi>;
@@ -25,12 +25,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
25
25
  "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
26
26
  }>, {
27
27
  reverse: boolean;
28
+ disabled: boolean;
28
29
  min: number;
29
30
  max: number;
30
31
  leftLabel: string;
31
32
  rightLabel: string;
32
33
  labelPosition: "top" | "bottom";
33
- disabled: boolean;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  export default _default;
@@ -2,12 +2,14 @@
2
2
  * Custom BCC components (not based on PrimeVue).
3
3
  * Add new custom components here and export them from this file.
4
4
  */
5
+ export * from './BccLightbox';
5
6
  export { default as BccAppNavigation } from './BccAppNavigation/BccAppNavigation.vue';
6
7
  export { default as BccBadge } from './BccBadge/BccBadge.vue';
7
8
  export { default as BccCapacityIndicator } from './BccCapacityIndicator/BccCapacityIndicator.vue';
8
9
  export { default as BccDialKnob } from './BccDialKnob/BccDialKnob.vue';
9
10
  export { default as BccFrame } from './BccFrame/BccFrame.vue';
10
11
  export { default as BccGraphic } from './BccGraphic/BccGraphic.vue';
12
+ export { default as BccImage } from './BccImage/BccImage.vue';
11
13
  export { default as BccNpsResult } from './BccNpsResult/BccNpsResult.vue';
12
14
  export { default as BccNpsScore } from './BccNpsScore/BccNpsScore.vue';
13
15
  export { default as BccReact } from './BccReact/BccReact.vue';
@@ -21,6 +23,7 @@ export type { CapacityIndicatorProps } from './BccCapacityIndicator/BccCapacityI
21
23
  export type { KnobProps, KnobSlots } from './BccDialKnob/BccDialKnob.vue';
22
24
  export type { FrameProps } from './BccFrame/BccFrame.vue';
23
25
  export type { GraphicProps } from './BccGraphic/BccGraphic.vue';
26
+ export type { ImageProps } from './BccImage/BccImage.vue';
24
27
  export type { NpsResultProps } from './BccNpsResult/BccNpsResult.vue';
25
28
  export type { NpsScoreProps } from './BccNpsScore/BccNpsScore.vue';
26
29
  export type { ReactInfo, ReactProps } from './BccReact/types';
@@ -5,6 +5,7 @@ export type MessageProps = Omit<PrimeMessageProps, 'icon'> & {
5
5
  iconRight?: VueComponent | boolean;
6
6
  title?: string;
7
7
  message?: string;
8
+ noShadow?: boolean;
8
9
  };
9
10
  declare var __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
10
11
  type __VLS_Slots = {} & {
@@ -7,7 +7,6 @@ export { default as BccButton } from './BccButton.vue';
7
7
  export { default as BccCheckbox } from './BccCheckbox.vue';
8
8
  export { default as BccChip } from './BccChip/BccChip.vue';
9
9
  export { default as BccConfirmDialog } from './BccConfirmDialog/BccConfirmDialog.vue';
10
- export { default as BccImage } from './BccImage.vue';
11
10
  export { default as BccInput } from './BccInput.vue';
12
11
  export { default as BccMenu } from './BccMenu/BccMenu.vue';
13
12
  export { default as BccMessage } from './BccMessage.vue';
@@ -20,7 +19,6 @@ export type { AvatarProps } from './BccAvatar/BccAvatar.vue';
20
19
  export type { ButtonProps } from './BccButton.vue';
21
20
  export type { CheckboxProps } from './BccCheckbox.vue';
22
21
  export type { ChipProps } from './BccChip/BccChip.vue';
23
- export type { ImageProps } from './BccImage.vue';
24
22
  export type { InputProps } from './BccInput.vue';
25
23
  export type { BccMenuItem, MenuProps } from './BccMenu/BccMenu.vue';
26
24
  export type { MessageProps } from './BccMessage.vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/component-library-vue",
3
- "version": "1.3.23",
3
+ "version": "1.3.25",
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",
@@ -1,17 +0,0 @@
1
- import { type ImageProps as PrimeImageProps } from 'primevue/image';
2
- export type ImageProps = PrimeImageProps;
3
- declare var __VLS_9: {}, __VLS_17: {};
4
- type __VLS_Slots = {} & {
5
- refresh?: (props: typeof __VLS_9) => any;
6
- } & {
7
- undo?: (props: typeof __VLS_17) => any;
8
- };
9
- declare const __VLS_base: import("vue").DefineComponent<PrimeImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrimeImageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
13
- type __VLS_WithSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };