@adyen/bento-vue2 0.10.0 → 0.10.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.
- package/dist/@types/components/currency/currency.vue.d.ts +9 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +3 -3
- package/dist/@types/components/date/date.vue.d.ts +9 -0
- package/dist/@types/components/modal/components/base-modal/base-modal.vue.d.ts +10 -0
- package/dist/@types/components/modal/components/modal-default/modal-default.vue.d.ts +9 -0
- package/dist/@types/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +9 -0
- package/dist/@types/components/modal/modal.vue.d.ts +11 -0
- package/dist/@types/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
- package/dist/@types/components/segmented-control/index.d.ts +2 -0
- package/dist/@types/components/segmented-control/segmented-control.types.d.ts +8 -0
- package/dist/@types/components/segmented-control/segmented-control.vue.d.ts +53 -0
- package/dist/@types/components.d.ts +2 -4
- package/dist/@types/index.d.ts +1 -0
- package/dist/accordion.js +206 -0
- package/dist/accordion.js.map +1 -0
- package/dist/alert.js +103 -0
- package/dist/alert.js.map +1 -0
- package/dist/assets/base-button.css +1 -0
- package/dist/assets/button-actions.css +1 -0
- package/dist/assets/button.css +1 -0
- package/dist/assets/checkbox.css +1 -0
- package/dist/assets/checkmark-circle-fill.css +1 -0
- package/dist/assets/checkmark-small.css +1 -0
- package/dist/assets/chevron-left.css +1 -0
- package/dist/assets/chevron-up.css +1 -0
- package/dist/assets/copy.css +1 -0
- package/dist/assets/cross-circle-fill.css +1 -0
- package/dist/assets/cross-small.css +1 -0
- package/dist/assets/cross.css +1 -0
- package/dist/assets/dropdown.css +1 -0
- package/dist/assets/grid-layout.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/index10.css +1 -0
- package/dist/assets/index11.css +1 -0
- package/dist/assets/index12.css +1 -0
- package/dist/assets/index13.css +1 -0
- package/dist/assets/index14.css +1 -0
- package/dist/assets/index15.css +1 -0
- package/dist/assets/index16.css +1 -0
- package/dist/assets/index17.css +1 -0
- package/dist/assets/index18.css +1 -0
- package/dist/assets/index19.css +1 -0
- package/dist/assets/index2.css +1 -0
- package/dist/assets/index20.css +1 -0
- package/dist/assets/index21.css +1 -0
- package/dist/assets/index22.css +1 -0
- package/dist/assets/index23.css +1 -0
- package/dist/assets/index24.css +1 -0
- package/dist/assets/index25.css +1 -0
- package/dist/assets/index26.css +1 -0
- package/dist/assets/index27.css +1 -0
- package/dist/assets/index28.css +1 -0
- package/dist/assets/index29.css +1 -0
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index30.css +1 -0
- package/dist/assets/index31.css +1 -0
- package/dist/assets/index32.css +1 -0
- package/dist/assets/index33.css +1 -0
- package/dist/assets/index34.css +1 -0
- package/dist/assets/index35.css +1 -0
- package/dist/assets/index36.css +1 -0
- package/dist/assets/index37.css +1 -0
- package/dist/assets/index38.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/assets/index5.css +1 -0
- package/dist/assets/index6.css +1 -0
- package/dist/assets/index7.css +1 -0
- package/dist/assets/index8.css +1 -0
- package/dist/assets/index9.css +1 -0
- package/dist/assets/info-filled.css +1 -0
- package/dist/assets/listbox-option-tag.css +1 -0
- package/dist/assets/listbox.css +1 -0
- package/dist/assets/search.css +1 -0
- package/dist/assets/tooltip.css +1 -0
- package/dist/avatar-image.js +7 -0
- package/dist/avatar-image.js.map +1 -0
- package/dist/badge.js +57 -0
- package/dist/badge.js.map +1 -0
- package/dist/button.js +110 -0
- package/dist/button.js.map +1 -0
- package/dist/card.js +178 -0
- package/dist/card.js.map +1 -0
- package/dist/checkbox.js +94 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +33 -0
- package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +1 -0
- package/dist/chunks/aria-label.ac9651a5.js +13 -0
- package/dist/chunks/aria-label.ac9651a5.js.map +1 -0
- package/dist/chunks/base-button.38651156.js +83 -0
- package/dist/chunks/base-button.38651156.js.map +1 -0
- package/dist/chunks/button-actions.59406268.js +105 -0
- package/dist/chunks/button-actions.59406268.js.map +1 -0
- package/dist/chunks/button.31b757d1.js +102 -0
- package/dist/chunks/button.31b757d1.js.map +1 -0
- package/dist/chunks/checkbox.fab16cce.js +138 -0
- package/dist/chunks/checkbox.fab16cce.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill.d1aa324d.js +26 -0
- package/dist/chunks/checkmark-circle-fill.d1aa324d.js.map +1 -0
- package/dist/chunks/checkmark-small.1371dd20.js +26 -0
- package/dist/chunks/checkmark-small.1371dd20.js.map +1 -0
- package/dist/chunks/chevron-left.e3a49e62.js +47 -0
- package/dist/chunks/chevron-left.e3a49e62.js.map +1 -0
- package/dist/chunks/chevron-up.416431cd.js +47 -0
- package/dist/chunks/chevron-up.416431cd.js.map +1 -0
- package/dist/chunks/copy.fa9aa27e.js +105 -0
- package/dist/chunks/copy.fa9aa27e.js.map +1 -0
- package/dist/chunks/cross-circle-fill.0a1d738c.js +26 -0
- package/dist/chunks/cross-circle-fill.0a1d738c.js.map +1 -0
- package/dist/chunks/cross-small.7ecb1b97.js +26 -0
- package/dist/chunks/cross-small.7ecb1b97.js.map +1 -0
- package/dist/chunks/cross.db1f9177.js +26 -0
- package/dist/chunks/cross.db1f9177.js.map +1 -0
- package/dist/chunks/directive.23e35ab0.js +21 -0
- package/dist/chunks/directive.23e35ab0.js.map +1 -0
- package/dist/chunks/dropdown.0d394d2f.js +771 -0
- package/dist/chunks/dropdown.0d394d2f.js.map +1 -0
- package/dist/chunks/grid-layout.14423a2e.js +69 -0
- package/dist/chunks/grid-layout.14423a2e.js.map +1 -0
- package/dist/chunks/hasSlot.dceac207.js +5 -0
- package/dist/chunks/hasSlot.dceac207.js.map +1 -0
- package/dist/chunks/i18n.8934ef6c.js +1695 -0
- package/dist/chunks/i18n.8934ef6c.js.map +1 -0
- package/dist/chunks/index.2e54c294.js +801 -0
- package/dist/chunks/index.2e54c294.js.map +1 -0
- package/dist/chunks/index.34eba2c4.js +107 -0
- package/dist/chunks/index.34eba2c4.js.map +1 -0
- package/dist/chunks/index.59dc2e3f.js +801 -0
- package/dist/chunks/index.59dc2e3f.js.map +1 -0
- package/dist/chunks/index.73d7902e.js +29 -0
- package/dist/chunks/index.73d7902e.js.map +1 -0
- package/dist/chunks/index.8c38e06b.js +441 -0
- package/dist/chunks/index.8c38e06b.js.map +1 -0
- package/dist/chunks/index.8e9cdc73.js +441 -0
- package/dist/chunks/index.8e9cdc73.js.map +1 -0
- package/dist/chunks/index.a7a22907.js +929 -0
- package/dist/chunks/index.a7a22907.js.map +1 -0
- package/dist/chunks/index.ad5e1dbd.js +107 -0
- package/dist/chunks/index.ad5e1dbd.js.map +1 -0
- package/dist/chunks/index.e2141d95.js +86 -0
- package/dist/chunks/index.e2141d95.js.map +1 -0
- package/dist/chunks/index.f4582460.js +86 -0
- package/dist/chunks/index.f4582460.js.map +1 -0
- package/dist/chunks/index.f55fdc32.js +1118 -0
- package/dist/chunks/index.f55fdc32.js.map +1 -0
- package/dist/chunks/info-filled.9748686e.js +26 -0
- package/dist/chunks/info-filled.9748686e.js.map +1 -0
- package/dist/chunks/listbox-option-tag.2e5c4012.js +111 -0
- package/dist/chunks/listbox-option-tag.2e5c4012.js.map +1 -0
- package/dist/chunks/listbox-option-tag.f44b4ee0.js +111 -0
- package/dist/chunks/listbox-option-tag.f44b4ee0.js.map +1 -0
- package/dist/chunks/listbox.152dab0a.js +485 -0
- package/dist/chunks/listbox.152dab0a.js.map +1 -0
- package/dist/chunks/on-click-outside.3e0c3e2a.js +91 -0
- package/dist/chunks/on-click-outside.3e0c3e2a.js.map +1 -0
- package/dist/chunks/search.6be3396b.js +26 -0
- package/dist/chunks/search.6be3396b.js.map +1 -0
- package/dist/chunks/toastController.b1b08299.js +15 -0
- package/dist/chunks/toastController.b1b08299.js.map +1 -0
- package/dist/chunks/tooltip.a4625a7b.js +220 -0
- package/dist/chunks/tooltip.a4625a7b.js.map +1 -0
- package/dist/chunks/unique-id.a2a2b458.js +34 -0
- package/dist/chunks/unique-id.a2a2b458.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.83d977a1.js +11 -0
- package/dist/chunks/use-default-slot-validator.83d977a1.js.map +1 -0
- package/dist/chunks/useCountryItems.cbe60557.js +29 -0
- package/dist/chunks/useCountryItems.cbe60557.js.map +1 -0
- package/dist/click-outside.js +23 -0
- package/dist/click-outside.js.map +1 -0
- package/dist/controls-group.js +59 -0
- package/dist/controls-group.js.map +1 -0
- package/dist/country.js +5979 -0
- package/dist/country.js.map +1 -0
- package/dist/currency.js +119 -0
- package/dist/currency.js.map +1 -0
- package/dist/data-grid.js +1169 -0
- package/dist/data-grid.js.map +1 -0
- package/dist/date-picker.js +8 -0
- package/dist/date-picker.js.map +1 -0
- package/dist/date.js +6 -0
- package/dist/date.js.map +1 -0
- package/dist/divider.js +35 -0
- package/dist/divider.js.map +1 -0
- package/dist/dropdown.js +262 -0
- package/dist/dropdown.js.map +1 -0
- package/dist/filter-bar.js +1735 -0
- package/dist/filter-bar.js.map +1 -0
- package/dist/focus-trap.js +5 -0
- package/dist/focus-trap.js.map +1 -0
- package/dist/header.js +205 -0
- package/dist/header.js.map +1 -0
- package/dist/index.js +335 -21278
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +61 -0
- package/dist/info-icon.js.map +1 -0
- package/dist/input-field.js +168 -0
- package/dist/input-field.js.map +1 -0
- package/dist/internal.js +13 -0
- package/dist/internal.js.map +1 -0
- package/dist/link.js +46 -0
- package/dist/link.js.map +1 -0
- package/dist/loading-indicator.js +51 -0
- package/dist/loading-indicator.js.map +1 -0
- package/dist/menu.js +474 -0
- package/dist/menu.js.map +1 -0
- package/dist/modal.js +709 -0
- package/dist/modal.js.map +1 -0
- package/dist/pagination.js +487 -0
- package/dist/pagination.js.map +1 -0
- package/dist/payment-method.js +84 -0
- package/dist/payment-method.js.map +1 -0
- package/dist/popover.js +284 -0
- package/dist/popover.js.map +1 -0
- package/dist/popper-container.js +225 -0
- package/dist/popper-container.js.map +1 -0
- package/dist/radio-group.js +192 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/search-bar.js +106 -0
- package/dist/search-bar.js.map +1 -0
- package/dist/status.js +47 -0
- package/dist/status.js.map +1 -0
- package/dist/structured-list.js +98 -0
- package/dist/structured-list.js.map +1 -0
- package/dist/summary-grid.js +526 -0
- package/dist/summary-grid.js.map +1 -0
- package/dist/tabs.js +106 -0
- package/dist/tabs.js.map +1 -0
- package/dist/tag.js +73 -0
- package/dist/tag.js.map +1 -0
- package/dist/textarea.js +64 -0
- package/dist/textarea.js.map +1 -0
- package/dist/toast.js +132 -0
- package/dist/toast.js.map +1 -0
- package/dist/toggle.js +6 -0
- package/dist/toggle.js.map +1 -0
- package/dist/typography.js +111 -0
- package/dist/typography.js.map +1 -0
- package/dist/web-types.json +130 -13
- package/package.json +6 -4
- package/dist/@types/utils/ts/inject-css.d.ts +0 -2
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./assets/index17.css";
|
|
2
|
+
import { defineComponent as s } from "vue";
|
|
3
|
+
import { PopperContainerPosition as r } from "./popper-container.js";
|
|
4
|
+
import { n as i } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
|
+
import { B as a } from "./chunks/tooltip.a4625a7b.js";
|
|
6
|
+
let o = 0;
|
|
7
|
+
const l = {
|
|
8
|
+
beforeCreate() {
|
|
9
|
+
this.uuid = o.toString(), o += 1;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
var _ = function() {
|
|
13
|
+
var t = this, e = t._self._c;
|
|
14
|
+
return e("svg", t._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("g", { attrs: { fill: "#00112C", "fill-rule": "evenodd", "clip-path": "url(#uia-icons-16-info__a" + t.uuid + ")", "clip-rule": "evenodd" } }, [e("path", { attrs: { d: "M8.58147 5.05557C8.47159 5.22002 8.31541 5.34819 8.13268 5.42388C7.94996 5.49957 7.74889 5.51937 7.55491 5.48079C7.36093 5.4422 7.18275 5.34696 7.04289 5.20711C6.90304 5.06725 6.8078 4.88907 6.76922 4.69509C6.73063 4.50111 6.75043 4.30004 6.82612 4.11732C6.90181 3.93459 7.02998 3.77841 7.19443 3.66853C7.35888 3.55865 7.55222 3.5 7.75 3.5C8.01522 3.5 8.26957 3.60536 8.45711 3.79289C8.64464 3.98043 8.75 4.23478 8.75 4.5C8.75 4.69778 8.69135 4.89112 8.58147 5.05557Z" } }), e("path", { attrs: { d: "M6.25 7C6.25 6.58579 6.58579 6.25 7 6.25H8C8.41421 6.25 8.75 6.58579 8.75 7V10.25H9C9.41421 10.25 9.75 10.5858 9.75 11C9.75 11.4142 9.41421 11.75 9 11.75H7C6.58579 11.75 6.25 11.4142 6.25 11C6.25 10.5858 6.58579 10.25 7 10.25H7.25V7.75H7C6.58579 7.75 6.25 7.41421 6.25 7Z" } }), e("path", { attrs: { d: "M9.51195 0.398918C8.0086 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.70453 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8888 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.3012 11.5338 12.5001 12.5099 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C3.49007 3.49988 4.46619 2.6988 5.60823 2.22576Z" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-icons-16-info__a" + t.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
15
|
+
}, c = [], p = /* @__PURE__ */ i(
|
|
16
|
+
l,
|
|
17
|
+
_,
|
|
18
|
+
c,
|
|
19
|
+
!1,
|
|
20
|
+
null,
|
|
21
|
+
"20ae506d",
|
|
22
|
+
null,
|
|
23
|
+
null
|
|
24
|
+
);
|
|
25
|
+
const C = p.exports, f = s({
|
|
26
|
+
name: "bento-info-icon",
|
|
27
|
+
components: { InfoIcon: C },
|
|
28
|
+
directives: { BentoTooltipDirective: a },
|
|
29
|
+
inheritAttrs: !1,
|
|
30
|
+
props: {
|
|
31
|
+
/**
|
|
32
|
+
* Text showed in the info-icon tooltip on hover
|
|
33
|
+
*/
|
|
34
|
+
tooltipText: { type: String, required: !0 },
|
|
35
|
+
/**
|
|
36
|
+
* Position the tooltip should take if space is available. Defaults to 'auto'
|
|
37
|
+
*/
|
|
38
|
+
tooltipPosition: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: r.AUTO
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
var d = function() {
|
|
45
|
+
var t = this, e = t._self._c;
|
|
46
|
+
return t._self._setupProxy, e("span", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[tooltipPosition]", value: t.tooltipText, expression: "tooltipText", arg: t.tooltipPosition }], staticClass: "b-info-icon", attrs: { "aria-label": t.tooltipText, tabindex: "0" } }, [e("info-icon", { staticClass: "b-info-icon__svg", attrs: { "svg-title": t.tooltipText } })], 1);
|
|
47
|
+
}, u = [], v = /* @__PURE__ */ i(
|
|
48
|
+
f,
|
|
49
|
+
d,
|
|
50
|
+
u,
|
|
51
|
+
!1,
|
|
52
|
+
null,
|
|
53
|
+
"79e9365d",
|
|
54
|
+
null,
|
|
55
|
+
null
|
|
56
|
+
);
|
|
57
|
+
const w = v.exports;
|
|
58
|
+
export {
|
|
59
|
+
w as BentoInfoIcon
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=info-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-icon.js","sources":["../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/info.vue","../src/components/info-icon/info-icon.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g fill=\"#00112C\" fill-rule=\"evenodd\" :clip-path=\"'url(#uia-icons-16-info__a' + uuid + ')'\" clip-rule=\"evenodd\"><path d=\"M8.58147 5.05557C8.47159 5.22002 8.31541 5.34819 8.13268 5.42388C7.94996 5.49957 7.74889 5.51937 7.55491 5.48079C7.36093 5.4422 7.18275 5.34696 7.04289 5.20711C6.90304 5.06725 6.8078 4.88907 6.76922 4.69509C6.73063 4.50111 6.75043 4.30004 6.82612 4.11732C6.90181 3.93459 7.02998 3.77841 7.19443 3.66853C7.35888 3.55865 7.55222 3.5 7.75 3.5C8.01522 3.5 8.26957 3.60536 8.45711 3.79289C8.64464 3.98043 8.75 4.23478 8.75 4.5C8.75 4.69778 8.69135 4.89112 8.58147 5.05557Z\"/><path d=\"M6.25 7C6.25 6.58579 6.58579 6.25 7 6.25H8C8.41421 6.25 8.75 6.58579 8.75 7V10.25H9C9.41421 10.25 9.75 10.5858 9.75 11C9.75 11.4142 9.41421 11.75 9 11.75H7C6.58579 11.75 6.25 11.4142 6.25 11C6.25 10.5858 6.58579 10.25 7 10.25H7.25V7.75H7C6.58579 7.75 6.25 7.41421 6.25 7Z\"/><path d=\"M9.51195 0.398918C8.0086 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.70453 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8888 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.3012 11.5338 12.5001 12.5099 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C3.49007 3.49988 4.46619 2.6988 5.60823 2.22576Z\"/></g><defs><clipPath :id=\"'uia-icons-16-info__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style scoped lang=\"scss\">\n svg {\n display: inline-flex;\n flex-shrink: 0;\n }\n \n svg,\n svg * {\n fill: currentcolor;\n }\n</style>\n","<template>\n <span\n v-bento-tooltip-directive:[tooltipPosition]=\"tooltipText\"\n class=\"b-info-icon\"\n :aria-label=\"tooltipText\"\n tabindex=\"0\"\n >\n <info-icon :svg-title=\"tooltipText\" class=\"b-info-icon__svg\" />\n </span>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { PopperContainerPosition } from '@/components/popper-container';\n import { BentoTooltipDirective } from '@/directives';\n import InfoIcon from '@adyen/ui-assets-icons-16/vue/info';\n\n /**\n * @example\n * import { BentoInfoIcon } from '@adyen/adl-vue-components';\n *\n * export default {\n * components: { BentoInfoIcon },\n * template: `\n * <bento-info-icon tooltip-text=\"Text on hover\" />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-info-icon',\n components: { InfoIcon },\n directives: { BentoTooltipDirective },\n inheritAttrs: false,\n props: {\n /**\n * Text showed in the info-icon tooltip on hover\n */\n tooltipText: { type: String, required: true },\n\n /**\n * Position the tooltip should take if space is available. Defaults to 'auto'\n */\n tooltipPosition: {\n type: String as PropType<PopperContainerPosition>,\n default: PopperContainerPosition.AUTO,\n },\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./info-icon.scss\" />\n"],"names":["uuid","_sfc_main$1","_sfc_main","defineComponent","InfoIcon","BentoTooltipDirective","PopperContainerPosition"],"mappings":";;;;;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;qBCgBAE,IAAAC,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,YAAA,EAAA,UAAAC,EAAA;AAAA,EACA,YAAA,EAAA,uBAAAC,EAAA;AAAA,EACA,cAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,aAAA,EAAA,MAAA,QAAA,UAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAAA,MAKA,MAAA;AAAA,MACA,SAAAC,EAAA;AAAA,IACA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import "./assets/index37.css";
|
|
2
|
+
import { defineComponent as h, ref as A, computed as i } from "vue";
|
|
3
|
+
import { BentoTypography as E, BentoTypographyVariant as T, BentoTypographyElement as v } from "./typography.js";
|
|
4
|
+
import { h as m } from "./chunks/hasSlot.dceac207.js";
|
|
5
|
+
import { g as P } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
+
import { B as w, a as g } from "./chunks/dropdown.0d394d2f.js";
|
|
7
|
+
import { n as N } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
8
|
+
var r = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PAYMENT_METHOD = "payment-method", e.STATIC_VALUE = "static-value", e.DROPDOWN = "dropdown", e))(r || {}), d = /* @__PURE__ */ ((e) => (e.START = "start", e.END = "end", e))(d || {}), l = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.ERROR = "error", e.SMALL_PADDING_LEFT = "small-padding-left", e.SMALL_PADDING_RIGHT = "small-padding-right", e))(l || {}), f = /* @__PURE__ */ ((e) => (e.SEARCH = "search", e.TEXT = "text", e.NUMBER = "number", e))(f || {}), n = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.ESCAPE_PRESSED = "escape-pressed", e.UPDATE_DROPDOWN = "update:dropdown", e.DROPDOWN_INPUT = "dropdown-input", e.FOCUS = "focus", e.CHANGE = "change", e.BLUR = "blur", e))(n || {});
|
|
9
|
+
const O = h({
|
|
10
|
+
name: "bento-input-field",
|
|
11
|
+
components: { BentoDropdown: w, BentoTypography: E },
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
props: {
|
|
14
|
+
/**
|
|
15
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
16
|
+
*/
|
|
17
|
+
ariaHidden: { type: Boolean, default: !0 },
|
|
18
|
+
/**
|
|
19
|
+
* Text that labels an the input element
|
|
20
|
+
*/
|
|
21
|
+
ariaLabel: { type: String, default: void 0 },
|
|
22
|
+
/**
|
|
23
|
+
* Disables the possibility of changing value in the input-field
|
|
24
|
+
*/
|
|
25
|
+
disabled: { type: Boolean, default: !1 },
|
|
26
|
+
/**
|
|
27
|
+
* Dropdown props for the small selectable dropdown menu.
|
|
28
|
+
* @see BentoDropdown
|
|
29
|
+
*/
|
|
30
|
+
dropdown: {
|
|
31
|
+
type: Object,
|
|
32
|
+
default: void 0
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* Position of the dropdown before or after input value
|
|
36
|
+
*/
|
|
37
|
+
dropdownPosition: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: d.START
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* Adds error validation class for outlining input-field
|
|
43
|
+
*/
|
|
44
|
+
error: { type: Boolean, default: !1 },
|
|
45
|
+
/**
|
|
46
|
+
* Text displayed as the placeholder of the input-field
|
|
47
|
+
*/
|
|
48
|
+
placeholder: { type: String, default: "" },
|
|
49
|
+
/**
|
|
50
|
+
* Static text that displayed before or after input value
|
|
51
|
+
* Applicable to the Static Value variant
|
|
52
|
+
*/
|
|
53
|
+
staticValue: { type: String, default: "" },
|
|
54
|
+
/**
|
|
55
|
+
* Position of Static Value before or after input value
|
|
56
|
+
*/
|
|
57
|
+
staticValuePosition: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: d.START
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* A string specifying the type of control to render.
|
|
63
|
+
*/
|
|
64
|
+
type: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: f.TEXT
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* Text displayed as the value of the input-field
|
|
70
|
+
*/
|
|
71
|
+
value: { type: String, default: "" },
|
|
72
|
+
/**
|
|
73
|
+
* Describes the different variants for the input element
|
|
74
|
+
*/
|
|
75
|
+
variant: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: r.DEFAULT
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
emits: [
|
|
81
|
+
n.INPUT,
|
|
82
|
+
n.ESCAPE_PRESSED,
|
|
83
|
+
n.DROPDOWN_INPUT,
|
|
84
|
+
n.UPDATE_DROPDOWN,
|
|
85
|
+
n.CHANGE,
|
|
86
|
+
n.FOCUS,
|
|
87
|
+
n.BLUR
|
|
88
|
+
],
|
|
89
|
+
setup(e, { slots: t, emit: a }) {
|
|
90
|
+
const o = A(null), y = P("input"), u = i(
|
|
91
|
+
() => e.variant === r.STATIC_VALUE && t.staticValue
|
|
92
|
+
), D = i(
|
|
93
|
+
() => u.value && e.staticValuePosition === d.START
|
|
94
|
+
), S = i(
|
|
95
|
+
() => u.value && e.staticValuePosition === d.END
|
|
96
|
+
), p = i(
|
|
97
|
+
() => e.variant === r.DROPDOWN && e.dropdown
|
|
98
|
+
), _ = i(
|
|
99
|
+
() => p.value && e.dropdownPosition === d.START
|
|
100
|
+
), c = i(
|
|
101
|
+
() => p.value && e.dropdownPosition === d.END
|
|
102
|
+
), b = i(() => ({
|
|
103
|
+
[`b-input-field--${l.DISABLED}`]: e.disabled,
|
|
104
|
+
[`b-input-field--${l.ERROR}`]: e.error,
|
|
105
|
+
[`b-input-field--${l.SMALL_PADDING_LEFT}`]: _.value,
|
|
106
|
+
[`b-input-field--${l.SMALL_PADDING_RIGHT}`]: c.value
|
|
107
|
+
}));
|
|
108
|
+
return {
|
|
109
|
+
// Enums
|
|
110
|
+
BentoTypographyVariant: T,
|
|
111
|
+
BentoTypographyElement: v,
|
|
112
|
+
BentoInputFieldVariant: r,
|
|
113
|
+
BentoDropdownSize: g,
|
|
114
|
+
BentoInputFieldEvent: n,
|
|
115
|
+
// Functions
|
|
116
|
+
onDropdownInput: (s) => {
|
|
117
|
+
a(n.DROPDOWN_INPUT, s), a(n.UPDATE_DROPDOWN, { ...e == null ? void 0 : e.dropdown, value: s });
|
|
118
|
+
},
|
|
119
|
+
onInput: (s) => {
|
|
120
|
+
e.disabled || a(n.INPUT, s.target.value);
|
|
121
|
+
},
|
|
122
|
+
focusInput: () => {
|
|
123
|
+
o.value.focus();
|
|
124
|
+
},
|
|
125
|
+
hasSlot: m(t),
|
|
126
|
+
// Values
|
|
127
|
+
inputFieldConditionalClasses: b,
|
|
128
|
+
inputFieldElement: o,
|
|
129
|
+
inputFieldId: y,
|
|
130
|
+
shouldDisplayStaticValueAtStart: D,
|
|
131
|
+
shouldDisplayStaticValueAtEnd: S,
|
|
132
|
+
shouldShowDropdown: p,
|
|
133
|
+
shouldDisplayDropdownAtStart: _,
|
|
134
|
+
shouldDisplayDropdownAtEnd: c
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
var R = function() {
|
|
139
|
+
var t = this, a = t._self._c;
|
|
140
|
+
return t._self._setupProxy, a("bento-typography", { staticClass: "b-input-field", class: t.inputFieldConditionalClasses, attrs: { "data-testid": "input-text-container", el: t.BentoTypographyElement.DIV, variant: t.BentoTypographyVariant.BODY } }, [t.hasSlot("default") ? a("label", { staticClass: "b-input-field__label", attrs: { for: t.inputFieldId, "data-testid": "input-field-label" }, on: { click: t.focusInput } }, [a("bento-typography", { attrs: { el: t.BentoTypographyElement.SPAN, variant: t.BentoTypographyVariant.BODY, stronger: "" } }, [t._t("default")], 2)], 1) : t._e(), a("div", { staticClass: "b-input-field__input-box", attrs: { "aria-disabled": t.disabled } }, [t.variant === t.BentoInputFieldVariant.DEFAULT && t.hasSlot("defaultIconBefore") ? a("span", { staticClass: "b-input-field__default-icon-before", attrs: { "aria-hidden": t.ariaHidden ? "true" : void 0 } }, [t._t("defaultIconBefore")], 2) : t._e(), t.variant === t.BentoInputFieldVariant.PAYMENT_METHOD && t.hasSlot("paymentMethod") ? a("span", { staticClass: "b-input-field__payment-method", attrs: { "aria-hidden": t.ariaHidden ? "true" : void 0 } }, [t._t("paymentMethod")], 2) : t._e(), t.shouldDisplayDropdownAtStart ? a("div", { staticClass: "b-input-field__dropdown b-input-field__dropdown--start" }, [t.dropdown ? a("bento-dropdown", t._b({ attrs: { size: t.BentoDropdownSize.SMALL, disabled: t.disabled }, on: { input: t.onDropdownInput } }, "bento-dropdown", t.dropdown, !1)) : t._e()], 1) : t._e(), t.shouldDisplayStaticValueAtStart ? a("bento-typography", { staticClass: "b-input-field__static-value b-input-field__static-value--start", attrs: { el: t.BentoTypographyElement.SPAN, variant: t.BentoTypographyVariant.BODY } }, [t._t("staticValue")], 2) : t._e(), a("input", { ref: "inputFieldElement", staticClass: "b-input-field__input", attrs: { id: t.inputFieldId, "aria-label": t.ariaLabel, placeholder: t.placeholder, type: t.type, disabled: t.disabled }, domProps: { value: t.value }, on: { input: t.onInput, change: function(o) {
|
|
141
|
+
return t.$emit(t.BentoInputFieldEvent.CHANGE);
|
|
142
|
+
}, focus: function(o) {
|
|
143
|
+
return t.$emit(t.BentoInputFieldEvent.FOCUS);
|
|
144
|
+
}, blur: function(o) {
|
|
145
|
+
return t.$emit(t.BentoInputFieldEvent.BLUR);
|
|
146
|
+
}, keydown: function(o) {
|
|
147
|
+
return !o.type.indexOf("key") && t._k(o.keyCode, "esc", 27, o.key, ["Esc", "Escape"]) ? null : t.$emit(t.BentoInputFieldEvent.ESCAPE_PRESSED);
|
|
148
|
+
} } }), t.hasSlot("iconAfter") ? a("span", { staticClass: "b-input-field__icon-after", attrs: { "aria-hidden": t.ariaHidden ? "true" : void 0, "data-testid": "input-text__icon-after" } }, [t._t("iconAfter")], 2) : t._e(), t.shouldDisplayStaticValueAtEnd ? a("bento-typography", { staticClass: "b-input-field__static-value b-input-field__static-value--end", attrs: { el: t.BentoTypographyElement.SPAN, variant: t.BentoTypographyVariant.BODY } }, [t._t("staticValue")], 2) : t._e(), t.shouldDisplayDropdownAtEnd ? a("div", { staticClass: "b-input-field__dropdown b-input-field__dropdown--end" }, [t.dropdown ? a("bento-dropdown", t._b({ attrs: { size: t.BentoDropdownSize.SMALL }, on: { input: t.onDropdownInput } }, "bento-dropdown", t.dropdown, !1)) : t._e()], 1) : t._e()], 1), t.hasSlot("description") ? a("span", { staticClass: "b-input-field__description", on: { click: t.focusInput } }, [a("bento-typography", { attrs: { el: t.BentoTypographyElement.SPAN, variant: t.BentoTypographyVariant.BODY } }, [t._t("description")], 2)], 1) : t._e()]);
|
|
149
|
+
}, C = [], B = /* @__PURE__ */ N(
|
|
150
|
+
O,
|
|
151
|
+
R,
|
|
152
|
+
C,
|
|
153
|
+
!1,
|
|
154
|
+
null,
|
|
155
|
+
"3c1db6d2",
|
|
156
|
+
null,
|
|
157
|
+
null
|
|
158
|
+
);
|
|
159
|
+
const W = B.exports;
|
|
160
|
+
export {
|
|
161
|
+
W as BentoInputField,
|
|
162
|
+
d as BentoInputFieldElementPosition,
|
|
163
|
+
n as BentoInputFieldEvent,
|
|
164
|
+
l as BentoInputFieldStateClass,
|
|
165
|
+
f as BentoInputFieldType,
|
|
166
|
+
r as BentoInputFieldVariant
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=input-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-field.js","sources":["../src/components/input-field/input-field.types.ts","../src/components/input-field/input-field.vue"],"sourcesContent":["import { BentoDropdown } from '@/components/dropdown/';\n\nexport enum BentoInputFieldVariant {\n DEFAULT = 'default',\n PAYMENT_METHOD = 'payment-method',\n STATIC_VALUE = 'static-value',\n DROPDOWN = 'dropdown',\n}\n\nexport enum BentoInputFieldElementPosition {\n START = 'start',\n END = 'end',\n}\n\nexport enum BentoInputFieldStateClass {\n DISABLED = 'disabled',\n ERROR = 'error',\n SMALL_PADDING_LEFT = 'small-padding-left',\n SMALL_PADDING_RIGHT = 'small-padding-right',\n}\n\nexport enum BentoInputFieldType {\n SEARCH = 'search',\n TEXT = 'text',\n NUMBER = 'number',\n}\n\ntype DropdownProps = InstanceType<typeof BentoDropdown>['$props'];\nexport type BentoInputDropdownProps = {\n items: DropdownProps['items'];\n value: DropdownProps['value'];\n};\n\nexport enum BentoInputFieldEvent {\n INPUT = 'input',\n ESCAPE_PRESSED = 'escape-pressed',\n UPDATE_DROPDOWN = 'update:dropdown',\n DROPDOWN_INPUT = 'dropdown-input',\n FOCUS = 'focus',\n CHANGE = 'change',\n BLUR = 'blur',\n}\n","<template>\n <bento-typography\n class=\"b-input-field\"\n data-testid=\"input-text-container\"\n :class=\"inputFieldConditionalClasses\"\n :el=\"BentoTypographyElement.DIV\"\n :variant=\"BentoTypographyVariant.BODY\"\n >\n <label\n v-if=\"hasSlot('default')\"\n :for=\"inputFieldId\"\n class=\"b-input-field__label\"\n data-testid=\"input-field-label\"\n @click=\"focusInput\"\n >\n <bento-typography :el=\"BentoTypographyElement.SPAN\" :variant=\"BentoTypographyVariant.BODY\" stronger>\n <slot></slot>\n </bento-typography>\n </label>\n\n <div class=\"b-input-field__input-box\" :aria-disabled=\"disabled\">\n <!-- Optional Icon for Default text variant -->\n <span\n v-if=\"variant === BentoInputFieldVariant.DEFAULT && hasSlot('defaultIconBefore')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__default-icon-before\"\n >\n <slot name=\"defaultIconBefore\" />\n </span>\n\n <!-- Mandatory Icon for Payment Method variant -->\n <span\n v-if=\"variant === BentoInputFieldVariant.PAYMENT_METHOD && hasSlot('paymentMethod')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__payment-method\"\n >\n <slot name=\"paymentMethod\" />\n </span>\n\n <!-- Dropdown at start -->\n <div v-if=\"shouldDisplayDropdownAtStart\" class=\"b-input-field__dropdown b-input-field__dropdown--start\">\n <bento-dropdown\n v-if=\"dropdown\"\n v-bind=\"dropdown\"\n :size=\"BentoDropdownSize.SMALL\"\n :disabled=\"disabled\"\n @input=\"onDropdownInput\"\n />\n </div>\n\n <!-- Static Value at start -->\n <bento-typography\n v-if=\"shouldDisplayStaticValueAtStart\"\n class=\"b-input-field__static-value b-input-field__static-value--start\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.BODY\"\n >\n <slot name=\"staticValue\" />\n </bento-typography>\n\n <input\n :id=\"inputFieldId\"\n ref=\"inputFieldElement\"\n class=\"b-input-field__input\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :type=\"type\"\n :value=\"value\"\n :disabled=\"disabled\"\n @input=\"onInput\"\n @change=\"$emit(BentoInputFieldEvent.CHANGE)\"\n @focus=\"$emit(BentoInputFieldEvent.FOCUS)\"\n @blur=\"$emit(BentoInputFieldEvent.BLUR)\"\n @keydown.esc=\"$emit(BentoInputFieldEvent.ESCAPE_PRESSED)\"\n />\n <span\n v-if=\"hasSlot('iconAfter')\"\n :aria-hidden=\"ariaHidden ? 'true' : undefined\"\n class=\"b-input-field__icon-after\"\n data-testid=\"input-text__icon-after\"\n >\n <slot name=\"iconAfter\" />\n </span>\n\n <!-- Static Value at the end -->\n <bento-typography\n v-if=\"shouldDisplayStaticValueAtEnd\"\n class=\"b-input-field__static-value b-input-field__static-value--end\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.BODY\"\n >\n <slot name=\"staticValue\" />\n </bento-typography>\n\n <!-- Dropdown at end -->\n <div v-if=\"shouldDisplayDropdownAtEnd\" class=\"b-input-field__dropdown b-input-field__dropdown--end\">\n <bento-dropdown\n v-if=\"dropdown\"\n v-bind=\"dropdown\"\n :size=\"BentoDropdownSize.SMALL\"\n @input=\"onDropdownInput\"\n />\n </div>\n </div>\n\n <span v-if=\"hasSlot('description')\" class=\"b-input-field__description\" @click=\"focusInput\">\n <bento-typography :el=\"BentoTypographyElement.SPAN\" :variant=\"BentoTypographyVariant.BODY\">\n <slot name=\"description\" />\n </bento-typography>\n </span>\n </bento-typography>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, ref } from 'vue';\n import {\n BentoInputDropdownProps,\n BentoInputFieldElementPosition,\n BentoInputFieldEvent,\n BentoInputFieldStateClass,\n BentoInputFieldType,\n BentoInputFieldVariant,\n } from './input-field.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { hasSlot } from '@/utils/ts/hasSlot';\n import { generateUid } from '@/utils/ts/unique-id';\n import { BentoDropdownSize } from '../dropdown/dropdown.types';\n import { BentoDropdown } from '@/components/dropdown';\n import { BentoListboxSelectedValue } from '../../types';\n\n export default defineComponent({\n name: 'bento-input-field',\n components: { BentoDropdown, BentoTypography },\n inheritAttrs: false,\n props: {\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n ariaHidden: { type: Boolean, default: true },\n\n /**\n * Text that labels an the input element\n */\n ariaLabel: { type: String, default: undefined },\n\n /**\n * Disables the possibility of changing value in the input-field\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Dropdown props for the small selectable dropdown menu.\n * @see BentoDropdown\n */\n dropdown: {\n type: Object as PropType<BentoInputDropdownProps>,\n default: undefined,\n },\n\n /**\n * Position of the dropdown before or after input value\n */\n dropdownPosition: {\n type: String as PropType<BentoInputFieldElementPosition>,\n default: BentoInputFieldElementPosition.START,\n },\n\n /**\n * Adds error validation class for outlining input-field\n */\n error: { type: Boolean, default: false },\n\n /**\n * Text displayed as the placeholder of the input-field\n */\n placeholder: { type: String, default: '' },\n\n /**\n * Static text that displayed before or after input value\n * Applicable to the Static Value variant\n */\n staticValue: { type: String, default: '' },\n\n /**\n * Position of Static Value before or after input value\n */\n staticValuePosition: {\n type: String as PropType<BentoInputFieldElementPosition>,\n default: BentoInputFieldElementPosition.START,\n },\n\n /**\n * A string specifying the type of control to render.\n */\n type: {\n type: String as PropType<BentoInputFieldType>,\n default: BentoInputFieldType.TEXT,\n },\n\n /**\n * Text displayed as the value of the input-field\n */\n value: { type: String, default: '' },\n\n /**\n * Describes the different variants for the input element\n */\n variant: {\n type: String as PropType<BentoInputFieldVariant>,\n default: BentoInputFieldVariant.DEFAULT,\n },\n },\n emits: [\n BentoInputFieldEvent.INPUT,\n BentoInputFieldEvent.ESCAPE_PRESSED,\n BentoInputFieldEvent.DROPDOWN_INPUT,\n BentoInputFieldEvent.UPDATE_DROPDOWN,\n BentoInputFieldEvent.CHANGE,\n BentoInputFieldEvent.FOCUS,\n BentoInputFieldEvent.BLUR,\n ],\n setup(props, { slots, emit }) {\n const inputFieldElement = ref(null);\n const inputFieldId = generateUid('input');\n\n const shouldShowStaticValue = computed(\n () => props.variant === BentoInputFieldVariant.STATIC_VALUE && slots.staticValue\n );\n\n const shouldDisplayStaticValueAtStart = computed(\n () => shouldShowStaticValue.value && props.staticValuePosition === BentoInputFieldElementPosition.START\n );\n const shouldDisplayStaticValueAtEnd = computed(\n () => shouldShowStaticValue.value && props.staticValuePosition === BentoInputFieldElementPosition.END\n );\n\n const shouldShowDropdown = computed(\n () => props.variant === BentoInputFieldVariant.DROPDOWN && props.dropdown\n );\n const shouldDisplayDropdownAtStart = computed(\n () => shouldShowDropdown.value && props.dropdownPosition === BentoInputFieldElementPosition.START\n );\n const shouldDisplayDropdownAtEnd = computed(\n () => shouldShowDropdown.value && props.dropdownPosition === BentoInputFieldElementPosition.END\n );\n\n const inputFieldConditionalClasses = computed(() => ({\n [`b-input-field--${BentoInputFieldStateClass.DISABLED}`]: props.disabled,\n [`b-input-field--${BentoInputFieldStateClass.ERROR}`]: props.error,\n [`b-input-field--${BentoInputFieldStateClass.SMALL_PADDING_LEFT}`]: shouldDisplayDropdownAtStart.value,\n [`b-input-field--${BentoInputFieldStateClass.SMALL_PADDING_RIGHT}`]: shouldDisplayDropdownAtEnd.value,\n }));\n\n const onInput = (event: Event) => {\n if (!props.disabled) {\n /**\n * Triggered when input value is changed\n *\n * @event input\n * @property {String} inputValue - the updated input-field value\n */\n emit(BentoInputFieldEvent.INPUT, (event.target as HTMLInputElement).value);\n }\n };\n\n const onDropdownInput = (selectedValue: BentoListboxSelectedValue) => {\n emit(BentoInputFieldEvent.DROPDOWN_INPUT, selectedValue);\n emit(BentoInputFieldEvent.UPDATE_DROPDOWN, { ...props?.dropdown, value: selectedValue });\n };\n\n const focusInput = () => {\n inputFieldElement.value.focus();\n };\n\n return {\n // Enums\n BentoTypographyVariant,\n BentoTypographyElement,\n BentoInputFieldVariant,\n BentoDropdownSize,\n BentoInputFieldEvent,\n\n // Functions\n onDropdownInput,\n onInput,\n focusInput,\n hasSlot: hasSlot(slots),\n\n // Values\n inputFieldConditionalClasses,\n inputFieldElement,\n inputFieldId,\n shouldDisplayStaticValueAtStart,\n shouldDisplayStaticValueAtEnd,\n shouldShowDropdown,\n shouldDisplayDropdownAtStart,\n shouldDisplayDropdownAtEnd,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./input-field.scss\" />\n"],"names":["BentoInputFieldVariant","BentoInputFieldVariant2","BentoInputFieldElementPosition","BentoInputFieldElementPosition2","BentoInputFieldStateClass","BentoInputFieldStateClass2","BentoInputFieldType","BentoInputFieldType2","BentoInputFieldEvent","BentoInputFieldEvent2","_sfc_main","defineComponent","BentoDropdown","BentoTypography","props","slots","emit","inputFieldElement","ref","inputFieldId","generateUid","shouldShowStaticValue","computed","shouldDisplayStaticValueAtStart","shouldDisplayStaticValueAtEnd","shouldShowDropdown","shouldDisplayDropdownAtStart","shouldDisplayDropdownAtEnd","inputFieldConditionalClasses","BentoTypographyVariant","BentoTypographyElement","BentoDropdownSize","selectedValue","event","hasSlot"],"mappings":"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"}
|
package/dist/internal.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { B as t, L as r } from "./chunks/listbox-option-tag.f44b4ee0.js";
|
|
2
|
+
import { B as s } from "./chunks/listbox.152dab0a.js";
|
|
3
|
+
import { C as i } from "./chunks/copy.fa9aa27e.js";
|
|
4
|
+
import { G as n, a as L } from "./chunks/grid-layout.14423a2e.js";
|
|
5
|
+
export {
|
|
6
|
+
t as BentoAvatar,
|
|
7
|
+
s as BentoListbox,
|
|
8
|
+
i as Copy,
|
|
9
|
+
n as GridLayout,
|
|
10
|
+
L as GridLayoutContainerType,
|
|
11
|
+
r as ListboxOptionTag
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=internal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/link.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import "./assets/index18.css";
|
|
2
|
+
import { defineComponent as a, computed as c, useAttrs as _ } from "vue";
|
|
3
|
+
import { RouterLink as u } from "vue-router";
|
|
4
|
+
import { n as p } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
|
+
var l = /* @__PURE__ */ ((s) => (s.DEFAULT = "default", s.QUIET = "quiet", s))(l || {});
|
|
6
|
+
const f = {
|
|
7
|
+
name: "bento-link",
|
|
8
|
+
inheritAttrs: !1
|
|
9
|
+
}, k = /* @__PURE__ */ a({
|
|
10
|
+
...f,
|
|
11
|
+
props: {
|
|
12
|
+
args: null,
|
|
13
|
+
external: { type: Boolean },
|
|
14
|
+
variant: { default: l.DEFAULT }
|
|
15
|
+
},
|
|
16
|
+
emits: ["click"],
|
|
17
|
+
setup(s, { emit: n }) {
|
|
18
|
+
const e = s, t = c(() => ({
|
|
19
|
+
[`b-link--${l.QUIET}`]: e.variant === l.QUIET
|
|
20
|
+
})), o = _();
|
|
21
|
+
return { __sfc: !0, props: e, conditionalClasses: t, attributes: o, linkProps: o, emit: n, onClick: (i, r) => {
|
|
22
|
+
n("click", i), r && r();
|
|
23
|
+
}, RouterLink: u };
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
var d = function() {
|
|
27
|
+
var n = this, e = n._self._c, t = n._self._setupProxy;
|
|
28
|
+
return n.external ? e("a", { staticClass: "b-link", class: t.conditionalClasses, attrs: { href: t.linkProps.to.toString(), title: t.linkProps.title, target: "_blank" }, on: { click: t.onClick } }, [n._t("default")], 2) : e(t.RouterLink, n._b({ staticClass: "b-link", class: t.conditionalClasses, attrs: { custom: "" }, nativeOn: { click: function(o) {
|
|
29
|
+
return t.onClick.apply(null, arguments);
|
|
30
|
+
} } }, "router-link", t.linkProps, !1), [n._t("default")], 2);
|
|
31
|
+
}, m = [], v = /* @__PURE__ */ p(
|
|
32
|
+
k,
|
|
33
|
+
d,
|
|
34
|
+
m,
|
|
35
|
+
!1,
|
|
36
|
+
null,
|
|
37
|
+
"e19028d9",
|
|
38
|
+
null,
|
|
39
|
+
null
|
|
40
|
+
);
|
|
41
|
+
const T = v.exports;
|
|
42
|
+
export {
|
|
43
|
+
T as BentoLink,
|
|
44
|
+
l as BentoLinkVariant
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=link.js.map
|
package/dist/link.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.js","sources":["../src/components/link/link.types.ts","../src/components/link/link.vue"],"sourcesContent":["export enum BentoLinkVariant {\n DEFAULT = 'default',\n QUIET = 'quiet',\n}\n","<template>\n <a\n v-if=\"external\"\n class=\"b-link\"\n :class=\"conditionalClasses\"\n :href=\"linkProps.to.toString()\"\n :title=\"linkProps.title\"\n target=\"_blank\"\n @click=\"onClick\"\n >\n <slot />\n </a>\n <router-link v-else v-bind=\"linkProps\" class=\"b-link\" :class=\"conditionalClasses\" custom @click.native=\"onClick\">\n <slot />\n </router-link>\n</template>\n\n<script lang=\"ts\">\n import { RouterLink } from 'vue-router';\n import { computed, useAttrs } from 'vue';\n import { BentoLinkVariant } from './link.types';\n import type { RouterLinkProps, RouterLinkSlotArgument } from 'vue-router/types/router';\n import type { AnchorHTMLAttributes } from 'vue/types/jsx';\n\n /**\n * Extends the `router-link` from the `vue-router` NPM package.\n *\n * @example\n * import { BentoLink, BentoTypography } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLink, BentoTypography },\n * template: `\n * <bento-typography>\n * <bento-link to=\"/\">\n * link\n * </bento-link>\n * </bento-typography>\n * `\n * }\n */\n export default {\n name: 'bento-link',\n inheritAttrs: false,\n };\n</script>\n\n<script setup lang=\"ts\">\n // TODO: replace all this code when migrated to Vue 3 is complete as this is the only\n // current way to extend the `router-link` component in Vue 2 and Vue Router 3\n export interface Props extends RouterLinkProps, AnchorHTMLAttributes {\n // eslint-disable-next-line vue/require-default-prop\n args?: { props: RouterLinkProps };\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external?: boolean;\n\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant?: BentoLinkVariant;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const props = withDefaults(defineProps<Props>(), {\n variant: BentoLinkVariant.DEFAULT,\n });\n\n const conditionalClasses = computed(() => ({\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n }));\n\n // TODO: replace this when Vue allows users to extend props properly, read above for more info\n const attributes = useAttrs() as unknown;\n const linkProps = attributes as Props;\n\n const emit = defineEmits<{\n (e: 'click', clickEvent: MouseEvent): void;\n }>();\n\n const onClick = (e: MouseEvent, navigateCallback?: RouterLinkSlotArgument['navigate']) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./link.scss\" />\n"],"names":["BentoLinkVariant","BentoLinkVariant2","__default__","conditionalClasses","computed","props","attributes","useAttrs","e","navigateCallback","emit"],"mappings":";;;;AAAY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,QAAA,SAFQA,IAAAD,KAAA,CAAA,CAAA;ACyCR,MAAAE,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,cAAA;AAEV;;;;;;;;;iBA0BAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,CAAA,WAAAJ,EAAA,OAAA,GAAAK,EAAA,YAAAL,EAAA;AAAA,IACmC,EAAA,GAI9EM,IAAAC,EAAA;mFACAD,qBAMA,CAAAE,GAAAC,MAAA;AACI,MAAAC,EAAA,SAAAF,CAAA,GACAC,KACIA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import "./assets/index19.css";
|
|
2
|
+
import { defineComponent as o, onMounted as s, onUnmounted as i, computed as l } from "vue";
|
|
3
|
+
import { n as r } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
4
|
+
var e = /* @__PURE__ */ ((n) => (n.START = "loading-start", n.END = "loading-end", n))(e || {});
|
|
5
|
+
const d = o({
|
|
6
|
+
name: "bento-loading-indicator",
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
props: {
|
|
9
|
+
/**
|
|
10
|
+
* Displays the loading indicator in a small size
|
|
11
|
+
*/
|
|
12
|
+
small: { type: Boolean, default: !1 },
|
|
13
|
+
/**
|
|
14
|
+
* Displays the loading indicator in a large size
|
|
15
|
+
*/
|
|
16
|
+
large: { type: Boolean, default: !1 },
|
|
17
|
+
/**
|
|
18
|
+
* Displays the loading indicator in a white variant
|
|
19
|
+
*/
|
|
20
|
+
inverse: { type: Boolean, default: !1 }
|
|
21
|
+
},
|
|
22
|
+
emits: [e.START, e.END],
|
|
23
|
+
setup(n, { emit: a }) {
|
|
24
|
+
return s(() => a(e.START)), i(() => a(e.END)), {
|
|
25
|
+
conditionalClasses: l(() => ({
|
|
26
|
+
"b-loading-indicator--inverse": n.inverse,
|
|
27
|
+
"b-loading-indicator--small": n.small,
|
|
28
|
+
"b-loading-indicator--large": n.large
|
|
29
|
+
}))
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
var c = function() {
|
|
34
|
+
var a = this, t = a._self._c;
|
|
35
|
+
return a._self._setupProxy, t("div", { staticClass: "b-loading-indicator", class: a.conditionalClasses, attrs: { "aria-hidden": "true", "data-testid": "loading-indicator" } });
|
|
36
|
+
}, _ = [], f = /* @__PURE__ */ r(
|
|
37
|
+
d,
|
|
38
|
+
c,
|
|
39
|
+
_,
|
|
40
|
+
!1,
|
|
41
|
+
null,
|
|
42
|
+
"3d0b6a86",
|
|
43
|
+
null,
|
|
44
|
+
null
|
|
45
|
+
);
|
|
46
|
+
const g = f.exports;
|
|
47
|
+
export {
|
|
48
|
+
g as BentoLoadingIndicator,
|
|
49
|
+
e as BentoLoadingIndicatorEvent
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=loading-indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-indicator.js","sources":["../src/components/loading-indicator/loading-indicator.types.ts","../src/components/loading-indicator/loading-indicator.vue"],"sourcesContent":["export enum BentoLoadingIndicatorEvent {\n START = 'loading-start',\n END = 'loading-end',\n}\n","<template>\n <div class=\"b-loading-indicator\" :class=\"conditionalClasses\" aria-hidden=\"true\" data-testid=\"loading-indicator\" />\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, onUnmounted } from 'vue';\n import { BentoLoadingIndicatorEvent } from './loading-indicator.types';\n\n export default defineComponent({\n name: 'bento-loading-indicator',\n inheritAttrs: false,\n props: {\n /**\n * Displays the loading indicator in a small size\n */\n small: { type: Boolean, default: false },\n /**\n * Displays the loading indicator in a large size\n */\n large: { type: Boolean, default: false },\n /**\n * Displays the loading indicator in a white variant\n */\n inverse: { type: Boolean, default: false },\n },\n emits: [BentoLoadingIndicatorEvent.START, BentoLoadingIndicatorEvent.END],\n setup(props, { emit }) {\n onMounted(() => emit(BentoLoadingIndicatorEvent.START));\n\n onUnmounted(() => emit(BentoLoadingIndicatorEvent.END));\n\n const conditionalClasses = computed(() => ({\n 'b-loading-indicator--inverse': props.inverse,\n 'b-loading-indicator--small': props.small,\n 'b-loading-indicator--large': props.large,\n }));\n\n return {\n conditionalClasses,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./loading-indicator.scss\" />\n"],"names":["BentoLoadingIndicatorEvent","BentoLoadingIndicatorEvent2","_sfc_main","defineComponent","props","emit","onMounted","onUnmounted","computed"],"mappings":";;;AAAY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,QAAA,iBACAA,EAAA,MAAA,eAFQA,IAAAD,KAAA,CAAA,CAAA;ACQZ,MAAAE,IAAAC,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,cAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,OAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,SAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA,EAIA;AAAA,EACA,OAAA,CAAAH,EAAA,OAAAA,EAAA,GAAA;AAAA,EACA,MAAAI,GAAA,EAAA,MAAAC,EAAA,GAAA;AAEA,WAAAC,EAAA,MAAAD,EAAAL,EAAA,KAAA,CAAA,GAEAO,EAAA,MAAAF,EAAAL,EAAA,GAAA,CAAA,GAQA;AAAA,MAAA,oBANAQ,EAAA,OAAA;AAAA,QAAA,gCAAAJ,EAAA;AAAA,QACA,8BAAAA,EAAA;AAAA,QACA,8BAAAA,EAAA;AAAA,MACA,EAAA;AAAA,IAIA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;;;"}
|