@frollo/frollo-web-ui 5.0.0 → 5.0.1

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/icons/index.ts CHANGED
@@ -34,6 +34,7 @@ import ArrowSortSvg from './arrow-sort.svg';
34
34
  import ArrowDownSvg from './arrow-down.svg';
35
35
  import SearchSvg from './search.svg';
36
36
  import XMarkSvg from './xmark.svg';
37
+ import PenSvg from './pen.svg';
37
38
 
38
39
  export {
39
40
  ViewSvg,
@@ -71,5 +72,6 @@ export {
71
72
  ArrowSortSvg,
72
73
  ArrowDownSvg,
73
74
  SearchSvg,
74
- XMarkSvg
75
+ XMarkSvg,
76
+ PenSvg
75
77
  };
package/icons/pen.svg ADDED
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 64 56" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M41.3188 1.85628C43.7141 -0.535426 47.586 -0.535426 49.9813 1.85628L54.6406 6.51893C57.036 8.91097 57.036 12.7861 54.6406 15.1814L20.4391 49.3939C19.1922 50.6299 17.661 51.5377 15.9766 52.0408L2.74439 55.9346C2.1297 56.1096 1.46547 55.9455 1.01266 55.4861C0.5598 55.0377 0.390422 54.3705 0.571175 53.758L4.46267 40.5236C4.95814 38.8392 5.86923 37.308 7.11064 36.0611L41.3188 1.85628ZM47.5094 4.33143C46.4813 3.30659 44.8188 3.30659 43.7906 4.33143L37.7969 10.3252L46.175 18.6049L52.1688 12.7096C53.1969 11.6814 53.1969 10.0189 52.1688 8.99409L47.5094 4.33143ZM7.82048 41.5189L4.83455 51.6689L14.9813 48.683C16.1078 48.3549 17.136 47.7424 17.9563 46.9111L43.6047 21.1752L35.325 12.7971L9.5858 38.5439C8.75783 39.3642 8.1508 40.3924 7.82048 41.5189ZM61.75 52.5002C62.7125 52.5002 63.5 53.2877 63.5 54.2502C63.5 55.2127 62.7125 56.0002 61.75 56.0002H26.75C25.7875 56.0002 25 55.2127 25 54.2502C25 53.2877 25.7875 52.5002 26.75 52.5002H61.75Z" />
3
+ </svg>
package/index.d.ts CHANGED
@@ -20,6 +20,7 @@ declare interface FwInputProps {
20
20
  tabindex?: string;
21
21
  rounded?: boolean;
22
22
  enableErrors?: boolean;
23
+ maxLength?: number;
23
24
  }
24
25
 
25
26
  declare const _default$l: vue.DefineComponent<{
@@ -56,7 +57,6 @@ declare const _default$l: vue.DefineComponent<{
56
57
  */
57
58
  placeholder: {
58
59
  type: StringConstructor;
59
- default: string;
60
60
  };
61
61
  /**
62
62
  * Validation rules. Accepts an object, string schema or validation function.
@@ -107,6 +107,12 @@ declare const _default$l: vue.DefineComponent<{
107
107
  type: BooleanConstructor;
108
108
  default: boolean;
109
109
  };
110
+ /**
111
+ * The inputs `maxlength` attribute.
112
+ */
113
+ maxLength: {
114
+ type: NumberConstructor;
115
+ };
110
116
  }, {
111
117
  uuid: string;
112
118
  inputBaseClass: vue.Ref<string>;
@@ -145,7 +151,6 @@ declare const _default$l: vue.DefineComponent<{
145
151
  */
146
152
  placeholder: {
147
153
  type: StringConstructor;
148
- default: string;
149
154
  };
150
155
  /**
151
156
  * Validation rules. Accepts an object, string schema or validation function.
@@ -196,12 +201,17 @@ declare const _default$l: vue.DefineComponent<{
196
201
  type: BooleanConstructor;
197
202
  default: boolean;
198
203
  };
204
+ /**
205
+ * The inputs `maxlength` attribute.
206
+ */
207
+ maxLength: {
208
+ type: NumberConstructor;
209
+ };
199
210
  }>> & {
200
211
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
201
212
  }, {
202
213
  modelValue: string;
203
214
  type: FwInputType;
204
- placeholder: string;
205
215
  readonly: boolean;
206
216
  tabindex: string;
207
217
  rounded: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -34,7 +34,6 @@ declare const _default: import("vue").DefineComponent<{
34
34
  */
35
35
  placeholder: {
36
36
  type: StringConstructor;
37
- default: string;
38
37
  };
39
38
  /**
40
39
  * Validation rules. Accepts an object, string schema or validation function.
@@ -85,6 +84,12 @@ declare const _default: import("vue").DefineComponent<{
85
84
  type: BooleanConstructor;
86
85
  default: boolean;
87
86
  };
87
+ /**
88
+ * The inputs `maxlength` attribute.
89
+ */
90
+ maxLength: {
91
+ type: NumberConstructor;
92
+ };
88
93
  }, {
89
94
  uuid: string;
90
95
  inputBaseClass: import("vue").Ref<string>;
@@ -123,7 +128,6 @@ declare const _default: import("vue").DefineComponent<{
123
128
  */
124
129
  placeholder: {
125
130
  type: StringConstructor;
126
- default: string;
127
131
  };
128
132
  /**
129
133
  * Validation rules. Accepts an object, string schema or validation function.
@@ -174,12 +178,17 @@ declare const _default: import("vue").DefineComponent<{
174
178
  type: BooleanConstructor;
175
179
  default: boolean;
176
180
  };
181
+ /**
182
+ * The inputs `maxlength` attribute.
183
+ */
184
+ maxLength: {
185
+ type: NumberConstructor;
186
+ };
177
187
  }>> & {
178
188
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
179
189
  }, {
180
190
  modelValue: string;
181
191
  type: FwInputType;
182
- placeholder: string;
183
192
  readonly: boolean;
184
193
  tabindex: string;
185
194
  rounded: boolean;
@@ -12,4 +12,5 @@ export declare interface FwInputProps {
12
12
  tabindex?: string;
13
13
  rounded?: boolean;
14
14
  enableErrors?: boolean;
15
+ maxLength?: number;
15
16
  }
@@ -34,4 +34,5 @@ import ArrowSortSvg from './arrow-sort.svg';
34
34
  import ArrowDownSvg from './arrow-down.svg';
35
35
  import SearchSvg from './search.svg';
36
36
  import XMarkSvg from './xmark.svg';
37
- export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ChevronRightSvg, ChevronLeftSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg, LoadingSvg, BullseyeSvg, SolidCheckSvg, SolidXMarkSvg, ArrowSortSvg, ArrowDownSvg, SearchSvg, XMarkSvg };
37
+ import PenSvg from './pen.svg';
38
+ export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ChevronRightSvg, ChevronLeftSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg, LoadingSvg, BullseyeSvg, SolidCheckSvg, SolidXMarkSvg, ArrowSortSvg, ArrowDownSvg, SearchSvg, XMarkSvg, PenSvg };