@3squared/forge-ui-3 1.3.5 → 2.0.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.js +2192 -1251
- package/dist/esm/style.css +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/src/components/ForgeAlert.vue.d.ts +1 -4
- package/dist/src/components/ForgeAutoComplete.vue.d.ts +11 -0
- package/dist/src/components/ForgeCheckbox.vue.d.ts +42 -12
- package/dist/src/components/{ForgeChips.vue.d.ts → ForgeChip.vue.d.ts} +14 -12
- package/dist/src/components/ForgeDatepicker.vue.d.ts +76 -58
- package/dist/src/components/ForgeLoader.vue.d.ts +1 -1
- package/dist/src/components/ForgeModal.vue.d.ts +40 -8
- package/dist/src/components/ForgeNavbar.vue.d.ts +2 -2
- package/dist/src/components/ForgeStepper.vue.d.ts +14 -12
- package/dist/src/components/table/ForgeFilterHeader.vue.d.ts +5 -9
- package/dist/src/passthroughs/AutoComplete.pt.d.ts +27 -0
- package/dist/src/passthroughs/Button.pt.d.ts +46 -39
- package/dist/src/passthroughs/Checkbox.pt.d.ts +4 -4
- package/dist/src/passthroughs/{Chips.pt.d.ts → Chip.pt.d.ts} +2 -1
- package/dist/src/passthroughs/Column.pt.d.ts +17 -18
- package/dist/src/passthroughs/Datepicker.pt.d.ts +2 -2
- package/dist/src/passthroughs/Dialog.pt.d.ts +15 -11
- package/dist/src/passthroughs/Dropdown.pt.d.ts +18 -17
- package/dist/src/passthroughs/Fieldset.pt.d.ts +5 -2
- package/dist/src/passthroughs/Image.pt.d.ts +2 -2
- package/dist/src/passthroughs/InputSwitch.pt.d.ts +2 -2
- package/dist/src/passthroughs/Message.pt.d.ts +1 -1
- package/dist/src/passthroughs/Multiselect.pt.d.ts +10 -10
- package/dist/src/passthroughs/Navbar.pt.d.ts +12 -8
- package/dist/src/passthroughs/Panel.pt.d.ts +6 -0
- package/dist/src/passthroughs/{OverlayPanel.pt.d.ts → Popover.pt.d.ts} +3 -3
- package/dist/src/passthroughs/ProgressBar.pt.d.ts +0 -3
- package/dist/src/passthroughs/ProgressSpinner.pt.d.ts +1 -1
- package/dist/src/passthroughs/SelectButton.pt.d.ts +4 -7
- package/dist/src/passthroughs/Steps.pt.d.ts +20 -2
- package/dist/src/passthroughs/Table.pt.d.ts +11 -8
- package/dist/src/passthroughs/Tabs.pt.d.ts +10 -17
- package/dist/src/passthroughs/Tag.pt.d.ts +28 -0
- package/dist/src/passthroughs/Toast.pt.d.ts +3 -6
- package/dist/src/types/forge-types.d.ts +6 -1
- package/dist/tests/component/tab-view/tab.cy.d.ts +1 -0
- package/package.json +13 -9
- package/src/styles/utilities/_utilities.scss +1 -1
- package/src/types/forge-types.ts +8 -1
- package/dist/src/components/deprecated/ForgeMultiSelect.vue.d.ts +0 -65
- /package/dist/tests/component/{chips/chips.cy.d.ts → autocomplete/autocomplete.cy.d.ts} +0 -0
- /package/dist/tests/component/{tab-view/tab-view.cy.d.ts → chip/chip.cy.d.ts} +0 -0
|
@@ -1,36 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TabPassThroughMethodOptions } from 'primevue';
|
|
2
2
|
|
|
3
3
|
declare const _default: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class: string[];
|
|
7
|
-
};
|
|
8
|
-
navContent: () => {
|
|
4
|
+
tabList: {
|
|
5
|
+
root: () => {
|
|
9
6
|
class: string[];
|
|
10
7
|
};
|
|
11
|
-
|
|
8
|
+
tabList: () => {
|
|
12
9
|
class: string[];
|
|
13
10
|
};
|
|
14
|
-
|
|
11
|
+
prevButton: () => {
|
|
15
12
|
class: string[];
|
|
16
13
|
};
|
|
17
14
|
nextButton: () => {
|
|
18
15
|
class: string[];
|
|
19
16
|
};
|
|
20
17
|
};
|
|
21
|
-
|
|
22
|
-
root: () => {
|
|
23
|
-
class: string[];
|
|
24
|
-
};
|
|
25
|
-
headerAction: (options: TabPanelPassThroughMethodOptions & {
|
|
26
|
-
tabpanel: Partial<TabPanelPassThroughMethodOptions>;
|
|
27
|
-
}) => {
|
|
18
|
+
tab: {
|
|
19
|
+
root: ({ context }: TabPassThroughMethodOptions) => {
|
|
28
20
|
class: (string | {
|
|
29
21
|
active: boolean;
|
|
30
|
-
disabled: boolean | undefined;
|
|
31
22
|
})[];
|
|
32
23
|
};
|
|
33
|
-
|
|
24
|
+
};
|
|
25
|
+
tabPanel: {
|
|
26
|
+
root: () => {
|
|
34
27
|
class: string[];
|
|
35
28
|
};
|
|
36
29
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TagPassThroughMethodOptions } from 'primevue';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
tag: {
|
|
5
|
+
root: ({ props }: TagPassThroughMethodOptions) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
"bg-primary-subtle text-primary border-primary": boolean;
|
|
8
|
+
"bg-primary-brand text-brand border-brand": boolean;
|
|
9
|
+
"bg-primary-secondary text-secondary border-secondary": boolean;
|
|
10
|
+
"bg-primary-success text-success border-success": boolean;
|
|
11
|
+
"bg-primary-warning text-warning border-warning": boolean;
|
|
12
|
+
"bg-primary-danger text-danger border-danger": boolean;
|
|
13
|
+
"bg-primary-info text-info border-info": boolean;
|
|
14
|
+
"rounded-pill"?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
"rounded-pill": boolean | undefined;
|
|
17
|
+
"bg-primary-subtle text-primary border-primary"?: undefined;
|
|
18
|
+
"bg-primary-brand text-brand border-brand"?: undefined;
|
|
19
|
+
"bg-primary-secondary text-secondary border-secondary"?: undefined;
|
|
20
|
+
"bg-primary-success text-success border-success"?: undefined;
|
|
21
|
+
"bg-primary-warning text-warning border-warning"?: undefined;
|
|
22
|
+
"bg-primary-danger text-danger border-danger"?: undefined;
|
|
23
|
+
"bg-primary-info text-info border-info"?: undefined;
|
|
24
|
+
})[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
@@ -5,10 +5,7 @@ declare const _default: {
|
|
|
5
5
|
message: () => {
|
|
6
6
|
class: string[];
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
class: string[];
|
|
10
|
-
};
|
|
11
|
-
container: () => {
|
|
8
|
+
messageContent: () => {
|
|
12
9
|
class: string[];
|
|
13
10
|
};
|
|
14
11
|
buttonContainer: () => {
|
|
@@ -20,10 +17,10 @@ declare const _default: {
|
|
|
20
17
|
closeIcon: () => {
|
|
21
18
|
class: string;
|
|
22
19
|
};
|
|
23
|
-
|
|
20
|
+
messageText: () => {
|
|
24
21
|
class: string[];
|
|
25
22
|
};
|
|
26
|
-
|
|
23
|
+
messageIcon: ({ props }: ToastPassThroughMethodOptions) => {
|
|
27
24
|
class: (string | {
|
|
28
25
|
'text-primary': boolean;
|
|
29
26
|
'text-success': boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnProps } from 'primevue/column';
|
|
2
|
-
import { FilterMatchModeOptions } from 'primevue/api';
|
|
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
5
|
|
|
@@ -43,3 +43,8 @@ export interface ForgeTableContext {
|
|
|
43
43
|
sortDirection: 'Asc' | 'Desc' | 'None';
|
|
44
44
|
filters: DataTableFilterMeta | undefined;
|
|
45
45
|
}
|
|
46
|
+
export interface ForgeSteps {
|
|
47
|
+
label: string;
|
|
48
|
+
value: number;
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -2,13 +2,17 @@
|
|
|
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": "
|
|
5
|
+
"version": "2.0.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
9
9
|
{
|
|
10
10
|
"name": "Jacob Minor",
|
|
11
11
|
"email": "jacob.minor@3squared.com"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Isabel Mallon",
|
|
15
|
+
"email": "isabel.mallon@velociti-solutions.com"
|
|
12
16
|
}
|
|
13
17
|
],
|
|
14
18
|
"main": "./dist/esm/forge-ui-3.js",
|
|
@@ -31,23 +35,23 @@
|
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"@azure/abort-controller": "^1.0.0",
|
|
33
37
|
"@azure/storage-blob": "^12.17.0",
|
|
34
|
-
"@iconify/vue": "^4.
|
|
38
|
+
"@iconify/vue": "^4.2.0",
|
|
35
39
|
"@popperjs/core": "^2.11.8",
|
|
36
|
-
"@vueuse/components": "^
|
|
40
|
+
"@vueuse/components": "^12.0.0",
|
|
37
41
|
"bootstrap": "^5.3.3",
|
|
38
42
|
"mime": "^4.0.4",
|
|
39
|
-
"primevue": "^3.53.1",
|
|
40
43
|
"vee-validate": "^4.11.8",
|
|
41
|
-
"
|
|
42
|
-
"vue
|
|
43
|
-
"yup": "^1.
|
|
44
|
+
"primevue": "^4.2.5",
|
|
45
|
+
"vue": "^3.5.13",
|
|
46
|
+
"yup": "^1.6.1"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
46
|
-
"@cypress/code-coverage": "3.13.
|
|
49
|
+
"@cypress/code-coverage": "3.13.9",
|
|
50
|
+
"@primevue/auto-import-resolver": "4.2.5",
|
|
47
51
|
"@vitejs/plugin-vue": "5.2.1",
|
|
48
52
|
"@vitest/coverage-v8": "2.1.6",
|
|
49
53
|
"@vitest/ui": "2.1.6",
|
|
50
|
-
"cypress": "13.
|
|
54
|
+
"cypress": "13.17.0",
|
|
51
55
|
"cypress-real-events": "1.13.0",
|
|
52
56
|
"rollup-plugin-visualizer": "5.12.0",
|
|
53
57
|
"sass": "1.81.0",
|
package/src/types/forge-types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnProps } from "primevue/column";
|
|
2
|
-
import { FilterMatchModeOptions } from "primevue/api";
|
|
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
5
|
|
|
@@ -48,4 +48,11 @@ export interface ForgeTableContext {
|
|
|
48
48
|
sortField: string,
|
|
49
49
|
sortDirection: 'Asc' | 'Desc' | 'None',
|
|
50
50
|
filters: DataTableFilterMeta | undefined
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
export interface ForgeSteps {
|
|
55
|
+
label: string;
|
|
56
|
+
value: number;
|
|
57
|
+
disabled: boolean;
|
|
51
58
|
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Severity } from '../../types/forge-types';
|
|
2
|
-
|
|
3
|
-
export interface ForgeMultiSelectProps {
|
|
4
|
-
severity?: Severity;
|
|
5
|
-
showSelectAll?: boolean;
|
|
6
|
-
showClearSelection?: boolean;
|
|
7
|
-
expandLeft?: boolean;
|
|
8
|
-
selectValue?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
}
|
|
11
|
-
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {
|
|
12
|
-
slot: string | number;
|
|
13
|
-
}) => any>>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeMultiSelectProps>, {
|
|
15
|
-
severity: string;
|
|
16
|
-
expandLeft: boolean;
|
|
17
|
-
showClearSelection: boolean;
|
|
18
|
-
showSelectAll: boolean;
|
|
19
|
-
closeOnSelect: boolean;
|
|
20
|
-
selectValue: string;
|
|
21
|
-
name: string;
|
|
22
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
"update:modelValue": (...args: any[]) => void;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeMultiSelectProps>, {
|
|
25
|
-
severity: string;
|
|
26
|
-
expandLeft: boolean;
|
|
27
|
-
showClearSelection: boolean;
|
|
28
|
-
showSelectAll: boolean;
|
|
29
|
-
closeOnSelect: boolean;
|
|
30
|
-
selectValue: string;
|
|
31
|
-
name: string;
|
|
32
|
-
}>>> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
}>, {
|
|
35
|
-
severity: "secondary" | "info" | "success" | "warning" | "danger" | "primary" | "brand";
|
|
36
|
-
name: string;
|
|
37
|
-
showSelectAll: boolean;
|
|
38
|
-
showClearSelection: boolean;
|
|
39
|
-
expandLeft: boolean;
|
|
40
|
-
selectValue: string;
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
|
-
export default _default;
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
type __VLS_WithDefaults<P, D> = {
|
|
54
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
-
default: D[K];
|
|
56
|
-
}> : P[K];
|
|
57
|
-
};
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
61
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
-
new (): {
|
|
63
|
-
$slots: S;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
File without changes
|
|
File without changes
|