@vertexvis/ui 1.0.0-testing.0 → 1.0.0-testing.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/cjs/components.cjs.js +1 -1
- package/dist/cjs/{icon-helper-ut8vR2Rk.js → icon-helper-DCeI7n8v.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/vertex-auto-resize-textarea.cjs.entry.js +2 -2
- package/dist/cjs/vertex-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/vertex-banner.cjs.entry.js +1 -1
- package/dist/cjs/vertex-card-group.cjs.entry.js +5 -5
- package/dist/cjs/vertex-chip.cjs.entry.js +8 -3
- package/dist/cjs/vertex-click-to-edit-textfield.cjs.entry.js +1 -1
- package/dist/cjs/vertex-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/vertex-color-circle-picker.cjs.entry.js +1 -1
- package/dist/cjs/vertex-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/vertex-color-swatch.cjs.entry.js +1 -1
- package/dist/cjs/vertex-context-menu.cjs.entry.js +2 -2
- package/dist/cjs/vertex-dialog.cjs.entry.js +4 -4
- package/dist/cjs/vertex-draggable-popover.cjs.entry.js +2 -2
- package/dist/cjs/vertex-dropdown-menu.cjs.entry.js +1 -1
- package/dist/cjs/vertex-expandable.cjs.entry.js +2 -2
- package/dist/cjs/vertex-help-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/vertex-icon-button.cjs.entry.js +4 -4
- package/dist/cjs/vertex-icon.cjs.entry.js +2 -2
- package/dist/cjs/vertex-logo-loading.cjs.entry.js +1 -1
- package/dist/cjs/vertex-menu-divider.cjs.entry.js +1 -1
- package/dist/cjs/vertex-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/vertex-menu.cjs.entry.js +3 -3
- package/dist/cjs/vertex-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/vertex-radio.cjs.entry.js +3 -3
- package/dist/cjs/vertex-resizable.cjs.entry.js +3 -3
- package/dist/cjs/vertex-result-list.cjs.entry.js +3 -3
- package/dist/cjs/vertex-search-bar.cjs.entry.js +2 -2
- package/dist/cjs/vertex-select.cjs.entry.js +5 -5
- package/dist/cjs/vertex-slider.cjs.entry.js +1 -1
- package/dist/cjs/vertex-spinner.cjs.entry.js +1 -1
- package/dist/cjs/vertex-tab.cjs.entry.js +2 -2
- package/dist/cjs/vertex-tabs.cjs.entry.js +3 -3
- package/dist/cjs/vertex-textfield.cjs.entry.js +1 -1
- package/dist/cjs/vertex-toast.cjs.entry.js +2 -2
- package/dist/cjs/vertex-toggle.cjs.entry.js +4 -4
- package/dist/cjs/vertex-tooltip.cjs.entry.js +3 -3
- package/dist/collection/components/auto-resize-textarea/auto-resize-textarea.js +2 -2
- package/dist/collection/components/avatar-group/avatar-group.js +1 -1
- package/dist/collection/components/card-group/card-group.js +5 -5
- package/dist/collection/components/chip/chip.css +20 -3
- package/dist/collection/components/chip/chip.js +33 -2
- package/dist/collection/components/click-to-edit-text-field/click-to-edit-text-field.js +1 -1
- package/dist/collection/components/collapsible/collapsible.js +2 -2
- package/dist/collection/components/color-circle-picker/color-circle-picker.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-swatch/color-swatch.js +1 -1
- package/dist/collection/components/context-menu/context-menu.js +2 -2
- package/dist/collection/components/dialog/dialog.js +4 -4
- package/dist/collection/components/draggable-popover/draggable-popover.js +2 -2
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/expandable/expandable.js +2 -2
- package/dist/collection/components/help-tooltip/help-tooltip.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/icons/box-select.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +3 -3
- package/dist/collection/components/logo-loading/logo-loading.js +1 -1
- package/dist/collection/components/menu/menu.js +3 -3
- package/dist/collection/components/menu-divider/menu-divider.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +2 -2
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/resizable/resizable.js +3 -3
- package/dist/collection/components/result-list/result-list.js +3 -3
- package/dist/collection/components/search-bar/search-bar.js +2 -2
- package/dist/collection/components/select/select.js +5 -5
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tabs/tabs.js +3 -3
- package/dist/collection/components/text-field/text-field.js +1 -1
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/components/components.esm.js +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-7f768637.entry.js → p-016df818.entry.js} +1 -1
- package/dist/components/{p-efd0223b.entry.js → p-05ee323d.entry.js} +1 -1
- package/dist/components/p-0e706a18.entry.js +1 -0
- package/dist/components/{p-88781e72.entry.js → p-20543099.entry.js} +1 -1
- package/dist/components/{p-f1abef98.entry.js → p-2d7d535c.entry.js} +1 -1
- package/dist/components/p-2e3b7c2f.entry.js +1 -0
- package/dist/components/{p-5e3fe5e7.entry.js → p-341f078b.entry.js} +1 -1
- package/dist/components/{p-B9qe9CNv.js → p-38Imluyk.js} +1 -1
- package/dist/components/{p-ca6a4b08.entry.js → p-3a7c05d3.entry.js} +1 -1
- package/dist/components/{p-a287d016.entry.js → p-4128989a.entry.js} +1 -1
- package/dist/components/{p-ef419ddf.entry.js → p-42e4c1d7.entry.js} +1 -1
- package/dist/components/p-4642f24c.entry.js +1 -0
- package/dist/components/{p-a886721b.entry.js → p-49f2d469.entry.js} +1 -1
- package/dist/components/{p-091b9e27.entry.js → p-51ad20c1.entry.js} +1 -1
- package/dist/components/p-5ec364ff.entry.js +1 -0
- package/dist/components/p-67f5c6a3.entry.js +1 -0
- package/dist/components/p-718394ac.entry.js +1 -0
- package/dist/components/{p-BdR40EV2.js → p-75vuqvYA.js} +1 -1
- package/dist/components/{p-00eaa8d7.entry.js → p-76510c00.entry.js} +1 -1
- package/dist/components/{p-2cdfe6bf.entry.js → p-77930bd1.entry.js} +1 -1
- package/dist/components/{p-0af9b71c.entry.js → p-7fc8a224.entry.js} +1 -1
- package/dist/components/p-88caab12.entry.js +1 -0
- package/dist/components/{p-595b8bd6.entry.js → p-9b369d13.entry.js} +1 -1
- package/dist/components/{p-34d8a04e.entry.js → p-9edd433e.entry.js} +1 -1
- package/dist/components/{p-BLc3P-0q.js → p-AbuQGpgg.js} +1 -1
- package/dist/components/{p-D_mp9WMh.js → p-B2T0_m7j.js} +1 -1
- package/dist/components/{p-6qoO8Yf3.js → p-B4JVhdvU.js} +1 -1
- package/dist/components/p-BItoqEjI.js +1 -0
- package/dist/components/p-BK-dLbv3.js +1 -0
- package/dist/components/{p-Dw5WRKyY.js → p-BZCUqzdV.js} +1 -1
- package/dist/components/{p-RaMDrnzd.js → p-BcAH6MtU.js} +1 -1
- package/dist/components/p-BmWilxsR.js +1 -0
- package/dist/components/{p-DsAkiOMC.js → p-C2bSBqfJ.js} +1 -1
- package/dist/components/{p-B23i1cwy.js → p-C4abR0qC.js} +1 -1
- package/dist/components/{p-BAfJR2VF.js → p-CDqMJzqA.js} +1 -1
- package/dist/components/{p-CAFdRyLE.js → p-CJf7CUm5.js} +1 -1
- package/dist/components/{p-D3BXoJJN.js → p-CJm62lko.js} +1 -1
- package/dist/components/p-CMsgieMk.js +1 -0
- package/dist/components/{p-Bo65Viuh.js → p-COpcsGR-.js} +1 -1
- package/dist/components/p-CWcvAmjb.js +1 -0
- package/dist/components/{p-C1qwHMcr.js → p-CZeULUuy.js} +1 -1
- package/dist/components/p-CaDQM3f3.js +1 -0
- package/dist/components/{p-y4p55dbx.js → p-CltvgC9y.js} +1 -1
- package/dist/components/{p-CZyp2id8.js → p-CtIB9Bid.js} +1 -1
- package/dist/components/p-CvrFWigc.js +1 -0
- package/dist/components/{p-4HdACFFW.js → p-D-zknKSp.js} +1 -1
- package/dist/components/{p-BZutc-CC.js → p-D1GjSE51.js} +1 -1
- package/dist/components/{p-DGZHaSjz.js → p-D36_6yRo.js} +1 -1
- package/dist/components/p-D7K4Pqpx.js +1 -0
- package/dist/components/{p-CZ1Qa_xv.js → p-DJycE6-8.js} +1 -1
- package/dist/components/{p-C1H5-_5m.js → p-DPAn1IHK.js} +1 -1
- package/dist/components/{p-CFaiLAq0.js → p-D_837FE_.js} +1 -1
- package/dist/components/{p-BZ5oF5Ci.js → p-Diw9iyfY.js} +1 -1
- package/dist/components/p-JHDG6-KQ.js +1 -0
- package/dist/components/{p-DjrAIJhB.js → p-OT-3j_2G.js} +1 -1
- package/dist/components/{p-_3Hgy0Z4.js → p-UrSJuXr4.js} +1 -1
- package/dist/components/{p-1c5e8df5.entry.js → p-a1521052.entry.js} +1 -1
- package/dist/components/{p-2e0ee616.entry.js → p-a7fb941d.entry.js} +1 -1
- package/dist/components/{p-6c6a2fc5.entry.js → p-b5b993c4.entry.js} +1 -1
- package/dist/components/{p-a8e75bdc.entry.js → p-b89d106e.entry.js} +1 -1
- package/dist/components/p-b9MCyuKH.js +1 -0
- package/dist/components/{p-3ddb0c4e.entry.js → p-c7c97400.entry.js} +1 -1
- package/dist/components/{p-6b2db72c.entry.js → p-d850e35c.entry.js} +1 -1
- package/dist/components/{p-61742c05.entry.js → p-e52eb148.entry.js} +1 -1
- package/dist/components/p-e7f413c9.entry.js +1 -0
- package/dist/components/{p-0f13f6f3.entry.js → p-eac6dc8c.entry.js} +1 -1
- package/dist/components/{p-1e6ff76a.entry.js → p-ecc27386.entry.js} +1 -1
- package/dist/components/{p-553d01af.entry.js → p-f7cfc29f.entry.js} +1 -1
- package/dist/components/{p-0180556d.entry.js → p-facf96e8.entry.js} +1 -1
- package/dist/components/{p-28460604.entry.js → p-fb8c8c09.entry.js} +1 -1
- package/dist/components/{p-f37dc3c4.entry.js → p-ff51fb55.entry.js} +1 -1
- package/dist/components/{p-1KuzBK7Z.js → p-gvnlR6iZ.js} +1 -1
- package/dist/components/{p-DMLgHhJc.js → p-hEDvx_4a.js} +1 -1
- package/dist/components/p-kS82oxak.js +1 -0
- package/dist/components/vertex-auto-resize-textarea.js +1 -1
- package/dist/components/vertex-avatar-group.js +1 -1
- package/dist/components/vertex-banner.js +1 -1
- package/dist/components/vertex-card-group.js +1 -1
- package/dist/components/vertex-chip.js +1 -1
- package/dist/components/vertex-click-to-edit-textfield.js +1 -1
- package/dist/components/vertex-collapsible.js +1 -1
- package/dist/components/vertex-color-circle-picker.js +1 -1
- package/dist/components/vertex-color-picker.js +1 -1
- package/dist/components/vertex-color-swatch.js +1 -1
- package/dist/components/vertex-context-menu.js +1 -1
- package/dist/components/vertex-dialog.js +1 -1
- package/dist/components/vertex-draggable-popover.js +1 -1
- package/dist/components/vertex-dropdown-menu.js +1 -1
- package/dist/components/vertex-expandable.js +1 -1
- package/dist/components/vertex-help-tooltip.js +1 -1
- package/dist/components/vertex-icon-button.js +1 -1
- package/dist/components/vertex-icon.js +1 -1
- package/dist/components/vertex-logo-loading.js +1 -1
- package/dist/components/vertex-menu-divider.js +1 -1
- package/dist/components/vertex-menu-item.js +1 -1
- package/dist/components/vertex-menu.js +1 -1
- package/dist/components/vertex-radio-group.js +1 -1
- package/dist/components/vertex-radio.js +1 -1
- package/dist/components/vertex-resizable.js +1 -1
- package/dist/components/vertex-result-list.js +1 -1
- package/dist/components/vertex-search-bar.js +1 -1
- package/dist/components/vertex-select.js +1 -1
- package/dist/components/vertex-slider.js +1 -1
- package/dist/components/vertex-spinner.js +1 -1
- package/dist/components/vertex-tab.js +1 -1
- package/dist/components/vertex-tabs.js +1 -1
- package/dist/components/vertex-textfield.js +1 -1
- package/dist/components/vertex-toast.js +1 -1
- package/dist/components/vertex-toggle.js +1 -1
- package/dist/components/vertex-tooltip.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/{icon-helper-Dw0fFePg.js → icon-helper-pFNFp2QZ.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/vertex-auto-resize-textarea.entry.js +2 -2
- package/dist/esm/vertex-avatar-group.entry.js +1 -1
- package/dist/esm/vertex-banner.entry.js +1 -1
- package/dist/esm/vertex-card-group.entry.js +5 -5
- package/dist/esm/vertex-chip.entry.js +8 -3
- package/dist/esm/vertex-click-to-edit-textfield.entry.js +1 -1
- package/dist/esm/vertex-collapsible.entry.js +2 -2
- package/dist/esm/vertex-color-circle-picker.entry.js +1 -1
- package/dist/esm/vertex-color-picker.entry.js +1 -1
- package/dist/esm/vertex-color-swatch.entry.js +1 -1
- package/dist/esm/vertex-context-menu.entry.js +2 -2
- package/dist/esm/vertex-dialog.entry.js +4 -4
- package/dist/esm/vertex-draggable-popover.entry.js +2 -2
- package/dist/esm/vertex-dropdown-menu.entry.js +1 -1
- package/dist/esm/vertex-expandable.entry.js +2 -2
- package/dist/esm/vertex-help-tooltip.entry.js +1 -1
- package/dist/esm/vertex-icon-button.entry.js +4 -4
- package/dist/esm/vertex-icon.entry.js +2 -2
- package/dist/esm/vertex-logo-loading.entry.js +1 -1
- package/dist/esm/vertex-menu-divider.entry.js +1 -1
- package/dist/esm/vertex-menu-item.entry.js +2 -2
- package/dist/esm/vertex-menu.entry.js +3 -3
- package/dist/esm/vertex-radio-group.entry.js +1 -1
- package/dist/esm/vertex-radio.entry.js +3 -3
- package/dist/esm/vertex-resizable.entry.js +3 -3
- package/dist/esm/vertex-result-list.entry.js +3 -3
- package/dist/esm/vertex-search-bar.entry.js +2 -2
- package/dist/esm/vertex-select.entry.js +5 -5
- package/dist/esm/vertex-slider.entry.js +1 -1
- package/dist/esm/vertex-spinner.entry.js +1 -1
- package/dist/esm/vertex-tab.entry.js +2 -2
- package/dist/esm/vertex-tabs.entry.js +3 -3
- package/dist/esm/vertex-textfield.entry.js +1 -1
- package/dist/esm/vertex-toast.entry.js +2 -2
- package/dist/esm/vertex-toggle.entry.js +4 -4
- package/dist/esm/vertex-tooltip.entry.js +3 -3
- package/dist/types/components/chip/chip.d.ts +6 -0
- package/dist/types/components.d.ts +13 -2
- package/package.json +30 -6
- package/dist/components/p-5c032b37.entry.js +0 -1
- package/dist/components/p-6d03a954.entry.js +0 -1
- package/dist/components/p-705d25f3.entry.js +0 -1
- package/dist/components/p-B2oECB2P.js +0 -1
- package/dist/components/p-BHmM6WC-.js +0 -1
- package/dist/components/p-D1P5FeY6.js +0 -1
- package/dist/components/p-DHNuRvq0.js +0 -1
- package/dist/components/p-DPgx10Cw.js +0 -1
- package/dist/components/p-ILu24ZUX.js +0 -1
- package/dist/components/p-K5a7HQMt.js +0 -1
- package/dist/components/p-KilWQmEJ.js +0 -1
- package/dist/components/p-Mnv_zHXq.js +0 -1
- package/dist/components/p-TLO_pywp.js +0 -1
- package/dist/components/p-al_CUADF.js +0 -1
- package/dist/components/p-b5921385.entry.js +0 -1
- package/dist/components/p-c2f3cf8b.entry.js +0 -1
- package/dist/components/p-e311af0e.entry.js +0 -1
- package/dist/components/p-f23df530.entry.js +0 -1
- package/dist/components/p-f793f80a.entry.js +0 -1
|
@@ -44,20 +44,20 @@ const Menu = class {
|
|
|
44
44
|
this.addEventListeners();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (index.h("vertex-popover", { key: '
|
|
47
|
+
return (index.h("vertex-popover", { key: 'da4e0d42641bdb135542d2823c9f1e89bb0512e6', ref: (element) => {
|
|
48
48
|
this.popoverRef = element;
|
|
49
49
|
}, open: this.open, animated: this.animated, position: this.position, placement: this.placement, backdrop: this.backdrop, flipBehavior: this.fallbackPlacements != null
|
|
50
50
|
? {
|
|
51
51
|
fallbackPlacements: this.fallbackPlacements,
|
|
52
52
|
}
|
|
53
|
-
: undefined, ...this.popoverProps }, this.position == null && (index.h("div", { key: '
|
|
53
|
+
: undefined, ...this.popoverProps }, this.position == null && (index.h("div", { key: '3bb19832194b818c37697a90a9adac721f12feeb', slot: "anchor" }, index.h("slot", { key: '0eeca18d7ef462ccf01abd150df2226a9726113c', name: "anchor" }))), index.h("div", { key: '45e2dbd269605ec5589dbb0444b5db83b6e9a84c', onClick: () => {
|
|
54
54
|
if (!this.persistent) {
|
|
55
55
|
this.open = false;
|
|
56
56
|
this.menuClosed.emit();
|
|
57
57
|
}
|
|
58
58
|
}, class: index$1.classNames('root', {
|
|
59
59
|
'has-header': this.headerSlot != null,
|
|
60
|
-
}) }, index.h("slot", { key: '
|
|
60
|
+
}) }, index.h("slot", { key: 'b9735d213f7210c60ee21bfdf0728cec70e2a44c', name: "header" }), index.h("slot", { key: 'dea463aa0da1b65096ebbe83fbc133c9d801c750' }))));
|
|
61
61
|
}
|
|
62
62
|
addEventListeners() {
|
|
63
63
|
var _a, _b;
|
|
@@ -34,7 +34,7 @@ const RadioGroup = class {
|
|
|
34
34
|
this.removeEventListeners();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (index.h("div", { key: '
|
|
37
|
+
return (index.h("div", { key: 'bf43c1747d31a0a2d7b3253ee49723ff73c039a3', class: "radio-group" }, index.h("slot", { key: 'e450eb58457b42ecfb0cda4429bccc9e5df04954' })));
|
|
38
38
|
}
|
|
39
39
|
getVertexRadioButtons() {
|
|
40
40
|
var _a, _b;
|
|
@@ -16,15 +16,15 @@ const Radio = class {
|
|
|
16
16
|
this.disabled = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h("label", { key: '
|
|
19
|
+
return (index.h("label", { key: 'aa10aec61650e5add364c5985103b4a1454ab4f6', class: index$1.classNames('radio', {
|
|
20
20
|
disabled: this.disabled,
|
|
21
|
-
}) }, index.h("input", { key: '
|
|
21
|
+
}) }, index.h("input", { key: 'b098d0cdf58d0f5ab5338b018302894088f082be', disabled: this.disabled, onChange: (event) => {
|
|
22
22
|
const radioValue = event.target;
|
|
23
23
|
this.valueChanged.emit({
|
|
24
24
|
checked: radioValue.checked,
|
|
25
25
|
value: radioValue.value,
|
|
26
26
|
});
|
|
27
|
-
}, type: "radio", id: `vertex-radio-${this.name}-${this.value}`, name: this.name, value: this.value, checked: this.checked }), index.h("span", { key: '
|
|
27
|
+
}, type: "radio", id: `vertex-radio-${this.name}-${this.value}`, name: this.name, value: this.value, checked: this.checked }), index.h("span", { key: '79ba876704c1027854a2cc6470ff379b7a554fd2', class: index$1.classNames('checkmark', {
|
|
28
28
|
disabled: this.disabled,
|
|
29
29
|
}) }), this.label));
|
|
30
30
|
}
|
|
@@ -111,14 +111,14 @@ const Resizable = class {
|
|
|
111
111
|
const height = this.height < 0 || this.verticalDirection === 'none'
|
|
112
112
|
? '100%'
|
|
113
113
|
: `${this.height}px`;
|
|
114
|
-
return (index.h(index.Host, { key: '
|
|
114
|
+
return (index.h(index.Host, { key: '53f90484ecf1c01dcfec3fc73751c5b6220ec1a0', style: {
|
|
115
115
|
width,
|
|
116
116
|
height,
|
|
117
117
|
left: this.position === 'relative' ? `${this.left}px` : undefined,
|
|
118
118
|
top: this.position === 'relative' ? `${this.top}px` : undefined,
|
|
119
|
-
} }, index.h("div", { key: '
|
|
119
|
+
} }, index.h("div", { key: '495c3b41b95a98e50b2c136a626217adde53a0e2', class: index$1.classNames('container', {
|
|
120
120
|
hidden: this.width <= 0 && this.height <= 0,
|
|
121
|
-
}) }, index.h("div", { key: '
|
|
121
|
+
}) }, index.h("div", { key: 'ea0c58ab6ec4b659ed33618a4b840319637b37a5', class: index$1.classNames('shadow', `hovered-location-${this.dragStartLocation || this.hoveredLocation}`) }), index.h("div", { key: 'a10bfa55f1463a2927a1e1585e94aec69a05c5bc', class: index$1.classNames('handle', 'left-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'left'), onPointerEnter: () => this.handlePointerEnter('left'), onPointerLeave: () => this.handlePointerLeave('left') }), index.h("div", { key: '705f9f4ff60e7e574d57d2ba0434944dea170375', class: index$1.classNames('handle', 'right-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'right'), onPointerEnter: () => this.handlePointerEnter('right'), onPointerLeave: () => this.handlePointerLeave('right') }), index.h("div", { key: '0338d64870553446a7c0f119387816b08bf1562d', class: index$1.classNames('handle', 'top-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'top'), onPointerEnter: () => this.handlePointerEnter('top'), onPointerLeave: () => this.handlePointerLeave('top') }), index.h("div", { key: 'acc646db4341c2095bfc891b4b13550c5a95ee6f', class: index$1.classNames('handle', 'bottom-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'bottom'), onPointerEnter: () => this.handlePointerEnter('bottom'), onPointerLeave: () => this.handlePointerLeave('bottom') }), index.h("div", { key: 'a849292148ddd071a96fb7a4cc9a1e20ae9a1eed', class: index$1.classNames('handle', 'bottom-right-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'bottom-right'), onPointerEnter: () => this.handlePointerEnter('bottom-right'), onPointerLeave: () => this.handlePointerLeave('bottom-right') }), index.h("div", { key: '9c64cc2f64ea37406f1504fbb421c3a3d8b49f17', class: index$1.classNames('handle', 'bottom-left-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'bottom-left'), onPointerEnter: () => this.handlePointerEnter('bottom-left'), onPointerLeave: () => this.handlePointerLeave('bottom-left') }), index.h("div", { key: '56055af84e8cc60e7c1e55c7233996ef6726b25d', class: index$1.classNames('handle', 'top-right-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'top-right'), onPointerEnter: () => this.handlePointerEnter('top-right'), onPointerLeave: () => this.handlePointerLeave('top-right') }), index.h("div", { key: '11cde0ae8a9dd6d5736d36a98db527856bee3718', class: index$1.classNames('handle', 'top-left-handle', `horizontal-direction-${this.horizontalDirection}`, `vertical-direction-${this.verticalDirection}`), onPointerDown: (e) => this.handlePointerDown(e, 'top-left'), onPointerEnter: () => this.handlePointerEnter('top-left'), onPointerLeave: () => this.handlePointerLeave('top-left') }), index.h("slot", { key: 'a4cdf0eb7aecd1d1c6ef5c3b4acb316239f4003c' }))));
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* @private
|
|
@@ -257,11 +257,11 @@ const ResultList = class {
|
|
|
257
257
|
window.removeEventListener('keydown', this.handleKeyDown);
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return (index.h(index.Host, { key: '
|
|
260
|
+
return (index.h(index.Host, { key: '6188d1a63b42f60db295fe65a9deea1fe147da3b' }, index.h("div", { key: '756cfad6d13a89a25f44fbad6f1b96c4f486f4d9', class: index$1.classNames('wrapper', {
|
|
261
261
|
hidden: !this.open || this.computedResultHeight == null,
|
|
262
|
-
}) }, index.h("vertex-popover", { key: '
|
|
262
|
+
}) }, index.h("vertex-popover", { key: '3978a50be1c36ffbc2ec76ff65811be26c0b21ac', position: this.position, placement: this.placement, open: this.open, backdrop: false }, index.h("div", { key: '589f43ab056f7dc1e640e8677a163bf1ae630305', class: "results-scroll", ref: (ref) => (this.resultsScrollEl = ref), onScroll: this.handleScroll }, index.h("div", { key: '6dee01aa288d92a549d861f5aa475d7457ed7763', class: "results", style: {
|
|
263
263
|
height: `${this.parsedResults.length * this.resultHeight}px`,
|
|
264
|
-
} }, index.h("slot", { key: '
|
|
264
|
+
} }, index.h("slot", { key: 'b02ec3bba63b4e729a8520358c5d6bb179619d3a' }), index.h("slot", { key: 'c1bcab60e22d29ce3d45beb149771a99d1c957a0', name: "result" })))))));
|
|
265
265
|
}
|
|
266
266
|
handlePointerDown(event) {
|
|
267
267
|
event.preventDefault();
|
|
@@ -438,9 +438,9 @@ const SearchBar = class {
|
|
|
438
438
|
blank: this.variant === 'blank',
|
|
439
439
|
disabled: this.disabled,
|
|
440
440
|
});
|
|
441
|
-
return (index.h(index.Host, { key: '
|
|
441
|
+
return (index.h(index.Host, { key: 'cda12a50487bedd9f5a483825fcca3524a274724' }, index.h("div", { key: 'a655eacaddeaaaa78e7ff28d47ca5c4af6104b63', class: classes }, index.h("span", { key: '9026a17696679aad0d5db24f1fac7ca0bf7baae9', class: "content-input", role: "textbox", contentEditable: "true", "aria-multiline": "true", "data-placeholder": this.placeholder, ref: (el) => (this.contentEl = el), onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp, onClick: this.handleCursorPositionUpdate, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur })), index.h("vertex-result-list", { key: '0a57da3954e2daa1f8ce2db7c18b4962cc3cebf9', position: this.cursorPosition, placement: this.placement, open: this.hasTriggered &&
|
|
442
442
|
this.resultItems != null &&
|
|
443
|
-
this.resultItems.length > 0, items: (_a = this.resultItems) !== null && _a !== void 0 ? _a : [], onEnterPressed: this.handleResultClick, onResultClick: this.handleResultClick }, index.h("slot", { key: '
|
|
443
|
+
this.resultItems.length > 0, items: (_a = this.resultItems) !== null && _a !== void 0 ? _a : [], onEnterPressed: this.handleResultClick, onResultClick: this.handleResultClick }, index.h("slot", { key: 'f5d8d17413bbbe37fc42650588dc0ad8cb7f1046', name: "results" })), index.h("slot", { key: '3d0f4af0d912bfbad1671167ecc445130d133b0d', name: "replaced" })));
|
|
444
444
|
}
|
|
445
445
|
handleKeyDown(event) {
|
|
446
446
|
if (this.hasTriggered && this.breakCharacters.includes(event.key)) {
|
|
@@ -81,22 +81,22 @@ const Select = class {
|
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
83
|
var _a;
|
|
84
|
-
return (index.h("div", { key: '
|
|
84
|
+
return (index.h("div", { key: '5a50717fd18ea30f6e3de820e48cb411168691c2', class: index$1.classNames('root', {
|
|
85
85
|
disabled: this.disabled,
|
|
86
86
|
}), ref: (element) => {
|
|
87
87
|
this.rootRef = element;
|
|
88
|
-
}, onClick: !this.open && !this.disabled ? this.handleOpen : undefined }, index.h("div", { key: '
|
|
88
|
+
}, onClick: !this.open && !this.disabled ? this.handleOpen : undefined }, index.h("div", { key: '4519634bd186d9aa97e69a7ab14b63f6f8977bfe', class: index$1.classNames('target', {
|
|
89
89
|
hidden: this.open,
|
|
90
90
|
disabled: this.disabled,
|
|
91
|
-
}) }, index.h("div", { key: '
|
|
91
|
+
}) }, index.h("div", { key: 'ca178f215502e97ed007b0639a17749cc6631489', class: "text" }, (_a = this.displayValue) !== null && _a !== void 0 ? _a : this.placeholder), index.h("div", { key: 'b877be02c6266eff0f0ccc3a53cc8fd52a4d8fd6', class: "icon" }, index.h("vertex-icon", { key: 'a6ea92b4162047009069716f8134ccce3bcbe01d', name: "chevron-down", size: "sm" }))), index.h("vertex-popover", { key: '995e7fafb5ed0d13d2fdb247f893107328d51839', position: this.position, open: this.open, animated: this.animated, resizeBehavior: "fixed", onDismissed: this.handleDismiss }, index.h("div", { key: '97b7b92c44e3e67838d7af5229eb63af1ce7e0b9', class: index$1.classNames('options', {
|
|
92
92
|
hidden: !this.open,
|
|
93
93
|
visible: this.open,
|
|
94
94
|
animated: this.animated,
|
|
95
95
|
}), style: {
|
|
96
96
|
minWidth: this.width != null ? `${this.width}px` : 'var(--select-width)',
|
|
97
|
-
} }, index.h("div", { key: '
|
|
97
|
+
} }, index.h("div", { key: 'f72828e4130d36e1b676dc8d5e20f77e0dfd0fbf', class: index$1.classNames('selected-option', {
|
|
98
98
|
disabled: this.disabled,
|
|
99
|
-
}), onClick: this.handleDismiss }, index.h("div", { key: '
|
|
99
|
+
}), onClick: this.handleDismiss }, index.h("div", { key: 'be853735e50657c7df6bc1df83795bb87124f7d2', class: "text" }, this.displayValue || this.placeholder), index.h("div", { key: 'a048b143aaa9a8c938ceec84f7ab8b2e70fb9d01', class: "icon" }, index.h("vertex-icon", { key: 'e1512425016f4ceae7ab2bfc70d8e696b7b1eb4e', name: "chevron-down", size: "sm" }))), index.h("slot", { key: 'ed9259fd525bc5611deedf5fcccb0b1516aeb997' })))));
|
|
100
100
|
}
|
|
101
101
|
handleOpen() {
|
|
102
102
|
var _a, _b;
|
|
@@ -44,7 +44,7 @@ const Slider = class {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (index.h("vertex-tooltip", { key: '
|
|
47
|
+
return (index.h("vertex-tooltip", { key: '40efc651c8e5b2c3737afd94310137845edfe2d3', disabled: this.valueLabelDisplay === 'off', content: `${this.value}`, placement: 'top', class: "tooltip" }, index.h("input", { key: '3af447529105c947d2de1b2fe9f46c77fca789d1', class: index$1.classNames('input', { disabled: this.disabled }, this.size), type: "range", disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.value, onChange: this.handleChange, onInput: this.handleInput, onPointerUp: () => {
|
|
48
48
|
// Blur the slider on pointerup to prevent an issue where pressing
|
|
49
49
|
// any key on the keyboard would result in a focus state.
|
|
50
50
|
dom.blurElement(this.hostEl);
|
|
@@ -29,7 +29,7 @@ const Spinner = class {
|
|
|
29
29
|
md: this.size === 'md',
|
|
30
30
|
lg: this.size === 'lg',
|
|
31
31
|
});
|
|
32
|
-
return (index.h("div", { key: '
|
|
32
|
+
return (index.h("div", { key: '854e83e4d8df98dc07a4348c7a645908ea567a22', class: classes }, index.h("div", { key: 'be2fc05bd10d8b7e40ab20e61b75170c05bea068' }), index.h("div", { key: 'a2893918400d2a49efcb06c14130febc8fdb8cd9' }), index.h("div", { key: '601aa76cb9744cae04cefa9285979c19c2288529' }), index.h("div", { key: 'c631a2c86bf2e76e081b408af2ed5ea72b8ae4af' })));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
Spinner.style = spinnerCss();
|
|
@@ -15,9 +15,9 @@ const Tab = class {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '9a79cb06110a5b0ebb3b111b59eec01fc2602bfe' }, index.h("div", { key: '791c5200ceb2ab4cc5feca69203e747b066acb31', class: index$1.classNames('content', {
|
|
19
19
|
active: this.active,
|
|
20
|
-
}) }, index.h("slot", { key: '
|
|
20
|
+
}) }, index.h("slot", { key: 'b6d38e8b00372d4cd70c35e5ac16820104158fa7' }))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
Tab.style = tabCss();
|
|
@@ -87,16 +87,16 @@ const Tabs = class {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (index.h(index.Host, { key: '
|
|
90
|
+
return (index.h(index.Host, { key: '80e4f05b6b4eb1ef175fdabe1c81e7fce846425a' }, index.h("div", { key: '537a1243a1f531820742a9f48bf60ef8569d296f', class: "wrapper" }, index.h("div", { key: '9b67ec9a84a2024c8873e31c949a58013cd750dd', class: "labels" }, this.labels.map((label) => (index.h("button", { class: index$1.classNames('label', {
|
|
91
91
|
active: this.active === label,
|
|
92
92
|
}), "data-label": label, ref: (el) => {
|
|
93
93
|
if (this.active === label) {
|
|
94
94
|
this.activeButtonEl = el;
|
|
95
95
|
}
|
|
96
|
-
}, onClick: () => this.handleLabelClick(label) }, label, index.h("div", { class: "hidden-label-text" }, label)))), index.h("slot", { key: '
|
|
96
|
+
}, onClick: () => this.handleLabelClick(label) }, label, index.h("div", { class: "hidden-label-text" }, label)))), index.h("slot", { key: '00098a23934cf4134233645609ec905f3c800338', name: "label-header" }), this.activeBounds && (index.h("div", { key: '16f93360b714239dcacb918ffc8e76f3081821d8', class: "indicator", style: {
|
|
97
97
|
left: `${this.activeBounds.x}px`,
|
|
98
98
|
width: `${this.activeBounds.width}px`,
|
|
99
|
-
} }))), index.h("div", { key: '
|
|
99
|
+
} }))), index.h("div", { key: 'ac13af6d931540f935485037b8ca8f7ca92ef4db', class: "tab-content" }, index.h("slot", { key: '2ed1a03724f6ea5bb31ffa0481984d78b0e7571f', onSlotchange: this.updateTabLabels })))));
|
|
100
100
|
}
|
|
101
101
|
get hostEl() { return index.getElement(this); }
|
|
102
102
|
static get watchers() { return {
|
|
@@ -138,7 +138,7 @@ const TextField = class {
|
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
};
|
|
141
|
-
return (index.h("div", { key: '
|
|
141
|
+
return (index.h("div", { key: 'cde475bd6417b9aded2953e16c6fe66184ecc030', class: classes }, index.h("div", { key: '6fa09a869be91d707342919bce27944c4c58480f', class: "txt-slot" }, index.h("slot", { key: '7e64168ae09da286cb6620a17aa8913a8f3f59c2', name: "left" })), this.multiline ? (index.h("vertex-auto-resize-textarea", { maxRows: this.maxRows, minRows: this.minRows, initialValue: ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) || '' }, index.h("textarea", { ...commonProps, class: index$1.classNames(commonProps.class, 'txt-textarea', classes), rows: this.minRows }))) : (index.h("input", { ...commonProps, type: this.type })), index.h("div", { key: '6c36d810cf87952dcf7b8cc52ecf74ccc552ddd1', class: "txt-slot" }, index.h("slot", { key: '7ab587afc06b86636f83e2885fd657f38ab51bbe', name: "right" }))));
|
|
142
142
|
}
|
|
143
143
|
connectedCallback() {
|
|
144
144
|
if (this.hostElement != null) {
|
|
@@ -59,11 +59,11 @@ const Toast = class {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h("vertex-popover", { key: '
|
|
62
|
+
return (index.h("vertex-popover", { key: '47662731345cbe17696dd0095ab7fb5372687ffd', class: "popover", open: this.isOpen, resizeBehavior: "fixed", backdrop: false, placement: this.getPopoverPlacement(), animated: this.animated }, index.h("div", { key: 'e512152c57add591deb56537759137e1afc74c17', slot: "anchor", class: index$1.classNames('anchor', this.placement) }), index.h("div", { key: '0148cb844f9ea329fc940a29dafe698b905bf230', class: index$1.classNames('toast', {
|
|
63
63
|
hidden: !this.isOpen,
|
|
64
64
|
warn: this.type === 'warn',
|
|
65
65
|
error: this.type === 'error',
|
|
66
|
-
}) }, this.content ? index.h("div", { class: "content" }, this.content) : index.h("slot", null), index.h("div", { key: '
|
|
66
|
+
}) }, this.content ? index.h("div", { class: "content" }, this.content) : index.h("slot", null), index.h("div", { key: '707645468e3b7c74505d12cf88937d239972f1c9', class: "actions" }, index.h("slot", { key: 'b1ed8c05970b31d9fee349bc4336f8c57ec511dd', name: "action" }), index.h("vertex-icon-button", { key: 'cbdc50ec280679f2bc15140774703851a84a4a03', class: "close", iconName: "close", iconSize: "sm", variant: "plain", onClick: this.handleClose })))));
|
|
67
67
|
}
|
|
68
68
|
handleClose() {
|
|
69
69
|
this.clearCloseTimeout();
|
|
@@ -32,16 +32,16 @@ const Toggle = class {
|
|
|
32
32
|
this.valueChanged.emit(this.checked);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
return (index.h("button", { key: '
|
|
35
|
+
return (index.h("button", { key: 'f9bd0fe8a916f065196e88a81626895a8e439406', class: index$1.classNames(this.variant, {
|
|
36
36
|
checked: this.checked,
|
|
37
37
|
disabled: this.disabled,
|
|
38
|
-
}), onClick: flipValue, onSubmit: flipValue }, this.variant === 'check' && (index.h("div", { key: '
|
|
38
|
+
}), onClick: flipValue, onSubmit: flipValue }, this.variant === 'check' && (index.h("div", { key: '5b493e4f5f0f92bfa008c93244ae47aed3728650', class: index$1.classNames('checked-content', {
|
|
39
39
|
checked: this.checked,
|
|
40
40
|
disabled: this.disabled,
|
|
41
|
-
}) }, this.checked && index.h("vertex-icon", { key: '
|
|
41
|
+
}) }, this.checked && index.h("vertex-icon", { key: '2bd120510b6242b219176be2852db6fb10c7dbe5', name: "check", size: "md" }))), this.variant === 'switch' && (index.h("div", { key: 'f9293427a7420a6f266a477157c802e37f3516af', class: index$1.classNames('track', {
|
|
42
42
|
disabled: this.disabled,
|
|
43
43
|
checked: this.checked,
|
|
44
|
-
}) })), this.variant === 'switch' && (index.h("div", { key: '
|
|
44
|
+
}) })), this.variant === 'switch' && (index.h("div", { key: '7e7409797f2951a698c069e7353abcf42890feda', class: index$1.classNames('handle', {
|
|
45
45
|
disabled: this.disabled,
|
|
46
46
|
checked: this.checked,
|
|
47
47
|
}) }))));
|
|
@@ -248,11 +248,11 @@ const Tooltip = class {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
render() {
|
|
251
|
-
return (index.h(index.Host, { key: '
|
|
251
|
+
return (index.h(index.Host, { key: '3930a26de470834980f7ae4c20aaad2608ae7c30' }, index.h("div", { key: '3629480073cc99477d5b9bca6bfeb52113f8b1c4', class: "target", ref: (el) => {
|
|
252
252
|
this.targetElement = el;
|
|
253
|
-
}, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, index.h("slot", { key: '
|
|
253
|
+
}, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, index.h("slot", { key: '0188c14cca67998c42b3bd7663129dc3cd282f12' })), index.h("div", { key: '1bc3fef4a7a492f4263870934f3ddc3f0e777316', class: "content-hidden", ref: (el) => {
|
|
254
254
|
this.contentElement = el;
|
|
255
|
-
} }, index.h("slot", { key: '
|
|
255
|
+
} }, index.h("slot", { key: 'bd0ee15400cc05d17ddfe457fcbf751a90a06aae', name: "content", onSlotchange: this.handleContentChange }))));
|
|
256
256
|
}
|
|
257
257
|
addElement() {
|
|
258
258
|
if (this.targetElement != null) {
|
|
@@ -42,9 +42,9 @@ export class AutoResizeTextArea {
|
|
|
42
42
|
this.resizeObserver.disconnect();
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'f17e7e16b3a2b07186aaacdee06c878957d8602b' }, h("textarea", { key: 'd7b9f12efd78cebc7e2b9b2b4a41700c01878e0b', class: "hidden-text", ref: (el) => {
|
|
46
46
|
this.hiddenTextRef = el;
|
|
47
|
-
} }, this.textValue), h("slot", { key: '
|
|
47
|
+
} }, this.textValue), h("slot", { key: '23a4b3e61a8b61d6d38b05089449c7f1be83fecc' })));
|
|
48
48
|
}
|
|
49
49
|
addEventListener() {
|
|
50
50
|
var _a, _b;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class AvatarGroup {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '6d4d6f883906bcd715beeeaaaaf0b172480672a1', class: "root" }, h("div", { key: '9d1a996dde7803c3053c63be80a3099637442f43', class: "base" }, h("slot", { key: '29f763070f2d46edcfbc6683f4b3a7efc69edef6', name: "base" })), h("div", { key: '406f3a4822e91ebc9cf97f1bc846d259e7ba9acb', class: "top" }, h("slot", { key: 'd8ddd645047a1bdb7e0239587b1e438f185d5a14' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "vertex-avatar-group"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,16 +16,16 @@ export class CardGroup {
|
|
|
16
16
|
this.expanded = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '5007d989334605ca58b504634af0bac7286c7c4c' }, h("div", { key: '4e1372afb89a989b44d5d85a41cf7cf09bac43d6', class: classNames('root', {
|
|
20
20
|
selected: this.selected,
|
|
21
21
|
hovered: this.hovered,
|
|
22
|
-
}) }, h("div", { key: '
|
|
22
|
+
}) }, h("div", { key: 'e22b861a35ea81e65cbddb8d6f9e80de340c2002', class: "content" }, h("slot", { key: '00c9dfa0eddee6ae95ddd7b1d82fbca2114a1bcb', name: "primary" })), h("div", { key: '770afca2c2f2358b3053f0de4c68da9e69ce7e5f', class: classNames({
|
|
23
23
|
hidden: !this.selected,
|
|
24
|
-
}) }, h("slot", { key: '
|
|
24
|
+
}) }, h("slot", { key: '5f61f74b77b1fffc392bd9d855e1f0adbd7c842b' }), h("div", { key: 'ee11f39360fa9e6445e5e3cbbee876477f2bed2d', "data-testid": "expanded-content-wrapper", class: classNames({
|
|
25
25
|
hidden: !this.expanded,
|
|
26
|
-
}) }, h("slot", { key: '
|
|
26
|
+
}) }, h("slot", { key: '9539c83df6b4c187df9042644634d355c6a718d8', name: "expanded-content" })), h("div", { key: '6dff562be68839ef8877940b96b89a19a0b19ad9', "data-testid": "expanded-target-wrapper", class: classNames({
|
|
27
27
|
hidden: this.expanded,
|
|
28
|
-
}) }, h("div", { key: '
|
|
28
|
+
}) }, h("div", { key: 'b78d2d33af9b3a6c9d87f94a675da9697920032f', class: "expand-target" }, h("slot", { key: '3984c00b1026456afab0ec7fe44a19ed488e6a76', name: "expand-target" })))), h("div", { key: '74bc8f96f90092f57107ed5bde7df5bcf118ecad', class: "action" }, h("slot", { key: '7829db63ce73caf5c28a2ee9fac0e0ff4eb40153', name: "action" }))), h("slot", { key: '34a38723c006bb5ae4566d502f40a7d7ed414416', name: "overlay" })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "vertex-card-group"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,13 +3,30 @@
|
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
width: fit-content;
|
|
6
|
-
border-radius: 16px;
|
|
6
|
+
border-radius: 16px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.root.sm {
|
|
10
|
+
font-size: var(--vertex-ui-text-sm);
|
|
11
|
+
padding: 0.33rem;
|
|
12
|
+
padding-left: 0.25rem;
|
|
13
|
+
max-height: 0.75rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.root.md {
|
|
7
17
|
font-size: var(--vertex-ui-text-base);
|
|
8
18
|
padding: 0.5rem;
|
|
9
19
|
padding-left: 0.25rem;
|
|
10
20
|
max-height: 1rem;
|
|
11
21
|
}
|
|
12
22
|
|
|
23
|
+
.root.lg {
|
|
24
|
+
font-size: var(--vertex-ui-text-base);
|
|
25
|
+
padding: 0.75rem;
|
|
26
|
+
padding-left: 0.25rem;
|
|
27
|
+
max-height: 1.25rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
13
30
|
.filled {
|
|
14
31
|
color: white;
|
|
15
32
|
}
|
|
@@ -24,7 +41,7 @@
|
|
|
24
41
|
|
|
25
42
|
.filled.chip-secondary {
|
|
26
43
|
color: var(--vertex-ui-neutral-800);
|
|
27
|
-
background-color: var(--vertex-ui-neutral-
|
|
44
|
+
background-color: var(--vertex-ui-neutral-200);
|
|
28
45
|
}
|
|
29
46
|
|
|
30
47
|
.filled.chip-primary {
|
|
@@ -37,7 +54,7 @@
|
|
|
37
54
|
}
|
|
38
55
|
|
|
39
56
|
.outlined.chip-secondary {
|
|
40
|
-
border: 1px solid var(--vertex-ui-neutral-
|
|
57
|
+
border: 1px solid var(--vertex-ui-neutral-200);
|
|
41
58
|
color: var(--vertex-ui-neutral-700);
|
|
42
59
|
}
|
|
43
60
|
|
|
@@ -12,14 +12,19 @@ export class Chip {
|
|
|
12
12
|
* Can be "primary" or "secondary" and defaults to "secondary".
|
|
13
13
|
*/
|
|
14
14
|
this.color = 'secondary';
|
|
15
|
+
/**
|
|
16
|
+
* The size of this <vertex-chip>.
|
|
17
|
+
* Can be "sm", "md", or "lg" and defaults to "md".
|
|
18
|
+
*/
|
|
19
|
+
this.size = 'md';
|
|
15
20
|
}
|
|
16
21
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '13af3c5c98810cc30064a2121b0354f40b076753', class: classNames('root', this.size, {
|
|
18
23
|
filled: this.variant === 'filled',
|
|
19
24
|
outlined: this.variant === 'outlined',
|
|
20
25
|
'chip-primary': this.color === 'primary',
|
|
21
26
|
'chip-secondary': this.color === 'secondary',
|
|
22
|
-
}) }, h("div", { key: '
|
|
27
|
+
}) }, h("div", { key: '41f2150577c1a3e98a9eef89462c8d5c5ffe424d', class: "avatar" }, h("slot", { key: 'b591d3659756e45d7cdc8c91008ccb2cc2bb6068', name: "avatar" })), h("slot", { key: '53ffe1b0ca2b1458abe5c06bbbe2ff330a60857e', name: "icon-start" }), h("slot", { key: '211dce4cf11e822c087403c99ed61d2f0d03f3dd' }), h("slot", { key: 'ef06337811596fa68647638ed24e5bd7b10b9320', name: "icon" })));
|
|
23
28
|
}
|
|
24
29
|
static get is() { return "vertex-chip"; }
|
|
25
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,6 +91,32 @@ export class Chip {
|
|
|
86
91
|
"reflect": false,
|
|
87
92
|
"attribute": "color",
|
|
88
93
|
"defaultValue": "'secondary'"
|
|
94
|
+
},
|
|
95
|
+
"size": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "ChipSize",
|
|
100
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
101
|
+
"references": {
|
|
102
|
+
"ChipSize": {
|
|
103
|
+
"location": "local",
|
|
104
|
+
"path": "/home/runner/work/vertex-web-ui/vertex-web-ui/packages/ui/src/components/chip/chip.tsx",
|
|
105
|
+
"id": "src/components/chip/chip.tsx::ChipSize"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "The size of this <vertex-chip>.\nCan be \"sm\", \"md\", or \"lg\" and defaults to \"md\"."
|
|
114
|
+
},
|
|
115
|
+
"getter": false,
|
|
116
|
+
"setter": false,
|
|
117
|
+
"reflect": false,
|
|
118
|
+
"attribute": "size",
|
|
119
|
+
"defaultValue": "'md'"
|
|
89
120
|
}
|
|
90
121
|
};
|
|
91
122
|
}
|
|
@@ -56,7 +56,7 @@ export class ClickToEditTextField {
|
|
|
56
56
|
this.defaultValue = (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString();
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: '6d8558d27745f3044667bdb8c68c3ceb9b3a81e9', class: "click-to-edit" }, h("div", { key: '22f95389b5d8222f596a7634ee478f557b0f09fb', class: "click-to-edit-text" }, h("vertex-textfield", { key: '646a1482a96da4cff880b34066afdda6c682333d', ref: (element) => {
|
|
60
60
|
this.textFieldRef = element;
|
|
61
61
|
}, onInputBlur: this.handleInputBlur, onInputFocus: this.handleInputFocus, onInputInput: this.handleInputInput, onInputChange: this.handleInputChange, disabled: this.disabled, fontSize: this.fontSize, autoFocus: this.autoFocus, placeholder: this.placeholder, multiline: this.multiline, minRows: this.minRows, maxRows: this.maxRows, type: "text", value: this.value, variant: "blank", onTextFieldKeyDown: this.handleKeyDown, "data-testid": "click-to-edit-text-field", hasError: this.hasError })), this.renderIcon()));
|
|
62
62
|
}
|
|
@@ -8,9 +8,9 @@ export class Collapsible {
|
|
|
8
8
|
this.open = false;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("vertex-expandable", { key: '
|
|
11
|
+
return (h("vertex-expandable", { key: 'dfee4af00c1edf239126b18726bad33202f49782', controlled: true, expanded: this.open }, h("button", { key: 'b63386fba1824339e224eefb0286d1202e61ff95', slot: "header", "data-testid": "expand-click-target", class: "collapsible-target", onClick: () => this.setOpen(!this.open), onSubmit: () => this.setOpen(!this.open) }, this.label != null ? (h("span", null, this.label)) : (h("slot", { name: "label" })), h("div", { key: '9ef49e3aa71ce08bc18a89c0bcd98a0f99399a15', class: classNames('collapsible-expand', {
|
|
12
12
|
rotated: this.open,
|
|
13
|
-
}) }, h("slot", { key: '
|
|
13
|
+
}) }, h("slot", { key: '3ff29b9ccbc04ce99180bcbafdcd14d71bb0d830', name: "expand-icon" }, h("vertex-icon", { key: 'cb0d4d31705fb59423646752e505bf2ce40c712c', name: "caret-right" })))), h("div", { key: 'a9aa91e2e1b1d6a62a202a211342ea9c22cdccc7', class: "collapsible-content-container" }, h("slot", { key: '6048628b1d191cf1628630f18d5d776ea0327b1c' }))));
|
|
14
14
|
}
|
|
15
15
|
setOpen(open) {
|
|
16
16
|
this.open = open;
|
|
@@ -113,7 +113,7 @@ export class ColorCirclePicker {
|
|
|
113
113
|
this.labelMap = this.parseJsonProp(newValue);
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: 'c9dc65075b7ac7c97a75a82c6998468b453197a3' }, h("div", { key: '022144efc42bb62bc0a281005af57f9d6396d707', class: classNames('container', {
|
|
117
117
|
vertical: this.direction === 'vertical',
|
|
118
118
|
}) }, this.colorArray.map((c, i) => {
|
|
119
119
|
const label = this.labelMap[c];
|
|
@@ -44,7 +44,7 @@ export class ColorPicker {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
var _a;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '667b520f56cf716dfa31f40c951d26ac5dcab26a' }, h("div", { key: 'd2f7e8680a984699bc73dbf518ff84834c5ed96e', class: classNames('wrapper', this.variant, this.size, `expand-${this.expand}`) }, h("label", { key: 'a39925f58bb531587bbfae72acec44782060085e', class: classNames('color-picker', { disabled: this.disabled }) }, h("input", { key: 'ecb2793caeec10f84918fc859164eaaf976e96f3', type: "color", class: "input", "data-testid": "input", disabled: this.disabled, value: this.value, onInput: this.handleInput, onChange: this.handleChange }), h("div", { key: '6a59152ef20f75dc9096ba21800889651f1af0ce', class: classNames('selected-wrapper', this.variant) }, h("div", { key: 'c38ee8cd7246b6fb103c53527d601b2407a69c09', class: "selected", title: this.value }, h("vertex-color-swatch", { key: '7e1927fe4fe1f8d755ef7309fd8d23bb0eacb1c3', class: "selected-color", supplementalColor: "var(--vertex-ui-neutral-400)", color: this.value, variant: "square", size: this.size }, h("slot", { key: '0c03489ad2a3065e3d1807a99c7fa7cc09c4d02b', name: "overlay", slot: "overlay" }, (this.value == null || this.value === '') && (h("svg", { key: '129e5ade5aeeda9298317bb554367f39d9d27a45', class: "no-value", slot: "overlay", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16" }, h("path", { key: 'dfa5366828457b54b526142764e9f95567b50e3e', d: "M16,0L0,16" })))))), this.variant === 'full' && (h("div", { key: 'd47a9a6bc8fe494dbed0706e662668e27f430d56', class: "text-wrapper" }, h("div", { key: 'd2d8b6646ae4e39e9a9589fcaa1e8b8b24af2d72', class: "hidden-text" }, "#FFFFFF"), h("div", { key: '3d040137786c44645f5543c8bf776330805e4f43', class: "selected-text" }, (_a = this.getDisplayedValue()) !== null && _a !== void 0 ? _a : 'Default')))), h("div", { key: 'c63b7e6017c44800fe098357a7aeb410c7a24193', class: "right-gutter" }, h("slot", { key: 'aea2733eca5376dd7a3181be8be3d7575cfdbc3d', name: "right-gutter" }))))));
|
|
48
48
|
}
|
|
49
49
|
getDisplayedValue() {
|
|
50
50
|
var _a;
|
|
@@ -69,7 +69,7 @@ export class ColorSwatch {
|
|
|
69
69
|
this.darkened = this.adjustColor(this.color, newPercentage);
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '557b04744d9b740ad9dbe172a7749646cf43e967' }, h("div", { key: '7e6804674d6e6837368efe29d0e3a9befb916a9e', class: classNames('root', this.variant, this.size), style: this.getThemeColors() }, h("div", { key: '07af668d69a584361134a06dfdf7cd191b2155a4', class: "overlay" }, h("slot", { key: '1d3dd9a7f910318efdb0f6c060224769403b9a6f', name: "overlay" })))));
|
|
73
73
|
}
|
|
74
74
|
getThemeColors() {
|
|
75
75
|
const supplementalColor = this.getSupplementalColor();
|
|
@@ -36,13 +36,13 @@ export class ContextMenu {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("vertex-menu", { key: '
|
|
39
|
+
return (h("vertex-menu", { key: '3861963ca564cc7f6bc8c5522873f9a4303bfcdc', open: this.open, animated: this.animated, position: this.position, fallbackPlacements: [
|
|
40
40
|
'bottom-end',
|
|
41
41
|
'top-start',
|
|
42
42
|
'top-end',
|
|
43
43
|
'right',
|
|
44
44
|
'left',
|
|
45
|
-
], onMenuClosed: this.handleMenuClosed }, h("slot", { key: '
|
|
45
|
+
], onMenuClosed: this.handleMenuClosed }, h("slot", { key: 'bc3d8f701a3c770138511bc79730b3aeacdad70c' })));
|
|
46
46
|
}
|
|
47
47
|
addEventListeners(targetSelector) {
|
|
48
48
|
this.target =
|
|
@@ -174,7 +174,7 @@ export class Dialog {
|
|
|
174
174
|
const height = this.height != null || this.minHeight != null
|
|
175
175
|
? `${(_b = this.height) !== null && _b !== void 0 ? _b : this.minHeight}px`
|
|
176
176
|
: undefined;
|
|
177
|
-
return (h("div", { key: '
|
|
177
|
+
return (h("div", { key: '5612ba06d77f9b286ced2ed6835c58429d96d2f1', ref: (el) => {
|
|
178
178
|
this.backdropElement = el;
|
|
179
179
|
}, onPointerDown: () => {
|
|
180
180
|
this.backdropClick.emit();
|
|
@@ -182,7 +182,7 @@ export class Dialog {
|
|
|
182
182
|
hidden: !this.open,
|
|
183
183
|
shown: this.open,
|
|
184
184
|
'resize-cursor': this.isResizing,
|
|
185
|
-
}) }, h("div", { key: '
|
|
185
|
+
}) }, h("div", { key: 'e845407a3d1d4c5508f4b9d6d3da3667fbfaa006', ref: (el) => {
|
|
186
186
|
this.dialogElement = el;
|
|
187
187
|
}, class: classNames('dialog', {
|
|
188
188
|
resizable: this.resizable,
|
|
@@ -196,9 +196,9 @@ export class Dialog {
|
|
|
196
196
|
width,
|
|
197
197
|
height,
|
|
198
198
|
}
|
|
199
|
-
: undefined }, h("div", { key: '
|
|
199
|
+
: undefined }, h("div", { key: '4298492dfb98a09af8ef09dd8e689d54869438cf', class: "contents" }, h("slot", { key: 'c0ced9930b5acaf4fb4273b4ec88600f36238307', name: "header" }, h("div", { key: '4abb78b4de7d5a5c469b74c1941ccb01e14d5a2b', class: "header" }, h("slot", { key: '6bb137c5f50215ccf953bb54055c4beca33af37c', name: "heading" }), h("div", { key: '8622a60b4ec1a7578e990a791630d161ed2857e7', class: "close" }, h("slot", { key: '4733ea98d76b531b8d67d4d78532c4fd8e94b9a3', name: "close-dialog" }, h("vertex-icon-button", { key: 'a72f79ee5553ff8b358e0d82332766883d75f170', onPointerDown: () => {
|
|
200
200
|
this.open = false;
|
|
201
|
-
}, iconSize: "sm", iconName: "close" }))))), h("div", { key: '
|
|
201
|
+
}, iconSize: "sm", iconName: "close" }))))), h("div", { key: '98aa57c6611231bcdf967cc5731f62005a9384b2', class: "body" }, h("slot", { key: '0f4cb66883e12728b1ac7defbc3a55a6ae6733a5' })), h("div", { key: '5b7d15d1affa49471ce5449047d99cdb85b2b5c8', class: "footer" }, h("slot", { key: '0ec5b50705ac3099050f355e3fe06f556b7923f0', name: "footer" }, h("slot", { key: '9c34c29256151bf2d6f8218064530f0dbd6430f2', name: "footer-actions" }))), this.resizable && !this.fullscreen && (h("vertex-icon", { key: '8d57ebf57472194dda505af523abf2eeef81a550', class: "resize", onPointerDown: this.handlePointerDown, name: "resize", size: "xs" }))))));
|
|
202
202
|
}
|
|
203
203
|
static get is() { return "vertex-dialog"; }
|
|
204
204
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,13 +55,13 @@ export class DraggablePopover {
|
|
|
55
55
|
this.positionChanged.emit(this.anchorPosition);
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h("vertex-popover", { key: '
|
|
58
|
+
return (h("vertex-popover", { key: '86c20b3ba5b63eb38f21549573e122ccb8144212', position: this.anchorPosition, boundarySelector: this.boundarySelector, backdrop: false, open: true, resizeBehavior: "fixed", updateOnResize: !this.dragging, overflowBehavior: {
|
|
59
59
|
altBoundary: true,
|
|
60
60
|
padding: this.boundaryPadding,
|
|
61
61
|
}, flipBehavior: {
|
|
62
62
|
fallbackPlacements: [],
|
|
63
63
|
fallbackStrategy: 'initialPlacement',
|
|
64
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: '8fb98d6b8d6d5e87ca073f4b3c63b7d50d6257b8', ref: (el) => (this.containerEl = el), class: classNames('container', { dragging: this.dragging }) }, h("div", { key: 'b16df51174e835c41a07c1f1b73a94455a4e757d', class: "icon-container" }, h("div", { key: '48fd741e3b37abc7ce437ddc35fe704bff14b495', class: "icon", onPointerDown: this.handlePointerDown }, h("slot", { key: 'cb89ddbe45eed5e474dc4fcc9b423381bcbc2db4', name: "drag-icon" }, h("vertex-icon", { key: '0e2d8df939e14b2c9215ceb8b864219bc925bb47', size: "sm", name: "drag-indicator" })))), h("div", { key: '6e125a7c43116749f52c0dbb5cedd763aaa66262', class: "contents" }, h("slot", { key: '091a965249d66f7138faaa53081e200ba26288a1' })))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "vertex-draggable-popover"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|