@fuf-stack/pixels 0.2.5 → 0.3.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 (164) hide show
  1. package/dist/Button/index.cjs +3 -112
  2. package/dist/Button/index.cjs.map +1 -1
  3. package/dist/Button/index.d.cts +3 -3
  4. package/dist/Button/index.d.ts +3 -3
  5. package/dist/Button/index.js +5 -5
  6. package/dist/{Button/Button.d.cts → Button-B0H0w1eR.d.cts} +1 -1
  7. package/dist/{Button/Button.d.ts → Button-B0H0w1eR.d.ts} +1 -1
  8. package/dist/Card/index.cjs +5 -133
  9. package/dist/Card/index.cjs.map +1 -1
  10. package/dist/Card/index.d.cts +3 -3
  11. package/dist/Card/index.d.ts +3 -3
  12. package/dist/Card/index.js +4 -5
  13. package/dist/Card/index.js.map +1 -1
  14. package/dist/{Card/Card.d.ts → Card-Cl_I4L8G.d.cts} +1 -1
  15. package/dist/{Card/Card.d.cts → Card-Cl_I4L8G.d.ts} +1 -1
  16. package/dist/Json/index.cjs +4 -203
  17. package/dist/Json/index.cjs.map +1 -1
  18. package/dist/Json/index.d.cts +3 -3
  19. package/dist/Json/index.d.ts +3 -3
  20. package/dist/Json/index.js +5 -8
  21. package/dist/Json/index.js.map +1 -1
  22. package/dist/{Json/Json.d.cts → Json-ClGDcbcp.d.cts} +1 -1
  23. package/dist/{Json/Json.d.ts → Json-ClGDcbcp.d.ts} +1 -1
  24. package/dist/Label/index.cjs +5 -59
  25. package/dist/Label/index.cjs.map +1 -1
  26. package/dist/Label/index.d.cts +3 -3
  27. package/dist/Label/index.d.ts +3 -3
  28. package/dist/Label/index.js +4 -5
  29. package/dist/Label/index.js.map +1 -1
  30. package/dist/{Label/Label.d.cts → Label-DzZDW95M.d.cts} +1 -1
  31. package/dist/{Label/Label.d.ts → Label-DzZDW95M.d.ts} +1 -1
  32. package/dist/Menu/index.cjs +5 -105
  33. package/dist/Menu/index.cjs.map +1 -1
  34. package/dist/Menu/index.d.cts +3 -3
  35. package/dist/Menu/index.d.ts +3 -3
  36. package/dist/Menu/index.js +4 -5
  37. package/dist/Menu/index.js.map +1 -1
  38. package/dist/{Menu/Menu.d.cts → Menu-D50c3gIq.d.cts} +2 -2
  39. package/dist/{Menu/Menu.d.ts → Menu-D50c3gIq.d.ts} +2 -2
  40. package/dist/Modal/index.cjs +5 -81
  41. package/dist/Modal/index.cjs.map +1 -1
  42. package/dist/Modal/index.d.cts +3 -3
  43. package/dist/Modal/index.d.ts +3 -3
  44. package/dist/Modal/index.js +4 -5
  45. package/dist/Modal/index.js.map +1 -1
  46. package/dist/{Modal/Modal.d.cts → Modal-CSxNe0bS.d.cts} +1 -1
  47. package/dist/{Modal/Modal.d.ts → Modal-CSxNe0bS.d.ts} +1 -1
  48. package/dist/Popover/index.cjs +5 -73
  49. package/dist/Popover/index.cjs.map +1 -1
  50. package/dist/Popover/index.d.cts +3 -3
  51. package/dist/Popover/index.d.ts +3 -3
  52. package/dist/Popover/index.js +4 -5
  53. package/dist/Popover/index.js.map +1 -1
  54. package/dist/{Popover/Popover.d.cts → Popover-DbTTk7_N.d.cts} +1 -1
  55. package/dist/{Popover/Popover.d.ts → Popover-DbTTk7_N.d.ts} +1 -1
  56. package/dist/Tooltip/index.cjs +3 -63
  57. package/dist/Tooltip/index.cjs.map +1 -1
  58. package/dist/Tooltip/index.d.cts +2 -2
  59. package/dist/Tooltip/index.d.ts +2 -2
  60. package/dist/Tooltip/index.js +2 -5
  61. package/dist/Tooltip/index.js.map +1 -1
  62. package/dist/{Tooltip/Tooltip.d.cts → Tooltip-D0yEMBnv.d.cts} +1 -1
  63. package/dist/{Tooltip/Tooltip.d.ts → Tooltip-D0yEMBnv.d.ts} +1 -1
  64. package/dist/chunk-2UJJIIMU.js +87 -0
  65. package/dist/chunk-2UJJIIMU.js.map +1 -0
  66. package/dist/{chunk-WBAURF6J.js → chunk-7ERBBFDC.js} +38 -5
  67. package/dist/chunk-7ERBBFDC.js.map +1 -0
  68. package/dist/chunk-BMKGS5PK.cjs +32 -0
  69. package/dist/chunk-BMKGS5PK.cjs.map +1 -0
  70. package/dist/chunk-DSSM3ANE.cjs +84 -0
  71. package/dist/chunk-DSSM3ANE.cjs.map +1 -0
  72. package/dist/chunk-I76NWOB3.cjs +87 -0
  73. package/dist/chunk-I76NWOB3.cjs.map +1 -0
  74. package/dist/{chunk-ONXXZTZY.js → chunk-J47IOXCU.js} +5 -4
  75. package/dist/chunk-J47IOXCU.js.map +1 -0
  76. package/dist/{chunk-Y35GJHOR.js → chunk-J4OGTE6Z.js} +6 -2
  77. package/dist/chunk-J4OGTE6Z.js.map +1 -0
  78. package/dist/chunk-JD3BEOSK.cjs +35 -0
  79. package/dist/chunk-JD3BEOSK.cjs.map +1 -0
  80. package/dist/{chunk-EYUTNORZ.js → chunk-MBQA3LPM.js} +6 -4
  81. package/dist/chunk-MBQA3LPM.js.map +1 -0
  82. package/dist/chunk-PI7CBPUS.cjs +127 -0
  83. package/dist/chunk-PI7CBPUS.cjs.map +1 -0
  84. package/dist/{chunk-CEUL4NWH.js → chunk-S2WOGSQV.js} +6 -2
  85. package/dist/chunk-S2WOGSQV.js.map +1 -0
  86. package/dist/chunk-STEC6TAQ.cjs +60 -0
  87. package/dist/chunk-STEC6TAQ.cjs.map +1 -0
  88. package/dist/{chunk-SGAWYTO7.js → chunk-V2C3KFMP.js} +6 -2
  89. package/dist/chunk-V2C3KFMP.js.map +1 -0
  90. package/dist/{chunk-XPTSDDXG.js → chunk-VQ5Q33MY.js} +6 -3
  91. package/dist/chunk-VQ5Q33MY.js.map +1 -0
  92. package/dist/chunk-WTKZJFQV.cjs +111 -0
  93. package/dist/chunk-WTKZJFQV.cjs.map +1 -0
  94. package/dist/chunk-YUOFNPJO.cjs +46 -0
  95. package/dist/chunk-YUOFNPJO.cjs.map +1 -0
  96. package/dist/index.cjs +102 -0
  97. package/dist/index.cjs.map +1 -0
  98. package/dist/index.d.cts +21 -0
  99. package/dist/index.d.ts +21 -0
  100. package/dist/{hooks/useLocalStorage.js → index.js} +56 -6
  101. package/dist/index.js.map +1 -0
  102. package/package.json +54 -11
  103. package/dist/Button/Button.cjs +0 -113
  104. package/dist/Button/Button.cjs.map +0 -1
  105. package/dist/Button/Button.js +0 -8
  106. package/dist/Button/Button.js.map +0 -1
  107. package/dist/Button/subcomponents/LoadingSpinner.cjs +0 -57
  108. package/dist/Button/subcomponents/LoadingSpinner.cjs.map +0 -1
  109. package/dist/Button/subcomponents/LoadingSpinner.d.cts +0 -9
  110. package/dist/Button/subcomponents/LoadingSpinner.d.ts +0 -9
  111. package/dist/Button/subcomponents/LoadingSpinner.js +0 -7
  112. package/dist/Button/subcomponents/LoadingSpinner.js.map +0 -1
  113. package/dist/Card/Card.cjs +0 -137
  114. package/dist/Card/Card.cjs.map +0 -1
  115. package/dist/Card/Card.js +0 -9
  116. package/dist/Card/Card.js.map +0 -1
  117. package/dist/Json/Json.cjs +0 -204
  118. package/dist/Json/Json.cjs.map +0 -1
  119. package/dist/Json/Json.js +0 -10
  120. package/dist/Json/Json.js.map +0 -1
  121. package/dist/Label/Label.cjs +0 -58
  122. package/dist/Label/Label.cjs.map +0 -1
  123. package/dist/Label/Label.js +0 -7
  124. package/dist/Label/Label.js.map +0 -1
  125. package/dist/Menu/Menu.cjs +0 -104
  126. package/dist/Menu/Menu.cjs.map +0 -1
  127. package/dist/Menu/Menu.js +0 -7
  128. package/dist/Menu/Menu.js.map +0 -1
  129. package/dist/Modal/Modal.cjs +0 -86
  130. package/dist/Modal/Modal.cjs.map +0 -1
  131. package/dist/Modal/Modal.js +0 -9
  132. package/dist/Modal/Modal.js.map +0 -1
  133. package/dist/Popover/Popover.cjs +0 -72
  134. package/dist/Popover/Popover.cjs.map +0 -1
  135. package/dist/Popover/Popover.js +0 -7
  136. package/dist/Popover/Popover.js.map +0 -1
  137. package/dist/Tooltip/Tooltip.cjs +0 -68
  138. package/dist/Tooltip/Tooltip.cjs.map +0 -1
  139. package/dist/Tooltip/Tooltip.js +0 -9
  140. package/dist/Tooltip/Tooltip.js.map +0 -1
  141. package/dist/chunk-4WCKFSLX.js +0 -11
  142. package/dist/chunk-4WCKFSLX.js.map +0 -1
  143. package/dist/chunk-6QVKZ4AT.js +0 -52
  144. package/dist/chunk-6QVKZ4AT.js.map +0 -1
  145. package/dist/chunk-CEUL4NWH.js.map +0 -1
  146. package/dist/chunk-EYUTNORZ.js.map +0 -1
  147. package/dist/chunk-ONXXZTZY.js.map +0 -1
  148. package/dist/chunk-SGAWYTO7.js.map +0 -1
  149. package/dist/chunk-WBAURF6J.js.map +0 -1
  150. package/dist/chunk-XPTSDDXG.js.map +0 -1
  151. package/dist/chunk-Y35GJHOR.js.map +0 -1
  152. package/dist/chunk-ZFEVTQWW.js +0 -37
  153. package/dist/chunk-ZFEVTQWW.js.map +0 -1
  154. package/dist/hooks/useDebounce.cjs +0 -43
  155. package/dist/hooks/useDebounce.cjs.map +0 -1
  156. package/dist/hooks/useDebounce.d.cts +0 -3
  157. package/dist/hooks/useDebounce.d.ts +0 -3
  158. package/dist/hooks/useDebounce.js +0 -22
  159. package/dist/hooks/useDebounce.js.map +0 -1
  160. package/dist/hooks/useLocalStorage.cjs +0 -73
  161. package/dist/hooks/useLocalStorage.cjs.map +0 -1
  162. package/dist/hooks/useLocalStorage.d.cts +0 -5
  163. package/dist/hooks/useLocalStorage.d.ts +0 -5
  164. package/dist/hooks/useLocalStorage.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import Json from './Json.cjs';
