@vertexvis/ui 0.1.0-testing.8 → 0.1.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.
Files changed (185) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{color-circle-picker-13396ec4.js → color-circle-picker-d0403f1c.js} +2 -2
  3. package/dist/cjs/color-picker-2a4820fa.js +46 -0
  4. package/dist/cjs/{color-circle-05be54bf.js → color-swatch-8aaf6c0b.js} +42 -17
  5. package/dist/cjs/components.cjs.js +1 -1
  6. package/dist/cjs/{dialog-88e2308a.js → dialog-34f1dd6e.js} +1 -1
  7. package/dist/cjs/dom-a2c535e3.js +17 -0
  8. package/dist/cjs/{icon-460fd0f5.js → icon-3b1349ea.js} +1 -1
  9. package/dist/cjs/{icon-button-786427d6.js → icon-button-19061994.js} +1 -1
  10. package/dist/cjs/{icon-helper-ba408f49.js → icon-helper-cb479ba1.js} +107 -0
  11. package/dist/cjs/index.cjs.js +18 -12
  12. package/dist/cjs/lib-1bd1e383.js +9 -0
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/{search-bar-91cbcd07.js → search-bar-2e7ee35a.js} +130 -24
  15. package/dist/cjs/{select-5f8aecfe.js → select-2b2bdb97.js} +1 -1
  16. package/dist/cjs/{slider-13594e49.js → slider-7714cccb.js} +7 -1
  17. package/dist/cjs/tab-4335cd8f.js +26 -0
  18. package/dist/cjs/tabs-6f3e76e1.js +111 -0
  19. package/dist/cjs/{tooltip-e9f63631.js → tooltip-9d097c55.js} +2 -5
  20. package/dist/cjs/vertex-color-circle-picker.cjs.entry.js +1 -1
  21. package/dist/cjs/vertex-color-picker.cjs.entry.js +2 -1
  22. package/dist/cjs/vertex-color-swatch.cjs.entry.js +12 -0
  23. package/dist/cjs/vertex-dialog.cjs.entry.js +1 -1
  24. package/dist/cjs/vertex-icon-button.cjs.entry.js +2 -2
  25. package/dist/cjs/vertex-icon.cjs.entry.js +2 -2
  26. package/dist/cjs/vertex-search-bar.cjs.entry.js +1 -1
  27. package/dist/cjs/vertex-select.cjs.entry.js +1 -1
  28. package/dist/cjs/vertex-slider.cjs.entry.js +2 -1
  29. package/dist/cjs/{vertex-color-circle.cjs.entry.js → vertex-tab.cjs.entry.js} +3 -2
  30. package/dist/cjs/vertex-tabs.cjs.entry.js +12 -0
  31. package/dist/cjs/vertex-tooltip.cjs.entry.js +2 -1
  32. package/dist/collection/collection-manifest.json +4 -2
  33. package/dist/collection/components/color-circle-picker/color-circle-picker.js +8 -8
  34. package/dist/collection/components/color-picker/color-picker.css +95 -15
  35. package/dist/collection/components/color-picker/color-picker.js +57 -3
  36. package/dist/collection/components/color-swatch/color-swatch.css +43 -0
  37. package/dist/collection/components/{color-circle/color-circle.js → color-swatch/color-swatch.js} +96 -23
  38. package/dist/collection/components/color-swatch/lib.js +5 -0
  39. package/dist/collection/components/dialog/dialog.css +0 -1
  40. package/dist/collection/components/icon/icon-helper.js +51 -0
  41. package/dist/collection/components/icon/icon.js +1 -1
  42. package/dist/collection/components/icon/icons/arrow-left-circled.js +2 -0
  43. package/dist/collection/components/icon/icons/arrow-right-circled.js +2 -0
  44. package/dist/collection/components/icon/icons/camera-add.js +2 -0
  45. package/dist/collection/components/icon/icons/caution.js +2 -0
  46. package/dist/collection/components/icon/icons/columns-add.js +2 -0
  47. package/dist/collection/components/icon/icons/compare.js +2 -0
  48. package/dist/collection/components/icon/icons/compress.js +2 -0
  49. package/dist/collection/components/icon/icons/cube-stack.js +2 -0
  50. package/dist/collection/components/icon/icons/expand.js +2 -0
  51. package/dist/collection/components/icon/icons/file-folder.js +2 -0
  52. package/dist/collection/components/icon/icons/pin-text-square.js +2 -0
  53. package/dist/collection/components/icon/icons/plus-with-arrow.js +2 -0
  54. package/dist/collection/components/icon/icons/pmi.js +2 -0
  55. package/dist/collection/components/icon/icons/report.js +2 -0
  56. package/dist/collection/components/icon/icons/square-dot-outline.js +2 -0
  57. package/dist/collection/components/icon/icons/update.js +2 -0
  58. package/dist/collection/components/icon/icons/views.js +2 -0
  59. package/dist/collection/components/icon-button/icon-button.js +1 -1
  60. package/dist/collection/components/index.js +3 -1
  61. package/dist/collection/components/search-bar/dom.js +17 -0
  62. package/dist/collection/components/search-bar/lib.js +45 -4
  63. package/dist/collection/components/search-bar/search-bar.js +76 -23
  64. package/dist/collection/components/select/select.css +8 -0
  65. package/dist/collection/components/slider/slider.js +8 -2
  66. package/dist/collection/components/tab/tab.css +16 -0
  67. package/dist/collection/components/tab/tab.js +85 -0
  68. package/dist/collection/components/tab/util.js +3 -0
  69. package/dist/collection/components/tabs/tabs.css +67 -0
  70. package/dist/collection/components/tabs/tabs.js +159 -0
  71. package/dist/collection/types/icon.js +17 -0
  72. package/dist/collection/util/components/dom.js +3 -0
  73. package/dist/components/components.css +1 -1
  74. package/dist/components/components.esm.js +1 -1
  75. package/dist/components/index.esm.js +1 -1
  76. package/dist/components/p-01d4be1d.entry.js +1 -0
  77. package/dist/components/{p-165aed7d.js → p-0d4a0d61.js} +1 -1
  78. package/dist/components/p-18ed73e9.js +1 -0
  79. package/dist/components/p-1d08dd79.entry.js +1 -0
  80. package/dist/components/p-2ae8175d.entry.js +1 -0
  81. package/dist/components/p-2b4aedaa.entry.js +1 -0
  82. package/dist/components/p-3438c441.js +1 -0
  83. package/dist/components/{p-912f6e24.js → p-4327deea.js} +1 -1
  84. package/dist/components/p-45848878.js +1 -0
  85. package/dist/components/p-48629bf1.js +1 -0
  86. package/dist/components/{p-103249b4.js → p-5384f198.js} +1 -1
  87. package/dist/components/p-655053df.js +1 -0
  88. package/dist/components/p-65f9817e.js +1 -0
  89. package/dist/components/p-6a49c365.entry.js +1 -0
  90. package/dist/components/p-6b6c2260.js +1 -0
  91. package/dist/components/p-6ff20817.js +1 -0
  92. package/dist/components/{p-ca52a423.js → p-7bd92281.js} +1 -1
  93. package/dist/components/p-8bbc344d.entry.js +1 -0
  94. package/dist/components/p-8d83dfff.entry.js +1 -0
  95. package/dist/components/p-96f55673.js +1 -0
  96. package/dist/components/{p-9374ef6c.js → p-b9dab446.js} +1 -1
  97. package/dist/components/p-c6841378.entry.js +1 -0
  98. package/dist/components/p-cbfc041e.entry.js +1 -0
  99. package/dist/components/p-d2d75bcf.entry.js +1 -0
  100. package/dist/components/p-d539f530.js +1 -0
  101. package/dist/components/p-decf635f.entry.js +1 -0
  102. package/dist/components/p-e35057b5.entry.js +1 -0
  103. package/dist/esm/{color-circle-picker-998a7e9c.js → color-circle-picker-35ad3b3e.js} +2 -2
  104. package/dist/esm/color-picker-1d67effe.js +44 -0
  105. package/dist/esm/{color-circle-842f3321.js → color-swatch-0e62d13d.js} +42 -17
  106. package/dist/esm/components.js +1 -1
  107. package/dist/esm/{dialog-e3f49527.js → dialog-1cef715c.js} +1 -1
  108. package/dist/esm/dom-9d0f7bf4.js +13 -0
  109. package/dist/esm/{icon-d37150b4.js → icon-bf8df898.js} +1 -1
  110. package/dist/esm/{icon-button-aad3c0e7.js → icon-button-a4bdeabc.js} +1 -1
  111. package/dist/esm/{icon-helper-83f10f73.js → icon-helper-94d45002.js} +107 -0
  112. package/dist/esm/index.js +15 -11
  113. package/dist/esm/lib-73fbca8b.js +7 -0
  114. package/dist/esm/loader.js +1 -1
  115. package/dist/esm/{search-bar-f12a3599.js → search-bar-8d18626e.js} +130 -24
  116. package/dist/esm/{select-d4e135b7.js → select-78aeff96.js} +1 -1
  117. package/dist/esm/{slider-dcdb388f.js → slider-3d8545e3.js} +8 -2
  118. package/dist/esm/tab-c76332b0.js +24 -0
  119. package/dist/esm/tabs-e9f6dcbe.js +109 -0
  120. package/dist/esm/{tooltip-933da261.js → tooltip-db8ebd41.js} +1 -4
  121. package/dist/esm/vertex-color-circle-picker.entry.js +1 -1
  122. package/dist/esm/vertex-color-picker.entry.js +2 -1
  123. package/dist/esm/vertex-color-swatch.entry.js +4 -0
  124. package/dist/esm/vertex-dialog.entry.js +1 -1
  125. package/dist/esm/vertex-icon-button.entry.js +2 -2
  126. package/dist/esm/vertex-icon.entry.js +2 -2
  127. package/dist/esm/vertex-search-bar.entry.js +1 -1
  128. package/dist/esm/vertex-select.entry.js +1 -1
  129. package/dist/esm/vertex-slider.entry.js +2 -1
  130. package/dist/esm/vertex-tab.entry.js +3 -0
  131. package/dist/esm/vertex-tabs.entry.js +4 -0
  132. package/dist/esm/vertex-tooltip.entry.js +2 -1
  133. package/dist/types/components/color-circle-picker/color-circle-picker.d.ts +7 -7
  134. package/dist/types/components/color-picker/color-picker.d.ts +19 -0
  135. package/dist/types/components/{color-circle/color-circle.d.ts → color-swatch/color-swatch.d.ts} +23 -5
  136. package/dist/types/components/color-swatch/lib.d.ts +1 -0
  137. package/dist/types/components/icon/icons/arrow-left-circled.d.ts +3 -0
  138. package/dist/types/components/icon/icons/arrow-right-circled.d.ts +3 -0
  139. package/dist/types/components/icon/icons/camera-add.d.ts +3 -0
  140. package/dist/types/components/icon/icons/caution.d.ts +3 -0
  141. package/dist/types/components/icon/icons/columns-add.d.ts +3 -0
  142. package/dist/types/components/icon/icons/compare.d.ts +3 -0
  143. package/dist/types/components/icon/icons/compress.d.ts +3 -0
  144. package/dist/types/components/icon/icons/cube-stack.d.ts +3 -0
  145. package/dist/types/components/icon/icons/expand.d.ts +3 -0
  146. package/dist/types/components/icon/icons/file-folder.d.ts +3 -0
  147. package/dist/types/components/icon/icons/pin-text-square.d.ts +3 -0
  148. package/dist/types/components/icon/icons/plus-with-arrow.d.ts +3 -0
  149. package/dist/types/components/icon/icons/pmi.d.ts +3 -0
  150. package/dist/types/components/icon/icons/report.d.ts +3 -0
  151. package/dist/types/components/icon/icons/square-dot-outline.d.ts +3 -0
  152. package/dist/types/components/icon/icons/update.d.ts +3 -0
  153. package/dist/types/components/icon/icons/views.d.ts +3 -0
  154. package/dist/types/components/index.d.ts +3 -1
  155. package/dist/types/components/search-bar/dom.d.ts +5 -0
  156. package/dist/types/components/search-bar/lib.d.ts +9 -2
  157. package/dist/types/components/search-bar/search-bar.d.ts +1 -0
  158. package/dist/types/components/slider/slider.d.ts +1 -0
  159. package/dist/types/components/tab/tab.d.ts +11 -0
  160. package/dist/types/components/tab/util.d.ts +1 -0
  161. package/dist/types/components/tabs/tabs.d.ts +23 -0
  162. package/dist/types/components.d.ts +162 -76
  163. package/dist/types/types/icon.d.ts +17 -0
  164. package/dist/types/util/components/dom.d.ts +1 -0
  165. package/package.json +2 -2
  166. package/dist/cjs/color-picker-876ace00.js +0 -37
  167. package/dist/collection/components/color-circle/color-circle.css +0 -18
  168. package/dist/components/p-03dbb28c.js +0 -1
  169. package/dist/components/p-0b1cdc8a.entry.js +0 -1
  170. package/dist/components/p-0f8b9ede.entry.js +0 -1
  171. package/dist/components/p-16719272.entry.js +0 -1
  172. package/dist/components/p-20a74d5d.entry.js +0 -1
  173. package/dist/components/p-35e7ab78.entry.js +0 -1
  174. package/dist/components/p-7cfb3736.entry.js +0 -1
  175. package/dist/components/p-7dba2574.entry.js +0 -1
  176. package/dist/components/p-7f64b251.entry.js +0 -1
  177. package/dist/components/p-8434602f.js +0 -1
  178. package/dist/components/p-92930f2a.js +0 -1
  179. package/dist/components/p-cd6ddb10.js +0 -1
  180. package/dist/components/p-cfe369bf.entry.js +0 -1
  181. package/dist/components/p-d9b9aebe.js +0 -1
  182. package/dist/components/p-db34f10c.js +0 -1
  183. package/dist/components/p-f71fc166.entry.js +0 -1
  184. package/dist/esm/color-picker-2e3b51fa.js +0 -35
  185. package/dist/esm/vertex-color-circle.entry.js +0 -2
