@vertexvis/ui 0.1.5-canary.0 → 0.1.5-testing.0
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/{banner-5628c955.js → banner-8325d5ca.js} +1 -1
- package/dist/cjs/{dialog-34f1dd6e.js → dialog-34244fe1.js} +2 -0
- package/dist/cjs/{icon-116cb9ca.js → icon-ab3e2b83.js} +1 -1
- package/dist/cjs/{icon-button-4dd2dfa4.js → icon-button-9a6314cd.js} +1 -1
- package/dist/cjs/{icon-helper-475a8443.js → icon-helper-b2117772.js} +8 -2
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/vertex-banner.cjs.entry.js +2 -2
- package/dist/cjs/vertex-dialog.cjs.entry.js +1 -1
- package/dist/cjs/vertex-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/vertex-icon.cjs.entry.js +2 -2
- package/dist/collection/components/dialog/dialog.js +2 -0
- package/dist/collection/components/icon/icon-helper.js +5 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/icons/triad.js +2 -0
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/types/icon.js +2 -1
- package/dist/components/components.esm.js +1 -1
- package/dist/components/icon-helper.js +8 -2
- package/dist/components/index.esm.js +1 -1
- package/dist/components/p-22ec9b78.entry.js +1 -0
- package/dist/components/p-407430fe.entry.js +1 -0
- package/dist/components/p-5366a759.entry.js +1 -0
- package/dist/components/p-7ace7800.entry.js +1 -0
- package/dist/components/{p-f9cb8f55.js → p-8a52767f.js} +1 -1
- package/dist/components/{p-5256b0a6.js → p-90b4e04b.js} +1 -1
- package/dist/components/{p-0d4a0d61.js → p-90cf31d2.js} +1 -1
- package/dist/components/{p-1ee42db8.js → p-c8ab09fb.js} +1 -1
- package/dist/components/{p-ccbcd666.js → p-fedcc21e.js} +1 -1
- package/dist/components/vertex-dialog.js +2 -0
- package/dist/esm/{banner-38690fc8.js → banner-b292060d.js} +1 -1
- package/dist/esm/{dialog-1cef715c.js → dialog-c69d9152.js} +2 -0
- package/dist/esm/{icon-3aa6a6c3.js → icon-390b9402.js} +1 -1
- package/dist/esm/{icon-button-d3d5e6b7.js → icon-button-552e31fe.js} +1 -1
- package/dist/esm/{icon-helper-514f627f.js → icon-helper-7437b548.js} +8 -2
- package/dist/esm/index.js +5 -5
- package/dist/esm/vertex-banner.entry.js +2 -2
- package/dist/esm/vertex-dialog.entry.js +1 -1
- package/dist/esm/vertex-icon-button.entry.js +2 -2
- package/dist/esm/vertex-icon.entry.js +2 -2
- package/dist/types/components/icon/icons/triad.d.ts +3 -0
- package/dist/types/types/icon.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/p-2e95a400.entry.js +0 -1
- package/dist/components/p-92e6b1d3.entry.js +0 -1
- package/dist/components/p-d85544e7.entry.js +0 -1
- package/dist/components/p-e35057b5.entry.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-6a92256c.js');
|
|
4
4
|
const index$1 = require('./index-e1b40fa6.js');
|
|
5
|
-
const iconHelper = require('./icon-helper-
|
|
5
|
+
const iconHelper = require('./icon-helper-b2117772.js');
|
|
6
6
|
|
|
7
7
|
const bannerCss = ":host{--banner-width:auto;--banner-min-width:25rem;--banner-max-width:35rem;--banner-white-space:normal}.anchor{position:fixed}.top-left{left:24px;top:24px}.top{left:50vw;top:24px}.top-right{right:24px;top:24px}.popover{position:fixed;--open-animation-name:open-fade-in;--close-animation-name:close-fade-out}.actions{display:flex;align-items:center;margin-left:auto}.close{cursor:pointer;margin-left:16px}.close:hover{color:var(--vertex-ui-blue-500)}.banner{position:relative;display:flex;align-items:center;width:var(--banner-width);min-width:var(--banner-min-width);max-width:var(--banner-max-width);padding:16px;font-family:var(--vertex-ui-font-family);font-size:var(--vertex-ui-text-base);border-radius:4px;white-space:var(--banner-white-space);user-select:none;filter:drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));border:1px solid var(--vertex-ui-neutral-300)}.banner.hidden{pointer-events:none}.icon{display:flex;margin-right:16px;justify-content:center;align-items:center;fill:currentColor;height:1.25rem;width:1.25rem}.icon-info{color:var(--vertex-ui-blue-600)}.icon-success{color:var(--vertex-ui-green-600)}.icon-warn{color:var(--vertex-ui-orange-600)}.icon-error{color:var(--vertex-ui-red-600)}.message{align-items:center}.info{background-color:var(--vertex-ui-blue-100);color:var(--vertex-ui-neutral-800)}.success{background-color:var(--vertex-ui-green-100);color:var(--vertex-ui-neutral-800)}.warn{background-color:var(--vertex-ui-orange-100);color:var(--vertex-ui-neutral-800)}.error{background-color:var(--vertex-ui-red-100);color:var(--vertex-ui-neutral-800)}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-6a92256c.js');
|
|
4
4
|
const index$1 = require('./index-e1b40fa6.js');
|
|
5
|
-
const iconHelper = require('./icon-helper-
|
|
5
|
+
const iconHelper = require('./icon-helper-b2117772.js');
|
|
6
6
|
|
|
7
7
|
const iconCss = ".container{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon{display:flex;justify-content:center;align-items:center;fill:currentColor}.xs{height:var(--icon-size, 0.75rem);width:var(--icon-size, 0.75rem)}.sm{height:var(--icon-size, 1rem);width:var(--icon-size, 1rem)}.md{height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.lg{height:var(--icon-size, 2rem);width:var(--icon-size, 2rem)}svg{position:relative;width:100%}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-6a92256c.js');
|
|
4
4
|
const index$1 = require('./index-e1b40fa6.js');
|
|
5
|
-
const iconHelper = require('./icon-helper-
|
|
5
|
+
const iconHelper = require('./icon-helper-b2117772.js');
|
|
6
6
|
|
|
7
7
|
const iconButtonCss = "button{border:none;background-color:transparent;font-family:var(--vertex-ui-font-family);font-size:0.875rem;padding:0}:host{--enabled-cursor:pointer;--disabled-cursor:not-allowed;--hover-background-color:var(--vertex-ui-neutral-300);--active-background-color:var(--vertex-ui-neutral-400);--focus-background-color:var(--vertex-ui-neutral-400);--hover-box-shadow:0 2px 2px rgb(0 0 0 / 20%);--active-box-shadow:none;--focus-box-shadow:0 0 0 1px var(--vertex-ui-neutral-900);--icon-margin:0px}.container{display:flex;justify-content:center;align-items:center;outline:none;fill:currentColor;color:currentColor;cursor:var(--enabled-cursor)}.container:not(.plain){border-radius:4px;padding:0.25rem}.icon-button{display:flex;position:relative;justify-content:center;align-items:center;fill:currentColor;height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.icon-button svg{width:100%;height:100%;margin:var(--icon-margin, 0px)}.badge{position:absolute;top:0px;right:4px;justify-content:flex-end;align-items:flex-end}.floating{background-color:var(--vertex-ui-neutral-100);box-shadow:var(--vertex-ui-overlay-shadow);color:var(--vertex-ui-neutral-700);fill:var(--vertex-ui-neutral-700);opacity:0.95}.floating.disabled{color:var(--vertex-ui-neutral-400);cursor:var(--disabled-cursor)}.container:not(.disabled):not(.plain):hover{background-color:var(--hover-background-color);box-shadow:var(--hover-box-shadow)}.container:not(.disabled):not(.plain):active{background-color:var(--active-background-color);box-shadow:var(--active-box-shadow)}.container:not(.disabled):not(.plain):focus-visible{background-color:var(--focus-background-color);box-shadow:var(--focus-box-shadow);color:var(--vertex-ui-neutral-900)}.container.disabled:not(.floating){cursor:var(--disabled-cursor);color:var(--vertex-ui-neutral-400)}.container.primary:not(.disabled){color:var(--vertex-ui-blue-700)}.container.secondary:not(.disabled){color:var(--vertex-ui-neutral-800)}.xs{height:var(--icon-size, 0.75rem);width:var(--icon-size, 0.75rem)}.sm{height:var(--icon-size, 1rem);width:var(--icon-size, 1rem)}.md{height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.lg{height:var(--icon-size, 2rem);width:var(--icon-size, 2rem)}";
|
|
8
8
|
|
|
@@ -463,6 +463,10 @@ const TeleportAndAlign = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/
|
|
|
463
463
|
const TeleportToward = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "teleport-toward" },
|
|
464
464
|
index.h("path", { d: "M13.53,11.5a4.13,4.13,0,0,0-1.65-.93,11.17,11.17,0,0,0-1.84-.4l.88-1.4a.49.49,0,0,0,0-.51A.51.51,0,0,0,10.5,8h-2a.5.5,0,0,0-1,0V8h-2a.51.51,0,0,0-.44.26.49.49,0,0,0,0,.51L6,10.16a8.92,8.92,0,0,0-2.43.65,3.39,3.39,0,0,0-1,.67,1.49,1.49,0,0,0-.46,1,1.51,1.51,0,0,0,.6,1.14,5.3,5.3,0,0,0,2.19,1A13.4,13.4,0,0,0,8,15a12.38,12.38,0,0,0,4.05-.61,4.19,4.19,0,0,0,1.33-.73A1.51,1.51,0,0,0,14,12.5,1.45,1.45,0,0,0,13.53,11.5ZM8.5,6V5a.5.5,0,0,0,-1,0V6a.5.5,0,0,0,1,0ZM8.5,3V2a.5.5,0,0,0,-1,0V3a.5.5,0,0,0,1,0ZM9.6,9,8,11.56,6.4,9Zm3.15,3.91a4.45,4.45,0,0,1-1.79.78A12.39,12.39,0,0,1,8,14a11.25,11.25,0,0,1-3.72-.56,3,3,0,0,1-1-.55C3,12.72,3,12.59,3,12.5s0-.18.19-.34a3.33,3.33,0,0,1,1.33-.7,10.19,10.19,0,0,1,2-.4l1.07,1.71a.5.5,0,0,0,.84,0l1.07-1.71a8.78,8.78,0,0,1,2.64.64,2.28,2.28,0,0,1,.71.47.47.47,0,0,1,.18.33C13,12.59,13,12.72,12.75,12.91Z" })));
|
|
465
465
|
|
|
466
|
+
const Triad = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "triad" },
|
|
467
|
+
index.h("g", { transform: "translate(1, 1)" },
|
|
468
|
+
index.h("path", { d: "M13.9724599,11.54 L13.8224599,11.07 L13.5124599,10.12 L13.2024599,9.16 C13.1224599,8.9 12.8324599,8.75 12.5724599,8.84 C12.3124599,8.92 12.1624599,9.21 12.2524599,9.47 L12.5624599,10.43 L12.6524599,10.7 L12.2924599,10.51 L7.4924599,8.09 C7.4924599,8.09 7.4924599,8.09 7.4924599,8.09 L7.4924599,1.72 L7.6924599,1.92 L8.1124599,2.34 C8.3124599,2.54 8.6224599,2.54 8.8224599,2.34 C9.0224599,2.14 9.0224599,1.83 8.8224599,1.63 L8.4024599,1.21 L7.6924599,0.5 L7.3424599,0.15 C7.1424599,-0.05 6.8324599,-0.05 6.6324599,0.15 L6.2424599,0.54 L5.5324599,1.25 L5.1524599,1.63 C4.9524599,1.83 4.9524599,2.14 5.1524599,2.34 C5.3524599,2.54 5.6624599,2.54 5.8624599,2.34 L6.2424599,1.96 L6.4824599,1.72 L6.4824599,8.11 L1.7024599,10.52 L1.3424599,10.71 L1.4324599,10.44 L1.7424599,9.48 C1.8224599,9.22 1.6824599,8.94 1.4224599,8.85 C1.1624599,8.77 0.8824599,8.91 0.7924599,9.17 L0.4824599,10.13 L0.1724599,11.08 L0.0224599004,11.55 C-0.0575400996,11.81 0.0824599004,12.09 0.3424599,12.18 L0.8624599,12.35 L1.8124599,12.66 L2.7224599,12.95 C2.9824599,13.03 3.2624599,12.89 3.3524599,12.63 C3.4324599,12.37 3.2924599,12.09 3.0324599,12 L2.1324599,11.71 L1.8024599,11.6 L2.2324599,11.38 L6.9624599,9 C6.9624599,9 6.9824599,8.98 7.0024599,8.97 C7.0024599,8.97 7.0024599,8.97 7.0024599,8.97 C7.0124599,8.97 7.0224599,8.99 7.0424599,9 L11.7724599,11.38 L12.2024599,11.6 L11.8724599,11.71 L10.9724599,12 C10.7124599,12.08 10.5624599,12.37 10.6524599,12.63 C10.7324599,12.89 11.0224599,13.04 11.2824599,12.95 L12.1924599,12.66 L13.1424599,12.35 L13.6624599,12.18 C13.9224599,12.1 14.0724599,11.81 13.9824599,11.55 L13.9724599,11.54 Z" }))));
|
|
469
|
+
|
|
466
470
|
const Turtle = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "turtle" },
|
|
467
471
|
index.h("path", { d: "M13.5,5a.5.5,0,0,0-.35.85.5.5,0,1,0,.7-.7A.47.47,0,0,0,13.5,5Zm2.18-.92a2.15,2.15,0,0,0-.43-.74A1.08,1.08,0,0,0,14.5,3h-2a1.08,1.08,0,0,0-.75.34,2.67,2.67,0,0,0-.57,1.22c0,.06,0,.15,0,.22a3.85,3.85,0,0,0-1.06-1.07A4.62,4.62,0,0,0,7.5,3a4.93,4.93,0,0,0-3.2,1,6.24,6.24,0,0,0-2,3.43A9.75,9.75,0,0,0,2,9.18l-1.73.87A.5.5,0,0,0,.5,11H3.33l.27.18-.55,1.1a.51.51,0,0,0,0,.48A.52.52,0,0,0,3.5,13h2a.51.51,0,0,0,.5-.5v-.6a11,11,0,0,0,1.5.1,7.78,7.78,0,0,0,2.5-.38v.88a.51.51,0,0,0,.5.5h2a.52.52,0,0,0,.43-.24.51.51,0,0,0,0-.48l-.89-1.78A6.11,6.11,0,0,0,13.86,8H15.5a.51.51,0,0,0,.5-.5v-1A7.36,7.36,0,0,0,15.68,4.08ZM3,9.17H3A8,8,0,0,1,3.7,6.43,4.48,4.48,0,0,1,5,4.74,4,4,0,0,1,7.5,4a3.55,3.55,0,0,1,2,.54,3.27,3.27,0,0,1,1.27,1.84,4.72,4.72,0,0,1,.17.81,1.7,1.7,0,0,1,0,.21,3.75,3.75,0,0,1-1.72,2,5.38,5.38,0,0,1-2.47.53A10.75,10.75,0,0,1,4,9.46C3.57,9.36,3.25,9.25,3,9.17ZM5,12H4.31l.21-.42.48.14Zm6,0v-.72a.24.24,0,0,0,0-.08l.24-.13.46.93Zm4-5H13.5a.51.51,0,0,0-.49.38h0a4.78,4.78,0,0,1-1.09,1.88A5.71,5.71,0,0,1,7.5,11a8.87,8.87,0,0,1-2.1-.22,9.13,9.13,0,0,0,1.4.11,6.27,6.27,0,0,0,2.94-.65A4.78,4.78,0,0,0,12,7.7h0l0-.19v-1a6.55,6.55,0,0,1,.26-2.08A1.38,1.38,0,0,1,12.47,4l0,0h2a.41.41,0,0,1,.11.12A5.06,5.06,0,0,1,15,6.5Z" })));
|
|
468
472
|
|
|
@@ -749,12 +753,14 @@ function getSvg(name) {
|
|
|
749
753
|
return index.h(Tag, null);
|
|
750
754
|
case 'tape-measure':
|
|
751
755
|
return index.h(TapeMeasure, null);
|
|
756
|
+
case 'teleport':
|
|
757
|
+
return index.h(Teleport, null);
|
|
752
758
|
case 'teleport-and-align':
|
|
753
759
|
return index.h(TeleportAndAlign, null);
|
|
754
760
|
case 'teleport-toward':
|
|
755
761
|
return index.h(TeleportToward, null);
|
|
756
|
-
case '
|
|
757
|
-
return index.h(
|
|
762
|
+
case 'triad':
|
|
763
|
+
return index.h(Triad, null);
|
|
758
764
|
case 'turtle':
|
|
759
765
|
return index.h(Turtle, null);
|
|
760
766
|
case 'update':
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ const autoResizeTextarea = require('./auto-resize-textarea-deb05359.js');
|
|
|
6
6
|
const avatar = require('./avatar-e69bb687.js');
|
|
7
7
|
const avatarGroup = require('./avatar-group-d2af53e4.js');
|
|
8
8
|
const badge = require('./badge-d39ac1fc.js');
|
|
9
|
-
const banner = require('./banner-
|
|
9
|
+
const banner = require('./banner-8325d5ca.js');
|
|
10
10
|
const button = require('./button-e63d25b1.js');
|
|
11
11
|
const card = require('./card-ae9e8a8f.js');
|
|
12
12
|
const cardGroup = require('./card-group-da93e610.js');
|
|
@@ -17,13 +17,13 @@ const colorCirclePicker = require('./color-circle-picker-b0927289.js');
|
|
|
17
17
|
const colorPicker = require('./color-picker-6aa97d3b.js');
|
|
18
18
|
const colorSwatch = require('./color-swatch-6d98da5f.js');
|
|
19
19
|
const contextMenu = require('./context-menu-664922cd.js');
|
|
20
|
-
const dialog = require('./dialog-
|
|
20
|
+
const dialog = require('./dialog-34244fe1.js');
|
|
21
21
|
const draggablePopover = require('./draggable-popover-125717a7.js');
|
|
22
22
|
const dropdownMenu = require('./dropdown-menu-5ae03a72.js');
|
|
23
23
|
const expandable = require('./expandable-b1cd4f0b.js');
|
|
24
24
|
const helpTooltip = require('./help-tooltip-f72eccc7.js');
|
|
25
|
-
const icon = require('./icon-
|
|
26
|
-
const iconButton = require('./icon-button-
|
|
25
|
+
const icon = require('./icon-ab3e2b83.js');
|
|
26
|
+
const iconButton = require('./icon-button-9a6314cd.js');
|
|
27
27
|
const logoLoading = require('./logo-loading-4d49fedf.js');
|
|
28
28
|
const menu = require('./menu-bfc03108.js');
|
|
29
29
|
const menuDivider = require('./menu-divider-5bdebe5d.js');
|
|
@@ -46,7 +46,7 @@ const tooltip = require('./tooltip-634eb8c9.js');
|
|
|
46
46
|
require('./index-6a92256c.js');
|
|
47
47
|
require('./slots-fb5ac359.js');
|
|
48
48
|
require('./index-e1b40fa6.js');
|
|
49
|
-
require('./icon-helper-
|
|
49
|
+
require('./icon-helper-b2117772.js');
|
|
50
50
|
require('./lib-1bd1e383.js');
|
|
51
51
|
require('./dom-a2c535e3.js');
|
|
52
52
|
require('./templates-e7b3ffbb.js');
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const banner = require('./banner-
|
|
5
|
+
const banner = require('./banner-8325d5ca.js');
|
|
6
6
|
require('./index-6a92256c.js');
|
|
7
7
|
require('./index-e1b40fa6.js');
|
|
8
|
-
require('./icon-helper-
|
|
8
|
+
require('./icon-helper-b2117772.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const iconButton = require('./icon-button-
|
|
5
|
+
const iconButton = require('./icon-button-9a6314cd.js');
|
|
6
6
|
require('./index-6a92256c.js');
|
|
7
7
|
require('./index-e1b40fa6.js');
|
|
8
|
-
require('./icon-helper-
|
|
8
|
+
require('./icon-helper-b2117772.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const icon = require('./icon-
|
|
5
|
+
const icon = require('./icon-ab3e2b83.js');
|
|
6
6
|
require('./index-6a92256c.js');
|
|
7
7
|
require('./index-e1b40fa6.js');
|
|
8
|
-
require('./icon-helper-
|
|
8
|
+
require('./icon-helper-b2117772.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -126,6 +126,7 @@ import { TapeMeasure } from './icons/tape-measure';
|
|
|
126
126
|
import { Teleport } from './icons/teleport';
|
|
127
127
|
import { TeleportAndAlign } from './icons/teleport-and-align';
|
|
128
128
|
import { TeleportToward } from './icons/teleport-toward';
|
|
129
|
+
import { Triad } from './icons/triad';
|
|
129
130
|
import { Turtle } from './icons/turtle';
|
|
130
131
|
import { Update } from './icons/update';
|
|
131
132
|
import { VersionHistory } from './icons/version-history';
|
|
@@ -385,12 +386,14 @@ export function getSvg(name) {
|
|
|
385
386
|
return h(Tag, null);
|
|
386
387
|
case 'tape-measure':
|
|
387
388
|
return h(TapeMeasure, null);
|
|
389
|
+
case 'teleport':
|
|
390
|
+
return h(Teleport, null);
|
|
388
391
|
case 'teleport-and-align':
|
|
389
392
|
return h(TeleportAndAlign, null);
|
|
390
393
|
case 'teleport-toward':
|
|
391
394
|
return h(TeleportToward, null);
|
|
392
|
-
case '
|
|
393
|
-
return h(
|
|
395
|
+
case 'triad':
|
|
396
|
+
return h(Triad, null);
|
|
394
397
|
case 'turtle':
|
|
395
398
|
return h(Turtle, null);
|
|
396
399
|
case 'update':
|
|
@@ -33,7 +33,7 @@ export class Icon {
|
|
|
33
33
|
"mutable": false,
|
|
34
34
|
"complexType": {
|
|
35
35
|
"original": "IconName",
|
|
36
|
-
"resolved": "\"compare\" | \"help\" | \"open\" | \"expand\" | \"info\" | \"copy\" | \"label\" | \"menu\" | \"ellipse\" | \"line\" | \"download\" | \"rotate\" | \"close\" | \"tag\" | \"adjustments\" | \"align-to-global\" | \"align-to-part\" | \"align-to-surface\" | \"align-view-to-plane\" | \"annotation\" | \"arrow-filled\" | \"arrow-left-circled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-right-circled\" | \"arrow-swap\" | \"arrow-triangle-left\" | \"arrow-triangle-right\" | \"arrow-up-circled\" | \"attachment\" | \"axis-x\" | \"axis-y\" | \"axis-z\" | \"back\" | \"box-cursor\" | \"box-select\" | \"camera\" | \"camera-add\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"caution\" | \"check\" | \"check-circle\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-up\" | \"circle-outline\" | \"close-circle\" | \"close-circle-fill\" | \"collapse-all\" | \"columns\" | \"columns-add\" | \"comment-add\" | \"comment-filled\" | \"comment-reopen\" | \"comment-resolve\" | \"comment-show\" | \"compress\" | \"cross-section\" | \"cube-orthographic\" | \"cube-perspective\" | \"cube-stack\" | \"delete\" | \"drag-indicator\" | \"error-circle\" | \"expand-all\" | \"export\" | \"file\" | \"file-folder\" | \"file-pdf\" | \"fit-all\" | \"fit-selected\" | \"flip\" | \"folder-plus\" | \"forward\" | \"gear\" | \"invert\" | \"label-off\" | \"line-dot-left\" | \"line-dot-right\" | \"line-hash-left\" | \"line-hash-right\" | \"locate\" | \"lock-closed\" | \"lock-open\" | \"markup\" | \"notification\" | \"open-window\" | \"pan\" | \"paper-airplane\" | \"paste\" | \"pencil\" | \"person-height\" | \"person-run\" | \"person-short\" | \"person-tall\" | \"person-walk\" | \"pin-fill\" | \"pin-line\" | \"pin-text\" | \"pin-text-fill\" | \"pin-text-square\" | \"plus\" | \"plus-with-arrow\" | \"pmi\" | \"precise-measurement\" | \"rabbit\" | \"refresh\" | \"rename\" | \"report\" | \"reset\" | \"resize\" | \"ruler\" | \"scissors\" | \"search\" | \"show-only-nearby\" | \"snapshots\" | \"square-dot-outline\" | \"star\" | \"tape-measure\" | \"teleport\" | \"teleport-and-align\" | \"teleport-toward\" | \"turtle\" | \"update\" | \"version-history\" | \"views\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"workspace-add\" | \"zoom\"",
|
|
36
|
+
"resolved": "\"compare\" | \"help\" | \"open\" | \"expand\" | \"info\" | \"copy\" | \"label\" | \"menu\" | \"ellipse\" | \"line\" | \"download\" | \"rotate\" | \"close\" | \"tag\" | \"adjustments\" | \"align-to-global\" | \"align-to-part\" | \"align-to-surface\" | \"align-view-to-plane\" | \"annotation\" | \"arrow-filled\" | \"arrow-left-circled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-right-circled\" | \"arrow-swap\" | \"arrow-triangle-left\" | \"arrow-triangle-right\" | \"arrow-up-circled\" | \"attachment\" | \"axis-x\" | \"axis-y\" | \"axis-z\" | \"back\" | \"box-cursor\" | \"box-select\" | \"camera\" | \"camera-add\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"caution\" | \"check\" | \"check-circle\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-up\" | \"circle-outline\" | \"close-circle\" | \"close-circle-fill\" | \"collapse-all\" | \"columns\" | \"columns-add\" | \"comment-add\" | \"comment-filled\" | \"comment-reopen\" | \"comment-resolve\" | \"comment-show\" | \"compress\" | \"cross-section\" | \"cube-orthographic\" | \"cube-perspective\" | \"cube-stack\" | \"delete\" | \"drag-indicator\" | \"error-circle\" | \"expand-all\" | \"export\" | \"file\" | \"file-folder\" | \"file-pdf\" | \"fit-all\" | \"fit-selected\" | \"flip\" | \"folder-plus\" | \"forward\" | \"gear\" | \"invert\" | \"label-off\" | \"line-dot-left\" | \"line-dot-right\" | \"line-hash-left\" | \"line-hash-right\" | \"locate\" | \"lock-closed\" | \"lock-open\" | \"markup\" | \"notification\" | \"open-window\" | \"pan\" | \"paper-airplane\" | \"paste\" | \"pencil\" | \"person-height\" | \"person-run\" | \"person-short\" | \"person-tall\" | \"person-walk\" | \"pin-fill\" | \"pin-line\" | \"pin-text\" | \"pin-text-fill\" | \"pin-text-square\" | \"plus\" | \"plus-with-arrow\" | \"pmi\" | \"precise-measurement\" | \"rabbit\" | \"refresh\" | \"rename\" | \"report\" | \"reset\" | \"resize\" | \"ruler\" | \"scissors\" | \"search\" | \"show-only-nearby\" | \"snapshots\" | \"square-dot-outline\" | \"star\" | \"tape-measure\" | \"teleport\" | \"teleport-and-align\" | \"teleport-toward\" | \"triad\" | \"turtle\" | \"update\" | \"version-history\" | \"views\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"workspace-add\" | \"zoom\"",
|
|
37
37
|
"references": {
|
|
38
38
|
"IconName": {
|
|
39
39
|
"location": "import",
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Triad = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "triad" }, h("g", { transform: "translate(1, 1)" }, h("path", { d: "M13.9724599,11.54 L13.8224599,11.07 L13.5124599,10.12 L13.2024599,9.16 C13.1224599,8.9 12.8324599,8.75 12.5724599,8.84 C12.3124599,8.92 12.1624599,9.21 12.2524599,9.47 L12.5624599,10.43 L12.6524599,10.7 L12.2924599,10.51 L7.4924599,8.09 C7.4924599,8.09 7.4924599,8.09 7.4924599,8.09 L7.4924599,1.72 L7.6924599,1.92 L8.1124599,2.34 C8.3124599,2.54 8.6224599,2.54 8.8224599,2.34 C9.0224599,2.14 9.0224599,1.83 8.8224599,1.63 L8.4024599,1.21 L7.6924599,0.5 L7.3424599,0.15 C7.1424599,-0.05 6.8324599,-0.05 6.6324599,0.15 L6.2424599,0.54 L5.5324599,1.25 L5.1524599,1.63 C4.9524599,1.83 4.9524599,2.14 5.1524599,2.34 C5.3524599,2.54 5.6624599,2.54 5.8624599,2.34 L6.2424599,1.96 L6.4824599,1.72 L6.4824599,8.11 L1.7024599,10.52 L1.3424599,10.71 L1.4324599,10.44 L1.7424599,9.48 C1.8224599,9.22 1.6824599,8.94 1.4224599,8.85 C1.1624599,8.77 0.8824599,8.91 0.7924599,9.17 L0.4824599,10.13 L0.1724599,11.08 L0.0224599004,11.55 C-0.0575400996,11.81 0.0824599004,12.09 0.3424599,12.18 L0.8624599,12.35 L1.8124599,12.66 L2.7224599,12.95 C2.9824599,13.03 3.2624599,12.89 3.3524599,12.63 C3.4324599,12.37 3.2924599,12.09 3.0324599,12 L2.1324599,11.71 L1.8024599,11.6 L2.2324599,11.38 L6.9624599,9 C6.9624599,9 6.9824599,8.98 7.0024599,8.97 C7.0024599,8.97 7.0024599,8.97 7.0024599,8.97 C7.0124599,8.97 7.0224599,8.99 7.0424599,9 L11.7724599,11.38 L12.2024599,11.6 L11.8724599,11.71 L10.9724599,12 C10.7124599,12.08 10.5624599,12.37 10.6524599,12.63 C10.7324599,12.89 11.0224599,13.04 11.2824599,12.95 L12.1924599,12.66 L13.1424599,12.35 L13.6624599,12.18 C13.9224599,12.1 14.0724599,11.81 13.9824599,11.55 L13.9724599,11.54 Z" }))));
|
|
@@ -50,7 +50,7 @@ export class IconButton {
|
|
|
50
50
|
"mutable": false,
|
|
51
51
|
"complexType": {
|
|
52
52
|
"original": "IconName",
|
|
53
|
-
"resolved": "\"compare\" | \"help\" | \"open\" | \"expand\" | \"info\" | \"copy\" | \"label\" | \"menu\" | \"ellipse\" | \"line\" | \"download\" | \"rotate\" | \"close\" | \"tag\" | \"adjustments\" | \"align-to-global\" | \"align-to-part\" | \"align-to-surface\" | \"align-view-to-plane\" | \"annotation\" | \"arrow-filled\" | \"arrow-left-circled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-right-circled\" | \"arrow-swap\" | \"arrow-triangle-left\" | \"arrow-triangle-right\" | \"arrow-up-circled\" | \"attachment\" | \"axis-x\" | \"axis-y\" | \"axis-z\" | \"back\" | \"box-cursor\" | \"box-select\" | \"camera\" | \"camera-add\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"caution\" | \"check\" | \"check-circle\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-up\" | \"circle-outline\" | \"close-circle\" | \"close-circle-fill\" | \"collapse-all\" | \"columns\" | \"columns-add\" | \"comment-add\" | \"comment-filled\" | \"comment-reopen\" | \"comment-resolve\" | \"comment-show\" | \"compress\" | \"cross-section\" | \"cube-orthographic\" | \"cube-perspective\" | \"cube-stack\" | \"delete\" | \"drag-indicator\" | \"error-circle\" | \"expand-all\" | \"export\" | \"file\" | \"file-folder\" | \"file-pdf\" | \"fit-all\" | \"fit-selected\" | \"flip\" | \"folder-plus\" | \"forward\" | \"gear\" | \"invert\" | \"label-off\" | \"line-dot-left\" | \"line-dot-right\" | \"line-hash-left\" | \"line-hash-right\" | \"locate\" | \"lock-closed\" | \"lock-open\" | \"markup\" | \"notification\" | \"open-window\" | \"pan\" | \"paper-airplane\" | \"paste\" | \"pencil\" | \"person-height\" | \"person-run\" | \"person-short\" | \"person-tall\" | \"person-walk\" | \"pin-fill\" | \"pin-line\" | \"pin-text\" | \"pin-text-fill\" | \"pin-text-square\" | \"plus\" | \"plus-with-arrow\" | \"pmi\" | \"precise-measurement\" | \"rabbit\" | \"refresh\" | \"rename\" | \"report\" | \"reset\" | \"resize\" | \"ruler\" | \"scissors\" | \"search\" | \"show-only-nearby\" | \"snapshots\" | \"square-dot-outline\" | \"star\" | \"tape-measure\" | \"teleport\" | \"teleport-and-align\" | \"teleport-toward\" | \"turtle\" | \"update\" | \"version-history\" | \"views\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"workspace-add\" | \"zoom\"",
|
|
53
|
+
"resolved": "\"compare\" | \"help\" | \"open\" | \"expand\" | \"info\" | \"copy\" | \"label\" | \"menu\" | \"ellipse\" | \"line\" | \"download\" | \"rotate\" | \"close\" | \"tag\" | \"adjustments\" | \"align-to-global\" | \"align-to-part\" | \"align-to-surface\" | \"align-view-to-plane\" | \"annotation\" | \"arrow-filled\" | \"arrow-left-circled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-right-circled\" | \"arrow-swap\" | \"arrow-triangle-left\" | \"arrow-triangle-right\" | \"arrow-up-circled\" | \"attachment\" | \"axis-x\" | \"axis-y\" | \"axis-z\" | \"back\" | \"box-cursor\" | \"box-select\" | \"camera\" | \"camera-add\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"caution\" | \"check\" | \"check-circle\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-up\" | \"circle-outline\" | \"close-circle\" | \"close-circle-fill\" | \"collapse-all\" | \"columns\" | \"columns-add\" | \"comment-add\" | \"comment-filled\" | \"comment-reopen\" | \"comment-resolve\" | \"comment-show\" | \"compress\" | \"cross-section\" | \"cube-orthographic\" | \"cube-perspective\" | \"cube-stack\" | \"delete\" | \"drag-indicator\" | \"error-circle\" | \"expand-all\" | \"export\" | \"file\" | \"file-folder\" | \"file-pdf\" | \"fit-all\" | \"fit-selected\" | \"flip\" | \"folder-plus\" | \"forward\" | \"gear\" | \"invert\" | \"label-off\" | \"line-dot-left\" | \"line-dot-right\" | \"line-hash-left\" | \"line-hash-right\" | \"locate\" | \"lock-closed\" | \"lock-open\" | \"markup\" | \"notification\" | \"open-window\" | \"pan\" | \"paper-airplane\" | \"paste\" | \"pencil\" | \"person-height\" | \"person-run\" | \"person-short\" | \"person-tall\" | \"person-walk\" | \"pin-fill\" | \"pin-line\" | \"pin-text\" | \"pin-text-fill\" | \"pin-text-square\" | \"plus\" | \"plus-with-arrow\" | \"pmi\" | \"precise-measurement\" | \"rabbit\" | \"refresh\" | \"rename\" | \"report\" | \"reset\" | \"resize\" | \"ruler\" | \"scissors\" | \"search\" | \"show-only-nearby\" | \"snapshots\" | \"square-dot-outline\" | \"star\" | \"tape-measure\" | \"teleport\" | \"teleport-and-align\" | \"teleport-toward\" | \"triad\" | \"turtle\" | \"update\" | \"version-history\" | \"views\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"workspace-add\" | \"zoom\"",
|
|
54
54
|
"references": {
|
|
55
55
|
"IconName": {
|
|
56
56
|
"location": "import",
|
|
@@ -124,9 +124,10 @@ export var IconNames;
|
|
|
124
124
|
IconNames["square-dot-outline"] = "square-dot-outline";
|
|
125
125
|
IconNames["tag"] = "tag";
|
|
126
126
|
IconNames["tape-measure"] = "tape-measure";
|
|
127
|
+
IconNames["teleport"] = "teleport";
|
|
127
128
|
IconNames["teleport-and-align"] = "teleport-and-align";
|
|
128
129
|
IconNames["teleport-toward"] = "teleport-toward";
|
|
129
|
-
IconNames["
|
|
130
|
+
IconNames["triad"] = "triad";
|
|
130
131
|
IconNames["turtle"] = "turtle";
|
|
131
132
|
IconNames["update"] = "update";
|
|
132
133
|
IconNames["version-history"] = "version-history";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,N as t,w as a,p as r,a as o,b as i}from"./p-6834631c.js";export{s as setNonce}from"./p-6834631c.js";(()=>{const i=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${t}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===t)),n={};return n.resourcesUrl=new URL(".",new URL(i.getAttribute("data-resources-url")||i.src,a.location.href)).href,((r,i)=>{const n=`__sc_import_${t.replace(/\s|-/g,"_")}`;try{a[n]=new Function("w",`return import(w);//${Math.random()}`)}catch(t){const l=new Map;a[n]=t=>{var c;const s=new URL(t,r).href;let p=l.get(s);if(!p){const t=e.createElement("script");t.type="module",t.crossOrigin=i.crossOrigin,t.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${n}.m = m;`],{type:"application/javascript"}));const r=null!==(c=o.t)&&void 0!==c?c:function(e){var t,a,r;return null!==(r=null===(a=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===a?void 0:a.getAttribute("content"))&&void 0!==r?r:void 0}(e);null!=r&&t.setAttribute("nonce",r),p=new Promise((e=>{t.onload=()=>{e(a[n].m),t.remove()}})),l.set(s,p),e.head.appendChild(t)}return p}}})(n.resourcesUrl,i),a.customElements?r(n):__sc_import_components("./p-c3ec6642.js").then((()=>n))})().then((e=>i([["p-24c72960",[[6,"vertex-click-to-edit-textfield",{placeholder:[1],fontSize:[1,"font-size"],disabled:[516],multiline:[4],minRows:[2,"min-rows"],maxRows:[2,"max-rows"],value:[1032],autoFocus:[4,"auto-focus"],editing:[1540],hasError:[4,"has-error"]}]]],["p-226e83a6",[[1,"vertex-collapsible",{label:[1],open:[1540]}]]],["p-2930bcb0",[[1,"vertex-color-circle-picker",{colors:[1],labels:[1],labelPlacement:[1,"label-placement"],size:[1],supplementalColors:[1,"supplemental-colors"],theme:[513],lightenPercentage:[2,"lighten-percentage"],darkenPercentage:[2,"darken-percentage"],selected:[1537],direction:[1],colorArray:[32],supplementaryColorArray:[32],labelMap:[32]}]]],["p-
|
|
1
|
+
import{d as e,N as t,w as a,p as r,a as o,b as i}from"./p-6834631c.js";export{s as setNonce}from"./p-6834631c.js";(()=>{const i=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${t}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===t)),n={};return n.resourcesUrl=new URL(".",new URL(i.getAttribute("data-resources-url")||i.src,a.location.href)).href,((r,i)=>{const n=`__sc_import_${t.replace(/\s|-/g,"_")}`;try{a[n]=new Function("w",`return import(w);//${Math.random()}`)}catch(t){const l=new Map;a[n]=t=>{var c;const s=new URL(t,r).href;let p=l.get(s);if(!p){const t=e.createElement("script");t.type="module",t.crossOrigin=i.crossOrigin,t.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${n}.m = m;`],{type:"application/javascript"}));const r=null!==(c=o.t)&&void 0!==c?c:function(e){var t,a,r;return null!==(r=null===(a=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===a?void 0:a.getAttribute("content"))&&void 0!==r?r:void 0}(e);null!=r&&t.setAttribute("nonce",r),p=new Promise((e=>{t.onload=()=>{e(a[n].m),t.remove()}})),l.set(s,p),e.head.appendChild(t)}return p}}})(n.resourcesUrl,i),a.customElements?r(n):__sc_import_components("./p-c3ec6642.js").then((()=>n))})().then((e=>i([["p-24c72960",[[6,"vertex-click-to-edit-textfield",{placeholder:[1],fontSize:[1,"font-size"],disabled:[516],multiline:[4],minRows:[2,"min-rows"],maxRows:[2,"max-rows"],value:[1032],autoFocus:[4,"auto-focus"],editing:[1540],hasError:[4,"has-error"]}]]],["p-226e83a6",[[1,"vertex-collapsible",{label:[1],open:[1540]}]]],["p-2930bcb0",[[1,"vertex-color-circle-picker",{colors:[1],labels:[1],labelPlacement:[1,"label-placement"],size:[1],supplementalColors:[1,"supplemental-colors"],theme:[513],lightenPercentage:[2,"lighten-percentage"],darkenPercentage:[2,"darken-percentage"],selected:[1537],direction:[1],colorArray:[32],supplementaryColorArray:[32],labelMap:[32]}]]],["p-407430fe",[[1,"vertex-banner",{content:[1],placement:[1],duration:[2],animated:[4],open:[4],type:[1],isOpen:[32]}]]],["p-41ced35c",[[1,"vertex-context-menu",{targetSelector:[1,"target-selector"],animated:[4],position:[32],open:[32]}]]],["p-22ec9b78",[[1,"vertex-dialog",{open:[1540],fullscreen:[4],resizable:[4],width:[32],height:[32],minWidth:[32],minHeight:[32],maxWidth:[32],maxHeight:[32],isResizing:[32]},[[4,"keydown","keyDownListener"]]]]],["p-ea8f3750",[[1,"vertex-draggable-popover",{position:[1],boundarySelector:[1,"boundary-selector"],boundaryPadding:[2,"boundary-padding"],anchorPosition:[32],lastPosition:[32],dragging:[32]}]]],["p-e3d0c2d1",[[1,"vertex-dropdown-menu",{animated:[4],placement:[1],open:[32]}]]],["p-fe7e7a74",[[1,"vertex-help-tooltip",{animated:[4],placement:[1],open:[32]}]]],["p-6a49c365",[[6,"vertex-search-bar",{variant:[1],disabled:[4],triggerCharacter:[1,"trigger-character"],breakCharacters:[16],resultItems:[16],placement:[1],value:[1],placeholder:[1],replacements:[1040],replacementUriType:[1,"replacement-uri-type"],cursorPosition:[32],displayedElements:[32],hasTriggered:[32]}]]],["p-4e3ba3df",[[1,"vertex-select",{value:[513],placeholder:[513],disabled:[516],animated:[4],hideSelected:[4,"hide-selected"],resizeObserverFactory:[16],open:[32],position:[32],displayValue:[32]}]]],["p-01d4be1d",[[1,"vertex-slider",{min:[2],max:[2],valueLabelDisplay:[1,"value-label-display"],step:[8],size:[1],value:[1026],disabled:[4]}]]],["p-756c9977",[[1,"vertex-toast",{content:[1],placement:[1],duration:[2],animated:[4],open:[4],type:[1],isOpen:[32]}]]],["p-dfe98f07",[[1,"vertex-color-picker",{value:[1537],size:[513],variant:[513],expand:[513],disabled:[4]}]]],["p-53515813",[[1,"vertex-toggle",{variant:[1],disabled:[4],checked:[1540]}]]],["p-bca6275a",[[1,"vertex-avatar",{firstName:[1,"first-name"],lastName:[1,"last-name"],value:[1],active:[4],variant:[1]}]]],["p-91123ff6",[[1,"vertex-avatar-group"]]],["p-0b4406fa",[[1,"vertex-badge",{badgeText:[1,"badge-text"],badgeColor:[1,"badge-color"]}]]],["p-f6f2bc86",[[1,"vertex-button",{type:[1],color:[1],variant:[1],size:[1],expand:[1],href:[1],target:[1],disabled:[516]}]]],["p-6d4f055b",[[1,"vertex-card",{mode:[1]}]]],["p-211c1186",[[1,"vertex-card-group",{selected:[516],hovered:[516],expanded:[516]}]]],["p-d7c0c287",[[1,"vertex-chip",{variant:[1],color:[1]}]]],["p-a2018217",[[1,"vertex-logo-loading"]]],["p-cc2e3192",[[1,"vertex-menu-divider"]]],["p-573b8ec6",[[1,"vertex-menu-item",{disabled:[516]}]]],["p-33400eed",[[2,"vertex-radio",{disabled:[516],value:[513],label:[513],name:[513],checked:[516]}]]],["p-16fc9e9a",[[1,"vertex-radio-group",{name:[513],value:[1537]}]]],["p-95358d00",[[1,"vertex-resizable",{horizontalDirection:[1,"horizontal-direction"],verticalDirection:[1,"vertical-direction"],initialHorizontalScale:[2,"initial-horizontal-scale"],initialVerticalScale:[2,"initial-vertical-scale"],initializeWithOffset:[4,"initialize-with-offset"],parentSelector:[1,"parent-selector"],verticalSiblingSelector:[1,"vertical-sibling-selector"],horizontalSiblingSelector:[1,"horizontal-sibling-selector"],contentSelector:[1,"content-selector"],position:[1],dimensionsComputed:[1540,"dimensions-computed"],width:[32],minWidth:[32],maxWidth:[32],height:[32],minHeight:[32],maxHeight:[32],left:[32],top:[32],hoveredLocation:[32],dragStartLocation:[32],updateDimensions:[64]}]]],["p-69375605",[[1,"vertex-spinner",{color:[1],size:[1]}]]],["p-2ae8175d",[[1,"vertex-tab",{label:[1],active:[4]}]]],["p-8d83dfff",[[1,"vertex-tabs",{active:[1025],labels:[32],activeBounds:[32],activeButtonEl:[32]}]]],["p-80c989fa",[[1,"vertex-expandable",{expanded:[1540],expanding:[1540],collapsing:[1540],controlled:[516],expandType:[513,"expand-type"],animated:[4],contentScrollHeight:[32]}]]],["p-ee496965",[[1,"vertex-result-list",{items:[16],itemsJson:[1,"items"],viewportStartIndex:[1026,"viewport-start-index"],viewportEndIndex:[1026,"viewport-end-index"],resultHeight:[1026,"result-height"],overScanCount:[2,"over-scan-count"],placement:[1],position:[1],open:[4],listHeight:[32],parsedResults:[32],scrollTop:[32],lastStartIndex:[32],lastFocusedIndex:[32],stateMap:[32]}]]],["p-9c384f6c",[[1,"vertex-auto-resize-textarea",{textareaSelector:[1,"textarea-selector"],initialValue:[1,"initial-value"],minRows:[514,"min-rows"],maxRows:[514,"max-rows"],textValue:[32]}]]],["p-406e73da",[[6,"vertex-textfield",{type:[1],name:[1],variant:[1],fontSize:[1,"font-size"],multiline:[4],minRows:[2,"min-rows"],maxRows:[2,"max-rows"],placeholder:[1],autoFocus:[4,"auto-focus"],autoComplete:[1,"auto-complete"],autoCorrect:[1,"auto-correct"],value:[1032],disabled:[516],hasError:[4,"has-error"],updateInput:[64],blurInput:[64],getInputValue:[64],selectAll:[64]}]]],["p-606596de",[[1,"vertex-popover",{open:[1540],placement:[1],position:[1025],anchorBounds:[16],backdrop:[4],animated:[4],anchorSelector:[1,"anchor-selector"],boundarySelector:[1,"boundary-selector"],resizeBehavior:[1,"resize-behavior"],overflowBehavior:[16],flipBehavior:[16],offsetBehavior:[2,"offset-behavior"],updateOnResize:[4,"update-on-resize"],resizeObserverFactory:[16],opened:[32],computedPlacement:[32]}]]],["p-3b794014",[[1,"vertex-tooltip",{content:[1],disabled:[4],placement:[1],delay:[2],animated:[4],open:[32]}]]],["p-7e6ca4fb",[[1,"vertex-color-swatch",{variant:[513],size:[513],color:[513],supplementalColor:[513,"supplemental-color"],theme:[513],lightenPercentage:[2,"lighten-percentage"],darkenPercentage:[2,"darken-percentage"],lightened:[1537],darkened:[1537]}]]],["p-0de26b21",[[1,"vertex-menu",{animated:[4],open:[1540],placement:[1],fallbackPlacements:[16],backdrop:[4],persistent:[4],position:[1040],popoverProps:[16]}]]],["p-5366a759",[[1,"vertex-icon",{name:[1],size:[1]}]]],["p-7ace7800",[[1,"vertex-icon-button",{iconName:[1,"icon-name"],disabled:[516],variant:[1],iconColor:[1,"icon-color"],iconSize:[1,"icon-size"]}]]]],e)));
|
|
@@ -461,6 +461,10 @@ const TeleportAndAlign = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
461
461
|
const TeleportToward = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "teleport-toward" },
|
|
462
462
|
h("path", { d: "M13.53,11.5a4.13,4.13,0,0,0-1.65-.93,11.17,11.17,0,0,0-1.84-.4l.88-1.4a.49.49,0,0,0,0-.51A.51.51,0,0,0,10.5,8h-2a.5.5,0,0,0-1,0V8h-2a.51.51,0,0,0-.44.26.49.49,0,0,0,0,.51L6,10.16a8.92,8.92,0,0,0-2.43.65,3.39,3.39,0,0,0-1,.67,1.49,1.49,0,0,0-.46,1,1.51,1.51,0,0,0,.6,1.14,5.3,5.3,0,0,0,2.19,1A13.4,13.4,0,0,0,8,15a12.38,12.38,0,0,0,4.05-.61,4.19,4.19,0,0,0,1.33-.73A1.51,1.51,0,0,0,14,12.5,1.45,1.45,0,0,0,13.53,11.5ZM8.5,6V5a.5.5,0,0,0,-1,0V6a.5.5,0,0,0,1,0ZM8.5,3V2a.5.5,0,0,0,-1,0V3a.5.5,0,0,0,1,0ZM9.6,9,8,11.56,6.4,9Zm3.15,3.91a4.45,4.45,0,0,1-1.79.78A12.39,12.39,0,0,1,8,14a11.25,11.25,0,0,1-3.72-.56,3,3,0,0,1-1-.55C3,12.72,3,12.59,3,12.5s0-.18.19-.34a3.33,3.33,0,0,1,1.33-.7,10.19,10.19,0,0,1,2-.4l1.07,1.71a.5.5,0,0,0,.84,0l1.07-1.71a8.78,8.78,0,0,1,2.64.64,2.28,2.28,0,0,1,.71.47.47.47,0,0,1,.18.33C13,12.59,13,12.72,12.75,12.91Z" })));
|
|
463
463
|
|
|
464
|
+
const Triad = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "triad" },
|
|
465
|
+
h("g", { transform: "translate(1, 1)" },
|
|
466
|
+
h("path", { d: "M13.9724599,11.54 L13.8224599,11.07 L13.5124599,10.12 L13.2024599,9.16 C13.1224599,8.9 12.8324599,8.75 12.5724599,8.84 C12.3124599,8.92 12.1624599,9.21 12.2524599,9.47 L12.5624599,10.43 L12.6524599,10.7 L12.2924599,10.51 L7.4924599,8.09 C7.4924599,8.09 7.4924599,8.09 7.4924599,8.09 L7.4924599,1.72 L7.6924599,1.92 L8.1124599,2.34 C8.3124599,2.54 8.6224599,2.54 8.8224599,2.34 C9.0224599,2.14 9.0224599,1.83 8.8224599,1.63 L8.4024599,1.21 L7.6924599,0.5 L7.3424599,0.15 C7.1424599,-0.05 6.8324599,-0.05 6.6324599,0.15 L6.2424599,0.54 L5.5324599,1.25 L5.1524599,1.63 C4.9524599,1.83 4.9524599,2.14 5.1524599,2.34 C5.3524599,2.54 5.6624599,2.54 5.8624599,2.34 L6.2424599,1.96 L6.4824599,1.72 L6.4824599,8.11 L1.7024599,10.52 L1.3424599,10.71 L1.4324599,10.44 L1.7424599,9.48 C1.8224599,9.22 1.6824599,8.94 1.4224599,8.85 C1.1624599,8.77 0.8824599,8.91 0.7924599,9.17 L0.4824599,10.13 L0.1724599,11.08 L0.0224599004,11.55 C-0.0575400996,11.81 0.0824599004,12.09 0.3424599,12.18 L0.8624599,12.35 L1.8124599,12.66 L2.7224599,12.95 C2.9824599,13.03 3.2624599,12.89 3.3524599,12.63 C3.4324599,12.37 3.2924599,12.09 3.0324599,12 L2.1324599,11.71 L1.8024599,11.6 L2.2324599,11.38 L6.9624599,9 C6.9624599,9 6.9824599,8.98 7.0024599,8.97 C7.0024599,8.97 7.0024599,8.97 7.0024599,8.97 C7.0124599,8.97 7.0224599,8.99 7.0424599,9 L11.7724599,11.38 L12.2024599,11.6 L11.8724599,11.71 L10.9724599,12 C10.7124599,12.08 10.5624599,12.37 10.6524599,12.63 C10.7324599,12.89 11.0224599,13.04 11.2824599,12.95 L12.1924599,12.66 L13.1424599,12.35 L13.6624599,12.18 C13.9224599,12.1 14.0724599,11.81 13.9824599,11.55 L13.9724599,11.54 Z" }))));
|
|
467
|
+
|
|
464
468
|
const Turtle = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "turtle" },
|
|
465
469
|
h("path", { d: "M13.5,5a.5.5,0,0,0-.35.85.5.5,0,1,0,.7-.7A.47.47,0,0,0,13.5,5Zm2.18-.92a2.15,2.15,0,0,0-.43-.74A1.08,1.08,0,0,0,14.5,3h-2a1.08,1.08,0,0,0-.75.34,2.67,2.67,0,0,0-.57,1.22c0,.06,0,.15,0,.22a3.85,3.85,0,0,0-1.06-1.07A4.62,4.62,0,0,0,7.5,3a4.93,4.93,0,0,0-3.2,1,6.24,6.24,0,0,0-2,3.43A9.75,9.75,0,0,0,2,9.18l-1.73.87A.5.5,0,0,0,.5,11H3.33l.27.18-.55,1.1a.51.51,0,0,0,0,.48A.52.52,0,0,0,3.5,13h2a.51.51,0,0,0,.5-.5v-.6a11,11,0,0,0,1.5.1,7.78,7.78,0,0,0,2.5-.38v.88a.51.51,0,0,0,.5.5h2a.52.52,0,0,0,.43-.24.51.51,0,0,0,0-.48l-.89-1.78A6.11,6.11,0,0,0,13.86,8H15.5a.51.51,0,0,0,.5-.5v-1A7.36,7.36,0,0,0,15.68,4.08ZM3,9.17H3A8,8,0,0,1,3.7,6.43,4.48,4.48,0,0,1,5,4.74,4,4,0,0,1,7.5,4a3.55,3.55,0,0,1,2,.54,3.27,3.27,0,0,1,1.27,1.84,4.72,4.72,0,0,1,.17.81,1.7,1.7,0,0,1,0,.21,3.75,3.75,0,0,1-1.72,2,5.38,5.38,0,0,1-2.47.53A10.75,10.75,0,0,1,4,9.46C3.57,9.36,3.25,9.25,3,9.17ZM5,12H4.31l.21-.42.48.14Zm6,0v-.72a.24.24,0,0,0,0-.08l.24-.13.46.93Zm4-5H13.5a.51.51,0,0,0-.49.38h0a4.78,4.78,0,0,1-1.09,1.88A5.71,5.71,0,0,1,7.5,11a8.87,8.87,0,0,1-2.1-.22,9.13,9.13,0,0,0,1.4.11,6.27,6.27,0,0,0,2.94-.65A4.78,4.78,0,0,0,12,7.7h0l0-.19v-1a6.55,6.55,0,0,1,.26-2.08A1.38,1.38,0,0,1,12.47,4l0,0h2a.41.41,0,0,1,.11.12A5.06,5.06,0,0,1,15,6.5Z" })));
|
|
466
470
|
|
|
@@ -747,12 +751,14 @@ function getSvg(name) {
|
|
|
747
751
|
return h(Tag, null);
|
|
748
752
|
case 'tape-measure':
|
|
749
753
|
return h(TapeMeasure, null);
|
|
754
|
+
case 'teleport':
|
|
755
|
+
return h(Teleport, null);
|
|
750
756
|
case 'teleport-and-align':
|
|
751
757
|
return h(TeleportAndAlign, null);
|
|
752
758
|
case 'teleport-toward':
|
|
753
759
|
return h(TeleportToward, null);
|
|
754
|
-
case '
|
|
755
|
-
return h(
|
|
760
|
+
case 'triad':
|
|
761
|
+
return h(Triad, null);
|
|
756
762
|
case 'turtle':
|
|
757
763
|
return h(Turtle, null);
|
|
758
764
|
case 'update':
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as AutoResizeTextArea}from"./p-bec53c3a.js";export{A as Avatar}from"./p-c2c076f1.js";export{A as AvatarGroup}from"./p-81cb4da4.js";export{B as Badge}from"./p-29d7697f.js";export{B as Banner}from"./p-
|
|
1
|
+
export{A as AutoResizeTextArea}from"./p-bec53c3a.js";export{A as Avatar}from"./p-c2c076f1.js";export{A as AvatarGroup}from"./p-81cb4da4.js";export{B as Badge}from"./p-29d7697f.js";export{B as Banner}from"./p-8a52767f.js";export{B as Button}from"./p-1e645c1f.js";export{C as Card}from"./p-a3c04bbd.js";export{C as CardGroup}from"./p-ff4a1c3a.js";export{C as Chip}from"./p-a6614625.js";export{C as ClickToEditTextField}from"./p-0e628c05.js";export{C as Collapsible}from"./p-8fe0084d.js";export{C as ColorCirclePicker}from"./p-90931a94.js";export{C as ColorPicker}from"./p-8c69bb83.js";export{C as ColorSwatch}from"./p-e3ea44b2.js";export{C as ContextMenu}from"./p-f2bc7ec5.js";export{D as Dialog}from"./p-90cf31d2.js";export{D as DraggablePopover}from"./p-8b211d6f.js";export{D as DropdownMenu}from"./p-39133bc7.js";export{E as Expandable}from"./p-6a640a2c.js";export{H as HelpTooltip}from"./p-2cff3285.js";export{I as Icon}from"./p-c8ab09fb.js";export{I as IconButton}from"./p-90b4e04b.js";export{L as LogoLoading}from"./p-817bf6ff.js";export{M as Menu}from"./p-ec7be8df.js";export{M as MenuDivider}from"./p-c939fa4e.js";export{M as MenuItem}from"./p-988058f9.js";export{P as Popover}from"./p-c2706288.js";export{R as Radio}from"./p-36c853c4.js";export{R as RadioGroup}from"./p-f55574fb.js";export{R as Resizable}from"./p-c9a967d9.js";export{R as ResultList}from"./p-6b862967.js";export{S as SearchBar}from"./p-6b6c2260.js";export{S as Select}from"./p-0541e2b0.js";export{S as Slider}from"./p-18ed73e9.js";export{S as Spinner}from"./p-09ba50c3.js";export{T as Tab}from"./p-96f55673.js";export{T as Tabs}from"./p-48629bf1.js";export{T as TextField}from"./p-43b1b3f9.js";export{T as Toast}from"./p-3dd08a0f.js";export{T as Toggle}from"./p-59fb829f.js";export{T as Tooltip}from"./p-5fb1724f.js";import"./p-6834631c.js";import"./p-b2c7b113.js";import"./p-fe062eb0.js";import"./p-fedcc21e.js";import"./p-3438c441.js";import"./p-65f9817e.js";import"./p-1356f525.js";import"./p-59032668.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{D as vertex_dialog}from"./p-90cf31d2.js";import"./p-6834631c.js";import"./p-fe062eb0.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{B as vertex_banner}from"./p-8a52767f.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-fedcc21e.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{I as vertex_icon}from"./p-c8ab09fb.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-fedcc21e.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{I as vertex_icon_button}from"./p-90b4e04b.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-fedcc21e.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,e as t,h as r}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{g as s}from"./p-
|
|
1
|
+
import{r as e,e as t,h as r}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{g as s}from"./p-fedcc21e.js";const o=class{constructor(r){e(this,r),this.closed=t(this,"closed",7),this.content=void 0,this.placement="top",this.duration=3e3,this.animated=!0,this.open=!1,this.type="info",this.isOpen=void 0,this.handleClose=this.handleClose.bind(this),this.startCloseTimeout=this.startCloseTimeout.bind(this),this.clearCloseTimeout=this.clearCloseTimeout.bind(this),this.restartCloseTimeout=this.restartCloseTimeout.bind(this)}componentDidLoad(){this.isOpen=this.open,this.isOpen&&this.restartCloseTimeout()}async handleOpenChanged(e){e&&(this.restartCloseTimeout(),this.isOpen=e)}render(){return r("vertex-popover",{class:"popover",open:this.isOpen,resizeBehavior:"fixed",backdrop:!1,placement:this.getPopoverPlacement(),animated:this.animated},r("div",{slot:"anchor",class:i("anchor",this.placement)}),r("div",{class:i("banner",{hidden:!this.isOpen,info:"info"===this.type,success:"success"===this.type,warn:"warn"===this.type,error:"error"===this.type})},r("div",{class:i("icon",{"icon-info":"info"===this.type,"icon-success":"success"===this.type,"icon-warn":"warn"===this.type,"icon-error":"error"===this.type})},s(this.getIconName())),this.content?r("div",{class:"message"},this.content):r("slot",null),r("div",{class:"actions"},r("slot",{name:"action"}),r("vertex-icon-button",{class:"close",iconName:"close",iconSize:"sm",variant:"plain",onClick:this.handleClose}))))}handleClose(){this.clearCloseTimeout(),this.isOpen=!1,this.closed.emit()}startCloseTimeout(){null==this.closeTimeout&&this.duration>0&&(this.closeTimeout=setTimeout((()=>{this.handleClose()}),this.duration))}clearCloseTimeout(){null!=this.closeTimeout&&(clearTimeout(this.closeTimeout),this.closeTimeout=void 0)}restartCloseTimeout(){this.clearCloseTimeout(),this.startCloseTimeout()}getPopoverPlacement(){switch(this.placement){case"top-left":return"bottom-start";case"top":return"bottom";case"top-right":return"bottom-end"}}getIconName(){switch(this.type){case"info":return"info";case"success":return"check-circle";case"warn":return"caution";case"error":return"error-circle"}}static get watchers(){return{open:["handleOpenChanged"]}}};o.style=":host{--banner-width:auto;--banner-min-width:25rem;--banner-max-width:35rem;--banner-white-space:normal}.anchor{position:fixed}.top-left{left:24px;top:24px}.top{left:50vw;top:24px}.top-right{right:24px;top:24px}.popover{position:fixed;--open-animation-name:open-fade-in;--close-animation-name:close-fade-out}.actions{display:flex;align-items:center;margin-left:auto}.close{cursor:pointer;margin-left:16px}.close:hover{color:var(--vertex-ui-blue-500)}.banner{position:relative;display:flex;align-items:center;width:var(--banner-width);min-width:var(--banner-min-width);max-width:var(--banner-max-width);padding:16px;font-family:var(--vertex-ui-font-family);font-size:var(--vertex-ui-text-base);border-radius:4px;white-space:var(--banner-white-space);user-select:none;filter:drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));border:1px solid var(--vertex-ui-neutral-300)}.banner.hidden{pointer-events:none}.icon{display:flex;margin-right:16px;justify-content:center;align-items:center;fill:currentColor;height:1.25rem;width:1.25rem}.icon-info{color:var(--vertex-ui-blue-600)}.icon-success{color:var(--vertex-ui-green-600)}.icon-warn{color:var(--vertex-ui-orange-600)}.icon-error{color:var(--vertex-ui-red-600)}.message{align-items:center}.info{background-color:var(--vertex-ui-blue-100);color:var(--vertex-ui-neutral-800)}.success{background-color:var(--vertex-ui-green-100);color:var(--vertex-ui-neutral-800)}.warn{background-color:var(--vertex-ui-orange-100);color:var(--vertex-ui-neutral-800)}.error{background-color:var(--vertex-ui-red-100);color:var(--vertex-ui-neutral-800)}";export{o as B}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as e}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{g as a}from"./p-
|
|
1
|
+
import{r,h as o,H as e}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{g as a}from"./p-fedcc21e.js";const t=class{constructor(o){r(this,o),this.iconName=void 0,this.disabled=void 0,this.variant="default",this.iconColor="default",this.iconSize="md"}render(){return o(e,{onClick:r=>this.handleClick(r)},o("button",{ref:r=>this.buttonEl=r,disabled:this.disabled,class:i("container",{disabled:this.disabled,floating:"floating"===this.variant,plain:"plain"===this.variant,primary:"primary"===this.iconColor,secondary:"secondary"===this.iconColor})},o("slot",{name:"left"}),o("div",{class:i("icon-button",{xs:"xs"===this.iconSize,sm:"sm"===this.iconSize,md:"md"===this.iconSize,lg:"lg"===this.iconSize})},a(this.iconName),o("div",{class:"badge"},o("slot",{name:"badge"}))),o("slot",null)))}handleClick(r){var o;this.disabled&&(r.preventDefault(),r.stopPropagation()),null===(o=this.buttonEl)||void 0===o||o.blur()}};t.style="button{border:none;background-color:transparent;font-family:var(--vertex-ui-font-family);font-size:0.875rem;padding:0}:host{--enabled-cursor:pointer;--disabled-cursor:not-allowed;--hover-background-color:var(--vertex-ui-neutral-300);--active-background-color:var(--vertex-ui-neutral-400);--focus-background-color:var(--vertex-ui-neutral-400);--hover-box-shadow:0 2px 2px rgb(0 0 0 / 20%);--active-box-shadow:none;--focus-box-shadow:0 0 0 1px var(--vertex-ui-neutral-900);--icon-margin:0px}.container{display:flex;justify-content:center;align-items:center;outline:none;fill:currentColor;color:currentColor;cursor:var(--enabled-cursor)}.container:not(.plain){border-radius:4px;padding:0.25rem}.icon-button{display:flex;position:relative;justify-content:center;align-items:center;fill:currentColor;height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.icon-button svg{width:100%;height:100%;margin:var(--icon-margin, 0px)}.badge{position:absolute;top:0px;right:4px;justify-content:flex-end;align-items:flex-end}.floating{background-color:var(--vertex-ui-neutral-100);box-shadow:var(--vertex-ui-overlay-shadow);color:var(--vertex-ui-neutral-700);fill:var(--vertex-ui-neutral-700);opacity:0.95}.floating.disabled{color:var(--vertex-ui-neutral-400);cursor:var(--disabled-cursor)}.container:not(.disabled):not(.plain):hover{background-color:var(--hover-background-color);box-shadow:var(--hover-box-shadow)}.container:not(.disabled):not(.plain):active{background-color:var(--active-background-color);box-shadow:var(--active-box-shadow)}.container:not(.disabled):not(.plain):focus-visible{background-color:var(--focus-background-color);box-shadow:var(--focus-box-shadow);color:var(--vertex-ui-neutral-900)}.container.disabled:not(.floating){cursor:var(--disabled-cursor);color:var(--vertex-ui-neutral-400)}.container.primary:not(.disabled){color:var(--vertex-ui-blue-700)}.container.secondary:not(.disabled){color:var(--vertex-ui-neutral-800)}.xs{height:var(--icon-size, 0.75rem);width:var(--icon-size, 0.75rem)}.sm{height:var(--icon-size, 1rem);width:var(--icon-size, 1rem)}.md{height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.lg{height:var(--icon-size, 2rem);width:var(--icon-size, 2rem)}";export{t as I}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as i,r as t,e as s,h as e,g as o}from"./p-6834631c.js";import{c as h}from"./p-fe062eb0.js";function n(t){i(t)}function r(i){return i.getBoundingClientRect()}const l=class{constructor(i){t(this,i),this.backdropClick=s(this,"backdropClick",7),this.closed=s(this,"closed",7),this.handleKeyDown=()=>{this.open&&(this.open=!1)},this.handlePointerDown=()=>{this.isResizing=!0,n((()=>{if(null!=this.dialogElement){const i=r(this.dialogElement);this.initialDialogBoundingRect=i,this.lastPointerPosition={x:i.right,y:i.bottom}}})),window.addEventListener("pointermove",this.handlePointerMove),window.addEventListener("pointerup",this.handlePointerUp)},this.handlePointerMove=i=>{if(null!=this.lastPointerPosition&&null!=this.initialDialogBoundingRect&&null!=this.width&&null!=this.height){const t=this.height+2*(i.clientY-this.lastPointerPosition.y);this.width=this.constrainDimension(this.width+2*(i.clientX-this.lastPointerPosition.x),this.getMinWidth(),this.getMaxWidth()),this.height=this.constrainDimension(t,this.getMinHeight(),this.getMaxHeight()),this.lastPointerPosition={x:this.constrainX(i.clientX,this.width,this.initialDialogBoundingRect),y:this.constrainY(i.clientY,this.height,this.initialDialogBoundingRect)}}},this.handlePointerUp=()=>{this.lastPointerPosition=void 0,this.initialDialogBoundingRect=void 0,this.isResizing=!1,window.removeEventListener("pointermove",this.handlePointerMove),window.removeEventListener("pointerup",this.handlePointerUp)},this.constrainDimension=(i,t,s)=>Math.min(Math.max(i,t),s),this.constrainX=(i,t,s)=>t<=this.getMinWidth()?s.right:t>=this.getMinHeight()?s.right+(t-s.width)/2:i,this.constrainY=(i,t,s)=>t<=this.getMinHeight()?s.bottom:t>=this.getMaxHeight()?s.bottom+(t-s.height)/2:i,this.getMaxWidth=()=>{var i;return null!==(i=this.maxWidth)&&void 0!==i?i:Number.POSITIVE_INFINITY},this.getMaxHeight=()=>{var i;return null!==(i=this.maxHeight)&&void 0!==i?i:Number.POSITIVE_INFINITY},this.getMinWidth=()=>{var i;return null!==(i=this.minWidth)&&void 0!==i?i:Number.NEGATIVE_INFINITY},this.getMinHeight=()=>{var i;return null!==(i=this.minHeight)&&void 0!==i?i:Number.NEGATIVE_INFINITY},this.resize=()=>{n((()=>{if(null!=this.backdropElement){const i=window.getComputedStyle(this.backdropElement),t=parseFloat(i.padding);this.boundaryPadding=isNaN(t)?0:t,this.maxHeight=window.innerHeight-2*this.boundaryPadding,this.maxWidth=window.innerWidth-2*this.boundaryPadding,this.width=null!=this.width?Math.min(this.maxWidth,this.width):void 0,this.height=null!=this.height?Math.min(this.maxHeight,this.height):void 0}}))},this.open=!1,this.fullscreen=!1,this.resizable=!1,this.width=void 0,this.height=void 0,this.minWidth=void 0,this.minHeight=void 0,this.maxWidth=void 0,this.maxHeight=void 0,this.isResizing=!1,this.handleKeyDown=this.handleKeyDown.bind(this),this.mutationObserver=new MutationObserver(this.resize),this.resizeObserver=new ResizeObserver(this.resize)}componentDidLoad(){window.addEventListener("resize",this.resize),this.mutationObserver.observe(this.hostEl,{attributes:!0,attributeFilter:["style"]}),this.resizeObserver.observe(this.hostEl)}componentWillRender(){this.open&&null==this.width&&null==this.height&&n((()=>{if(null!=this.dialogElement){const i=r(this.dialogElement);this.minWidth=i.width,this.minHeight=i.height,this.width=this.minWidth,this.height=this.minHeight,this.resize()}}))}disconnectedCallback(){this.width=void 0,this.height=void 0,this.lastPointerPosition=void 0,this.isResizing=!1}clearComputedValues(){this.width=void 0,this.height=void 0,this.minWidth=void 0,this.minHeight=void 0,this.maxWidth=void 0,this.maxHeight=void 0}updateOpened(i){i||this.closed.emit()}keyDownListener(i){this.open&&"Escape"===i.key&&(this.open=!1)}render(){var i,t;const s=null!=this.width||null!=this.minWidth?`${null!==(i=this.width)&&void 0!==i?i:this.minWidth}px`:void 0,o=null!=this.height||null!=this.minHeight?`${null!==(t=this.height)&&void 0!==t?t:this.minHeight}px`:void 0;return e("div",{ref:i=>{this.backdropElement=i},onPointerDown:()=>{this.backdropClick.emit()},class:h("dialog-backdrop",{hidden:!this.open,shown:this.open,"resize-cursor":this.isResizing})},e("div",{ref:i=>{this.dialogElement=i},class:h("dialog",{resizable:this.resizable,fullscreen:this.fullscreen,overlay:!this.fullscreen,"no-select":null!=this.lastPointerPosition}),onPointerDown:i=>{i.stopPropagation()},style:this.resizable&&!this.fullscreen?{width:s,height:o}:void 0},e("div",{class:"contents"},e("slot",{name:"header"},e("div",{class:"header"},e("slot",{name:"heading"}),e("div",{class:"close"},e("slot",{name:"close-dialog"},e("vertex-icon-button",{onPointerDown:()=>{this.open=!1},iconSize:"sm",iconName:"close"}))))),e("div",{class:"body"},e("slot",null)),e("div",{class:"footer"},e("slot",{name:"footer"},e("slot",{name:"footer-actions"}))),this.resizable&&!this.fullscreen&&e("vertex-icon",{class:"resize",onPointerDown:this.handlePointerDown,name:"resize",size:"xs"}))))}get hostEl(){return o(this)}static get watchers(){return{resizable:["clearComputedValues"],open:["updateOpened"]}}};l.style=":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}";export{l as D}
|
|
1
|
+
import{c as i,r as t,e as s,h as e,g as o}from"./p-6834631c.js";import{c as h}from"./p-fe062eb0.js";function n(t){i(t)}function r(i){return i.getBoundingClientRect()}const l=class{constructor(i){t(this,i),this.backdropClick=s(this,"backdropClick",7),this.closed=s(this,"closed",7),this.handleKeyDown=()=>{this.open&&(this.open=!1)},this.handlePointerDown=()=>{this.isResizing=!0,n((()=>{if(null!=this.dialogElement){const i=r(this.dialogElement);this.initialDialogBoundingRect=i,this.lastPointerPosition={x:i.right,y:i.bottom}}})),window.addEventListener("pointermove",this.handlePointerMove),window.addEventListener("pointerup",this.handlePointerUp)},this.handlePointerMove=i=>{if(null!=this.lastPointerPosition&&null!=this.initialDialogBoundingRect&&null!=this.width&&null!=this.height){const t=this.height+2*(i.clientY-this.lastPointerPosition.y);this.width=this.constrainDimension(this.width+2*(i.clientX-this.lastPointerPosition.x),this.getMinWidth(),this.getMaxWidth()),this.height=this.constrainDimension(t,this.getMinHeight(),this.getMaxHeight()),this.lastPointerPosition={x:this.constrainX(i.clientX,this.width,this.initialDialogBoundingRect),y:this.constrainY(i.clientY,this.height,this.initialDialogBoundingRect)}}},this.handlePointerUp=()=>{this.lastPointerPosition=void 0,this.initialDialogBoundingRect=void 0,this.isResizing=!1,window.removeEventListener("pointermove",this.handlePointerMove),window.removeEventListener("pointerup",this.handlePointerUp)},this.constrainDimension=(i,t,s)=>Math.min(Math.max(i,t),s),this.constrainX=(i,t,s)=>t<=this.getMinWidth()?s.right:t>=this.getMinHeight()?s.right+(t-s.width)/2:i,this.constrainY=(i,t,s)=>t<=this.getMinHeight()?s.bottom:t>=this.getMaxHeight()?s.bottom+(t-s.height)/2:i,this.getMaxWidth=()=>{var i;return null!==(i=this.maxWidth)&&void 0!==i?i:Number.POSITIVE_INFINITY},this.getMaxHeight=()=>{var i;return null!==(i=this.maxHeight)&&void 0!==i?i:Number.POSITIVE_INFINITY},this.getMinWidth=()=>{var i;return null!==(i=this.minWidth)&&void 0!==i?i:Number.NEGATIVE_INFINITY},this.getMinHeight=()=>{var i;return null!==(i=this.minHeight)&&void 0!==i?i:Number.NEGATIVE_INFINITY},this.resize=()=>{n((()=>{if(null!=this.backdropElement){const i=window.getComputedStyle(this.backdropElement),t=parseFloat(i.padding);this.boundaryPadding=isNaN(t)?0:t,this.maxHeight=window.innerHeight-2*this.boundaryPadding,this.maxWidth=window.innerWidth-2*this.boundaryPadding,this.width=null!=this.width?Math.min(this.maxWidth,this.width):void 0,this.height=null!=this.height?Math.min(this.maxHeight,this.height):void 0}}))},this.open=!1,this.fullscreen=!1,this.resizable=!1,this.width=void 0,this.height=void 0,this.minWidth=void 0,this.minHeight=void 0,this.maxWidth=void 0,this.maxHeight=void 0,this.isResizing=!1,this.handleKeyDown=this.handleKeyDown.bind(this),this.mutationObserver=new MutationObserver(this.resize),this.resizeObserver=new ResizeObserver(this.resize)}componentDidLoad(){window.addEventListener("resize",this.resize),this.mutationObserver.observe(this.hostEl,{attributes:!0,attributeFilter:["style"]}),this.resizeObserver.observe(this.hostEl)}componentWillRender(){this.open&&null==this.width&&null==this.height&&n((()=>{if(null!=this.dialogElement){const i=r(this.dialogElement);this.minWidth=i.width,this.minHeight=i.height,this.width=this.minWidth,this.height=this.minHeight,this.resize()}}))}disconnectedCallback(){this.width=void 0,this.height=void 0,this.lastPointerPosition=void 0,this.isResizing=!1}clearComputedValues(){this.width=void 0,this.height=void 0,this.minWidth=void 0,this.minHeight=void 0,this.maxWidth=void 0,this.maxHeight=void 0}updateOpened(i){i||this.closed.emit()}keyDownListener(i){this.open&&"Escape"===i.key&&(i.preventDefault(),i.stopPropagation(),this.open=!1)}render(){var i,t;const s=null!=this.width||null!=this.minWidth?`${null!==(i=this.width)&&void 0!==i?i:this.minWidth}px`:void 0,o=null!=this.height||null!=this.minHeight?`${null!==(t=this.height)&&void 0!==t?t:this.minHeight}px`:void 0;return e("div",{ref:i=>{this.backdropElement=i},onPointerDown:()=>{this.backdropClick.emit()},class:h("dialog-backdrop",{hidden:!this.open,shown:this.open,"resize-cursor":this.isResizing})},e("div",{ref:i=>{this.dialogElement=i},class:h("dialog",{resizable:this.resizable,fullscreen:this.fullscreen,overlay:!this.fullscreen,"no-select":null!=this.lastPointerPosition}),onPointerDown:i=>{i.stopPropagation()},style:this.resizable&&!this.fullscreen?{width:s,height:o}:void 0},e("div",{class:"contents"},e("slot",{name:"header"},e("div",{class:"header"},e("slot",{name:"heading"}),e("div",{class:"close"},e("slot",{name:"close-dialog"},e("vertex-icon-button",{onPointerDown:()=>{this.open=!1},iconSize:"sm",iconName:"close"}))))),e("div",{class:"body"},e("slot",null)),e("div",{class:"footer"},e("slot",{name:"footer"},e("slot",{name:"footer-actions"}))),this.resizable&&!this.fullscreen&&e("vertex-icon",{class:"resize",onPointerDown:this.handlePointerDown,name:"resize",size:"xs"}))))}get hostEl(){return o(this)}static get watchers(){return{resizable:["clearComputedValues"],open:["updateOpened"]}}};l.style=":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}";export{l as D}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as e}from"./p-6834631c.js";import{c as s}from"./p-fe062eb0.js";import{g as t}from"./p-
|
|
1
|
+
import{r as i,h as e}from"./p-6834631c.js";import{c as s}from"./p-fe062eb0.js";import{g as t}from"./p-fedcc21e.js";const r=class{constructor(e){i(this,e),this.name=void 0,this.size="md"}render(){return e("div",{class:"container"},e("div",{class:s("icon",{xs:"xs"===this.size,sm:"sm"===this.size,md:"md"===this.size,lg:"lg"===this.size})},t(this.name)))}};r.style=".container{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon{display:flex;justify-content:center;align-items:center;fill:currentColor}.xs{height:var(--icon-size, 0.75rem);width:var(--icon-size, 0.75rem)}.sm{height:var(--icon-size, 1rem);width:var(--icon-size, 1rem)}.md{height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.lg{height:var(--icon-size, 2rem);width:var(--icon-size, 2rem)}svg{position:relative;width:100%}";export{r as I}
|