@revolist/ui 4.0.4-rc → 4.0.6-rc

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 (240) hide show
  1. package/MIGRATION.md +36 -0
  2. package/OWNERSHIP.md +10 -10
  3. package/README.md +22 -4
  4. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  5. package/_chunks/badge.view-D30pMUfi.js +14 -0
  6. package/_chunks/calculator-CDWOuAcp.js +4 -0
  7. package/_chunks/{calendar-xpZ0v3xf.js → calendar-QWDyYzdo.js} +19 -19
  8. package/_chunks/chart-frame-hcOlnQ1K.js +145 -0
  9. package/_chunks/check-BwI7iCAm.js +4 -0
  10. package/_chunks/choice-chips-A6WR-WJe.js +126 -0
  11. package/_chunks/{color-palette-D8vyPfld.js → color-palette-DMJUChWC.js} +20 -22
  12. package/_chunks/color-picker-BK4W1nd6.js +143 -0
  13. package/_chunks/{component-C_T2VN5u.js → component-CMkF17YZ.js} +281 -265
  14. package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-BKd7U8OW.js} +0 -8
  15. package/_chunks/configurator-actions-By8WSL2m.js +155 -0
  16. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  17. package/_chunks/{control-AHKXD5Eu.js → control-mlH7l0Uq.js} +42 -17
  18. package/_chunks/{controls-DsNi8V8I.js → controls-FUU-MUKC.js} +171 -186
  19. package/_chunks/{date-control-DrVFX13g.js → date-control-Dup_P3w5.js} +1 -1
  20. package/_chunks/{date-time-qIhp5vaX.js → date-time-9z6pAG5T.js} +317 -278
  21. package/_chunks/dialog.parts-Bi7YbXqS.js +131 -0
  22. package/_chunks/{duration-CL68Em0o.js → duration-D7oRjsmP.js} +5 -5
  23. package/_chunks/editor-popup-ByU7qiub.js +82 -0
  24. package/_chunks/field-configurator-BCINdXpU.js +223 -0
  25. package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-Bk4O_T7T.js} +1 -1
  26. package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
  27. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  28. package/_chunks/minus-BOAR3A1C.js +4 -0
  29. package/_chunks/mount-Cw2zk58T.js +266 -0
  30. package/_chunks/{native.view-ByyZ1CT5.js → native-Blr3byjO.js} +1 -1
  31. package/_chunks/native-control-pFMuHf3G.js +644 -0
  32. package/_chunks/{number-input-BKwA5FnM.js → number-input-DqXV6vgP.js} +7 -7
  33. package/_chunks/{picker-h1P5RUgp.js → picker-gEGTu1Ki.js} +2 -2
  34. package/_chunks/plus-CbGRkIGl.js +4 -0
  35. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  36. package/_chunks/{popup-CT2uD3go.js → popup-C35Isk7p.js} +115 -104
  37. package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-DbxdUJr-.js} +1 -1
  38. package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-B0_13Sja.js} +1 -1
  39. package/_chunks/request-trail-CCSK6TJA.js +753 -0
  40. package/_chunks/rich-text-5rnc8lpI.js +842 -0
  41. package/_chunks/rotate-left-BF6G883o.js +4 -0
  42. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  43. package/_chunks/tooltip-D4xkio5G.js +54 -0
  44. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  45. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  46. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  47. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  48. package/_variables.scss +33 -32
  49. package/ai/_chat.scss +28 -3
  50. package/ai/_style.scss +55 -2
  51. package/ai/chat.d.ts +3 -1
  52. package/ai/components.d.ts +13 -2
  53. package/ai/index.d.ts +1 -0
  54. package/ai/index.js +3 -3
  55. package/ai/mount.d.ts +17 -1
  56. package/ai/results/_style.scss +83 -0
  57. package/ai/results/index.d.ts +11 -0
  58. package/ai/results/metrics.d.ts +5 -0
  59. package/ai/results/table.d.ts +5 -0
  60. package/ai/results/text.d.ts +5 -0
  61. package/ai/results/types.d.ts +29 -0
  62. package/ai/transcript.d.ts +2 -0
  63. package/ai/translations.d.ts +1 -1
  64. package/assignee/assignee.scss +5 -1
  65. package/assignee/index.js +2 -2
  66. package/avatar/index.d.ts +25 -2
  67. package/avatar/index.js +33 -32
  68. package/badge.view.d.ts +8 -0
  69. package/brush-range/component.d.ts +1 -3
  70. package/brush-range/component.js +27 -27
  71. package/buttons/remove-button.d.ts +1 -1
  72. package/buttons/remove-button.style.scss +1 -1
  73. package/buttons/svg-button.d.ts +1 -1
  74. package/buttons/svg-button.js +16 -16
  75. package/calendar/_calendar.scss +2 -2
  76. package/calendar/calendar.js +1 -1
  77. package/calendar/index.js +2 -2
  78. package/checkbox/checkbox.scss +1 -22
  79. package/choice-chips/index.d.ts +3 -1
  80. package/choice-chips/index.js +1 -1
  81. package/color-palette/color-palette.js +1 -1
  82. package/color-palette/color-palette.style.scss +1 -1
  83. package/color-palette/color-picker.js +2 -2
  84. package/color-palette/common-palettes.d.ts +1 -1
  85. package/color-palette/common-palettes.js +1 -1
  86. package/color-palette/native.d.ts +15 -2
  87. package/component-catalog.d.ts +9 -7
  88. package/configurator-actions.d.ts +67 -0
  89. package/configurator-actions.js +1 -0
  90. package/configurator-aggregation-list.d.ts +14 -0
  91. package/configurator-aggregation-list.js +61 -0
  92. package/configurator-drop-zone.d.ts +38 -0
  93. package/configurator-drop-zone.js +64 -0
  94. package/configurator-field-icon.d.ts +10 -0
  95. package/configurator-field-icon.js +1 -0
  96. package/configurator-focus.d.ts +4 -0
  97. package/configurator-focus.js +39 -0
  98. package/configurator-sections.d.ts +42 -0
  99. package/configurator-sections.js +71 -0
  100. package/control-presentation.d.ts +8 -2
  101. package/control-presentation.js +25 -20
  102. package/controls.d.ts +1 -2
  103. package/controls.js +4 -3
  104. package/core/editor-popup-position.d.ts +6 -2
  105. package/core/editor-popup.d.ts +4 -0
  106. package/core/editor-popup.js +1 -1
  107. package/core/popover-controller.d.ts +35 -0
  108. package/core/popup-ownership.d.ts +2 -0
  109. package/core/title-tooltip.d.ts +2 -0
  110. package/core/tooltip-session.d.ts +29 -0
  111. package/core/tooltip-surface.d.ts +13 -0
  112. package/core/tooltip-text.d.ts +6 -0
  113. package/core/tooltip.d.ts +35 -0
  114. package/core/top-layer-popup.d.ts +4 -0
  115. package/core/top-layer-popup.js +1 -23
  116. package/date-time/attach.d.ts +1 -1
  117. package/date-time/field.d.ts +3 -2
  118. package/date-time/index.js +1 -1
  119. package/date-time/style.scss +64 -7
  120. package/date-time/time-selection.d.ts +3 -1
  121. package/date-time/types.d.ts +5 -1
  122. package/dialog/dialog-action-footer.d.ts +17 -2
  123. package/dialog/dialog.dom.d.ts +15 -2
  124. package/dialog/dialog.dom.js +9 -9
  125. package/dialog/dialog.parts.d.ts +1 -1
  126. package/dialog/dialog.parts.js +1 -1
  127. package/distribution-chart/_distribution-chart.scss +12 -54
  128. package/distribution-chart/area-chart.js +1 -1
  129. package/distribution-chart/bar-chart.js +1 -1
  130. package/distribution-chart/index.d.ts +1 -1
  131. package/distribution-chart/line-chart.js +1 -1
  132. package/dropdown/content.js +1 -1
  133. package/dropdown/control.js +1 -1
  134. package/dropdown/editor-dropdown.style.scss +5 -0
  135. package/dropdown/index.js +2 -2
  136. package/dropdown/lookup-field.d.ts +5 -0
  137. package/dropdown/lookup-field.js +2 -1
  138. package/dropdown/popup.d.ts +2 -2
  139. package/dropdown/popup.js +1 -1
  140. package/duration/index.js +1 -1
  141. package/editor-actions.js +1 -1
  142. package/field-configurator.d.ts +27 -0
  143. package/field-configurator.js +4 -170
  144. package/field-expansion.d.ts +9 -0
  145. package/filter/filters/slider/_slider.scss +8 -25
  146. package/filter/filters/slider/control.js +2 -0
  147. package/filter/filters/slider/runtime.js +49 -22
  148. package/filter/filters/slider/single.js +1 -1
  149. package/filter-badge.js +1 -1
  150. package/filter-controls.d.ts +0 -1
  151. package/filter-controls.js +5 -6
  152. package/form-controls/index.d.ts +10 -2
  153. package/form-controls/index.js +7 -7
  154. package/form-controls/presentation.js +12 -12
  155. package/formatting/index.d.ts +1 -1
  156. package/formatting/index.js +22 -21
  157. package/formatting/styles.scss +2 -47
  158. package/framework.js +226 -222
  159. package/history-controls.js +27 -1
  160. package/icon-toolbar.d.ts +62 -0
  161. package/icon-toolbar.js +1 -0
  162. package/masked-input/index.js +1 -1
  163. package/native-control.d.ts +1 -2
  164. package/native-control.js +1 -1
  165. package/native-controls.d.ts +54 -2
  166. package/native-styles.css +1 -1
  167. package/native.js +46 -43
  168. package/number-input/index.js +1 -1
  169. package/package.json +36 -1
  170. package/pagination.js +11 -11
  171. package/pdf-viewer/index.js +1 -1
  172. package/pickers.d.ts +5 -1
  173. package/preact-mount.js +1 -1
  174. package/preact.d.ts +8 -6
  175. package/preact.js +71 -64
  176. package/rating-choice.js +1 -1
  177. package/react-control.d.ts +2 -0
  178. package/react-control.js +2 -2
  179. package/react.d.ts +5 -6
  180. package/react.js +68 -66
  181. package/reorder-list.js +1 -1
  182. package/resource-picker/resource-picker-popup.js +1 -1
  183. package/resource-picker/resource-picker.js +4 -4
  184. package/rich-text/engine.d.ts +1 -0
  185. package/rich-text/format-html.d.ts +2 -0
  186. package/rich-text/index.d.ts +4 -0
  187. package/rich-text/index.js +1 -1
  188. package/rich-text/model.d.ts +2 -0
  189. package/rich-text/style.scss +165 -70
  190. package/rich-text/syntax.d.ts +5 -0
  191. package/rich-text/translations.d.ts +2 -0
  192. package/search-input/index.js +1 -1
  193. package/search-input/native.d.ts +21 -2
  194. package/select.d.ts +3 -1
  195. package/select.js +1 -1
  196. package/status-feedback/exit-snapshot.js +4 -4
  197. package/status-feedback/popover.js +4 -4
  198. package/styles/_alert.scss +18 -4
  199. package/styles/_compositions.scss +3 -3
  200. package/styles/_editor-slider.scss +0 -2
  201. package/styles/_field-configurator.scss +147 -0
  202. package/styles/_fields-grid.scss +37 -0
  203. package/styles/_palette.scss +0 -24
  204. package/styles/_primitives.scss +28 -19
  205. package/styles/configurator-actions.scss +141 -0
  206. package/styles/{legacy-pagination.css → pagination.css} +19 -2
  207. package/styles.css +1 -1
  208. package/styles.scss +2 -2
  209. package/surfaces.d.ts +36 -2
  210. package/surfaces.js +35 -132
  211. package/svelte.js +3 -3
  212. package/switch/index.js +15 -14
  213. package/time-grid.d.ts +0 -1
  214. package/time-grid.js +38 -37
  215. package/timeline-track/index.js +2 -2
  216. package/ui.css +1 -1
  217. package/vue.d.ts +26 -30
  218. package/vue.js +117 -121
  219. package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
  220. package/_chunks/choice-chips-CHQTUdLs.js +0 -110
  221. package/_chunks/color-picker-CudqPYZo.js +0 -138
  222. package/_chunks/control-tooltip-uscKfAnV.js +0 -100
  223. package/_chunks/dialog.parts-CKGkC5zP.js +0 -134
  224. package/_chunks/editor-popup-WDdtVDNA.js +0 -81
  225. package/_chunks/history-controls-B3u3INEK.js +0 -27
  226. package/_chunks/mount-DQ1cpppK.js +0 -257
  227. package/_chunks/native-control-C_yok8_-.js +0 -605
  228. package/_chunks/request-trail-DSlFix6i.js +0 -618
  229. package/_chunks/rich-text-CH7gIqOS.js +0 -636
  230. package/avatar/index.view.d.ts +0 -25
  231. package/color-palette/native.view.d.ts +0 -15
  232. package/control-presentation.view.d.ts +0 -8
  233. package/dialog/dialog-action-footer.view.d.ts +0 -20
  234. package/dialog/dialog.dom.view.d.ts +0 -15
  235. package/form-controls/index.view.d.ts +0 -10
  236. package/formatting/control-tooltip.d.ts +0 -27
  237. package/native-controls.view.d.ts +0 -54
  238. package/search-input/native.view.d.ts +0 -21
  239. package/surfaces.view.d.ts +0 -63
  240. /package/styles/{legacy-rating.css → rating.css} +0 -0
