@frollo/frollo-web-ui 0.1.1 → 0.1.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.
@@ -87,7 +87,7 @@ var script = defineComponent({
87
87
  border: 'border-none focus-visible:ring-primary'
88
88
  },
89
89
  text: {
90
- text: 'text-body hover:text-white active:text-white',
90
+ text: 'text-body font-medium hover:text-white active:text-white',
91
91
  background: 'bg-white hover:bg-body active:bg-body',
92
92
  border: 'border-transparent focus-visible:ring-body'
93
93
  }
package/esm/fw-button.js CHANGED
@@ -1,4 +1,4 @@
1
- export { s as FwButton } from './fw-button-bba6ac88.js';
1
+ export { s as FwButton } from './fw-button-ab906734.js';
2
2
  import './es.array.includes-debcb50f.js';
3
3
  import './function-name-f0c1223e.js';
4
4
  import './add-to-unscopables-81c17489.js';
@@ -26,10 +26,10 @@ var script = defineComponent({
26
26
  },
27
27
 
28
28
  /**
29
- * Validation rules. Accepts a string, object, function or schema.
29
+ * Validation rules. Accepts an object, stringm schema or validation function.
30
30
  */
31
31
  rules: {
32
- type: [String, Object, Function]
32
+ type: [Object, String, Function]
33
33
  },
34
34
 
35
35
  /**
@@ -42,7 +42,7 @@ var script = defineComponent({
42
42
  });
43
43
 
44
44
  var _withScopeId = function _withScopeId(n) {
45
- return pushScopeId("data-v-7153bd02"), n = n(), popScopeId(), n;
45
+ return pushScopeId("data-v-7423717e"), n = n(), popScopeId(), n;
46
46
  };
47
47
 
48
48
  var _hoisted_1 = {
@@ -104,11 +104,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
104
104
  }, 8, ["name", "value", "rules"])]);
105
105
  }
106
106
 
107
- var css_248z = ".fwFadeIn-enter-active[data-v-7153bd02]{-webkit-animation:fwFadeIn-7153bd02 .35s;animation:fwFadeIn-7153bd02 .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7153bd02]{animation:fwFadeIn-7153bd02 .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7153bd02]{color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-print-color-adjust:exact;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7153bd02]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
108
- var stylesheet = ".fwFadeIn-enter-active[data-v-7153bd02]{-webkit-animation:fwFadeIn-7153bd02 .35s;animation:fwFadeIn-7153bd02 .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7153bd02]{animation:fwFadeIn-7153bd02 .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7153bd02{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7153bd02]{color-adjust:exact;-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-print-color-adjust:exact;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7153bd02]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
107
+ var css_248z = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7423717e]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
108
+ var stylesheet = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7423717e]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
109
109
  styleInject(css_248z);
110
110
 
111
111
  script.render = render;
112
- script.__scopeId = "data-v-7153bd02";
112
+ script.__scopeId = "data-v-7423717e";
113
113
 
114
114
  export { script as FwCheckbox };
package/esm/fw-input.js CHANGED
@@ -56,10 +56,10 @@ var script = defineComponent({
56
56
  },
57
57
 
58
58
  /**
59
- * Validation rules. Accepts a string, object, function or schema.
59
+ * Validation rules. Accepts an object, string schema or validation function.
60
60
  */
61
61
  rules: {
62
- type: [String, Object, Function]
62
+ type: [Object, String, Function]
63
63
  },
64
64
 
65
65
  /**
@@ -75,6 +75,13 @@ var script = defineComponent({
75
75
  */
76
76
  hint: {
77
77
  type: String
78
+ },
79
+
80
+ /**
81
+ * The autocomplete input attribute
82
+ */
83
+ autocomplete: {
84
+ type: String
78
85
  }
79
86
  },
80
87
  setup: function setup(props, ctx) {
@@ -114,7 +121,7 @@ var _hoisted_7 = {
114
121
  key: 0,
115
122
  "class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
116
123
  };
117
- var _hoisted_8 = ["placeholder", "type", "readonly", "disabled"];
124
+ var _hoisted_8 = ["placeholder", "type", "readonly", "disabled", "autocomplete"];
118
125
 
119
126
  var _hoisted_9 = /*#__PURE__*/createElementVNode("svg", {
120
127
  fill: "currentColor",
@@ -167,6 +174,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
167
174
  type: _ctx.type,
168
175
  readonly: _ctx.readonly,
169
176
  disabled: _ctx.readonly,
177
+ autocomplete: _ctx.autocomplete,
170
178
  "class": [{
171
179
  'pl-10': !!_ctx.$slots.prefix,
172
180
  'pr-20': !!_ctx.$slots.suffix
package/esm/fw-modal.js CHANGED
@@ -1,7 +1,7 @@
1
- export { s as FwModal } from './index-1813012f.js';
1
+ export { s as FwModal } from './index-963039a3.js';
2
2
  import './es.array.includes-debcb50f.js';
3
3
  import './function-name-f0c1223e.js';
4
4
  import './add-to-unscopables-81c17489.js';
5
5
  import 'vue';
6
- import './fw-button-bba6ac88.js';
6
+ import './fw-button-ab906734.js';
7
7
  import './style-inject.es-1f59c1d0.js';
@@ -1,9 +1,64 @@
1
1
  import { defineComponent, ref, createElementVNode, resolveComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition, normalizeClass } from 'vue';
2
- import { s as script$1 } from './fw-button-bba6ac88.js';
2
+ import { s as script$1 } from './fw-button-ab906734.js';
3
+ import { b as functionUncurryThis, r as requireObjectCoercible$1, f as fails$1 } from './function-name-f0c1223e.js';
4
+ import { _ as _export } from './add-to-unscopables-81c17489.js';
5
+ import { a as toString$1 } from './to-string-139f1ee8.js';
3
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
4
7
  import './es.array.includes-debcb50f.js';
5
- import './function-name-f0c1223e.js';
6
- import './add-to-unscopables-81c17489.js';
8
+
9
+ var es_string_link = {};
10
+
11
+ var uncurryThis = functionUncurryThis;
12
+ var requireObjectCoercible = requireObjectCoercible$1;
13
+ var toString = toString$1;
14
+
15
+ var quot = /"/g;
16
+ var replace = uncurryThis(''.replace);
17
+
18
+ // `CreateHTML` abstract operation
19
+ // https://tc39.es/ecma262/#sec-createhtml
20
+ var createHtml = function (string, tag, attribute, value) {
21
+ var S = toString(requireObjectCoercible(string));
22
+ var p1 = '<' + tag;
23
+ if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '&quot;') + '"';
24
+ return p1 + '>' + S + '</' + tag + '>';
25
+ };
26
+
27
+ var fails = fails$1;
28
+
29
+ // check the existence of a method, lowercase
30
+ // of a tag and escaping quotes in arguments
31
+ var stringHtmlForced = function (METHOD_NAME) {
32
+ return fails(function () {
33
+ var test = ''[METHOD_NAME]('"');
34
+ return test !== test.toLowerCase() || test.split('"').length > 3;
35
+ });
36
+ };
37
+
38
+ 'use strict';
39
+ var $ = _export;
40
+ var createHTML = createHtml;
41
+ var forcedStringHTMLMethod = stringHtmlForced;
42
+
43
+ // `String.prototype.link` method
44
+ // https://tc39.es/ecma262/#sec-string.prototype.link
45
+ $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
46
+ link: function link(url) {
47
+ return createHTML(this, 'a', 'href', url);
48
+ }
49
+ });
50
+
51
+ var ButtonVariantName;
52
+
53
+ (function (ButtonVariantName) {
54
+ ButtonVariantName["primary"] = "primary";
55
+ ButtonVariantName["secondary"] = "secondary";
56
+ ButtonVariantName["tertiary"] = "tertiary";
57
+ ButtonVariantName["error"] = "error";
58
+ ButtonVariantName["success"] = "success";
59
+ ButtonVariantName["text"] = "text";
60
+ ButtonVariantName["link"] = "link";
61
+ })(ButtonVariantName || (ButtonVariantName = {}));
7
62
 
8
63
  var script = defineComponent({
9
64
  name: 'FwNavigationMenu',
@@ -45,7 +100,8 @@ var script = defineComponent({
45
100
  mobileMenuClass: mobileMenuClass,
46
101
  isMobileMenuOpen: isMobileMenuOpen,
47
102
  toggleMobileMenu: toggleMobileMenu,
48
- actionClicked: actionClicked
103
+ actionClicked: actionClicked,
104
+ ButtonVariantName: ButtonVariantName
49
105
  };
50
106
  }
51
107
  });
@@ -54,7 +110,7 @@ var _hoisted_1 = {
54
110
  "class": "fw-nav-menu relative z-50 h-20 shadow-md"
55
111
  };
56
112
  var _hoisted_2 = {
57
- "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between"
113
+ "class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between max-w-6xl mx-auto"
58
114
  };
59
115
  var _hoisted_3 = {
60
116
  key: 0,
@@ -62,7 +118,7 @@ var _hoisted_3 = {
62
118
  };
63
119
  var _hoisted_4 = {
64
120
  key: 1,
65
- "class": "container hidden sm:flex items-center justify-start max-w-[600px] sm:ml-6"
121
+ "class": "container hidden sm:flex items-center justify-start sm:ml-6"
66
122
  };
67
123
  var _hoisted_5 = {
68
124
  "class": "flex space-x-2"
@@ -96,10 +152,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
96
152
 
97
153
  var _component_FwButton = resolveComponent("FwButton");
98
154
 
99
- return openBlock(), createElementBlock("nav", _hoisted_1, [createElementVNode("div", _hoisted_2, [_ctx.$slots.logo ? (openBlock(), createElementBlock("div", _hoisted_3, [renderSlot(_ctx.$slots, "logo")])) : createCommentVNode("", true), ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
155
+ return openBlock(), createElementBlock("nav", _hoisted_1, [createElementVNode("div", _hoisted_2, [_ctx.$slots.logo ? (openBlock(), createElementBlock("div", _hoisted_3, [renderSlot(_ctx.$slots, "logo")])) : createCommentVNode("", true), _ctx.menuItems && ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
100
156
  return openBlock(), createBlock(_component_FwButton, {
101
157
  key: i,
102
- variant: "text",
158
+ variant: _ctx.ButtonVariantName.text,
103
159
  href: item.href,
104
160
  to: item.to,
105
161
  size: "md",
@@ -109,7 +165,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
109
165
  return [createTextVNode(toDisplayString(item.label), 1)];
110
166
  }),
111
167
  _: 2
112
- }, 1032, ["href", "to"]);
168
+ }, 1032, ["variant", "href", "to"]);
113
169
  }), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_6, [createVNode(_component_FwButton, {
114
170
  onClick: _ctx.actionClicked,
115
171
  size: "md",
@@ -120,7 +176,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
120
176
  }),
121
177
  _: 1
122
178
  }, 8, ["onClick", "aria-label"])])) : createCommentVNode("", true), createElementVNode("div", _hoisted_7, [createVNode(_component_FwButton, {
123
- variant: "text",
179
+ variant: _ctx.ButtonVariantName.text,
124
180
  size: "sm",
125
181
  onClick: _ctx.toggleMobileMenu
126
182
  }, {
@@ -133,20 +189,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
133
189
  }, null, 8, _hoisted_10)]))];
134
190
  }),
