@nanahoshi/mona-ui 0.24.8 → 0.24.9

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 (81) hide show
  1. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +37 -9
  2. package/fesm2022/nanahoshi-mona-ui-button.mjs +8 -2
  3. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +4 -3
  4. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +101 -47
  5. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +339 -101
  6. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +119 -69
  7. package/fesm2022/nanahoshi-mona-ui-editor.mjs +2 -2
  8. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs} +2 -2
  9. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs → nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs} +4 -4
  10. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs → nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs} +2 -3
  11. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs} +4 -4
  12. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs} +9 -9
  13. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  14. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +4 -0
  15. package/fesm2022/nanahoshi-mona-ui-internal.mjs +438 -22
  16. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +4 -0
  17. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +4 -0
  18. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +4 -0
  19. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +4 -0
  20. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +4 -0
  21. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +4 -0
  22. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +4 -0
  23. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +4 -0
  24. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +4 -0
  25. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +4 -0
  26. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +4 -0
  27. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +4 -0
  28. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +4 -0
  29. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +127 -133
  30. package/fesm2022/nanahoshi-mona-ui-notification.mjs +473 -240
  31. package/fesm2022/nanahoshi-mona-ui-popover.mjs +202 -90
  32. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +609 -256
  33. package/fesm2022/nanahoshi-mona-ui-popup.mjs +2 -0
  34. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +45 -10
  35. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +102 -58
  36. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +286 -443
  37. package/fesm2022/nanahoshi-mona-ui-window.mjs +591 -310
  38. package/i18n/catalogs/en-US.messages.json +4 -0
  39. package/locales/ar-sa/ar-sa.messages.json +4 -0
  40. package/locales/de-de/de-de.messages.json +4 -0
  41. package/locales/es-es/es-es.messages.json +4 -0
  42. package/locales/fr-fr/fr-fr.messages.json +4 -0
  43. package/locales/id-id/id-id.messages.json +4 -0
  44. package/locales/it-it/it-it.messages.json +4 -0
  45. package/locales/ja-jp/ja-jp.messages.json +4 -0
  46. package/locales/ko-kr/ko-kr.messages.json +4 -0
  47. package/locales/pt-br/pt-br.messages.json +4 -0
  48. package/locales/ru-ru/ru-ru.messages.json +4 -0
  49. package/locales/tr-tr/tr-tr.messages.json +4 -0
  50. package/locales/zh-cn/zh-cn.messages.json +4 -0
  51. package/locales/zh-tw/zh-tw.messages.json +4 -0
  52. package/package.json +1 -1
  53. package/types/nanahoshi-mona-ui-button-group.d.ts +13 -3
  54. package/types/nanahoshi-mona-ui-button.d.ts +20 -3
  55. package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -6
  56. package/types/nanahoshi-mona-ui-dialog.d.ts +131 -20
  57. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +75 -56
  58. package/types/nanahoshi-mona-ui-i18n.d.ts +19 -0
  59. package/types/nanahoshi-mona-ui-internal.d.ts +119 -15
  60. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +4 -0
  61. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +4 -0
  62. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +4 -0
  63. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +4 -0
  64. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +4 -0
  65. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +4 -0
  66. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +4 -0
  67. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +4 -0
  68. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +4 -0
  69. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +4 -0
  70. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +4 -0
  71. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +4 -0
  72. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +4 -0
  73. package/types/nanahoshi-mona-ui-menubar.d.ts +65 -62
  74. package/types/nanahoshi-mona-ui-notification.d.ts +76 -16
  75. package/types/nanahoshi-mona-ui-popover.d.ts +44 -17
  76. package/types/nanahoshi-mona-ui-popup-menu.d.ts +110 -32
  77. package/types/nanahoshi-mona-ui-popup.d.ts +2 -0
  78. package/types/nanahoshi-mona-ui-sheet.d.ts +16 -5
  79. package/types/nanahoshi-mona-ui-split-button.d.ts +29 -7
  80. package/types/nanahoshi-mona-ui-tooltip.d.ts +43 -20
  81. package/types/nanahoshi-mona-ui-window.d.ts +103 -14
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ElementRef, Signal, DestroyRef } from '@angular/core';
3
+ import { OverlayRef, ConnectionPositionPair } from '@angular/cdk/overlay';
3
4
  import { Observable } from 'rxjs';
4
- import { OverlayRef } from '@angular/cdk/overlay';
5
5
 
6
6
  type AttributeConfig = Record<string, unknown>;
7
7
 
@@ -70,6 +70,15 @@ declare const string2rgba: (rgbText: string) => RGBA;
70
70
 
71
71
  type Action<P = void, R = void> = (arg: P) => R;
72
72
 
