@bcc-code/component-library-vue 0.0.0-dev.f3ffbc4 → 0.0.0-dev.f41f3d5
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 +33 -35
- package/dist/archivo-font/archivo-v25-latin-500.woff2 +0 -0
- package/dist/archivo-font/archivo-v25-latin-600.woff2 +0 -0
- package/dist/archivo-font/archivo-v25-latin-600italic.woff2 +0 -0
- package/dist/archivo-font/archivo-v25-latin-italic.woff2 +0 -0
- package/dist/archivo-font/archivo-v25-latin-regular.woff2 +0 -0
- package/dist/archivo-font.css +40 -0
- package/dist/component-library.js +11804 -10760
- package/dist/component-library.umd.cjs +1285 -390
- 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 +374 -671
- package/dist-types/components/custom/BccAppNavigation/BccAppNavigation.vue.d.ts +1 -0
- package/dist-types/components/custom/BccImage/BccImage.vue.d.ts +54 -0
- package/dist-types/components/custom/BccLightbox/BccLightbox.vue.d.ts +3 -0
- package/dist-types/components/custom/BccLightbox/BccLightboxMedia.vue.d.ts +18 -0
- package/dist-types/components/custom/BccLightbox/composables.d.ts +23 -0
- package/dist-types/components/custom/BccLightbox/detectMedia.d.ts +4 -0
- package/dist-types/components/custom/BccLightbox/index.d.ts +6 -0
- package/dist-types/components/custom/BccLightbox/state.d.ts +33 -0
- package/dist-types/components/custom/BccLightbox/types.d.ts +31 -0
- package/dist-types/components/custom/BccNpsScore/BccNpsScore.vue.d.ts +1 -1
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
- package/dist-types/components/custom/index.d.ts +3 -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 +6 -1
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +1 -0
- package/dist-types/components/wrapped/index.d.ts +0 -2
- package/dist-types/index.d.ts +1 -0
- package/package.json +9 -3
- package/dist-types/components/custom/BccCircleLoader/BccCircleLoader.vue.d.ts +0 -11
- package/dist-types/components/wrapped/BccImage.vue.d.ts +0 -17
|
@@ -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;
|
|
@@ -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;
|
|
@@ -2,13 +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
|
-
export { default as BccCircleLoader } from './BccCircleLoader/BccCircleLoader.vue';
|
|
9
9
|
export { default as BccDialKnob } from './BccDialKnob/BccDialKnob.vue';
|
|
10
10
|
export { default as BccFrame } from './BccFrame/BccFrame.vue';
|
|
11
11
|
export { default as BccGraphic } from './BccGraphic/BccGraphic.vue';
|
|
12
|
+
export { default as BccImage } from './BccImage/BccImage.vue';
|
|
12
13
|
export { default as BccNpsResult } from './BccNpsResult/BccNpsResult.vue';
|
|
13
14
|
export { default as BccNpsScore } from './BccNpsScore/BccNpsScore.vue';
|
|
14
15
|
export { default as BccReact } from './BccReact/BccReact.vue';
|
|
@@ -22,6 +23,7 @@ export type { CapacityIndicatorProps } from './BccCapacityIndicator/BccCapacityI
|
|
|
22
23
|
export type { KnobProps, KnobSlots } from './BccDialKnob/BccDialKnob.vue';
|
|
23
24
|
export type { FrameProps } from './BccFrame/BccFrame.vue';
|
|
24
25
|
export type { GraphicProps } from './BccGraphic/BccGraphic.vue';
|
|
26
|
+
export type { ImageProps } from './BccImage/BccImage.vue';
|
|
25
27
|
export type { NpsResultProps } from './BccNpsResult/BccNpsResult.vue';
|
|
26
28
|
export type { NpsScoreProps } from './BccNpsScore/BccNpsScore.vue';
|
|
27
29
|
export type { ReactInfo, ReactProps } from './BccReact/types';
|
|
@@ -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 = {} & {
|
|
@@ -5,10 +5,15 @@ 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
|
-
declare var __VLS_19: {};
|
|
10
|
+
declare var __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
|
|
10
11
|
type __VLS_Slots = {} & {
|
|
11
12
|
default?: (props: typeof __VLS_19) => any;
|
|
13
|
+
} & {
|
|
14
|
+
title?: (props: typeof __VLS_21) => any;
|
|
15
|
+
} & {
|
|
16
|
+
message?: (props: typeof __VLS_23) => any;
|
|
12
17
|
};
|
|
13
18
|
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
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __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/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.f41f3d5",
|
|
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-archivo-font.mjs && 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",
|
|
@@ -54,7 +58,7 @@
|
|
|
54
58
|
"create-version": "node ./scripts/version.cjs"
|
|
55
59
|
},
|
|
56
60
|
"dependencies": {
|
|
57
|
-
"@bcc-code/design-tokens": "^5.2.
|
|
61
|
+
"@bcc-code/design-tokens": "^5.2.5",
|
|
58
62
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
59
63
|
"@primeuix/themes": "^2.0.3",
|
|
60
64
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -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;
|
|
@@ -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
|
-
};
|