@frollo/frollo-web-ui 0.2.2 → 0.3.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/cjs/index.js +170 -69
- package/esm/fw-progress-bar.js +115 -0
- package/esm/index.js +3 -0
- package/frollo-web-ui.esm.js +191 -81
- package/icons/check.svg +3 -0
- package/icons/index.ts +3 -1
- package/index.d.ts +65 -9
- package/package.json +3 -1
- package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +52 -0
- package/types/components/fw-progress-bar/index.d.ts +2 -0
- package/types/components/fw-progress-bar/index.types.d.ts +5 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/index.types.d.ts +1 -0
- package/types/icons/index.d.ts +2 -1
package/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare interface FwInputProps {
|
|
|
15
15
|
hint?: string;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
declare const _default$
|
|
18
|
+
declare const _default$8: vue.DefineComponent<{
|
|
19
19
|
/**
|
|
20
20
|
* The input v-model
|
|
21
21
|
*/
|
|
@@ -149,7 +149,7 @@ declare const _default$7: vue.DefineComponent<{
|
|
|
149
149
|
readonly: boolean;
|
|
150
150
|
}>;
|
|
151
151
|
|
|
152
|
-
declare const _default$
|
|
152
|
+
declare const _default$7: vue.DefineComponent<{
|
|
153
153
|
/**
|
|
154
154
|
* The name of the input field. Must be unique per form.
|
|
155
155
|
*/
|
|
@@ -203,7 +203,7 @@ declare const _default$6: vue.DefineComponent<{
|
|
|
203
203
|
};
|
|
204
204
|
}>>, {}>;
|
|
205
205
|
|
|
206
|
-
declare const _default$
|
|
206
|
+
declare const _default$6: vue.DefineComponent<{
|
|
207
207
|
/**
|
|
208
208
|
* The header title of the card
|
|
209
209
|
*/
|
|
@@ -276,7 +276,7 @@ declare interface FwButtonProps {
|
|
|
276
276
|
buttonType?: ButtonTypeAttribute;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
declare const _default$
|
|
279
|
+
declare const _default$5: vue.DefineComponent<{
|
|
280
280
|
/**
|
|
281
281
|
* A `router-link` path or object
|
|
282
282
|
*/
|
|
@@ -378,7 +378,7 @@ declare interface NavMenuItem {
|
|
|
378
378
|
label: string;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
declare const _default$
|
|
381
|
+
declare const _default$4: vue.DefineComponent<{
|
|
382
382
|
/**
|
|
383
383
|
* An array of menu items
|
|
384
384
|
* `{ to?: string | object; href?: string; label: string; }`
|
|
@@ -417,7 +417,7 @@ declare const _default$3: vue.DefineComponent<{
|
|
|
417
417
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
418
418
|
}, {}>;
|
|
419
419
|
|
|
420
|
-
declare const _default$
|
|
420
|
+
declare const _default$3: vue.DefineComponent<{
|
|
421
421
|
/**
|
|
422
422
|
* The active tab v-model
|
|
423
423
|
*/
|
|
@@ -441,7 +441,7 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
441
441
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
442
442
|
}, {}>;
|
|
443
443
|
|
|
444
|
-
declare const _default$
|
|
444
|
+
declare const _default$2: vue.DefineComponent<{
|
|
445
445
|
/**
|
|
446
446
|
* The label of the tab component used as the button panel label
|
|
447
447
|
*/
|
|
@@ -473,7 +473,7 @@ declare const _default$1: vue.DefineComponent<{
|
|
|
473
473
|
};
|
|
474
474
|
}>>, {}>;
|
|
475
475
|
|
|
476
|
-
declare const _default: vue.DefineComponent<{
|
|
476
|
+
declare const _default$1: vue.DefineComponent<{
|
|
477
477
|
/**
|
|
478
478
|
* The header title of the modal
|
|
479
479
|
*/
|
|
@@ -616,6 +616,62 @@ declare const _default: vue.DefineComponent<{
|
|
|
616
616
|
confirmButtonType: ButtonVariantName;
|
|
617
617
|
}>;
|
|
618
618
|
|
|
619
|
+
declare interface ProgressBarStep {
|
|
620
|
+
label: string;
|
|
621
|
+
position: number;
|
|
622
|
+
subSteps: number;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
declare const _default: vue.DefineComponent<{
|
|
626
|
+
/**
|
|
627
|
+
* An array of menu progress steps.
|
|
628
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
629
|
+
*/
|
|
630
|
+
steps: {
|
|
631
|
+
type: PropType<ProgressBarStep[]>;
|
|
632
|
+
required: true;
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* An current active step.
|
|
636
|
+
*/
|
|
637
|
+
activeStep: {
|
|
638
|
+
type: NumberConstructor;
|
|
639
|
+
required: true;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* An current active sub-step.
|
|
643
|
+
*/
|
|
644
|
+
activeSubStep: {
|
|
645
|
+
type: NumberConstructor;
|
|
646
|
+
required: true;
|
|
647
|
+
};
|
|
648
|
+
}, {
|
|
649
|
+
calculatedProgressBar: (step: ProgressBarStep) => string;
|
|
650
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
651
|
+
/**
|
|
652
|
+
* An array of menu progress steps.
|
|
653
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
654
|
+
*/
|
|
655
|
+
steps: {
|
|
656
|
+
type: PropType<ProgressBarStep[]>;
|
|
657
|
+
required: true;
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* An current active step.
|
|
661
|
+
*/
|
|
662
|
+
activeStep: {
|
|
663
|
+
type: NumberConstructor;
|
|
664
|
+
required: true;
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* An current active sub-step.
|
|
668
|
+
*/
|
|
669
|
+
activeSubStep: {
|
|
670
|
+
type: NumberConstructor;
|
|
671
|
+
required: true;
|
|
672
|
+
};
|
|
673
|
+
}>>, {}>;
|
|
674
|
+
|
|
619
675
|
declare const __default__$1: vue.DefineComponent<{
|
|
620
676
|
/**
|
|
621
677
|
* The animation-iteration-count CSS property of the pulse animation.
|
|
@@ -703,4 +759,4 @@ declare interface FwCheckboxProps {
|
|
|
703
759
|
|
|
704
760
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
705
761
|
|
|
706
|
-
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$
|
|
762
|
+
export { ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$5 as FwButton, FwButtonProps, _default$6 as FwCard, FwCardProps, _default$7 as FwCheckbox, FwCheckboxProps, __default__$1 as FwEmailPulse, _default$8 as FwInput, FwInputProps, FwInputType, _default$1 as FwModal, FwModalProps, _default$4 as FwNavigationMenu, _default as FwProgressBar, __default__ as FwSuccessPulse, _default$2 as FwTab, _default$3 as FwTabs, ModalServiceProps, NavMenuItem, ProgressBarStep, install as default, modalService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frollo/frollo-web-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Frollo's UI library for components, utilities and configs",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./icons": "./icons/index.ts",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"rollup": "^2.67.2",
|
|
74
74
|
"rollup-plugin-dts": "^4.1.0",
|
|
75
75
|
"rollup-plugin-postcss": "^4.0.2",
|
|
76
|
+
"rollup-plugin-svg-to-vue": "^1.0.0",
|
|
76
77
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
77
78
|
"rollup-plugin-vue": "^6.0.0",
|
|
78
79
|
"sass": "^1.49.7",
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
"vee-validate": "^4.5.9",
|
|
85
86
|
"vue-loader": "^16.8.3",
|
|
86
87
|
"vue-style-loader": "^4.1.3",
|
|
88
|
+
"vue-svg-loader": "^0.17.0-beta.2",
|
|
87
89
|
"yup": "^0.32.11"
|
|
88
90
|
},
|
|
89
91
|
"homepage": "https://github.com/frollous/frollo-web-ui#readme",
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ProgressBarStep } from './index.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* An array of menu progress steps.
|
|
6
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
7
|
+
*/
|
|
8
|
+
steps: {
|
|
9
|
+
type: PropType<ProgressBarStep[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* An current active step.
|
|
14
|
+
*/
|
|
15
|
+
activeStep: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* An current active sub-step.
|
|
21
|
+
*/
|
|
22
|
+
activeSubStep: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
calculatedProgressBar: (step: ProgressBarStep) => string;
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
/**
|
|
30
|
+
* An array of menu progress steps.
|
|
31
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
32
|
+
*/
|
|
33
|
+
steps: {
|
|
34
|
+
type: PropType<ProgressBarStep[]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* An current active step.
|
|
39
|
+
*/
|
|
40
|
+
activeStep: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* An current active sub-step.
|
|
46
|
+
*/
|
|
47
|
+
activeSubStep: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
}>>, {}>;
|
|
52
|
+
export default _default;
|
|
@@ -4,3 +4,4 @@ export * from '../components/fw-navigation-menu/index.types';
|
|
|
4
4
|
export * from '../components/fw-input/index.types';
|
|
5
5
|
export * from '../components/fw-checkbox/index.types';
|
|
6
6
|
export * from '../components/fw-modal/index.types';
|
|
7
|
+
export * from '../components/fw-progress-bar/index.types';
|
package/types/icons/index.d.ts
CHANGED
|
@@ -13,4 +13,5 @@ import InfoCircleSvg from './info-circle.svg';
|
|
|
13
13
|
import FileExclamationSvg from './file-exclamation.svg';
|
|
14
14
|
import HourglassClockSvg from './hourglass-clock.svg';
|
|
15
15
|
import EnvelopeSvg from './envelope.svg';
|
|
16
|
-
|
|
16
|
+
import CheckSvg from './check.svg';
|
|
17
|
+
export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg };
|