@openleaf-editor/ui 0.1.0-beta.2 → 0.1.0-beta.3

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 (78) hide show
  1. package/README.md +85 -0
  2. package/dist/block-type.d.ts +5 -0
  3. package/dist/block-type.d.ts.map +1 -0
  4. package/dist/block-type.js +133 -0
  5. package/dist/block-type.js.map +1 -0
  6. package/dist/content-css.d.ts +18 -0
  7. package/dist/content-css.d.ts.map +1 -1
  8. package/dist/content-css.js +231 -16
  9. package/dist/content-css.js.map +1 -1
  10. package/dist/css.d.ts +23 -0
  11. package/dist/css.d.ts.map +1 -0
  12. package/dist/css.js +813 -0
  13. package/dist/css.js.map +1 -0
  14. package/dist/dialog.d.ts +93 -0
  15. package/dist/dialog.d.ts.map +1 -1
  16. package/dist/dialog.js +414 -86
  17. package/dist/dialog.js.map +1 -1
  18. package/dist/floating.d.ts +4 -0
  19. package/dist/floating.d.ts.map +1 -1
  20. package/dist/floating.js +50 -2
  21. package/dist/floating.js.map +1 -1
  22. package/dist/help.d.ts +1 -1
  23. package/dist/help.d.ts.map +1 -1
  24. package/dist/help.js +29 -5
  25. package/dist/help.js.map +1 -1
  26. package/dist/i18n.d.ts +8 -0
  27. package/dist/i18n.d.ts.map +1 -1
  28. package/dist/i18n.js +32 -7
  29. package/dist/i18n.js.map +1 -1
  30. package/dist/icons.d.ts +7 -1
  31. package/dist/icons.d.ts.map +1 -1
  32. package/dist/icons.js +6 -2
  33. package/dist/icons.js.map +1 -1
  34. package/dist/index.d.ts +10 -8
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +8 -6
  37. package/dist/index.js.map +1 -1
  38. package/dist/items.d.ts +0 -1
  39. package/dist/items.d.ts.map +1 -1
  40. package/dist/items.js +226 -20
  41. package/dist/items.js.map +1 -1
  42. package/dist/live.d.ts +42 -0
  43. package/dist/live.d.ts.map +1 -0
  44. package/dist/live.js +83 -0
  45. package/dist/live.js.map +1 -0
  46. package/dist/menu.d.ts +31 -2
  47. package/dist/menu.d.ts.map +1 -1
  48. package/dist/menu.js +163 -23
  49. package/dist/menu.js.map +1 -1
  50. package/dist/openleaf.css +114 -12
  51. package/dist/overflow.d.ts +31 -4
  52. package/dist/overflow.d.ts.map +1 -1
  53. package/dist/overflow.js +267 -82
  54. package/dist/overflow.js.map +1 -1
  55. package/dist/registry.d.ts +72 -18
  56. package/dist/registry.d.ts.map +1 -1
  57. package/dist/registry.js +7 -6
  58. package/dist/registry.js.map +1 -1
  59. package/dist/skins.d.ts.map +1 -1
  60. package/dist/skins.js +48 -14
  61. package/dist/skins.js.map +1 -1
  62. package/dist/styles.d.ts +61 -1
  63. package/dist/styles.d.ts.map +1 -1
  64. package/dist/styles.js +77 -637
  65. package/dist/styles.js.map +1 -1
  66. package/dist/testing.d.ts +3 -0
  67. package/dist/testing.d.ts.map +1 -0
  68. package/dist/testing.js +3 -0
  69. package/dist/testing.js.map +1 -0
  70. package/dist/toolbar.d.ts +71 -12
  71. package/dist/toolbar.d.ts.map +1 -1
  72. package/dist/toolbar.js +410 -166
  73. package/dist/toolbar.js.map +1 -1
  74. package/dist/upload.d.ts +11 -0
  75. package/dist/upload.d.ts.map +1 -1
  76. package/dist/upload.js +15 -1
  77. package/dist/upload.js.map +1 -1
  78. package/package.json +17 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","sourceRoot":"","sources":["../src/css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;;;;;;;GAOG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,MAAM,WAAW,GAAG;;;;;;;;;;;CAWnB,CAAA;AAED,MAAM,CAAC,MAAM,GAAG,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAiDgD,WAAW;;;0DAGpB,WAAW;;qCAEhC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkpB/C,CAAA"}
package/dist/dialog.d.ts CHANGED
@@ -25,6 +25,7 @@ export interface LinkResult {
25
25
  title: string | null;
26
26
  target: string | null;
27
27
  rel: string | null;
28
+ id: string | null;
28
29
  }