2
- export { JsonProps } from './Json.cjs';
1
+ import { J as Json } from '../Json-ClGDcbcp.cjs';
2
+ export { a as JsonProps } from '../Json-ClGDcbcp.cjs';
3
3
  import 'react/jsx-runtime';
4
4
 
5
5
 
6
6
 
7
- export { Json as default };
7
+ export { Json, Json as default };
@@ -1,7 +1,7 @@
1
- import Json from './Json.js';
2
- export { JsonProps } from './Json.js';
1
+ import { J as Json } from '../Json-ClGDcbcp.js';
2
+ export { a as JsonProps } from '../Json-ClGDcbcp.js';
3
3
  import 'react/jsx-runtime';
4
4
 
5
5
 
6
6
 
7
- export { Json as default };
7
+ export { Json, Json as default };
@@ -1,13 +1,10 @@
1
1
  import {
2
- Json_default
3
- } from "../chunk-WBAURF6J.js";
4
- import "../chunk-4WCKFSLX.js";
5
- import "../chunk-6QVKZ4AT.js";
6
- import "../chunk-ZFEVTQWW.js";
7
-
8
- // src/Json/index.ts
9
- var Json_default2 = Json_default;
2
+ Json_default,
3
+ Json_default2
4
+ } from "../chunk-7ERBBFDC.js";
5
+ import "../chunk-2UJJIIMU.js";
10
6
  export {
7
+ Json_default as Json,
11
8
  Json_default2 as default
12
9
  };