@@ -1,15 +0,0 @@
1
- export interface NativeColorPickerProps {
2
- label: string;
3
- value?: string;
4
- disabled?: boolean;
5
- optional?: boolean;
6
- defaultLabel: string;
7
- customLabel: string;
8
- invalidColor?: string;
9
- colorLabels: Readonly<Record<string, string>>;
10
- onChange(value: string | undefined): void;
11
- }
12
- /** Compatibility mount API; palette markup and interaction belong to ColorPicker. */
13
- export declare function mountColorPicker(host: HTMLElement, props: NativeColorPickerProps): {
14
- destroy(): void;
15
- };
@@ -1,8 +0,0 @@
1
- import { ControlTag, ControlAttributes } from './control-attributes';
2
- export * from './control-attributes';
3
- export declare function renderControl<H extends (...args: any[]) => any>(h: H, tag: ControlTag, attributes?: ControlAttributes | null, ...children: any[]): ReturnType<H>;
4
- export declare function createControl<K extends ControlTag>(document: Document, tag: K, attributes?: ControlAttributes): HTMLElementTagNameMap[K];
5
- export declare function registerControl<T extends object>(component: T, tag: ControlTag): T;
6
- export declare function nativeControlTag(type: unknown): string | undefined;
7
- /** Decorate a native icon control after installing its trusted bundled SVG. */
8
- export declare function decorateIconAction(element: HTMLElement, label: string): void;
@@ -1,20 +0,0 @@
1
- import { h } from '../_vendor/preact/src/index';
2
- import { ElementFactory } from '../native-controls';
3
- export interface NativeDialogAction {
4
- label?: string;
5
- disabled?: boolean;
6
- onClick?: () => void;
7
- }
8
- export interface NativeDialogActionFooterProps {
9
- cancel?: NativeDialogAction | false;
10
- save?: NativeDialogAction | false;
11
- deleteAction?: NativeDialogAction | false;
12
- reset?: NativeDialogAction | false;
13
- }
14
- /** One TSX composition for Preact consumers and element-returning host adapters. */
15
- export declare function ActionFooterView({ cancel, save, deleteAction, reset, start, end, children, actionsClass, class: className, ...props }: Record<string, any>): h.JSX.Element;
16
- /** Compatibility signature retained for existing Preact consumers. */
17
- export declare function renderDialogActionFooter<H extends ElementFactory>(_h: H, props: Record<string, any>): ReturnType<H>;
18
- export declare function mountDialogActionFooter(host: HTMLElement, props: NativeDialogActionFooterProps): {
19
- destroy(): void;
20
- };
@@ -1,15 +0,0 @@
1
- import { DialogButtonVariant, DialogOpenOptions } from './dialog.types';
2
- export interface DialogElements {
3
- readonly root: HTMLElement;
4
- readonly surface: HTMLElement;
5
- readonly header: HTMLElement;
6
- readonly body: HTMLElement;
7
- readonly footer: HTMLElement;
8
- readonly actions: HTMLElement;
9
- }
10
- /** Element-returning compatibility API; shared TSX owns the entire dialog chrome. */
11
- export declare function createDialogElements(document: Document, options: DialogOpenOptions, close: () => void): DialogElements;
12
- export declare function createDialogCloseButton(document: Document, label: string, close: () => void): HTMLButtonElement;
13
- export declare function createDialogButton(document: Document, label: string, action: () => void, variant?: DialogButtonVariant): HTMLButtonElement;
14
- export declare function trapDialogFocus(root: HTMLElement, event: KeyboardEvent): void;
15
- export declare function getDialogFocusableElements(root: HTMLElement): HTMLElement[];
@@ -1,10 +0,0 @@
1
- export interface FormFieldOptions {
2
- readonly label: string;
3
- readonly control: HTMLElement;
4
- readonly hint?: string;
5
- readonly className?: string;
6
- }
7
- export declare function createFormField(document: Document, options: FormFieldOptions): HTMLLabelElement;
8
- export declare function createTextControl(document: Document, placeholder: string): HTMLInputElement;
9
- /** DOM counterpart of Dropdown; callers own its lifetime. */
10
- export { createDropdownControl } from '../dropdown/control';
@@ -1,27 +0,0 @@
1
- import { h, TargetedEvent } from '../_vendor/preact/src/index';
2
- export declare function useControlTooltip(text: string, floating?: boolean, presentation?: {
3
- className?: string;
4
- placement?: 'above';
5
- }): {
6
- readonly id: string;
7
- readonly hide: () => void;
8
- readonly triggerProps: {
9
- readonly 'aria-describedby': string;
10
- readonly onFocus: (event: TargetedEvent<HTMLElement>) => void;
11
- readonly onBlur: () => void;
12
- readonly onMouseEnter: (event: TargetedEvent<HTMLElement>) => void;
13
- readonly onMouseLeave: () => void;
14
- readonly onPointerDown: (event: TargetedEvent<HTMLElement>) => void;
15
- readonly onPointerCancel: () => void;
16
- readonly onKeyDown: (event: KeyboardEvent) => void;
17
- };
18
- readonly tooltip: h.JSX.Element;
19
- };
20
- export declare function ControlTooltip({ id, text, visible, anchor, className, placement, }: {
21
- readonly id: string;
22
- readonly text: string;
23
- readonly visible: boolean;
24
- readonly anchor?: HTMLElement | null;
25
- readonly className?: string;
26
- readonly placement?: 'above';
27
- }): h.JSX.Element;
@@ -1,54 +0,0 @@
1
- /** Renderer-neutral controls shared by native DOM, Stencil and Preact hosts. */
2
- export type ElementFactory = (...args: any[]) => any;
3
- export declare function renderLoadingIndicator<H extends ElementFactory>(h: H, options: {
4
- className?: string;
5
- label?: string;
6
- ref?: (element?: HTMLElement) => void;
7
- showSpinner?: boolean;
8
- }): ReturnType<H>;
9
- export declare function createButtonElement(document: Document, options: {
10
- label: string;
11
- text?: string;
12
- disabled?: boolean;
13
- className?: string;
14
- onClick?: (event: MouseEvent) => void;
15
- }): HTMLButtonElement;
16
- export declare function renderMenuItem<H extends ElementFactory>(h: H, options: {
17
- label: string;
18
- disabled: boolean;
19
- submenu: boolean;
20
- onActivate: () => void;
21
- style?: string;
22
- }): ReturnType<H>;
23
- export declare function renderRatingStars<H extends ElementFactory>(h: H, value: number, maximum?: number): ReturnType<H>[];
24
- export interface ScalarSliderOptions {
25
- min: number;
26
- max: number;
27
- step: number;
28
- value: number;
29
- hideValue?: boolean;
30
- displayValue?: string | number;
31
- formatValue?: (value: number) => string | number;
32
- thresholdClassNames?: string;
33
- thresholds?: readonly {
34
- value: number;
35
- className: string;
36
- }[];
37
- label?: string;
38
- onChange: (value: number, event: Event) => void;
39
- onMouseDown?: (event: MouseEvent) => void;
40
- }
41
- /** Shared scalar slider presentation; edit commits and threshold policy are caller-owned. */
42
- export declare function renderScalarSlider<H extends ElementFactory>(h: H, options: ScalarSliderOptions): ReturnType<H>;
43
- export interface CounterOptions {
44
- value: number;
45
- min: number;
46
- max: number;
47
- step: number;
48
- hideValue?: boolean;
49
- onChange: (value: number, event: MouseEvent) => void;
50
- decreaseLabel?: string;
51
- increaseLabel?: string;
52
- onMouseDown?: (event: MouseEvent) => void;
53
- }
54
- export declare function renderCounter<H extends ElementFactory>(h: H, options: CounterOptions): ReturnType<H>;
@@ -1,21 +0,0 @@
1
- export interface SearchPresentation {
2
- rootClassName?: string;
3
- inputClassName?: string;
4
- iconClassName?: string;
5
- shortcutClassName?: string;
6
- hideIcon?: boolean;
7
- icon?: any;
8
- shortcut?: any;
9
- leading?: any;
10
- trailing?: any;
11
- testId?: string;
12
- inputAttributes?: Record<string, any>;
13
- }
14
- /** One search composition for native, grid and Preact rendering. */
15
- export declare function renderSearchInput<H extends (...args: any[]) => any>(h: H, options: SearchPresentation): ReturnType<H>;
16
- export declare function createSearchInput(document: Document, options: Omit<SearchPresentation, 'icon'> & {
17
- iconSvg: string;
18
- }): {
19
- root: HTMLElement;
20
- input: HTMLInputElement;
21
- };
@@ -1,63 +0,0 @@
1
- import { DialogHandle, DialogOpenOptions } from './dialog/dialog.types';
2
- export interface DialogEnvironment {
3
- beforeMount?: (root: HTMLElement) => void;
4
- onOpen?: (options: DialogOpenOptions) => void;
5
- restoreFocus?: (explicit?: HTMLElement, previous?: HTMLElement) => void;
6
- }
7
- /** Standalone modal lifecycle. Integration hooks belong to the host application. */
8
- export declare class DialogController {
9
- private readonly document;
10
- private readonly environment;
11
- private active?;
12
- constructor(document: Document, environment?: DialogEnvironment);
13
- get isOpen(): boolean;
14
- open(options: DialogOpenOptions): DialogHandle;
15
- close(root?: HTMLElement): void;
16
- destroy(): void;
17
- }
18
- export interface PopoverOptions {
19
- anchor: HTMLElement;
20
- content: HTMLElement;
21
- /** Defaults to the document body. */
22
- appendTo?: HTMLElement;
23
- onClose?: () => void;
24
- restoreFocus?: boolean;
25
- closeOnOutside?: boolean;
26
- closeOnEscape?: boolean;
27
- display?: string;
28
- }
29
- /** One owner for native top-layer promotion, viewport positioning and disposal. */
30
- export declare class PopoverController {
31
- private active?;
32
- get isOpen(): boolean;
33
- open(options: PopoverOptions): {
34
- close: (restoreFocus?: boolean) => void;
35
- refresh: () => void;
36
- };
37
- refresh(): void;
38
- close(restoreFocus?: boolean): void;
39
- destroy(): void;
40
- }
41
- export declare function createTooltipElement(document: Document, className?: string): HTMLDivElement;
42
- /** Plain text tooltip with keyboard, pointer and explicit teardown support. */
43
- export declare class TooltipController {
44
- private readonly popover;
45
- private release?;
46
- bind(anchor: HTMLElement, text: string, options?: {
47
- trigger?: 'hover' | 'click';
48
- }): () => void;
49
- destroy(): void;
50
- }
51
- /** Keyboard behavior for menu surfaces; activation stays on native buttons. */
52
- export declare function attachMenuKeyboard(menu: HTMLElement, onClose?: () => void): () => void;
53
- export interface ResizeOptions {
54
- value: number;
55
- min?: number;
56
- max?: number;
57
- step?: number;
58
- label: string;
59
- onChange: (value: number) => void;
60
- direction?: 'ltr' | 'rtl';
61
- }
62
- /** Width resize controller. An options reader keeps controlled updates from interrupting a drag. */
63
- export declare function attachResizeHandle(handle: HTMLElement, options: ResizeOptions | (() => ResizeOptions)): () => void;
File without changes