29
30
  export interface ImageResult {
30
31
  src: string;
@@ -64,6 +65,32 @@ export interface FieldSpec {
64
65
  */
65
66
  fills?: string;
66
67
  }
68
+ /**
69
+ * A commit failure.
70
+ *
71
+ * `field` names the control the message is about, when there is one. Without it
72
+ * a failed submit could only mark the FIRST field invalid and focus it, which is
73
+ * a guess -- and a wrong `aria-invalid` is worse for a screen reader user than
74
+ * none, because it sends them to correct a field that was already right.
75
+ */
76
+ export interface CommitError {
77
+ error: string;
78
+ field?: string;
79
+ }
80
+ /**
81
+ * Install the dialog sheet.
82
+ *
83
+ * Delegates to `registerStyles` rather than repeating the constructable-sheet
84
+ * dance, which also removes this file's `<style>`-element fallback. That
85
+ * fallback contradicted the invariant argued at the top of `styles.ts`: a
86
+ * `<style>` element is blocked by exactly the `style-src 'self'` policies that
87
+ * would need it, and it fails silently. `registerStyles` warns instead, once,
88
+ * naming the stylesheet to link.
89
+ *
90
+ * It also deduplicates per *document* by the CSS text, where the flag this used
91
+ * to keep was module-global -- so a second document (an iframe, a print view)
92
+ * previously got the dialog markup with none of its styles.
93
+ */
67
94
  export declare function ensureDialogStyles(doc: Document): void;
68
95
  export interface PromptFormOptions {
69
96
  extraCheckbox?: {
@@ -74,6 +101,14 @@ export interface PromptFormOptions {
74
101
  };
75
102
  note?: string;
76
103
  busyLabel?: string;
104
+ /** The editor's own `lang`, so two editors on a page do not share a language. */
105
+ locale?: string | null;
106
+ /**
107
+ * The editor the dialog belongs to. Pass it: the dialog is mounted inside
108
+ * this element so the skin's tokens reach it, and without it the dialog is
109
+ * painted in the default light palette whatever the editor looks like.
110
+ */
111
+ host?: HTMLElement;
77
112
  }
78
113
  /**
79
114
  * A generic modal form, used by table property dialogs and anything else that
@@ -92,6 +127,8 @@ export declare function promptForLink(doc: Document, existing?: {
92
127
  href?: string;
93
128
  title?: string | null;
94
129
  target?: string | null;
130
+ rel?: string | null;
131
+ id?: string | null;
95
132
  }, host?: HTMLElement): Promise<LinkResult | null>;
96
133
  export interface ImagePromptOptions {
97
134
  file?: File;
@@ -104,7 +141,63 @@ export interface ImagePromptOptions {
104
141
  className?: string | null;
105
142
  align?: 'left' | 'right' | 'center' | null;
106
143
  caption?: string | null;
144
+ width?: string | null;
145
+ height?: string | null;
107
146
  };
108
147
  }
109
148
  export declare function promptForImage(doc: Document, options?: ImagePromptOptions): Promise<ImageResult | null>;
149
+ /** One alternative address the author gave the player. */
150
+ export interface MediaSourceResult {
151
+ src: string;
152
+ type: string | null;
153
+ }
154
+ export interface MediaResult {
155
+ /** Empty when the player carries all its addresses in `sources`. */
156
+ src: string;
157
+ title: string | null;
158
+ poster: string | null;
159
+ width: string | null;
160
+ height: string | null;
161
+ sources: MediaSourceResult[];
162
+ }
163
+ export interface MediaPromptOptions {
164
+ host?: HTMLElement;
165
+ /** Prefilled state, when editing a player already in the document. */
166
+ existing?: {
167
+ /**
168
+ * What the selected node is. An `<iframe>` accepts only the addresses the
169
+ * embed allowlist permits, and the form has to say so itself: the update
170
+ * command declines anything else, and by then this dialog has closed, so a
171
+ * rejected address looked like a save that did nothing.
172
+ */
173
+ kind?: 'video' | 'audio' | 'iframe';
174
+ src?: string | null;
175
+ title?: string | null;
176
+ poster?: string | null;
177
+ width?: string | null;
178
+ height?: string | null;
179
+ sources?: readonly MediaSourceResult[];
180
+ };
181
+ }
182
+ /**
183
+ * The insert-media dialog.
184
+ *
185
+ * Two spare alternative-source rows, because that is the shape the format is
186
+ * actually used in: a `<video>` with a `.webm` and an `.mp4` covers every
187
+ * current browser, and offering a single alternative makes the common case the
188
+ * one the author has to work around. Not a growable list with add and remove
189
+ * controls, which would owe keyboard semantics and a reordering story.
190
+ *
191
+ * But the rows are spare capacity *on top of* what the player already has, never
192
+ * a cap on it. A fixed two rows silently deleted the third and later encodings
193
+ * of any player that had them, on a save the author made to change the title --
194
+ * because what this form returns is what replaces the stored sources. Every
195
+ * existing source gets a row, so the form cannot lose one it was never shown.
196
+ *
197
+ * The type hints are separate fields rather than guessed from the extension. A
198
+ * guess is wrong for exactly the addresses that need it -- a signed URL, or a
199
+ * stream with no extension at all -- and being wrong here means the browser
200
+ * downloads a format it cannot play before finding out.
201
+ */
202
+ export declare function promptForMedia(doc: Document, options?: MediaPromptOptions): Promise<MediaResult | null>;
110
203
  //# sourceMappingURL=dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,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