@vertexvis/ui 0.1.5-testing.0 → 1.0.0-testing.1
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 +14 -84
- package/dist/cjs/{dom-a2c535e3.js → dom-v38DVhe2.js} +4 -4
- package/dist/cjs/icon-helper-ut8vR2Rk.js +559 -0
- package/dist/cjs/index-D-R2lvls.js +62 -0
- package/dist/cjs/index-DihxupoM.js +95 -0
- package/dist/cjs/index-DwS9D24e.js +2230 -0
- package/dist/cjs/index.cjs.js +91 -92
- package/dist/cjs/{lib-1bd1e383.js → lib-CCXuRx1c.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -15
- package/dist/cjs/slots-DEdmqbtw.js +29 -0
- package/dist/cjs/templates-C_WUWcnZ.js +230 -0
- package/dist/cjs/tslib.es6-AsLBQn5u.js +68 -0
- package/dist/cjs/vertex-auto-resize-textarea.cjs.entry.js +132 -5
- package/dist/cjs/vertex-avatar-group.cjs.entry.js +12 -5
- package/dist/cjs/vertex-avatar.cjs.entry.js +44 -6
- package/dist/cjs/vertex-badge.cjs.entry.js +21 -6
- package/dist/cjs/vertex-banner.cjs.entry.js +122 -7
- package/dist/cjs/vertex-button.cjs.entry.js +83 -6
- package/dist/cjs/vertex-card-group.cjs.entry.js +34 -6
- package/dist/cjs/vertex-card.cjs.entry.js +33 -5
- package/dist/cjs/vertex-chip.cjs.entry.js +28 -6
- package/dist/cjs/vertex-click-to-edit-textfield.cjs.entry.js +112 -7
- package/dist/cjs/vertex-collapsible.cjs.entry.js +22 -6
- package/dist/cjs/vertex-color-circle-picker.cjs.entry.js +142 -6
- package/dist/cjs/vertex-color-picker.cjs.entry.js +67 -7
- package/dist/cjs/vertex-color-swatch.cjs.entry.js +141 -7
- package/dist/cjs/vertex-context-menu.cjs.entry.js +91 -6
- package/dist/cjs/vertex-dialog.cjs.entry.js +226 -5
- package/dist/cjs/vertex-draggable-popover.cjs.entry.js +79 -6
- package/dist/cjs/vertex-dropdown-menu.cjs.entry.js +34 -6
- package/dist/cjs/vertex-expandable.cjs.entry.js +101 -6
- package/dist/cjs/vertex-help-tooltip.cjs.entry.js +36 -5
- package/dist/cjs/vertex-icon-button.cjs.entry.js +58 -7
- package/dist/cjs/vertex-icon.cjs.entry.js +29 -7
- package/dist/cjs/vertex-logo-loading.cjs.entry.js +12 -5
- package/dist/cjs/vertex-menu-divider.cjs.entry.js +12 -5
- package/dist/cjs/vertex-menu-item.cjs.entry.js +24 -6
- package/dist/cjs/vertex-menu.cjs.entry.js +80 -6
- package/dist/cjs/vertex-popover.cjs.entry.js +1894 -5
- package/dist/cjs/vertex-radio-group.cjs.entry.js +73 -5
- package/dist/cjs/vertex-radio.cjs.entry.js +29 -6
- package/dist/cjs/vertex-resizable.cjs.entry.js +439 -7
- package/dist/cjs/vertex-result-list.cjs.entry.js +300 -7
- package/dist/cjs/vertex-search-bar.cjs.entry.js +528 -7
- package/dist/cjs/vertex-select.cjs.entry.js +181 -6
- package/dist/cjs/vertex-slider.cjs.entry.js +55 -7
- package/dist/cjs/vertex-spinner.cjs.entry.js +32 -6
- package/dist/cjs/vertex-tab.cjs.entry.js +20 -6
- package/dist/cjs/vertex-tabs.cjs.entry.js +104 -6
- package/dist/cjs/vertex-textfield.cjs.entry.js +147 -7
- package/dist/cjs/vertex-toast.cjs.entry.js +109 -6
- package/dist/cjs/vertex-toggle.cjs.entry.js +47 -6
- package/dist/cjs/vertex-tooltip.cjs.entry.js +343 -8
- package/dist/collection/collection-manifest.json +44 -43
- package/dist/collection/components/auto-resize-textarea/auto-resize-textarea.js +222 -213
- package/dist/collection/components/auto-resize-textarea/utils.js +1 -1
- package/dist/collection/components/avatar/avatar.js +153 -137
- package/dist/collection/components/avatar-group/avatar-group.js +16 -16
- package/dist/collection/components/badge/badge.js +75 -66
- package/dist/collection/components/banner/banner.js +284 -247
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +274 -230
- package/dist/collection/components/card/card.js +89 -76
- package/dist/collection/components/card-group/card-group.js +104 -89
- package/dist/collection/components/chip/chip.js +89 -73
- package/dist/collection/components/click-to-edit-text-field/click-to-edit-text-field.js +412 -373
- package/dist/collection/components/collapsible/collapsible.js +71 -65
- package/dist/collection/components/color-circle-picker/color-circle-picker.js +398 -312
- package/dist/collection/components/color-picker/color-picker.js +225 -186
- package/dist/collection/components/color-swatch/color-swatch.js +341 -272
- package/dist/collection/components/color-swatch/lib.js +2 -2
- package/dist/collection/components/context-menu/context-menu.js +168 -161
- package/dist/collection/components/dialog/dialog.js +332 -323
- package/dist/collection/components/dialog/lib.js +4 -4
- package/dist/collection/components/draggable-popover/draggable-popover.js +182 -175
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +122 -108
- package/dist/collection/components/expandable/expandable.js +272 -224
- package/dist/collection/components/help-tooltip/help-tooltip.js +132 -118
- package/dist/collection/components/icon/icon-helper.js +414 -414
- package/dist/collection/components/icon/icon.js +91 -75
- package/dist/collection/components/icon/icons/adjustments.js +1 -1
- package/dist/collection/components/icon/icons/align-to-global.js +1 -1
- package/dist/collection/components/icon/icons/align-to-part.js +1 -1
- package/dist/collection/components/icon/icons/align-to-surface.js +1 -1
- package/dist/collection/components/icon/icons/align-view-to-plane.js +1 -1
- package/dist/collection/components/icon/icons/annotation.js +1 -1
- package/dist/collection/components/icon/icons/arrow-filled.js +1 -1
- package/dist/collection/components/icon/icons/arrow-left-circled.js +1 -1
- package/dist/collection/components/icon/icons/arrow-line-left.js +1 -1
- package/dist/collection/components/icon/icons/arrow-line-right.js +1 -1
- package/dist/collection/components/icon/icons/arrow-partial.js +1 -1
- package/dist/collection/components/icon/icons/arrow-right-circled.js +2 -2
- package/dist/collection/components/icon/icons/arrow-swap.js +1 -1
- package/dist/collection/components/icon/icons/arrow-triangle-left.js +1 -1
- package/dist/collection/components/icon/icons/arrow-triangle-right.js +1 -1
- package/dist/collection/components/icon/icons/arrow-up-circled.js +1 -1
- package/dist/collection/components/icon/icons/attachment.js +1 -1
- package/dist/collection/components/icon/icons/axis-x.js +1 -1
- package/dist/collection/components/icon/icons/axis-y.js +1 -1
- package/dist/collection/components/icon/icons/axis-z.js +1 -1
- package/dist/collection/components/icon/icons/back.js +1 -1
- package/dist/collection/components/icon/icons/box-cursor.js +1 -1
- package/dist/collection/components/icon/icons/box-select.js +1 -1
- package/dist/collection/components/icon/icons/camera-add.js +1 -1
- package/dist/collection/components/icon/icons/camera.js +1 -1
- package/dist/collection/components/icon/icons/caret-down.js +1 -1
- package/dist/collection/components/icon/icons/caret-left.js +1 -1
- package/dist/collection/components/icon/icons/caret-right.js +1 -1
- package/dist/collection/components/icon/icons/caret-up.js +1 -1
- package/dist/collection/components/icon/icons/caution.js +1 -1
- package/dist/collection/components/icon/icons/check-circle.js +1 -1
- package/dist/collection/components/icon/icons/check.js +1 -1
- package/dist/collection/components/icon/icons/chevron-down.js +1 -1
- package/dist/collection/components/icon/icons/chevron-left.js +1 -1
- package/dist/collection/components/icon/icons/chevron-right.js +1 -1
- package/dist/collection/components/icon/icons/chevron-up.js +1 -1
- package/dist/collection/components/icon/icons/circle-outline.js +1 -1
- package/dist/collection/components/icon/icons/close-circle-fill.js +1 -1
- package/dist/collection/components/icon/icons/close-circle.js +1 -1
- package/dist/collection/components/icon/icons/close.js +1 -1
- package/dist/collection/components/icon/icons/collapse-all.js +1 -1
- package/dist/collection/components/icon/icons/columns-add.js +1 -1
- package/dist/collection/components/icon/icons/columns.js +1 -1
- package/dist/collection/components/icon/icons/comment-add.js +1 -1
- package/dist/collection/components/icon/icons/comment-filled.js +1 -1
- package/dist/collection/components/icon/icons/comment-reopen.js +1 -1
- package/dist/collection/components/icon/icons/comment-resolve.js +1 -1
- package/dist/collection/components/icon/icons/comment-show.js +1 -1
- package/dist/collection/components/icon/icons/compare.js +1 -1
- package/dist/collection/components/icon/icons/compress.js +1 -1
- package/dist/collection/components/icon/icons/copy.js +1 -1
- package/dist/collection/components/icon/icons/cross-section.js +1 -1
- package/dist/collection/components/icon/icons/cube-orthographic.js +1 -1
- package/dist/collection/components/icon/icons/cube-perspective.js +1 -1
- package/dist/collection/components/icon/icons/cube-stack.js +1 -1
- package/dist/collection/components/icon/icons/delete.js +1 -1
- package/dist/collection/components/icon/icons/download.js +1 -1
- package/dist/collection/components/icon/icons/drag-indicator.js +1 -1
- package/dist/collection/components/icon/icons/ellipse.js +1 -1
- package/dist/collection/components/icon/icons/error-circle.js +1 -1
- package/dist/collection/components/icon/icons/expand-all.js +1 -1
- package/dist/collection/components/icon/icons/expand.js +1 -1
- package/dist/collection/components/icon/icons/export.js +1 -1
- package/dist/collection/components/icon/icons/file-folder.js +1 -1
- package/dist/collection/components/icon/icons/file-pdf.js +1 -1
- package/dist/collection/components/icon/icons/file.js +1 -1
- package/dist/collection/components/icon/icons/fit-all.js +1 -1
- package/dist/collection/components/icon/icons/fit-selected.js +1 -1
- package/dist/collection/components/icon/icons/flip.js +1 -1
- package/dist/collection/components/icon/icons/folder-plus.js +1 -1
- package/dist/collection/components/icon/icons/forward.js +1 -1
- package/dist/collection/components/icon/icons/gear.js +1 -1
- package/dist/collection/components/icon/icons/help.js +1 -1
- package/dist/collection/components/icon/icons/info.js +1 -1
- package/dist/collection/components/icon/icons/invert.js +1 -1
- package/dist/collection/components/icon/icons/label-off.js +1 -1
- package/dist/collection/components/icon/icons/label.js +1 -1
- package/dist/collection/components/icon/icons/line-dot-left.js +1 -1
- package/dist/collection/components/icon/icons/line-dot-right.js +1 -1
- package/dist/collection/components/icon/icons/line-hash-left.js +1 -1
- package/dist/collection/components/icon/icons/line-hash-right.js +1 -1
- package/dist/collection/components/icon/icons/line.js +1 -1
- package/dist/collection/components/icon/icons/locate.js +1 -1
- package/dist/collection/components/icon/icons/lock-closed.js +1 -1
- package/dist/collection/components/icon/icons/lock-open.js +1 -1
- package/dist/collection/components/icon/icons/markup.js +1 -1
- package/dist/collection/components/icon/icons/menu.js +1 -1
- package/dist/collection/components/icon/icons/notification.js +1 -1
- package/dist/collection/components/icon/icons/open-window.js +1 -1
- package/dist/collection/components/icon/icons/open.js +1 -1
- package/dist/collection/components/icon/icons/pan.js +1 -1
- package/dist/collection/components/icon/icons/paper-airplane.js +1 -1
- package/dist/collection/components/icon/icons/paste.js +1 -1
- package/dist/collection/components/icon/icons/pencil.js +1 -1
- package/dist/collection/components/icon/icons/person-height.js +1 -1
- package/dist/collection/components/icon/icons/person-run.js +1 -1
- package/dist/collection/components/icon/icons/person-short.js +1 -1
- package/dist/collection/components/icon/icons/person-tall.js +1 -1
- package/dist/collection/components/icon/icons/person-walk.js +1 -1
- package/dist/collection/components/icon/icons/pin-fill.js +1 -1
- package/dist/collection/components/icon/icons/pin-line.js +1 -1
- package/dist/collection/components/icon/icons/pin-text-fill.js +1 -1
- package/dist/collection/components/icon/icons/pin-text-square.js +1 -1
- package/dist/collection/components/icon/icons/pin-text.js +1 -1
- package/dist/collection/components/icon/icons/plus-with-arrow.js +1 -1
- package/dist/collection/components/icon/icons/plus.js +1 -1
- package/dist/collection/components/icon/icons/pmi.js +1 -1
- package/dist/collection/components/icon/icons/precise-measurement.js +1 -1
- package/dist/collection/components/icon/icons/rabbit.js +1 -1
- package/dist/collection/components/icon/icons/refresh.js +1 -1
- package/dist/collection/components/icon/icons/rename.js +1 -1
- package/dist/collection/components/icon/icons/report.js +1 -1
- package/dist/collection/components/icon/icons/reset.js +1 -1
- package/dist/collection/components/icon/icons/resize.js +1 -1
- package/dist/collection/components/icon/icons/rotate.js +1 -1
- package/dist/collection/components/icon/icons/ruler.js +1 -1
- package/dist/collection/components/icon/icons/scissors.js +1 -1
- package/dist/collection/components/icon/icons/search.js +1 -1
- package/dist/collection/components/icon/icons/show-only-nearby.js +1 -1
- package/dist/collection/components/icon/icons/snapshots.js +1 -1
- package/dist/collection/components/icon/icons/square-dot-outline.js +1 -1
- package/dist/collection/components/icon/icons/star.js +1 -1
- package/dist/collection/components/icon/icons/tag.js +1 -1
- package/dist/collection/components/icon/icons/tape-measure.js +1 -1
- package/dist/collection/components/icon/icons/teleport-and-align.js +1 -1
- package/dist/collection/components/icon/icons/teleport-toward.js +1 -1
- package/dist/collection/components/icon/icons/teleport.js +1 -1
- package/dist/collection/components/icon/icons/triad.js +1 -1
- package/dist/collection/components/icon/icons/turtle.js +1 -1
- package/dist/collection/components/icon/icons/update.js +1 -1
- package/dist/collection/components/icon/icons/version-history.js +1 -1
- package/dist/collection/components/icon/icons/views.js +1 -1
- package/dist/collection/components/icon/icons/visibility-hidden.js +1 -1
- package/dist/collection/components/icon/icons/visibility-partial.js +1 -1
- package/dist/collection/components/icon/icons/visibility-visible.js +1 -1
- package/dist/collection/components/icon/icons/workspace-add.js +1 -1
- package/dist/collection/components/icon/icons/zoom.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +5 -2
- package/dist/collection/components/icon-button/icon-button.js +190 -152
- package/dist/collection/components/logo-loading/logo-loading.js +16 -16
- package/dist/collection/components/menu/menu.js +286 -250
- package/dist/collection/components/menu-divider/menu-divider.js +16 -16
- package/dist/collection/components/menu-item/menu-item.js +54 -48
- package/dist/collection/components/popover/middleware.js +22 -22
- package/dist/collection/components/popover/popover.js +654 -567
- package/dist/collection/components/popover/util.js +7 -7
- package/dist/collection/components/radio/radio.js +157 -145
- package/dist/collection/components/radio-group/radio-group.js +135 -133
- package/dist/collection/components/resizable/resizable.js +758 -702
- package/dist/collection/components/result-list/lib.js +6 -6
- package/dist/collection/components/result-list/result-list.js +456 -431
- package/dist/collection/components/search-bar/dom.js +13 -13
- package/dist/collection/components/search-bar/lib.js +50 -50
- package/dist/collection/components/search-bar/search-bar.js +739 -661
- package/dist/collection/components/select/select.css +7 -2
- package/dist/collection/components/select/select.js +332 -303
- package/dist/collection/components/slider/slider.js +258 -220
- package/dist/collection/components/spinner/spinner.js +93 -77
- package/dist/collection/components/tab/tab.js +86 -83
- package/dist/collection/components/tab/util.js +1 -1
- package/dist/collection/components/tabs/tabs.js +150 -151
- package/dist/collection/components/text-field/text-field.js +637 -572
- package/dist/collection/components/toast/toast.js +266 -228
- package/dist/collection/components/toggle/toggle.js +139 -119
- package/dist/collection/components/tooltip/tooltip.js +280 -247
- package/dist/collection/types/icon.js +137 -137
- package/dist/collection/util/components/dom.js +5 -5
- package/dist/collection/util/components/slots.js +17 -17
- package/dist/collection/util/templates/binding.js +121 -121
- package/dist/collection/util/templates/element-pool.js +79 -79
- package/dist/collection/util/templates/templates.js +15 -15
- package/dist/components/components.esm.js +1 -1
- package/dist/components/index.d.ts +6 -42
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -52
- package/dist/components/p-00eaa8d7.entry.js +1 -0
- package/dist/components/p-0180556d.entry.js +1 -0
- package/dist/components/p-091b9e27.entry.js +1 -0
- package/dist/components/p-0af9b71c.entry.js +1 -0
- package/dist/components/p-0bd4222b.entry.js +1 -0
- package/dist/components/p-0c389e6f.entry.js +1 -0
- package/dist/{esm/toggle-1fe22e4f.js → components/p-0f13f6f3.entry.js} +1 -38
- package/dist/components/p-1KuzBK7Z.js +1 -0
- package/dist/components/p-1c5e8df5.entry.js +1 -0
- package/dist/components/p-1e6ff76a.entry.js +1 -0
- package/dist/components/p-26f9abc0.entry.js +1 -0
- package/dist/components/p-28460604.entry.js +1 -0
- package/dist/components/p-2cdfe6bf.entry.js +1 -0
- package/dist/components/p-2e0ee616.entry.js +1 -0
- package/dist/components/p-34d8a04e.entry.js +1 -0
- package/dist/components/p-3ddb0c4e.entry.js +1 -0
- package/dist/components/p-4HdACFFW.js +1 -0
- package/dist/components/p-553d01af.entry.js +1 -0
- package/dist/components/p-595b8bd6.entry.js +1 -0
- package/dist/components/p-5c032b37.entry.js +1 -0
- package/dist/components/p-5e3fe5e7.entry.js +1 -0
- package/dist/components/p-61742c05.entry.js +1 -0
- package/dist/components/p-6b2db72c.entry.js +1 -0
- package/dist/components/p-6c6a2fc5.entry.js +1 -0
- package/dist/components/p-6d03a954.entry.js +1 -0
- package/dist/components/p-6qoO8Yf3.js +1 -0
- package/dist/components/p-705d25f3.entry.js +1 -0
- package/dist/components/p-7f768637.entry.js +1 -0
- package/dist/components/p-8358ad1c.entry.js +1 -0
- package/dist/components/p-88781e72.entry.js +1 -0
- package/dist/components/p-B-yvbsY0.js +1 -0
- package/dist/components/p-B23i1cwy.js +1 -0
- package/dist/components/p-B2oECB2P.js +1 -0
- package/dist/components/p-B9qe9CNv.js +1 -0
- package/dist/components/p-BAfJR2VF.js +1 -0
- package/dist/components/p-BHmM6WC-.js +1 -0
- package/dist/components/p-BLc3P-0q.js +1 -0
- package/dist/components/{p-1356f525.js → p-BSoicxl1.js} +1 -1
- package/dist/components/p-BZ5oF5Ci.js +1 -0
- package/dist/components/p-BZutc-CC.js +1 -0
- package/dist/components/p-BbDaHMlz.js +1 -0
- package/dist/components/p-BdR40EV2.js +1 -0
- package/dist/components/p-Beav1bNT.js +6 -0
- package/dist/components/p-Bo65Viuh.js +1 -0
- package/dist/components/p-ByQGREpQ.js +1 -0
- package/dist/components/p-C1H5-_5m.js +1 -0
- package/dist/components/p-C1qwHMcr.js +1 -0
- package/dist/components/p-C27tS7nl.js +2 -0
- package/dist/components/p-C7VaFE8W.js +1 -0
- package/dist/components/p-CAFdRyLE.js +1 -0
- package/dist/components/p-CDYHYPYF.js +1 -0
- package/dist/components/p-CFaiLAq0.js +1 -0
- package/dist/components/{p-59032668.js → p-CIs0DJX1.js} +1 -1
- package/dist/components/p-CZ1Qa_xv.js +1 -0
- package/dist/components/p-CZyp2id8.js +1 -0
- package/dist/components/p-Ci26QjYl.js +1 -0
- package/dist/components/p-D1P5FeY6.js +1 -0
- package/dist/components/p-D3BXoJJN.js +1 -0
- package/dist/components/p-DEpMfvdS.js +1 -0
- package/dist/components/p-DGZHaSjz.js +1 -0
- package/dist/components/p-DHNuRvq0.js +1 -0
- package/dist/components/p-DMLgHhJc.js +1 -0
- package/dist/components/p-DO6VjClS.js +1 -0
- package/dist/components/p-DPgx10Cw.js +1 -0
- package/dist/components/p-DXQBJLz-.js +1 -0
- package/dist/components/p-D_mp9WMh.js +1 -0
- package/dist/components/p-De54LBPx.js +1 -0
- package/dist/components/p-DjrAIJhB.js +1 -0
- package/dist/components/p-DsAkiOMC.js +1 -0
- package/dist/components/p-Dw5WRKyY.js +1 -0
- package/dist/components/p-ILu24ZUX.js +1 -0
- package/dist/components/p-K5a7HQMt.js +1 -0
- package/dist/components/p-KilWQmEJ.js +1 -0
- package/dist/components/p-Mnv_zHXq.js +1 -0
- package/dist/components/p-RaMDrnzd.js +1 -0
- package/dist/components/p-TLO_pywp.js +1 -0
- package/dist/components/p-_3Hgy0Z4.js +1 -0
- package/dist/components/p-a287d016.entry.js +1 -0
- package/dist/components/p-a886721b.entry.js +1 -0
- package/dist/components/p-a8e75bdc.entry.js +1 -0
- package/dist/components/p-al_CUADF.js +1 -0
- package/dist/components/p-b5921385.entry.js +1 -0
- package/dist/components/p-c2f3cf8b.entry.js +1 -0
- package/dist/components/p-ca6a4b08.entry.js +1 -0
- package/dist/components/p-e311af0e.entry.js +1 -0
- package/dist/components/p-eYTN_sVb.js +1 -0
- package/dist/components/p-edfd86c9.entry.js +1 -0
- package/dist/components/p-ef419ddf.entry.js +1 -0
- package/dist/components/p-efd0223b.entry.js +1 -0
- package/dist/components/p-f1abef98.entry.js +1 -0
- package/dist/components/p-f23df530.entry.js +1 -0
- package/dist/components/p-f37dc3c4.entry.js +1 -0
- package/dist/components/p-f793f80a.entry.js +1 -0
- package/dist/components/p-y4p55dbx.js +1 -0
- package/dist/components/vertex-auto-resize-textarea.d.ts +2 -2
- package/dist/components/vertex-auto-resize-textarea.js +1 -6
- package/dist/components/vertex-avatar-group.d.ts +2 -2
- package/dist/components/vertex-avatar-group.js +1 -34
- package/dist/components/vertex-avatar.d.ts +2 -2
- package/dist/components/vertex-avatar.js +1 -68
- package/dist/components/vertex-badge.d.ts +2 -2
- package/dist/components/vertex-badge.js +1 -43
- package/dist/components/vertex-banner.d.ts +2 -2
- package/dist/components/vertex-banner.js +1 -141
- package/dist/components/vertex-button.d.ts +2 -2
- package/dist/components/vertex-button.js +1 -96
- package/dist/components/vertex-card-group.d.ts +2 -2
- package/dist/components/vertex-card-group.js +1 -51
- package/dist/components/vertex-card.d.ts +2 -2
- package/dist/components/vertex-card.js +1 -49
- package/dist/components/vertex-chip.d.ts +2 -2
- package/dist/components/vertex-chip.js +1 -45
- package/dist/components/vertex-click-to-edit-textfield.d.ts +2 -2
- package/dist/components/vertex-click-to-edit-textfield.js +1 -156
- package/dist/components/vertex-collapsible.d.ts +2 -2
- package/dist/components/vertex-collapsible.js +1 -63
- package/dist/components/vertex-color-circle-picker.d.ts +2 -2
- package/dist/components/vertex-color-circle-picker.js +1 -131
- package/dist/components/vertex-color-picker.d.ts +2 -2
- package/dist/components/vertex-color-picker.js +1 -75
- package/dist/components/vertex-color-swatch.d.ts +2 -2
- package/dist/components/vertex-color-swatch.js +1 -6
- package/dist/components/vertex-context-menu.d.ts +2 -2
- package/dist/components/vertex-context-menu.js +1 -125
- package/dist/components/vertex-dialog.d.ts +2 -2
- package/dist/components/vertex-dialog.js +1 -265
- package/dist/components/vertex-draggable-popover.d.ts +2 -2
- package/dist/components/vertex-draggable-popover.js +1 -119
- package/dist/components/vertex-dropdown-menu.d.ts +2 -2
- package/dist/components/vertex-dropdown-menu.js +1 -64
- package/dist/components/vertex-expandable.d.ts +2 -2
- package/dist/components/vertex-expandable.js +1 -6
- package/dist/components/vertex-help-tooltip.d.ts +2 -2
- package/dist/components/vertex-help-tooltip.js +1 -67
- package/dist/components/vertex-icon-button.d.ts +2 -2
- package/dist/components/vertex-icon-button.js +1 -6
- package/dist/components/vertex-icon.d.ts +2 -2
- package/dist/components/vertex-icon.js +1 -6
- package/dist/components/vertex-logo-loading.d.ts +2 -2
- package/dist/components/vertex-logo-loading.js +1 -34
- package/dist/components/vertex-menu-divider.d.ts +2 -2
- package/dist/components/vertex-menu-divider.js +1 -34
- package/dist/components/vertex-menu-item.d.ts +2 -2
- package/dist/components/vertex-menu-item.js +1 -44
- package/dist/components/vertex-menu.d.ts +2 -2
- package/dist/components/vertex-menu.js +1 -6
- package/dist/components/vertex-popover.d.ts +2 -2
- package/dist/components/vertex-popover.js +1 -6
- package/dist/components/vertex-radio-group.d.ts +2 -2
- package/dist/components/vertex-radio-group.js +1 -98
- package/dist/components/vertex-radio.d.ts +2 -2
- package/dist/components/vertex-radio.js +1 -56
- package/dist/components/vertex-resizable.d.ts +2 -2
- package/dist/components/vertex-resizable.js +1 -463
- package/dist/components/vertex-result-list.d.ts +2 -2
- package/dist/components/vertex-result-list.js +1 -6
- package/dist/components/vertex-search-bar.d.ts +2 -2
- package/dist/components/vertex-search-bar.js +1 -568
- package/dist/components/vertex-select.d.ts +2 -2
- package/dist/components/vertex-select.js +1 -202
- package/dist/components/vertex-slider.d.ts +2 -2
- package/dist/components/vertex-slider.js +1 -81
- package/dist/components/vertex-spinner.d.ts +2 -2
- package/dist/components/vertex-spinner.js +1 -49
- package/dist/components/vertex-tab.d.ts +2 -2
- package/dist/components/vertex-tab.js +1 -46
- package/dist/components/vertex-tabs.d.ts +2 -2
- package/dist/components/vertex-tabs.js +1 -133
- package/dist/components/vertex-textfield.d.ts +2 -2
- package/dist/components/vertex-textfield.js +1 -6
- package/dist/components/vertex-toast.d.ts +2 -2
- package/dist/components/vertex-toast.js +1 -127
- package/dist/components/vertex-toggle.d.ts +2 -2
- package/dist/components/vertex-toggle.js +1 -67
- package/dist/components/vertex-tooltip.d.ts +2 -2
- package/dist/components/vertex-tooltip.js +1 -6
- package/dist/esm/components.js +14 -83
- package/dist/{components/dom.js → esm/dom-Oz9KwTs0.js} +4 -4
- package/dist/esm/icon-helper-Dw0fFePg.js +557 -0
- package/dist/esm/index-Beav1bNT.js +92 -0
- package/dist/esm/index-C27tS7nl.js +2219 -0
- package/dist/esm/index-DYRkgxax.js +60 -0
- package/dist/esm/index.js +50 -49
- package/dist/esm/{lib-73fbca8b.js → lib-DgySd_r0.js} +2 -2
- package/dist/esm/loader.js +6 -14
- package/dist/esm/slots-DXuCPm6v.js +26 -0
- package/dist/esm/templates-DZ8xV3--.js +228 -0
- package/dist/esm/tslib.es6-CIs0DJX1.js +65 -0
- package/dist/esm/vertex-auto-resize-textarea.entry.js +136 -3
- package/dist/esm/vertex-avatar-group.entry.js +15 -2
- package/dist/esm/vertex-avatar.entry.js +47 -3
- package/dist/esm/vertex-badge.entry.js +24 -3
- package/dist/esm/vertex-banner.entry.js +125 -4
- package/dist/esm/vertex-button.entry.js +86 -3
- package/dist/esm/vertex-card-group.entry.js +37 -3
- package/dist/esm/vertex-card.entry.js +36 -2
- package/dist/esm/vertex-chip.entry.js +31 -3
- package/dist/esm/vertex-click-to-edit-textfield.entry.js +114 -3
- package/dist/esm/vertex-collapsible.entry.js +25 -3
- package/dist/esm/vertex-color-circle-picker.entry.js +145 -3
- package/dist/esm/vertex-color-picker.entry.js +70 -4
- package/dist/esm/vertex-color-swatch.entry.js +144 -4
- package/dist/esm/vertex-context-menu.entry.js +93 -2
- package/dist/esm/vertex-dialog.entry.js +230 -3
- package/dist/esm/vertex-draggable-popover.entry.js +82 -3
- package/dist/esm/vertex-dropdown-menu.entry.js +36 -2
- package/dist/esm/vertex-expandable.entry.js +104 -3
- package/dist/esm/vertex-help-tooltip.entry.js +39 -2
- package/dist/esm/vertex-icon-button.entry.js +61 -4
- package/dist/esm/vertex-icon.entry.js +32 -4
- package/dist/esm/vertex-logo-loading.entry.js +15 -2
- package/dist/esm/vertex-menu-divider.entry.js +15 -2
- package/dist/esm/vertex-menu-item.entry.js +27 -3
- package/dist/esm/vertex-menu.entry.js +83 -3
- package/dist/esm/vertex-popover.entry.js +1898 -3
- package/dist/esm/vertex-radio-group.entry.js +76 -2
- package/dist/esm/vertex-radio.entry.js +32 -3
- package/dist/esm/vertex-resizable.entry.js +442 -4
- package/dist/esm/vertex-result-list.entry.js +304 -5
- package/dist/esm/vertex-search-bar.entry.js +532 -5
- package/dist/esm/vertex-select.entry.js +184 -3
- package/dist/esm/vertex-slider.entry.js +58 -4
- package/dist/esm/vertex-spinner.entry.js +35 -3
- package/dist/esm/vertex-tab.entry.js +23 -3
- package/dist/esm/vertex-tabs.entry.js +108 -4
- package/dist/esm/vertex-textfield.entry.js +149 -3
- package/dist/esm/vertex-toast.entry.js +112 -3
- package/dist/esm/vertex-toggle.entry.js +50 -3
- package/dist/esm/vertex-tooltip.entry.js +347 -6
- package/dist/types/components/auto-resize-textarea/auto-resize-textarea.d.ts +43 -43
- package/dist/types/components/avatar/avatar.d.ts +33 -33
- package/dist/types/components/avatar-group/avatar-group.d.ts +1 -1
- package/dist/types/components/badge/badge.d.ts +10 -10
- package/dist/types/components/banner/banner.d.ts +50 -50
- package/dist/types/components/button/button.d.ts +52 -52
- package/dist/types/components/card/card.d.ts +19 -19
- package/dist/types/components/card-group/card-group.d.ts +13 -13
- package/dist/types/components/chip/chip.d.ts +11 -11
- package/dist/types/components/click-to-edit-text-field/click-to-edit-text-field.d.ts +78 -78
- package/dist/types/components/collapsible/collapsible.d.ts +10 -10
- package/dist/types/components/color-circle-picker/color-circle-picker.d.ts +89 -89
- package/dist/types/components/color-picker/color-picker.d.ts +46 -46
- package/dist/types/components/color-swatch/color-swatch.d.ts +69 -69
- package/dist/types/components/context-menu/context-menu.d.ts +33 -33
- package/dist/types/components/dialog/dialog.d.ts +55 -55
- package/dist/types/components/draggable-popover/draggable-popover.d.ts +32 -32
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +22 -22
- package/dist/types/components/expandable/expandable.d.ts +58 -58
- package/dist/types/components/help-tooltip/help-tooltip.d.ts +22 -22
- package/dist/types/components/icon/icon.d.ts +15 -15
- package/dist/types/components/icon/icons/adjustments.d.ts +0 -1
- package/dist/types/components/icon/icons/align-to-global.d.ts +0 -1
- package/dist/types/components/icon/icons/align-to-part.d.ts +0 -1
- package/dist/types/components/icon/icons/align-to-surface.d.ts +0 -1
- package/dist/types/components/icon/icons/align-view-to-plane.d.ts +0 -1
- package/dist/types/components/icon/icons/annotation.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-filled.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-left-circled.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-line-left.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-line-right.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-partial.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-right-circled.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-swap.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-triangle-left.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-triangle-right.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-up-circled.d.ts +0 -1
- package/dist/types/components/icon/icons/attachment.d.ts +0 -1
- package/dist/types/components/icon/icons/axis-x.d.ts +0 -1
- package/dist/types/components/icon/icons/axis-y.d.ts +0 -1
- package/dist/types/components/icon/icons/axis-z.d.ts +0 -1
- package/dist/types/components/icon/icons/back.d.ts +0 -1
- package/dist/types/components/icon/icons/box-cursor.d.ts +0 -1
- package/dist/types/components/icon/icons/box-select.d.ts +0 -1
- package/dist/types/components/icon/icons/camera-add.d.ts +0 -1
- package/dist/types/components/icon/icons/camera.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-down.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-left.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-right.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-up.d.ts +0 -1
- package/dist/types/components/icon/icons/caution.d.ts +0 -1
- package/dist/types/components/icon/icons/check-circle.d.ts +0 -1
- package/dist/types/components/icon/icons/check.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-down.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-left.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-right.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-up.d.ts +0 -1
- package/dist/types/components/icon/icons/circle-outline.d.ts +0 -1
- package/dist/types/components/icon/icons/close-circle-fill.d.ts +0 -1
- package/dist/types/components/icon/icons/close-circle.d.ts +0 -1
- package/dist/types/components/icon/icons/close.d.ts +0 -1
- package/dist/types/components/icon/icons/collapse-all.d.ts +0 -1
- package/dist/types/components/icon/icons/columns-add.d.ts +0 -1
- package/dist/types/components/icon/icons/columns.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-add.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-filled.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-reopen.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-resolve.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-show.d.ts +0 -1
- package/dist/types/components/icon/icons/compare.d.ts +0 -1
- package/dist/types/components/icon/icons/compress.d.ts +0 -1
- package/dist/types/components/icon/icons/copy.d.ts +0 -1
- package/dist/types/components/icon/icons/cross-section.d.ts +0 -1
- package/dist/types/components/icon/icons/cube-orthographic.d.ts +0 -1
- package/dist/types/components/icon/icons/cube-perspective.d.ts +0 -1
- package/dist/types/components/icon/icons/cube-stack.d.ts +0 -1
- package/dist/types/components/icon/icons/delete.d.ts +0 -1
- package/dist/types/components/icon/icons/download.d.ts +0 -1
- package/dist/types/components/icon/icons/drag-indicator.d.ts +0 -1
- package/dist/types/components/icon/icons/ellipse.d.ts +0 -1
- package/dist/types/components/icon/icons/error-circle.d.ts +0 -1
- package/dist/types/components/icon/icons/expand-all.d.ts +0 -1
- package/dist/types/components/icon/icons/expand.d.ts +0 -1
- package/dist/types/components/icon/icons/export.d.ts +0 -1
- package/dist/types/components/icon/icons/file-folder.d.ts +0 -1
- package/dist/types/components/icon/icons/file-pdf.d.ts +0 -1
- package/dist/types/components/icon/icons/file.d.ts +0 -1
- package/dist/types/components/icon/icons/fit-all.d.ts +0 -1
- package/dist/types/components/icon/icons/fit-selected.d.ts +0 -1
- package/dist/types/components/icon/icons/flip.d.ts +0 -1
- package/dist/types/components/icon/icons/folder-plus.d.ts +0 -1
- package/dist/types/components/icon/icons/forward.d.ts +0 -1
- package/dist/types/components/icon/icons/gear.d.ts +0 -1
- package/dist/types/components/icon/icons/help.d.ts +0 -1
- package/dist/types/components/icon/icons/info.d.ts +0 -1
- package/dist/types/components/icon/icons/invert.d.ts +0 -1
- package/dist/types/components/icon/icons/label-off.d.ts +0 -1
- package/dist/types/components/icon/icons/label.d.ts +0 -1
- package/dist/types/components/icon/icons/line-dot-left.d.ts +0 -1
- package/dist/types/components/icon/icons/line-dot-right.d.ts +0 -1
- package/dist/types/components/icon/icons/line-hash-left.d.ts +0 -1
- package/dist/types/components/icon/icons/line-hash-right.d.ts +0 -1
- package/dist/types/components/icon/icons/line.d.ts +0 -1
- package/dist/types/components/icon/icons/locate.d.ts +0 -1
- package/dist/types/components/icon/icons/lock-closed.d.ts +0 -1
- package/dist/types/components/icon/icons/lock-open.d.ts +0 -1
- package/dist/types/components/icon/icons/markup.d.ts +0 -1
- package/dist/types/components/icon/icons/menu.d.ts +0 -1
- package/dist/types/components/icon/icons/notification.d.ts +0 -1
- package/dist/types/components/icon/icons/open-window.d.ts +0 -1
- package/dist/types/components/icon/icons/open.d.ts +0 -1
- package/dist/types/components/icon/icons/pan.d.ts +0 -1
- package/dist/types/components/icon/icons/paper-airplane.d.ts +0 -1
- package/dist/types/components/icon/icons/paste.d.ts +0 -1
- package/dist/types/components/icon/icons/pencil.d.ts +0 -1
- package/dist/types/components/icon/icons/person-height.d.ts +0 -1
- package/dist/types/components/icon/icons/person-run.d.ts +0 -1
- package/dist/types/components/icon/icons/person-short.d.ts +0 -1
- package/dist/types/components/icon/icons/person-tall.d.ts +0 -1
- package/dist/types/components/icon/icons/person-walk.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-fill.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-line.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-text-fill.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-text-square.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-text.d.ts +0 -1
- package/dist/types/components/icon/icons/plus-with-arrow.d.ts +0 -1
- package/dist/types/components/icon/icons/plus.d.ts +0 -1
- package/dist/types/components/icon/icons/pmi.d.ts +0 -1
- package/dist/types/components/icon/icons/precise-measurement.d.ts +0 -1
- package/dist/types/components/icon/icons/rabbit.d.ts +0 -1
- package/dist/types/components/icon/icons/refresh.d.ts +0 -1
- package/dist/types/components/icon/icons/rename.d.ts +0 -1
- package/dist/types/components/icon/icons/report.d.ts +0 -1
- package/dist/types/components/icon/icons/reset.d.ts +0 -1
- package/dist/types/components/icon/icons/resize.d.ts +0 -1
- package/dist/types/components/icon/icons/rotate.d.ts +0 -1
- package/dist/types/components/icon/icons/ruler.d.ts +0 -1
- package/dist/types/components/icon/icons/scissors.d.ts +0 -1
- package/dist/types/components/icon/icons/search.d.ts +0 -1
- package/dist/types/components/icon/icons/show-only-nearby.d.ts +0 -1
- package/dist/types/components/icon/icons/snapshots.d.ts +0 -1
- package/dist/types/components/icon/icons/square-dot-outline.d.ts +0 -1
- package/dist/types/components/icon/icons/star.d.ts +0 -1
- package/dist/types/components/icon/icons/tag.d.ts +0 -1
- package/dist/types/components/icon/icons/tape-measure.d.ts +0 -1
- package/dist/types/components/icon/icons/teleport-and-align.d.ts +0 -1
- package/dist/types/components/icon/icons/teleport-toward.d.ts +0 -1
- package/dist/types/components/icon/icons/teleport.d.ts +0 -1
- package/dist/types/components/icon/icons/triad.d.ts +0 -1
- package/dist/types/components/icon/icons/turtle.d.ts +0 -1
- package/dist/types/components/icon/icons/update.d.ts +0 -1
- package/dist/types/components/icon/icons/version-history.d.ts +0 -1
- package/dist/types/components/icon/icons/views.d.ts +0 -1
- package/dist/types/components/icon/icons/visibility-hidden.d.ts +0 -1
- package/dist/types/components/icon/icons/visibility-partial.d.ts +0 -1
- package/dist/types/components/icon/icons/visibility-visible.d.ts +0 -1
- package/dist/types/components/icon/icons/workspace-add.d.ts +0 -1
- package/dist/types/components/icon/icons/zoom.d.ts +0 -1
- package/dist/types/components/icon-button/icon-button.d.ts +36 -36
- package/dist/types/components/logo-loading/logo-loading.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +53 -53
- package/dist/types/components/menu-divider/menu-divider.d.ts +1 -1
- package/dist/types/components/menu-item/menu-item.d.ts +6 -6
- package/dist/types/components/popover/popover.d.ts +156 -156
- package/dist/types/components/radio/radio.d.ts +28 -28
- package/dist/types/components/radio-group/radio-group.d.ts +23 -23
- package/dist/types/components/resizable/resizable.d.ts +161 -161
- package/dist/types/components/result-list/result-list.d.ts +42 -42
- package/dist/types/components/result-list/types.d.ts +2 -2
- package/dist/types/components/search-bar/lib.d.ts +5 -5
- package/dist/types/components/search-bar/search-bar.d.ts +144 -144
- package/dist/types/components/select/select.d.ts +65 -65
- package/dist/types/components/slider/slider.d.ts +44 -44
- package/dist/types/components/spinner/spinner.d.ts +11 -11
- package/dist/types/components/tab/tab.d.ts +8 -8
- package/dist/types/components/tabs/tabs.d.ts +20 -20
- package/dist/types/components/text-field/text-field.d.ts +112 -112
- package/dist/types/components/toast/toast.d.ts +50 -50
- package/dist/types/components/toggle/toggle.d.ts +17 -17
- package/dist/types/components/tooltip/tooltip.d.ts +60 -60
- package/dist/types/components.d.ts +970 -90
- package/dist/types/stencil-public-runtime.d.ts +257 -34
- package/dist/types/types/icon.d.ts +137 -137
- package/dist/types/types/point.d.ts +2 -2
- package/dist/types/util/components/slots.d.ts +3 -3
- package/dist/types/util/templates/binding.d.ts +20 -20
- package/dist/types/util/templates/disposable.d.ts +4 -4
- package/dist/types/util/templates/element-pool.d.ts +19 -19
- package/dist/types/util/templates/templates.d.ts +2 -2
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +5 -2
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +61 -36
- package/dist/cjs/auto-resize-textarea-deb05359.js +0 -137
- package/dist/cjs/avatar-e69bb687.js +0 -45
- package/dist/cjs/avatar-group-d2af53e4.js +0 -17
- package/dist/cjs/badge-d39ac1fc.js +0 -23
- package/dist/cjs/banner-8325d5ca.js +0 -104
- package/dist/cjs/button-e63d25b1.js +0 -70
- package/dist/cjs/card-ae9e8a8f.js +0 -30
- package/dist/cjs/card-group-da93e610.js +0 -30
- package/dist/cjs/chip-a3b2e8e0.js +0 -25
- package/dist/cjs/click-to-edit-text-field-2c87ee66.js +0 -105
- package/dist/cjs/collapsible-50ea984c.js +0 -25
- package/dist/cjs/color-circle-picker-b0927289.js +0 -82
- package/dist/cjs/color-picker-6aa97d3b.js +0 -47
- package/dist/cjs/color-swatch-6d98da5f.js +0 -95
- package/dist/cjs/context-menu-664922cd.js +0 -91
- package/dist/cjs/dialog-34244fe1.js +0 -225
- package/dist/cjs/dom-ff96a4bc.js +0 -75
- package/dist/cjs/draggable-popover-125717a7.js +0 -83
- package/dist/cjs/dropdown-menu-5ae03a72.js +0 -31
- package/dist/cjs/expandable-b1cd4f0b.js +0 -72
- package/dist/cjs/help-tooltip-f72eccc7.js +0 -34
- package/dist/cjs/icon-ab3e2b83.js +0 -26
- package/dist/cjs/icon-button-9a6314cd.js +0 -43
- package/dist/cjs/icon-helper-b2117772.js +0 -785
- package/dist/cjs/index-6a92256c.js +0 -2152
- package/dist/cjs/index-e1b40fa6.js +0 -91
- package/dist/cjs/logo-loading-4d49fedf.js +0 -17
- package/dist/cjs/menu-bfc03108.js +0 -74
- package/dist/cjs/menu-divider-5bdebe5d.js +0 -17
- package/dist/cjs/menu-item-d213fd4d.js +0 -25
- package/dist/cjs/popover-942209b8.js +0 -1706
- package/dist/cjs/radio-bff991d2.js +0 -34
- package/dist/cjs/radio-group-11ecf8bf.js +0 -78
- package/dist/cjs/resizable-c0a69532.js +0 -423
- package/dist/cjs/result-list-241ffe8d.js +0 -304
- package/dist/cjs/search-bar-2e7ee35a.js +0 -527
- package/dist/cjs/select-554f3c11.js +0 -163
- package/dist/cjs/shadow-css-8eb74fbb.js +0 -389
- package/dist/cjs/slider-7714cccb.js +0 -44
- package/dist/cjs/slots-fb5ac359.js +0 -29
- package/dist/cjs/spinner-bb990a42.js +0 -29
- package/dist/cjs/tab-4335cd8f.js +0 -26
- package/dist/cjs/tabs-6f3e76e1.js +0 -111
- package/dist/cjs/templates-e7b3ffbb.js +0 -230
- package/dist/cjs/text-field-bccbde1f.js +0 -133
- package/dist/cjs/toast-bee7f47b.js +0 -90
- package/dist/cjs/toggle-a5dde469.js +0 -40
- package/dist/cjs/tooltip-634eb8c9.js +0 -333
- package/dist/cjs/tslib.es6-838fd860.js +0 -68
- package/dist/components/auto-resize-textarea.js +0 -157
- package/dist/components/color-swatch.js +0 -124
- package/dist/components/expandable.js +0 -100
- package/dist/components/icon-button.js +0 -63
- package/dist/components/icon-helper.js +0 -783
- package/dist/components/icon.js +0 -43
- package/dist/components/index2.js +0 -89
- package/dist/components/menu.js +0 -103
- package/dist/components/p-01d4be1d.entry.js +0 -1
- package/dist/components/p-0541e2b0.js +0 -1
- package/dist/components/p-09ba50c3.js +0 -1
- package/dist/components/p-0b4406fa.entry.js +0 -1
- package/dist/components/p-0de26b21.entry.js +0 -1
- package/dist/components/p-0e628c05.js +0 -1
- package/dist/components/p-16fc9e9a.entry.js +0 -1
- package/dist/components/p-18ed73e9.js +0 -1
- package/dist/components/p-1e645c1f.js +0 -1
- package/dist/components/p-211c1186.entry.js +0 -1
- package/dist/components/p-226e83a6.entry.js +0 -1
- package/dist/components/p-22ec9b78.entry.js +0 -1
- package/dist/components/p-24c72960.entry.js +0 -1
- package/dist/components/p-2930bcb0.entry.js +0 -1
- package/dist/components/p-29d7697f.js +0 -1
- package/dist/components/p-2ae8175d.entry.js +0 -1
- package/dist/components/p-2cff3285.js +0 -1
- package/dist/components/p-33400eed.entry.js +0 -1
- package/dist/components/p-3508048d.js +0 -12
- package/dist/components/p-36c853c4.js +0 -1
- package/dist/components/p-39133bc7.js +0 -1
- package/dist/components/p-3b794014.entry.js +0 -1
- package/dist/components/p-3dd08a0f.js +0 -1
- package/dist/components/p-406e73da.entry.js +0 -1
- package/dist/components/p-407430fe.entry.js +0 -1
- package/dist/components/p-41ced35c.entry.js +0 -1
- package/dist/components/p-43b1b3f9.js +0 -1
- package/dist/components/p-48629bf1.js +0 -1
- package/dist/components/p-4e3ba3df.entry.js +0 -1
- package/dist/components/p-53515813.entry.js +0 -1
- package/dist/components/p-5366a759.entry.js +0 -1
- package/dist/components/p-573b8ec6.entry.js +0 -1
- package/dist/components/p-59fb829f.js +0 -1
- package/dist/components/p-5fb1724f.js +0 -1
- package/dist/components/p-606596de.entry.js +0 -1
- package/dist/components/p-65f9817e.js +0 -1
- package/dist/components/p-6834631c.js +0 -2
- package/dist/components/p-69375605.entry.js +0 -1
- package/dist/components/p-6a49c365.entry.js +0 -1
- package/dist/components/p-6a640a2c.js +0 -1
- package/dist/components/p-6b6c2260.js +0 -1
- package/dist/components/p-6b862967.js +0 -1
- package/dist/components/p-6d4f055b.entry.js +0 -1
- package/dist/components/p-756c9977.entry.js +0 -1
- package/dist/components/p-7ace7800.entry.js +0 -1
- package/dist/components/p-7e6ca4fb.entry.js +0 -1
- package/dist/components/p-80c989fa.entry.js +0 -1
- package/dist/components/p-817bf6ff.js +0 -1
- package/dist/components/p-81cb4da4.js +0 -1
- package/dist/components/p-8a52767f.js +0 -1
- package/dist/components/p-8b211d6f.js +0 -1
- package/dist/components/p-8c69bb83.js +0 -1
- package/dist/components/p-8d83dfff.entry.js +0 -1
- package/dist/components/p-8fe0084d.js +0 -1
- package/dist/components/p-90931a94.js +0 -1
- package/dist/components/p-90b4e04b.js +0 -1
- package/dist/components/p-90cf31d2.js +0 -1
- package/dist/components/p-91123ff6.entry.js +0 -1
- package/dist/components/p-95358d00.entry.js +0 -1
- package/dist/components/p-96f55673.js +0 -1
- package/dist/components/p-988058f9.js +0 -1
- package/dist/components/p-9c384f6c.entry.js +0 -1
- package/dist/components/p-a2018217.entry.js +0 -1
- package/dist/components/p-a3c04bbd.js +0 -1
- package/dist/components/p-a6614625.js +0 -1
- package/dist/components/p-bca6275a.entry.js +0 -1
- package/dist/components/p-bec53c3a.js +0 -1
- package/dist/components/p-c2706288.js +0 -1
- package/dist/components/p-c2c076f1.js +0 -1
- package/dist/components/p-c3ec6642.js +0 -19
- package/dist/components/p-c8ab09fb.js +0 -1
- package/dist/components/p-c939fa4e.js +0 -1
- package/dist/components/p-c9a967d9.js +0 -1
- package/dist/components/p-cc2e3192.entry.js +0 -1
- package/dist/components/p-d7c0c287.entry.js +0 -1
- package/dist/components/p-dfe98f07.entry.js +0 -1
- package/dist/components/p-e3d0c2d1.entry.js +0 -1
- package/dist/components/p-e3ea44b2.js +0 -1
- package/dist/components/p-ea8f3750.entry.js +0 -1
- package/dist/components/p-ec7be8df.js +0 -1
- package/dist/components/p-ee496965.entry.js +0 -1
- package/dist/components/p-f2bc7ec5.js +0 -1
- package/dist/components/p-f55574fb.js +0 -1
- package/dist/components/p-f6f2bc86.entry.js +0 -1
- package/dist/components/p-fe062eb0.js +0 -7
- package/dist/components/p-fe7e7a74.entry.js +0 -1
- package/dist/components/p-fedcc21e.js +0 -1
- package/dist/components/p-ff4a1c3a.js +0 -1
- package/dist/components/popover.js +0 -1737
- package/dist/components/result-list.js +0 -565
- package/dist/components/slots.js +0 -26
- package/dist/components/text-field.js +0 -171
- package/dist/components/tooltip.js +0 -360
- package/dist/components/tslib.es6.js +0 -65
- package/dist/esm/auto-resize-textarea-087fecdb.js +0 -135
- package/dist/esm/avatar-775455a5.js +0 -43
- package/dist/esm/avatar-group-e5ca86bf.js +0 -15
- package/dist/esm/badge-6d27ca92.js +0 -21
- package/dist/esm/banner-b292060d.js +0 -102
- package/dist/esm/button-81207236.js +0 -68
- package/dist/esm/card-1e8790aa.js +0 -28
- package/dist/esm/card-group-4e8e0421.js +0 -28
- package/dist/esm/chip-4e568eee.js +0 -23
- package/dist/esm/click-to-edit-text-field-d9b27cd0.js +0 -103
- package/dist/esm/collapsible-b52960e6.js +0 -23
- package/dist/esm/color-circle-picker-c4e92fea.js +0 -80
- package/dist/esm/color-picker-b292ad8d.js +0 -45
- package/dist/esm/color-swatch-ab647632.js +0 -93
- package/dist/esm/context-menu-12f1afe1.js +0 -89
- package/dist/esm/dialog-c69d9152.js +0 -223
- package/dist/esm/dom-64053c71.js +0 -73
- package/dist/esm/dom-9d0f7bf4.js +0 -13
- package/dist/esm/draggable-popover-9f9b7c97.js +0 -81
- package/dist/esm/dropdown-menu-1598ba20.js +0 -29
- package/dist/esm/expandable-b487cb00.js +0 -70
- package/dist/esm/help-tooltip-c2f0d996.js +0 -32
- package/dist/esm/icon-390b9402.js +0 -24
- package/dist/esm/icon-button-552e31fe.js +0 -41
- package/dist/esm/icon-helper-7437b548.js +0 -783
- package/dist/esm/index-72f28b71.js +0 -2118
- package/dist/esm/index-9c609209.js +0 -89
- package/dist/esm/logo-loading-3c7fa23d.js +0 -15
- package/dist/esm/menu-49420f98.js +0 -72
- package/dist/esm/menu-divider-87c888cb.js +0 -15
- package/dist/esm/menu-item-c33aa9dd.js +0 -23
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popover-6e806354.js +0 -1704
- package/dist/esm/radio-39c11ba4.js +0 -32
- package/dist/esm/radio-group-2f5467b5.js +0 -76
- package/dist/esm/resizable-833336bf.js +0 -421
- package/dist/esm/result-list-16c6afbd.js +0 -302
- package/dist/esm/search-bar-8d18626e.js +0 -525
- package/dist/esm/select-66bb59f8.js +0 -161
- package/dist/esm/shadow-css-008a49f5.js +0 -387
- package/dist/esm/slider-3d8545e3.js +0 -42
- package/dist/esm/slots-fbb5afb3.js +0 -26
- package/dist/esm/spinner-afccea51.js +0 -27
- package/dist/esm/tab-c76332b0.js +0 -24
- package/dist/esm/tabs-e9f6dcbe.js +0 -109
- package/dist/esm/templates-797420bf.js +0 -228
- package/dist/esm/text-field-32ac877e.js +0 -131
- package/dist/esm/toast-255648ff.js +0 -88
- package/dist/esm/tooltip-bed548f4.js +0 -331
- package/dist/esm/tslib.es6-99cd0de8.js +0 -65
- package/loader/package.json +0 -11
- /package/dist/components/{p-b2c7b113.js → p-DXuCPm6v.js} +0 -0
- /package/dist/components/{p-3438c441.js → p-DgySd_r0.js} +0 -0
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, H as Host } from './index-72f28b71.js';
|
|
2
|
-
import { c as classnames } from './index-9c609209.js';
|
|
3
|
-
|
|
4
|
-
const colorCirclePickerCss = ":host{display:flex;--color-circle-spacing:1rem;--color-circle-hovered-outline:2px solid var(--vertex-ui-neutral-400);--color-circle-selected-outline:var(--color-circle-hovered-outline)}.container{display:flex;gap:var(--color-circle-spacing)}.container.vertical{flex-direction:column;justify-content:center}.container.horizontal{align-items:center}.circle{cursor:pointer;outline-offset:3px;border-radius:100%}.circle.selected{outline:var(--color-circle-selected-outline)}.circle:hover{outline:var(--color-circle-hovered-outline)}";
|
|
5
|
-
|
|
6
|
-
const ColorCirclePicker = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.selectionChanged = createEvent(this, "selectionChanged", 7);
|
|
10
|
-
this.handleClick = (event) => {
|
|
11
|
-
const circle = event.target;
|
|
12
|
-
this.selectionChanged.emit({
|
|
13
|
-
color: circle.color,
|
|
14
|
-
lightened: circle.lightened,
|
|
15
|
-
darkened: circle.darkened,
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
this.parseJsonProp = (prop) => {
|
|
19
|
-
if (typeof prop === 'string') {
|
|
20
|
-
return JSON.parse(prop);
|
|
21
|
-
}
|
|
22
|
-
return prop;
|
|
23
|
-
};
|
|
24
|
-
this.colors = [
|
|
25
|
-
'#4c87be',
|
|
26
|
-
'#f3d336',
|
|
27
|
-
'#6fbb29',
|
|
28
|
-
'#e38826',
|
|
29
|
-
'#c72e16',
|
|
30
|
-
'#8c3681',
|
|
31
|
-
'#000000',
|
|
32
|
-
'#ffffff',
|
|
33
|
-
];
|
|
34
|
-
this.labels = {};
|
|
35
|
-
this.labelPlacement = 'bottom';
|
|
36
|
-
this.size = 'lg';
|
|
37
|
-
this.supplementalColors = [];
|
|
38
|
-
this.theme = 'dark';
|
|
39
|
-
this.lightenPercentage = 0.25;
|
|
40
|
-
this.darkenPercentage = 0.25;
|
|
41
|
-
this.selected = undefined;
|
|
42
|
-
this.direction = 'horizontal';
|
|
43
|
-
this.colorArray = [];
|
|
44
|
-
this.supplementaryColorArray = [];
|
|
45
|
-
this.labelMap = {};
|
|
46
|
-
}
|
|
47
|
-
componentWillLoad() {
|
|
48
|
-
this.handleColorsChange(this.colors);
|
|
49
|
-
this.handleSupplementalColorsChange(this.supplementalColors);
|
|
50
|
-
this.handleLabelsChange(this.labels);
|
|
51
|
-
}
|
|
52
|
-
handleColorsChange(newValue) {
|
|
53
|
-
this.colorArray = this.parseJsonProp(newValue);
|
|
54
|
-
}
|
|
55
|
-
handleSupplementalColorsChange(newValue) {
|
|
56
|
-
this.supplementaryColorArray = this.parseJsonProp(newValue);
|
|
57
|
-
}
|
|
58
|
-
handleLabelsChange(newValue) {
|
|
59
|
-
this.labelMap = this.parseJsonProp(newValue);
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
return (h(Host, null, h("div", { class: classnames('container', {
|
|
63
|
-
vertical: this.direction === 'vertical',
|
|
64
|
-
}) }, this.colorArray.map((c, i) => {
|
|
65
|
-
const label = this.labelMap[c];
|
|
66
|
-
const swatch = (h("vertex-color-swatch", { class: classnames('circle', {
|
|
67
|
-
selected: this.selected === c,
|
|
68
|
-
}), variant: "circle", size: this.size, color: c, supplementalColor: this.supplementaryColorArray[i], onClick: this.handleClick, lightenPercentage: this.lightenPercentage, darkenPercentage: this.darkenPercentage, theme: this.theme }));
|
|
69
|
-
return label != null ? (h("vertex-tooltip", { placement: this.labelPlacement, content: label }, swatch)) : (swatch);
|
|
70
|
-
}))));
|
|
71
|
-
}
|
|
72
|
-
static get watchers() { return {
|
|
73
|
-
"colors": ["handleColorsChange"],
|
|
74
|
-
"supplementalColors": ["handleSupplementalColorsChange"],
|
|
75
|
-
"labels": ["handleLabelsChange"]
|
|
76
|
-
}; }
|
|
77
|
-
};
|
|
78
|
-
ColorCirclePicker.style = colorCirclePickerCss;
|
|
79
|
-
|
|
80
|
-
export { ColorCirclePicker as C };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h, H as Host } from './index-72f28b71.js';
|
|
2
|
-
import { c as classnames } from './index-9c609209.js';
|
|
3
|
-
import { i as isValidHexColor } from './lib-73fbca8b.js';
|
|
4
|
-
|
|
5
|
-
const colorPickerCss = ":host{display:flex;--selected-color-width:initial;--selected-color-height:initial}.wrapper{display:inline-flex;align-items:center}.wrapper.expand-full{width:100%}.wrapper.full{padding:0.375rem 0.5rem;border:1px solid var(--vertex-ui-neutral-300);border-radius:4px}.color-picker{width:100%;display:inline-flex;position:relative;cursor:pointer}.color-picker.disabled{opacity:0.5;cursor:default}.selected-wrapper{position:relative;display:flex;align-items:center}.wrapper.full .selected-wrapper{gap:0.75rem}.selected{position:relative}.wrapper.sm .selected{width:var(--selected-color-width, 1rem);height:var(--selected-color-height, 1rem)}.wrapper.md .selected{width:var(--selected-color-width, 1.25rem);height:var(--selected-color-height, 1.25rem)}.wrapper.lg .selected{width:var(--selected-color-width, 1.5rem);height:var(--selected-color-height, 1.5rem)}.text-wrapper{position:relative;min-width:3.6rem}.selected-text{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;color:var(--vertex-ui-neutral-700);text-align:center;font-family:var(--vertex-ui-font-family)}.hidden-text{visibility:hidden;pointer-events:none;font-family:var(--vertex-ui-font-family-monospace)}.wrapper.sm .selected-text,.wrapper.sm .hidden-text{font-size:var(--vertex-ui-text-xs)}.wrapper.md .selected-text,.wrapper.md .hidden-text{font-size:var(--vertex-ui-text-xs)}.wrapper.lg .selected-text,.wrapper.lg .hidden-text{font-size:var(--vertex-ui-text-xs)}.no-value{width:100%;height:100%;stroke:var(--vertex-ui-red-400)}.right-gutter{display:flex;align-items:center;margin-left:auto}slot[name=\"right-gutter\"]::slotted(*){padding:0}.input{display:flex;position:absolute;pointer-events:none;height:100%;width:100%;left:0;top:0;opacity:0}";
|
|
6
|
-
|
|
7
|
-
const ColorPicker = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.valueInput = createEvent(this, "valueInput", 7);
|
|
11
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
12
|
-
this.handleInput = (event) => {
|
|
13
|
-
const input = event.target;
|
|
14
|
-
this.value = input.value || '';
|
|
15
|
-
};
|
|
16
|
-
this.handleChange = (event) => {
|
|
17
|
-
this.valueChanged.emit(this.value);
|
|
18
|
-
};
|
|
19
|
-
this.value = undefined;
|
|
20
|
-
this.size = 'md';
|
|
21
|
-
this.variant = 'full';
|
|
22
|
-
this.expand = 'block';
|
|
23
|
-
this.disabled = false;
|
|
24
|
-
}
|
|
25
|
-
valueChange() {
|
|
26
|
-
this.valueInput.emit(this.value);
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
var _a;
|
|
30
|
-
return (h(Host, null, h("div", { class: classnames('wrapper', this.variant, this.size, `expand-${this.expand}`) }, h("label", { class: classnames('color-picker', { disabled: this.disabled }) }, h("input", { type: "color", class: "input", "data-testid": "input", disabled: this.disabled, value: this.value, onInput: this.handleInput, onChange: this.handleChange }), h("div", { class: classnames('selected-wrapper', this.variant) }, h("div", { class: "selected", title: this.value }, h("vertex-color-swatch", { class: "selected-color", supplementalColor: "var(--vertex-ui-neutral-400)", color: this.value, variant: "square", size: this.size }, h("slot", { name: "overlay", slot: "overlay" }, (this.value == null || this.value === '') && (h("svg", { class: "no-value", slot: "overlay", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16" }, h("path", { d: "M16,0L0,16" })))))), this.variant === 'full' && (h("div", { class: "text-wrapper" }, h("div", { class: "hidden-text" }, "#FFFFFF"), h("div", { class: "selected-text" }, (_a = this.getDisplayedValue()) !== null && _a !== void 0 ? _a : 'Default')))), h("div", { class: "right-gutter" }, h("slot", { name: "right-gutter" }))))));
|
|
31
|
-
}
|
|
32
|
-
getDisplayedValue() {
|
|
33
|
-
var _a;
|
|
34
|
-
if (this.value != null && isValidHexColor(this.value)) {
|
|
35
|
-
return (_a = this.value) === null || _a === void 0 ? void 0 : _a.toLocaleUpperCase();
|
|
36
|
-
}
|
|
37
|
-
return undefined;
|
|
38
|
-
}
|
|
39
|
-
static get watchers() { return {
|
|
40
|
-
"value": ["valueChange"]
|
|
41
|
-
}; }
|
|
42
|
-
};
|
|
43
|
-
ColorPicker.style = colorPickerCss;
|
|
44
|
-
|
|
45
|
-
export { ColorPicker as C };
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-72f28b71.js';
|
|
2
|
-
import { c as classnames } from './index-9c609209.js';
|
|
3
|
-
import { i as isValidHexColor } from './lib-73fbca8b.js';
|
|
4
|
-
|
|
5
|
-
const colorSwatchCss = ":host{display:flex}.root{position:relative;border-style:solid;border-color:var(--vertex-ui-neutral-300);box-sizing:border-box}.root.circle{border-width:2px;border-radius:100%}.root.circle.sm{border-width:1px}.root.square{border-width:1px;border-radius:3px}.root.sm{width:16px;height:16px}.root.md{width:20px;height:20px}.root.lg{width:24px;height:24px}.overlay{position:absolute;width:100%;height:100%;border-radius:2px;overflow:hidden}";
|
|
6
|
-
|
|
7
|
-
const ColorSwatch = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.variant = 'circle';
|
|
11
|
-
this.size = 'md';
|
|
12
|
-
this.color = '#ffffff';
|
|
13
|
-
this.supplementalColor = undefined;
|
|
14
|
-
this.theme = 'none';
|
|
15
|
-
this.lightenPercentage = 0.25;
|
|
16
|
-
this.darkenPercentage = 0.25;
|
|
17
|
-
this.lightened = this.adjustColor(this.color, -this.lightenPercentage);
|
|
18
|
-
this.darkened = this.adjustColor(this.color, this.darkenPercentage);
|
|
19
|
-
}
|
|
20
|
-
handleColorChanged(newColor) {
|
|
21
|
-
this.lightened = this.adjustColor(newColor, -this.lightenPercentage);
|
|
22
|
-
this.darkened = this.adjustColor(newColor, this.darkenPercentage);
|
|
23
|
-
}
|
|
24
|
-
handleLightenPercentageChanged(newPercentage) {
|
|
25
|
-
this.lightened = this.adjustColor(this.color, -newPercentage);
|
|
26
|
-
}
|
|
27
|
-
handleDarkenPercentageChanged(newPercentage) {
|
|
28
|
-
this.darkened = this.adjustColor(this.color, newPercentage);
|
|
29
|
-
}
|
|
30
|
-
render() {
|
|
31
|
-
return (h(Host, null, h("div", { class: classnames('root', this.variant, this.size), style: this.getThemeColors() }, h("div", { class: "overlay" }, h("slot", { name: "overlay" })))));
|
|
32
|
-
}
|
|
33
|
-
getThemeColors() {
|
|
34
|
-
const supplementalColor = this.getSupplementalColor();
|
|
35
|
-
switch (this.theme) {
|
|
36
|
-
case 'light':
|
|
37
|
-
return {
|
|
38
|
-
backgroundColor: supplementalColor,
|
|
39
|
-
borderColor: this.color,
|
|
40
|
-
};
|
|
41
|
-
case 'dark':
|
|
42
|
-
return {
|
|
43
|
-
backgroundColor: this.color,
|
|
44
|
-
borderColor: supplementalColor,
|
|
45
|
-
};
|
|
46
|
-
default:
|
|
47
|
-
return {
|
|
48
|
-
backgroundColor: this.color,
|
|
49
|
-
borderColor: supplementalColor !== null && supplementalColor !== void 0 ? supplementalColor : undefined,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
getSupplementalColor() {
|
|
54
|
-
const providedSupplementalColor = this.supplementalColor != null && this.supplementalColor.length > 0
|
|
55
|
-
? this.supplementalColor
|
|
56
|
-
: undefined;
|
|
57
|
-
switch (this.theme) {
|
|
58
|
-
case 'light':
|
|
59
|
-
return providedSupplementalColor !== null && providedSupplementalColor !== void 0 ? providedSupplementalColor : this.lightened;
|
|
60
|
-
case 'dark':
|
|
61
|
-
return providedSupplementalColor !== null && providedSupplementalColor !== void 0 ? providedSupplementalColor : this.darkened;
|
|
62
|
-
default:
|
|
63
|
-
return providedSupplementalColor;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
adjustColor(color, percentage) {
|
|
67
|
-
if (isValidHexColor(color)) {
|
|
68
|
-
const r = Number(`0x${color.slice(1, 3)}`);
|
|
69
|
-
const g = Number(`0x${color.slice(3, 5)}`);
|
|
70
|
-
const b = Number(`0x${color.slice(5, 7)}`);
|
|
71
|
-
const rPadded = this.padHexComponent(this.adjustComponent(r, percentage).toString(16));
|
|
72
|
-
const gPadded = this.padHexComponent(this.adjustComponent(g, percentage).toString(16));
|
|
73
|
-
const bPadded = this.padHexComponent(this.adjustComponent(b, percentage).toString(16));
|
|
74
|
-
return `#${rPadded}${gPadded}${bPadded}`;
|
|
75
|
-
}
|
|
76
|
-
return color;
|
|
77
|
-
}
|
|
78
|
-
adjustComponent(component, percentage) {
|
|
79
|
-
const scalar = percentage < 0 ? 0xff - component : 0xff;
|
|
80
|
-
return Math.max(0x00, Math.min(0xff, Math.floor(component - Math.floor(scalar * percentage))));
|
|
81
|
-
}
|
|
82
|
-
padHexComponent(hex) {
|
|
83
|
-
return `${'0'.repeat(2 - hex.length)}${hex}`;
|
|
84
|
-
}
|
|
85
|
-
static get watchers() { return {
|
|
86
|
-
"color": ["handleColorChanged"],
|
|
87
|
-
"lightenPercentage": ["handleLightenPercentageChanged"],
|
|
88
|
-
"darkenPercentage": ["handleDarkenPercentageChanged"]
|
|
89
|
-
}; }
|
|
90
|
-
};
|
|
91
|
-
ColorSwatch.style = colorSwatchCss;
|
|
92
|
-
|
|
93
|
-
export { ColorSwatch as C };
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, e as createEvent, h } from './index-72f28b71.js';
|
|
2
|
-
|
|
3
|
-
const ContextMenu = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
this.menuOpened = createEvent(this, "menuOpened", 7);
|
|
7
|
-
this.menuClosed = createEvent(this, "menuClosed", 7);
|
|
8
|
-
this.targetSelector = undefined;
|
|
9
|
-
this.animated = true;
|
|
10
|
-
this.position = undefined;
|
|
11
|
-
this.open = false;
|
|
12
|
-
this.handlePointerDown = this.handlePointerDown.bind(this);
|
|
13
|
-
this.handlePointerUp = this.handlePointerUp.bind(this);
|
|
14
|
-
this.handleContextMenu = this.handleContextMenu.bind(this);
|
|
15
|
-
this.handleMenuClosed = this.handleMenuClosed.bind(this);
|
|
16
|
-
this.observer = new MutationObserver(() => {
|
|
17
|
-
if (this.target == null) {
|
|
18
|
-
this.addEventListeners(this.targetSelector);
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
this.addEventListeners(this.targetSelector);
|
|
24
|
-
this.observer.observe(document.body, {
|
|
25
|
-
childList: true,
|
|
26
|
-
attributes: true,
|
|
27
|
-
subtree: true,
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
disconnectedCallback() {
|
|
31
|
-
this.removeEventListeners();
|
|
32
|
-
this.observer.disconnect();
|
|
33
|
-
}
|
|
34
|
-
handleTargetSelectorChange(targetSelector) {
|
|
35
|
-
if (targetSelector != null) {
|
|
36
|
-
this.removeEventListeners();
|
|
37
|
-
this.addEventListeners(targetSelector);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return (h("vertex-menu", { open: this.open, animated: this.animated, position: this.position, fallbackPlacements: [
|
|
42
|
-
'bottom-end',
|
|
43
|
-
'top-start',
|
|
44
|
-
'top-end',
|
|
45
|
-
'right',
|
|
46
|
-
'left',
|
|
47
|
-
], onMenuClosed: this.handleMenuClosed }, h("slot", null)));
|
|
48
|
-
}
|
|
49
|
-
addEventListeners(targetSelector) {
|
|
50
|
-
this.target =
|
|
51
|
-
document.querySelector(targetSelector) || undefined;
|
|
52
|
-
if (this.target != null) {
|
|
53
|
-
this.target.addEventListener('contextmenu', this.handleContextMenu);
|
|
54
|
-
this.target.addEventListener('pointerdown', this.handlePointerDown);
|
|
55
|
-
this.target.addEventListener('pointerup', this.handlePointerUp);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
removeEventListeners() {
|
|
59
|
-
var _a, _b, _c;
|
|
60
|
-
(_a = this.target) === null || _a === void 0 ? void 0 : _a.removeEventListener('contextmenu', this.handleContextMenu);
|
|
61
|
-
(_b = this.target) === null || _b === void 0 ? void 0 : _b.removeEventListener('pointerdown', this.handlePointerDown);
|
|
62
|
-
(_c = this.target) === null || _c === void 0 ? void 0 : _c.removeEventListener('pointerup', this.handlePointerUp);
|
|
63
|
-
this.target = undefined;
|
|
64
|
-
}
|
|
65
|
-
handleContextMenu(e) {
|
|
66
|
-
e.preventDefault();
|
|
67
|
-
}
|
|
68
|
-
handlePointerDown(e) {
|
|
69
|
-
if (e.buttons === 2) {
|
|
70
|
-
this.position = { x: e.clientX, y: e.clientY };
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
handlePointerUp(e) {
|
|
74
|
-
var _a;
|
|
75
|
-
if (e.clientX === ((_a = this.position) === null || _a === void 0 ? void 0 : _a.x) && e.clientY === this.position.y) {
|
|
76
|
-
this.open = true;
|
|
77
|
-
this.menuOpened.emit(e);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
handleMenuClosed() {
|
|
81
|
-
this.open = false;
|
|
82
|
-
this.menuClosed.emit();
|
|
83
|
-
}
|
|
84
|
-
static get watchers() { return {
|
|
85
|
-
"targetSelector": ["handleTargetSelectorChange"]
|
|
86
|
-
}; }
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
export { ContextMenu as C };
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { c as readTask, r as registerInstance, e as createEvent, h, g as getElement } from './index-72f28b71.js';
|
|
2
|
-
import { c as classnames } from './index-9c609209.js';
|
|
3
|
-
|
|
4
|
-
function readDOM(callback) {
|
|
5
|
-
readTask(callback);
|
|
6
|
-
}
|
|
7
|
-
function getBoundingClientRect(el) {
|
|
8
|
-
return el.getBoundingClientRect();
|
|
9
|
-
}
|
|
10
|
-
function getComputedStyle(el) {
|
|
11
|
-
return window.getComputedStyle(el);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const dialogCss = ":host{--backdrop-color:rgba(0,0,0,0.4);--z-index:var(--vertex-ui-dialog-layer)}.hidden>.dialog{opacity:0;width:0;height:0;visibility:hidden}.hidden{pointer-events:none;display:none}.close{margin-left:auto}.shown{display:flex;justify-content:center;align-items:center}.header{width:100%;display:flex;font-size:1.125rem;height:2rem;margin-bottom:1rem}.body{position:relative;width:100%;height:100%}.dialog-backdrop{position:fixed;z-index:var(--z-index);left:0;top:0;width:100%;height:100%;overflow:auto;background-color:var(--backdrop-color);padding:2rem;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.dialog{background-color:var(--vertex-ui-white);position:absolute;align-items:center;color:var(--vertex-ui-neutral-800);font-family:var(--vertex-ui-font-family);overflow:hidden}.dialog.no-select{user-select:none}.overlay{border:1px solid var(--vertex-ui-neutral-300);border-radius:6px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.15);display:flex}.overlay.resizable{min-height:var(--min-height, var(--vertex-ui-min-dialog-height))}.fullscreen{height:100vh;width:100vw}.contents{display:flex;position:relative;flex-direction:column;padding:1.5rem;width:100%;height:100%;box-sizing:border-box}.close:hover,.close:focus{color:black;text-decoration:none;cursor:pointer}.footer{display:flex}.resize{cursor:nwse-resize;position:absolute;bottom:0.125rem;right:0.125rem}.resize-cursor{cursor:nwse-resize}";
|
|
15
|
-
|
|
16
|
-
const Dialog = class {
|
|
17
|
-
constructor(hostRef) {
|
|
18
|
-
registerInstance(this, hostRef);
|
|
19
|
-
this.backdropClick = createEvent(this, "backdropClick", 7);
|
|
20
|
-
this.closed = createEvent(this, "closed", 7);
|
|
21
|
-
this.handleKeyDown = (_) => {
|
|
22
|
-
if (this.open) {
|
|
23
|
-
this.open = false;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
this.handlePointerDown = (e) => {
|
|
27
|
-
this.isResizing = true;
|
|
28
|
-
readDOM(() => {
|
|
29
|
-
if (this.dialogElement != null) {
|
|
30
|
-
const boundingRect = getBoundingClientRect(this.dialogElement);
|
|
31
|
-
this.initialDialogBoundingRect = boundingRect;
|
|
32
|
-
this.lastPointerPosition = {
|
|
33
|
-
x: boundingRect.right,
|
|
34
|
-
y: boundingRect.bottom,
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
window.addEventListener('pointermove', this.handlePointerMove);
|
|
39
|
-
window.addEventListener('pointerup', this.handlePointerUp);
|
|
40
|
-
};
|
|
41
|
-
this.handlePointerMove = (e) => {
|
|
42
|
-
if (this.lastPointerPosition != null &&
|
|
43
|
-
this.initialDialogBoundingRect != null &&
|
|
44
|
-
this.width != null &&
|
|
45
|
-
this.height != null) {
|
|
46
|
-
const diffX = e.clientX - this.lastPointerPosition.x;
|
|
47
|
-
const diffY = e.clientY - this.lastPointerPosition.y;
|
|
48
|
-
const expectedWidth = this.width + diffX * 2;
|
|
49
|
-
const expectedHeight = this.height + diffY * 2;
|
|
50
|
-
this.width = this.constrainDimension(expectedWidth, this.getMinWidth(), this.getMaxWidth());
|
|
51
|
-
this.height = this.constrainDimension(expectedHeight, this.getMinHeight(), this.getMaxHeight());
|
|
52
|
-
this.lastPointerPosition = {
|
|
53
|
-
x: this.constrainX(e.clientX, this.width, this.initialDialogBoundingRect),
|
|
54
|
-
y: this.constrainY(e.clientY, this.height, this.initialDialogBoundingRect),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
this.handlePointerUp = (e) => {
|
|
59
|
-
this.lastPointerPosition = undefined;
|
|
60
|
-
this.initialDialogBoundingRect = undefined;
|
|
61
|
-
this.isResizing = false;
|
|
62
|
-
window.removeEventListener('pointermove', this.handlePointerMove);
|
|
63
|
-
window.removeEventListener('pointerup', this.handlePointerUp);
|
|
64
|
-
};
|
|
65
|
-
this.constrainDimension = (value, min, max) => {
|
|
66
|
-
return Math.min(Math.max(value, min), max);
|
|
67
|
-
};
|
|
68
|
-
this.constrainX = (x, width, bounds) => {
|
|
69
|
-
if (width <= this.getMinWidth()) {
|
|
70
|
-
return bounds.right;
|
|
71
|
-
}
|
|
72
|
-
else if (width >= this.getMinHeight()) {
|
|
73
|
-
return bounds.right + (width - bounds.width) / 2;
|
|
74
|
-
}
|
|
75
|
-
return x;
|
|
76
|
-
};
|
|
77
|
-
this.constrainY = (y, height, bounds) => {
|
|
78
|
-
if (height <= this.getMinHeight()) {
|
|
79
|
-
return bounds.bottom;
|
|
80
|
-
}
|
|
81
|
-
else if (height >= this.getMaxHeight()) {
|
|
82
|
-
return bounds.bottom + (height - bounds.height) / 2;
|
|
83
|
-
}
|
|
84
|
-
return y;
|
|
85
|
-
};
|
|
86
|
-
this.getMaxWidth = () => {
|
|
87
|
-
var _a;
|
|
88
|
-
return (_a = this.maxWidth) !== null && _a !== void 0 ? _a : Number.POSITIVE_INFINITY;
|
|
89
|
-
};
|
|
90
|
-
this.getMaxHeight = () => {
|
|
91
|
-
var _a;
|
|
92
|
-
return (_a = this.maxHeight) !== null && _a !== void 0 ? _a : Number.POSITIVE_INFINITY;
|
|
93
|
-
};
|
|
94
|
-
this.getMinWidth = () => {
|
|
95
|
-
var _a;
|
|
96
|
-
return (_a = this.minWidth) !== null && _a !== void 0 ? _a : Number.NEGATIVE_INFINITY;
|
|
97
|
-
};
|
|
98
|
-
this.getMinHeight = () => {
|
|
99
|
-
var _a;
|
|
100
|
-
return (_a = this.minHeight) !== null && _a !== void 0 ? _a : Number.NEGATIVE_INFINITY;
|
|
101
|
-
};
|
|
102
|
-
this.resize = () => {
|
|
103
|
-
readDOM(() => {
|
|
104
|
-
if (this.backdropElement != null) {
|
|
105
|
-
const styles = getComputedStyle(this.backdropElement);
|
|
106
|
-
const boundaryPadding = parseFloat(styles.padding);
|
|
107
|
-
this.boundaryPadding = isNaN(boundaryPadding) ? 0 : boundaryPadding;
|
|
108
|
-
this.maxHeight = window.innerHeight - this.boundaryPadding * 2;
|
|
109
|
-
this.maxWidth = window.innerWidth - this.boundaryPadding * 2;
|
|
110
|
-
this.width =
|
|
111
|
-
this.width != null ? Math.min(this.maxWidth, this.width) : undefined;
|
|
112
|
-
this.height =
|
|
113
|
-
this.height != null
|
|
114
|
-
? Math.min(this.maxHeight, this.height)
|
|
115
|
-
: undefined;
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
this.open = false;
|
|
120
|
-
this.fullscreen = false;
|
|
121
|
-
this.resizable = false;
|
|
122
|
-
this.width = undefined;
|
|
123
|
-
this.height = undefined;
|
|
124
|
-
this.minWidth = undefined;
|
|
125
|
-
this.minHeight = undefined;
|
|
126
|
-
this.maxWidth = undefined;
|
|
127
|
-
this.maxHeight = undefined;
|
|
128
|
-
this.isResizing = false;
|
|
129
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
130
|
-
this.mutationObserver = new MutationObserver(this.resize);
|
|
131
|
-
this.resizeObserver = new ResizeObserver(this.resize);
|
|
132
|
-
}
|
|
133
|
-
componentDidLoad() {
|
|
134
|
-
window.addEventListener('resize', this.resize);
|
|
135
|
-
this.mutationObserver.observe(this.hostEl, {
|
|
136
|
-
attributes: true,
|
|
137
|
-
attributeFilter: ['style'],
|
|
138
|
-
});
|
|
139
|
-
this.resizeObserver.observe(this.hostEl);
|
|
140
|
-
}
|
|
141
|
-
componentWillRender() {
|
|
142
|
-
if (this.open && this.width == null && this.height == null) {
|
|
143
|
-
readDOM(() => {
|
|
144
|
-
if (this.dialogElement != null) {
|
|
145
|
-
const boundingRect = getBoundingClientRect(this.dialogElement);
|
|
146
|
-
this.minWidth = boundingRect.width;
|
|
147
|
-
this.minHeight = boundingRect.height;
|
|
148
|
-
this.width = this.minWidth;
|
|
149
|
-
this.height = this.minHeight;
|
|
150
|
-
this.resize();
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
disconnectedCallback() {
|
|
156
|
-
this.width = undefined;
|
|
157
|
-
this.height = undefined;
|
|
158
|
-
this.lastPointerPosition = undefined;
|
|
159
|
-
this.isResizing = false;
|
|
160
|
-
}
|
|
161
|
-
clearComputedValues() {
|
|
162
|
-
this.width = undefined;
|
|
163
|
-
this.height = undefined;
|
|
164
|
-
this.minWidth = undefined;
|
|
165
|
-
this.minHeight = undefined;
|
|
166
|
-
this.maxWidth = undefined;
|
|
167
|
-
this.maxHeight = undefined;
|
|
168
|
-
}
|
|
169
|
-
updateOpened(open) {
|
|
170
|
-
if (!open) {
|
|
171
|
-
this.closed.emit();
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
keyDownListener(ev) {
|
|
175
|
-
if (this.open && ev.key === 'Escape') {
|
|
176
|
-
ev.preventDefault();
|
|
177
|
-
ev.stopPropagation();
|
|
178
|
-
this.open = false;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
render() {
|
|
182
|
-
var _a, _b;
|
|
183
|
-
const width = this.width != null || this.minWidth != null
|
|
184
|
-
? `${(_a = this.width) !== null && _a !== void 0 ? _a : this.minWidth}px`
|
|
185
|
-
: undefined;
|
|
186
|
-
const height = this.height != null || this.minHeight != null
|
|
187
|
-
? `${(_b = this.height) !== null && _b !== void 0 ? _b : this.minHeight}px`
|
|
188
|
-
: undefined;
|
|
189
|
-
return (h("div", { ref: (el) => {
|
|
190
|
-
this.backdropElement = el;
|
|
191
|
-
}, onPointerDown: () => {
|
|
192
|
-
this.backdropClick.emit();
|
|
193
|
-
}, class: classnames('dialog-backdrop', {
|
|
194
|
-
hidden: !this.open,
|
|
195
|
-
shown: this.open,
|
|
196
|
-
'resize-cursor': this.isResizing,
|
|
197
|
-
}) }, h("div", { ref: (el) => {
|
|
198
|
-
this.dialogElement = el;
|
|
199
|
-
}, class: classnames('dialog', {
|
|
200
|
-
resizable: this.resizable,
|
|
201
|
-
fullscreen: this.fullscreen,
|
|
202
|
-
overlay: !this.fullscreen,
|
|
203
|
-
'no-select': this.lastPointerPosition != null,
|
|
204
|
-
}), onPointerDown: (e) => {
|
|
205
|
-
e.stopPropagation();
|
|
206
|
-
}, style: this.resizable && !this.fullscreen
|
|
207
|
-
? {
|
|
208
|
-
width,
|
|
209
|
-
height,
|
|
210
|
-
}
|
|
211
|
-
: undefined }, h("div", { class: "contents" }, h("slot", { name: "header" }, h("div", { class: "header" }, h("slot", { name: "heading" }), h("div", { class: "close" }, h("slot", { name: "close-dialog" }, h("vertex-icon-button", { onPointerDown: () => {
|
|
212
|
-
this.open = false;
|
|
213
|
-
}, iconSize: "sm", iconName: "close" }))))), h("div", { class: "body" }, h("slot", null)), h("div", { class: "footer" }, h("slot", { name: "footer" }, h("slot", { name: "footer-actions" }))), this.resizable && !this.fullscreen && (h("vertex-icon", { class: "resize", onPointerDown: this.handlePointerDown, name: "resize", size: "xs" }))))));
|
|
214
|
-
}
|
|
215
|
-
get hostEl() { return getElement(this); }
|
|
216
|
-
static get watchers() { return {
|
|
217
|
-
"resizable": ["clearComputedValues"],
|
|
218
|
-
"open": ["updateOpened"]
|
|
219
|
-
}; }
|
|
220
|
-
};
|
|
221
|
-
Dialog.style = dialogCss;
|
|
222
|
-
|
|
223
|
-
export { Dialog as D };
|
package/dist/esm/dom-64053c71.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
3
|
-
*/
|
|
4
|
-
(function(){
|
|
5
|
-
var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}
|
|
6
|
-
function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
|
|
7
|
-
function p(a,b,d){d=void 0===d?new Set:d;for(var c=a;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,b,d);c=n(a,e);continue}else if("template"===f){c=n(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,b,d);}c=c.firstChild?c.firstChild:n(a,c);}}function r(a,b,d){a[b]=d;}function u(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1;}function ba(a,b,d){a.a.set(b,d);a.g.set(d.constructorFunction,d);}function ca(a,b){a.b=!0;a.c.push(b);}function da(a,b){a.b=!0;a.f.push(b);}function v(a,b){a.b&&p(b,function(b){return w(a,b)});}function w(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var d=0;d<a.c.length;d++)a.c[d](b);for(d=0;d<a.f.length;d++)a.f[d](b);}}
|
|
8
|
-
function x(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state?a.connectedCallback(c):y(a,c);}}function z(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state&&a.disconnectedCallback(c);}}
|
|
9
|
-
function A(a,b,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.i||function(b){return y(a,b)},f=[];p(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var d=b.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var d=b.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);A(a,d,{u:f,i:e});}});}else f.push(b);},c);if(a.b)for(b=
|
|
10
|
-
0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}
|
|
11
|
-
function y(a,b){if(void 0===b.__CE_state){var d=b.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=a.a.get(b.localName)){d.constructionStack.push(b);var c=d.constructorFunction;try{try{if(new c!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop();}}catch(t){throw b.__CE_state=2,t;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=
|
|
12
|
-
d[c],f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null);}l(b)&&a.connectedCallback(b);}}}u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a);};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a);};
|
|
13
|
-
u.prototype.attributeChangedCallback=function(a,b,d,c,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,d,c,e);};function B(a){var b=document;this.c=a;this.a=b;this.b=void 0;A(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}));}function C(a){a.b&&a.b.disconnect();}B.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||C(this);for(b=0;b<a.length;b++)for(var d=a[b].addedNodes,c=0;c<d.length;c++)A(this.c,d[c]);};function ea(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a);});}function D(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0);}function E(a){this.c=!1;this.a=a;this.j=new Map;this.f=function(b){return b()};this.b=!1;this.g=[];this.o=new B(a);}
|
|
14
|
-
E.prototype.l=function(a,b){var d=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function.");
|
|
15
|
-
return a},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var t=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var m=b.observedAttributes||[];}catch(q){return}finally{this.c=!1;}b={localName:a,constructorFunction:b,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.a,
|
|
16
|
-
a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return fa(d)}));};E.prototype.i=function(a){A(this.a,a);};
|
|
17
|
-
function fa(a){if(!1!==a.b){a.b=!1;for(var b=a.g,d=[],c=new Map,e=0;e<b.length;e++)c.set(b[e].localName,[]);A(a.a,document,{i:function(b){if(void 0===b.__CE_state){var e=b.localName,f=c.get(e);f?f.push(b):a.a.a.get(e)&&d.push(b);}}});for(e=0;e<d.length;e++)y(a.a,d[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)y(a.a,f[t]);(e=a.j.get(e))&&D(e);}}}E.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction};
|
|
18
|
-
E.prototype.m=function(a){if(!g(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.j.get(a);if(b)return b.c;b=new ea;this.j.set(a,b);this.a.a.get(a)&&!this.g.some(function(b){return b.localName===a})&&D(b);return b.c};E.prototype.s=function(a){C(this.o);var b=this.f;this.f=function(d){return a(function(){return b(d)})};};window.CustomElementRegistry=E;E.prototype.define=E.prototype.l;E.prototype.upgrade=E.prototype.i;E.prototype.get=E.prototype.get;
|
|
19
|
-
E.prototype.whenDefined=E.prototype.m;E.prototype.polyfillWrapFlushCallback=E.prototype.s;var F=window.Document.prototype.createElement,G=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,H=window.Node.prototype.cloneNode,I=window.Node.prototype.appendChild,J=window.Node.prototype.insertBefore,K=window.Node.prototype.removeChild,L=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
|
20
|
-
"textContent"),N=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,Q=window.Element.prototype.setAttribute,R=window.Element.prototype.removeAttribute,S=window.Element.prototype.getAttributeNS,T=window.Element.prototype.setAttributeNS,U=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend,
|
|
21
|
-
pa=window.Element.prototype.append,V=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var a=X;window.HTMLElement=function(){function b(){var b=this.constructor,c=a.g.get(b);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=F.call(document,c.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=c,w(a,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
|
|
22
|
-
e[c]=wa;Object.setPrototypeOf(f,b.prototype);w(a,f);return f}b.prototype=ta.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}();}function Y(a,b,d){function c(b){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q);}b.apply(this,e);for(e=0;e<f.length;e++)z(a,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&x(a,f);}}void 0!==d.h&&(b.prepend=c(d.h));void 0!==d.append&&(b.append=c(d.append));}function ya(){var a=X;r(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var d=a.a.get(b);if(d)return new d.constructorFunction}b=F.call(this,b);w(a,b);return b});r(Document.prototype,"importNode",function(b,d){b=ha.call(this,b,!!d);this.__CE_hasRegistry?A(a,b):v(a,b);return b});r(Document.prototype,"createElementNS",function(b,d){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var c=a.a.get(d);if(c)return new c.constructorFunction}b=G.call(this,b,
|
|
23
|
-
d);w(a,b);return b});Y(a,Document.prototype,{h:ia,append:ja});}function za(){function a(a,c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else {var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h];}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)z(b,d[a]);}}});}var b=X;r(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);
|
|
24
|
-
a=J.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);c=J.call(this,a,c);e&&z(b,a);l(this)&&x(b,a);return c});r(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=I.call(this,a);if(l(this))for(var e=0;e<c.length;e++)x(b,c[e]);return a}c=l(a);e=I.call(this,a);c&&z(b,a);l(this)&&x(b,a);return e});r(Node.prototype,"cloneNode",function(a){a=H.call(this,!!a);this.ownerDocument.__CE_hasRegistry?A(b,a):v(b,
|
|
25
|
-
a);return a});r(Node.prototype,"removeChild",function(a){var c=l(a),e=K.call(this,a);c&&z(b,a);return e});r(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=L.call(this,a,c);if(l(this))for(z(b,c),c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);var f=L.call(this,a,c),d=l(this);d&&z(b,c);e&&z(b,a);d&&x(b,a);return f});M&&M.get?a(Node.prototype,M):ca(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],
|
|
26
|
-
b=0;b<this.childNodes.length;b++){var f=this.childNodes[b];f.nodeType!==Node.COMMENT_NODE&&a.push(f.textContent);}return a.join("")},set:function(a){for(;this.firstChild;)K.call(this,this.firstChild);null!=a&&""!==a&&I.call(this,document.createTextNode(a));}});});}function Aa(a){function b(b){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m);}b.apply(this,c);for(c=0;c<k.length;c++)z(a,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&x(a,k);}}var d=Element.prototype;void 0!==V&&(d.before=b(V));void 0!==V&&(d.after=b(qa));void 0!==ra&&
|
|
27
|
-
r(d,"replaceWith",function(b){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h);}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)z(a,d[e]);if(k)for(z(a,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&x(a,d);});void 0!==sa&&r(d,"remove",function(){var b=l(this);sa.call(this);b&&z(a,this);});}function Ba(){function a(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a);}));b.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&c.disconnectedCallback(t);}this.ownerDocument.__CE_hasRegistry?A(c,this):v(c,this);return a}});}function b(a,b){r(a,"insertAdjacentElement",function(a,e){var d=l(e);a=b.call(this,a,e);d&&z(c,e);l(a)&&x(c,e);return a});}
|
|
28
|
-
function d(a,b){function e(a,b){for(var e=[];a!==b;a=a.nextSibling)e.push(a);for(b=0;b<e.length;b++)A(c,e[b]);}r(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;b.call(this,a,c);e(d||this.parentNode.firstChild,this);}else if("afterbegin"===a)d=this.firstChild,b.call(this,a,c),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,b.call(this,a,c),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,b.call(this,a,c),e(this.nextSibling,
|
|
29
|
-
d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");});}var c=X;N&&r(Element.prototype,"attachShadow",function(a){a=N.call(this,a);var b=c;if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var e=0;e<b.c.length;e++)b.c[e](a);}return this.__CE_shadowRoot=a});O&&O.get?a(Element.prototype,O):W&&W.get?a(HTMLElement.prototype,W):da(c,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},
|
|
30
|
-
set:function(a){var b="template"===this.localName,c=b?this.content:this,e=G.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)K.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)I.call(c,a.childNodes[0]);}});});r(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return Q.call(this,a,b);var e=P.call(this,a);Q.call(this,a,b);b=P.call(this,a);c.attributeChangedCallback(this,a,e,b,null);});r(Element.prototype,"setAttributeNS",function(a,
|
|
31
|
-
b,d){if(1!==this.__CE_state)return T.call(this,a,b,d);var e=S.call(this,a,b);T.call(this,a,b,d);d=S.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a);});r(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return R.call(this,a);var b=P.call(this,a);R.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null);});r(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return U.call(this,a,b);var d=S.call(this,a,b);U.call(this,a,b);var e=S.call(this,
|
|
32
|
-
a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a);});ua?b(HTMLElement.prototype,ua):ma?b(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(c,Element.prototype,{h:oa,append:pa});Aa(c);}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new u;xa();ya();Y(X,DocumentFragment.prototype,{h:ka,append:la});za();Ba();document.__CE_hasRegistry=!0;var customElements=new E(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements});}}).call(self);
|
|
33
|
-
|
|
34
|
-
// Polyfill document.baseURI
|
|
35
|
-
"string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var a=document.querySelector("base");return a&&a.href?a.href:document.URL}});
|
|
36
|
-
|
|
37
|
-
// Polyfill CustomEvent
|
|
38
|
-
"function"!==typeof window.CustomEvent&&(window.CustomEvent=function(c,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var b=document.createEvent("CustomEvent");b.initCustomEvent(c,a.bubbles,a.cancelable,a.detail);return b},window.CustomEvent.prototype=window.Event.prototype);
|
|
39
|
-
|
|
40
|
-
// Event.composedPath
|
|
41
|
-
(function(b,c,d){b.composedPath||(b.composedPath=function(){if(this.path)return this.path;var a=this.target;for(this.path=[];null!==a.parentNode;)this.path.push(a),a=a.parentNode;this.path.push(c,d);return this.path});})(Event.prototype,document,window);
|
|
42
|
-
|
|
43
|
-
/*!
|
|
44
|
-
Element.closest and Element.matches
|
|
45
|
-
https://github.com/jonathantneal/closest
|
|
46
|
-
Creative Commons Zero v1.0 Universal
|
|
47
|
-
*/
|
|
48
|
-
(function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return !!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode;}return null});})(window.Element.prototype);
|
|
49
|
-
|
|
50
|
-
/*!
|
|
51
|
-
Element.getRootNode()
|
|
52
|
-
*/
|
|
53
|
-
(function(c){function d(a){a=b(a);return a&&11===a.nodeType?d(a.host):a}function b(a){return a&&a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)});})(Element.prototype);
|
|
54
|
-
|
|
55
|
-
/*!
|
|
56
|
-
Element.isConnected()
|
|
57
|
-
*/
|
|
58
|
-
(function(a){"isConnected"in a||Object.defineProperty(a,"isConnected",{configurable:!0,enumerable:!0,get:function(){var a=this.getRootNode({composed:!0});return a&&9===a.nodeType}});})(Element.prototype);
|
|
59
|
-
|
|
60
|
-
/*!
|
|
61
|
-
Element.remove()
|
|
62
|
-
*/
|
|
63
|
-
(function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
|
|
64
|
-
|
|
65
|
-
/*!
|
|
66
|
-
Element.classList
|
|
67
|
-
*/
|
|
68
|
-
!function(e){'classList'in e||Object.defineProperty(e,"classList",{get:function(){var e=this,t=(e.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class");}return ""===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n();},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n();},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n();},t.item=function(e){return t[e]},t.contains=function(e){return -1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n();},t.value=e.getAttribute("class")||"",t}});}(Element.prototype);
|
|
69
|
-
|
|
70
|
-
/*!
|
|
71
|
-
DOMTokenList
|
|
72
|
-
*/
|
|
73
|
-
(function(b){try{document.body.classList.add();}catch(e){var c=b.add,d=b.remove;b.add=function(){for(var a=0;a<arguments.length;a++)c.call(this,arguments[a]);};b.remove=function(){for(var a=0;a<arguments.length;a++)d.call(this,arguments[a]);};}})(DOMTokenList.prototype);
|
package/dist/esm/dom-9d0f7bf4.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { c as readTask } from './index-72f28b71.js';
|
|
2
|
-
|
|
3
|
-
function readDOM(callback) {
|
|
4
|
-
readTask(callback);
|
|
5
|
-
}
|
|
6
|
-
function getBoundingClientRect(el) {
|
|
7
|
-
return el.getBoundingClientRect();
|
|
8
|
-
}
|
|
9
|
-
function blurElement(el) {
|
|
10
|
-
el.blur();
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { blurElement as b, getBoundingClientRect as g, readDOM as r };
|