universal-modal-monorepo 1.0.0

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 (106) hide show
  1. package/AUTHORS +5 -0
  2. package/CHANGELOG.md +10 -0
  3. package/LICENSE +21 -0
  4. package/NOTICE +6 -0
  5. package/README.md +239 -0
  6. package/SECURITY.md +21 -0
  7. package/docs/ACCESSIBILITY.md +43 -0
  8. package/docs/API.md +56 -0
  9. package/docs/THEMING.md +65 -0
  10. package/examples/angular/app.component.html +137 -0
  11. package/examples/angular/app.component.ts +53 -0
  12. package/examples/angular/index.html +99 -0
  13. package/examples/angular/main.js +121 -0
  14. package/examples/angular/styles.css +25 -0
  15. package/examples/index.html +53 -0
  16. package/examples/react/App.tsx +242 -0
  17. package/examples/react/index.html +26 -0
  18. package/examples/react/main.js +144 -0
  19. package/examples/react/styles.css +1 -0
  20. package/examples/shared/gallery.css +177 -0
  21. package/examples/vanilla/index.html +89 -0
  22. package/examples/vanilla/main.js +174 -0
  23. package/examples/vanilla/styles.css +1 -0
  24. package/examples/vue/App.vue +190 -0
  25. package/examples/vue/index.html +23 -0
  26. package/examples/vue/main.js +174 -0
  27. package/examples/vue/styles.css +1 -0
  28. package/examples/web-component/index.html +190 -0
  29. package/examples/web-component/main.js +58 -0
  30. package/examples/web-component/styles.css +11 -0
  31. package/package.json +36 -0
  32. package/packages/universal-modal/AUTHORS +5 -0
  33. package/packages/universal-modal/CHANGELOG.md +10 -0
  34. package/packages/universal-modal/LICENSE +21 -0
  35. package/packages/universal-modal/NOTICE +6 -0
  36. package/packages/universal-modal/README.md +29 -0
  37. package/packages/universal-modal/package.json +83 -0
  38. package/packages/universal-modal/scripts/copy-styles.mjs +11 -0
  39. package/packages/universal-modal/src/core/constants.ts +50 -0
  40. package/packages/universal-modal/src/core/event-emitter.ts +46 -0
  41. package/packages/universal-modal/src/core/focus-trap.ts +101 -0
  42. package/packages/universal-modal/src/core/index.ts +39 -0
  43. package/packages/universal-modal/src/core/modal-engine.ts +410 -0
  44. package/packages/universal-modal/src/core/modal-stack.ts +68 -0
  45. package/packages/universal-modal/src/core/scroll-lock.ts +78 -0
  46. package/packages/universal-modal/src/core/theme.ts +50 -0
  47. package/packages/universal-modal/src/core/types.ts +196 -0
  48. package/packages/universal-modal/src/core/utils.ts +114 -0
  49. package/packages/universal-modal/src/dom/index.ts +1 -0
  50. package/packages/universal-modal/src/dom/modal-renderer.ts +191 -0
  51. package/packages/universal-modal/src/index.ts +2 -0
  52. package/packages/universal-modal/src/styles/modal.css +368 -0
  53. package/packages/universal-modal/tsconfig.json +24 -0
  54. package/packages/universal-modal/tsup.config.ts +12 -0
  55. package/packages/universal-modal-angular/AUTHORS +5 -0
  56. package/packages/universal-modal-angular/CHANGELOG.md +9 -0
  57. package/packages/universal-modal-angular/LICENSE +21 -0
  58. package/packages/universal-modal-angular/NOTICE +6 -0
  59. package/packages/universal-modal-angular/README.md +12 -0
  60. package/packages/universal-modal-angular/package.json +85 -0
  61. package/packages/universal-modal-angular/src/index.ts +10 -0
  62. package/packages/universal-modal-angular/src/universal-modal.component.ts +275 -0
  63. package/packages/universal-modal-angular/tsconfig.json +20 -0
  64. package/packages/universal-modal-angular/tsup.config.ts +10 -0
  65. package/packages/universal-modal-react/AUTHORS +5 -0
  66. package/packages/universal-modal-react/CHANGELOG.md +9 -0
  67. package/packages/universal-modal-react/LICENSE +21 -0
  68. package/packages/universal-modal-react/NOTICE +6 -0
  69. package/packages/universal-modal-react/README.md +12 -0
  70. package/packages/universal-modal-react/package.json +87 -0
  71. package/packages/universal-modal-react/src/UniversalModal.tsx +340 -0
  72. package/packages/universal-modal-react/src/index.ts +10 -0
  73. package/packages/universal-modal-react/tsconfig.json +19 -0
  74. package/packages/universal-modal-react/tsup.config.ts +13 -0
  75. package/packages/universal-modal-vanilla/AUTHORS +5 -0
  76. package/packages/universal-modal-vanilla/CHANGELOG.md +9 -0
  77. package/packages/universal-modal-vanilla/LICENSE +21 -0
  78. package/packages/universal-modal-vanilla/NOTICE +6 -0
  79. package/packages/universal-modal-vanilla/README.md +12 -0
  80. package/packages/universal-modal-vanilla/package.json +79 -0
  81. package/packages/universal-modal-vanilla/src/create-modal.ts +125 -0
  82. package/packages/universal-modal-vanilla/src/index.ts +14 -0
  83. package/packages/universal-modal-vanilla/tsconfig.json +18 -0
  84. package/packages/universal-modal-vanilla/tsup.config.ts +10 -0
  85. package/packages/universal-modal-vue/AUTHORS +5 -0
  86. package/packages/universal-modal-vue/CHANGELOG.md +9 -0
  87. package/packages/universal-modal-vue/LICENSE +21 -0
  88. package/packages/universal-modal-vue/NOTICE +6 -0
  89. package/packages/universal-modal-vue/README.md +12 -0
  90. package/packages/universal-modal-vue/package.json +83 -0
  91. package/packages/universal-modal-vue/src/UniversalModal.ts +342 -0
  92. package/packages/universal-modal-vue/src/index.ts +10 -0
  93. package/packages/universal-modal-vue/tsconfig.json +18 -0
  94. package/packages/universal-modal-vue/tsup.config.ts +10 -0
  95. package/packages/universal-modal-web-component/AUTHORS +5 -0
  96. package/packages/universal-modal-web-component/CHANGELOG.md +9 -0
  97. package/packages/universal-modal-web-component/LICENSE +21 -0
  98. package/packages/universal-modal-web-component/NOTICE +6 -0
  99. package/packages/universal-modal-web-component/README.md +12 -0
  100. package/packages/universal-modal-web-component/package.json +83 -0
  101. package/packages/universal-modal-web-component/src/index.ts +11 -0
  102. package/packages/universal-modal-web-component/src/universal-modal-element.ts +424 -0
  103. package/packages/universal-modal-web-component/tsconfig.json +18 -0
  104. package/packages/universal-modal-web-component/tsup.config.ts +10 -0
  105. package/scripts/copy-styles.mjs +11 -0
  106. package/scripts/serve-examples.mjs +48 -0
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "universal-modal-monorepo",
3
+ "version": "1.0.0",
4
+ "description": "Monorepo for @poluru-labs/universal-modal packages",
5
+ "author": {
6
+ "name": "Subrahmanyam Poluru",
7
+ "email": "mail.polurus@gmail.com",
8
+ "url": "https://polurus.com"
9
+ },
10
+ "license": "MIT",
11
+ "workspaces": [
12
+ "packages/*"
13
+ ],
14
+ "scripts": {
15
+ "build": "npm run build -w @poluru-labs/universal-modal && npm run build -w @poluru-labs/universal-modal-vanilla -w @poluru-labs/universal-modal-web-component -w @poluru-labs/universal-modal-react -w @poluru-labs/universal-modal-vue -w @poluru-labs/universal-modal-angular",
16
+ "build:core": "npm run build -w @poluru-labs/universal-modal",
17
+ "typecheck": "npm run typecheck --workspaces --if-present",
18
+ "clean": "npm run clean --workspaces --if-present",
19
+ "examples": "node scripts/serve-examples.mjs",
20
+ "publish:packages": "npm publish -w @poluru-labs/universal-modal && npm publish -w @poluru-labs/universal-modal-vanilla && npm publish -w @poluru-labs/universal-modal-web-component && npm publish -w @poluru-labs/universal-modal-react && npm publish -w @poluru-labs/universal-modal-vue && npm publish -w @poluru-labs/universal-modal-angular"
21
+ },
22
+ "devDependencies": {
23
+ "@angular/common": "^19.0.0",
24
+ "@angular/core": "^19.0.0",
25
+ "@types/react": "^19.0.0",
26
+ "@types/react-dom": "^19.0.0",
27
+ "react": "^19.0.0",
28
+ "react-dom": "^19.0.0",
29
+ "tsup": "^8.3.5",
30
+ "typescript": "^5.7.2",
31
+ "vue": "^3.5.13"
32
+ },
33
+ "engines": {
34
+ "node": ">=18"
35
+ }
36
+ }
@@ -0,0 +1,5 @@
1
+ # Authors
2
+
3
+ Subrahmanyam Poluru <mail.polurus@gmail.com>
4
+ https://polurus.com
5
+ https://www.linkedin.com/in/polurus/
@@ -0,0 +1,10 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0 — 2026-08-01
4
+
5
+ ### Added
6
+ - Framework-agnostic modal engine (focus trap, scroll lock, stacking, lifecycle)
7
+ - DOM renderer and CSS variable themes (light/dark)
8
+ - Brand and button color tokens (`--um-color-brand`, `--um-btn-*`)
9
+ - Per-instance `theme` option / `applyModalTheme()`
10
+ - MIT license, AUTHORS, NOTICE
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Subrahmanyam Poluru
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,6 @@
1
+ @poluru-labs/universal-modal
2
+ Copyright (c) 2026 Subrahmanyam Poluru
3
+
4
+ This product is developed and maintained by .
5
+ Homepage: https://polurus.com
6
+ Contact: mail.polurus@gmail.com
@@ -0,0 +1,29 @@
1
+ # @poluru-labs/universal-modal
2
+
3
+ Framework-agnostic modal **core** (engine, focus trap, scroll lock, stacking, DOM renderer) and CSS themes.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @poluru-labs/universal-modal
9
+ ```
10
+
11
+ Framework adapters (install the one you need):
12
+
13
+ ```bash
14
+ npm install @poluru-labs/universal-modal-react
15
+ npm install @poluru-labs/universal-modal-vue
16
+ npm install @poluru-labs/universal-modal-angular
17
+ npm install @poluru-labs/universal-modal-vanilla
18
+ npm install @poluru-labs/universal-modal-web-component
19
+ ```
20
+
21
+ ## Styles
22
+
23
+ ```ts
24
+ import '@poluru-labs/universal-modal/styles.css';
25
+ ```
26
+
27
+ ## Author
28
+
29
+ Subrahmanyam Poluru · [polurus.com](https://polurus.com) · mail.polurus@gmail.com
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@poluru-labs/universal-modal",
3
+ "version": "1.0.0",
4
+ "description": "Framework-agnostic universal modal engine, DOM renderer, and CSS themes.",
5
+ "author": {
6
+ "name": "Subrahmanyam Poluru",
7
+ "email": "mail.polurus@gmail.com",
8
+ "url": "https://polurus.com"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "Subrahmanyam Poluru",
13
+ "email": "mail.polurus@gmail.com",
14
+ "url": "https://www.linkedin.com/in/polurus/"
15
+ }
16
+ ],
17
+ "license": "MIT",
18
+ "homepage": "https://github.com/poluru-labs/universal-modal#readme",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/poluru-labs/universal-modal.git",
22
+ "directory": "packages/universal-modal"
23
+ },
24
+ "bugs": {
25
+ "url": "https://github.com/poluru-labs/universal-modal/issues",
26
+ "email": "mail.polurus@gmail.com"
27
+ },
28
+ "funding": {
29
+ "type": "individual",
30
+ "url": "https://polurus.com"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "registry": "https://registry.npmjs.org/"
35
+ },
36
+ "keywords": [
37
+ "modal",
38
+ "dialog",
39
+ "popup",
40
+ "accessibility",
41
+ "a11y",
42
+ "focus-trap",
43
+ "typescript",
44
+ "poluru-labs"
45
+ ],
46
+ "type": "module",
47
+ "sideEffects": [
48
+ "**/*.css"
49
+ ],
50
+ "main": "./dist/index.cjs",
51
+ "module": "./dist/index.js",
52
+ "types": "./dist/index.d.ts",
53
+ "exports": {
54
+ ".": {
55
+ "types": "./dist/index.d.ts",
56
+ "import": "./dist/index.js",
57
+ "require": "./dist/index.cjs"
58
+ },
59
+ "./styles.css": "./dist/styles.css",
60
+ "./package.json": "./package.json"
61
+ },
62
+ "files": [
63
+ "dist",
64
+ "LICENSE",
65
+ "AUTHORS",
66
+ "NOTICE",
67
+ "CHANGELOG.md",
68
+ "README.md"
69
+ ],
70
+ "scripts": {
71
+ "build": "tsup && node scripts/copy-styles.mjs",
72
+ "typecheck": "tsc --noEmit",
73
+ "clean": "rm -rf dist *.tgz",
74
+ "prepublishOnly": "npm run clean && npm run typecheck && npm run build"
75
+ },
76
+ "devDependencies": {
77
+ "tsup": "^8.3.5",
78
+ "typescript": "^5.7.2"
79
+ },
80
+ "engines": {
81
+ "node": ">=18"
82
+ }
83
+ }
@@ -0,0 +1,11 @@
1
+ import { copyFileSync, mkdirSync } from 'node:fs';
2
+ import { dirname, resolve } from 'node:path';
3
+ import { fileURLToPath } from 'node:url';
4
+
5
+ const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
6
+ const source = resolve(root, 'src/styles/modal.css');
7
+ const target = resolve(root, 'dist/styles.css');
8
+
9
+ mkdirSync(dirname(target), { recursive: true });
10
+ copyFileSync(source, target);
11
+ console.log('Copied styles → dist/styles.css');
@@ -0,0 +1,50 @@
1
+ import type { ResolvedModalOptions } from './types';
2
+
3
+ export const DEFAULT_Z_INDEX_BASE = 1000;
4
+ export const Z_INDEX_LAYER_STEP = 10;
5
+
6
+ export const FOCUSABLE_SELECTOR = [
7
+ 'a[href]',
8
+ 'area[href]',
9
+ 'button:not([disabled])',
10
+ 'input:not([disabled]):not([type="hidden"])',
11
+ 'select:not([disabled])',
12
+ 'textarea:not([disabled])',
13
+ '[tabindex]:not([tabindex="-1"])',
14
+ '[contenteditable="true"]',
15
+ ].join(',');
16
+
17
+ export const DEFAULT_OPTIONS: Omit<ResolvedModalOptions, 'id' | 'container'> = {
18
+ size: 'md',
19
+ placement: 'center',
20
+ persistent: false,
21
+ closeOnEsc: true,
22
+ closeOnBackdrop: true,
23
+ showCloseIcon: true,
24
+ role: 'dialog',
25
+ zIndexBase: DEFAULT_Z_INDEX_BASE,
26
+ animationDuration: 200,
27
+ confirmText: 'Confirm',
28
+ cancelText: 'Cancel',
29
+ hideActions: false,
30
+ };
31
+
32
+ export const CSS_CLASSES = {
33
+ root: 'um-modal',
34
+ open: 'um-modal--open',
35
+ closing: 'um-modal--closing',
36
+ loading: 'um-modal--loading',
37
+ backdrop: 'um-modal__backdrop',
38
+ dialog: 'um-modal__dialog',
39
+ panel: 'um-modal__panel',
40
+ header: 'um-modal__header',
41
+ title: 'um-modal__title',
42
+ description: 'um-modal__description',
43
+ body: 'um-modal__body',
44
+ footer: 'um-modal__footer',
45
+ close: 'um-modal__close',
46
+ actions: 'um-modal__actions',
47
+ confirm: 'um-modal__btn um-modal__btn--confirm',
48
+ cancel: 'um-modal__btn um-modal__btn--cancel',
49
+ spinner: 'um-modal__spinner',
50
+ } as const;
@@ -0,0 +1,46 @@
1
+ import type { ModalEventMap } from './types';
2
+
3
+ type Listener<K extends keyof ModalEventMap> = (
4
+ payload: ModalEventMap[K],
5
+ ) => void;
6
+
7
+ /**
8
+ * Tiny typed pub/sub used by the modal engine.
9
+ * Framework wrappers can subscribe without depending on DOM CustomEvents.
10
+ */
11
+ export class EventEmitter {
12
+ private readonly listeners = new Map<
13
+ keyof ModalEventMap,
14
+ Set<Listener<keyof ModalEventMap>>
15
+ >();
16
+
17
+ on<K extends keyof ModalEventMap>(event: K, listener: Listener<K>): () => void {
18
+ let set = this.listeners.get(event);
19
+ if (!set) {
20
+ set = new Set();
21
+ this.listeners.set(event, set);
22
+ }
23
+ set.add(listener as Listener<keyof ModalEventMap>);
24
+ return () => this.off(event, listener);
25
+ }
26
+
27
+ off<K extends keyof ModalEventMap>(event: K, listener: Listener<K>): void {
28
+ this.listeners.get(event)?.delete(listener as Listener<keyof ModalEventMap>);
29
+ }
30
+
31
+ emit<K extends keyof ModalEventMap>(
32
+ event: K,
33
+ ...args: ModalEventMap[K] extends undefined ? [] | [undefined] : [ModalEventMap[K]]
34
+ ): void {
35
+ const set = this.listeners.get(event);
36
+ if (!set?.size) return;
37
+ const payload = (args[0] ?? undefined) as ModalEventMap[K];
38
+ for (const listener of [...set]) {
39
+ (listener as Listener<K>)(payload);
40
+ }
41
+ }
42
+
43
+ clear(): void {
44
+ this.listeners.clear();
45
+ }
46
+ }
@@ -0,0 +1,101 @@
1
+ import { FOCUSABLE_SELECTOR } from './constants';
2
+
3
+ function isVisible(el: HTMLElement): boolean {
4
+ if (el.hasAttribute('disabled') || el.getAttribute('aria-hidden') === 'true') {
5
+ return false;
6
+ }
7
+ const style = window.getComputedStyle(el);
8
+ if (style.display === 'none' || style.visibility === 'hidden') {
9
+ return false;
10
+ }
11
+ return el.getClientRects().length > 0;
12
+ }
13
+
14
+ export function getFocusableElements(container: HTMLElement): HTMLElement[] {
15
+ return Array.from(container.querySelectorAll<HTMLElement>(FOCUSABLE_SELECTOR)).filter(
16
+ isVisible,
17
+ );
18
+ }
19
+
20
+ export interface FocusTrap {
21
+ activate: (initialFocus?: HTMLElement | null) => void;
22
+ deactivate: () => void;
23
+ update: () => void;
24
+ }
25
+
26
+ /**
27
+ * Keeps keyboard focus inside `container` while active.
28
+ * Only the topmost trap should be active when modals are stacked.
29
+ */
30
+ export function createFocusTrap(container: HTMLElement): FocusTrap {
31
+ let active = false;
32
+
33
+ const onKeyDown = (event: KeyboardEvent): void => {
34
+ if (!active || event.key !== 'Tab') return;
35
+
36
+ const focusable = getFocusableElements(container);
37
+ if (focusable.length === 0) {
38
+ event.preventDefault();
39
+ container.focus();
40
+ return;
41
+ }
42
+
43
+ const first = focusable[0];
44
+ const last = focusable[focusable.length - 1];
45
+ const current = document.activeElement as HTMLElement | null;
46
+
47
+ if (event.shiftKey) {
48
+ if (!current || current === first || !container.contains(current)) {
49
+ event.preventDefault();
50
+ last.focus();
51
+ }
52
+ return;
53
+ }
54
+
55
+ if (!current || current === last || !container.contains(current)) {
56
+ event.preventDefault();
57
+ first.focus();
58
+ }
59
+ };
60
+
61
+ return {
62
+ activate(initialFocus) {
63
+ if (active) return;
64
+ active = true;
65
+
66
+ container.addEventListener('keydown', onKeyDown);
67
+
68
+ const focusable = getFocusableElements(container);
69
+ const target =
70
+ initialFocus && container.contains(initialFocus)
71
+ ? initialFocus
72
+ : focusable[0] ?? container;
73
+
74
+ // Defer so the dialog is in the accessibility tree first.
75
+ requestAnimationFrame(() => {
76
+ target.focus({ preventScroll: true });
77
+ });
78
+ },
79
+
80
+ deactivate() {
81
+ if (!active) return;
82
+ active = false;
83
+ container.removeEventListener('keydown', onKeyDown);
84
+ },
85
+
86
+ update() {
87
+ // No-op placeholder for consumers that re-query focusables after DOM updates.
88
+ },
89
+ };
90
+ }
91
+
92
+ export function restoreFocus(element: HTMLElement | null): void {
93
+ if (!element) return;
94
+ try {
95
+ if (document.contains(element) && typeof element.focus === 'function') {
96
+ element.focus({ preventScroll: true });
97
+ }
98
+ } catch {
99
+ // Element may have been detached or become non-focusable.
100
+ }
101
+ }
@@ -0,0 +1,39 @@
1
+ export { ModalEngine, type ModalEngineConfig } from './modal-engine';
2
+ export { modalStack, type StackEntry } from './modal-stack';
3
+ export { EventEmitter } from './event-emitter';
4
+ export { createFocusTrap, getFocusableElements, restoreFocus, type FocusTrap } from './focus-trap';
5
+ export { lockBodyScroll, unlockBodyScroll, resetScrollLock } from './scroll-lock';
6
+ export { CSS_CLASSES, DEFAULT_OPTIONS, DEFAULT_Z_INDEX_BASE, FOCUSABLE_SELECTOR, Z_INDEX_LAYER_STEP } from './constants';
7
+ export {
8
+ createModalId,
9
+ getReturnFocusElement,
10
+ isPromiseLike,
11
+ prefersReducedMotion,
12
+ resolveContent,
13
+ resolveInitialFocus,
14
+ resolveOptions,
15
+ runLifecycle,
16
+ setContent,
17
+ } from './utils';
18
+ export type {
19
+ CloseReason,
20
+ LifecycleResult,
21
+ ModalA11yOptions,
22
+ ModalActionHandlers,
23
+ ModalBehaviorOptions,
24
+ ModalContent,
25
+ ModalContentOptions,
26
+ ModalEventMap,
27
+ ModalEventName,
28
+ ModalHostElements,
29
+ ModalLifecycleHooks,
30
+ ModalListener,
31
+ ModalOptions,
32
+ ModalPlacement,
33
+ ModalRole,
34
+ ModalSize,
35
+ ModalState,
36
+ ModalTheme,
37
+ ResolvedModalOptions,
38
+ } from './types';
39
+ export { applyModalTheme } from './theme';