@vertexvis/ui 0.1.0-canary.2 → 0.1.0-canary.20
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/{color-circle-picker-13396ec4.js → color-circle-picker-a8f9a80a.js} +1 -1
- package/dist/cjs/color-picker-2a4820fa.js +46 -0
- package/dist/cjs/{color-circle-05be54bf.js → color-swatch-8aaf6c0b.js} +42 -17
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/{dialog-88e2308a.js → dialog-34f1dd6e.js} +1 -1
- package/dist/cjs/dom-b6c5fbf4.js +13 -0
- package/dist/cjs/{icon-460fd0f5.js → icon-2a64c9ca.js} +1 -1
- package/dist/cjs/{icon-button-786427d6.js → icon-button-10617d04.js} +1 -1
- package/dist/cjs/{icon-helper-ba408f49.js → icon-helper-e02da963.js} +55 -0
- package/dist/cjs/index.cjs.js +20 -14
- package/dist/cjs/lib-1bd1e383.js +9 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{popover-d9ec8e10.js → popover-942209b8.js} +23 -1
- package/dist/cjs/{result-list-1e592c3c.js → result-list-241ffe8d.js} +46 -2
- package/dist/cjs/search-bar-2e7ee35a.js +527 -0
- package/dist/cjs/{select-0eb7203f.js → select-2b2bdb97.js} +27 -4
- package/dist/cjs/tab-4335cd8f.js +26 -0
- package/dist/cjs/tabs-ece62a01.js +111 -0
- package/dist/cjs/{text-field-0397fb34.js → text-field-bccbde1f.js} +1 -0
- package/dist/cjs/{tooltip-80a7b722.js → tooltip-9ac797a0.js} +59 -23
- package/dist/cjs/vertex-color-circle-picker.cjs.entry.js +1 -1
- package/dist/cjs/vertex-color-picker.cjs.entry.js +2 -1
- package/dist/cjs/vertex-color-swatch.cjs.entry.js +12 -0
- 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/cjs/vertex-popover.cjs.entry.js +1 -1
- package/dist/cjs/vertex-result-list.cjs.entry.js +1 -1
- package/dist/cjs/vertex-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/vertex-select.cjs.entry.js +1 -1
- package/dist/cjs/{vertex-color-circle.cjs.entry.js → vertex-tab.cjs.entry.js} +3 -2
- package/dist/cjs/vertex-tabs.cjs.entry.js +12 -0
- package/dist/cjs/vertex-textfield.cjs.entry.js +1 -1
- package/dist/cjs/vertex-tooltip.cjs.entry.js +2 -1
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/color-circle-picker/color-circle-picker.js +7 -7
- package/dist/collection/components/color-picker/color-picker.css +95 -15
- package/dist/collection/components/color-picker/color-picker.js +57 -3
- package/dist/collection/components/color-swatch/color-swatch.css +43 -0
- package/dist/collection/components/{color-circle/color-circle.js → color-swatch/color-swatch.js} +96 -23
- package/dist/collection/components/color-swatch/lib.js +5 -0
- package/dist/collection/components/dialog/dialog.css +0 -1
- package/dist/collection/components/icon/icon-helper.js +30 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/icons/caution.js +2 -0
- package/dist/collection/components/icon/icons/compare.js +2 -0
- package/dist/collection/components/icon/icons/compress.js +2 -0
- package/dist/collection/components/icon/icons/cube-stack.js +2 -0
- package/dist/collection/components/icon/icons/expand.js +2 -0
- package/dist/collection/components/icon/icons/pin-text-square.js +2 -0
- package/dist/collection/components/icon/icons/plus-with-arrow.js +2 -0
- package/dist/collection/components/icon/icons/pmi.js +2 -0
- package/dist/collection/components/icon/icons/update.js +2 -0
- package/dist/collection/components/icon/icons/views.js +2 -0
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/index.js +3 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/popover/popover.js +51 -0
- package/dist/collection/components/result-list/result-list.js +52 -5
- package/dist/collection/components/result-list/types.js +1 -0
- package/dist/collection/components/search-bar/dom.js +29 -0
- package/dist/collection/components/search-bar/lib.js +76 -15
- package/dist/collection/components/search-bar/search-bar.css +0 -16
- package/dist/collection/components/search-bar/search-bar.js +429 -320
- package/dist/collection/components/select/select.css +24 -0
- package/dist/collection/components/select/select.js +49 -2
- package/dist/collection/components/tab/tab.css +16 -0
- package/dist/collection/components/tab/tab.js +85 -0
- package/dist/collection/components/tab/util.js +3 -0
- package/dist/collection/components/tabs/tabs.css +67 -0
- package/dist/collection/components/tabs/tabs.js +159 -0
- package/dist/collection/components/text-field/text-field.js +1 -0
- package/dist/collection/components/tooltip/tooltip.js +62 -18
- package/dist/collection/types/icon.js +10 -0
- package/dist/collection/util/templates/element-pool.js +19 -1
- package/dist/components/components.css +1 -1
- package/dist/components/components.esm.js +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/{p-165aed7d.js → p-0d4a0d61.js} +1 -1
- package/dist/components/{p-9374ef6c.js → p-1367d3af.js} +1 -1
- package/dist/components/p-1d08dd79.entry.js +1 -0
- package/dist/components/p-22b31415.js +1 -0
- package/dist/components/p-2ae8175d.entry.js +1 -0
- package/dist/components/p-2b4aedaa.entry.js +1 -0
- package/dist/components/p-3438c441.js +1 -0
- package/dist/components/p-3dd7a75f.entry.js +1 -0
- package/dist/components/p-406e73da.entry.js +1 -0
- package/dist/components/p-4327deea.js +1 -0
- package/dist/components/p-43b1b3f9.js +1 -0
- package/dist/components/{p-103249b4.js → p-55cb5c21.js} +1 -1
- package/dist/components/p-606596de.entry.js +1 -0
- package/dist/components/p-655053df.js +1 -0
- package/dist/components/p-69496858.js +1 -0
- package/dist/components/p-6a49c365.entry.js +1 -0
- package/dist/components/p-6b6c2260.js +1 -0
- package/dist/components/p-6b862967.js +1 -0
- package/dist/components/p-76b961b8.js +1 -0
- package/dist/components/{p-ca52a423.js → p-87e1b90c.js} +1 -1
- package/dist/components/p-8bbc344d.entry.js +1 -0
- package/dist/components/p-96f55673.js +1 -0
- package/dist/components/p-a0eac69c.entry.js +1 -0
- package/dist/components/p-b4cc4527.entry.js +1 -0
- package/dist/components/p-c2706288.js +1 -0
- package/dist/components/p-d3d2a217.entry.js +1 -0
- package/dist/components/p-d3fd9ca3.entry.js +1 -0
- package/dist/components/p-d539f530.js +1 -0
- package/dist/components/p-e35057b5.entry.js +1 -0
- package/dist/components/p-ee496965.entry.js +1 -0
- package/dist/components/p-ff7c70b9.js +1 -0
- package/dist/esm/{color-circle-picker-998a7e9c.js → color-circle-picker-e2a2cfb5.js} +1 -1
- package/dist/esm/color-picker-1d67effe.js +44 -0
- package/dist/esm/{color-circle-842f3321.js → color-swatch-0e62d13d.js} +42 -17
- package/dist/esm/components.js +1 -1
- package/dist/esm/{dialog-e3f49527.js → dialog-1cef715c.js} +1 -1
- package/dist/esm/dom-613e2677.js +10 -0
- package/dist/esm/{icon-d37150b4.js → icon-66108b5e.js} +1 -1
- package/dist/esm/{icon-button-aad3c0e7.js → icon-button-69915979.js} +1 -1
- package/dist/esm/{icon-helper-83f10f73.js → icon-helper-c07c7052.js} +55 -0
- package/dist/esm/index.js +17 -13
- package/dist/esm/lib-73fbca8b.js +7 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{popover-67c88e4b.js → popover-6e806354.js} +23 -1
- package/dist/esm/{result-list-36cfb08a.js → result-list-16c6afbd.js} +46 -2
- package/dist/esm/search-bar-8d18626e.js +525 -0
- package/dist/esm/{select-75ed5653.js → select-78aeff96.js} +27 -4
- package/dist/esm/tab-c76332b0.js +24 -0
- package/dist/esm/tabs-8e5353ba.js +109 -0
- package/dist/esm/{text-field-e542da25.js → text-field-32ac877e.js} +1 -0
- package/dist/esm/{tooltip-97c1b3ec.js → tooltip-29278ea4.js} +58 -22
- package/dist/esm/vertex-color-circle-picker.entry.js +1 -1
- package/dist/esm/vertex-color-picker.entry.js +2 -1
- package/dist/esm/vertex-color-swatch.entry.js +4 -0
- 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/esm/vertex-popover.entry.js +1 -1
- package/dist/esm/vertex-result-list.entry.js +1 -1
- package/dist/esm/vertex-search-bar.entry.js +1 -1
- package/dist/esm/vertex-select.entry.js +1 -1
- package/dist/esm/vertex-tab.entry.js +3 -0
- package/dist/esm/vertex-tabs.entry.js +4 -0
- package/dist/esm/vertex-textfield.entry.js +1 -1
- package/dist/esm/vertex-tooltip.entry.js +2 -1
- package/dist/types/components/color-circle-picker/color-circle-picker.d.ts +7 -7
- package/dist/types/components/color-picker/color-picker.d.ts +19 -0
- package/dist/types/components/{color-circle/color-circle.d.ts → color-swatch/color-swatch.d.ts} +23 -5
- package/dist/types/components/color-swatch/lib.d.ts +1 -0
- package/dist/types/components/icon/icons/caution.d.ts +3 -0
- package/dist/types/components/icon/icons/compare.d.ts +3 -0
- package/dist/types/components/icon/icons/compress.d.ts +3 -0
- package/dist/types/components/icon/icons/cube-stack.d.ts +3 -0
- package/dist/types/components/icon/icons/expand.d.ts +3 -0
- package/dist/types/components/icon/icons/pin-text-square.d.ts +3 -0
- package/dist/types/components/icon/icons/plus-with-arrow.d.ts +3 -0
- package/dist/types/components/icon/icons/pmi.d.ts +3 -0
- package/dist/types/components/icon/icons/update.d.ts +3 -0
- package/dist/types/components/icon/icons/views.d.ts +3 -0
- package/dist/types/components/index.d.ts +3 -1
- package/dist/types/components/popover/popover.d.ts +7 -0
- package/dist/types/components/result-list/result-list.d.ts +6 -1
- package/dist/types/components/result-list/types.d.ts +4 -0
- package/dist/types/components/search-bar/dom.d.ts +8 -0
- package/dist/types/components/search-bar/lib.d.ts +31 -6
- package/dist/types/components/search-bar/search-bar.d.ts +125 -42
- package/dist/types/components/select/select.d.ts +8 -0
- package/dist/types/components/tab/tab.d.ts +11 -0
- package/dist/types/components/tab/util.d.ts +1 -0
- package/dist/types/components/tabs/tabs.d.ts +23 -0
- package/dist/types/components/tooltip/tooltip.d.ts +7 -0
- package/dist/types/components.d.ts +254 -96
- package/dist/types/types/icon.d.ts +10 -0
- package/dist/types/util/templates/element-pool.d.ts +10 -1
- package/package.json +4 -3
- package/dist/cjs/color-picker-876ace00.js +0 -37
- package/dist/cjs/search-bar-bb40cfa7.js +0 -290
- package/dist/collection/components/color-circle/color-circle.css +0 -18
- package/dist/components/p-03dbb28c.js +0 -1
- package/dist/components/p-0f8b9ede.entry.js +0 -1
- package/dist/components/p-19318fee.entry.js +0 -1
- package/dist/components/p-1d6cb015.entry.js +0 -1
- package/dist/components/p-209db2ba.entry.js +0 -1
- package/dist/components/p-20a74d5d.entry.js +0 -1
- package/dist/components/p-35e7ab78.entry.js +0 -1
- package/dist/components/p-4224c2ad.js +0 -1
- package/dist/components/p-52739247.js +0 -1
- package/dist/components/p-552c128f.js +0 -1
- package/dist/components/p-6505cdb3.js +0 -1
- package/dist/components/p-7dba2574.entry.js +0 -1
- package/dist/components/p-7f64b251.entry.js +0 -1
- package/dist/components/p-8434602f.js +0 -1
- package/dist/components/p-ae6a3c46.entry.js +0 -1
- package/dist/components/p-bd11e7d1.js +0 -1
- package/dist/components/p-d9b9aebe.js +0 -1
- package/dist/components/p-e576818b.entry.js +0 -1
- package/dist/components/p-ebabee40.entry.js +0 -1
- package/dist/components/p-f49a7ffd.js +0 -1
- package/dist/components/p-f71fc166.entry.js +0 -1
- package/dist/esm/color-picker-2e3b51fa.js +0 -35
- package/dist/esm/search-bar-59cc151d.js +0 -288
- package/dist/esm/vertex-color-circle.entry.js +0 -2
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
|
|
2
4
|
/*
|
|
3
|
-
Width of element indicating the color chosen.
|
|
4
|
-
Defaults to
|
|
5
|
+
Width override of element indicating the color chosen.
|
|
6
|
+
Defaults to `initial` to fall back to the `size` property.
|
|
5
7
|
*/
|
|
6
|
-
--selected-color-width:
|
|
8
|
+
--selected-color-width: initial;
|
|
7
9
|
|
|
8
10
|
/*
|
|
9
|
-
Height of element indicating the color chosen.
|
|
10
|
-
Defaults to
|
|
11
|
+
Height override of element indicating the color chosen.
|
|
12
|
+
Defaults to `initial` to fall back to the `size` property.
|
|
11
13
|
*/
|
|
12
|
-
--selected-color-height:
|
|
14
|
+
--selected-color-height: initial;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.wrapper {
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.wrapper.full {
|
|
23
|
+
padding: 0.375rem 0.5rem;
|
|
24
|
+
border: 1px solid var(--vertex-ui-neutral-300);
|
|
25
|
+
border-radius: 4px;
|
|
13
26
|
}
|
|
14
27
|
|
|
15
28
|
.color-picker {
|
|
16
29
|
display: inline-flex;
|
|
17
30
|
position: relative;
|
|
18
|
-
background: var(--vertex-ui-neutral-200);
|
|
19
|
-
border-radius: 4px;
|
|
20
31
|
cursor: pointer;
|
|
21
32
|
}
|
|
22
33
|
|
|
@@ -25,21 +36,90 @@
|
|
|
25
36
|
cursor: default;
|
|
26
37
|
}
|
|
27
38
|
|
|
39
|
+
.selected-wrapper {
|
|
40
|
+
position: relative;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.wrapper.full .selected-wrapper {
|
|
46
|
+
gap: 0.75rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
28
49
|
.selected {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.wrapper.sm .selected {
|
|
54
|
+
width: var(--selected-color-width, 1rem);
|
|
55
|
+
height: var(--selected-color-height, 1rem);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.wrapper.md .selected {
|
|
59
|
+
width: var(--selected-color-width, 1.25rem);
|
|
60
|
+
height: var(--selected-color-height, 1.25rem);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.wrapper.lg .selected {
|
|
64
|
+
width: var(--selected-color-width, 1.5rem);
|
|
65
|
+
height: var(--selected-color-height, 1.5rem);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.text-wrapper {
|
|
69
|
+
position: relative;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.selected-text {
|
|
73
|
+
position: absolute;
|
|
74
|
+
left: 0;
|
|
75
|
+
top: 0;
|
|
76
|
+
right: 0;
|
|
77
|
+
bottom: 0;
|
|
78
|
+
display: flex;
|
|
79
|
+
color: var(--vertex-ui-neutral-700);
|
|
80
|
+
text-align: center;
|
|
81
|
+
font-family: var(--vertex-ui-font-family);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.hidden-text {
|
|
85
|
+
visibility: hidden;
|
|
86
|
+
pointer-events: none;
|
|
87
|
+
font-family: var(--vertex-ui-font-family-monospace);
|
|
34
88
|
}
|
|
35
89
|
|
|
36
|
-
.
|
|
90
|
+
.wrapper.sm .selected-text,
|
|
91
|
+
.wrapper.sm .hidden-text {
|
|
92
|
+
font-size: var(--vertex-ui-text-xs);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.wrapper.md .selected-text,
|
|
96
|
+
.wrapper.md .hidden-text {
|
|
97
|
+
font-size: var(--vertex-ui-text-xs);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.wrapper.lg .selected-text,
|
|
101
|
+
.wrapper.lg .hidden-text {
|
|
102
|
+
font-size: var(--vertex-ui-text-xs);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.no-value {
|
|
106
|
+
width: 100%;
|
|
107
|
+
height: 100%;
|
|
108
|
+
stroke: var(--vertex-ui-red-400);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.right-gutter {
|
|
37
112
|
display: flex;
|
|
38
113
|
align-items: center;
|
|
39
|
-
|
|
114
|
+
margin-left: auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
slot[name="right-gutter"]::slotted(*) {
|
|
118
|
+
padding: 0 ;
|
|
40
119
|
}
|
|
41
120
|
|
|
42
121
|
.input {
|
|
122
|
+
display: flex;
|
|
43
123
|
position: absolute;
|
|
44
124
|
pointer-events: none;
|
|
45
125
|
height: 100%;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, Host, } from '@stencil/core';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
+
import { isValidHexColor } from '../color-swatch/lib';
|
|
3
4
|
export class ColorPicker {
|
|
4
5
|
constructor() {
|
|
5
6
|
this.handleInput = (event) => {
|
|
@@ -10,15 +11,23 @@ export class ColorPicker {
|
|
|
10
11
|
this.valueChanged.emit(this.value);
|
|
11
12
|
};
|
|
12
13
|
this.value = undefined;
|
|
14
|
+
this.size = 'md';
|
|
15
|
+
this.variant = 'full';
|
|
13
16
|
this.disabled = false;
|
|
14
17
|
}
|
|
15
18
|
valueChange() {
|
|
16
19
|
this.valueInput.emit(this.value);
|
|
17
20
|
}
|
|
18
21
|
render() {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
var _a;
|
|
23
|
+
return (h(Host, null, h("div", { class: classNames('wrapper', this.variant, this.size) }, 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" })))));
|
|
24
|
+
}
|
|
25
|
+
getDisplayedValue() {
|
|
26
|
+
var _a;
|
|
27
|
+
if (this.value != null && isValidHexColor(this.value)) {
|
|
28
|
+
return (_a = this.value) === null || _a === void 0 ? void 0 : _a.toLocaleUpperCase();
|
|
29
|
+
}
|
|
30
|
+
return undefined;
|
|
22
31
|
}
|
|
23
32
|
static get is() { return "vertex-color-picker"; }
|
|
24
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,6 +60,51 @@ export class ColorPicker {
|
|
|
51
60
|
"attribute": "value",
|
|
52
61
|
"reflect": true
|
|
53
62
|
},
|
|
63
|
+
"size": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"mutable": false,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "ColorSwatchSize",
|
|
68
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
69
|
+
"references": {
|
|
70
|
+
"ColorSwatchSize": {
|
|
71
|
+
"location": "import",
|
|
72
|
+
"path": "../color-swatch/color-swatch"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": false,
|
|
77
|
+
"optional": false,
|
|
78
|
+
"docs": {
|
|
79
|
+
"tags": [],
|
|
80
|
+
"text": "The size of the swatch displayed for this color picker. Can be `sm`, `md`,\n`lg`, or `xl`, and defaults to `md`. If the `variant` is `full`, this value\nwill also increase the size of the associated hexadecimal value."
|
|
81
|
+
},
|
|
82
|
+
"attribute": "size",
|
|
83
|
+
"reflect": true,
|
|
84
|
+
"defaultValue": "'md'"
|
|
85
|
+
},
|
|
86
|
+
"variant": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "ColorPickerVariant",
|
|
91
|
+
"resolved": "\"full\" | \"swatch\"",
|
|
92
|
+
"references": {
|
|
93
|
+
"ColorPickerVariant": {
|
|
94
|
+
"location": "local"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "The variant of this color picker. Can be `full` or `swatch`,\nand defaults to `full`.\n\n`full` will display both the visual color swatch and the hexadecimal\nrepresentation of the color.\n\n`swatch` will display only the visual color swatch."
|
|
103
|
+
},
|
|
104
|
+
"attribute": "variant",
|
|
105
|
+
"reflect": true,
|
|
106
|
+
"defaultValue": "'full'"
|
|
107
|
+
},
|
|
54
108
|
"disabled": {
|
|
55
109
|
"type": "boolean",
|
|
56
110
|
"mutable": false,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.root {
|
|
6
|
+
position: relative;
|
|
7
|
+
border-style: solid;
|
|
8
|
+
border-color: var(--vertex-ui-neutral-300);
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.root.circle {
|
|
13
|
+
border-width: 2px;
|
|
14
|
+
border-radius: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.root.square {
|
|
18
|
+
border-width: 1px;
|
|
19
|
+
border-radius: 3px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.root.sm {
|
|
23
|
+
width: 16px;
|
|
24
|
+
height: 16px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.root.md {
|
|
28
|
+
width: 20px;
|
|
29
|
+
height: 20px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.root.lg {
|
|
33
|
+
width: 24px;
|
|
34
|
+
height: 24px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.overlay {
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
border-radius: 2px;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
}
|
package/dist/collection/components/{color-circle/color-circle.js → color-swatch/color-swatch.js}
RENAMED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { h, Host } from '@stencil/core';
|
|
2
|
-
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
import { isValidHexColor } from './lib';
|
|
4
|
+
export class ColorSwatch {
|
|
3
5
|
constructor() {
|
|
6
|
+
this.variant = 'circle';
|
|
7
|
+
this.size = 'md';
|
|
4
8
|
this.color = '#ffffff';
|
|
5
9
|
this.supplementalColor = undefined;
|
|
6
|
-
this.theme = '
|
|
10
|
+
this.theme = 'none';
|
|
7
11
|
this.lightenPercentage = 0.25;
|
|
8
12
|
this.darkenPercentage = 0.25;
|
|
9
13
|
this.lightened = this.adjustColor(this.color, -this.lightenPercentage);
|
|
@@ -20,22 +24,43 @@ export class ColorCircle {
|
|
|
20
24
|
this.darkened = this.adjustColor(this.color, newPercentage);
|
|
21
25
|
}
|
|
22
26
|
render() {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
borderColor: supplementalColor,
|
|
31
|
-
}
|
|
32
|
-
: {
|
|
27
|
+
return (h(Host, null, h("div", { class: classNames('root', this.variant, this.size), style: this.getThemeColors() }, h("div", { class: "overlay" }, h("slot", { name: "overlay" })))));
|
|
28
|
+
}
|
|
29
|
+
getThemeColors() {
|
|
30
|
+
const supplementalColor = this.getSupplementalColor();
|
|
31
|
+
switch (this.theme) {
|
|
32
|
+
case 'light':
|
|
33
|
+
return {
|
|
33
34
|
backgroundColor: supplementalColor,
|
|
34
35
|
borderColor: this.color,
|
|
35
|
-
}
|
|
36
|
+
};
|
|
37
|
+
case 'dark':
|
|
38
|
+
return {
|
|
39
|
+
backgroundColor: this.color,
|
|
40
|
+
borderColor: supplementalColor,
|
|
41
|
+
};
|
|
42
|
+
default:
|
|
43
|
+
return {
|
|
44
|
+
backgroundColor: this.color,
|
|
45
|
+
borderColor: supplementalColor !== null && supplementalColor !== void 0 ? supplementalColor : undefined,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
getSupplementalColor() {
|
|
50
|
+
const providedSupplementalColor = this.supplementalColor != null && this.supplementalColor.length > 0
|
|
51
|
+
? this.supplementalColor
|
|
52
|
+
: undefined;
|
|
53
|
+
switch (this.theme) {
|
|
54
|
+
case 'light':
|
|
55
|
+
return providedSupplementalColor !== null && providedSupplementalColor !== void 0 ? providedSupplementalColor : this.lightened;
|
|
56
|
+
case 'dark':
|
|
57
|
+
return providedSupplementalColor !== null && providedSupplementalColor !== void 0 ? providedSupplementalColor : this.darkened;
|
|
58
|
+
default:
|
|
59
|
+
return providedSupplementalColor;
|
|
60
|
+
}
|
|
36
61
|
}
|
|
37
62
|
adjustColor(color, percentage) {
|
|
38
|
-
if (
|
|
63
|
+
if (isValidHexColor(color)) {
|
|
39
64
|
const r = Number(`0x${color.slice(1, 3)}`);
|
|
40
65
|
const g = Number(`0x${color.slice(3, 5)}`);
|
|
41
66
|
const b = Number(`0x${color.slice(5, 7)}`);
|
|
@@ -53,20 +78,64 @@ export class ColorCircle {
|
|
|
53
78
|
padHexComponent(hex) {
|
|
54
79
|
return `${'0'.repeat(2 - hex.length)}${hex}`;
|
|
55
80
|
}
|
|
56
|
-
static get is() { return "vertex-color-
|
|
81
|
+
static get is() { return "vertex-color-swatch"; }
|
|
57
82
|
static get encapsulation() { return "shadow"; }
|
|
58
83
|
static get originalStyleUrls() {
|
|
59
84
|
return {
|
|
60
|
-
"$": ["color-
|
|
85
|
+
"$": ["color-swatch.css"]
|
|
61
86
|
};
|
|
62
87
|
}
|
|
63
88
|
static get styleUrls() {
|
|
64
89
|
return {
|
|
65
|
-
"$": ["color-
|
|
90
|
+
"$": ["color-swatch.css"]
|
|
66
91
|
};
|
|
67
92
|
}
|
|
68
93
|
static get properties() {
|
|
69
94
|
return {
|
|
95
|
+
"variant": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "ColorSwatchVariant",
|
|
100
|
+
"resolved": "\"circle\" | \"square\"",
|
|
101
|
+
"references": {
|
|
102
|
+
"ColorSwatchVariant": {
|
|
103
|
+
"location": "local"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": "The variant of this color swatch. Can be either `circle` or `square`,\nand defaults to `circle`."
|
|
112
|
+
},
|
|
113
|
+
"attribute": "variant",
|
|
114
|
+
"reflect": true,
|
|
115
|
+
"defaultValue": "'circle'"
|
|
116
|
+
},
|
|
117
|
+
"size": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"mutable": false,
|
|
120
|
+
"complexType": {
|
|
121
|
+
"original": "ColorSwatchSize",
|
|
122
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
123
|
+
"references": {
|
|
124
|
+
"ColorSwatchSize": {
|
|
125
|
+
"location": "local"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": false,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": "The size of this color swatch. Can be `sm`, `md`, or `lg`,\nand defaults to `md`."
|
|
134
|
+
},
|
|
135
|
+
"attribute": "size",
|
|
136
|
+
"reflect": true,
|
|
137
|
+
"defaultValue": "'md'"
|
|
138
|
+
},
|
|
70
139
|
"color": {
|
|
71
140
|
"type": "string",
|
|
72
141
|
"mutable": false,
|
|
@@ -79,7 +148,7 @@ export class ColorCircle {
|
|
|
79
148
|
"optional": false,
|
|
80
149
|
"docs": {
|
|
81
150
|
"tags": [],
|
|
82
|
-
"text": "The primary color of this `vertex-color-
|
|
151
|
+
"text": "The primary color of this `vertex-color-swatch` in hexadecimal format.\nFor `dark` theme, this will be the background-color.\nFor `light` theme, this will be the border-color."
|
|
83
152
|
},
|
|
84
153
|
"attribute": "color",
|
|
85
154
|
"reflect": true,
|
|
@@ -106,19 +175,23 @@ export class ColorCircle {
|
|
|
106
175
|
"type": "string",
|
|
107
176
|
"mutable": false,
|
|
108
177
|
"complexType": {
|
|
109
|
-
"original": "
|
|
110
|
-
"resolved": "\"dark\" | \"light\"",
|
|
111
|
-
"references": {
|
|
178
|
+
"original": "ColorSwatchTheme",
|
|
179
|
+
"resolved": "\"dark\" | \"light\" | \"none\"",
|
|
180
|
+
"references": {
|
|
181
|
+
"ColorSwatchTheme": {
|
|
182
|
+
"location": "local"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
112
185
|
},
|
|
113
186
|
"required": false,
|
|
114
187
|
"optional": false,
|
|
115
188
|
"docs": {
|
|
116
189
|
"tags": [],
|
|
117
|
-
"text": "The theme to use for this `vertex-color-
|
|
190
|
+
"text": "The theme to use for this `vertex-color-swatch`.\nCan be `none`, `light`, or `dark`, and defaults to `none`.\n\nWith no theme (`none`), the provided `color` will be used\nas the background-color, and the border will be a neutral color.\n\nWith the `dark` theme, the provided `color` will be used\nas the background-color, and the `darkened` color will be\nused for the border-color.\n\nWith the `light` theme, the provided `color` will be used\nas the border-color, and the `lightened` color will be used\nfor the background-color."
|
|
118
191
|
},
|
|
119
192
|
"attribute": "theme",
|
|
120
193
|
"reflect": true,
|
|
121
|
-
"defaultValue": "'
|
|
194
|
+
"defaultValue": "'none'"
|
|
122
195
|
},
|
|
123
196
|
"lightenPercentage": {
|
|
124
197
|
"type": "number",
|
|
@@ -24,6 +24,7 @@ import { CaretDown } from './icons/caret-down';
|
|
|
24
24
|
import { CaretLeft } from './icons/caret-left';
|
|
25
25
|
import { CaretRight } from './icons/caret-right';
|
|
26
26
|
import { CaretUp } from './icons/caret-up';
|
|
27
|
+
import { Caution } from './icons/caution';
|
|
27
28
|
import { Check } from './icons/check';
|
|
28
29
|
import { CheckCircle } from './icons/check-circle';
|
|
29
30
|
import { ChevronDown } from './icons/chevron-down';
|
|
@@ -41,15 +42,19 @@ import { CommentFilled } from './icons/comment-filled';
|
|
|
41
42
|
import { CommentReopen } from './icons/comment-reopen';
|
|
42
43
|
import { CommentResolve } from './icons/comment-resolve';
|
|
43
44
|
import { CommentShow } from './icons/comment-show';
|
|
45
|
+
import { Compare } from './icons/compare';
|
|
46
|
+
import { Compress } from './icons/compress';
|
|
44
47
|
import { Copy } from './icons/copy';
|
|
45
48
|
import { CrossSection } from './icons/cross-section';
|
|
46
49
|
import { CubeOrthographic } from './icons/cube-orthographic';
|
|
47
50
|
import { CubePerspective } from './icons/cube-perspective';
|
|
51
|
+
import { CubeStack } from './icons/cube-stack';
|
|
48
52
|
import { Delete } from './icons/delete';
|
|
49
53
|
import { Download } from './icons/download';
|
|
50
54
|
import { DragIndicator } from './icons/drag-indicator';
|
|
51
55
|
import { Ellipse } from './icons/ellipse';
|
|
52
56
|
import { ErrorCircle } from './icons/error-circle';
|
|
57
|
+
import { Expand } from './icons/expand';
|
|
53
58
|
import { ExpandAll } from './icons/expand-all';
|
|
54
59
|
import { Export } from './icons/export';
|
|
55
60
|
import { File } from './icons/file';
|
|
@@ -85,7 +90,10 @@ import { PinFill } from './icons/pin-fill';
|
|
|
85
90
|
import { PinLine } from './icons/pin-line';
|
|
86
91
|
import { PinText } from './icons/pin-text';
|
|
87
92
|
import { PinTextFill } from './icons/pin-text-fill';
|
|
93
|
+
import { PinTextSquare } from './icons/pin-text-square';
|
|
88
94
|
import { Plus } from './icons/plus';
|
|
95
|
+
import { PlusWithArrow } from './icons/plus-with-arrow';
|
|
96
|
+
import { PMI } from './icons/pmi';
|
|
89
97
|
import { PreciseMeasurement } from './icons/precise-measurement';
|
|
90
98
|
import { Rabbit } from './icons/rabbit';
|
|
91
99
|
import { Reset } from './icons/reset';
|
|
@@ -101,7 +109,9 @@ import { Teleport } from './icons/teleport';
|
|
|
101
109
|
import { TeleportAndAlign } from './icons/teleport-and-align';
|
|
102
110
|
import { TeleportToward } from './icons/teleport-toward';
|
|
103
111
|
import { Turtle } from './icons/turtle';
|
|
112
|
+
import { Update } from './icons/update';
|
|
104
113
|
import { VersionHistory } from './icons/version-history';
|
|
114
|
+
import { Views } from './icons/views';
|
|
105
115
|
import { VisibilityHidden } from './icons/visibility-hidden';
|
|
106
116
|
import { VisibilityPartial } from './icons/visibility-partial';
|
|
107
117
|
import { VisibilityVisible } from './icons/visibility-visible';
|
|
@@ -158,6 +168,8 @@ export function getSvg(name) {
|
|
|
158
168
|
return h(CaretRight, null);
|
|
159
169
|
case 'caret-up':
|
|
160
170
|
return h(CaretUp, null);
|
|
171
|
+
case 'caution':
|
|
172
|
+
return h(Caution, null);
|
|
161
173
|
case 'check':
|
|
162
174
|
return h(Check, null);
|
|
163
175
|
case 'check-circle':
|
|
@@ -192,6 +204,10 @@ export function getSvg(name) {
|
|
|
192
204
|
return h(CommentResolve, null);
|
|
193
205
|
case 'comment-show':
|
|
194
206
|
return h(CommentShow, null);
|
|
207
|
+
case 'compare':
|
|
208
|
+
return h(Compare, null);
|
|
209
|
+
case 'compress':
|
|
210
|
+
return h(Compress, null);
|
|
195
211
|
case 'copy':
|
|
196
212
|
return h(Copy, null);
|
|
197
213
|
case 'cross-section':
|
|
@@ -200,6 +216,8 @@ export function getSvg(name) {
|
|
|
200
216
|
return h(CubeOrthographic, null);
|
|
201
217
|
case 'cube-perspective':
|
|
202
218
|
return h(CubePerspective, null);
|
|
219
|
+
case 'cube-stack':
|
|
220
|
+
return h(CubeStack, null);
|
|
203
221
|
case 'delete':
|
|
204
222
|
return h(Delete, null);
|
|
205
223
|
case 'download':
|
|
@@ -210,6 +228,8 @@ export function getSvg(name) {
|
|
|
210
228
|
return h(Ellipse, null);
|
|
211
229
|
case 'error-circle':
|
|
212
230
|
return h(ErrorCircle, null);
|
|
231
|
+
case 'expand':
|
|
232
|
+
return h(Expand, null);
|
|
213
233
|
case 'expand-all':
|
|
214
234
|
return h(ExpandAll, null);
|
|
215
235
|
case 'export':
|
|
@@ -280,8 +300,14 @@ export function getSvg(name) {
|
|
|
280
300
|
return h(PinText, null);
|
|
281
301
|
case 'pin-text-fill':
|
|
282
302
|
return h(PinTextFill, null);
|
|
303
|
+
case 'pin-text-square':
|
|
304
|
+
return h(PinTextSquare, null);
|
|
283
305
|
case 'plus':
|
|
284
306
|
return h(Plus, null);
|
|
307
|
+
case 'plus-with-arrow':
|
|
308
|
+
return h(PlusWithArrow, null);
|
|
309
|
+
case 'pmi':
|
|
310
|
+
return h(PMI, null);
|
|
285
311
|
case 'precise-measurement':
|
|
286
312
|
return h(PreciseMeasurement, null);
|
|
287
313
|
case 'rabbit':
|
|
@@ -312,8 +338,12 @@ export function getSvg(name) {
|
|
|
312
338
|
return h(Teleport, null);
|
|
313
339
|
case 'turtle':
|
|
314
340
|
return h(Turtle, null);
|
|
341
|
+
case 'update':
|
|
342
|
+
return h(Update, null);
|
|
315
343
|
case 'version-history':
|
|
316
344
|
return h(VersionHistory, null);
|
|
345
|
+
case 'views':
|
|
346
|
+
return h(Views, null);
|
|
317
347
|
case 'visibility-hidden':
|
|
318
348
|
return h(VisibilityHidden, null);
|
|
319
349
|
case 'visibility-partial':
|
|
@@ -33,7 +33,7 @@ export class Icon {
|
|
|
33
33
|
"mutable": false,
|
|
34
34
|
"complexType": {
|
|
35
35
|
"original": "IconName",
|
|
36
|
-
"resolved": "\"help\" | \"open\" | \"info\" | \"copy\" | \"menu\" | \"ellipse\" | \"line\" | \"download\" | \"rotate\" | \"close\" | \"flip\" | \"reset\" | \"resize\" | \"search\" | \"caret-down\" | \"caret-up\" | \"adjustments\" | \"align-to-global\" | \"align-to-part\" | \"align-to-surface\" | \"align-view-to-plane\" | \"annotation\" | \"arrow-filled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-triangle-left\" | \"arrow-triangle-right\" | \"arrow-up-circled\" | \"attachment\" | \"axis-x\" | \"axis-y\" | \"axis-z\" | \"back\" | \"box-cursor\" | \"box-select\" | \"camera\" | \"caret-left\" | \"check\" | \"check-circle\" | \"caret-right\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-up\" | \"circle-outline\" | \"close-circle-fill\" | \"close-circle\" | \"collapse-all\" | \"columns\" | \"comment-add\" | \"comment-filled\" | \"comment-reopen\" | \"comment-resolve\" | \"comment-show\" | \"cross-section\" | \"cube-orthographic\" | \"cube-perspective\" | \"delete\" | \"drag-indicator\" | \"error-circle\" | \"expand-all\" | \"export\" | \"file\" | \"file-pdf\" | \"fit-all\" | \"fit-selected\" | \"folder-plus\" | \"forward\" | \"gear\" | \"invert\" | \"line-dot-left\" | \"line-dot-right\" | \"line-hash-left\" | \"line-hash-right\" | \"locate\" | \"markup\" | \"notification\" | \"open-window\" | \"pan\" | \"pencil\" | \"person-height\" | \"person-run\" | \"person-short\" | \"person-tall\" | \"person-walk\" | \"pin-fill\" | \"pin-line\" | \"pin-text\" | \"pin-text-fill\" | \"plus\" | \"precise-measurement\" | \"rabbit\" | \"ruler\" | \"show-only-nearby\" | \"snapshots\" | \"star\" | \"tape-measure\" | \"teleport-and-align\" | \"teleport-toward\" | \"teleport\" | \"turtle\" | \"version-history\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"zoom\"",
|
|
36
|
+
"resolved": "\"compare\" | \"help\" | \"open\" | \"expand\" | \"info\" | \"copy\" | \"menu\" | \"ellipse\" | \"line\" | \"download\" | \"rotate\" | \"close\" | \"flip\" | \"reset\" | \"resize\" | \"search\" | \"caret-down\" | \"caret-up\" | \"adjustments\" | \"align-to-global\" | \"align-to-part\" | \"align-to-surface\" | \"align-view-to-plane\" | \"annotation\" | \"arrow-filled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-triangle-left\" | \"arrow-triangle-right\" | \"arrow-up-circled\" | \"attachment\" | \"axis-x\" | \"axis-y\" | \"axis-z\" | \"back\" | \"box-cursor\" | \"box-select\" | \"camera\" | \"caret-left\" | \"caution\" | \"check\" | \"check-circle\" | \"caret-right\" | \"chevron-down\" | \"chevron-left\" | \"chevron-right\" | \"chevron-up\" | \"circle-outline\" | \"close-circle-fill\" | \"close-circle\" | \"collapse-all\" | \"columns\" | \"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-pdf\" | \"fit-all\" | \"fit-selected\" | \"folder-plus\" | \"forward\" | \"gear\" | \"invert\" | \"line-dot-left\" | \"line-dot-right\" | \"line-hash-left\" | \"line-hash-right\" | \"locate\" | \"markup\" | \"notification\" | \"open-window\" | \"pan\" | \"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\" | \"ruler\" | \"show-only-nearby\" | \"snapshots\" | \"star\" | \"tape-measure\" | \"teleport-and-align\" | \"teleport-toward\" | \"teleport\" | \"turtle\" | \"update\" | \"version-history\" | \"views\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"zoom\"",
|
|
37
37
|
"references": {
|
|
38
38
|
"IconName": {
|
|
39
39
|
"location": "import",
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Caution = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "caution" }, h("path", { d: "M8,11a.51.51,0,1,0,.35.15A.47.47,0,0,0,8,11Zm6.65,1.29ZM8,6a.5.5,0,0,0-.5.5v3a.5.5,0,0,0,1,0v-3A.5.5,0,0,0,8,6Zm6.65,6.29L9.32,2.4h0a1.5,1.5,0,0,0-2.64,0L1.35,12.29h0a1.53,1.53,0,0,0-.18.71,1.5,1.5,0,0,0,1.5,1.5H13.33a1.5,1.5,0,0,0,1.5-1.5A1.53,1.53,0,0,0,14.65,12.29Zm-1,1.06a.47.47,0,0,1-.35.15H2.67a.47.47,0,0,1-.35-.15A.51.51,0,0,1,2.17,13l.06-.24h0L7.56,2.87h0a.5.5,0,0,1,.88,0l5.33,9.89h0l.06.24A.51.51,0,0,1,13.68,13.35Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Compare = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "compare" }, h("path", { d: "M8.27 9.94 5.89 7.56c-.11-.11-.23-.17-.36-.17s-.25.06-.36.17c-.11.11-.16.23-.15.37 0 .13.06.25.15.34l1.74 1.74H1.5c-.14 0-.26.05-.36.14-.1.1-.14.21-.14.36s.05.26.14.36c.1.1.21.14.36.14h5.42l-1.74 1.74c-.11.11-.16.23-.16.35 0 .13.06.24.16.35.11.11.23.16.36.16.13 0 .25-.06.34-.15l2.39-2.39c.09-.09.15-.18.18-.27.04-.09.05-.19.05-.3s-.02-.21-.05-.3c-.04-.09-.1-.18-.18-.27Zm6.59-4.79c-.1-.1-.21-.14-.36-.14H9.11l1.74-1.74c.11-.11.16-.23.16-.35 0-.13-.06-.24-.16-.35a.495.495 0 0 0-.36-.16c-.13 0-.25.06-.34.15L7.76 4.95c-.09.09-.15.18-.18.27-.04.09-.05.19-.05.3s.02.21.05.3c.04.09.1.18.18.27l2.38 2.38c.11.11.23.17.36.17s.25-.06.36-.17c.11-.11.16-.23.15-.37 0-.13-.06-.25-.15-.34L9.12 6.02h5.39c.14 0 .26-.05.36-.14.1-.1.14-.21.14-.36s-.05-.26-.14-.36Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Compress = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "compress" }, h("path", { d: "M13.49 8.47H2.5c-.14 0-.26.05-.36.14-.1.1-.14.21-.14.36s.05.26.14.36c.1.1.21.14.36.14h10.99c.14 0 .26-.05.36-.14.1-.1.14-.21.14-.36s-.05-.26-.14-.36c-.1-.1-.21-.14-.36-.14ZM2.5 7.47h10.99c.14 0 .26-.05.36-.14.1-.1.14-.21.14-.36s-.05-.26-.14-.36c-.1-.1-.21-.14-.36-.14H2.5c-.14 0-.26.05-.36.14-.1.1-.14.21-.14.36s.05.26.14.36c.1.1.21.14.36.14ZM8.35 10.62c-.2-.2-.51-.2-.71 0l-2.12 2.12c-.2.2-.2.51 0 .71.2.2.51.2.71 0l1.24-1.24v2.32c0 .28.22.5.5.5s.5-.22.5-.5v-2.38l1.29 1.29c.2.2.51.2.71 0 .2-.2.2-.51 0-.71l-2.12-2.12v.01ZM7.63 5.41c.2.2.51.2.71 0l2.12-2.12c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0L8.51 3.82V1.5c0-.28-.22-.5-.5-.5s-.5.22-.5.5v2.38L6.22 2.59c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l2.12 2.12v-.01Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const CubeStack = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "cube-stack" }, h("path", { d: "M13.72 2.52 10.22.77a.508.508 0 0 0-.45 0l-3.5 1.75a.5.5 0 0 0-.28.45v3.81c-.08 0-.15.02-.22.05l-3.5 1.75a.5.5 0 0 0-.28.45v4.08c0 .19.11.36.28.45l3.5 1.75c.07.04.15.05.22.05s.16-.02.23-.05l7.52-3.82c.15-.1.25-.25.25-.43V2.97c0-.19-.11-.36-.28-.45ZM13 6.74l-2.46 1.23V5.03L13 3.8v2.94Zm-7.46 7.33L3 12.8V9.82l2.54 1.27v2.98Zm.5-3.85-2.4-1.2 2.37-1.18 2.4 1.2-2.37 1.18ZM9 12.78l-2.46 1.25v-2.94L9 9.86v2.92Zm.54-4.77L7 6.74V3.76l2.54 1.27v2.98ZM7.63 2.96 10 1.78l2.4 1.2-2.37 1.18-2.4-1.2Zm2.91 6.13L13 7.86v2.88l-2.46 1.25v-2.9Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Expand = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "expand" }, h("path", { d: "M13.49 13.98H2.5c-.14 0-.26.05-.36.14-.1.1-.14.21-.14.36s.05.26.14.36c.1.1.21.14.36.14h10.99c.14 0 .26-.05.36-.14.1-.1.14-.21.14-.36s-.05-.26-.14-.36c-.1-.1-.21-.14-.36-.14ZM2.5 2h10.99c.14 0 .26-.05.36-.14.1-.1.14-.21.14-.36s-.05-.26-.14-.36c-.1-.1-.21-.14-.36-.14H2.5c-.14 0-.26.05-.36.14-.1.1-.14.21-.14.36s.05.26.14.36c.1.1.21.14.36.14ZM9.76 5.97c.2.2.51.2.71 0 .2-.2.2-.51 0-.71L8.36 3.14c-.2-.2-.51-.2-.71 0L5.53 5.26c-.2.2-.2.51 0 .71.2.2.51.2.71 0l1.24-1.24v6.53l-1.24-1.24c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l2.12 2.12c.2.2.51.2.71 0l2.12-2.12c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.29 1.29V4.67l1.29 1.29-.01.01Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const PinTextSquare = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "pin-text-square" }, h("path", { d: "M13.51 14.97H2.5c-.83 0-1.5-.67-1.5-1.5V2.5C1 1.67 1.67 1 2.5 1h11.01c.83 0 1.5.67 1.5 1.5v10.97c0 .83-.67 1.5-1.5 1.5ZM2.5 2c-.28 0-.5.22-.5.5v10.97c0 .28.22.5.5.5h11.01c.28 0 .5-.22.5-.5V2.5c0-.28-.22-.5-.5-.5H2.5Z" }), h("path", { d: "m3.98 11.97 3.3-8h1.37l3.37 8h-1.04l-.88-2.01H5.9l-.91 2.01H3.98Zm4.02-7-1.76 4h3.42L8 4.97Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const PlusWithArrow = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "plus-with-arrow" }, h("path", { d: "M8.58 1.46c-3.58 0-6.5 2.92-6.5 6.5H.59l2 3 2-3h-1.5c0-3.03 2.47-5.5 5.5-5.5s5.5 2.47 5.5 5.5-2.47 5.5-5.5 5.5c-1.19 0-2.32-.37-3.27-1.08a.505.505 0 0 0-.7.1c-.17.22-.12.53.1.7 1.13.84 2.46 1.28 3.87 1.28 3.58 0 6.5-2.92 6.5-6.5s-2.92-6.5-6.51-6.5Z" }), h("path", { d: "M8.5 5.53c-.28 0-.5.22-.5.5v1.49H6.51c-.28 0-.5.22-.5.5s.22.5.5.5H8v1.51c0 .28.22.5.5.5s.5-.22.5-.5V8.52h1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H9V6.03c0-.28-.22-.5-.5-.5Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const PMI = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "pmi" }, h("path", { d: "M14.49 6.03 4.5 6c-.28 0-.5-.22-.5-.5v-3c0-.13.05-.26.15-.35A.51.51 0 0 1 4.5 2l9.99.03c.28 0 .5.22.5.5v3c0 .13-.05.26-.15.35a.51.51 0 0 1-.35.15ZM5 5l8.99.03v-2L5 3v2Z" }), h("path", { d: "M9.5 12.01H4.55c-.28 0-.5-.22-.5-.5s.22-.5.5-.5H9V6.02c0-.28.22-.5.5-.5s.5.22.5.5v5.49c0 .28-.22.5-.5.5Z" }), h("path", { d: "M3.46 15.04c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5Zm2.01-.01h-.01c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.51.22.51.5-.22.5-.5.5Zm-3.99-.01c-.28 0-.5-.22-.5-.49 0-.29.22-.51.5-.51s.5.22.5.5-.22.5-.5.5Zm6-.01c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5Zm-6-2c-.28 0-.5-.22-.5-.5 0-.29.22-.51.5-.51s.5.22.5.5-.22.5-.5.5Zm0-2.01c-.28 0-.5-.22-.5-.5 0-.29.22-.51.5-.51s.5.22.5.5-.22.5-.5.5Zm6-1.97c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5c0 .29-.22.51-.5.51Zm-5.97-.02c-.28 0-.51-.22-.51-.5s.22-.5.5-.5h.01c.28 0 .5.22.5.5s-.22.5-.5.5ZM3.52 9c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5Zm2.01-.02c-.28 0-.51-.22-.51-.5s.22-.5.5-.5h.01c.28 0 .5.22.5.5s-.22.5-.5.5Z" }), h("circle", { cx: "4.49", cy: "11.53", r: "1.5" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Update = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "update" }, h("path", { d: "M11.27 12.42A5.5 5.5 0 0 1 2.5 8H4L2 5 0 8h1.5A6.5 6.5 0 0 0 8 14.5a6.42 6.42 0 0 0 3.87-1.28.5.5 0 1 0-.6-.8ZM14.5 8A6.5 6.5 0 0 0 8 1.5a6.42 6.42 0 0 0-3.87 1.28.5.5 0 0 0 .6.8A5.5 5.5 0 0 1 13.5 8H12l2 3 2-3h-1.5Z" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export const Views = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "views" }, h("path", { d: "M12.49 5.97v-.03c0-.07-.02-.13-.05-.19a.27.27 0 0 0-.07-.08.284.284 0 0 0-.1-.09c-.02-.01-.02-.03-.04-.04L8.27 3.56a.508.508 0 0 0-.45 0L3.9 5.51c-.11.03-.21.11-.28.22l-.02.02-.01.02c-.03.07-.05.13-.05.2 0 .01-.01.02-.01.04v4.63c0 .19.11.36.28.45l4 1.99h.01a.465.465 0 0 0 .42 0h.01l3.97-1.96a.5.5 0 0 0 .28-.45L12.48 6l.01-.03ZM8.04 4.55l2.84 1.42-2.83 1.45-2.88-1.44 2.87-1.43ZM4.53 6.78l3 1.5v3.52l-3-1.5V6.77v.01Zm4.01 5.02V8.29l2.96-1.51v3.55L8.54 11.8ZM1.5 5c-.28 0-.5-.22-.5-.5V1h3.5c.28 0 .5.22.5.5s-.22.5-.5.5H2v2.5c0 .28-.22.5-.5.5Zm0 5.99c-.28 0-.5.22-.5.5v3.5h3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H2v-2.5c0-.28-.22-.5-.5-.5ZM14.5 5c.28 0 .5-.22.5-.5V1h-3.5c-.28 0-.5.22-.5.5s.22.5.5.5H14v2.5c0 .28.22.5.5.5Zm0 5.99c.28 0 .5.22.5.5v3.5h-3.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5H14v-2.5c0-.28.22-.5.5-.5Z" })));
|