135
191
  _: 1
136
- }, 8, ["onClick"])])]), createVNode(Transition, {
192
+ }, 8, ["variant", "onClick"])])]), createVNode(Transition, {
137
193
  name: "slideInLeft"
138
194
  }, {
139
195
  "default": withCtx(function () {
140
- var _ctx$menuItems2;
141
-
142
- return [((_ctx$menuItems2 = _ctx.menuItems) === null || _ctx$menuItems2 === void 0 ? void 0 : _ctx$menuItems2.length) > 0 && _ctx.isMobileMenuOpen ? (openBlock(), createElementBlock("div", {
196
+ return [_ctx.menuItems && _ctx.menuItems.length > 0 && _ctx.isMobileMenuOpen ? (openBlock(), createElementBlock("div", {
143
197
  key: 0,
144
198
  "class": normalizeClass(["fw-nav-menu--mobile", _ctx.mobileMenuClass])
145
199
  }, [createElementVNode("div", _hoisted_11, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
146
200
  return openBlock(), createBlock(_component_FwButton, {
147
201
  key: i,
148
202
  "class": "w-full rounded-md",
149
- variant: "text",
203
+ variant: _ctx.ButtonVariantName.text,
150
204
  href: item.href,
151
205
  to: item.to,
152
206
  size: "md",
@@ -156,10 +210,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
156
210
  return [createTextVNode(toDisplayString(item.label), 1)];
157
211
  }),
158
212
  _: 2
159
- }, 1032, ["href", "to"]);
213
+ }, 1032, ["variant", "href", "to"]);
160
214
  }), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
161
215
  key: 0,
162
- "class": "w-full rounded-md px-2",
216
+ "class": "w-full rounded-md",
163
217
  onClick: _ctx.actionClicked
164
218
  }, {
165
219
  "default": withCtx(function () {
package/esm/fw-tabs.js CHANGED
@@ -1,4 +1,5 @@
1
- export { b as FwTab, s as FwTabs } from './index-0e14da44.js';
1
+ export { b as FwTab, s as FwTabs } from './index-5ee56f7d.js';
2
2
  import './function-name-f0c1223e.js';
3
3
  import './add-to-unscopables-81c17489.js';
4
+ import './to-string-139f1ee8.js';
4
5
  import 'vue';
@@ -1,5 +1,6 @@
1
- import { b as functionUncurryThis, h as aCallable$1, c as functionBindNative, w as wellKnownSymbol$3, i as isCallable$4, f as fails$2, j as getBuiltIn$1, k as isObject$2, t as toObject$1, l as anObject$1, r as requireObjectCoercible$1, a as descriptors, g as global$1, m as hasOwnProperty_1, o as objectIsPrototypeOf, n as isSymbol$1, p as toPrimitive$1, q as objectDefineProperty } from './function-name-f0c1223e.js';
2
- import { b as classofRaw$1, i as inspectSource$1, e as indexedObject, l as lengthOfArrayLike$1, f as isForced_1, d as defineBuiltIn$1, g as objectGetOwnPropertyNames, h as objectGetOwnPropertyDescriptor, _ as _export, j as addToUnscopables$1 } from './add-to-unscopables-81c17489.js';
1
+ import { b as functionUncurryThis, h as aCallable$1, c as functionBindNative, f as fails$2, i as isCallable$3, j as getBuiltIn$1, k as isObject$2, w as wellKnownSymbol$1, t as toObject$1, l as anObject$1, r as requireObjectCoercible$1, a as descriptors, g as global$1, m as hasOwnProperty_1, o as objectIsPrototypeOf, n as isSymbol$1, p as toPrimitive$1, q as objectDefineProperty } from './function-name-f0c1223e.js';
2
+ import { b as classofRaw, i as inspectSource$1, e as indexedObject, l as lengthOfArrayLike$1, f as isForced_1, d as defineBuiltIn$1, g as objectGetOwnPropertyNames, h as objectGetOwnPropertyDescriptor, _ as _export, j as addToUnscopables$1 } from './add-to-unscopables-81c17489.js';
3
+ import { c as classof$2, a as toString$1 } from './to-string-139f1ee8.js';
3
4
  import { defineComponent, computed, ref, provide, openBlock, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, renderSlot, getCurrentInstance, inject, watchEffect } from 'vue';
4
5
 
5
6
  var uncurryThis$6 = functionUncurryThis;
@@ -16,58 +17,19 @@ var functionBindContext = function (fn, that) {
16
17
  };
17
18
  };
18
19
 
19
- var classof$3 = classofRaw$1;
20
+ var classof$1 = classofRaw;
20
21
 
21
22
  // `IsArray` abstract operation
22
23
  // https://tc39.es/ecma262/#sec-isarray
23
24
  // eslint-disable-next-line es-x/no-array-isarray -- safe
24
25
  var isArray$1 = Array.isArray || function isArray(argument) {
25
- return classof$3(argument) == 'Array';
26
- };
27
-
28
- var wellKnownSymbol$2 = wellKnownSymbol$3;
29
-
30
- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
31
- var test = {};
32
-
33
- test[TO_STRING_TAG$1] = 'z';
34
-
35
- var toStringTagSupport = String(test) === '[object z]';
36
-
37
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
38
- var isCallable$3 = isCallable$4;
39
- var classofRaw = classofRaw$1;
40
- var wellKnownSymbol$1 = wellKnownSymbol$3;
41
-
42
- var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
43
- var $Object = Object;
44
-
45
- // ES3 wrong here
46
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
47
-
48
- // fallback for IE11 Script Access Denied error
49
- var tryGet = function (it, key) {
50
- try {
51
- return it[key];
52
- } catch (error) { /* empty */ }
53
- };
54
-
55
- // getting tag from ES6+ `Object.prototype.toString`
56
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
57
- var O, tag, result;
58
- return it === undefined ? 'Undefined' : it === null ? 'Null'
59
- // @@toStringTag case
60
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
61
- // builtinTag case
62
- : CORRECT_ARGUMENTS ? classofRaw(O)
63
- // ES3 arguments fallback
64
- : (result = classofRaw(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;
26
+ return classof$1(argument) == 'Array';
65
27
  };
66
28
 
67
29
  var uncurryThis$5 = functionUncurryThis;
68
30
  var fails$1 = fails$2;
69
- var isCallable$2 = isCallable$4;
70
- var classof$1 = classof$2;
31
+ var isCallable$2 = isCallable$3;
32
+ var classof = classof$2;
71
33
  var getBuiltIn = getBuiltIn$1;
72
34
  var inspectSource = inspectSource$1;
73
35
 
@@ -90,7 +52,7 @@ var isConstructorModern = function isConstructor(argument) {
90
52
 
91
53
  var isConstructorLegacy = function isConstructor(argument) {
92
54
  if (!isCallable$2(argument)) return false;
93
- switch (classof$1(argument)) {
55
+ switch (classof(argument)) {
94
56
  case 'AsyncFunction':
95
57
  case 'GeneratorFunction':
96
58
  case 'AsyncGeneratorFunction': return false;
@@ -120,7 +82,7 @@ var isConstructor$1 = !construct || fails$1(function () {
120
82
  var isArray = isArray$1;
121
83
  var isConstructor = isConstructor$1;
122
84
  var isObject$1 = isObject$2;
123
- var wellKnownSymbol = wellKnownSymbol$3;
85
+ var wellKnownSymbol = wellKnownSymbol$1;
124
86
 
125
87
  var SPECIES = wellKnownSymbol('species');
126
88
  var $Array = Array;
@@ -224,14 +186,14 @@ var arrayIteration = {
224
186
 
225
187
  var es_number_constructor = {};
226
188
 
227
- var isCallable$1 = isCallable$4;
189
+ var isCallable$1 = isCallable$3;
228
190
 
229
- var $String$1 = String;
191
+ var $String = String;
230
192
  var $TypeError = TypeError;
231
193
 
232
194
  var aPossiblePrototype$1 = function (argument) {
233
195
  if (typeof argument == 'object' || isCallable$1(argument)) return argument;
234
- throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
196
+ throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
235
197
  };
236
198
 
237
199
  /* eslint-disable no-proto -- safe */
@@ -263,7 +225,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
263
225
  };
264
226
  }() : undefined);
265
227
 
266
- var isCallable = isCallable$4;
228
+ var isCallable = isCallable$3;
267
229
  var isObject = isObject$2;
268
230
  var setPrototypeOf = objectSetPrototypeOf;
269
231
 
@@ -288,15 +250,6 @@ var uncurryThis$2 = functionUncurryThis;
288
250
  // https://tc39.es/ecma262/#sec-thisnumbervalue
289
251
  var thisNumberValue$1 = uncurryThis$2(1.0.valueOf);
290
252
 
291
- var classof = classof$2;
292
-
293
- var $String = String;
294
-
295
- var toString$1 = function (argument) {
296
- if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
297
- return $String(argument);
298
- };
299
-
300
253
  // a string of all valid unicode whitespaces
301
254
  var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
302
255
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
@@ -558,4 +511,4 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
558
511
 
559
512
  script.render = render;
560
513
 
561
- export { arrayIteration as a, script as b, classof$2 as c, script$1 as s, toStringTagSupport as t };
514
+ export { arrayIteration as a, script as b, script$1 as s };
@@ -1,6 +1,6 @@
1
1
  import './es.array.includes-debcb50f.js';
2
2
  import { defineComponent, pushScopeId, popScopeId, resolveComponent, openBlock, createBlock, Transition, withCtx, createElementVNode, createElementBlock, renderSlot, createCommentVNode, createTextVNode, toDisplayString } from 'vue';
3
- import { s as script$1 } from './fw-button-bba6ac88.js';
3
+ import { s as script$1 } from './fw-button-ab906734.js';
4
4
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
5
5
 
6
6
  /** Detect free variable `global` from Node.js. */
@@ -373,7 +373,7 @@ var script = defineComponent({
373
373
  });
374
374
 
375
375
  var _withScopeId = function _withScopeId(n) {
376
- return pushScopeId("data-v-8c26adc4"), n = n(), popScopeId(), n;
376
+ return pushScopeId("data-v-003a6fba"), n = n(), popScopeId(), n;
377
377
  };
378
378
 
379
379
  var _hoisted_1 = {
@@ -413,9 +413,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
413
413
  "default": withCtx(function () {
414
414
  return [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createElementVNode("div", {
415
415
  role: _ctx.role,
416
+ "aria-modal": "true",
416
417
  "class": "fw-modal--container p-12 m-8 inline-block w-full max-w-[540px] bg-white rounded-2xl shadow",
417
- "aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : null,
418
- "aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : null
418
+ "aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : undefined,
419
+ "aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : undefined
419
420
  }, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock("div", _hoisted_5, [_ctx.$slots.icon ? (openBlock(), createElementBlock("div", _hoisted_6, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("", true), _ctx.$slots.header ? (openBlock(), createElementBlock("h2", {
420
421
  key: 1,
421
422
  id: "modal_".concat(_ctx.uuid, "_header")
@@ -464,11 +465,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
464
465
  });
465
466
  }
466
467
 
467
- var css_248z = ".modalFadeIn-enter-active[data-v-8c26adc4]{-webkit-animation:modalFadeIn-8c26adc4 .4s;animation:modalFadeIn-8c26adc4 .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-8c26adc4]{animation:modalFadeIn-8c26adc4 .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}";
468
- var stylesheet = ".modalFadeIn-enter-active[data-v-8c26adc4]{-webkit-animation:modalFadeIn-8c26adc4 .4s;animation:modalFadeIn-8c26adc4 .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-8c26adc4]{animation:modalFadeIn-8c26adc4 .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-8c26adc4{0%{opacity:0}to{opacity:1}}";
468
+ var css_248z = ".modalFadeIn-enter-active[data-v-003a6fba]{-webkit-animation:modalFadeIn-003a6fba .4s;animation:modalFadeIn-003a6fba .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-003a6fba]{animation:modalFadeIn-003a6fba .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}";
469
+ var stylesheet = ".modalFadeIn-enter-active[data-v-003a6fba]{-webkit-animation:modalFadeIn-003a6fba .4s;animation:modalFadeIn-003a6fba .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-003a6fba]{animation:modalFadeIn-003a6fba .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}";
469
470
  styleInject(css_248z);
470
471
 
471
472
  script.render = render;
472
- script.__scopeId = "data-v-8c26adc4";
473
+ script.__scopeId = "data-v-003a6fba";
473
474
 
474
475
  export { script as s, uniqueId as u };
package/esm/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { f as fails$1, d as documentCreateElement$1, g as global$4, a as descriptors, b as functionUncurryThis, c as functionBindNative, i as isCallable$1, e as engineUserAgent } from './function-name-f0c1223e.js';
2
2
  import { _ as _export, d as defineBuiltIn$1, c as createNonEnumerableProperty$1, o as objectKeys$1, t as toIndexedObject$1, a as objectPropertyIsEnumerable } from './add-to-unscopables-81c17489.js';
3
- import { a as arrayIteration, t as toStringTagSupport, c as classof$1, s as script$5, b as script$6 } from './index-0e14da44.js';
4
- export { b as FwTab, s as FwTabs } from './index-0e14da44.js';
3
+ import { a as arrayIteration, s as script$5, b as script$6 } from './index-5ee56f7d.js';
4
+ export { b as FwTab, s as FwTabs } from './index-5ee56f7d.js';
5
+ import { t as toStringTagSupport, c as classof$1 } from './to-string-139f1ee8.js';
5
6
  import './fw-form.js';
6
7
  import { FwInput as script } from './fw-input.js';
7
8
  export { FwInput } from './fw-input.js';
@@ -12,12 +13,12 @@ export { FwCard } from './fw-card.js';
12
13
  import './fw-button.js';
13
14
  import { FwNavigationMenu as script$4 } from './fw-navigation-menu.js';
14
15
  export { FwNavigationMenu } from './fw-navigation-menu.js';
15
- import { s as script$7, u as uniqueId } from './index-1813012f.js';
16
- export { s as FwModal } from './index-1813012f.js';
16
+ import { s as script$7, u as uniqueId } from './index-963039a3.js';
17
+ export { s as FwModal } from './index-963039a3.js';
17
18
  import { F as Form } from './vee-validate.esm-b64acab1.js';
18
19
  export { F as FwForm } from './vee-validate.esm-b64acab1.js';
19
- import { s as script$3 } from './fw-button-bba6ac88.js';
20
- export { s as FwButton } from './fw-button-bba6ac88.js';
20
+ import { s as script$3 } from './fw-button-ab906734.js';
21
+ export { s as FwButton } from './fw-button-ab906734.js';
21
22
  import { createApp } from 'vue';
22
23
  import './es.array.includes-debcb50f.js';
23
24
  import './es.function.name-e746680f.js';
@@ -0,0 +1,52 @@
1
+ import { w as wellKnownSymbol$2, i as isCallable$1 } from './function-name-f0c1223e.js';
2
+ import { b as classofRaw$1 } from './add-to-unscopables-81c17489.js';
3
+
4
+ var wellKnownSymbol$1 = wellKnownSymbol$2;
5
+
6
+ var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
7
+ var test = {};
8
+
9
+ test[TO_STRING_TAG$1] = 'z';
10
+
11
+ var toStringTagSupport = String(test) === '[object z]';
12
+
13
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
14
+ var isCallable = isCallable$1;
15
+ var classofRaw = classofRaw$1;
16
+ var wellKnownSymbol = wellKnownSymbol$2;
17
+
18
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
19
+ var $Object = Object;
20
+
21
+ // ES3 wrong here
22
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
23
+
24
+ // fallback for IE11 Script Access Denied error
25
+ var tryGet = function (it, key) {
26
+ try {
27
+ return it[key];
28
+ } catch (error) { /* empty */ }
29
+ };
30
+
31
+ // getting tag from ES6+ `Object.prototype.toString`
32
+ var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
33
+ var O, tag, result;
34
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
35
+ // @@toStringTag case
36
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
37
+ // builtinTag case
38
+ : CORRECT_ARGUMENTS ? classofRaw(O)
39
+ // ES3 arguments fallback
40
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
41
+ };
42
+
43
+ var classof = classof$1;
44
+
45
+ var $String = String;
46
+
47
+ var toString = function (argument) {
48
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
49
+ return $String(argument);
50
+ };
51
+
52
+ export { toString as a, classof$1 as c, toStringTagSupport as t };