@_unit/unit 1.0.25 → 1.0.27

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 (108) hide show
  1. package/build/web.js +10 -10
  2. package/lib/API.d.ts +3 -1
  3. package/lib/client/PositionObserver.d.ts +3 -3
  4. package/lib/client/PositionObserver.js +4 -25
  5. package/lib/client/PositionObserver.js.map +1 -1
  6. package/lib/client/component.d.ts +0 -3
  7. package/lib/client/component.js +2 -40
  8. package/lib/client/component.js.map +1 -1
  9. package/lib/client/makeEventListener.d.ts +1 -1
  10. package/lib/client/makeEventListener.js +0 -6
  11. package/lib/client/makeEventListener.js.map +1 -1
  12. package/lib/client/noop/MutationObserver.d.ts +2 -2
  13. package/lib/client/noop/MutationObserver.js.map +1 -1
  14. package/lib/client/noop/ResizeObserver.d.ts +2 -2
  15. package/lib/client/noop/ResizeObserver.js.map +1 -1
  16. package/lib/client/platform/web/api/document.js +0 -16
  17. package/lib/client/platform/web/api/document.js.map +1 -1
  18. package/lib/client/platform/web/api/theme.d.ts +3 -0
  19. package/lib/{system/platform/api/popover/HidePopover/index.js → client/platform/web/api/theme.js} +13 -25
  20. package/lib/client/platform/web/api/theme.js.map +1 -0
  21. package/lib/client/platform/web/boot.js +4 -0
  22. package/lib/client/platform/web/boot.js.map +1 -1
  23. package/lib/host/none.js +5 -3
  24. package/lib/host/none.js.map +1 -1
  25. package/lib/system/_classes.d.ts +0 -10
  26. package/lib/system/_classes.js +0 -10
  27. package/lib/system/_classes.js.map +1 -1
  28. package/lib/system/_components.d.ts +0 -2
  29. package/lib/system/_components.js +86 -88
  30. package/lib/system/_components.js.map +1 -1
  31. package/lib/system/_ids.d.ts +0 -6
  32. package/lib/system/_ids.js +8 -14
  33. package/lib/system/_ids.js.map +1 -1
  34. package/lib/system/_specs.js +1 -1
  35. package/lib/system/_specs.js.map +1 -1
  36. package/lib/system/platform/component/Button/index.d.ts +0 -1
  37. package/lib/system/platform/component/Button/index.js +1 -1
  38. package/lib/system/platform/component/Button/index.js.map +1 -1
  39. package/lib/system/platform/component/Render/Component.js +1 -1
  40. package/lib/system/platform/component/Render/Component.js.map +1 -1
  41. package/lib/system/platform/component/Render/index.d.ts +3 -3
  42. package/lib/system/platform/component/Render/index.js +1 -1
  43. package/lib/system/platform/component/Render/index.js.map +1 -1
  44. package/lib/system/platform/component/app/GUI/Component.js +1 -1
  45. package/lib/system/platform/component/app/GUI/Component.js.map +1 -1
  46. package/lib/system/platform/method/value/Write/index.js.map +1 -1
  47. package/lib/types/global/IPositionObserver.d.ts +4 -4
  48. package/package.json +1 -1
  49. package/public/_worker.js +5 -5
  50. package/public/_worker.js.map +4 -4
  51. package/public/build.json +1 -1
  52. package/public/index.js +10 -10
  53. package/public/index.js.map +4 -4
  54. package/src/API.ts +3 -1
  55. package/src/client/PositionObserver.ts +12 -46
  56. package/src/client/component.ts +2 -48
  57. package/src/client/makeEventListener.ts +0 -9
  58. package/src/client/noop/MutationObserver.ts +2 -2
  59. package/src/client/noop/ResizeObserver.ts +2 -2
  60. package/src/client/platform/web/api/document.ts +0 -6
  61. package/src/client/platform/web/api/theme.ts +19 -0
  62. package/src/client/platform/web/boot.ts +5 -0
  63. package/src/host/none.ts +5 -3
  64. package/src/system/_classes.ts +0 -10
  65. package/src/system/_components.ts +0 -2
  66. package/src/system/_ids.ts +0 -6
  67. package/src/system/_specs.ts +1 -1
  68. package/src/system/platform/component/Button/index.ts +1 -2
  69. package/src/system/platform/component/Button/spec.json +0 -7
  70. package/src/system/platform/component/Render/Component.ts +1 -1
  71. package/src/system/platform/component/Render/index.ts +4 -4
  72. package/src/system/platform/component/Render/spec.json +3 -3
  73. package/src/system/platform/component/app/GUI/Component.ts +1 -1
  74. package/src/system/platform/method/value/Write/index.ts +0 -1
  75. package/src/types/global/IPositionObserver.ts +4 -4
  76. package/lib/client/event/toggle.d.ts +0 -5
  77. package/lib/client/event/toggle.js +0 -27
  78. package/lib/client/event/toggle.js.map +0 -1
  79. package/lib/system/platform/api/observer/PositionObserver/index.d.ts +0 -20
  80. package/lib/system/platform/api/observer/PositionObserver/index.js +0 -65
  81. package/lib/system/platform/api/observer/PositionObserver/index.js.map +0 -1
  82. package/lib/system/platform/api/popover/HidePopover/index.d.ts +0 -15
  83. package/lib/system/platform/api/popover/HidePopover/index.js.map +0 -1
  84. package/lib/system/platform/api/popover/ShowPopover/index.d.ts +0 -15
  85. package/lib/system/platform/api/popover/ShowPopover/index.js +0 -38
  86. package/lib/system/platform/api/popover/ShowPopover/index.js.map +0 -1
  87. package/lib/system/platform/api/popover/TogglePopover/index.d.ts +0 -15
  88. package/lib/system/platform/api/popover/TogglePopover/index.js +0 -38
  89. package/lib/system/platform/api/popover/TogglePopover/index.js.map +0 -1
  90. package/lib/system/platform/component/Follow/Component.d.ts +0 -51
  91. package/lib/system/platform/component/Follow/Component.js +0 -293
  92. package/lib/system/platform/component/Follow/Component.js.map +0 -1
  93. package/lib/system/platform/component/Follow/index.d.ts +0 -10
  94. package/lib/system/platform/component/Follow/index.js +0 -11
  95. package/lib/system/platform/component/Follow/index.js.map +0 -1
  96. package/src/client/event/toggle.ts +0 -37
  97. package/src/system/platform/api/observer/PositionObserver/index.ts +0 -95
  98. package/src/system/platform/api/observer/PositionObserver/spec.json +0 -30
  99. package/src/system/platform/api/popover/HidePopover/index.ts +0 -41
  100. package/src/system/platform/api/popover/HidePopover/spec.json +0 -23
  101. package/src/system/platform/api/popover/ShowPopover/index.ts +0 -41
  102. package/src/system/platform/api/popover/ShowPopover/spec.json +0 -23
  103. package/src/system/platform/api/popover/TogglePopover/index.ts +0 -41
  104. package/src/system/platform/api/popover/TogglePopover/spec.json +0 -23
  105. package/src/system/platform/component/Follow/Component.ts +0 -499
  106. package/src/system/platform/component/Follow/index.ts +0 -21
  107. package/src/system/platform/component/Follow/spec.json +0 -25
  108. package/src/system/platform/core/api/event/OnToggle/spec.json +0 -49
