@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
|
@@ -42,20 +42,20 @@ const Menu = class {
|
|
|
42
42
|
this.addEventListeners();
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("vertex-popover", { key: '
|
|
45
|
+
return (h("vertex-popover", { key: 'da4e0d42641bdb135542d2823c9f1e89bb0512e6', ref: (element) => {
|
|
46
46
|
this.popoverRef = element;
|
|
47
47
|
}, open: this.open, animated: this.animated, position: this.position, placement: this.placement, backdrop: this.backdrop, flipBehavior: this.fallbackPlacements != null
|
|
48
48
|
? {
|
|
49
49
|
fallbackPlacements: this.fallbackPlacements,
|
|
50
50
|
}
|
|
51
|
-
: undefined, ...this.popoverProps }, this.position == null && (h("div", { key: '
|
|
51
|
+
: undefined, ...this.popoverProps }, this.position == null && (h("div", { key: '3bb19832194b818c37697a90a9adac721f12feeb', slot: "anchor" }, h("slot", { key: '0eeca18d7ef462ccf01abd150df2226a9726113c', name: "anchor" }))), h("div", { key: '45e2dbd269605ec5589dbb0444b5db83b6e9a84c', onClick: () => {
|
|
52
52
|
if (!this.persistent) {
|
|
53
53
|
this.open = false;
|
|
54
54
|
this.menuClosed.emit();
|
|
55
55
|
}
|
|
56
56
|
}, class: classNames('root', {
|
|
57
57
|
'has-header': this.headerSlot != null,
|
|
58
|
-
}) }, h("slot", { key: '
|
|
58
|
+
}) }, h("slot", { key: 'b9735d213f7210c60ee21bfdf0728cec70e2a44c', name: "header" }), h("slot", { key: 'dea463aa0da1b65096ebbe83fbc133c9d801c750' }))));
|
|
59
59
|
}
|
|
60
60
|
addEventListeners() {
|
|
61
61
|
var _a, _b;
|
|
@@ -32,7 +32,7 @@ const RadioGroup = class {
|
|
|
32
32
|
this.removeEventListeners();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: 'bf43c1747d31a0a2d7b3253ee49723ff73c039a3', class: "radio-group" }, h("slot", { key: 'e450eb58457b42ecfb0cda4429bccc9e5df04954' })));
|
|
36
36
|
}
|
|
37
37
|
getVertexRadioButtons() {
|
|
38
38
|
var _a, _b;
|
|
@@ -14,15 +14,15 @@ const Radio = class {
|
|
|
14
14
|
this.disabled = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("label", { key: '
|
|
17
|
+
return (h("label", { key: 'aa10aec61650e5add364c5985103b4a1454ab4f6', class: classNames('radio', {
|
|
18
18
|
disabled: this.disabled,
|
|
19
|
-
}) }, h("input", { key: '
|
|
19
|
+
}) }, h("input", { key: 'b098d0cdf58d0f5ab5338b018302894088f082be', disabled: this.disabled, onChange: (event) => {
|
|
20
20
|
const radioValue = event.target;
|
|
21
21
|
this.valueChanged.emit({
|
|
22
22
|
checked: radioValue.checked,
|
|
23
23
|
value: radioValue.value,
|
|
24
24
|
});
|
|
25
|
-
}, type: "radio", id: `vertex-radio-${this.name}-${this.value}`, name: this.name, value: this.value, checked: this.checked }), h("span", { key: '
|
|
25
|
+
}, type: "radio", id: `vertex-radio-${this.name}-${this.value}`, name: this.name, value: this.value, checked: this.checked }), h("span", { key: '79ba876704c1027854a2cc6470ff379b7a554fd2', class: classNames('checkmark', {
|
|
26
26
|
disabled: this.disabled,
|
|
27
27
|
}) }), this.label));
|
|
28
28
|
}
|
|
@@ -109,14 +109,14 @@ const Resizable = class {
|
|
|
109
109
|
const height = this.height < 0 || this.verticalDirection === 'none'
|
|
110
110
|
? '100%'
|
|
111
111
|
: `${this.height}px`;
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: '53f90484ecf1c01dcfec3fc73751c5b6220ec1a0', style: {
|
|
113
113
|
width,
|
|
114
114
|
height,
|
|
115
115
|
left: this.position === 'relative' ? `${this.left}px` : undefined,
|
|
116
116
|
top: this.position === 'relative' ? `${this.top}px` : undefined,
|
|
117
|
-
} }, h("div", { key: '
|
|
117
|
+
} }, h("div", { key: '495c3b41b95a98e50b2c136a626217adde53a0e2', class: classNames('container', {
|
|
118
118
|
hidden: this.width <= 0 && this.height <= 0,
|
|
119
|
-
}) }, h("div", { key: '
|
|
119
|
+
}) }, h("div", { key: 'ea0c58ab6ec4b659ed33618a4b840319637b37a5', class: classNames('shadow', `hovered-location-${this.dragStartLocation || this.hoveredLocation}`) }), h("div", { key: 'a10bfa55f1463a2927a1e1585e94aec69a05c5bc', class: 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') }), h("div", { key: '705f9f4ff60e7e574d57d2ba0434944dea170375', class: 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') }), h("div", { key: '0338d64870553446a7c0f119387816b08bf1562d', class: 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') }), h("div", { key: 'acc646db4341c2095bfc891b4b13550c5a95ee6f', class: 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') }), h("div", { key: 'a849292148ddd071a96fb7a4cc9a1e20ae9a1eed', class: 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') }), h("div", { key: '9c64cc2f64ea37406f1504fbb421c3a3d8b49f17', class: 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') }), h("div", { key: '56055af84e8cc60e7c1e55c7233996ef6726b25d', class: 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') }), h("div", { key: '11cde0ae8a9dd6d5736d36a98db527856bee3718', class: 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') }), h("slot", { key: 'a4cdf0eb7aecd1d1c6ef5c3b4acb316239f4003c' }))));
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* @private
|
|
@@ -255,11 +255,11 @@ const ResultList = class {
|
|
|
255
255
|
window.removeEventListener('keydown', this.handleKeyDown);
|
|
256
256
|
}
|
|
257
257
|
render() {
|
|
258
|
-
return (h(Host, { key: '
|
|
258
|
+
return (h(Host, { key: '6188d1a63b42f60db295fe65a9deea1fe147da3b' }, h("div", { key: '756cfad6d13a89a25f44fbad6f1b96c4f486f4d9', class: classNames('wrapper', {
|
|
259
259
|
hidden: !this.open || this.computedResultHeight == null,
|
|
260
|
-
}) }, h("vertex-popover", { key: '
|
|
260
|
+
}) }, h("vertex-popover", { key: '3978a50be1c36ffbc2ec76ff65811be26c0b21ac', position: this.position, placement: this.placement, open: this.open, backdrop: false }, h("div", { key: '589f43ab056f7dc1e640e8677a163bf1ae630305', class: "results-scroll", ref: (ref) => (this.resultsScrollEl = ref), onScroll: this.handleScroll }, h("div", { key: '6dee01aa288d92a549d861f5aa475d7457ed7763', class: "results", style: {
|
|
261
261
|
height: `${this.parsedResults.length * this.resultHeight}px`,
|
|
262
|
-
} }, h("slot", { key: '
|
|
262
|
+
} }, h("slot", { key: 'b02ec3bba63b4e729a8520358c5d6bb179619d3a' }), h("slot", { key: 'c1bcab60e22d29ce3d45beb149771a99d1c957a0', name: "result" })))))));
|
|
263
263
|
}
|
|
264
264
|
handlePointerDown(event) {
|
|
265
265
|
event.preventDefault();
|
|
@@ -436,9 +436,9 @@ const SearchBar = class {
|
|
|
436
436
|
blank: this.variant === 'blank',
|
|
437
437
|
disabled: this.disabled,
|
|
438
438
|
});
|
|
439
|
-
return (h(Host, { key: '
|
|
439
|
+
return (h(Host, { key: 'cda12a50487bedd9f5a483825fcca3524a274724' }, h("div", { key: 'a655eacaddeaaaa78e7ff28d47ca5c4af6104b63', class: classes }, 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 })), h("vertex-result-list", { key: '0a57da3954e2daa1f8ce2db7c18b4962cc3cebf9', position: this.cursorPosition, placement: this.placement, open: this.hasTriggered &&
|
|
440
440
|
this.resultItems != null &&
|
|
441
|
-
this.resultItems.length > 0, items: (_a = this.resultItems) !== null && _a !== void 0 ? _a : [], onEnterPressed: this.handleResultClick, onResultClick: this.handleResultClick }, h("slot", { key: '
|
|
441
|
+
this.resultItems.length > 0, items: (_a = this.resultItems) !== null && _a !== void 0 ? _a : [], onEnterPressed: this.handleResultClick, onResultClick: this.handleResultClick }, h("slot", { key: 'f5d8d17413bbbe37fc42650588dc0ad8cb7f1046', name: "results" })), h("slot", { key: '3d0f4af0d912bfbad1671167ecc445130d133b0d', name: "replaced" })));
|
|
442
442
|
}
|
|
443
443
|
handleKeyDown(event) {
|
|
444
444
|
if (this.hasTriggered && this.breakCharacters.includes(event.key)) {
|
|
@@ -79,22 +79,22 @@ const Select = class {
|
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
81
|
var _a;
|
|
82
|
-
return (h("div", { key: '
|
|
82
|
+
return (h("div", { key: '5a50717fd18ea30f6e3de820e48cb411168691c2', class: classNames('root', {
|
|
83
83
|
disabled: this.disabled,
|
|
84
84
|
}), ref: (element) => {
|
|
85
85
|
this.rootRef = element;
|
|
86
|
-
}, onClick: !this.open && !this.disabled ? this.handleOpen : undefined }, h("div", { key: '
|
|
86
|
+
}, onClick: !this.open && !this.disabled ? this.handleOpen : undefined }, h("div", { key: '4519634bd186d9aa97e69a7ab14b63f6f8977bfe', class: classNames('target', {
|
|
87
87
|
hidden: this.open,
|
|
88
88
|
disabled: this.disabled,
|
|
89
|
-
}) }, h("div", { key: '
|
|
89
|
+
}) }, h("div", { key: 'ca178f215502e97ed007b0639a17749cc6631489', class: "text" }, (_a = this.displayValue) !== null && _a !== void 0 ? _a : this.placeholder), h("div", { key: 'b877be02c6266eff0f0ccc3a53cc8fd52a4d8fd6', class: "icon" }, h("vertex-icon", { key: 'a6ea92b4162047009069716f8134ccce3bcbe01d', name: "chevron-down", size: "sm" }))), h("vertex-popover", { key: '995e7fafb5ed0d13d2fdb247f893107328d51839', position: this.position, open: this.open, animated: this.animated, resizeBehavior: "fixed", onDismissed: this.handleDismiss }, h("div", { key: '97b7b92c44e3e67838d7af5229eb63af1ce7e0b9', class: classNames('options', {
|
|
90
90
|
hidden: !this.open,
|
|
91
91
|
visible: this.open,
|
|
92
92
|
animated: this.animated,
|
|
93
93
|
}), style: {
|
|
94
94
|
minWidth: this.width != null ? `${this.width}px` : 'var(--select-width)',
|
|
95
|
-
} }, h("div", { key: '
|
|
95
|
+
} }, h("div", { key: 'f72828e4130d36e1b676dc8d5e20f77e0dfd0fbf', class: classNames('selected-option', {
|
|
96
96
|
disabled: this.disabled,
|
|
97
|
-
}), onClick: this.handleDismiss }, h("div", { key: '
|
|
97
|
+
}), onClick: this.handleDismiss }, h("div", { key: 'be853735e50657c7df6bc1df83795bb87124f7d2', class: "text" }, this.displayValue || this.placeholder), h("div", { key: 'a048b143aaa9a8c938ceec84f7ab8b2e70fb9d01', class: "icon" }, h("vertex-icon", { key: 'e1512425016f4ceae7ab2bfc70d8e696b7b1eb4e', name: "chevron-down", size: "sm" }))), h("slot", { key: 'ed9259fd525bc5611deedf5fcccb0b1516aeb997' })))));
|
|
98
98
|
}
|
|
99
99
|
handleOpen() {
|
|
100
100
|
var _a, _b;
|
|
@@ -42,7 +42,7 @@ const Slider = class {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("vertex-tooltip", { key: '
|
|
45
|
+
return (h("vertex-tooltip", { key: '40efc651c8e5b2c3737afd94310137845edfe2d3', disabled: this.valueLabelDisplay === 'off', content: `${this.value}`, placement: 'top', class: "tooltip" }, h("input", { key: '3af447529105c947d2de1b2fe9f46c77fca789d1', class: 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: () => {
|
|
46
46
|
// Blur the slider on pointerup to prevent an issue where pressing
|
|
47
47
|
// any key on the keyboard would result in a focus state.
|
|
48
48
|
blurElement(this.hostEl);
|
|
@@ -27,7 +27,7 @@ const Spinner = class {
|
|
|
27
27
|
md: this.size === 'md',
|
|
28
28
|
lg: this.size === 'lg',
|
|
29
29
|
});
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '854e83e4d8df98dc07a4348c7a645908ea567a22', class: classes }, h("div", { key: 'be2fc05bd10d8b7e40ab20e61b75170c05bea068' }), h("div", { key: 'a2893918400d2a49efcb06c14130febc8fdb8cd9' }), h("div", { key: '601aa76cb9744cae04cefa9285979c19c2288529' }), h("div", { key: 'c631a2c86bf2e76e081b408af2ed5ea72b8ae4af' })));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Spinner.style = spinnerCss();
|
|
@@ -13,9 +13,9 @@ const Tab = class {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '9a79cb06110a5b0ebb3b111b59eec01fc2602bfe' }, h("div", { key: '791c5200ceb2ab4cc5feca69203e747b066acb31', class: classNames('content', {
|
|
17
17
|
active: this.active,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: 'b6d38e8b00372d4cd70c35e5ac16820104158fa7' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
Tab.style = tabCss();
|
|
@@ -85,16 +85,16 @@ const Tabs = class {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: '80e4f05b6b4eb1ef175fdabe1c81e7fce846425a' }, h("div", { key: '537a1243a1f531820742a9f48bf60ef8569d296f', class: "wrapper" }, h("div", { key: '9b67ec9a84a2024c8873e31c949a58013cd750dd', class: "labels" }, this.labels.map((label) => (h("button", { class: classNames('label', {
|
|
89
89
|
active: this.active === label,
|
|
90
90
|
}), "data-label": label, ref: (el) => {
|
|
91
91
|
if (this.active === label) {
|
|
92
92
|
this.activeButtonEl = el;
|
|
93
93
|
}
|
|
94
|
-
}, onClick: () => this.handleLabelClick(label) }, label, h("div", { class: "hidden-label-text" }, label)))), h("slot", { key: '
|
|
94
|
+
}, onClick: () => this.handleLabelClick(label) }, label, h("div", { class: "hidden-label-text" }, label)))), h("slot", { key: '00098a23934cf4134233645609ec905f3c800338', name: "label-header" }), this.activeBounds && (h("div", { key: '16f93360b714239dcacb918ffc8e76f3081821d8', class: "indicator", style: {
|
|
95
95
|
left: `${this.activeBounds.x}px`,
|
|
96
96
|
width: `${this.activeBounds.width}px`,
|
|
97
|
-
} }))), h("div", { key: '
|
|
97
|
+
} }))), h("div", { key: 'ac13af6d931540f935485037b8ca8f7ca92ef4db', class: "tab-content" }, h("slot", { key: '2ed1a03724f6ea5bb31ffa0481984d78b0e7571f', onSlotchange: this.updateTabLabels })))));
|
|
98
98
|
}
|
|
99
99
|
get hostEl() { return getElement(this); }
|
|
100
100
|
static get watchers() { return {
|
|
@@ -136,7 +136,7 @@ const TextField = class {
|
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
};
|
|
139
|
-
return (h("div", { key: '
|
|
139
|
+
return (h("div", { key: 'cde475bd6417b9aded2953e16c6fe66184ecc030', class: classes }, h("div", { key: '6fa09a869be91d707342919bce27944c4c58480f', class: "txt-slot" }, h("slot", { key: '7e64168ae09da286cb6620a17aa8913a8f3f59c2', name: "left" })), this.multiline ? (h("vertex-auto-resize-textarea", { maxRows: this.maxRows, minRows: this.minRows, initialValue: ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) || '' }, h("textarea", { ...commonProps, class: classNames(commonProps.class, 'txt-textarea', classes), rows: this.minRows }))) : (h("input", { ...commonProps, type: this.type })), h("div", { key: '6c36d810cf87952dcf7b8cc52ecf74ccc552ddd1', class: "txt-slot" }, h("slot", { key: '7ab587afc06b86636f83e2885fd657f38ab51bbe', name: "right" }))));
|
|
140
140
|
}
|
|
141
141
|
connectedCallback() {
|
|
142
142
|
if (this.hostElement != null) {
|
|
@@ -57,11 +57,11 @@ const Toast = class {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h("vertex-popover", { key: '
|
|
60
|
+
return (h("vertex-popover", { key: '47662731345cbe17696dd0095ab7fb5372687ffd', class: "popover", open: this.isOpen, resizeBehavior: "fixed", backdrop: false, placement: this.getPopoverPlacement(), animated: this.animated }, h("div", { key: 'e512152c57add591deb56537759137e1afc74c17', slot: "anchor", class: classNames('anchor', this.placement) }), h("div", { key: '0148cb844f9ea329fc940a29dafe698b905bf230', class: classNames('toast', {
|
|
61
61
|
hidden: !this.isOpen,
|
|
62
62
|
warn: this.type === 'warn',
|
|
63
63
|
error: this.type === 'error',
|
|
64
|
-
}) }, this.content ? h("div", { class: "content" }, this.content) : h("slot", null), h("div", { key: '
|
|
64
|
+
}) }, this.content ? h("div", { class: "content" }, this.content) : h("slot", null), h("div", { key: '707645468e3b7c74505d12cf88937d239972f1c9', class: "actions" }, h("slot", { key: 'b1ed8c05970b31d9fee349bc4336f8c57ec511dd', name: "action" }), h("vertex-icon-button", { key: 'cbdc50ec280679f2bc15140774703851a84a4a03', class: "close", iconName: "close", iconSize: "sm", variant: "plain", onClick: this.handleClose })))));
|
|
65
65
|
}
|
|
66
66
|
handleClose() {
|
|
67
67
|
this.clearCloseTimeout();
|
|
@@ -30,16 +30,16 @@ const Toggle = class {
|
|
|
30
30
|
this.valueChanged.emit(this.checked);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
return (h("button", { key: '
|
|
33
|
+
return (h("button", { key: 'f9bd0fe8a916f065196e88a81626895a8e439406', class: classNames(this.variant, {
|
|
34
34
|
checked: this.checked,
|
|
35
35
|
disabled: this.disabled,
|
|
36
|
-
}), onClick: flipValue, onSubmit: flipValue }, this.variant === 'check' && (h("div", { key: '
|
|
36
|
+
}), onClick: flipValue, onSubmit: flipValue }, this.variant === 'check' && (h("div", { key: '5b493e4f5f0f92bfa008c93244ae47aed3728650', class: classNames('checked-content', {
|
|
37
37
|
checked: this.checked,
|
|
38
38
|
disabled: this.disabled,
|
|
39
|
-
}) }, this.checked && h("vertex-icon", { key: '
|
|
39
|
+
}) }, this.checked && h("vertex-icon", { key: '2bd120510b6242b219176be2852db6fb10c7dbe5', name: "check", size: "md" }))), this.variant === 'switch' && (h("div", { key: 'f9293427a7420a6f266a477157c802e37f3516af', class: classNames('track', {
|
|
40
40
|
disabled: this.disabled,
|
|
41
41
|
checked: this.checked,
|
|
42
|
-
}) })), this.variant === 'switch' && (h("div", { key: '
|
|
42
|
+
}) })), this.variant === 'switch' && (h("div", { key: '7e7409797f2951a698c069e7353abcf42890feda', class: classNames('handle', {
|
|
43
43
|
disabled: this.disabled,
|
|
44
44
|
checked: this.checked,
|
|
45
45
|
}) }))));
|
|
@@ -246,11 +246,11 @@ const Tooltip = class {
|
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
render() {
|
|
249
|
-
return (h(Host, { key: '
|
|
249
|
+
return (h(Host, { key: '3930a26de470834980f7ae4c20aaad2608ae7c30' }, h("div", { key: '3629480073cc99477d5b9bca6bfeb52113f8b1c4', class: "target", ref: (el) => {
|
|
250
250
|
this.targetElement = el;
|
|
251
|
-
}, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, h("slot", { key: '
|
|
251
|
+
}, onPointerEnter: this.handlePointerEnter, onPointerLeave: this.handlePointerLeave }, h("slot", { key: '0188c14cca67998c42b3bd7663129dc3cd282f12' })), h("div", { key: '1bc3fef4a7a492f4263870934f3ddc3f0e777316', class: "content-hidden", ref: (el) => {
|
|
252
252
|
this.contentElement = el;
|
|
253
|
-
} }, h("slot", { key: '
|
|
253
|
+
} }, h("slot", { key: 'bd0ee15400cc05d17ddfe457fcbf751a90a06aae', name: "content", onSlotchange: this.handleContentChange }))));
|
|
254
254
|
}
|
|
255
255
|
addElement() {
|
|
256
256
|
if (this.targetElement != null) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h } from '../../stencil-public-runtime';
|
|
2
2
|
export type ChipVariant = 'filled' | 'outlined';
|
|
3
3
|
export type ChipColor = 'primary' | 'secondary';
|
|
4
|
+
export type ChipSize = 'sm' | 'md' | 'lg';
|
|
4
5
|
export declare class Chip {
|
|
5
6
|
/**
|
|
6
7
|
* The variant of this <vertex-chip>.
|
|
@@ -12,5 +13,10 @@ export declare class Chip {
|
|
|
12
13
|
* Can be "primary" or "secondary" and defaults to "secondary".
|
|
13
14
|
*/
|
|
14
15
|
color: ChipColor;
|
|
16
|
+
/**
|
|
17
|
+
* The size of this <vertex-chip>.
|
|
18
|
+
* Can be "sm", "md", or "lg" and defaults to "md".
|
|
19
|
+
*/
|
|
20
|
+
size: ChipSize;
|
|
15
21
|
render(): h.JSX.IntrinsicElements;
|
|
16
22
|
}
|
|
@@ -10,7 +10,7 @@ import { BadgeIconColor } from "./components/badge/badge";
|
|
|
10
10
|
import { BannerPlacement, BannerType } from "./components/banner/banner";
|
|
11
11
|
import { ButtonColor, ButtonExpand, ButtonSize, ButtonType, ButtonVariant } from "./components/button/button";
|
|
12
12
|
import { CardMode } from "./components/card/card";
|
|
13
|
-
import { ChipColor, ChipVariant } from "./components/chip/chip";
|
|
13
|
+
import { ChipColor, ChipSize, ChipVariant } from "./components/chip/chip";
|
|
14
14
|
import { InputChangeEventDetail, TextSize } from "./components/text-field/text-field";
|
|
15
15
|
import { Popover, PopoverPlacement } from "./components/popover/popover";
|
|
16
16
|
import { ColorPickerSizeSize, SelectionChangedDetails } from "./components/color-circle-picker/color-circle-picker";
|
|
@@ -37,7 +37,7 @@ export { BadgeIconColor } from "./components/badge/badge";
|
|
|
37
37
|
export { BannerPlacement, BannerType } from "./components/banner/banner";
|
|
38
38
|
export { ButtonColor, ButtonExpand, ButtonSize, ButtonType, ButtonVariant } from "./components/button/button";
|
|
39
39
|
export { CardMode } from "./components/card/card";
|
|
40
|
-
export { ChipColor, ChipVariant } from "./components/chip/chip";
|
|
40
|
+
export { ChipColor, ChipSize, ChipVariant } from "./components/chip/chip";
|
|
41
41
|
export { InputChangeEventDetail, TextSize } from "./components/text-field/text-field";
|
|
42
42
|
export { Popover, PopoverPlacement } from "./components/popover/popover";
|
|
43
43
|
export { ColorPickerSizeSize, SelectionChangedDetails } from "./components/color-circle-picker/color-circle-picker";
|
|
@@ -215,6 +215,11 @@ export namespace Components {
|
|
|
215
215
|
* @default 'secondary'
|
|
216
216
|
*/
|
|
217
217
|
"color": ChipColor;
|
|
218
|
+
/**
|
|
219
|
+
* The size of this <vertex-chip>. Can be "sm", "md", or "lg" and defaults to "md".
|
|
220
|
+
* @default 'md'
|
|
221
|
+
*/
|
|
222
|
+
"size": ChipSize;
|
|
218
223
|
/**
|
|
219
224
|
* The variant of this <vertex-chip>. Can be "filled" or "outlined" and defaults to "filled".
|
|
220
225
|
* @default 'filled'
|
|
@@ -1912,6 +1917,11 @@ declare namespace LocalJSX {
|
|
|
1912
1917
|
* @default 'secondary'
|
|
1913
1918
|
*/
|
|
1914
1919
|
"color"?: ChipColor;
|
|
1920
|
+
/**
|
|
1921
|
+
* The size of this <vertex-chip>. Can be "sm", "md", or "lg" and defaults to "md".
|
|
1922
|
+
* @default 'md'
|
|
1923
|
+
*/
|
|
1924
|
+
"size"?: ChipSize;
|
|
1915
1925
|
/**
|
|
1916
1926
|
* The variant of this <vertex-chip>. Can be "filled" or "outlined" and defaults to "filled".
|
|
1917
1927
|
* @default 'filled'
|
|
@@ -2936,6 +2946,7 @@ declare namespace LocalJSX {
|
|
|
2936
2946
|
interface VertexChipAttributes {
|
|
2937
2947
|
"variant": ChipVariant;
|
|
2938
2948
|
"color": ChipColor;
|
|
2949
|
+
"size": ChipSize;
|
|
2939
2950
|
}
|
|
2940
2951
|
interface VertexClickToEditTextfieldAttributes {
|
|
2941
2952
|
"placeholder": string;
|
package/package.json
CHANGED
|
@@ -1,15 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertexvis/ui",
|
|
3
|
-
"version": "1.0.0-testing.
|
|
3
|
+
"version": "1.0.0-testing.2",
|
|
4
4
|
"description": "The Vertex UI component library.",
|
|
5
|
-
"
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
6
7
|
"module": "dist/index.js",
|
|
7
|
-
"
|
|
8
|
-
"es2017": "dist/esm/index.js",
|
|
8
|
+
"es2019": "dist/esm/index.js",
|
|
9
9
|
"types": "dist/types/index.d.ts",
|
|
10
10
|
"collection": "dist/collection/collection-manifest.json",
|
|
11
11
|
"collection:main": "dist/collection/index.js",
|
|
12
|
-
"
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/esm/index.js",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"default": "./dist/esm/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./viewer.css": "./dist/viewer/viewer.css",
|
|
20
|
+
"./dist/*": "./dist/*",
|
|
21
|
+
"./dist/components": {
|
|
22
|
+
"types": "./dist/components/index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./dist/components/*": {
|
|
25
|
+
"import": "./dist/components/*",
|
|
26
|
+
"default": "./dist/components/*"
|
|
27
|
+
},
|
|
28
|
+
"./loader/*": "./loader/*",
|
|
29
|
+
"./loader": {
|
|
30
|
+
"types": "./loader/index.d.ts",
|
|
31
|
+
"import": "./loader/index.js",
|
|
32
|
+
"require": "./loader/index.cjs",
|
|
33
|
+
"default": "./loader/index.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"author": "Vertex Developers <support@vertex3d.com> (https://developer.vertex3d.com)",
|
|
13
37
|
"homepage": "https://github.com/Vertexvis/vertex-web-ui#readme",
|
|
14
38
|
"repository": {
|
|
15
39
|
"type": "git",
|
|
@@ -87,5 +111,5 @@
|
|
|
87
111
|
"@vertexvis/utils": "^1.0.0-canary.0",
|
|
88
112
|
"fast-deep-equal": "^3.1.3"
|
|
89
113
|
},
|
|
90
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "f8cfb404594431e0ea817d5d048f2e2682e5592d"
|
|
91
115
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,h as t}from"./p-C27tS7nl.js";const a=class{constructor(t){e(this,t)}render(){return t("div",{key:"14156280b58c863112f73250ed035167b2df7a67",class:"root"},t("div",{key:"b92808bb9f4e15cdba465e94bc45027901d853e6",class:"base"},t("slot",{key:"2014fbcd96024c1491482c7fb8c1d34a2f59e1f6",name:"base"})),t("div",{key:"32818c1d98aebd924e06febf5854a23f6a0658a5",class:"top"},t("slot",{key:"f48c82328486a0506b77fc041142e24bb164b0f6"})))}};a.style=".root{position:relative}.base{position:absolute;left:0;top:0}.top{position:absolute;left:0.5rem;top:0.5rem}";export{a as vertex_avatar_group}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,c as a,h as t}from"./p-C27tS7nl.js";const d=class{constructor(t){e(this,t),this.menuOpened=a(this,"menuOpened"),this.menuClosed=a(this,"menuClosed"),this.animated=!0,this.placement="bottom-end",this.open=!1,this.handleClick=this.handleClick.bind(this),this.handleMenuClosed=this.handleMenuClosed.bind(this)}render(){return t("vertex-menu",{key:"b47388e259fcaf705d35bc2c6b93c4bbfd530fe2",open:this.open,animated:this.animated,placement:this.placement,onMenuClosed:this.handleMenuClosed},t("div",{key:"136d2f97a894d036e3a89253519f7d696cd11886",slot:"anchor",onClick:this.handleClick},t("slot",{key:"14f134e4e3038051894cb1b53e964be356c8c25e",name:"anchor"})),t("div",{key:"4dfab76f26df46d6224fd485c24258e26dd67954",class:"root"},t("div",{key:"d3279b16359c7a882fc1a42da3286c586aa0f2af",slot:"header",class:"header"},t("slot",{key:"7d37e800f9053d3dc65e7d6a28a04da5df5d446b",name:"header"})),t("div",{key:"9a3547ee8ad7b703496a819f89c4d9fcad814921",class:"body"},t("slot",{key:"503618e2bd54f93f14aa7216b1afeb426302adbc",name:"body"})),t("div",{key:"9cfa757250da4653ebadffff579c8c848a3018d7",class:"learn-more"},t("slot",{key:"a46b653f2fa6fadca1e82bd9ebcfbe39fb8693ca",name:"learnMore"}))))}handleClick(e){this.open||(this.open=!0,this.menuOpened.emit(e))}handleMenuClosed(){this.open=!1,this.menuClosed.emit()}};d.style=".root{margin:var(--padding-4)}.header{margin-bottom:var(--padding-2);font-size:0.95em;font-weight:normal;color:var(--neutral-800)}.body,.learn-more{width:225px;font-size:0.85em;color:var(--neutral-700);line-height:1.2em}.learn-more{margin-top:var(--padding-4);color:var(--blue-700);text-align:right}";export{d as vertex_help_tooltip}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r,h as o}from"./p-C27tS7nl.js";const e=class{constructor(o){r(this,o)}render(){return o("div",{key:"512e5e2fa2dac7780bbad2c00ccb0875617dc158",class:"root"})}};e.style=":host{--color:var(--vertex-ui-neutral-300)}.root{margin:0.12em 0;border-top:1px solid var(--color)}";export{e as vertex_menu_divider}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e,p as a,H as d,h as l}from"./p-BbDaHMlz.js";const o=a(class extends d{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return l("div",{key:"dce8a000becbe6db27213e4ef6bb908512abb419",class:"container"},l("svg",{key:"abecfb11c7a782fece0f39c2f55c42aa5419a7c8",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 100 100"},l("defs",{key:"6db0649cd3035e12d16eb11007cfec94fabdf9c6"},l("mask",{key:"b26034899513263bcd19b4c0976ef3b27bb1d815",id:"orange-loading-diamond"},l("polygon",{key:"db6c863adfdfe6f2440cf6cbd28225bb7899752b",points:"70.75 50.7 57.09 74.45 84.32 74.42 98 50.66 70.75 50.7",fill:"#fff",class:"color-loading-fill"})),l("mask",{key:"7739fc34aea0d8439596dad6235281ad21d90889",id:"blue-loading-diamond"},l("polygon",{key:"f568445fe6fa04a83062f1dce3affd682a245dc4",points:"16.05 98.04 2.43 74.44 16.06 50.78 29.68 74.44 16.05 98.04",fill:"#fff",class:"color-loading-fill"})),l("mask",{key:"1f0816a1c3fa2d5e73650581d953cd988f74613e",id:"green-loading-diamond"},l("polygon",{key:"6f888218b915171c5565b79b2515ce0a86102dd0",points:"16.05 3.53 2.43 27.13 16.06 50.78 29.68 27.12 16.05 3.53",fill:"#fff",class:"color-loading-fill"})),l("mask",{key:"8362119a2e3c98944d28e1f9e172e12e177e0bb4",id:"left-center-loading-diamond"},l("polygon",{key:"e434a8e20039dd8830f2a87548094f375ddcb947",points:"29.68 27.18 16.06 50.78 29.69 74.44 43.31 50.78 29.68 27.18",fill:"#fff",class:"center-loading-fill"})),l("mask",{key:"677eda84978c640238c63cbb3158eec75b620e46",id:"right-center-loading-diamond"},l("polygon",{key:"72aa1633ad5dcc9ef3decd53d36ab39853bfa8f6",points:"43.31 50.78 29.68 74.46 57.09 74.45 70.75 50.7 43.31 50.78",fill:"#fff",class:"center-loading-fill"}))),l("polyline",{key:"d5daf52f678d8097af82d5cb893aa23d21615871",points:"57.09 27.11 70.75 50.7 70.67 50.84 57.09 74.45 84.32 74.42 98 50.66 84.34 27.08 57.09 27.11",fill:"#f90"}),l("polyline",{key:"316425ac2204c889dbe7b2418ace2fda9639d491",mask:"url(#orange-loading-diamond)",points:"70.75 50.7 57.09 74.45 84.32 74.42 98 50.66 70.75 50.7",fill:"#d37f00"}),l("polygon",{key:"bf25516f74d7ee233833d87a36d7ba78701956bb",points:"29.68 74.44 57.09 74.45 43.46 98.05 16.05 98.04 2.43 74.44 16.06 50.78 29.68 74.44",fill:"#09c"}),l("polygon",{key:"f38d247c04ed1220790fb84764df855e0d6afebb",mask:"url(#blue-loading-diamond)",points:"16.05 98.04 2.43 74.44 16.06 50.78 29.68 74.44 16.05 98.04",fill:"#007fa9"}),l("polygon",{key:"42626679c63bca82830badd2bf721fbb550a387a",points:"29.68 27.12 57.09 27.11 43.46 3.52 16.05 3.53 2.43 27.13 16.06 50.78 29.68 27.12",fill:"#00b600"}),l("polygon",{key:"6ca2b53cbaa1ab25ef04f360b7088f58ff48a6d0",mask:"url(#green-loading-diamond)",points:"16.05 3.53 2.43 27.13 16.06 50.78 29.68 27.12 16.05 3.53",fill:"#009700"}),l("polygon",{key:"ea36aa2b42d85dddeb27ae8a3dff52ea584fb775",mask:"url(#left-center-loading-diamond)",points:"29.68 27.18 16.06 50.78 29.69 74.44 43.31 50.78 29.68 27.18",fill:"#bdbdbd"}),l("polygon",{key:"9244038c40d1d9a9ce832d8e0e7c850987f943bf",mask:"url(#right-center-loading-diamond)",points:"43.31 50.78 29.68 74.46 57.09 74.45 70.75 50.7 43.31 50.78",fill:"#e0e0e0"})))}static get style(){return"@keyframes color-loading{0%{transform:translate(30px, -50px)}10%{transform:translateY(0)}70%{opacity:1}75%,100%{opacity:0}}@keyframes center-loading{0%{transform:translate(-30px, 50px)}10%{transform:translate(0, 0)}70%{opacity:1}75%,100%{opacity:0}}.container{width:100%;height:100%}.visual-center{transform:translateX(7%)}.color-loading-fill{animation:color-loading 2.5s infinite linear}.center-loading-fill{animation:center-loading 2.5s infinite linear}"}},[1,"vertex-logo-loading"]);function n(){"undefined"!=typeof customElements&&["vertex-logo-loading"].forEach((a=>{"vertex-logo-loading"===a&&(customElements.get(e(a))||customElements.define(e(a),o))}))}n();export{o as L,n as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e,p as t,H as s,h as a}from"./p-BbDaHMlz.js";const o=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"14156280b58c863112f73250ed035167b2df7a67",class:"root"},a("div",{key:"b92808bb9f4e15cdba465e94bc45027901d853e6",class:"base"},a("slot",{key:"2014fbcd96024c1491482c7fb8c1d34a2f59e1f6",name:"base"})),a("div",{key:"32818c1d98aebd924e06febf5854a23f6a0658a5",class:"top"},a("slot",{key:"f48c82328486a0506b77fc041142e24bb164b0f6"})))}static get style(){return".root{position:relative}.base{position:absolute;left:0;top:0}.top{position:absolute;left:0.5rem;top:0.5rem}"}},[257,"vertex-avatar-group"]);function r(){"undefined"!=typeof customElements&&["vertex-avatar-group"].forEach((t=>{"vertex-avatar-group"===t&&(customElements.get(e(t))||customElements.define(e(t),o))}))}r();export{o as A,r as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e,p as t,H as s,c as n,h as o}from"./p-BbDaHMlz.js";import{d}from"./p-BdR40EV2.js";import{d as a}from"./p-Ci26QjYl.js";const i=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.menuOpened=n(this,"menuOpened"),this.menuClosed=n(this,"menuClosed"),this.animated=!0,this.placement="bottom-end",this.open=!1,this.handleClick=this.handleClick.bind(this),this.handleMenuClosed=this.handleMenuClosed.bind(this)}render(){return o("vertex-menu",{key:"a47155e5da8b418f87738d0488ca9c56ea28d09d",open:this.open,animated:this.animated,placement:this.placement,onMenuClosed:this.handleMenuClosed},o("div",{key:"ebe641d75858a3bf8cc12cfa8ff0b21e2cfc82bc",slot:"anchor",onClick:this.handleClick},o("slot",{key:"3675c17e3810f9e2237fb90fdccf0e3f3097ffb2",name:"anchor"})),o("div",{key:"047cb9f3903d12e13e750d0d92e4fce408361f3b",slot:"header"},o("slot",{key:"2477e7a51df8eef64d8a63e4b6f9b1bfea881676",name:"header"})),o("slot",{key:"d6fbba6304bd53fe761608073406fca3447d6d0b"}))}handleClick(e){this.open||(this.open=!0,this.menuOpened.emit(e))}handleMenuClosed(){this.open=!1,this.menuClosed.emit()}},[257,"vertex-dropdown-menu",{animated:[4],placement:[1],open:[32]}]);function c(){"undefined"!=typeof customElements&&["vertex-dropdown-menu","vertex-menu","vertex-popover"].forEach((t=>{switch(t){case"vertex-dropdown-menu":customElements.get(e(t))||customElements.define(e(t),i);break;case"vertex-menu":customElements.get(e(t))||d();break;case"vertex-popover":customElements.get(e(t))||a()}}))}c();export{i as D,c as d}
|