13
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Json/index.ts"],"sourcesContent":["import type { JsonProps } from './Json';\n\nimport Json from './Json';\n\nexport type { JsonProps };\nexport default Json;\n"],"mappings":";;;;;;;;AAKA,IAAOA,gBAAQ;","names":["Json_default"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -13,4 +13,4 @@ interface JsonProps {
13
13
  */
14
14
  declare const Json: ({ className, collapsed, value }: JsonProps) => react_jsx_runtime.JSX.Element;
15
15
 
16
- export { type JsonProps, Json as default };
16
+ export { Json as J, type JsonProps as a };
@@ -13,4 +13,4 @@ interface JsonProps {
13
13
  */
14
14
  declare const Json: ({ className, collapsed, value }: JsonProps) => react_jsx_runtime.JSX.Element;
15
15
 
16
- export { type JsonProps, Json as default };
16
+ export { Json as J, type JsonProps as a };
@@ -1,63 +1,9 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
29
2
 
30
- // src/Label/index.ts
31
- var Label_exports = {};
32
- __export(Label_exports, {
33
- default: () => Label_default2
34
- });
35
- module.exports = __toCommonJS(Label_exports);
36
3
 
37
- // src/Label/Label.tsx
38
- var import_chip = require("@nextui-org/chip");
39
- var import_classnames = __toESM(require("classnames"), 1);
40
- var import_jsx_runtime = require("react/jsx-runtime");
41
- var Label = ({
42
- children,
43
- className = void 0,
44
- color = "default",
45
- endContent = void 0,
46
- size = "md",
47
- startContent = void 0
48
- }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
49
- import_chip.Chip,
50
- {
51
- className: (0, import_classnames.default)(className),
52
- color,
53
- endContent,
54
- size,
55
- startContent,
56
- children
57
- }
58
- );
59
- var Label_default = Label;
4
+ var _chunkBMKGS5PKcjs = require('../chunk-BMKGS5PK.cjs');
60
5
 
61
- // src/Label/index.ts
62
- var Label_default2 = Label_default;
6
+
7
+
8
+ exports.Label = _chunkBMKGS5PKcjs.Label_default; exports.default = _chunkBMKGS5PKcjs.Label_default2;
63
9
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Label/index.ts","../../src/Label/Label.tsx"],"sourcesContent":["import type { LabelProps } from './Label';\n\nimport Label from './Label';\n\nexport type { LabelProps };\nexport default Label;\n","import type { ChipProps } from '@nextui-org/chip';\nimport type { ReactNode } from 'react';\n\nimport { Chip as NextLabel } from '@nextui-org/chip';\nimport cn from 'classnames';\n\nexport interface LabelProps {\n /** content of the label */\n children: ReactNode;\n /** CSS class name */\n className?: string;\n /** color of the label */\n color?: ChipProps['color'];\n /** element to be rendered in the right side of the label */\n endContent?: ChipProps['endContent'];\n /** size of the label */\n size?: ChipProps['size'];\n /** element to be rendered in the left side of the label */\n startContent?: ChipProps['startContent'];\n}\n\n/**\n * Label component based on [NextUI Chip](https://nextui.org/docs/components/chip)\n */\nconst Label = ({\n children,\n className = undefined,\n color = 'default',\n endContent = undefined,\n size = 'md',\n startContent = undefined,\n}: LabelProps) => (\n <NextLabel\n className={cn(className)}\n color={color}\n endContent={endContent}\n size={size}\n startContent={startContent}\n >\n {children}\n </NextLabel>\n);\n\nexport default Label;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,iBAAAA;AAAA;AAAA;;;ACGA,kBAAkC;AAClC,wBAAe;AA4Bb;AARF,IAAM,QAAQ,CAAC;AAAA,EACb;AAAA,EACA,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,OAAO;AAAA,EACP,eAAe;AACjB,MACE;AAAA,EAAC,YAAAC;AAAA,EAAA;AAAA,IACC,eAAW,kBAAAC,SAAG,SAAS;AAAA,IACvB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IAEC;AAAA;AACH;AAGF,IAAO,gBAAQ;;;ADtCf,IAAOC,iBAAQ;","names":["Label_default","NextLabel","cn","Label_default"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,9 +1,9 @@
1
- import Label from './Label.cjs';
2
- export { LabelProps } from './Label.cjs';
1
+ import { L as Label } from '../Label-DzZDW95M.cjs';
2
+ export { a as LabelProps } from '../Label-DzZDW95M.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import '@nextui-org/chip';
5
5
  import 'react';
6
6
 
7
7
 
8
8
 
9
- export { Label as default };
9
+ export { Label, Label as default };
@@ -1,9 +1,9 @@
1
- import Label from './Label.js';
2
- export { LabelProps } from './Label.js';
1
+ import { L as Label } from '../Label-DzZDW95M.js';
2
+ export { a as LabelProps } from '../Label-DzZDW95M.js';
3
3
  import 'react/jsx-runtime';
4
4
  import '@nextui-org/chip';
5
5
  import 'react';
6
6
 
7
7
 
8
8
 
9
- export { Label as default };
9
+ export { Label, Label as default };
@@ -1,10 +1,9 @@
1
1
  import {
2
- Label_default
3
- } from "../chunk-CEUL4NWH.js";
4
-
5
- // src/Label/index.ts
6
- var Label_default2 = Label_default;
2
+ Label_default,
3
+ Label_default2
4
+ } from "../chunk-S2WOGSQV.js";
7
5
  export {
6
+ Label_default as Label,
8
7
  Label_default2 as default
9
8
  };
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Label/index.ts"],"sourcesContent":["import type { LabelProps } from './Label';\n\nimport Label from './Label';\n\nexport type { LabelProps };\nexport default Label;\n"],"mappings":";;;;;AAKA,IAAOA,iBAAQ;","names":["Label_default"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -21,4 +21,4 @@ interface LabelProps {
21
21
  */