@@ -0,0 +1,5 @@
1
+ const hexRegex = /^(#|0x)?([A-Fa-f0-9]{6})$/;
2
+ export function isValidHexColor(color) {
3
+ const match = color != null ? hexRegex.exec(color) : undefined;
4
+ return match != null && match.length > 0;
5
+ }
@@ -71,7 +71,6 @@
71
71
  .overlay {
72
72
  border: 1px solid var(--vertex-ui-neutral-300);
73
73
  border-radius: 6px;
74
- min-width: var(--min-width, var(--vertex-ui-min-dialog-width));
75
74
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
76
75
  display: flex;
77
76
  }
@@ -6,9 +6,11 @@ import { AlignToSurface } from './icons/align-to-surface';
6
6
  import { AlignViewToPlane } from './icons/align-view-to-plane';
7
7
  import { Annotation } from './icons/annotation';
8
8
  import { ArrowFilled } from './icons/arrow-filled';
9
+ import { ArrowLeftCircled } from './icons/arrow-left-circled';
9
10
  import { ArrowLineLeft } from './icons/arrow-line-left';
10
11
  import { ArrowLineRight } from './icons/arrow-line-right';
11
12
  import { ArrowPartial } from './icons/arrow-partial';
13
+ import { ArrowRightCircled } from './icons/arrow-right-circled';
12
14
  import { ArrowTriangleLeft } from './icons/arrow-triangle-left';
13
15
  import { ArrowTriangleRight } from './icons/arrow-triangle-right';
14
16
  import { ArrowUpCircled } from './icons/arrow-up-circled';
@@ -20,10 +22,12 @@ import { Back } from './icons/back';
20
22
  import { BoxCursor } from './icons/box-cursor';
21
23
  import { BoxSelect } from './icons/box-select';
22
24
  import { Camera } from './icons/camera';
25
+ import { CameraAdd } from './icons/camera-add';
23
26
  import { CaretDown } from './icons/caret-down';
24
27
  import { CaretLeft } from './icons/caret-left';
25
28
  import { CaretRight } from './icons/caret-right';
26
29
  import { CaretUp } from './icons/caret-up';
30
+ import { Caution } from './icons/caution';
27
31
  import { Check } from './icons/check';
28
32
  import { CheckCircle } from './icons/check-circle';
29
33
  import { ChevronDown } from './icons/chevron-down';
@@ -36,23 +40,29 @@ import { CloseCircle } from './icons/close-circle';
36
40
  import { CloseCircleFill } from './icons/close-circle-fill';
37
41
  import { CollapseAll } from './icons/collapse-all';
38
42
  import { Columns } from './icons/columns';
43
+ import { ColumnsAdd } from './icons/columns-add';
39
44
  import { CommentAdd } from './icons/comment-add';
40
45
  import { CommentFilled } from './icons/comment-filled';
41
46
  import { CommentReopen } from './icons/comment-reopen';
42
47
  import { CommentResolve } from './icons/comment-resolve';
43
48
  import { CommentShow } from './icons/comment-show';
49
+ import { Compare } from './icons/compare';
50
+ import { Compress } from './icons/compress';
44
51
  import { Copy } from './icons/copy';
45
52
  import { CrossSection } from './icons/cross-section';
46
53
  import { CubeOrthographic } from './icons/cube-orthographic';
47
54
  import { CubePerspective } from './icons/cube-perspective';
55
+ import { CubeStack } from './icons/cube-stack';
48
56
  import { Delete } from './icons/delete';
49
57
  import { Download } from './icons/download';
50
58
  import { DragIndicator } from './icons/drag-indicator';
51
59
  import { Ellipse } from './icons/ellipse';
52
60
  import { ErrorCircle } from './icons/error-circle';
61
+ import { Expand } from './icons/expand';
53
62
  import { ExpandAll } from './icons/expand-all';
54
63
  import { Export } from './icons/export';
55
64
  import { File } from './icons/file';
65
+ import { FileFolder } from './icons/file-folder';
56
66
  import { FilePdf } from './icons/file-pdf';
57
67
  import { FitAll } from './icons/fit-all';
58
68
  import { FitSelected } from './icons/fit-selected';
@@ -85,9 +95,13 @@ import { PinFill } from './icons/pin-fill';
85
95
  import { PinLine } from './icons/pin-line';
86
96
  import { PinText } from './icons/pin-text';
87
97
  import { PinTextFill } from './icons/pin-text-fill';
98
+ import { PinTextSquare } from './icons/pin-text-square';
88
99
  import { Plus } from './icons/plus';
100
+ import { PlusWithArrow } from './icons/plus-with-arrow';
101
+ import { PMI } from './icons/pmi';
89
102
  import { PreciseMeasurement } from './icons/precise-measurement';
90
103
  import { Rabbit } from './icons/rabbit';
104
+ import { Report } from './icons/report';
91
105
  import { Reset } from './icons/reset';
92
106
  import { Resize } from './icons/resize';
93
107
  import { Rotate } from './icons/rotate';
@@ -95,13 +109,16 @@ import { Ruler } from './icons/ruler';
95
109
  import { Search } from './icons/search';
96
110
  import { ShowOnlyNearby } from './icons/show-only-nearby';
97
111
  import { Snapshots } from './icons/snapshots';
112
+ import { SquareDotOutline } from './icons/square-dot-outline';
98
113
  import { Star } from './icons/star';
99
114
  import { TapeMeasure } from './icons/tape-measure';
100
115
  import { Teleport } from './icons/teleport';
101
116
  import { TeleportAndAlign } from './icons/teleport-and-align';
102
117
  import { TeleportToward } from './icons/teleport-toward';
103
118
  import { Turtle } from './icons/turtle';
119
+ import { Update } from './icons/update';
104
120
  import { VersionHistory } from './icons/version-history';
121
+ import { Views } from './icons/views';
105
122
  import { VisibilityHidden } from './icons/visibility-hidden';
106
123
  import { VisibilityPartial } from './icons/visibility-partial';
107
124
  import { VisibilityVisible } from './icons/visibility-visible';
@@ -122,12 +139,16 @@ export function getSvg(name) {
122
139
  return h(Annotation, null);
123
140
  case 'arrow-filled':
124
141
  return h(ArrowFilled, null);
142
+ case 'arrow-left-circled':
143
+ return h(ArrowLeftCircled, null);
125
144
  case 'arrow-line-left':
126
145
  return h(ArrowLineLeft, null);
127
146
  case 'arrow-line-right':
128
147
  return h(ArrowLineRight, null);
129
148
  case 'arrow-partial':
130
149
  return h(ArrowPartial, null);
150
+ case 'arrow-right-circled':
151
+ return h(ArrowRightCircled, null);
131
152
  case 'arrow-triangle-left':
132
153
  return h(ArrowTriangleLeft, null);
133
154
  case 'arrow-triangle-right':
@@ -150,6 +171,8 @@ export function getSvg(name) {
150
171
  return h(BoxSelect, null);
151
172
  case 'camera':
152
173
  return h(Camera, null);
174
+ case 'camera-add':
175
+ return h(CameraAdd, null);
153
176
  case 'caret-down':
154
177
  return h(CaretDown, null);
155
178
  case 'caret-left':
@@ -158,6 +181,8 @@ export function getSvg(name) {
158
181
  return h(CaretRight, null);
159
182
  case 'caret-up':
160
183
  return h(CaretUp, null);
184
+ case 'caution':
185
+ return h(Caution, null);
161
186
  case 'check':
162
187
  return h(Check, null);
163
188
  case 'check-circle':
@@ -182,6 +207,8 @@ export function getSvg(name) {
182
207
  return h(CollapseAll, null);
183
208
  case 'columns':
184
209
  return h(Columns, null);
210
+ case 'columns-add':
211
+ return h(ColumnsAdd, null);
185
212
  case 'comment-add':
186
213
  return h(CommentAdd, null);
187
214
  case 'comment-filled':
@@ -192,6 +219,10 @@ export function getSvg(name) {
192
219
  return h(CommentResolve, null);
193
220
  case 'comment-show':
194
221
  return h(CommentShow, null);
222
+ case 'compare':
223
+ return h(Compare, null);
224
+ case 'compress':
225
+ return h(Compress, null);
195
226
  case 'copy':
196
227
  return h(Copy, null);
197
228
  case 'cross-section':
@@ -200,6 +231,8 @@ export function getSvg(name) {
200
231
  return h(CubeOrthographic, null);
201
232
  case 'cube-perspective':
202
233
  return h(CubePerspective, null);
234
+ case 'cube-stack':
235
+ return h(CubeStack, null);
203
236
  case 'delete':
204
237
  return h(Delete, null);
205
238
  case 'download':
@@ -210,12 +243,16 @@ export function getSvg(name) {
210
243
  return h(Ellipse, null);
211
244
  case 'error-circle':
212
245
  return h(ErrorCircle, null);
246
+ case 'expand':
247
+ return h(Expand, null);
213
248
  case 'expand-all':
214
249
  return h(ExpandAll, null);
215
250
  case 'export':
216
251
  return h(Export, null);
217
252
  case 'file':
218
253
  return h(File, null);
254
+ case 'file-folder':
255
+ return h(FileFolder, null);
219
256
  case 'file-pdf':
220
257
  return h(FilePdf, null);
221
258
  case 'fit-all':
@@ -280,12 +317,20 @@ export function getSvg(name) {
280
317
  return h(PinText, null);
281
318
  case 'pin-text-fill':
282
319
  return h(PinTextFill, null);
320
+ case 'pin-text-square':
321
+ return h(PinTextSquare, null);
283
322
  case 'plus':
284
323
  return h(Plus, null);
324
+ case 'plus-with-arrow':
325
+ return h(PlusWithArrow, null);
326
+ case 'pmi':
327
+ return h(PMI, null);
285
328
  case 'precise-measurement':
286
329
  return h(PreciseMeasurement, null);
287
330
  case 'rabbit':
288
331
  return h(Rabbit, null);
332
+ case 'report':
333
+ return h(Report, null);
289
334
  case 'reset':
290
335
  return h(Reset, null);
291
336
  case 'resize':
@@ -302,6 +347,8 @@ export function getSvg(name) {
302
347
  return h(Snapshots, null);
303
348
  case 'star':
304
349
  return h(Star, null);
350
+ case 'square-dot-outline':
351
+ return h(SquareDotOutline, null);
305
352
  case 'tape-measure':
306
353
  return h(TapeMeasure, null);
307
354
  case 'teleport-and-align':
@@ -312,8 +359,12 @@ export function getSvg(name) {
312
359
  return h(Teleport, null);
313
360
  case 'turtle':
314
361
  return h(Turtle, null);
362
+ case 'update':
363
+ return h(Update, null);
315
364
  case 'version-history':
316
365
  return h(VersionHistory, null);
366
+ case 'views':
367
+ return h(Views, null);
317
368
  case 'visibility-hidden':
318
369
  return h(VisibilityHidden, null);
319
370
  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-left-circled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-right-circled\" | \"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-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\" | \"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\" | \"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\" | \"report\" | \"ruler\" | \"show-only-nearby\" | \"snapshots\" | \"star\" | \"square-dot-outline\" | \"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 ArrowLeftCircled = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "arrow-left-circled" }, h("g", { fill: "none", stroke: "currentColor", "stroke-linejoin": "round", "stroke-width": "1" }, h("path", { d: "m1.2594 8 3.6867-4.1402z" }), h("path", { d: "m1.2594 8h13.553z" }), h("path", { d: "m1.2594 8 3.6867 4.1402z" })), h("path", { d: "M8,1a7,7,0,1,0,7,7A7,7,0,0,0,8,1Zm4.24,11.24A6,6,0,1,1,3.76,3.76a6,6,0,1,1,8.48,8.48Z" })));
@@ -0,0 +1,2 @@
1
+ import { h } from '@stencil/core';
2
+ export const ArrowRightCircled = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "arrow-right-circled" }, h("g", { fill: "none", stroke: "currentColor", "stroke-linejoin": "round", "stroke-width": "1" }, h("path", { d: "m11.753 8-3.6867-3.1402z" }), h("path", { d: "m11.753 8h-7.553z" }), h("path", { d: "m11.753 8-3.6867 3.1402z" })), h("path", { d: "M8,1a7,7,0,1,0,7,7A7,7,0,0,0,8,1Zm4.24,11.24A6,6,0,1,1,3.76,3.76a6,6,0,1,1,8.48,8.48Z" })));
@@ -0,0 +1,2 @@
1
+ import { h } from '@stencil/core';
2
+ export const CameraAdd = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "camera-add" }, h("path", { d: "M10.5 8.002h-2v-2a.5.5 0 1 0-1 0v2h-2a.5.5 0 1 0 0 1h2v2a.5.5 0 1 0 1 0v-2h2a.5.5 0 1 0 0-1Zm4.35-3.85a.47.47 0 0 0-.35-.15h-2.69L11 2.282a.51.51 0 0 0-.5-.28h-5a.51.51 0 0 0-.45.28l-.86 1.72H1.5a.47.47 0 0 0-.35.15.47.47 0 0 0-.15.35v9a.47.47 0 0 0 .15.35.47.47 0 0 0 .35.15h13a.51.51 0 0 0 .5-.5v-9a.47.47 0 0 0-.15-.35Zm-.85 8.85H2v-8h2.5a.51.51 0 0 0 .5-.28l.81-1.72h4.38l.86 1.72a.51.51 0 0 0 .45.28H14v8Z" })));
@@ -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 ColumnsAdd = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "columns-add" }, h("g", null, h("path", { d: "M13.45 12.04c-.28 0-.5.22-.5.5v.99c0 .27-.22.49-.5.49H7.99V2h4.46c.28 0 .5.22.5.5v.99c0 .28.22.5.5.5s.5-.22.5-.5V2.5c0-.82-.67-1.5-1.5-1.5H2.5C1.67 1 1 1.67 1 2.5v11.01c0 .83.67 1.5 1.5 1.5h9.96c.83 0 1.5-.67 1.5-1.49v-.99c0-.28-.22-.5-.5-.5l-.01.01ZM2 13.51V2.5c0-.28.22-.5.5-.5h4.49v12.01H2.5c-.28 0-.5-.22-.5-.5Z" }), h("path", { d: "M15.01 7.5h-1.02V6.48c0-.28-.22-.5-.5-.5s-.5.22-.5.5V7.5h-1.02c-.28 0-.5.22-.5.5s.22.5.5.5h1.02v1.02c0 .28.22.5.5.5s.5-.22.5-.5V8.5h1.02c.28 0 .5-.22.5-.5s-.22-.5-.5-.5Z" }))));
@@ -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 FileFolder = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "file-folder" }, h("path", { d: "M3.5 3a.5.5 0 0 0 .5-.5V2h8v.5a.5.5 0 1 0 1 0v-1a.47.47 0 0 0-.15-.35.47.47 0 0 0-.35-.15h-9a.47.47 0 0 0-.35.15.47.47 0 0 0-.15.35v1a.5.5 0 0 0 .5.5Zm-1 3a.5.5 0 0 0 .5-.5V5h10v.5a.5.5 0 1 0 1 0v-1a.51.51 0 0 0-.5-.5h-11a.47.47 0 0 0-.35.15.47.47 0 0 0-.15.35v1a.5.5 0 0 0 .5.5Zm12.35 1.15A.47.47 0 0 0 14.5 7h-13a.47.47 0 0 0-.35.15.47.47 0 0 0-.15.35v7a.47.47 0 0 0 .15.35.47.47 0 0 0 .35.15h13a.51.51 0 0 0 .5-.5v-7a.47.47 0 0 0-.15-.35ZM14 14H2V8h12v6Z" })));
@@ -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 Report = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "report" }, h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { transform: "translate(2, 2)", fill: "currentColor", "fill-rule": "nonzero" }, h("path", { d: "M10.99,0 L1,0 C0.45,0 0,0.45 0,1 L0,11 C0,11.55 0.45,12 1,12 L10.99,12 C11.54,12 11.99,11.55 11.99,11 L11.99,1 C11.99,0.45 11.54,0 10.99,0 L10.99,0 Z M10.99,11 L1,11 L1,1 L10.99,1 L10.99,11 Z" }), h("path", { d: "M8.49,7.02 C8.77,7.02 8.99,6.8 8.99,6.52 L8.99,2.93 C8.99,2.65 8.77,2.43 8.49,2.43 C8.21,2.43 7.99,2.65 7.99,2.93 L7.99,6.52 C7.99,6.8 8.21,7.02 8.49,7.02 Z" }), h("path", { d: "M5.99,3.51 C5.99,3.23 5.77,3.01 5.49,3.01 L3.46,3.01 C3.18,3.01 2.96,3.23 2.96,3.51 C2.96,3.79 3.18,4.01 3.46,4.01 L5.49,4.01 C5.77,4.01 5.99,3.79 5.99,3.51 Z" }), h("path", { d: "M5.99,6.01 C5.99,5.73 5.77,5.51 5.49,5.51 L3.46,5.51 C3.18,5.51 2.96,5.73 2.96,6.01 C2.96,6.29 3.18,6.51 3.46,6.51 L5.49,6.51 C5.77,6.51 5.99,6.29 5.99,6.01 Z" }), h("path", { d: "M5.99,8.51 C5.99,8.23 5.77,8.01 5.49,8.01 L3.46,8.01 C3.18,8.01 2.96,8.23 2.96,8.51 C2.96,8.79 3.18,9.01 3.46,9.01 L5.49,9.01 C5.77,9.01 5.99,8.79 5.99,8.51 Z" }), h("path", { d: "M8.53,9.59 C8.7,9.59 8.85,9.53 8.97,9.41 C9.09,9.29 9.15,9.15 9.15,8.97 C9.15,8.79 9.09,8.65 8.97,8.53 C8.85,8.41 8.71,8.35 8.53,8.35 C8.35,8.35 8.21,8.41 8.09,8.53 C7.97,8.65 7.91,8.79 7.91,8.97 C7.91,9.15 7.97,9.29 8.09,9.41 C8.21,9.53 8.35,9.59 8.53,9.59 Z" })))));
@@ -0,0 +1,2 @@
1
+ import { h } from '@stencil/core';
2
+ export const SquareDotOutline = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "square-dot-outline" }, h("path", { d: "M11 4.53c0-.28-.22-.5-.5-.5L4.51 4a.47.47 0 0 0-.35.15.51.51 0 0 0-.15.35v6.02c0 .28.22.5.5.5l5.99.03c.13 0 .26-.05.35-.15a.51.51 0 0 0 .15-.35V4.53Zm-1 5.52-4.99-.03V5l4.99.03v5.02ZM3.5 13c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.23-.5-.5-.5ZM5.49 13c-.28 0-.5.22-.5.5s.22.5.5.5h.01c.28 0 .5-.22.5-.5s-.23-.5-.51-.5ZM1.5 7c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM1.5 9c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM1.5 11c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM1.5 13c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM7.5 13c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.23-.5-.5-.5ZM9.5 13c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.23-.5-.5-.5ZM11.49 13c-.28 0-.5.22-.5.5s.22.5.5.5h.01c.28 0 .5-.22.5-.5s-.23-.5-.51-.5ZM13.5 13c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.23-.5-.5-.5ZM1.5 5c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM1.5 3c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM13.5 7c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM13.5 9c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM13.5 11c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM13.5 5c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM13.5 3c-.28 0-.5.22-.5.5 0 .29.22.5.5.5s.5-.23.5-.5-.22-.5-.5-.5ZM7.5 2c.28 0 .5-.22.5-.5 0-.29-.22-.5-.5-.5s-.5.23-.5.5.22.5.5.5ZM1.51 1H1.5c-.28 0-.5.22-.5.5s.23.5.51.5.5-.22.5-.5-.22-.5-.5-.5ZM3.5 1c-.28 0-.5.22-.5.5s.23.5.5.5.5-.22.5-.5-.22-.5-.5-.5ZM5.51 2c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H5.5c-.28 0-.5.22-.5.5s.23.5.51.5ZM13.5 1c-.28 0-.5.23-.5.5s.22.5.5.5.5-.22.5-.5c0-.29-.22-.5-.5-.5ZM9.5 2c.28 0 .5-.22.5-.5S9.78 1 9.5 1s-.5.22-.5.5.23.5.5.5ZM11.5 1h-.01c-.28 0-.5.22-.5.5s.23.5.51.5.5-.22.5-.5-.22-.5-.5-.5Z" })));
@@ -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" })));
@@ -50,7 +50,7 @@ export class IconButton {
50
50
  "mutable": false,
51
51
  "complexType": {
52
52
  "original": "IconName",
53
- "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\"",
53
+ "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-left-circled\" | \"arrow-line-left\" | \"arrow-line-right\" | \"arrow-partial\" | \"arrow-right-circled\" | \"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-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\" | \"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\" | \"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\" | \"report\" | \"ruler\" | \"show-only-nearby\" | \"snapshots\" | \"star\" | \"square-dot-outline\" | \"tape-measure\" | \"teleport-and-align\" | \"teleport-toward\" | \"teleport\" | \"turtle\" | \"update\" | \"version-history\" | \"views\" | \"visibility-hidden\" | \"visibility-partial\" | \"visibility-visible\" | \"zoom\"",
54
54
  "references": {
55
55
  "IconName": {
56
56
  "location": "import",
@@ -8,9 +8,9 @@ export * from './card-group/card-group';
8
8
  export * from './chip/chip';
9
9
  export * from './click-to-edit-text-field/click-to-edit-text-field';
10
10
  export * from './collapsible/collapsible';
11
- export * from './color-circle/color-circle';
12
11
  export * from './color-circle-picker/color-circle-picker';
13
12
  export * from './color-picker/color-picker';
13
+ export * from './color-swatch/color-swatch';
14
14
  export * from './context-menu/context-menu';
15
15
  export * from './dialog/dialog';
16
16
  export * from './draggable-popover/draggable-popover';
@@ -32,6 +32,8 @@ export * from './search-bar/search-bar';
32
32
  export * from './select/select';
33
33
  export * from './slider/slider';
34
34
  export * from './spinner/spinner';
35
+ export * from './tab/tab';
36
+ export * from './tabs/tabs';
35
37
  export * from './text-field/text-field';
36
38
  export * from './toast/toast';
37
39
  export * from './toggle/toggle';
@@ -4,9 +4,26 @@ export const getWindowSelection = () => {
4
4
  }
5
5
  return undefined;
6
6
  };
7
+ export const nodeHasChildNodes = (node) => {
8
+ return node.hasChildNodes();
9
+ };
7
10
  export const createDocumentRange = () => {
8
11
  return document.createRange();
9
12
  };
10
13
  export const createTextNode = (text) => {
11
14
  return new Text(text);
12
15
  };
16
+ export const createBreak = () => {
17
+ return document.createElement('br');
18
+ };
19
+ export const createWrappingDiv = (nodes) => {
20
+ const el = document.createElement('div');
21
+ el.append(...nodes);
22
+ return el;
23
+ };
24
+ export const isHtmlElement = (node) => {
25
+ return node instanceof HTMLElement;
26
+ };
27
+ export const isBrElement = (node) => {
28
+ return node instanceof HTMLBRElement;
29
+ };
@@ -1,4 +1,4 @@
1
- import { createTextNode } from './dom';
1
+ import { createBreak, createTextNode } from './dom';
2
2
  export const createResultUri = (result) => {
3
3
  return `${result.type}:${result.id}`;
4
4
  };
@@ -8,15 +8,56 @@ export const createSearchResultReplacement = (result, before, after) => {
8
8
  before: createTextNode(before),
9
9
  beforeSpace: createTextNode(createHairSpace()),
10
10
  result: createTextNode(urn),
11
- afterSpace: after != null ? createTextNode(createNoBreakSpace()) : undefined,
11
+ afterSpace: after != null
12
+ ? createTextNode(createNoBreakSpace())
13
+ : createTextNode(createHairSpace()),
12
14
  after: after != null ? createTextNode(after) : undefined,
13
15
  };
14
16
  };
15
- export const getNodesForSearchResultReplacement = (replacement) => {
17
+ /**
18
+ * Newline characters and spaces are represented slightly differently within a
19
+ * content editable element between browsers. This method standardizes the
20
+ * representation of those characters to avoid having to write branching logic
21
+ * to support each individual browser.
22
+ */
23
+ export const standardizeNewlinesAndSpaces = (node) => {
24
+ const content = node.textContent;
25
+ if (content === '\n') {
26
+ return [createBreak()];
27
+ }
28
+ else if (content != null && content.includes('\n')) {
29
+ const split = content.split('\n');
30
+ return split.reduce((res, substr, i) => {
31
+ const previous = split[i - 1];
32
+ // Ignore the empty string if the prior element was converted
33
+ // to a breaking element to prevent duplication of newlines.
34
+ if (substr === '' && previous !== '') {
35
+ return res;
36
+ }
37
+ return [
38
+ ...res,
39
+ // Standard spaces are not always respected with in `Text`
40
+ // elements when appended to a contenteditable element. This
41
+ // conversion preserves that spacing.
42
+ createTextNode(substr.replace(/ /g, createNoBreakSpace())),
43
+ createBreak(),
44
+ ];
45
+ }, []);
46
+ }
47
+ return [node];
48
+ };
49
+ export const getNodesForSearchResultReplacement = (replacement, isBreaking = false) => {
16
50
  const keys = Object.keys(replacement);
17
- return keys
51
+ const replacementElements = keys
18
52
  .map((key) => replacement[key])
19
53
  .filter((node) => node != null);
54
+ // If the element is intended to replace a breaking element such
55
+ // as a `<div>` wrapper, a newline is required alongside the standard
56
+ // replacement elements.
57
+ if (isBreaking) {
58
+ return [createTextNode('\n'), ...replacementElements];
59
+ }
60
+ return replacementElements;
20
61
  };
21
62
  /**
22
63
  * We leverage a couple unique spaces to represent mentions, allowing for