@frollo/frollo-web-ui 1.2.0 → 1.2.2

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.
Files changed (41) hide show
  1. package/cjs/index.js +696 -437
  2. package/esm/{add-to-unscopables-89bfb214.js → add-to-unscopables-44076600.js} +3 -3
  3. package/esm/{index-671cf43d.js → array-iteration-10670eca.js} +4 -146
  4. package/esm/{to-string-cf010dcc.js → classof-b2d09c70.js} +4 -13
  5. package/esm/{es.array.includes-46369dd6.js → es.array.includes-b402df81.js} +4 -4
  6. package/esm/{es.function.name-3a0ddf71.js → es.function.name-383fcdbc.js} +1 -1
  7. package/esm/{es.number.constructor-6891f9eb.js → es.number.constructor-6def8fd9.js} +3 -3
  8. package/esm/{function-name-fe849d51.js → function-name-0d296891.js} +1 -1
  9. package/esm/fw-animations.js +5 -4
  10. package/esm/{fw-button-969296c5.js → fw-button-fb8e3fe2.js} +1 -1
  11. package/esm/fw-button.js +6 -6
  12. package/esm/fw-card.js +1 -0
  13. package/esm/fw-checkbox.js +3 -3
  14. package/esm/fw-dropdown.js +284 -0
  15. package/esm/fw-form.js +1 -1
  16. package/esm/fw-input.js +7 -7
  17. package/esm/fw-modal.js +7 -7
  18. package/esm/fw-navigation-menu.js +6 -6
  19. package/esm/fw-progress-bar.js +5 -4
  20. package/esm/fw-table.js +7 -5
  21. package/esm/fw-tabs.js +149 -8
  22. package/esm/fw-tag.js +5 -5
  23. package/esm/index-16e7ac1e.js +454 -0
  24. package/esm/{index-daa646e2.js → index-26d82b11.js} +2 -2
  25. package/esm/{index-4362991c.js → index-ca8d7e19.js} +145 -573
  26. package/esm/index.js +40 -56
  27. package/esm/{is-forced-8a459969.js → is-forced-2369382d.js} +2 -2
  28. package/esm/{object-keys-4b8adc6c.js → object-keys-f9d76c12.js} +2 -2
  29. package/esm/to-string-2588bbbe.js +13 -0
  30. package/esm/{vee-validate.esm-b64acab1.js → vee-validate.esm-a17a23c3.js} +1 -1
  31. package/frollo-web-ui.esm.js +921 -649
  32. package/icons/icons.stories.ts +3 -3
  33. package/index.d.ts +131 -4
  34. package/package.json +1 -1
  35. package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +113 -0
  36. package/types/components/fw-dropdown/index.d.ts +2 -0
  37. package/types/components/fw-dropdown/index.types.d.ts +12 -0
  38. package/types/components/fw-table/fw-table.vue.d.ts +1 -0
  39. package/types/components/fw-table/index.types.d.ts +2 -1
  40. package/types/components/index.d.ts +1 -0
  41. package/types/components/index.types.d.ts +1 -0