22
22
  declare const Label: ({ children, className, color, endContent, size, startContent, }: LabelProps) => react_jsx_runtime.JSX.Element;
23
23
 
24
- export { type LabelProps, Label as default };
24
+ export { Label as L, type LabelProps as a };
@@ -21,4 +21,4 @@ interface LabelProps {
21
21
  */
22
22
  declare const Label: ({ children, className, color, endContent, size, startContent, }: LabelProps) => react_jsx_runtime.JSX.Element;
23
23
 
24
- export { type LabelProps, Label as default };
24
+ export { Label as L, type LabelProps as a };
@@ -1,109 +1,9 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
29
2
 
30
- // src/Menu/index.ts
31
- var Menu_exports = {};
32
- __export(Menu_exports, {
33
- default: () => Menu_default2
34
- });
35
- module.exports = __toCommonJS(Menu_exports);
36
3
 
37
- // src/Menu/Menu.tsx
38
- var import_fa6 = require("react-icons/fa6");
39
- var import_button = require("@nextui-org/button");
40
- var import_dropdown = require("@nextui-org/dropdown");
41
- var import_classnames = __toESM(require("classnames"), 1);
42
- var import_debug = __toESM(require("debug"), 1);
43
- var import_jsx_runtime = require("react/jsx-runtime");
44
- var debug = (0, import_debug.default)("component:Menu");
45
- var getDisabledKeys = (items) => {
46
- return items.map((item) => typeof item?.items === "undefined" ? item : item.items).flat().filter((item) => {
47
- return Object.hasOwn(item, "disabled") && item.disabled === true;
48
- }).map((item) => item.key);
49
- };
50
- var renderMenuItem = (item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
51
- import_dropdown.DropdownItem,
52
- {
53
- className: item.className,
54
- "data-testid": item.testId || item.key,
55
- description: item.description,
56
- onClick: item.onClick,
57
- startContent: item.icon,
58
- children: item.label
59
- },
60
- item.key
61
- );
62
- var Menu = ({
63
- children = null,
64
- className = void 0,
65
- onAction = void 0,
66
- testId = void 0,
67
- isDisabled = false,
68
- items
69
- }) => {
70
- debug("Menu", { items });
71
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dropdown.Dropdown, { isDisabled, children: [
72
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown.DropdownTrigger, { className: (0, import_classnames.default)(className), "data-testid": testId, children: children ? (
73
- // eslint-disable-next-line react/button-has-type
74
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { children })
75
- ) : (
76
- // INFO: we use next button here so that ref passing works
77
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_button.Button, { size: "sm", variant: "flat", className: "min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_fa6.FaEllipsisVertical, {}) })
78
- ) }),
79
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
80
- import_dropdown.DropdownMenu,
81
- {
82
- items,
83
- disabledKeys: getDisabledKeys(items),
84
- onAction,
85
- children: (item) => {
86
- if ("items" in item) {
87
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
88
- import_dropdown.DropdownSection,
89
- {
90
- items: item.items,
91
- title: item.label,
92
- children: (sectionItem) => {
93
- return renderMenuItem(sectionItem);
94
- }
95
- },
96
- item.key
97
- );
98
- }
99
- return renderMenuItem(item);
100
- }
101
- }
102
- )
103
- ] });
104
- };
105
- var Menu_default = Menu;
4
+ var _chunkDSSM3ANEcjs = require('../chunk-DSSM3ANE.cjs');
106
5
 