73
+ /**
74
+ * Adds `id` to an id-list attribute such as `aria-describedby`, keeping the ids already there.
75
+ */
76
+ declare const addAriaReference: (element: Element, attribute: string, id: string) => void;
77
+ /**
78
+ * Removes `id` from an id-list attribute, and the attribute itself once it holds no ids.
79
+ */
80
+ declare const removeAriaReference: (element: Element, attribute: string, id: string) => void;
81
+
73
82
  /**
74
83
  * Generates a unique control ID for an element.
75
84
  * The ID consists of the `mona-` prefix followed by a random hexadecimal string.
@@ -90,6 +99,16 @@ declare function focusCanReturn(document: Document, ...containers: ReadonlyArray
90
99
 
91
100
  declare function focusElement(host: HTMLElement, element: HTMLElement | ElementRef<HTMLElement> | string): void;
92
101
 
102
+ /**
103
+ * Makes everything outside a modal overlay inert, so assistive technology, the pointer and Tab can't reach the page
104
+ * behind it. Walking up from `element` to `<body>`, every sibling is made inert, except that inside the CDK overlay
105
+ * container only the overlays opened before this one are: popups opened later (a dropdown inside the dialog) stay
106
+ * usable. Elements that were inert already are left as they are.
107
+ * @param element the overlay's host element (the CDK overlay wrapper)
108
+ * @returns the function that releases what this call made inert
109
+ */
110
+ declare const inertOutside: (element: Element) => (() => void);
111
+
93
112
  /**
94
113
  * The text of the elements an `aria-labelledby` value points to, joined with spaces, for names built from a
95
114
  * component's name ("Filter {name}"). It's read after every render, so it follows the labelling elements' text.
@@ -98,6 +117,19 @@ declare function focusElement(host: HTMLElement, element: HTMLElement | ElementR
98
117
  */
99
118
  declare function injectLabelledByText(ids: () => string): Signal<string>;
100
119
 
120
+ interface GlobalOverlayPosition {
121
+ /** Distance from the viewport's left edge in pixels; centered horizontally when omitted. Physical in RTL too. */
122
+ readonly left?: number | null;
123
+ /** Distance from the viewport's top edge in pixels; centered vertically when omitted. */
124
+ readonly top?: number | null;
125
+ }
126
+ /**
127
+ * Places a global overlay through its position strategy, so later `updatePosition()` calls (a direction change, a
128
+ * resize) keep it where it is instead of resetting inline styles. Each axis is independent: a `top` alone keeps the
129
+ * overlay centered horizontally. Centering follows the overlay's size as it grows or shrinks.
130
+ */
131
+ declare const positionGlobalOverlay: (overlayRef: OverlayRef, position: GlobalOverlayPosition) => void;
132
+
101
133
  declare const rxFromResize: (target: Element | Iterable<Element>, options?: ResizeObserverOptions) => Observable<ResizeObserverEntry[]>;
102
134
 
103
135
  declare const rxTimeout: (destroyRef: DestroyRef, fn: Action, delay?: number) => void;
@@ -113,18 +145,90 @@ declare const themeRaisedSurfaceClasses = "\n [background-color:var(--mona-ef
113
145
  declare const themeOverlayBackdropClasses = "\n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n";
114
146
  declare const themeOverlaySurfaceClasses = "\n [background-color:var(--mona-effect-overlay-background-color,var(--color-surface-overlay))]\n \n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n\n";
115
147
 
