@makroz/web 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/components/MkAccordion.module.css +79 -0
  2. package/dist/components/MkAlert.module.css +103 -0
  3. package/dist/components/MkAvatar.module.css +62 -0
  4. package/dist/components/MkBadge.module.css +74 -0
  5. package/dist/components/MkButton.module.css +85 -0
  6. package/dist/components/MkCard.module.css +63 -0
  7. package/dist/components/MkCheck.module.css +87 -0
  8. package/dist/components/MkDatePicker.module.css +77 -0
  9. package/dist/components/MkDivider.module.css +39 -0
  10. package/dist/components/MkDropDown.module.css +108 -0
  11. package/dist/components/MkEmptyState.module.css +35 -0
  12. package/dist/components/MkFileUpload.module.css +74 -0
  13. package/dist/components/MkInfiniteList.module.css +69 -0
  14. package/dist/components/MkInput.module.css +94 -0
  15. package/dist/components/MkLoading.module.css +39 -0
  16. package/dist/components/MkModal.module.css +107 -0
  17. package/dist/components/MkProgressBar.module.css +48 -0
  18. package/dist/components/MkRadio.module.css +74 -0
  19. package/dist/components/MkSearchInput.module.css +80 -0
  20. package/dist/components/MkSelect.module.css +177 -0
  21. package/dist/components/MkSkeleton.module.css +28 -0
  22. package/dist/components/MkSwitch.module.css +108 -0
  23. package/dist/components/MkTable.module.css +163 -0
  24. package/dist/components/MkTabs.module.css +117 -0
  25. package/dist/components/MkThemeEditor.module.css +177 -0
  26. package/dist/components/MkToastContainer.module.css +95 -0
  27. package/dist/components/MkTooltip.module.css +43 -0
  28. package/dist/components/MkWindowList.module.css +59 -0
  29. package/dist/context/MkAuthContext.d.ts +14 -0
  30. package/dist/context/MkAuthContext.d.ts.map +1 -1
  31. package/dist/context/MkAuthContext.js +9 -0
  32. package/dist/context/MkAuthContext.js.map +1 -1
  33. package/dist/hooks/useApi.d.ts +8 -8
  34. package/dist/hooks/useApi.d.ts.map +1 -1
  35. package/dist/hooks/useApi.js +7 -6
  36. package/dist/hooks/useApi.js.map +1 -1
  37. package/dist/hooks/useMkInfiniteList.d.ts +1 -1
  38. package/dist/hooks/useMkInfiniteList.d.ts.map +1 -1
  39. package/dist/hooks/useMkInfiniteList.js +9 -4
  40. package/dist/hooks/useMkInfiniteList.js.map +1 -1
  41. package/dist/hooks/useMkList.d.ts +29 -11
  42. package/dist/hooks/useMkList.d.ts.map +1 -1
  43. package/dist/hooks/useMkList.js.map +1 -1
  44. package/dist/styles/index.css +124 -0
  45. package/dist/theme/MkThemeProvider.d.ts.map +1 -1
  46. package/dist/theme/MkThemeProvider.js +34 -28
  47. package/dist/theme/MkThemeProvider.js.map +1 -1
  48. package/package.json +19 -19
  49. package/LICENSE +0 -33
  50. package/dist/components/MkAccordion.stories.test.d.ts +0 -2
  51. package/dist/components/MkAccordion.stories.test.d.ts.map +0 -1
  52. package/dist/components/MkAccordion.stories.test.js +0 -18
  53. package/dist/components/MkAccordion.stories.test.js.map +0 -1
  54. package/dist/components/MkAlert.stories.test.d.ts +0 -2
  55. package/dist/components/MkAlert.stories.test.d.ts.map +0 -1
  56. package/dist/components/MkAlert.stories.test.js +0 -16
  57. package/dist/components/MkAlert.stories.test.js.map +0 -1
  58. package/dist/components/MkAvatar.stories.test.d.ts +0 -2
  59. package/dist/components/MkAvatar.stories.test.d.ts.map +0 -1
  60. package/dist/components/MkAvatar.stories.test.js +0 -16
  61. package/dist/components/MkAvatar.stories.test.js.map +0 -1
  62. package/dist/components/MkBadge.stories.test.d.ts +0 -2
  63. package/dist/components/MkBadge.stories.test.d.ts.map +0 -1
  64. package/dist/components/MkBadge.stories.test.js +0 -16
  65. package/dist/components/MkBadge.stories.test.js.map +0 -1
  66. package/dist/components/MkButton.test.d.ts +0 -2
  67. package/dist/components/MkButton.test.d.ts.map +0 -1
  68. package/dist/components/MkButton.test.js +0 -56
  69. package/dist/components/MkButton.test.js.map +0 -1
  70. package/dist/components/MkCheck.stories.test.d.ts +0 -2
  71. package/dist/components/MkCheck.stories.test.d.ts.map +0 -1
  72. package/dist/components/MkCheck.stories.test.js +0 -16
  73. package/dist/components/MkCheck.stories.test.js.map +0 -1
  74. package/dist/components/MkDatePicker.stories.test.d.ts +0 -2
  75. package/dist/components/MkDatePicker.stories.test.d.ts.map +0 -1
  76. package/dist/components/MkDatePicker.stories.test.js +0 -16
  77. package/dist/components/MkDatePicker.stories.test.js.map +0 -1
  78. package/dist/components/MkDivider.stories.test.d.ts +0 -2
  79. package/dist/components/MkDivider.stories.test.d.ts.map +0 -1
  80. package/dist/components/MkDivider.stories.test.js +0 -15
  81. package/dist/components/MkDivider.stories.test.js.map +0 -1
  82. package/dist/components/MkDropDown.stories.test.d.ts +0 -2
  83. package/dist/components/MkDropDown.stories.test.d.ts.map +0 -1
  84. package/dist/components/MkDropDown.stories.test.js +0 -18
  85. package/dist/components/MkDropDown.stories.test.js.map +0 -1
  86. package/dist/components/MkEmptyState.stories.test.d.ts +0 -2
  87. package/dist/components/MkEmptyState.stories.test.d.ts.map +0 -1
  88. package/dist/components/MkEmptyState.stories.test.js +0 -15
  89. package/dist/components/MkEmptyState.stories.test.js.map +0 -1
  90. package/dist/components/MkFileUpload.stories.test.d.ts +0 -2
  91. package/dist/components/MkFileUpload.stories.test.d.ts.map +0 -1
  92. package/dist/components/MkFileUpload.stories.test.js +0 -15
  93. package/dist/components/MkFileUpload.stories.test.js.map +0 -1
  94. package/dist/components/MkInfiniteList.stories.test.d.ts +0 -2
  95. package/dist/components/MkInfiniteList.stories.test.d.ts.map +0 -1
  96. package/dist/components/MkInfiniteList.stories.test.js +0 -24
  97. package/dist/components/MkInfiniteList.stories.test.js.map +0 -1
  98. package/dist/components/MkInput.stories.test.d.ts +0 -2
  99. package/dist/components/MkInput.stories.test.d.ts.map +0 -1
  100. package/dist/components/MkInput.stories.test.js +0 -16
  101. package/dist/components/MkInput.stories.test.js.map +0 -1
  102. package/dist/components/MkLoading.stories.test.d.ts +0 -2
  103. package/dist/components/MkLoading.stories.test.d.ts.map +0 -1
  104. package/dist/components/MkLoading.stories.test.js +0 -15
  105. package/dist/components/MkLoading.stories.test.js.map +0 -1
  106. package/dist/components/MkProgressBar.stories.test.d.ts +0 -2
  107. package/dist/components/MkProgressBar.stories.test.d.ts.map +0 -1
  108. package/dist/components/MkProgressBar.stories.test.js +0 -15
  109. package/dist/components/MkProgressBar.stories.test.js.map +0 -1
  110. package/dist/components/MkRadio.stories.test.d.ts +0 -2
  111. package/dist/components/MkRadio.stories.test.d.ts.map +0 -1
  112. package/dist/components/MkRadio.stories.test.js +0 -18
  113. package/dist/components/MkRadio.stories.test.js.map +0 -1
  114. package/dist/components/MkSearchInput.stories.test.d.ts +0 -2
  115. package/dist/components/MkSearchInput.stories.test.d.ts.map +0 -1
  116. package/dist/components/MkSearchInput.stories.test.js +0 -15
  117. package/dist/components/MkSearchInput.stories.test.js.map +0 -1
  118. package/dist/components/MkSelect.stories.test.d.ts +0 -2
  119. package/dist/components/MkSelect.stories.test.d.ts.map +0 -1
  120. package/dist/components/MkSelect.stories.test.js +0 -21
  121. package/dist/components/MkSelect.stories.test.js.map +0 -1
  122. package/dist/components/MkSkeleton.stories.test.d.ts +0 -2
  123. package/dist/components/MkSkeleton.stories.test.d.ts.map +0 -1
  124. package/dist/components/MkSkeleton.stories.test.js +0 -15
  125. package/dist/components/MkSkeleton.stories.test.js.map +0 -1
  126. package/dist/components/MkSwitch.stories.test.d.ts +0 -2
  127. package/dist/components/MkSwitch.stories.test.d.ts.map +0 -1
  128. package/dist/components/MkSwitch.stories.test.js +0 -15
  129. package/dist/components/MkSwitch.stories.test.js.map +0 -1
  130. package/dist/components/MkTable.stories.test.d.ts +0 -2
  131. package/dist/components/MkTable.stories.test.d.ts.map +0 -1
  132. package/dist/components/MkTable.stories.test.js +0 -25
  133. package/dist/components/MkTable.stories.test.js.map +0 -1
  134. package/dist/components/MkTextArea.stories.test.d.ts +0 -2
  135. package/dist/components/MkTextArea.stories.test.d.ts.map +0 -1
  136. package/dist/components/MkTextArea.stories.test.js +0 -15
  137. package/dist/components/MkTextArea.stories.test.js.map +0 -1
  138. package/dist/components/MkToastContainer.stories.test.d.ts +0 -2
  139. package/dist/components/MkToastContainer.stories.test.d.ts.map +0 -1
  140. package/dist/components/MkToastContainer.stories.test.js +0 -29
  141. package/dist/components/MkToastContainer.stories.test.js.map +0 -1
  142. package/dist/components/MkTooltip.stories.test.d.ts +0 -2
  143. package/dist/components/MkTooltip.stories.test.d.ts.map +0 -1
  144. package/dist/components/MkTooltip.stories.test.js +0 -15
  145. package/dist/components/MkTooltip.stories.test.js.map +0 -1
  146. package/dist/components/MkWindowList.stories.test.d.ts +0 -2
  147. package/dist/components/MkWindowList.stories.test.d.ts.map +0 -1
  148. package/dist/components/MkWindowList.stories.test.js +0 -19
  149. package/dist/components/MkWindowList.stories.test.js.map +0 -1
  150. package/dist/hooks/useApi.test.d.ts +0 -2
  151. package/dist/hooks/useApi.test.d.ts.map +0 -1
  152. package/dist/hooks/useApi.test.js +0 -184
  153. package/dist/hooks/useApi.test.js.map +0 -1
  154. package/dist/hooks/useMkCrud.test.d.ts +0 -2
  155. package/dist/hooks/useMkCrud.test.d.ts.map +0 -1
  156. package/dist/hooks/useMkCrud.test.js +0 -87
  157. package/dist/hooks/useMkCrud.test.js.map +0 -1
  158. package/dist/hooks/useMkForm.test.d.ts +0 -2
  159. package/dist/hooks/useMkForm.test.d.ts.map +0 -1
  160. package/dist/hooks/useMkForm.test.js +0 -81
  161. package/dist/hooks/useMkForm.test.js.map +0 -1
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkDatePicker.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkDatePicker.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkDatePicker.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkDatePicker — generates `__snapshots__/MkDatePicker.stories.snap`.
4
- * Required by R-MK-002 stories coverage rule (mk:lint:stories).
5
- */
6
- import { describe, it, expect, afterEach } from 'vitest';
7
- import { render, cleanup } from '@testing-library/react';
8
- import { MkDatePicker } from './MkDatePicker';
9
- describe('MkDatePicker story smoke', () => {
10
- afterEach(cleanup);
11
- it('renders with value', () => {
12
- const { container } = render(_jsx(MkDatePicker, { label: "Birthday", value: "1990-04-15" }));
13
- expect(container.firstChild).toMatchSnapshot();
14
- });
15
- });
16
- //# sourceMappingURL=MkDatePicker.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkDatePicker.stories.test.js","sourceRoot":"","sources":["../../src/components/MkDatePicker.stories.test.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACtC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,YAAY,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,YAAY,GAAG,CACvD,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkDivider.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkDivider.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkDivider.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkDivider — required by R-MK-002 (mk:lint:stories).
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkDivider } from './MkDivider';
8
- describe('MkDivider story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with label', () => {
11
- const { container } = render(_jsx(MkDivider, { label: "or continue with" }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkDivider.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkDivider.stories.test.js","sourceRoot":"","sources":["../../src/components/MkDivider.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACnC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,SAAS,IAAC,KAAK,EAAC,kBAAkB,GAAG,CAAC,CAAC;QACrE,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkDropDown.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkDropDown.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkDropDown.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkDropDown — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach, vi } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkDropDown } from './MkDropDown';
8
- describe('MkDropDown story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with options', () => {
11
- const { container } = render(_jsx(MkDropDown, { options: [
12
- { value: 'edit', label: 'Edit' },
13
- { value: 'delete', label: 'Delete' },
14
- ], onSelect: vi.fn() }));
15
- expect(container.firstChild).toMatchSnapshot();
16
- });
17
- });
18
- //# sourceMappingURL=MkDropDown.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkDropDown.stories.test.js","sourceRoot":"","sources":["../../src/components/MkDropDown.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACpC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC5B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,UAAU,IACP,OAAO,EAAE;gBACL,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;gBAChC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;aACvC,EACD,QAAQ,EAAE,EAAE,CAAC,EAAE,EAAE,GACnB,CACL,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkEmptyState.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkEmptyState.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkEmptyState.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkEmptyState — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkEmptyState } from './MkEmptyState';
8
- describe('MkEmptyState story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with title and description', () => {
11
- const { container } = render(_jsx(MkEmptyState, { title: "No hay datos", description: "Crea el primer registro para empezar.", action: _jsx("button", { children: "Crear" }) }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkEmptyState.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkEmptyState.stories.test.js","sourceRoot":"","sources":["../../src/components/MkEmptyState.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACtC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC1C,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,YAAY,IACT,KAAK,EAAC,cAAc,EACpB,WAAW,EAAC,uCAAuC,EACnD,MAAM,EAAE,qCAAsB,GAChC,CACL,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkFileUpload.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkFileUpload.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkFileUpload.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkFileUpload — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach, vi } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkFileUpload } from './MkFileUpload';
8
- describe('MkFileUpload story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders default', () => {
11
- const { container } = render(_jsx(MkFileUpload, { onFiles: vi.fn(), label: "Sube un archivo" }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkFileUpload.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkFileUpload.stories.test.js","sourceRoot":"","sources":["../../src/components/MkFileUpload.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACtC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE;QACvB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,YAAY,IAAC,OAAO,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,EAAC,iBAAiB,GAAG,CAC7D,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkInfiniteList.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkInfiniteList.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkInfiniteList.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,24 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkInfiniteList — required by R-MK-002.
4
- *
5
- * Note: jsdom's IntersectionObserver is not implemented natively,
6
- * so onLoadMore will not be triggered by the observer. We just
7
- * render the items as-is. The snapshot captures the component
8
- * structure.
9
- */
10
- import { describe, it, expect, afterEach, vi } from 'vitest';
11
- import { render, cleanup } from '@testing-library/react';
12
- import { MkInfiniteList } from './MkInfiniteList';
13
- describe('MkInfiniteList story smoke', () => {
14
- afterEach(cleanup);
15
- it('renders with items', () => {
16
- const { container } = render(_jsx(MkInfiniteList, { items: [
17
- { id: 1, name: 'A' },
18
- { id: 2, name: 'B' },
19
- { id: 3, name: 'C' },
20
- ], renderItem: (item) => _jsx("div", { children: item.name }, item.id), hasMore: true, loading: false, onLoadMore: vi.fn() }));
21
- expect(container.firstChild).toMatchSnapshot();
22
- });
23
- });
24
- //# sourceMappingURL=MkInfiniteList.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkInfiniteList.stories.test.js","sourceRoot":"","sources":["../../src/components/MkInfiniteList.stories.test.tsx"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IACxC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,cAAc,IACX,KAAK,EAAE;gBACH,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE;gBACpB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE;gBACpB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE;aACvB,EACD,UAAU,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,wBAAoB,IAAI,CAAC,IAAI,IAAnB,IAAI,CAAC,EAAE,CAAmB,EAC/D,OAAO,QACP,OAAO,EAAE,KAAK,EACd,UAAU,EAAE,EAAE,CAAC,EAAE,EAAE,GACrB,CACL,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkInput.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkInput.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkInput.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkInput — generates `__snapshots__/MkInput.stories.snap`.
4
- * Required by R-MK-002 stories coverage rule (mk:lint:stories).
5
- */
6
- import { describe, it, expect, afterEach } from 'vitest';
7
- import { render, cleanup } from '@testing-library/react';
8
- import { MkInput } from './MkInput';
9
- describe('MkInput story smoke', () => {
10
- afterEach(cleanup);
11
- it('renders default', () => {
12
- const { container } = render(_jsx(MkInput, { placeholder: "Enter your name" }));
13
- expect(container.firstChild).toMatchSnapshot();
14
- });
15
- });
16
- //# sourceMappingURL=MkInput.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkInput.stories.test.js","sourceRoot":"","sources":["../../src/components/MkInput.stories.test.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE;QACvB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,iBAAiB,GAAG,CAAC,CAAC;QACxE,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkLoading.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkLoading.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkLoading.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkLoading — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkLoading } from './MkLoading';
8
- describe('MkLoading story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with label', () => {
11
- const { container } = render(_jsx(MkLoading, { label: "Cargando..." }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkLoading.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkLoading.stories.test.js","sourceRoot":"","sources":["../../src/components/MkLoading.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACnC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,SAAS,IAAC,KAAK,EAAC,aAAa,GAAG,CAAC,CAAC;QAChE,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkProgressBar.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkProgressBar.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkProgressBar.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkProgressBar — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkProgressBar } from './MkProgressBar';
8
- describe('MkProgressBar story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with label and percent', () => {
11
- const { container } = render(_jsx(MkProgressBar, { value: 65, label: "Progreso", showPercent: true }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkProgressBar.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkProgressBar.stories.test.js","sourceRoot":"","sources":["../../src/components/MkProgressBar.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACvC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACtC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,aAAa,IAAC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAC,UAAU,EAAC,WAAW,SAAG,CAC5D,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkRadio.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkRadio.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkRadio.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkRadio — required by R-MK-002 (mk:lint:stories).
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkRadio } from './MkRadio';
8
- describe('MkRadio story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with options', () => {
11
- const { container } = render(_jsx(MkRadio, { label: "G\u00E9nero", options: [
12
- { value: 'M', label: 'Masculino' },
13
- { value: 'F', label: 'Femenino' },
14
- ] }));
15
- expect(container.firstChild).toMatchSnapshot();
16
- });
17
- });
18
- //# sourceMappingURL=MkRadio.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkRadio.stories.test.js","sourceRoot":"","sources":["../../src/components/MkRadio.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC5B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,OAAO,IACJ,KAAK,EAAC,aAAQ,EACd,OAAO,EAAE;gBACL,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;gBAClC,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE;aACpC,GACH,CACL,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkSearchInput.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSearchInput.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkSearchInput.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkSearchInput — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach, vi } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkSearchInput } from './MkSearchInput';
8
- describe('MkSearchInput story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with placeholder', () => {
11
- const { container } = render(_jsx(MkSearchInput, { onSearch: vi.fn(), placeholder: "Buscar..." }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkSearchInput.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSearchInput.stories.test.js","sourceRoot":"","sources":["../../src/components/MkSearchInput.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACvC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,0BAA0B,EAAE,GAAG,EAAE;QAChC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,aAAa,IAAC,QAAQ,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,WAAW,EAAC,WAAW,GAAG,CAC/D,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkSelect.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSelect.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkSelect.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkSelect — generates `__snapshots__/MkSelect.stories.snap`.
4
- * Required by R-MK-002 stories coverage rule (mk:lint:stories).
5
- */
6
- import { describe, it, expect, afterEach } from 'vitest';
7
- import { render, cleanup } from '@testing-library/react';
8
- import { MkSelect } from './MkSelect';
9
- const FRUITS = [
10
- { label: 'Apple', value: 'apple' },
11
- { label: 'Banana', value: 'banana' },
12
- { label: 'Cherry', value: 'cherry' },
13
- ];
14
- describe('MkSelect story smoke', () => {
15
- afterEach(cleanup);
16
- it('renders with options', () => {
17
- const { container } = render(_jsx(MkSelect, { label: "Pick a fruit", options: FRUITS }));
18
- expect(container.firstChild).toMatchSnapshot();
19
- });
20
- });
21
- //# sourceMappingURL=MkSelect.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSelect.stories.test.js","sourceRoot":"","sources":["../../src/components/MkSelect.stories.test.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,GAAG;IACX,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAClC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;CACvC,CAAC;AAEF,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC5B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,QAAQ,IAAC,KAAK,EAAC,cAAc,EAAC,OAAO,EAAE,MAAM,GAAI,CACrD,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkSkeleton.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSkeleton.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkSkeleton.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkSkeleton — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkSkeleton } from './MkSkeleton';
8
- describe('MkSkeleton story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders text lines', () => {
11
- const { container } = render(_jsx(MkSkeleton, { variant: "text", lines: 3 }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkSkeleton.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSkeleton.stories.test.js","sourceRoot":"","sources":["../../src/components/MkSkeleton.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACpC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,UAAU,IAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,CAAC,GAAI,CAAC,CAAC;QACtE,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkSwitch.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSwitch.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkSwitch.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkSwitch — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkSwitch } from './MkSwitch';
8
- describe('MkSwitch story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders on', () => {
11
- const { container } = render(_jsx(MkSwitch, { label: "Enabled", checked: true }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkSwitch.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkSwitch.stories.test.js","sourceRoot":"","sources":["../../src/components/MkSwitch.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;QAClB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,SAAG,CAAC,CAAC;QACnE,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkTable.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkTable.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkTable.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkTable — generates `__snapshots__/MkTable.stories.snap`.
4
- * Required by R-MK-002 stories coverage rule (mk:lint:stories).
5
- */
6
- import { describe, it, expect, afterEach } from 'vitest';
7
- import { render, cleanup } from '@testing-library/react';
8
- import { MkTable } from './MkTable';
9
- const SAMPLE_USERS = [
10
- { id: 1, name: 'Mario Guzman', email: 'mario@makromania.com' },
11
- { id: 2, name: 'Ana López', email: 'ana@example.com' },
12
- ];
13
- const COLUMNS = [
14
- { key: 'id', label: 'ID' },
15
- { key: 'name', label: 'Name' },
16
- { key: 'email', label: 'Email' },
17
- ];
18
- describe('MkTable story smoke', () => {
19
- afterEach(cleanup);
20
- it('renders with rows', () => {
21
- const { container } = render(_jsx(MkTable, { data: SAMPLE_USERS, columns: COLUMNS }));
22
- expect(container.firstChild).toMatchSnapshot();
23
- });
24
- });
25
- //# sourceMappingURL=MkTable.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkTable.stories.test.js","sourceRoot":"","sources":["../../src/components/MkTable.stories.test.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,MAAM,YAAY,GAAW;IACzB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,sBAAsB,EAAE;IAC9D,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,EAAE;CACzD,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;IAC1B,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IAC9B,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;CACnC,CAAC;AAEF,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QACzB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,OAAO,IAAO,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAc,GAAI,CACjE,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkTextArea.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkTextArea.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkTextArea.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkTextArea — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkTextArea } from './MkTextArea';
8
- describe('MkTextArea story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with label', () => {
11
- const { container } = render(_jsx(MkTextArea, { label: "Description", value: "Some text content" }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkTextArea.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkTextArea.stories.test.js","sourceRoot":"","sources":["../../src/components/MkTextArea.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACpC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,UAAU,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,mBAAmB,GAAG,CAC/D,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkToastContainer.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkToastContainer.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkToastContainer.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,29 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkToastContainer — generates
4
- * `__snapshots__/MkToastContainer.stories.snap`. Required by R-MK-002.
5
- *
6
- * Note: this one is special — MkToastContainer depends on MkToastProvider
7
- * being mounted in the tree. We use a helper component to fire a single
8
- * toast on mount, then render the container.
9
- */
10
- import { describe, it, expect, afterEach } from 'vitest';
11
- import { render, cleanup } from '@testing-library/react';
12
- import { MkToastProvider, useMkToast } from '../context/MkToastContext';
13
- import { MkToastContainer } from './MkToastContainer';
14
- import React from 'react';
15
- const ToastFirer = () => {
16
- const { showToast } = useMkToast();
17
- React.useEffect(() => {
18
- showToast('Your changes were saved.', { type: 'success', title: 'Saved' });
19
- }, [showToast]);
20
- return null;
21
- };
22
- describe('MkToastContainer story smoke', () => {
23
- afterEach(cleanup);
24
- it('renders with one toast', () => {
25
- const { container } = render(_jsxs(MkToastProvider, { children: [_jsx(ToastFirer, {}), _jsx(MkToastContainer, {})] }));
26
- expect(container).toMatchSnapshot();
27
- });
28
- });
29
- //# sourceMappingURL=MkToastContainer.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkToastContainer.stories.test.js","sourceRoot":"","sources":["../../src/components/MkToastContainer.stories.test.tsx"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,UAAU,GAAa,GAAG,EAAE;IAC9B,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,EAAE,CAAC;IACnC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,SAAS,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAChB,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEF,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC1C,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAC9B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,MAAC,eAAe,eACZ,KAAC,UAAU,KAAG,EACd,KAAC,gBAAgB,KAAG,IACN,CACrB,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,CAAC,eAAe,EAAE,CAAC;IACxC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkTooltip.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkTooltip.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkTooltip.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkTooltip — required by R-MK-002.
4
- */
5
- import { describe, it, expect, afterEach } from 'vitest';
6
- import { render, cleanup } from '@testing-library/react';
7
- import { MkTooltip } from './MkTooltip';
8
- describe('MkTooltip story smoke', () => {
9
- afterEach(cleanup);
10
- it('renders with content', () => {
11
- const { container } = render(_jsx(MkTooltip, { content: "A helpful hint", position: "top", children: _jsx("button", { children: "Trigger" }) }));
12
- expect(container.firstChild).toMatchSnapshot();
13
- });
14
- });
15
- //# sourceMappingURL=MkTooltip.stories.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkTooltip.stories.test.js","sourceRoot":"","sources":["../../src/components/MkTooltip.stories.test.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACnC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnB,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC5B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CACxB,KAAC,SAAS,IAAC,OAAO,EAAC,gBAAgB,EAAC,QAAQ,EAAC,KAAK,YAC9C,uCAAwB,GAChB,CACf,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MkWindowList.stories.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MkWindowList.stories.test.d.ts","sourceRoot":"","sources":["../../src/components/MkWindowList.stories.test.tsx"],"names":[],"mappings":""}
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Smoke snapshot for MkWindowList — required by R-MK-002.
4
- *
5
- * Note: jsdom doesn't compute real layout (clientHeight = 0),
6
- * so the virtualized list falls back to rendering all items.
7
- * The snapshot still captures the component's API and DOM structure.
8
- */
9
- import { describe, it, expect, afterEach } from 'vitest';
10
- import { render, cleanup } from '@testing-library/react';
11
- import { MkWindowList } from './MkWindowList';
12
- describe('MkWindowList story smoke', () => {
13
- afterEach(cleanup);
14
- it('renders with items', () => {
15
- const { container } = render(_jsx(MkWindowList, { items: Array.from({ length: 20 }, (_, i) => ({ id: i + 1, name: `Item ${i + 1}` })), renderItem: (item) => _jsx("div", { style: { height: 48 }, children: item.name }, item.id), itemHeight: 48, containerHeight: 400 }));
16
- expect(container.firstChild).toMatchSnapshot();
17
- });
18
- });
19
- //# sourceMappingURL=MkWindowList.stories.test.js.map