@frollo/frollo-web-ui 1.2.8 → 1.2.9
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 +13 -3
- package/esm/{fw-button-dc078722.js → fw-button-6aa9b68f.js} +9 -1
- package/esm/fw-button.js +1 -1
- package/esm/fw-modal.js +2 -2
- package/esm/fw-navigation-menu.js +5 -3
- package/esm/{index-f00f3690.js → index-61020c18.js} +1 -1
- package/esm/index.js +4 -4
- package/frollo-web-ui.esm.js +13 -3
- package/index.d.ts +15 -0
- package/package.json +1 -1
- package/types/components/fw-button/fw-button.vue.d.ts +13 -0
- package/types/components/fw-button/index.types.d.ts +1 -0
- package/types/components/fw-navigation-menu/index.types.d.ts +1 -0
package/cjs/index.js
CHANGED
|
@@ -5702,6 +5702,13 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5702
5702
|
loading: {
|
|
5703
5703
|
type: Boolean,
|
|
5704
5704
|
"default": false
|
|
5705
|
+
},
|
|
5706
|
+
|
|
5707
|
+
/**
|
|
5708
|
+
* Whether the link should open in a new tab
|
|
5709
|
+
*/
|
|
5710
|
+
external: {
|
|
5711
|
+
type: Boolean
|
|
5705
5712
|
}
|
|
5706
5713
|
},
|
|
5707
5714
|
setup: function setup(props, ctx) {
|
|
@@ -5862,6 +5869,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5862
5869
|
href: _ctx.href ? _ctx.href : null,
|
|
5863
5870
|
tabindex: _ctx.to ? 0 : null,
|
|
5864
5871
|
disabled: _ctx.loading,
|
|
5872
|
+
target: !!_ctx.external ? '_blank' : null,
|
|
5865
5873
|
onClick: _ctx.onClick,
|
|
5866
5874
|
onFocusin: _ctx.onFocusin,
|
|
5867
5875
|
onFocusout: _ctx.onFocusout,
|
|
@@ -5879,7 +5887,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5879
5887
|
})], 2)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)];
|
|
5880
5888
|
}),
|
|
5881
5889
|
_: 3
|
|
5882
|
-
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
5890
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
5883
5891
|
}var css_248z$8 = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-o-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
5884
5892
|
var stylesheet$8 = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-o-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
5885
5893
|
styleInject(css_248z$8);script$e.render = render$g;var script$d = vue.defineComponent({
|
|
@@ -5984,6 +5992,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5984
5992
|
variant: "text",
|
|
5985
5993
|
href: item.href,
|
|
5986
5994
|
to: item.to,
|
|
5995
|
+
external: item.external,
|
|
5987
5996
|
size: "md",
|
|
5988
5997
|
"aria-current": "page"
|
|
5989
5998
|
}, {
|
|
@@ -5991,7 +6000,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5991
6000
|
return [vue.createTextVNode(vue.toDisplayString(item.label), 1)];
|
|
5992
6001
|
}),
|
|
5993
6002
|
_: 2
|
|
5994
|
-
}, 1032, ["href", "to"]);
|
|
6003
|
+
}, 1032, ["href", "to", "external"]);
|
|
5995
6004
|
}), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [vue.createVNode(_component_FwButton, {
|
|
5996
6005
|
onClick: _ctx.actionClicked,
|
|
5997
6006
|
size: "md",
|
|
@@ -6029,6 +6038,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6029
6038
|
variant: "text",
|
|
6030
6039
|
href: item.href,
|
|
6031
6040
|
to: item.to,
|
|
6041
|
+
external: item.external,
|
|
6032
6042
|
size: "md",
|
|
6033
6043
|
"aria-current": "page"
|
|
6034
6044
|
}, {
|
|
@@ -6036,7 +6046,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6036
6046
|
return [vue.createTextVNode(vue.toDisplayString(item.label), 1)];
|
|
6037
6047
|
}),
|
|
6038
6048
|
_: 2
|
|
6039
|
-
}, 1032, ["href", "to"]);
|
|
6049
|
+
}, 1032, ["href", "to", "external"]);
|
|
6040
6050
|
}), 128))]), _ctx.actionLabel ? (vue.openBlock(), vue.createBlock(_component_FwButton, {
|
|
6041
6051
|
key: 0,
|
|
6042
6052
|
"class": "w-full rounded-md",
|
|
@@ -82,6 +82,13 @@ var script = defineComponent({
|
|
|
82
82
|
loading: {
|
|
83
83
|
type: Boolean,
|
|
84
84
|
"default": false
|
|
85
|
+
},
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Whether the link should open in a new tab
|
|
89
|
+
*/
|
|
90
|
+
external: {
|
|
91
|
+
type: Boolean
|
|
85
92
|
}
|
|
86
93
|
},
|
|
87
94
|
setup: function setup(props, ctx) {
|
|
@@ -244,6 +251,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
251
|
href: _ctx.href ? _ctx.href : null,
|
|
245
252
|
tabindex: _ctx.to ? 0 : null,
|
|
246
253
|
disabled: _ctx.loading,
|
|
254
|
+
target: !!_ctx.external ? '_blank' : null,
|
|
247
255
|
onClick: _ctx.onClick,
|
|
248
256
|
onFocusin: _ctx.onFocusin,
|
|
249
257
|
onFocusout: _ctx.onFocusout,
|
|
@@ -261,7 +269,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
261
269
|
})], 2)) : createCommentVNode("", true)])) : createCommentVNode("", true)];
|
|
262
270
|
}),
|
|
263
271
|
_: 3
|
|
264
|
-
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
272
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
265
273
|
}
|
|
266
274
|
|
|
267
275
|
var css_248z = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-o-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
package/esm/fw-button.js
CHANGED
package/esm/fw-modal.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { s as FwModal } from './index-
|
|
1
|
+
export { s as FwModal } from './index-61020c18.js';
|
|
2
2
|
import './es.array.includes-9a6e4066.js';
|
|
3
3
|
import './function-name-c49146fc.js';
|
|
4
4
|
import './object-keys-3c73c404.js';
|
|
5
5
|
import './is-forced-fd46b5f2.js';
|
|
6
6
|
import './add-to-unscopables-a5032b1d.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './fw-button-
|
|
8
|
+
import './fw-button-6aa9b68f.js';
|
|
9
9
|
import './fw-loading-spinner-649aa589.js';
|
|
10
10
|
import './index-403af654.js';
|
|
11
11
|
import './check-94a5917a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, createElementVNode, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-6aa9b68f.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
4
4
|
import './es.array.includes-9a6e4066.js';
|
|
5
5
|
import './function-name-c49146fc.js';
|
|
@@ -114,6 +114,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
114
114
|
variant: "text",
|
|
115
115
|
href: item.href,
|
|
116
116
|
to: item.to,
|
|
117
|
+
external: item.external,
|
|
117
118
|
size: "md",
|
|
118
119
|
"aria-current": "page"
|
|
119
120
|
}, {
|
|
@@ -121,7 +122,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
121
122
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
122
123
|
}),
|
|
123
124
|
_: 2
|
|
124
|
-
}, 1032, ["href", "to"]);
|
|
125
|
+
}, 1032, ["href", "to", "external"]);
|
|
125
126
|
}), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_FwButton, {
|
|
126
127
|
onClick: _ctx.actionClicked,
|
|
127
128
|
size: "md",
|
|
@@ -159,6 +160,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
159
160
|
variant: "text",
|
|
160
161
|
href: item.href,
|
|
161
162
|
to: item.to,
|
|
163
|
+
external: item.external,
|
|
162
164
|
size: "md",
|
|
163
165
|
"aria-current": "page"
|
|
164
166
|
}, {
|
|
@@ -166,7 +168,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
166
168
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
167
169
|
}),
|
|
168
170
|
_: 2
|
|
169
|
-
}, 1032, ["href", "to"]);
|
|
171
|
+
}, 1032, ["href", "to", "external"]);
|
|
170
172
|
}), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
|
|
171
173
|
key: 0,
|
|
172
174
|
"class": "w-full rounded-md",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './es.array.includes-9a6e4066.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-
|
|
3
|
+
import { s as script$1 } from './fw-button-6aa9b68f.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
package/esm/index.js
CHANGED
|
@@ -18,8 +18,8 @@ import { FwNavigationMenu as script$5 } from './fw-navigation-menu.js';
|
|
|
18
18
|
export { FwNavigationMenu } from './fw-navigation-menu.js';
|
|
19
19
|
import { FwTabs as script$6, FwTab as script$7 } from './fw-tabs.js';
|
|
20
20
|
export { FwTab, FwTabs } from './fw-tabs.js';
|
|
21
|
-
import { s as script$8, u as uniqueId } from './index-
|
|
22
|
-
export { s as FwModal } from './index-
|
|
21
|
+
import { s as script$8, u as uniqueId } from './index-61020c18.js';
|
|
22
|
+
export { s as FwModal } from './index-61020c18.js';
|
|
23
23
|
import { FwProgressBar as script$9 } from './fw-progress-bar.js';
|
|
24
24
|
export { FwProgressBar } from './fw-progress-bar.js';
|
|
25
25
|
import { FwTag as script$a } from './fw-tag.js';
|
|
@@ -34,8 +34,8 @@ import { FwEmailPulse as __default__, FwSuccessPulse as __default__$1 } from './
|
|
|
34
34
|
export { FwEmailPulse, FwSuccessPulse } from './fw-animations.js';
|
|
35
35
|
import { F as Form } from './vee-validate.esm-a17a23c3.js';
|
|
36
36
|
export { F as FwForm } from './vee-validate.esm-a17a23c3.js';
|
|
37
|
-
import { s as script$4 } from './fw-button-
|
|
38
|
-
export { s as FwButton } from './fw-button-
|
|
37
|
+
import { s as script$4 } from './fw-button-6aa9b68f.js';
|
|
38
|
+
export { s as FwButton } from './fw-button-6aa9b68f.js';
|
|
39
39
|
import { s as script$g } from './fw-loading-bar-da7d53fb.js';
|
|
40
40
|
export { s as FwLoadingBar } from './fw-loading-bar-da7d53fb.js';
|
|
41
41
|
import { s as script$j } from './fw-loading-spinner-649aa589.js';
|
package/frollo-web-ui.esm.js
CHANGED
|
@@ -6032,6 +6032,13 @@ var script$e = defineComponent({
|
|
|
6032
6032
|
loading: {
|
|
6033
6033
|
type: Boolean,
|
|
6034
6034
|
"default": false
|
|
6035
|
+
},
|
|
6036
|
+
|
|
6037
|
+
/**
|
|
6038
|
+
* Whether the link should open in a new tab
|
|
6039
|
+
*/
|
|
6040
|
+
external: {
|
|
6041
|
+
type: Boolean
|
|
6035
6042
|
}
|
|
6036
6043
|
},
|
|
6037
6044
|
setup: function setup(props, ctx) {
|
|
@@ -6194,6 +6201,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6194
6201
|
href: _ctx.href ? _ctx.href : null,
|
|
6195
6202
|
tabindex: _ctx.to ? 0 : null,
|
|
6196
6203
|
disabled: _ctx.loading,
|
|
6204
|
+
target: !!_ctx.external ? '_blank' : null,
|
|
6197
6205
|
onClick: _ctx.onClick,
|
|
6198
6206
|
onFocusin: _ctx.onFocusin,
|
|
6199
6207
|
onFocusout: _ctx.onFocusout,
|
|
@@ -6211,7 +6219,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6211
6219
|
})], 2)) : createCommentVNode("", true)])) : createCommentVNode("", true)];
|
|
6212
6220
|
}),
|
|
6213
6221
|
_: 3
|
|
6214
|
-
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
6222
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
6215
6223
|
}
|
|
6216
6224
|
|
|
6217
6225
|
var css_248z$8 = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-o-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-o-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
@@ -6324,6 +6332,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6324
6332
|
variant: "text",
|
|
6325
6333
|
href: item.href,
|
|
6326
6334
|
to: item.to,
|
|
6335
|
+
external: item.external,
|
|
6327
6336
|
size: "md",
|
|
6328
6337
|
"aria-current": "page"
|
|
6329
6338
|
}, {
|
|
@@ -6331,7 +6340,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6331
6340
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
6332
6341
|
}),
|
|
6333
6342
|
_: 2
|
|
6334
|
-
}, 1032, ["href", "to"]);
|
|
6343
|
+
}, 1032, ["href", "to", "external"]);
|
|
6335
6344
|
}), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_5$4, [createVNode(_component_FwButton, {
|
|
6336
6345
|
onClick: _ctx.actionClicked,
|
|
6337
6346
|
size: "md",
|
|
@@ -6369,6 +6378,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6369
6378
|
variant: "text",
|
|
6370
6379
|
href: item.href,
|
|
6371
6380
|
to: item.to,
|
|
6381
|
+
external: item.external,
|
|
6372
6382
|
size: "md",
|
|
6373
6383
|
"aria-current": "page"
|
|
6374
6384
|
}, {
|
|
@@ -6376,7 +6386,7 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6376
6386
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
6377
6387
|
}),
|
|
6378
6388
|
_: 2
|
|
6379
|
-
}, 1032, ["href", "to"]);
|
|
6389
|
+
}, 1032, ["href", "to", "external"]);
|
|
6380
6390
|
}), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
|
|
6381
6391
|
key: 0,
|
|
6382
6392
|
"class": "w-full rounded-md",
|
package/index.d.ts
CHANGED
|
@@ -453,6 +453,7 @@ declare interface FwButtonProps {
|
|
|
453
453
|
animation?: ButtonAnimation;
|
|
454
454
|
rounded?: boolean;
|
|
455
455
|
loading?: boolean;
|
|
456
|
+
external?: boolean;
|
|
456
457
|
}
|
|
457
458
|
|
|
458
459
|
declare const _default$f: vue.DefineComponent<{
|
|
@@ -514,6 +515,12 @@ declare const _default$f: vue.DefineComponent<{
|
|
|
514
515
|
type: BooleanConstructor;
|
|
515
516
|
default: boolean;
|
|
516
517
|
};
|
|
518
|
+
/**
|
|
519
|
+
* Whether the link should open in a new tab
|
|
520
|
+
*/
|
|
521
|
+
external: {
|
|
522
|
+
type: BooleanConstructor;
|
|
523
|
+
};
|
|
517
524
|
}, {
|
|
518
525
|
baseClass: vue.Ref<string>;
|
|
519
526
|
textColorClass: vue.ComputedRef<string>;
|
|
@@ -601,6 +608,12 @@ declare const _default$f: vue.DefineComponent<{
|
|
|
601
608
|
type: BooleanConstructor;
|
|
602
609
|
default: boolean;
|
|
603
610
|
};
|
|
611
|
+
/**
|
|
612
|
+
* Whether the link should open in a new tab
|
|
613
|
+
*/
|
|
614
|
+
external: {
|
|
615
|
+
type: BooleanConstructor;
|
|
616
|
+
};
|
|
604
617
|
}>> & {
|
|
605
618
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
606
619
|
onMouseover?: ((...args: any[]) => any) | undefined;
|
|
@@ -614,12 +627,14 @@ declare const _default$f: vue.DefineComponent<{
|
|
|
614
627
|
animation: ButtonAnimation;
|
|
615
628
|
rounded: boolean;
|
|
616
629
|
loading: boolean;
|
|
630
|
+
external: boolean;
|
|
617
631
|
}>;
|
|
618
632
|
|
|
619
633
|
declare interface NavMenuItem {
|
|
620
634
|
to?: string | object;
|
|
621
635
|
href?: string;
|
|
622
636
|
label: string;
|
|
637
|
+
external?: boolean;
|
|
623
638
|
}
|
|
624
639
|
|
|
625
640
|
declare const _default$e: vue.DefineComponent<{
|
package/package.json
CHANGED
|
@@ -59,6 +59,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: BooleanConstructor;
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Whether the link should open in a new tab
|
|
64
|
+
*/
|
|
65
|
+
external: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
};
|
|
62
68
|
}, {
|
|
63
69
|
baseClass: import("vue").Ref<string>;
|
|
64
70
|
textColorClass: import("vue").ComputedRef<string>;
|
|
@@ -146,6 +152,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
152
|
type: BooleanConstructor;
|
|
147
153
|
default: boolean;
|
|
148
154
|
};
|
|
155
|
+
/**
|
|
156
|
+
* Whether the link should open in a new tab
|
|
157
|
+
*/
|
|
158
|
+
external: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
};
|
|
149
161
|
}>> & {
|
|
150
162
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
151
163
|
onMouseover?: ((...args: any[]) => any) | undefined;
|
|
@@ -159,5 +171,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
171
|
animation: ButtonAnimation;
|
|
160
172
|
rounded: boolean;
|
|
161
173
|
loading: boolean;
|
|
174
|
+
external: boolean;
|
|
162
175
|
}>;
|
|
163
176
|
export default _default;
|