116
- declare const restoreOverlayScroll: (overlayRef: OverlayRef, element: HTMLElement) => void;
117
-
118
- interface WindowStyleSettings {
119
- left?: number;
120
- maxHeight?: number;
121
- maxWidth?: number;
122
- minHeight?: number;
123
- minWidth?: number;
124
- top?: number;
125
- windowClass?: string | string[];
148
+ /**
149
+ * How long a popup opened by hovering waits after the pointer leaves its anchor, so the pointer can cross the gap
150
+ * onto the popup and stay there (WCAG 1.4.13, Content on Hover or Focus).
151
+ */
152
+ declare const HOVER_GRACE = 100;
153
+ /** What made an anchor active: the pointer resting on it, or focus inside it. */
154
+ type HoverSource = "focus" | "pointer";
155
+ interface HoverIntentConfig {
156
+ /** Closes the open popup. */
157
+ readonly hide: () => void;
158
+ /** Read each time a hide is scheduled, in milliseconds. */
159
+ readonly hideDelay: () => number;
160
+ /** Opens the popup for `anchor`; report it with `opened()` once it exists. */
161
+ readonly show: (anchor: HTMLElement) => void;
162
+ /** Read each time a show is scheduled, in milliseconds. */
163
+ readonly showDelay: () => number;
164
+ }
165
+ /**
166
+ * When to show and hide a popup that follows the pointer and focus, shared by the tooltip and the hover popover.
167
+ *
168
+ * - A show waits for `showDelay`, and leaving the anchor first cancels it.
169
+ * - The popup stays while the pointer is on the anchor or on the popup, or focus is on the anchor. Leaving waits for
170
+ * `hideDelay` (at least {@link HOVER_GRACE} for the pointer), and coming back cancels the hide.
171
+ * - Moving to another anchor replaces the popup.
172
+ * - After a dismissal (Escape), the popup stays closed until the pointer and focus have left that anchor.
173
+ */
174
+ declare class HoverIntent {
175
+ #private;
176
+ constructor(config: HoverIntentConfig);
177
+ /**
178
+ * Reports that the popup for `anchor` started closing for a reason of its own (Escape, an outside click, being
179
+ * disabled). With `dismissed`, it stays closed until the pointer and focus have left the anchor.
180
+ */
181
+ closed(anchor: HTMLElement, dismissed?: boolean): void;
182
+ /** Stops every timer and forgets every anchor, without closing anything. */
183
+ dispose(): void;
184
+ /** The pointer moved onto `anchor`, or focus moved into it. */
185
+ enter(anchor: HTMLElement, source: HoverSource): void;
186
+ /** Hides the popup now, as leaving would, and cancels a pending show. */
187
+ hideNow(): void;
188
+ /** The pointer left `anchor`, or focus left it. */
189
+ leave(anchor: HTMLElement, source: HoverSource): void;
190
+ /**
191
+ * Reports that the popup for `anchor` is open. While the pointer is on `panel`, the popup stays.
192
+ */
193
+ opened(anchor: HTMLElement, panel: HTMLElement | null): void;
194
+ /** The anchor whose popup is open, if any. */
195
+ get anchor(): HTMLElement | null;
126
196
  }
127
- declare const setWindowStyles: (element: HTMLElement, settings: WindowStyleSettings) => void;
197
+ /**
198
+ * Feeds a {@link HoverIntent} from pointer and focus events delegated on `root`, so anchors added, removed or
199
+ * re-rendered later need no listeners of their own. Touch pointers are ignored: a tap that focuses the anchor shows
200
+ * the popup through focus instead, and it isn't hidden again by the pointer leaving after the tap.
201
+ * @param resolve the anchor an event target belongs to, or `null`
202
+ * @returns the function that removes the listeners
203
+ */
204
+ declare const listenForHover: (root: Document | HTMLElement, resolve: (node: Element) => HTMLElement | null, intent: HoverIntent) => (() => void);
205
+ /**
206
+ * Calls `callback` once `element` leaves the document, for a popup that would otherwise stay anchored to nothing.
207
+ * @returns the function that stops watching
208
+ */
209
+ declare const onDisconnect: (element: Element, callback: () => void) => (() => void);
210
+
211
+ /**
212
+ * The side of its anchor a tooltip or popover opens on. `left` and `right` are physical in every direction; `start`
213
+ * and `end` follow the text direction.
214
+ */
215
+ type OverlaySide = "bottom" | "end" | "left" | "right" | "start" | "top";
216
+ /** A side resolved against the text direction. */
217
+ type PhysicalOverlaySide = "bottom" | "left" | "right" | "top";
218
+ declare const resolveOverlaySide: (side: OverlaySide, direction: "ltr" | "rtl") => PhysicalOverlaySide;
219
+ /**
220
+ * Positions for a popup centered on `side` of its anchor, flipping to the opposite side when it doesn't fit. Each
221
+ * position carries its own offset, so the gap stays between the popup and its anchor after a flip.
222
+ * @param gap the distance between the anchor and the popup, in pixels
223
+ * @param direction the overlay's direction
224
+ */
225
+ declare const overlaySidePositions: (side: PhysicalOverlaySide, gap: number, direction: "ltr" | "rtl") => ConnectionPositionPair[];
226
+ /**
227
+ * The physical side of its anchor a popup ended up on, from the position the overlay chose.
228
+ */
229
+ declare const sideOfPosition: (position: Pick<ConnectionPositionPair, "originY" | "overlayX" | "overlayY">, direction: "ltr" | "rtl") => PhysicalOverlaySide;
230
+
231
+ declare const restoreOverlayScroll: (overlayRef: OverlayRef, element: HTMLElement) => void;
128
232
 
129
233
  /**
130
234
  * Converts a number or a string into a CSS-compliant value.
@@ -150,7 +254,7 @@ declare enum NavigationKeys {
150
254
  PageUp = "PageUp",
151
255
  Space = " "
152
256
  }
153
- declare const NavigationKeysList: string[];
257
+ declare const NavigationKeysList: readonly string[];
154
258
  declare const isNavigationKey: (key: string) => boolean;
155
259
 
156
260
  /**
@@ -171,5 +275,5 @@ declare const isTypeaheadKey: (key: string, modifiers?: TypeaheadModifiers) => b
171
275
  declare const TYPEAHEAD_RESET_DELAY = 200;
172
276
  declare const setupTypeahead: (typeaheadKey$: Observable<string>) => Observable<string>;
173
277
 
174
- export { AttributeBinderDirective, NavigationKeys, NavigationKeysList, TYPEAHEAD_RESET_DELAY, createElementControlId, focusCanReturn, focusElement, hex2rgba, hsla2hsva, hsva2rgba, injectLabelledByText, isNavigationKey, isTypeaheadKey, isValidHex, isValidHsla, isValidRgb, restoreOverlayScroll, rgba2hex, rgba2hsla, rgba2hsva, rxFromResize, rxTimeout, setWindowStyles, setupTypeahead, string2Hsla, string2rgba, themeControlBackdropClasses, themeControlSurfaceClasses, themeOverlayBackdropClasses, themeOverlaySurfaceClasses, themeRaisedBackdropClasses, themeRaisedSurfaceClasses, toCssValue };
175
- export type { Action, AttributeConfig, Channel, ColorScheme, HSL, HSLA, HSV, HSVA, HSVChannel, RGB, RGBA, RGBAChannel, RGBChannel, TypeaheadModifiers, VariantInputs, WindowStyleSettings };
278
+ export { AttributeBinderDirective, HOVER_GRACE, HoverIntent, NavigationKeys, NavigationKeysList, TYPEAHEAD_RESET_DELAY, addAriaReference, createElementControlId, focusCanReturn, focusElement, hex2rgba, hsla2hsva, hsva2rgba, inertOutside, injectLabelledByText, isNavigationKey, isTypeaheadKey, isValidHex, isValidHsla, isValidRgb, listenForHover, onDisconnect, overlaySidePositions, positionGlobalOverlay, removeAriaReference, resolveOverlaySide, restoreOverlayScroll, rgba2hex, rgba2hsla, rgba2hsva, rxFromResize, rxTimeout, setupTypeahead, sideOfPosition, string2Hsla, string2rgba, themeControlBackdropClasses, themeControlSurfaceClasses, themeOverlayBackdropClasses, themeOverlaySurfaceClasses, themeRaisedBackdropClasses, themeRaisedSurfaceClasses, toCssValue };
279
+ export type { Action, AttributeConfig, Channel, ColorScheme, GlobalOverlayPosition, HSL, HSLA, HSV, HSVA, HSVChannel, HoverIntentConfig, HoverSource, OverlaySide, PhysicalOverlaySide, RGB, RGBA, RGBAChannel, RGBChannel, TypeaheadModifiers, VariantInputs };
@@ -293,6 +293,7 @@ declare const MONA_AR_SA_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_AR_SA_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_AR_SA_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_AR_SA_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_DE_DE_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_DE_DE_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_DE_DE_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_DE_DE_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_ES_ES_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_ES_ES_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_ES_ES_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_ES_ES_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_FR_FR_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_FR_FR_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_FR_FR_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_FR_FR_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_ID_ID_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_ID_ID_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_ID_ID_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_ID_ID_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_IT_IT_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_IT_IT_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_IT_IT_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_IT_IT_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_JA_JP_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_JA_JP_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_JA_JP_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_JA_JP_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_KO_KR_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_KO_KR_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_KO_KR_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_KO_KR_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_PT_BR_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_PT_BR_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_PT_BR_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_PT_BR_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_RU_RU_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_RU_RU_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_RU_RU_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_RU_RU_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_TR_TR_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_TR_TR_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_TR_TR_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_TR_TR_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_ZH_CN_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_ZH_CN_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_ZH_CN_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_ZH_CN_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };
@@ -293,6 +293,7 @@ declare const MONA_ZH_TW_LOCALE: {
293
293
  close: string;
294
294
  error: string;
295
295
  info: string;
296
+ region: string;
296
297
  success: string;
297
298
  warning: string;
298
299
  };
@@ -350,6 +351,7 @@ declare const MONA_ZH_TW_LOCALE: {
350
351
  };
351
352
  splitButton: {
352
353
  menuButtonAriaLabel: string;
354
+ menuButtonWithText: (text: string) => string;
353
355
  splitButton: (text: string) => string;
354
356
  };
355
357
  splitter: {
@@ -410,6 +412,7 @@ declare const MONA_ZH_TW_LOCALE: {
410
412
  closeWindow: string;
411
413
  maximize: string;
412
414
  minimize: string;
415
+ moveOrResizeWindow: string;
413
416
  moveWindow: string;
414
417
  resizeBottom: string;
415
418
  resizeBottomLeft: string;
@@ -419,6 +422,7 @@ declare const MONA_ZH_TW_LOCALE: {
419
422
  resizeTop: string;
420
423
  resizeTopLeft: string;
421
424
  resizeTopRight: string;
425
+ resizeWindow: string;
422
426
  restore: string;
423
427
  };
424
428
  };