@3squared/forge-ui-3 2.6.0 → 2.8.0
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/esm/forge-ui-3.css +1 -1
- package/dist/esm/forge-ui-3.js +788 -691
- package/dist/index.d.ts +5 -1
- package/dist/src/components/ForgeChip.vue.d.ts +1 -1
- package/dist/src/components/ForgeDatepicker.vue.d.ts +1 -1
- package/dist/src/components/ForgeLoader.vue.d.ts +1 -1
- package/dist/src/components/ForgeNavbar.vue.d.ts +1 -1
- package/dist/src/components/ForgeSelectButton.vue.d.ts +20 -0
- package/dist/src/components/ForgeStepper.vue.d.ts +1 -1
- package/dist/src/components/ForgeToggleButton.vue.d.ts +8 -0
- package/dist/src/components/file-uploader/components/DragDropArea.vue.d.ts +31 -0
- package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +29 -0
- package/dist/src/components/file-uploader/components/MaxFileSize.vue.d.ts +5 -0
- package/dist/src/components/file-uploader/components/UploadButton.vue.d.ts +44 -0
- package/dist/src/components/file-uploader/components/UploadStatus.vue.d.ts +9 -0
- package/dist/src/components/table/ForgePaginationHeader.vue.d.ts +14 -0
- package/dist/src/passthroughs/Accordion.pt.d.ts +17 -0
- package/dist/src/passthroughs/SelectButton.pt.d.ts +2 -3
- package/dist/src/types/forge-types.d.ts +8 -1
- package/dist/tests/component/forge-toggle-button/forge-select-button.cy.d.ts +1 -0
- package/package.json +7 -7
- package/src/styles/components/_button.scss +12 -0
- package/src/types/forge-types.ts +9 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as Bootstrap_PT } from './src/Bootstrap_PT';
|
|
2
|
+
import { ComponentResolver } from 'unplugin-vue-components/types';
|
|
2
3
|
import { default as ForgeAlert } from './src/components/ForgeAlert.vue';
|
|
3
4
|
import { default as ForgeActionButton } from './src/components/ForgeActionButton.vue';
|
|
4
5
|
import { default as ForgeAutoComplete } from './src/components/ForgeAutoComplete.vue';
|
|
@@ -25,6 +26,9 @@ import { default as ForgeFilterHeader } from './src/components/table/ForgeFilter
|
|
|
25
26
|
import { default as ForgeFileUploader } from './src/components/file-uploader/ForgeFileUploader.vue';
|
|
26
27
|
import { default as ForgeColumnCustomiser } from './src/components/table/ForgeColumnCustomiser.vue';
|
|
27
28
|
import { default as ForgePanel } from './src/components/ForgePanel.vue';
|
|
28
|
-
|
|
29
|
+
import { default as ForgeSelectButton } from './src/components/ForgeSelectButton.vue';
|
|
30
|
+
import { default as ForgeToggleButton } from './src/components/ForgeToggleButton.vue';
|
|
31
|
+
export { Bootstrap_PT, ForgeActionButton, ForgeAlert, ForgeAutoComplete, ForgeCheckbox, ForgeChip, ForgeColumnCustomiser, ForgeDatepicker, ForgeForm, ForgeFormField, ForgeInlineEditor, ForgeLink, ForgeLoader, ForgeModal, ForgeMultiSelectPreview, ForgeNavbar, ForgePageHeader, ForgeRemainingCharacters, ForgeProgressBar, ForgeScratchpad, ForgeStatWidget, ForgeStepper, ForgeTile, ForgeTable, ForgeFilterHeader, ForgeFileUploader, ForgePanel, ForgeSelectButton, ForgeToggleButton, ForgeConfirmDialog };
|
|
29
32
|
export * from './src/types/forge-types.ts';
|
|
30
33
|
export * from './src/helpers/index';
|
|
34
|
+
export declare const ForgeResolver: () => ComponentResolver;
|
|
@@ -12,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
14
|
declare const __VLS_component: import('vue').DefineComponent<ForgeChipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeChipProps> & Readonly<{}>, {
|
|
15
|
-
chipSeverity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning";
|
|
15
|
+
chipSeverity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
16
16
|
pill: boolean;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -23,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
23
23
|
"onUpdate:modelValue"?: ((value: Date | Date[] | (Date | null)[] | null | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
name: string;
|
|
26
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning";
|
|
26
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
27
27
|
view: "date" | "month" | "year";
|
|
28
28
|
baseZIndex: number;
|
|
29
29
|
autoZIndex: boolean;
|
|
@@ -3,6 +3,6 @@ export interface ForgeLoaderProps {
|
|
|
3
3
|
severity?: Severity;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: import('vue').DefineComponent<ForgeLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeLoaderProps> & Readonly<{}>, {
|
|
6
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning";
|
|
6
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
7
7
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
8
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<ForgeNavbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeNavbarProps> & Readonly<{}>, {
|
|
16
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "light" | "dark";
|
|
16
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark" | "light" | "dark";
|
|
17
17
|
logoUrl: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ForgeSelectButtonOption } from '../types/forge-types.ts';
|
|
2
|
+
export interface ForgeSelectButtonProps {
|
|
3
|
+
multiple?: boolean;
|
|
4
|
+
allowEmpty?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = ForgeSelectButtonProps;
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue: ForgeSelectButtonOption[];
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
change: (...args: any[]) => void;
|
|
12
|
+
"update:modelValue": (value: ForgeSelectButtonOption[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: ForgeSelectButtonOption[]) => any) | undefined;
|
|
15
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
multiple: boolean;
|
|
18
|
+
allowEmpty: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<ForgeStepperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeStepperProps> & Readonly<{}>, {
|
|
18
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning";
|
|
18
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
19
19
|
currentStep: number;
|
|
20
20
|
showStepLabel: boolean;
|
|
21
21
|
inlineSteps: boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Severity } from '../types/forge-types.ts';
|
|
2
|
+
export interface ForgeToggleButtonProps {
|
|
3
|
+
severity?: Severity;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<ForgeToggleButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeToggleButtonProps> & Readonly<{}>, {
|
|
6
|
+
severity: Severity;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ForgeFileStatus, ForgeFileType } from '../../../types/forge-types';
|
|
2
|
+
interface DragDropAreaProps {
|
|
3
|
+
maxFileInput: number;
|
|
4
|
+
maxFileSize: number;
|
|
5
|
+
acceptedFileTypes: ForgeFileType[];
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = DragDropAreaProps;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue: ForgeFileStatus[];
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: ForgeFileStatus[]) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: ForgeFileStatus[]) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FileUploadStatus } from '../utilities/utilities';
|
|
2
|
+
import { TypedSchema } from 'vee-validate';
|
|
3
|
+
import { ForgeFileType } from '../../../types/forge-types';
|
|
4
|
+
interface FileInfoProps {
|
|
5
|
+
editableFileName: boolean;
|
|
6
|
+
acceptedFileTypes: ForgeFileType[];
|
|
7
|
+
maxFileSize: number;
|
|
8
|
+
getFileUrlAction: (fileName: string) => Promise<[string, string]>;
|
|
9
|
+
customFileNameRules?: TypedSchema;
|
|
10
|
+
autoUploadToBlob?: boolean;
|
|
11
|
+
}
|
|
12
|
+
type __VLS_Props = FileInfoProps;
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
'file': File;
|
|
15
|
+
'blobFileName': string;
|
|
16
|
+
'uploadStatus': FileUploadStatus;
|
|
17
|
+
} & __VLS_Props;
|
|
18
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
deleted: (...args: any[]) => void;
|
|
20
|
+
"update:file": (value: File) => void;
|
|
21
|
+
"update:blobFileName": (value: string) => void;
|
|
22
|
+
"update:uploadStatus": (value: FileUploadStatus) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
onDeleted?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:file"?: ((value: File) => any) | undefined;
|
|
26
|
+
"onUpdate:blobFileName"?: ((value: string) => any) | undefined;
|
|
27
|
+
"onUpdate:uploadStatus"?: ((value: FileUploadStatus) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface MaxFileSizeProps {
|
|
2
|
+
maxFileSize: number;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<MaxFileSizeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MaxFileSizeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ForgeFileStatus, ForgeFileType } from '../../../types/forge-types';
|
|
2
|
+
interface FileUploaderButtonProps {
|
|
3
|
+
acceptedFileTypes: ForgeFileType[];
|
|
4
|
+
maxFileInput: number;
|
|
5
|
+
showDragDropArea: boolean;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = FileUploaderButtonProps;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue: ForgeFileStatus[];
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
message?(_: {}): any;
|
|
15
|
+
'button-content'?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {
|
|
18
|
+
acceptedFilesOverlay: ({
|
|
19
|
+
$props: import('primevue/popover').PopoverProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
20
|
+
$slots: import('primevue/popover').PopoverSlots;
|
|
21
|
+
$emit: ((e: "show") => void) & ((e: "hide") => void);
|
|
22
|
+
} & import('primevue/popover').PopoverMethods) | null;
|
|
23
|
+
};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: ForgeFileStatus[]) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((value: ForgeFileStatus[]) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
acceptedFilesOverlay: ({
|
|
33
|
+
$props: import('primevue/popover').PopoverProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
34
|
+
$slots: import('primevue/popover').PopoverSlots;
|
|
35
|
+
$emit: ((e: "show") => void) & ((e: "hide") => void);
|
|
36
|
+
} & import('primevue/popover').PopoverMethods) | null;
|
|
37
|
+
}, HTMLDivElement>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FileUploadStatus } from '../utilities/utilities';
|
|
2
|
+
interface UploadStatusProps {
|
|
3
|
+
fileSize: number;
|
|
4
|
+
maxFileSize: number;
|
|
5
|
+
bytesUploaded: number;
|
|
6
|
+
uploadStatus: FileUploadStatus;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<UploadStatusProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UploadStatusProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ForgePaginationHeaderProps {
|
|
2
|
+
total: number;
|
|
3
|
+
pageSizes?: Array<number>;
|
|
4
|
+
perPage?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<ForgePaginationHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:perPage": (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<ForgePaginationHeaderProps> & Readonly<{
|
|
9
|
+
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
perPage: number;
|
|
12
|
+
pageSizes: Array<number>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
accordionPanel: {
|
|
3
|
+
root: string;
|
|
4
|
+
};
|
|
5
|
+
accordionHeader: {
|
|
6
|
+
root: string;
|
|
7
|
+
pcToggleButton: {
|
|
8
|
+
root: {
|
|
9
|
+
class: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
accordionContent: {
|
|
14
|
+
root: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SelectButtonPassThroughMethodOptions } from 'primevue/selectbutton';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
selectButton: {
|
|
4
3
|
root: () => {
|
|
@@ -6,9 +5,9 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
toggleButton: {
|
|
9
|
-
root: (
|
|
8
|
+
root: (options: any) => {
|
|
10
9
|
class: (string | {
|
|
11
|
-
'btn-primary':
|
|
10
|
+
'btn-primary': any;
|
|
12
11
|
'btn-outline-primary': boolean;
|
|
13
12
|
})[];
|
|
14
13
|
};
|
|
@@ -2,7 +2,7 @@ import { ColumnProps } from 'primevue/column';
|
|
|
2
2
|
import { FilterMatchModeOptions } from '@primevue/core/api';
|
|
3
3
|
import { FileUploadStatus } from '../components/file-uploader/utilities/utilities';
|
|
4
4
|
import { DataTableFilterMeta } from 'primevue/datatable';
|
|
5
|
-
export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'brand' | undefined;
|
|
5
|
+
export type Severity = 'primary' | 'secondary' | 'success' | 'success-dark' | 'warning' | 'danger' | 'info' | 'brand' | undefined;
|
|
6
6
|
export type Size = 'sm' | 'md' | 'lg' | undefined;
|
|
7
7
|
export type BarPosition = 'top' | 'left' | 'none';
|
|
8
8
|
export type ForgeFormFieldTypes = "text" | "number" | "checkbox" | "textarea" | "mask" | "select" | "multiselect" | "datepicker" | "multiselect-preview";
|
|
@@ -48,3 +48,10 @@ export interface ForgeSteps {
|
|
|
48
48
|
value: number;
|
|
49
49
|
disabled: boolean;
|
|
50
50
|
}
|
|
51
|
+
export interface ForgeSelectButtonOption {
|
|
52
|
+
label: string;
|
|
53
|
+
value: string;
|
|
54
|
+
severity?: Severity;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
selected?: boolean;
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.8.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
"@vitejs/plugin-vue": "5.2.1",
|
|
52
52
|
"@vitest/coverage-v8": "3.0.5",
|
|
53
53
|
"@vitest/ui": "3.0.5",
|
|
54
|
-
"cypress": "14.0.
|
|
54
|
+
"cypress": "14.0.3",
|
|
55
55
|
"cypress-real-events": "1.14.0",
|
|
56
56
|
"rollup-plugin-visualizer": "5.14.0",
|
|
57
|
-
"sass": "1.
|
|
57
|
+
"sass": "1.85.0",
|
|
58
58
|
"typescript": "5.7.3",
|
|
59
|
-
"unplugin-vue-components": "28.
|
|
60
|
-
"vite": "6.0
|
|
59
|
+
"unplugin-vue-components": "28.1.0",
|
|
60
|
+
"vite": "6.1.0",
|
|
61
61
|
"vite-bundle-visualizer": "1.2.1",
|
|
62
62
|
"vite-plugin-dts": "4.5.0",
|
|
63
|
-
"vite-plugin-istanbul": "
|
|
63
|
+
"vite-plugin-istanbul": "7.0.0",
|
|
64
64
|
"vitest": "3.0.5",
|
|
65
65
|
"vue-drawing-canvas": "1.0.14"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"@rollup/rollup-linux-x64-gnu": "4.34.
|
|
68
|
+
"@rollup/rollup-linux-x64-gnu": "4.34.8"
|
|
69
69
|
},
|
|
70
70
|
"nyc": {
|
|
71
71
|
"all": true,
|
|
@@ -18,4 +18,16 @@
|
|
|
18
18
|
color: white;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@each $color, $value in $base-colors {
|
|
24
|
+
.btn.select-btn-#{$color} {
|
|
25
|
+
&:hover, &:active:focus {
|
|
26
|
+
@if ($color == 'brand') {
|
|
27
|
+
background-color: map-get($subtle-colors, '#{$color}-shade-1');
|
|
28
|
+
} @else {
|
|
29
|
+
background-color: map-get($subtle-colors, '#{$color}-subtle');
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
21
33
|
}
|
package/src/types/forge-types.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FilterMatchModeOptions } from "@primevue/core/api";
|
|
|
3
3
|
import { FileUploadStatus } from "../components/file-uploader/utilities/utilities";
|
|
4
4
|
import { DataTableFilterMeta } from "primevue/datatable";
|
|
5
5
|
|
|
6
|
-
export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'brand' | undefined
|
|
6
|
+
export type Severity = 'primary' | 'secondary' | 'success'| 'success-dark' | 'warning' | 'danger' | 'info' | 'brand' | undefined
|
|
7
7
|
export type Size = 'sm' | 'md' | 'lg' | undefined
|
|
8
8
|
export type BarPosition = 'top' | 'left' | 'none'
|
|
9
9
|
|
|
@@ -55,4 +55,12 @@ export interface ForgeSteps {
|
|
|
55
55
|
label: string;
|
|
56
56
|
value: number;
|
|
57
57
|
disabled: boolean;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface ForgeSelectButtonOption {
|
|
61
|
+
label: string,
|
|
62
|
+
value: string,
|
|
63
|
+
severity?: Severity
|
|
64
|
+
disabled?: boolean,
|
|
65
|
+
selected?: boolean,
|
|
58
66
|
}
|