107
- // src/Menu/index.ts
108
- var Menu_default2 = Menu_default;
6
+
7
+
8
+ exports.Menu = _chunkDSSM3ANEcjs.Menu_default; exports.default = _chunkDSSM3ANEcjs.Menu_default2;
109
9
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Menu/index.ts","../../src/Menu/Menu.tsx"],"sourcesContent":["import type { MenuProps } from './Menu';\n\nimport Menu from './Menu';\n\nexport type { MenuProps };\nexport default Menu;\n","import type { DropdownSectionProps } from '@nextui-org/dropdown';\nimport type { Key, MouseEventHandler, ReactNode } from 'react';\n\nimport { FaEllipsisVertical } from 'react-icons/fa6';\n\nimport { Button } from '@nextui-org/button';\nimport {\n Dropdown as NextDropdown,\n DropdownItem as NextDropdownItem,\n DropdownMenu as NextDropdownMenu,\n DropdownSection as NextDropdownSection,\n DropdownTrigger as NextDropdownTrigger,\n} from '@nextui-org/dropdown';\nimport cn from 'classnames';\nimport createDebug from 'debug';\n\nconst debug = createDebug('component:Menu');\n\n/**\n * Menu item type\n */\nexport interface MenuItem {\n /** unique identifier */\n key: string;\n /** CSS class name */\n className?: string;\n /** additional description shown under the label */\n description?: string;\n /** disables the menu item */\n disabled?: boolean;\n /** menu item icon */\n icon?: ReactNode;\n /** menu item name */\n label: ReactNode;\n /** click event handler */\n onClick?: MouseEventHandler<HTMLLIElement>;\n /** e2e test identifier */\n testId?: string;\n}\n\n/**\n * Menu section type\n */\nexport interface MenuSection {\n /** unique identifier */\n key: string;\n /** section label */\n label: ReactNode;\n /** section items (array of MenuItem) */\n items: MenuItem[];\n}\n\nexport interface MenuProps {\n /** child components */\n children?: ReactNode;\n /** CSS class name */\n className?: string | string[];\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** menu item structure */\n items: (MenuSection | MenuItem)[];\n /** disable menu trigger */\n isDisabled?: boolean;\n /** called if item is selected */\n onAction?: (key: Key) => void;\n}\n\n/** returns String[] of disabled items/keys */\nconst getDisabledKeys = (items: (MenuSection | MenuItem)[]) => {\n return (\n items\n // @ts-expect-error typing issue with MenuSection | MenuItem\n .map((item) => (typeof item?.items === 'undefined' ? item : item.items))\n .flat<MenuItem[]>()\n .filter((item) => {\n return Object.hasOwn(item, 'disabled') && item.disabled === true;\n })\n .map((item) => item.key)\n );\n};\n\nconst renderMenuItem = (item: MenuItem) => (\n <NextDropdownItem\n className={item.className}\n data-testid={item.testId || item.key}\n description={item.description}\n key={item.key}\n onClick={item.onClick}\n startContent={item.icon}\n >\n {item.label}\n </NextDropdownItem>\n);\n\n/**\n * Dropdown menu component based on [NextUI Dropdown](https://nextui.org/docs/components/dropdown)\n */\nconst Menu = ({\n children = null,\n className = undefined,\n onAction = undefined,\n testId = undefined,\n isDisabled = false,\n items,\n}: MenuProps) => {\n debug('Menu', { items });\n\n return (\n <NextDropdown isDisabled={isDisabled}>\n <NextDropdownTrigger className={cn(className)} data-testid={testId}>\n {children ? (\n // eslint-disable-next-line react/button-has-type\n <button>{children}</button>\n ) : (\n // INFO: we use next button here so that ref passing works\n <Button size=\"sm\" variant=\"flat\" className=\"min-w-0\">\n <FaEllipsisVertical />\n </Button>\n )}\n </NextDropdownTrigger>\n <NextDropdownMenu\n // aria-label=\"Dynamic Actions\"\n items={items}\n disabledKeys={getDisabledKeys(items)}\n onAction={onAction}\n >\n {(item) => {\n if ('items' in item) {\n return (\n <NextDropdownSection\n items={item.items as MenuSection['items']}\n title={item.label as DropdownSectionProps['title']}\n key={item.key}\n >\n {/* @ts-expect-error ts problem here with render fn */}\n {(sectionItem) => {\n return renderMenuItem(sectionItem);\n }}\n </NextDropdownSection>\n );\n }\n return renderMenuItem(item);\n }}\n </NextDropdownMenu>\n </NextDropdown>\n );\n};\n\nexport default Menu;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,iBAAAA;AAAA;AAAA;;;ACGA,iBAAmC;AAEnC,oBAAuB;AACvB,sBAMO;AACP,wBAAe;AACf,mBAAwB;AAoEtB;AAlEF,IAAM,YAAQ,aAAAC,SAAY,gBAAgB;AAoD1C,IAAM,kBAAkB,CAAC,UAAsC;AAC7D,SACE,MAEG,IAAI,CAAC,SAAU,OAAO,MAAM,UAAU,cAAc,OAAO,KAAK,KAAM,EACtE,KAAiB,EACjB,OAAO,CAAC,SAAS;AAChB,WAAO,OAAO,OAAO,MAAM,UAAU,KAAK,KAAK,aAAa;AAAA,EAC9D,CAAC,EACA,IAAI,CAAC,SAAS,KAAK,GAAG;AAE7B;AAEA,IAAM,iBAAiB,CAAC,SACtB;AAAA,EAAC,gBAAAC;AAAA,EAAA;AAAA,IACC,WAAW,KAAK;AAAA,IAChB,eAAa,KAAK,UAAU,KAAK;AAAA,IACjC,aAAa,KAAK;AAAA,IAElB,SAAS,KAAK;AAAA,IACd,cAAc,KAAK;AAAA,IAElB,eAAK;AAAA;AAAA,EAJD,KAAK;AAKZ;AAMF,IAAM,OAAO,CAAC;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,SAAS;AAAA,EACT,aAAa;AAAA,EACb;AACF,MAAiB;AACf,QAAM,QAAQ,EAAE,MAAM,CAAC;AAEvB,SACE,6CAAC,gBAAAC,UAAA,EAAa,YACZ;AAAA,gDAAC,gBAAAC,iBAAA,EAAoB,eAAW,kBAAAC,SAAG,SAAS,GAAG,eAAa,QACzD;AAAA;AAAA,MAEC,4CAAC,YAAQ,UAAS;AAAA;AAAA;AAAA,MAGlB,4CAAC,wBAAO,MAAK,MAAK,SAAQ,QAAO,WAAU,WACzC,sDAAC,iCAAmB,GACtB;AAAA,OAEJ;AAAA,IACA;AAAA,MAAC,gBAAAC;AAAA,MAAA;AAAA,QAEC;AAAA,QACA,cAAc,gBAAgB,KAAK;AAAA,QACnC;AAAA,QAEC,WAAC,SAAS;AACT,cAAI,WAAW,MAAM;AACnB,mBACE;AAAA,cAAC,gBAAAC;AAAA,cAAA;AAAA,gBACC,OAAO,KAAK;AAAA,gBACZ,OAAO,KAAK;AAAA,gBAIX,WAAC,gBAAgB;AAChB,yBAAO,eAAe,WAAW;AAAA,gBACnC;AAAA;AAAA,cALK,KAAK;AAAA,YAMZ;AAAA,UAEJ;AACA,iBAAO,eAAe,IAAI;AAAA,QAC5B;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;AAEA,IAAO,eAAQ;;;AD/If,IAAOC,gBAAQ;","names":["Menu_default","createDebug","NextDropdownItem","NextDropdown","NextDropdownTrigger","cn","NextDropdownMenu","NextDropdownSection","Menu_default"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import Menu from './Menu.cjs';
2
- export { MenuProps } from './Menu.cjs';
1
+ import { M as Menu } from '../Menu-D50c3gIq.cjs';
2
+ export { a as MenuProps } from '../Menu-D50c3gIq.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
 
6
6
 
7
7
 
8
- export { Menu as default };
8
+ export { Menu, Menu as default };
@@ -1,8 +1,8 @@
1
- import Menu from './Menu.js';
2
- export { MenuProps } from './Menu.js';
1
+ import { M as Menu } from '../Menu-D50c3gIq.js';
2
+ export { a as MenuProps } from '../Menu-D50c3gIq.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
 
6
6
 
7
7
 
8
- export { Menu as default };
8
+ export { Menu, Menu as default };
@@ -1,10 +1,9 @@
1
1
  import {
2
- Menu_default
3
- } from "../chunk-Y35GJHOR.js";
4
-
5
- // src/Menu/index.ts
6
- var Menu_default2 = Menu_default;
2
+ Menu_default,
3
+ Menu_default2
4
+ } from "../chunk-J4OGTE6Z.js";
7
5
  export {
6
+ Menu_default as Menu,
8
7
  Menu_default2 as default
9
8
  };
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Menu/index.ts"],"sourcesContent":["import type { MenuProps } from './Menu';\n\nimport Menu from './Menu';\n\nexport type { MenuProps };\nexport default Menu;\n"],"mappings":";;;;;AAKA,IAAOA,gBAAQ;","names":["Menu_default"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode, MouseEventHandler, Key } from 'react';
2
+ import { ReactNode, Key, MouseEventHandler } from 'react';
3
3
 
4
4
  /**
5
5
  * Menu item type
@@ -52,4 +52,4 @@ interface MenuProps {
52
52
  */
53
53
  declare const Menu: ({ children, className, onAction, testId, isDisabled, items, }: MenuProps) => react_jsx_runtime.JSX.Element;
54
54
 
55
- export { type MenuItem, type MenuProps, type MenuSection, Menu as default };
55
+ export { Menu as M, type MenuProps as a };
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode, MouseEventHandler, Key } from 'react';
2
+ import { ReactNode, Key, MouseEventHandler } from 'react';
3
3
 