package/esm/index.js CHANGED
@@ -1,40 +1,45 @@
1
- import { d as documentCreateElement$1, g as global$4, a as descriptors, f as functionUncurryThis, b as functionBindNative, i as isCallable$1, e as engineUserAgent } from './function-name-fe849d51.js';
2
- import { _ as _export, o as objectKeys$1 } from './object-keys-4b8adc6c.js';
3
- import { a as arrayIteration, s as script$5, b as script$6 } from './index-671cf43d.js';
4
- export { b as FwTab, s as FwTabs } from './index-671cf43d.js';
5
- import { a as arrayMethodIsStrict$1, s as script$a, b as script$b, c as script$c } from './index-4362991c.js';
6
- export { s as FwTable, b as FwTableHead, c as FwTableRow } from './index-4362991c.js';
7
- import { t as toStringTagSupport, c as classof$1 } from './to-string-cf010dcc.js';
8
- import { d as defineBuiltIn$1, c as createNonEnumerableProperty$1, t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-8a459969.js';
1
+ import { d as documentCreateElement$1, g as global$4, a as descriptors, f as functionUncurryThis, b as functionBindNative, i as isCallable$1, e as engineUserAgent } from './function-name-0d296891.js';
2
+ import { _ as _export, o as objectKeys$1 } from './object-keys-f9d76c12.js';
3
+ import { a as arrayIteration } from './array-iteration-10670eca.js';
4
+ import { a as arrayMethodIsStrict$1, s as script$b, b as script$c, c as script$d } from './index-16e7ac1e.js';
5
+ export { s as FwTable, b as FwTableHead, c as FwTableRow } from './index-16e7ac1e.js';
6
+ import { FwDropdown as script$2 } from './fw-dropdown.js';
7
+ export { FwDropdown } from './fw-dropdown.js';
8
+ import { c as createNonEnumerableProperty$1, t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-2369382d.js';
9
9
  import './fw-form.js';
10
10
  import { FwInput as script } from './fw-input.js';
11
11
  export { FwInput } from './fw-input.js';
12
12
  import { FwCheckbox as script$1 } from './fw-checkbox.js';
13
13
  export { FwCheckbox } from './fw-checkbox.js';
14
- import { FwCard as script$2 } from './fw-card.js';
14
+ import { FwCard as script$3 } from './fw-card.js';
15
15
  export { FwCard } from './fw-card.js';
16
16
  import './fw-button.js';
17
- import { FwNavigationMenu as script$4 } from './fw-navigation-menu.js';
17
+ import { FwNavigationMenu as script$5 } from './fw-navigation-menu.js';
18
18
  export { FwNavigationMenu } from './fw-navigation-menu.js';
19
- import { s as script$7, u as uniqueId } from './index-daa646e2.js';
20
- export { s as FwModal } from './index-daa646e2.js';
21
- import { FwProgressBar as script$8 } from './fw-progress-bar.js';
19
+ import { FwTabs as script$6, FwTab as script$7 } from './fw-tabs.js';
20
+ export { FwTab, FwTabs } from './fw-tabs.js';
21
+ import { s as script$8, u as uniqueId } from './index-26d82b11.js';
22
+ export { s as FwModal } from './index-26d82b11.js';
23
+ import { FwProgressBar as script$9 } from './fw-progress-bar.js';
22
24
  export { FwProgressBar } from './fw-progress-bar.js';
23
- import { FwTag as script$9 } from './fw-tag.js';
25
+ import { FwTag as script$a } from './fw-tag.js';
24
26
  export { FwTag } from './fw-tag.js';
25
27
  import { FwEmailPulse as __default__, FwSuccessPulse as __default__$1 } from './fw-animations.js';
26
28
  export { FwEmailPulse, FwSuccessPulse } from './fw-animations.js';
27
- import { F as Form } from './vee-validate.esm-b64acab1.js';
28
- export { F as FwForm } from './vee-validate.esm-b64acab1.js';
29
- import { s as script$3 } from './fw-button-969296c5.js';
30
- export { s as FwButton } from './fw-button-969296c5.js';
29
+ import { F as Form } from './vee-validate.esm-a17a23c3.js';
30
+ export { F as FwForm } from './vee-validate.esm-a17a23c3.js';
31
+ import { s as script$4 } from './fw-button-fb8e3fe2.js';
32
+ export { s as FwButton } from './fw-button-fb8e3fe2.js';
31
33
  import { createApp } from 'vue';
32
- import './es.number.constructor-6891f9eb.js';
33
- import './add-to-unscopables-89bfb214.js';
34
+ import './classof-b2d09c70.js';
35
+ import './to-string-2588bbbe.js';
36
+ import './index-ca8d7e19.js';
34
37
  import './check-94a5917a.js';
35
- import './es.array.includes-46369dd6.js';
36
- import './es.function.name-3a0ddf71.js';
38
+ import './add-to-unscopables-44076600.js';
39
+ import './es.function.name-383fcdbc.js';
37
40
  import './style-inject.es-1f59c1d0.js';
41
+ import './es.array.includes-b402df81.js';
42
+ import './es.number.constructor-6def8fd9.js';
38
43
 
39
44
  function _arrayWithHoles(arr) {
40
45
  if (Array.isArray(arr)) return arr;
@@ -123,28 +128,6 @@ $$3({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
123
128
  forEach: forEach$1
124
129
  });
125
130
 
126
- var es_object_toString = {};
127
-
128
- 'use strict';
129
- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
130
- var classof = classof$1;
131
-
132
- // `Object.prototype.toString` method implementation
133
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
134
- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
135
- return '[object ' + classof(this) + ']';
136
- };
137
-
138
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
139
- var defineBuiltIn = defineBuiltIn$1;
140
- var toString = objectToString;
141
-
142
- // `Object.prototype.toString` method
143
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
144
- if (!TO_STRING_TAG_SUPPORT) {
145
- defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
146
- }
147
-
148
131
  var web_domCollections_forEach = {};
149
132
 
150
133
  // iterable DOM collections
@@ -271,17 +254,18 @@ var components = /*#__PURE__*/Object.freeze({
271
254
  FwForm: Form,
272
255
  FwInput: script,
273
256
  FwCheckbox: script$1,
274
- FwCard: script$2,
275
- FwButton: script$3,
276
- FwNavigationMenu: script$4,
277
- FwTabs: script$5,
278
- FwTab: script$6,
279
- FwModal: script$7,
280
- FwProgressBar: script$8,
281
- FwTag: script$9,
282
- FwTable: script$a,
283
- FwTableHead: script$b,
284
- FwTableRow: script$c,
257
+ FwDropdown: script$2,
258
+ FwCard: script$3,
259
+ FwButton: script$4,
260
+ FwNavigationMenu: script$5,
261
+ FwTabs: script$6,
262
+ FwTab: script$7,
263
+ FwModal: script$8,
264
+ FwProgressBar: script$9,
265
+ FwTag: script$a,
266
+ FwTable: script$b,
267
+ FwTableHead: script$c,
268
+ FwTableRow: script$d,
285
269
  FwEmailPulse: __default__,
286
270
  FwSuccessPulse: __default__$1
287
271
  });
@@ -416,7 +400,7 @@ var modalService = function modalService(options, element) {
416
400
  var open = function open() {
417
401
  var _modalVNode;
418
402
 
419
- modalVNode = createApp(script$7, _objectSpread2({}, options));
403
+ modalVNode = createApp(script$8, _objectSpread2({}, options));
420
404
  elAppend === null || elAppend === void 0 ? void 0 : elAppend.appendChild(elementToMount);
421
405
  (_modalVNode = modalVNode) === null || _modalVNode === void 0 ? void 0 : _modalVNode.mount(elementToMount);
422
406
  };
@@ -1,4 +1,4 @@
1
- import { f as functionUncurryThis, h as fails$3, s as requireObjectCoercible$1, a as descriptors, u as functionCall, m as toPropertyKey$1, q as hasOwnProperty_1, v as ie8DomDefine, o as objectDefineProperty, i as isCallable$5, x as sharedStore, g as global$2, y as shared$2, z as uid$1, k as isObject$1, A as functionName, r as defineGlobalProperty$1 } from './function-name-fe849d51.js';
1
+ import { f as functionUncurryThis, c as fails$3, r as requireObjectCoercible$1, a as descriptors, s as functionCall, j as toPropertyKey$1, p as hasOwnProperty_1, u as ie8DomDefine, o as objectDefineProperty, i as isCallable$5, v as sharedStore, g as global$2, x as shared$2, y as uid$1, z as isObject$1, A as functionName, q as defineGlobalProperty$1 } from './function-name-0d296891.js';
2
2
 
3
3
  var objectGetOwnPropertyDescriptor = {};
4
4
 
@@ -435,4 +435,4 @@ var POLYFILL = isForced.POLYFILL = 'P';
435
435
 
436
436
  var isForced_1 = isForced;
437
437
 
438
- export { classofRaw as a, indexedObject as b, createNonEnumerableProperty$1 as c, defineBuiltIn as d, createPropertyDescriptor$2 as e, toAbsoluteIndex$1 as f, objectGetOwnPropertyNames as g, objectGetOwnPropertyDescriptor as h, inspectSource$2 as i, isForced_1 as j, objectKeysInternal as k, lengthOfArrayLike$1 as l, enumBugKeys$1 as m, arrayIncludes as n, objectPropertyIsEnumerable as o, hiddenKeys$3 as p, sharedKey$1 as s, toIndexedObject$3 as t };
438
+ export { createPropertyDescriptor$2 as a, toAbsoluteIndex$1 as b, createNonEnumerableProperty$1 as c, defineBuiltIn as d, objectGetOwnPropertyNames as e, objectGetOwnPropertyDescriptor as f, objectKeysInternal as g, enumBugKeys$1 as h, isForced_1 as i, classofRaw as j, arrayIncludes as k, lengthOfArrayLike$1 as l, inspectSource$2 as m, indexedObject as n, objectPropertyIsEnumerable as o, hiddenKeys$3 as p, sharedKey$1 as s, toIndexedObject$3 as t };
@@ -1,5 +1,5 @@
1
- import { j as getBuiltIn$1, f as functionUncurryThis, p as anObject$1, q as hasOwnProperty_1, o as objectDefineProperty, g as global$1, r as defineGlobalProperty$1 } from './function-name-fe849d51.js';
2
- import { g as objectGetOwnPropertyNames, h as objectGetOwnPropertyDescriptor, c as createNonEnumerableProperty$1, d as defineBuiltIn$1, j as isForced_1, k as objectKeysInternal, m as enumBugKeys$1 } from './is-forced-8a459969.js';
1
+ import { m as getBuiltIn$1, f as functionUncurryThis, n as anObject$1, p as hasOwnProperty_1, o as objectDefineProperty, g as global$1, q as defineGlobalProperty$1 } from './function-name-0d296891.js';
2
+ import { e as objectGetOwnPropertyNames, f as objectGetOwnPropertyDescriptor, c as createNonEnumerableProperty$1, d as defineBuiltIn$1, i as isForced_1, g as objectKeysInternal, h as enumBugKeys$1 } from './is-forced-2369382d.js';
3
3
 
4
4
  var objectGetOwnPropertySymbols = {};
5
5
 
@@ -0,0 +1,13 @@
1
+ import './function-name-0d296891.js';
2
+ import { c as classof$1 } from './classof-b2d09c70.js';
3
+
4
+ var classof = classof$1;
5
+
6
+ var $String = String;
7
+
8
+ var toString = function (argument) {
9
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
10
+ return $String(argument);
11
+ };
12
+
13
+ export { toString as t };
@@ -3189,4 +3189,4 @@ function useSubmitForm(cb) {
3189
3189
  };
3190
3190
  }
3191
3191
 
3192
- export { Form as F, Field as a };
3192
+ export { Form as F, Field as a, useField as u };