package/src/API.ts CHANGED
@@ -218,7 +218,6 @@ export type API = {
218
218
  getSelection(): Selection
219
219
  createRange(): Range
220
220
  exitPictureInPicture(): Promise<void>
221
- setTheme(theme: Theme): Promise<void>
222
221
  MutationObserver: IMutationObserverConstructor
223
222
  PositionObserver: IPositionObserverCostructor
224
223
  ResizeObserver: IResizeObserverConstructor
@@ -234,4 +233,7 @@ export type API = {
234
233
  worker: {
235
234
  start(): Worker
236
235
  }
236
+ theme: {
237
+ setTheme(theme: Theme): Promise<void>
238
+ }
237
239
  }
@@ -1,8 +1,8 @@
1
1
  import { System } from '../system'
2
2
  import {
3
+ IPositionCallback,
4
+ IPositionEntry,
3
5
  IPositionObserver,
4
- PositionObserverCallback,
5
- PositionObserverEntry,
6
6
  } from '../types/global/IPositionObserver'
7
7
  import { Unlisten } from '../types/Unlisten'
8
8
  import { callAll } from '../util/call/callAll'
@@ -19,16 +19,16 @@ import {
19
19
  export class PositionObserver implements IPositionObserver {
20
20
  private _system: System
21
21
 
22
- private _callback: PositionObserverCallback
22
+ private _callback: IPositionCallback
23
23
  private _unlisten: () => void
24
24
  private _abort: () => void
25
25
 
26
- constructor(system: System, callback: PositionObserverCallback) {
26
+ constructor(system: System, callback: IPositionCallback) {
27
27
  this._system = system
28
28
  this._callback = callback
29
29
  }
30
30
 
31
- public observe(element: HTMLElement): PositionObserverEntry {
31
+ public observe(element: HTMLElement): IPositionEntry {
32
32
  // console.log('PositionObserver', 'observe')
33
33
 
34
34
  const {
@@ -114,13 +114,8 @@ export class PositionObserver implements IPositionObserver {
114
114
  }
115
115
 
116
116
  function __update_local(): void {
117
- const {
118
- offsetLeft = 0,
119
- offsetTop = 0,
120
- offsetWidth = 0,
121
- offsetHeight = 0,
122
- style,
123
- } = element
117
+ const { offsetLeft, offsetTop, offsetWidth, offsetHeight, style } =
118
+ element
124
119
 
125
120
  offset_x = offsetLeft
126
121
  offset_y = offsetTop
@@ -178,21 +173,17 @@ export class PositionObserver implements IPositionObserver {
178
173
 
179
174
  _border_x = borderSize
180
175
  _border_y = borderSize
181
-
182
- _borderWidth = borderWidth
183
-
184
- bx = _border_x
185
- by = _border_y
186
176
  }
177
+
178
+ _borderWidth = borderWidth
187
179
  }
188
180
 
181
+ bx = _border_x
182
+ by = _border_y
183
+
189
184
  gbx = parent_bx + parent_gbx
190
185
  gby = parent_by + parent_gby
191
186
 
192
- if (offsetWidth === undefined) {
193
- debugger
194
- }
195
-
196
187
  width = offsetWidth
197
188
  height = offsetHeight
198
189
  }
@@ -221,22 +212,9 @@ export class PositionObserver implements IPositionObserver {
221
212
  ry = ryr + parent_ry
222
213
  rz = rzr + parent_rz
223
214
 
224
- if (isNaN(_border_x) || isNaN(_border_y)) {
225
- debugger
226
- }
227
-
228
215
  const parent_rz_cos = Math.cos(parent_rz)
229
216
  const parent_rz_sin = Math.sin(parent_rz)
230
217
 
231
- if (
232
- isNaN(offset_x) ||
233
- isNaN(offset_y) ||
234
- isNaN(transform_x) ||
235
- isNaN(transform_y)
236
- ) {
237
- debugger
238
- }
239
-
240
218
  const local_x = offset_x + transform_x
241
219
  const local_y = offset_y + transform_y
242
220
 
@@ -250,10 +228,6 @@ export class PositionObserver implements IPositionObserver {
250
228
  parent_scaled_local_y * parent_rz_cos +
251
229
  parent_scaled_local_x * parent_rz_sin
252
230
 
253
- if (isNaN(width) || isNaN(height)) {
254
- debugger
255
- }
256
-
257
231
  const px =
258
232
  parent_gbx / 2 +
259
233
  parent_x -
@@ -268,10 +242,6 @@ export class PositionObserver implements IPositionObserver {
268
242
  parent_scaled_rotated_local_y * scale_y -
269
243
  ((height * parent_scale_y) / 2) * (scale_y - 1)
270
244
 
271
- if (isNaN(px) || isNaN(py)) {
272
- debugger
273
- }
274
-
275
245
  const cx =
276
246
  px +
277
247
  (width * parent_scale_x * parent_rz_cos -
@@ -290,10 +260,6 @@ export class PositionObserver implements IPositionObserver {
290
260
  const rcp = rotateVector(cp, rzr)
291
261
  const fp = addVector(c, rcp)
292
262
 
293
- if (isNaN(fp.x)) {
294
- debugger
295
- }
296
-
297
263
  x = fp.x
298
264
  y = fp.y
299
265
  }
@@ -414,42 +414,6 @@ export class Component<
414
414
  }
415
415
  }
416
416
 
417
- togglePopover() {
418
- const firstLeaf = this.getFirstRootLeaf()
419
-
420
- if (firstLeaf.$element instanceof HTMLElement) {
421
- if (firstLeaf.$element.togglePopover) {
422
- firstLeaf.$element.togglePopover()
423
- }
424
- } else {
425
- //
426
- }
427
- }
428
-
429
- hidePopover() {
430
- const firstLeaf = this.getFirstRootLeaf()
431
-
432
- if (firstLeaf.$element instanceof HTMLElement) {
433
- if (firstLeaf.$element.hidePopover) {
434
- firstLeaf.$element.hidePopover()
435
- }
436
- } else {
437
- //
438
- }
439
- }
440
-
441
- showPopover() {
442
- const firstLeaf = this.getFirstRootLeaf()
443
-
444
- if (firstLeaf.$element instanceof HTMLElement) {
445
- if (firstLeaf.$element.showPopover) {
446
- firstLeaf.$element.showPopover()
447
- }
448
- } else {
449
- //
450
- }
451
- }
452
-
453
417
  private $detached: boolean = false
454
418
 
455
419
  private _animateBase = (
@@ -2439,11 +2403,7 @@ export class Component<
2439
2403
  }
2440
2404
  }
2441
2405
  } else {
2442
- if (this.$element.contains(component.$element)) {
2443
- this.domCommitRemoveChild(component)
2444
- } else {
2445
- component.$slotParent.domRemoveChild(component)
2446
- }
2406
+ this.domCommitRemoveChild(component)
2447
2407
  }
2448
2408
  }
2449
2409
 
@@ -2501,13 +2461,7 @@ export class Component<
2501
2461
  const _at = this.$mountParentRoot.indexOf(component)
2502
2462
  const slotName = this.$parentRootSlotName[at]
2503
2463
  this.postRemoveParentRootAt(component, slotName, at, _at)
2504
- this.domRemoveParentRootAt(
2505
- component,
2506
- slotName,
2507
- at,
2508
- _at,
2509
- slotParent ?? this.$slotParent
2510
- )
2464
+ this.domRemoveParentRootAt(component, slotName, at, _at, slotParent)
2511
2465
  this.memRemoveParentRootAt(component, slotName, at, _at)
2512
2466
  }
2513
2467
 
@@ -16,7 +16,6 @@ import { makePointerEnterListener } from './event/pointer/pointerenter'
16
16
  import { makePointerLeaveListener } from './event/pointer/pointerleave'
17
17
  import { makePointerMoveListener } from './event/pointer/pointermove'
18
18
  import { makePointerUpListener } from './event/pointer/pointerup'
19
- import { makeToggleListener } from './event/toggle'
20
19
  import { makeWheelListener } from './event/wheel'
21
20
  import { Listener } from './Listener'
22
21
 
@@ -42,9 +41,6 @@ export type IOUIEventName =
42
41
  | 'keypress'
43
42
  | 'wheel'
44
43
  | 'message'
45
- | 'toggle'
46
- | 'show'
47
- | 'hide'
48
44
 
49
45
  export const UI_EVENT_SET: Set<IOUIEventName> = new Set([
50
46
  'click',
@@ -68,9 +64,6 @@ export const UI_EVENT_SET: Set<IOUIEventName> = new Set([
68
64
  'keypress',
69
65
  'wheel',
70
66
  'message',
71
- 'toggle',
72
- 'show',
73
- 'hide'
74
67
  ])
75
68
 
76
69
  export function makeUIEventListener(
@@ -118,8 +111,6 @@ export function makeUIEventListener(
118
111
  return makeKeypressListener(callback)
119
112
  case 'wheel':
120
113
  return makeWheelListener(callback)
121
- case 'toggle':
122
- return makeToggleListener(callback)
123
114
  default:
124
115
  throw new Error(`unknown UI event: ${event}`)
125
116
  }
@@ -1,8 +1,8 @@
1
1
  import { IMutationObserver } from '../../types/global/IMutationObserver'
2
- import { PositionObserverCallback } from '../../types/global/IPositionObserver'
2
+ import { IPositionCallback } from '../../types/global/IPositionObserver'
3
3
 
4
4
  export class NoopMutationObserver implements IMutationObserver {
5
- constructor(callback: PositionObserverCallback) {}
5
+ constructor(callback: IPositionCallback) {}
6
6
 
7
7
  public observe(element: HTMLElement): void {}
8
8
 
@@ -1,8 +1,8 @@
1
- import { PositionObserverCallback } from '../../types/global/IPositionObserver'
1
+ import { IPositionCallback } from '../../types/global/IPositionObserver'
2
2
  import { IResizeObserver } from '../../types/global/IResizeObserver'
3
3
 
4
4
  export class NoopResizeObserver implements IResizeObserver {
5
- constructor(callback: PositionObserverCallback) {}
5
+ constructor(callback: IPositionCallback) {}
6
6
 
7
7
  public observe(element: HTMLElement): void {}
8
8
 
@@ -4,7 +4,6 @@ import { PositionObserver } from '../../../PositionObserver'
4
4
  import { NoopIntersectionObserver } from '../../../noop/IntersectionObserver'
5
5
  import { NoopMutationObserver } from '../../../noop/MutationObserver'
6
6
  import { NoopResizeObserver } from '../../../noop/ResizeObserver'
7
- import { Theme, themeBackgroundColor } from '../../../theme'
8
7
 
9
8
  export function webDocument(
10
9
  window: Window,
@@ -58,11 +57,6 @@ export function webDocument(
58
57
  ResizeObserver: ResizeObserver,
59
58
  PositionObserver: PositionObserver,
60
59
  IntersectionObserver: IntersectionObserver,
61
- setTheme: async function (theme: Theme): Promise<void> {
62
- const color = themeBackgroundColor(theme)
63
-
64
- document.body.style.backgroundColor = color
65
- },
66
60
  }
67
61
 
68
62
  return _document
@@ -0,0 +1,19 @@
1
+ import { API } from '../../../../API'
2
+ import { BootOpt } from '../../../../system'
3
+ import { Theme, themeBackgroundColor } from '../../../theme'
4
+
5
+ export function webTheme(
6
+ window: Window,
7
+ root: HTMLElement,
8
+ opt: BootOpt
9
+ ): API['theme'] {
10
+ const theme: API['theme'] = {
11
+ setTheme: async function (theme: Theme): Promise<void> {
12
+ const color = themeBackgroundColor(theme)
13
+
14
+ root.style.backgroundColor = color
15
+ },
16
+ }
17
+
18
+ return theme
19
+ }
@@ -37,6 +37,7 @@ import { webSelection } from './api/selection'
37
37
  import { webSpeech } from './api/speech'
38
38
  import { webStorage } from './api/storage'
39
39
  import { webText } from './api/text'
40
+ import { webTheme } from './api/theme'
40
41
  import { webURI } from './api/uri'
41
42
  import { webURL } from './api/url'
42
43
  import { webWindow } from './api/window'
@@ -92,6 +93,7 @@ export function webBoot(
92
93
  const _window = webWindow(window, opt)
93
94
  const navigator = webNavigator(window, opt)
94
95
  const layout = webLayout(window, opt)
96
+ const theme = webTheme(window, _root, opt)
95
97
 
96
98
  const api: API = {
97
99
  alert,
@@ -121,6 +123,7 @@ export function webBoot(
121
123
  uri,
122
124
  window: _window,
123
125
  navigator,
126
+ theme,
124
127
  }
125
128
 
126
129
  const system = boot(null, api, opt)
@@ -129,6 +132,8 @@ export function webBoot(
129
132
 
130
133
  system.root = _root
131
134
 
135
+ theme.setTheme(system.theme)
136
+
132
137
  attachSprite(system)
133
138
  attachStyle(system)
134
139
  attachApp(system)
package/src/host/none.ts CHANGED
@@ -225,9 +225,6 @@ export function noHost(): API {
225
225
  exitPictureInPicture() {
226
226
  throw new MethodNotImplementedError()
227
227
  },
228
- setTheme: function (theme: Theme): Promise<void> {
229
- throw new MethodNotImplementedError()
230
- },
231
228
  MutationObserver: null,
232
229
  PositionObserver: null,
233
230
  ResizeObserver: null,
@@ -317,6 +314,11 @@ export function noHost(): API {
317
314
  throw new MethodNotImplementedError()
318
315
  },
319
316
  },
317
+ theme: {
318
+ setTheme: function (theme: Theme): Promise<void> {
319
+ throw new MethodNotImplementedError()
320
+ },
321
+ },
320
322
  }
321
323
 
322
324
  return api
@@ -210,16 +210,12 @@ import Notification from './platform/api/notification/Notification'
210
210
  import Show from './platform/api/notification/Show'
211
211
  import IntersectionObserver from './platform/api/observer/IntersectionObserver'
212
212
  import Observe from './platform/api/observer/Observe'
213
- import PositionObserver from './platform/api/observer/PositionObserver'
214
213
  import SizeObserver from './platform/api/observer/SizeObserver'
215
214
  import PeerGraph from './platform/api/peer/PeerGraph'
216
215
  import PeerReceiver from './platform/api/peer/PeerReceiver'
217
216
  import PeerShareGraph from './platform/api/peer/PeerShareGraph'
218
217
  import PeerTransmitter from './platform/api/peer/PeerTransmitter'
219
218
  import SetPointerCapture from './platform/api/pointer/SetPointerCapture'
220
- import HidePopover from './platform/api/popover/HidePopover'
221
- import ShowPopover from './platform/api/popover/ShowPopover'
222
- import TogglePopover from './platform/api/popover/TogglePopover'
223
219
  import ScrollIntoView from './platform/api/scroll/ScrollIntoView'
224
220
  import Send from './platform/api/Send'
225
221
  import Share from './platform/api/share/Share'
@@ -262,7 +258,6 @@ import Button from './platform/component/Button'
262
258
  import Canvas from './platform/component/canvas/Canvas'
263
259
  import Constrain from './platform/component/Constrain'
264
260
  import Div from './platform/component/Div'
265
- import Follow from './platform/component/Follow'
266
261
  import Frame from './platform/component/Frame'
267
262
  import H1 from './platform/component/H1'
268
263
  import H2 from './platform/component/H2'
@@ -563,16 +558,12 @@ export default {
563
558
  '5aea0bf0-0815-11eb-9304-5f90b5542620': Show,
564
559
  '34a36b3a-cb04-4429-bdbc-15e0c278ad7a': IntersectionObserver,
565
560
  'e8aded15-a1af-42a0-9a9d-f88fcfd03dc3': Observe,
566
- 'b27ee28f-54fb-4737-91f5-04b52b7cf92d': PositionObserver,
567
561
  '2f2d5ea4-6dd2-406e-a095-5552ebc235e7': SizeObserver,
568
562
  'd4ec46ab-d065-4d1c-9357-fa8b95be0c36': PeerGraph,
569
563
  'f079a38e-fb4f-496e-8e5f-d5e03a590cda': PeerReceiver,
570
564
  '16fa715f-fc94-43f7-831e-335037c8daea': PeerShareGraph,
571
565
  '7375aad5-50fd-403c-80ae-471b95088f04': PeerTransmitter,
572
566
  'd3fc887c-9fc5-11eb-8f63-ab42b0414469': SetPointerCapture,
573
- 'c6f309c8-9ca7-459c-9dd5-c9c9f92fbe8f': HidePopover,
574
- 'eed20c86-41fe-46d4-87ba-ad2e6fb1bd4a': ShowPopover,
575
- 'f9be5d07-9548-4a14-b5b9-fa954599a170': TogglePopover,
576
567
  'de9665db-a188-4252-99f0-ea50fc343058': ScrollIntoView,
577
568
  'b296242e-8b82-11eb-ac6c-0f8d3f9948d0': Send,
578
569
  '04eda925-4423-40c8-83c8-2117a0d81185': Share,
@@ -615,7 +606,6 @@ export default {
615
606
  '94243ec4-8967-4907-8cdd-7223fe256cf6': Canvas,
616
607
  '7c27cf95-6226-4326-8619-32d82bcbe16d': Constrain,
617
608
  '66698a97-15c5-4602-9925-11a1aeb03710': Div,
618
- 'b3b92c9a-dcfb-4c88-b5c0-2e65ad4305a7': Follow,
619
609
  'd7c86a2a-489f-11eb-b83e-d3767f6d49b7': Frame,
620
610
  'dd7616e2-2e64-4d9c-b13e-ca7efeacd982': H1,
621
611
  '321f971c-b898-4ca4-9e6e-3d75d68940f7': H2,
@@ -22,7 +22,6 @@ import Button from './platform/component/Button/Component'
22
22
  import Canvas from './platform/component/canvas/Canvas/Component'
23
23
  import Constrain from './platform/component/Constrain/Component'
24
24
  import Div from './platform/component/Div/Component'
25
- import Follow from './platform/component/Follow/Component'
26
25
  import Frame from './platform/component/Frame/Component'
27
26
  import H1 from './platform/component/H1/Component'
28
27
  import H2 from './platform/component/H2/Component'
@@ -92,7 +91,6 @@ export default {
92
91
  '94243ec4-8967-4907-8cdd-7223fe256cf6': Canvas,
93
92
  '7c27cf95-6226-4326-8619-32d82bcbe16d': Constrain,
94
93
  '66698a97-15c5-4602-9925-11a1aeb03710': Div,
95
- 'b3b92c9a-dcfb-4c88-b5c0-2e65ad4305a7': Follow,
96
94
  'd7c86a2a-489f-11eb-b83e-d3767f6d49b7': Frame,
97
95
  'dd7616e2-2e64-4d9c-b13e-ca7efeacd982': H1,
98
96
  '321f971c-b898-4ca4-9e6e-3d75d68940f7': H2,
@@ -419,7 +419,6 @@ export const ID_NOTIFICATION = 'bb029770-080e-11eb-9d38-f314d076f14b'
419
419
  export const ID_SHOW = '5aea0bf0-0815-11eb-9304-5f90b5542620'
420
420
  export const ID_INTERSECTION_OBSERVER = '34a36b3a-cb04-4429-bdbc-15e0c278ad7a'
421
421
  export const ID_OBSERVE = 'e8aded15-a1af-42a0-9a9d-f88fcfd03dc3'
422
- export const ID_POSITION_OBSERVER = 'b27ee28f-54fb-4737-91f5-04b52b7cf92d'
423
422
  export const ID_SIZE_OBSERVER = '2f2d5ea4-6dd2-406e-a095-5552ebc235e7'
424
423
  export const ID_PEER_DUPLEX = '755b0a17-1b09-45b4-bb7d-e63d21009efd'
425
424
  export const ID_PEER_GRAPH = 'd4ec46ab-d065-4d1c-9357-fa8b95be0c36'
@@ -427,9 +426,6 @@ export const ID_PEER_RECEIVER = 'f079a38e-fb4f-496e-8e5f-d5e03a590cda'
427
426
  export const ID_PEER_SHARE_GRAPH = '16fa715f-fc94-43f7-831e-335037c8daea'
428
427
  export const ID_PEER_TRANSMITTER = '7375aad5-50fd-403c-80ae-471b95088f04'
429
428
  export const ID_SET_POINTER_CAPTURE = 'd3fc887c-9fc5-11eb-8f63-ab42b0414469'
430
- export const ID_HIDE_POPOVER = 'c6f309c8-9ca7-459c-9dd5-c9c9f92fbe8f'
431
- export const ID_SHOW_POPOVER = 'eed20c86-41fe-46d4-87ba-ad2e6fb1bd4a'
432
- export const ID_TOGGLE_POPOVER = 'f9be5d07-9548-4a14-b5b9-fa954599a170'
433
429
  export const ID_SCROLL_INTO_VIEW = 'de9665db-a188-4252-99f0-ea50fc343058'
434
430
  export const ID_SEND = 'b296242e-8b82-11eb-ac6c-0f8d3f9948d0'
435
431
  export const ID_SHARE = '04eda925-4423-40c8-83c8-2117a0d81185'
@@ -474,7 +470,6 @@ export const ID_BUTTON = 'b61f5cc6-37e9-45e1-965b-02940820f7ce'
474
470
  export const ID_CANVAS = '94243ec4-8967-4907-8cdd-7223fe256cf6'
475
471
  export const ID_CONSTRAIN = '7c27cf95-6226-4326-8619-32d82bcbe16d'
476
472
  export const ID_DIV = '66698a97-15c5-4602-9925-11a1aeb03710'
477
- export const ID_FOLLOW = 'b3b92c9a-dcfb-4c88-b5c0-2e65ad4305a7'
478
473
  export const ID_FRAME = 'd7c86a2a-489f-11eb-b83e-d3767f6d49b7'
479
474
  export const ID_HEADER_1 = 'dd7616e2-2e64-4d9c-b13e-ca7efeacd982'
480
475
  export const ID_HEADER_2 = '321f971c-b898-4ca4-9e6e-3d75d68940f7'
@@ -567,7 +562,6 @@ export const ID_ON_POINTER_UP = '43a9d452-b1ee-11ea-923f-efb4af36e68e'
567
562
  export const ID_ON_RESIZE = '9fd9d2ea-98a7-11eb-8aa3-fbeb43cb1944'
568
563
  export const ID_ON_SET = '9256571c-db04-4559-a0a6-b8b0d107861f'
569
564
  export const ID_ON_SHOW = 'cbb19840-081e-11eb-918d-3f728eda5672'
570
- export const ID_ON_TOGGLE = '9649cf39-fd6e-4437-a268-c0b4def6bcbd'
571
565
  export const ID_ON_VALUE = 'd0e6f14c-400c-42f3-bfd6-1bbe0146f490'
572
566
  export const ID_ON_WHEEL = '52e6d3c8-0958-4829-bc25-1f6cdbf6e451'
573
567
  export const ID_TAG_DATA = '7a602db8-2618-11eb-b9c6-4bb45b6d8833'