@floegence/floe-webapp-core 0.53.4 → 0.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/components/ui/InfiniteCanvas.js +111 -100
  2. package/dist/components/ui/SurfaceAnchoredLayer.d.ts +10 -0
  3. package/dist/components/ui/SurfaceAnchoredLayer.js +89 -0
  4. package/dist/components/ui/index.d.ts +1 -0
  5. package/dist/components/workbench/WorkbenchCanvas.d.ts +1 -1
  6. package/dist/components/workbench/WorkbenchCanvas.js +26 -24
  7. package/dist/components/workbench/WorkbenchCanvasField.d.ts +1 -1
  8. package/dist/components/workbench/WorkbenchCanvasField.js +46 -42
  9. package/dist/components/workbench/WorkbenchLayerObjects.d.ts +9 -1
  10. package/dist/components/workbench/WorkbenchLayerObjects.js +896 -707
  11. package/dist/components/workbench/WorkbenchSurface.d.ts +2 -0
  12. package/dist/components/workbench/WorkbenchSurface.js +442 -420
  13. package/dist/components/workbench/index.d.ts +1 -0
  14. package/dist/components/workbench/types.d.ts +6 -3
  15. package/dist/components/workbench/useWorkbenchModel.js +53 -53
  16. package/dist/components/workbench/workbenchCompositionMessages.d.ts +62 -0
  17. package/dist/components/workbench/workbenchCompositionMessages.js +67 -0
  18. package/dist/components/workbench/workbenchHelpers.js +19 -6
  19. package/dist/components/workbench/workbenchOptions.d.ts +4 -4
  20. package/dist/components/workbench/workbenchOptions.js +18 -16
  21. package/dist/full.js +182 -180
  22. package/dist/input-focus.css +39 -5
  23. package/dist/styles.css +1 -1
  24. package/dist/surface.css +1 -2
  25. package/dist/ui.js +86 -84
  26. package/dist/workbench-themes.css +60 -0
  27. package/dist/workbench.css +332 -524
  28. package/dist/workbench.js +24 -22
  29. package/package.json +1 -1
@@ -3,16 +3,42 @@
3
3
  * It changes color only and never replaces an existing decorative shadow.
4
4
  */
5
5
  :is(
6
- input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='button'], [type='submit'], [type='reset'], [type='image']),
7
- textarea, select, [data-floe-input-surface]
6
+ input:not(
7
+ [type='checkbox'],
8
+ [type='radio'],
9
+ [type='range'],
10
+ [type='color'],
11
+ [type='file'],
12
+ [type='button'],
13
+ [type='submit'],
14
+ [type='reset'],
15
+ [type='image']
16
+ ),
17
+ textarea,
18
+ select,
19
+ [data-floe-input-surface]
8
20
  ) {
9
21
  outline: none;
10
22
  }
11
23
 
12
24
  :is(
13
- input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='button'], [type='submit'], [type='reset'], [type='image']),
14
- textarea, select, [data-floe-input-surface]
15
- ):focus:not(:disabled):not([aria-disabled='true']):not([data-floe-input-surface] :is(input, textarea, select)),
25
+ input:not(
26
+ [type='checkbox'],
27
+ [type='radio'],
28
+ [type='range'],
29
+ [type='color'],
30
+ [type='file'],
31
+ [type='button'],
32
+ [type='submit'],
33
+ [type='reset'],
34
+ [type='image']
35
+ ),
36
+ textarea,
37
+ select,
38
+ [data-floe-input-surface]
39
+ ):focus:not(:disabled):not([aria-disabled='true']):not(
40
+ [data-floe-input-surface] :is(input, textarea, select)
41
+ ),
16
42
  [data-floe-input-surface]:focus-within:not(:disabled):not([aria-disabled='true']) {
17
43
  border-color: var(--floe-input-focus-color, var(--ring));
18
44
  }
@@ -34,3 +60,11 @@
34
60
  --floe-input-focus-color: Highlight;
35
61
  }
36
62
  }
63
+
64
+ /* The marked compound boundary owns focus for direct canvas text editors. */
65
+ [data-floe-input-surface] > [contenteditable] {
66
+ border: 0;
67
+ outline: none;
68
+ background: transparent;
69
+ box-shadow: none;
70
+ }