@frollo/frollo-web-ui 1.2.2 → 1.2.3
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 +318 -218
- package/esm/fw-accordion.js +100 -0
- package/esm/fw-dropdown.js +1 -1
- package/esm/fw-table.js +2 -2
- package/esm/{index-16e7ac1e.js → index-2ee67707.js} +1 -1
- package/esm/{index-ca8d7e19.js → index-ed9adbea.js} +92 -78
- package/esm/index.js +6 -3
- package/frollo-web-ui.esm.js +358 -247
- package/icons/index.ts +3 -1
- package/icons/plus.svg +3 -0
- package/index.d.ts +68 -14
- package/package.json +1 -1
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +48 -0
- package/types/components/fw-accordion/index.d.ts +2 -0
- package/types/components/fw-accordion/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/icons/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ import LandmarkSvg from './landmark.svg';
|
|
|
22
22
|
import CoinsSvg from './coins.svg';
|
|
23
23
|
import CaretDownSvg from './caret-down.svg';
|
|
24
24
|
import SortLightSvg from './sort-light.svg';
|
|
25
|
+
import PlusSvg from './plus.svg';
|
|
25
26
|
|
|
26
27
|
export {
|
|
27
28
|
ViewSvg,
|
|
@@ -47,5 +48,6 @@ export {
|
|
|
47
48
|
LandmarkSvg,
|
|
48
49
|
CoinsSvg,
|
|
49
50
|
CaretDownSvg,
|
|
50
|
-
SortLightSvg
|
|
51
|
+
SortLightSvg,
|
|
52
|
+
PlusSvg
|
|
51
53
|
};
|
package/icons/plus.svg
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 46 46" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M45.75 23C45.75 23.9625 44.9625 24.75 44 24.75H24.75V44C24.75 44.9673 23.9673 45.7511 23 45.7511C22.0327 45.7511 21.25 44.9625 21.25 44V24.75H2C1.03269 24.75 0.25 23.968 0.25 23.0011C0.25 22.0375 1.03312 21.25 2 21.25H21.25V2C21.25 1.03269 22.0327 0.251099 23 0.251099C23.9673 0.251099 24.75 1.03313 24.75 2V21.25H44C44.9625 21.25 45.75 22.0375 45.75 23Z" />
|
|
3
|
+
</svg>
|
package/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare interface FwInputProps {
|
|
|
18
18
|
tabindex?: string;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
declare const _default$
|
|
21
|
+
declare const _default$e: vue.DefineComponent<{
|
|
22
22
|
/**
|
|
23
23
|
* The input v-model
|
|
24
24
|
*/
|
|
@@ -169,7 +169,7 @@ declare const _default$d: vue.DefineComponent<{
|
|
|
169
169
|
tabindex: string;
|
|
170
170
|
}>;
|
|
171
171
|
|
|
172
|
-
declare const _default$
|
|
172
|
+
declare const _default$d: vue.DefineComponent<{
|
|
173
173
|
/**
|
|
174
174
|
* The name of the input field. Must be unique per form.
|
|
175
175
|
*/
|
|
@@ -236,7 +236,7 @@ declare interface FwDropdownProps {
|
|
|
236
236
|
placeholder?: string;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
declare const _default$
|
|
239
|
+
declare const _default$c: vue.DefineComponent<{
|
|
240
240
|
/**
|
|
241
241
|
* The select v-model
|
|
242
242
|
*/
|
|
@@ -347,7 +347,7 @@ declare const _default$b: vue.DefineComponent<{
|
|
|
347
347
|
placeholder: string;
|
|
348
348
|
}>;
|
|
349
349
|
|
|
350
|
-
declare const _default$
|
|
350
|
+
declare const _default$b: vue.DefineComponent<{
|
|
351
351
|
/**
|
|
352
352
|
* The header title of the card
|
|
353
353
|
*/
|
|
@@ -454,7 +454,7 @@ declare interface FwButtonProps {
|
|
|
454
454
|
rounded?: boolean;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
declare const _default$
|
|
457
|
+
declare const _default$a: vue.DefineComponent<{
|
|
458
458
|
/**
|
|
459
459
|
* A `router-link` path or object
|
|
460
460
|
*/
|
|
@@ -590,7 +590,7 @@ declare interface NavMenuItem {
|
|
|
590
590
|
label: string;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
declare const _default$
|
|
593
|
+
declare const _default$9: vue.DefineComponent<{
|
|
594
594
|
/**
|
|
595
595
|
* An array of menu items
|
|
596
596
|
* `{ to?: string | object; href?: string; label: string; }`
|
|
@@ -629,7 +629,7 @@ declare const _default$8: vue.DefineComponent<{
|
|
|
629
629
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
630
630
|
}, {}>;
|
|
631
631
|
|
|
632
|
-
declare const _default$
|
|
632
|
+
declare const _default$8: vue.DefineComponent<{
|
|
633
633
|
/**
|
|
634
634
|
* The active tab v-model
|
|
635
635
|
*/
|
|
@@ -653,7 +653,7 @@ declare const _default$7: vue.DefineComponent<{
|
|
|
653
653
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
654
654
|
}, {}>;
|
|
655
655
|
|
|
656
|
-
declare const _default$
|
|
656
|
+
declare const _default$7: vue.DefineComponent<{
|
|
657
657
|
/**
|
|
658
658
|
* The label of the tab component used as the button panel label
|
|
659
659
|
*/
|
|
@@ -685,7 +685,7 @@ declare const _default$6: vue.DefineComponent<{
|
|
|
685
685
|
};
|
|
686
686
|
}>>, {}>;
|
|
687
687
|
|
|
688
|
-
declare const _default$
|
|
688
|
+
declare const _default$6: vue.DefineComponent<{
|
|
689
689
|
/**
|
|
690
690
|
* The header title of the modal
|
|
691
691
|
*/
|
|
@@ -834,7 +834,7 @@ declare interface ProgressBarStep {
|
|
|
834
834
|
subSteps: number;
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
declare const _default$
|
|
837
|
+
declare const _default$5: vue.DefineComponent<{
|
|
838
838
|
/**
|
|
839
839
|
* An array of menu progress steps.
|
|
840
840
|
* `{ label: string; position: number; subSteps: number; }`
|
|
@@ -901,7 +901,7 @@ declare interface FwTagProps {
|
|
|
901
901
|
variant?: TagVariantName;
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
declare const _default$
|
|
904
|
+
declare const _default$4: vue.DefineComponent<{
|
|
905
905
|
/**
|
|
906
906
|
* The size of the tag. Accepts: 'xs' & 'sm'
|
|
907
907
|
*/
|
|
@@ -960,7 +960,7 @@ declare interface FwTableProps {
|
|
|
960
960
|
options?: FwTableItemOptions;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
declare const _default$
|
|
963
|
+
declare const _default$3: vue.DefineComponent<{
|
|
964
964
|
items: {
|
|
965
965
|
type: PropType<FwTableItem[]>;
|
|
966
966
|
required: true;
|
|
@@ -991,9 +991,57 @@ declare const _default$2: vue.DefineComponent<{
|
|
|
991
991
|
};
|
|
992
992
|
}>>, {}>;
|
|
993
993
|
|
|
994
|
+
declare const _default$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
995
|
+
|
|
994
996
|
declare const _default$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
995
997
|
|
|
996
|
-
declare const _default: vue.DefineComponent<{
|
|
998
|
+
declare const _default: vue.DefineComponent<{
|
|
999
|
+
/**
|
|
1000
|
+
* The header title of the accordion
|
|
1001
|
+
*/
|
|
1002
|
+
title: {
|
|
1003
|
+
type: StringConstructor;
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* Title suffix of the accordion header
|
|
1007
|
+
*/
|
|
1008
|
+
suffixTitle: {
|
|
1009
|
+
type: StringConstructor;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* Whether the accordion should be initially opened
|
|
1013
|
+
*/
|
|
1014
|
+
isOpened: {
|
|
1015
|
+
type: BooleanConstructor;
|
|
1016
|
+
default: boolean;
|
|
1017
|
+
};
|
|
1018
|
+
}, {
|
|
1019
|
+
isOpen: vue.Ref<boolean>;
|
|
1020
|
+
transitionEnter: (el: HTMLElement) => void;
|
|
1021
|
+
transitionLeave: (el: HTMLElement) => void;
|
|
1022
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1023
|
+
/**
|
|
1024
|
+
* The header title of the accordion
|
|
1025
|
+
*/
|
|
1026
|
+
title: {
|
|
1027
|
+
type: StringConstructor;
|
|
1028
|
+
};
|
|
1029
|
+
/**
|
|
1030
|
+
* Title suffix of the accordion header
|
|
1031
|
+
*/
|
|
1032
|
+
suffixTitle: {
|
|
1033
|
+
type: StringConstructor;
|
|
1034
|
+
};
|
|
1035
|
+
/**
|
|
1036
|
+
* Whether the accordion should be initially opened
|
|
1037
|
+
*/
|
|
1038
|
+
isOpened: {
|
|
1039
|
+
type: BooleanConstructor;
|
|
1040
|
+
default: boolean;
|
|
1041
|
+
};
|
|
1042
|
+
}>>, {
|
|
1043
|
+
isOpened: boolean;
|
|
1044
|
+
}>;
|
|
997
1045
|
|
|
998
1046
|
declare const __default__$1: vue.DefineComponent<{
|
|
999
1047
|
/**
|
|
@@ -1082,6 +1130,12 @@ declare interface FwCheckboxProps {
|
|
|
1082
1130
|
hint?: string;
|
|
1083
1131
|
}
|
|
1084
1132
|
|
|
1133
|
+
declare interface FwAccordionProps {
|
|
1134
|
+
title?: string;
|
|
1135
|
+
suffixTitle?: string;
|
|
1136
|
+
isOpened?: boolean;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1085
1139
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
1086
1140
|
|
|
1087
|
-
export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$
|
|
1141
|
+
export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default as FwAccordion, FwAccordionProps, _default$a as FwButton, FwButtonProps, _default$b as FwCard, FwCardProps, _default$d as FwCheckbox, FwCheckboxProps, _default$c as FwDropdown, FwDropdownOption, FwDropdownProps, __default__$1 as FwEmailPulse, _default$e as FwInput, FwInputProps, FwInputType, _default$6 as FwModal, FwModalProps, _default$9 as FwNavigationMenu, _default$5 as FwProgressBar, __default__ as FwSuccessPulse, _default$7 as FwTab, _default$3 as FwTable, FwTableFormatFunction, _default$2 as FwTableHead, FwTableItem, FwTableItemOptions, FwTableProps, _default$1 as FwTableRow, FwTableSort, _default$8 as FwTabs, _default$4 as FwTag, FwTagProps, ModalServiceProps, NavMenuItem, ProgressBarStep, TagDefinition, TagDefinitionList, TagSize, TagSizes, TagVariantName, install as default, modalService };
|
package/package.json
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The header title of the accordion
|
|
4
|
+
*/
|
|
5
|
+
title: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Title suffix of the accordion header
|
|
10
|
+
*/
|
|
11
|
+
suffixTitle: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Whether the accordion should be initially opened
|
|
16
|
+
*/
|
|
17
|
+
isOpened: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
isOpen: import("vue").Ref<boolean>;
|
|
23
|
+
transitionEnter: (el: HTMLElement) => void;
|
|
24
|
+
transitionLeave: (el: HTMLElement) => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
/**
|
|
27
|
+
* The header title of the accordion
|
|
28
|
+
*/
|
|
29
|
+
title: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Title suffix of the accordion header
|
|
34
|
+
*/
|
|
35
|
+
suffixTitle: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Whether the accordion should be initially opened
|
|
40
|
+
*/
|
|
41
|
+
isOpened: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>>, {
|
|
46
|
+
isOpened: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
@@ -8,3 +8,4 @@ export * from '../components/fw-progress-bar/index.types';
|
|
|
8
8
|
export * from '../components/fw-tag/index.types';
|
|
9
9
|
export * from '../components/fw-table/index.types';
|
|
10
10
|
export * from '../components/fw-dropdown/index.types';
|
|
11
|
+
export * from '../components/fw-accordion/index.types';
|
package/types/icons/index.d.ts
CHANGED
|
@@ -22,4 +22,5 @@ import LandmarkSvg from './landmark.svg';
|
|
|
22
22
|
import CoinsSvg from './coins.svg';
|
|
23
23
|
import CaretDownSvg from './caret-down.svg';
|
|
24
24
|
import SortLightSvg from './sort-light.svg';
|
|
25
|
-
|
|
25
|
+
import PlusSvg from './plus.svg';
|
|
26
|
+
export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg };
|