4
4
  /**
5
5
  * Menu item type
@@ -52,4 +52,4 @@ interface MenuProps {
52
52
  */
53
53
  declare const Menu: ({ children, className, onAction, testId, isDisabled, items, }: MenuProps) => react_jsx_runtime.JSX.Element;
54
54
 
55
- export { type MenuItem, type MenuProps, type MenuSection, Menu as default };
55
+ export { Menu as M, type MenuProps as a };
@@ -1,85 +1,9 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
29
2
 
30
- // src/Modal/index.ts
31
- var Modal_exports = {};
32
- __export(Modal_exports, {
33
- default: () => Modal_default2
34
- });
35
- module.exports = __toCommonJS(Modal_exports);
36
3
 
37
- // src/Modal/Modal.tsx
38
- var import_modal = require("@nextui-org/modal");
39
- var import_classnames = __toESM(require("classnames"), 1);
40
- var import_debug = __toESM(require("debug"), 1);
41
- var import_jsx_runtime = require("react/jsx-runtime");
42
- var debug = (0, import_debug.default)("component:Modal");
43
- var Modal = ({
44
- children = null,
45
- className = void 0,
46
- footer = void 0,
47
- isOpen,
48
- onClose,
49
- size = "md",
50
- testId = void 0,
51
- title = void 0
52
- }) => {
53
- debug("Modal", { size });
54
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_classnames.default)(className), "data-testid": testId, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
55
- import_modal.Modal,
56
- {
57
- backdrop: "opaque",
58
- classNames: {
59
- base: (0, import_classnames.default)(
60
- {
61
- "lg:w-11/12": size === "lg",
62
- "w-2/12": size === "sm",
63
- "w-6/12": size === "md"
64
- },
65
- // overwrite !rounded-none from nextui
66
- "!rounded-lg"
67
- )
68
- },
69
- isOpen,
70
- onClose,
71
- scrollBehavior: "inside",
72
- size: "full",
73
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_modal.ModalContent, { "data-testid": testId ? `${testId}_modal` : "modal", children: () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
74
- title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_modal.ModalHeader, { children: title }),
75
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_modal.ModalBody, { className: "bg-ex-background", children }),
76
- footer && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_modal.ModalFooter, { children: footer })
77
- ] }) })
78
- }
79
- ) });
80
- };
81
- var Modal_default = Modal;
4
+ var _chunkSTEC6TAQcjs = require('../chunk-STEC6TAQ.cjs');
82
5
 
83
- // src/Modal/index.ts
84
- var Modal_default2 = Modal_default;
6
+
7
+
8
+ exports.Modal = _chunkSTEC6TAQcjs.Modal_default; exports.default = _chunkSTEC6TAQcjs.Modal_default2;
85
9
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Modal/index.ts","../../src/Modal/Modal.tsx"],"sourcesContent":["import type { ModalProps } from './Modal';\n\nimport Modal from './Modal';\n\nexport type { ModalProps };\nexport default Modal;\n","import type { ReactNode } from 'react';\n\nimport {\n Modal as NextModal,\n ModalBody as NextModalBody,\n ModalContent as NextModalContent,\n ModalFooter as NextModalFooter,\n ModalHeader as NextModalHeader,\n} from '@nextui-org/modal';\nimport cn from 'classnames';\nimport createDebug from 'debug';\n\nconst debug = createDebug('component:Modal');\n\nexport const ModalSizeOptions = ['sm', 'md', 'lg'] as const;\ntype ModalSize = (typeof ModalSizeOptions)[number];\n\nexport interface ModalProps {\n /** child components */\n children?: ReactNode;\n /** CSS class name */\n className?: string | string[];\n /** HTML data-testid attribute used in e2e tests */\n footer?: ReactNode;\n /** open state (controlled) */\n isOpen: boolean;\n /** close event handler */\n onClose: () => void;\n /** modal size */\n size?: ModalSize;\n /** e2e test id */\n testId?: string;\n /** modal header */\n title?: ReactNode;\n}\n\n/**\n * Modal component based on [NextUI Modal](https://nextui.org/docs/components/modal)\n */\nconst Modal = ({\n children = null,\n className = undefined,\n footer = undefined,\n isOpen,\n onClose,\n size = 'md',\n testId = undefined,\n title = undefined,\n}: ModalProps) => {\n debug('Modal', { size });\n return (\n <div className={cn(className)} data-testid={testId}>\n <NextModal\n backdrop=\"opaque\"\n classNames={{\n base: cn(\n {\n 'lg:w-11/12': size === 'lg',\n 'w-2/12': size === 'sm',\n 'w-6/12': size === 'md',\n },\n // overwrite !rounded-none from nextui\n '!rounded-lg',\n ),\n }}\n isOpen={isOpen}\n onClose={onClose}\n scrollBehavior=\"inside\"\n size=\"full\"\n >\n <NextModalContent data-testid={testId ? `${testId}_modal` : 'modal'}>\n {() => (\n <>\n {title && <NextModalHeader>{title}</NextModalHeader>}\n <NextModalBody className=\"bg-ex-background\">\n {children}\n </NextModalBody>\n {footer && <NextModalFooter>{footer}</NextModalFooter>}\n </>\n )}\n </NextModalContent>\n </NextModal>\n </div>\n );\n};\n\nexport default Modal;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,iBAAAA;AAAA;AAAA;;;ACEA,mBAMO;AACP,wBAAe;AACf,mBAAwB;AA8DZ;AA5DZ,IAAM,YAAQ,aAAAC,SAAY,iBAAiB;AA2B3C,IAAM,QAAQ,CAAC;AAAA,EACb,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,SAAS;AAAA,EACT;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AACV,MAAkB;AAChB,QAAM,SAAS,EAAE,KAAK,CAAC;AACvB,SACE,4CAAC,SAAI,eAAW,kBAAAC,SAAG,SAAS,GAAG,eAAa,QAC1C;AAAA,IAAC,aAAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,YAAY;AAAA,QACV,UAAM,kBAAAD;AAAA,UACJ;AAAA,YACE,cAAc,SAAS;AAAA,YACvB,UAAU,SAAS;AAAA,YACnB,UAAU,SAAS;AAAA,UACrB;AAAA;AAAA,UAEA;AAAA,QACF;AAAA,MACF;AAAA,MACA;AAAA,MACA;AAAA,MACA,gBAAe;AAAA,MACf,MAAK;AAAA,MAEL,sDAAC,aAAAE,cAAA,EAAiB,eAAa,SAAS,GAAG,MAAM,WAAW,SACzD,gBACC,4EACG;AAAA,iBAAS,4CAAC,aAAAC,aAAA,EAAiB,iBAAM;AAAA,QAClC,4CAAC,aAAAC,WAAA,EAAc,WAAU,oBACtB,UACH;AAAA,QACC,UAAU,4CAAC,aAAAC,aAAA,EAAiB,kBAAO;AAAA,SACtC,GAEJ;AAAA;AAAA,EACF,GACF;AAEJ;AAEA,IAAO,gBAAQ;;;ADjFf,IAAOC,iBAAQ;","names":["Modal_default","createDebug","cn","NextModal","NextModalContent","NextModalHeader","NextModalBody","NextModalFooter","Modal_default"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import Modal from './Modal.cjs';
2
- export { ModalProps } from './Modal.cjs';
1
+ import { M as Modal } from '../Modal-CSxNe0bS.cjs';
2
+ export { a as ModalProps } from '../Modal-CSxNe0bS.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
 
6
6
 
7
7
 
8
- export { Modal as default };
8
+ export { Modal, Modal as default };
@@ -1,8 +1,8 @@
1
- import Modal from './Modal.js';
2
- export { ModalProps } from './Modal.js';
1
+ import { M as Modal } from '../Modal-CSxNe0bS.js';
2
+ export { a as ModalProps } from '../Modal-CSxNe0bS.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
 
6
6
 
7
7
 
8
- export { Modal as default };
8
+ export { Modal, Modal as default };
@@ -1,10 +1,9 @@
1
1
  import {
2
- Modal_default
3
- } from "../chunk-EYUTNORZ.js";
4
-
5
- // src/Modal/index.ts
6
- var Modal_default2 = Modal_default;
2
+ Modal_default,
3
+ Modal_default2
4
+ } from "../chunk-MBQA3LPM.js";
7
5
  export {
6
+ Modal_default as Modal,
8
7
  Modal_default2 as default
9
8
  };
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Modal/index.ts"],"sourcesContent":["import type { ModalProps } from './Modal';\n\nimport Modal from './Modal';\n\nexport type { ModalProps };\nexport default Modal;\n"],"mappings":";;;;;AAKA,IAAOA,iBAAQ;","names":["Modal_default"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -26,4 +26,4 @@ interface ModalProps {
26
26
  */
27
27
  declare const Modal: ({ children, className, footer, isOpen, onClose, size, testId, title, }: ModalProps) => react_jsx_runtime.JSX.Element;
28
28
 
29
- export { type ModalProps, ModalSizeOptions, Modal as default };
29
+ export { Modal as M, type ModalProps as a };
@@ -26,4 +26,4 @@ interface ModalProps {
26
26
  */
27
27
  declare const Modal: ({ children, className, footer, isOpen, onClose, size, testId, title, }: ModalProps) => react_jsx_runtime.JSX.Element;
28
28
 
29
- export { type ModalProps, ModalSizeOptions, Modal as default };
29
+ export { Modal as M, type ModalProps as a };