@e1011/es-kit 1.1.24 → 1.1.28

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 (222) hide show
  1. package/dist/hooks/esm/index.css +310 -305
  2. package/dist/hooks/esm/node_modules/gsap/CSSPlugin.js +11 -0
  3. package/dist/hooks/esm/node_modules/gsap/CSSPlugin.js.map +1 -0
  4. package/dist/hooks/esm/node_modules/gsap/gsap-core.js +11 -0
  5. package/dist/hooks/esm/node_modules/gsap/gsap-core.js.map +1 -0
  6. package/dist/hooks/esm/node_modules/gsap/index.js +2 -0
  7. package/dist/hooks/esm/node_modules/gsap/index.js.map +1 -0
  8. package/dist/hooks/esm/src/core/hooks/index.js +1 -1
  9. package/dist/hooks/esm/src/core/hooks/useAnimation.js +2 -0
  10. package/dist/hooks/esm/src/core/hooks/useAnimation.js.map +1 -0
  11. package/dist/hooks/esm/src/core/hooks/useClassNames.js.map +1 -1
  12. package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js +2 -0
  13. package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js.map +1 -0
  14. package/dist/hooks/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  15. package/dist/hooks/esm/src/core/hooks/useParseProps.js.map +1 -1
  16. package/dist/hooks/esm/src/core/hooks/useResize.js.map +1 -1
  17. package/dist/hooks/esm/src/core/hooks/useThemePreference.js +1 -1
  18. package/dist/hooks/esm/src/core/hooks/useThemePreference.js.map +1 -1
  19. package/dist/hooks/esm/src/core/hooks/useToggle.js.map +1 -1
  20. package/dist/hooks/index.css +310 -305
  21. package/dist/hooks/node_modules/gsap/CSSPlugin.js +11 -0
  22. package/dist/hooks/node_modules/gsap/CSSPlugin.js.map +1 -0
  23. package/dist/hooks/node_modules/gsap/gsap-core.js +11 -0
  24. package/dist/hooks/node_modules/gsap/gsap-core.js.map +1 -0
  25. package/dist/hooks/node_modules/gsap/index.js +2 -0
  26. package/dist/hooks/node_modules/gsap/index.js.map +1 -0
  27. package/dist/hooks/src/core/hooks/index.js +1 -1
  28. package/dist/hooks/src/core/hooks/useAnimation.js +2 -0
  29. package/dist/hooks/src/core/hooks/useAnimation.js.map +1 -0
  30. package/dist/hooks/src/core/hooks/useClassNames.js.map +1 -1
  31. package/dist/hooks/src/core/hooks/useIntersectionObserver.js +2 -0
  32. package/dist/hooks/src/core/hooks/useIntersectionObserver.js.map +1 -0
  33. package/dist/hooks/src/core/hooks/useOutsideClick.js.map +1 -1
  34. package/dist/hooks/src/core/hooks/useParseProps.js.map +1 -1
  35. package/dist/hooks/src/core/hooks/useResize.js.map +1 -1
  36. package/dist/hooks/src/core/hooks/useThemePreference.js +1 -1
  37. package/dist/hooks/src/core/hooks/useThemePreference.js.map +1 -1
  38. package/dist/hooks/src/core/hooks/useToggle.js.map +1 -1
  39. package/dist/lib/cjs/index.css +5 -0
  40. package/dist/lib/cjs/node_modules/gsap/CSSPlugin.js +11 -0
  41. package/dist/lib/cjs/node_modules/gsap/CSSPlugin.js.map +1 -0
  42. package/dist/lib/cjs/node_modules/gsap/gsap-core.js +11 -0
  43. package/dist/lib/cjs/node_modules/gsap/gsap-core.js.map +1 -0
  44. package/dist/lib/cjs/node_modules/gsap/index.js +2 -0
  45. package/dist/lib/cjs/node_modules/gsap/index.js.map +1 -0
  46. package/dist/lib/cjs/src/core/hooks/useAnimation.js +2 -0
  47. package/dist/lib/cjs/src/core/hooks/useAnimation.js.map +1 -0
  48. package/dist/lib/cjs/src/core/hooks/useClassNames.js.map +1 -1
  49. package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js +2 -0
  50. package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js.map +1 -0
  51. package/dist/lib/cjs/src/core/hooks/useOutsideClick.js.map +1 -1
  52. package/dist/lib/cjs/src/core/hooks/useParseProps.js.map +1 -1
  53. package/dist/lib/cjs/src/core/hooks/useResize.js.map +1 -1
  54. package/dist/lib/cjs/src/core/hooks/useThemePreference.js +1 -1
  55. package/dist/lib/cjs/src/core/hooks/useThemePreference.js.map +1 -1
  56. package/dist/lib/cjs/src/core/hooks/useToggle.js.map +1 -1
  57. package/dist/lib/cjs/src/core/ui/components/atoms/icons.js.map +1 -1
  58. package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  59. package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js.map +1 -1
  60. package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  61. package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js.map +1 -1
  62. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
  63. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
  64. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
  65. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
  66. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  67. package/dist/lib/cjs/src/core/ui/components/error/propsValidationError.js +2 -0
  68. package/dist/lib/cjs/src/core/ui/components/error/propsValidationError.js.map +1 -0
  69. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
  70. package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js.map +1 -1
  71. package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  72. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  73. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  74. package/dist/lib/cjs/src/index.js +1 -1
  75. package/dist/lib/esm/index.css +5 -0
  76. package/dist/lib/esm/node_modules/gsap/CSSPlugin.js +11 -0
  77. package/dist/lib/esm/node_modules/gsap/CSSPlugin.js.map +1 -0
  78. package/dist/lib/esm/node_modules/gsap/gsap-core.js +11 -0
  79. package/dist/lib/esm/node_modules/gsap/gsap-core.js.map +1 -0
  80. package/dist/lib/esm/node_modules/gsap/index.js +2 -0
  81. package/dist/lib/esm/node_modules/gsap/index.js.map +1 -0
  82. package/dist/lib/esm/src/core/hooks/useAnimation.js +2 -0
  83. package/dist/lib/esm/src/core/hooks/useAnimation.js.map +1 -0
  84. package/dist/lib/esm/src/core/hooks/useClassNames.js.map +1 -1
  85. package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js +2 -0
  86. package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js.map +1 -0
  87. package/dist/lib/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  88. package/dist/lib/esm/src/core/hooks/useParseProps.js.map +1 -1
  89. package/dist/lib/esm/src/core/hooks/useResize.js.map +1 -1
  90. package/dist/lib/esm/src/core/hooks/useThemePreference.js +1 -1
  91. package/dist/lib/esm/src/core/hooks/useThemePreference.js.map +1 -1
  92. package/dist/lib/esm/src/core/hooks/useToggle.js.map +1 -1
  93. package/dist/lib/esm/src/core/ui/components/atoms/icons.js.map +1 -1
  94. package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  95. package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
  96. package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  97. package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
  98. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
  99. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
  100. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
  101. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
  102. package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  103. package/dist/lib/esm/src/core/ui/components/error/propsValidationError.js +2 -0
  104. package/dist/lib/esm/src/core/ui/components/error/propsValidationError.js.map +1 -0
  105. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  106. package/dist/lib/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
  107. package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  108. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  109. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  110. package/dist/lib/esm/src/index.js +1 -1
  111. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  112. package/dist/types/src/core/hooks/index.d.ts +2 -0
  113. package/dist/types/src/core/hooks/index.d.ts.map +1 -1
  114. package/dist/types/src/core/hooks/useAnimation.d.ts +23 -0
  115. package/dist/types/src/core/hooks/useAnimation.d.ts.map +1 -0
  116. package/dist/types/src/core/hooks/useClassNames.d.ts +6 -0
  117. package/dist/types/src/core/hooks/useClassNames.d.ts.map +1 -1
  118. package/dist/types/src/core/hooks/useIntersectionObserver.d.ts +28 -0
  119. package/dist/types/src/core/hooks/useIntersectionObserver.d.ts.map +1 -0
  120. package/dist/types/src/core/hooks/useOutsideClick.d.ts +14 -0
  121. package/dist/types/src/core/hooks/useOutsideClick.d.ts.map +1 -1
  122. package/dist/types/src/core/hooks/useParseProps.d.ts +5 -0
  123. package/dist/types/src/core/hooks/useParseProps.d.ts.map +1 -1
  124. package/dist/types/src/core/hooks/useResize.d.ts +23 -0
  125. package/dist/types/src/core/hooks/useResize.d.ts.map +1 -1
  126. package/dist/types/src/core/hooks/useThemePreference.d.ts +37 -1
  127. package/dist/types/src/core/hooks/useThemePreference.d.ts.map +1 -1
  128. package/dist/types/src/core/hooks/useToggle.d.ts +17 -2
  129. package/dist/types/src/core/hooks/useToggle.d.ts.map +1 -1
  130. package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts +1 -1
  131. package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts.map +1 -1
  132. package/dist/types/src/core/ui/components/atoms/icons.d.ts +5 -0
  133. package/dist/types/src/core/ui/components/atoms/icons.d.ts.map +1 -1
  134. package/dist/types/src/core/ui/components/atoms/index.d.ts +1 -0
  135. package/dist/types/src/core/ui/components/atoms/index.d.ts.map +1 -1
  136. package/dist/types/src/core/ui/components/atoms/tag/Tag.d.ts +38 -0
  137. package/dist/types/src/core/ui/components/atoms/tag/Tag.d.ts.map +1 -0
  138. package/dist/types/src/core/ui/components/atoms/tag/Tag.test.d.ts +5 -0
  139. package/dist/types/src/core/ui/components/atoms/tag/Tag.test.d.ts.map +1 -0
  140. package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts +6 -0
  141. package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts.map +1 -0
  142. package/dist/types/src/core/ui/components/atoms/text/Headline.d.ts +1 -1
  143. package/dist/types/src/core/ui/components/atoms/text/Headline.d.ts.map +1 -1
  144. package/dist/types/src/core/ui/components/atoms/text/Link.d.ts +1 -1
  145. package/dist/types/src/core/ui/components/atoms/text/Link.d.ts.map +1 -1
  146. package/dist/types/src/core/ui/components/atoms/text/Paragraph.d.ts +1 -1
  147. package/dist/types/src/core/ui/components/atoms/text/Paragraph.d.ts.map +1 -1
  148. package/dist/types/src/core/ui/components/atoms/text/Text.d.ts +2 -15
  149. package/dist/types/src/core/ui/components/atoms/text/Text.d.ts.map +1 -1
  150. package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts +1 -1
  151. package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts.map +1 -1
  152. package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.types.d.ts +1 -1
  153. package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.types.d.ts.map +1 -1
  154. package/dist/types/src/core/ui/components/atoms/text/text.types.d.ts +16 -0
  155. package/dist/types/src/core/ui/components/atoms/text/text.types.d.ts.map +1 -0
  156. package/dist/types/src/core/ui/components/atoms/textAndContent/TextAndContent.d.ts +17 -0
  157. package/dist/types/src/core/ui/components/atoms/textAndContent/TextAndContent.d.ts.map +1 -0
  158. package/dist/types/src/core/ui/components/atoms/textAndContent/index.d.ts +3 -0
  159. package/dist/types/src/core/ui/components/atoms/textAndContent/index.d.ts.map +1 -0
  160. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts +8 -0
  161. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts.map +1 -0
  162. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.test.d.ts +5 -0
  163. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.test.d.ts.map +1 -0
  164. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.types.d.ts +24 -0
  165. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.types.d.ts.map +1 -0
  166. package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts +3 -3
  167. package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts.map +1 -1
  168. package/dist/types/src/core/ui/components/error/propsValidationError.d.ts +4 -0
  169. package/dist/types/src/core/ui/components/error/propsValidationError.d.ts.map +1 -0
  170. package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts +2 -2
  171. package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts.map +1 -1
  172. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts +1 -1
  173. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts.map +1 -1
  174. package/dist/types/src/core/utils/appState/store/store.stories.d.ts +1 -1
  175. package/dist/types/src/core/utils/appState/store/store.stories.d.ts.map +1 -1
  176. package/dist/ui/esm/index.css +5 -0
  177. package/dist/ui/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  178. package/dist/ui/esm/src/core/hooks/useParseProps.js.map +1 -1
  179. package/dist/ui/esm/src/core/hooks/useResize.js.map +1 -1
  180. package/dist/ui/esm/src/core/ui/components/atoms/icons.js.map +1 -1
  181. package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  182. package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
  183. package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  184. package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
  185. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
  186. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
  187. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
  188. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
  189. package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  190. package/dist/ui/esm/src/core/ui/components/error/propsValidationError.js +2 -0
  191. package/dist/ui/esm/src/core/ui/components/error/propsValidationError.js.map +1 -0
  192. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  193. package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
  194. package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  195. package/dist/ui/esm/src/core/ui/index.js +1 -1
  196. package/dist/ui/index.css +5 -0
  197. package/dist/ui/src/core/hooks/useOutsideClick.js.map +1 -1
  198. package/dist/ui/src/core/hooks/useParseProps.js.map +1 -1
  199. package/dist/ui/src/core/hooks/useResize.js.map +1 -1
  200. package/dist/ui/src/core/ui/components/atoms/icons.js.map +1 -1
  201. package/dist/ui/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  202. package/dist/ui/src/core/ui/components/atoms/text/Link.js.map +1 -1
  203. package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  204. package/dist/ui/src/core/ui/components/atoms/text/Text.js.map +1 -1
  205. package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
  206. package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
  207. package/dist/ui/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
  208. package/dist/ui/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
  209. package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  210. package/dist/ui/src/core/ui/components/error/propsValidationError.js +2 -0
  211. package/dist/ui/src/core/ui/components/error/propsValidationError.js.map +1 -0
  212. package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
  213. package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
  214. package/dist/ui/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  215. package/dist/ui/src/core/ui/index.js +1 -1
  216. package/dist/utils/esm/index.css +310 -305
  217. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  218. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  219. package/dist/utils/index.css +310 -305
  220. package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  221. package/dist/utils/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  222. package/package.json +20 -11
@@ -5,4 +5,6 @@ export * from './useResize';
5
5
  export * from './useClassNames';
6
6
  export * from './useParseProps';
7
7
  export * from './useThemePreference';
8
+ export * from './useAnimation';
9
+ export * from './useIntersectionObserver';
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Type definition for the parameters used in the `useAnimation` hook.
3
+ * @typedef {Object} UseAnimationType
4
+ * @property {number} start - The starting value of the animation.
5
+ * @property {number} end - The ending value of the animation.
6
+ * @property {number} duration - The duration of the animation in seconds.
7
+ * @property {string} [ease='expo.inOut'] - The easing function for the animation.
8
+ * @property {boolean} [rounded] - Flag to determine if the value should be rounded during the animation.
9
+ */
10
+ export type UseAnimationType = {
11
+ start: number;
12
+ end: number;
13
+ duration: number;
14
+ ease?: string;
15
+ rounded?: boolean;
16
+ };
17
+ /**
18
+ * Custom hook to create an animation using GSAP.
19
+ * @param {UseAnimationType} params - The parameters for the animation.
20
+ * @returns {number} The current value of the animation.
21
+ */
22
+ export declare const useAnimation: ({ start, end, duration, ease, rounded }: UseAnimationType) => number;
23
+ //# sourceMappingURL=useAnimation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnimation.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useAnimation.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,4CAA4D,gBAAgB,KAAG,MA4BvG,CAAA"}
@@ -1,3 +1,9 @@
1
1
  import { classNames, TClassName } from '../utils/helpers/ui';
2
+ /**
3
+ * Custom hook to memoize class names.
4
+ * @param {TClassName[]} classes - Array of class names or conditions to be applied.
5
+ * @param {unknown[]} deps - Dependencies array for the `useMemo` hook.
6
+ * @returns {ReturnType<typeof classNames>} The computed class names as a string.
7
+ */
2
8
  export declare const useClassNames: (classes: TClassName[], deps: unknown[]) => ReturnType<typeof classNames>;
3
9
  //# sourceMappingURL=useClassNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClassNames.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useClassNames.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAE5D,eAAO,MAAM,aAAa,YACf,UAAU,EAAE,QACf,OAAO,EAAE,KAEd,UAAU,CAAC,OAAO,UAAU,CAA2D,CAAA"}
1
+ {"version":3,"file":"useClassNames.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useClassNames.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAG5D;;;;;GAKG;AACH,eAAO,MAAM,aAAa,YACf,UAAU,EAAE,QACf,OAAO,EAAE,KAEd,UAAU,CAAC,OAAO,UAAU,CAA2D,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { MutableRefObject } from 'react';
2
+ /**
3
+ * Type definition for the parameters used in the `useIntersectionObserver` hook.
4
+ * @typedef {Object} UseIntersectionObserverType
5
+ * @property {() => void} callback - Function to be called when the element intersects.
6
+ * @property {() => void} [notIntersectingCallback] - Optional function to be called
7
+ * when the element is not intersecting.
8
+ * @property {Partial<{ root: HTMLElement | null; rootMargin: string; threshold: number }>} [options] -
9
+ * Optional IntersectionObserver options.
10
+ * @property {boolean} [granular] - Flag to determine if each entry should be checked individually.
11
+ */
12
+ export type UseIntersectionObserverType = {
13
+ callback: () => void;
14
+ notIntersectingCallback?: () => void;
15
+ options?: Partial<{
16
+ root: HTMLElement | null;
17
+ rootMargin: string;
18
+ threshold: number;
19
+ }>;
20
+ granular?: boolean;
21
+ };
22
+ /**
23
+ * Custom hook to observe the intersection of an element.
24
+ * @param {UseIntersectionObserverType} params - The parameters for the intersection observer.
25
+ * @returns {MutableRefObject<T | null>} Ref object for the observed element.
26
+ */
27
+ export declare const useIntersectionObserver: <T extends Element = Element>({ callback, notIntersectingCallback, options, granular, }: UseIntersectionObserverType) => MutableRefObject<T | null>;
28
+ //# sourceMappingURL=useIntersectionObserver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIntersectionObserver.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useIntersectionObserver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkC,MAAM,OAAO,CAAA;AAQxE;;;;;;;;;GASG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAA;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;QAChB,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;QACxB,UAAU,EAAE,MAAM,CAAA;QAClB,SAAS,EAAE,MAAM,CAAA;KAClB,CAAC,CAAA;IACF,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAiCD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAAI,CAAC,SAAS,OAAO,uEAEtD,2BAA2B,KAAG,gBAAgB,CAAC,CAAC,GAAG,IAAI,CA2BzD,CAAA"}
@@ -1,6 +1,20 @@
1
1
  type Element = HTMLElement | null | (() => HTMLElement);
2
2
  type CallbackFunction = (target: HTMLElement | null) => void;
3
+ /**
4
+ * Custom hook to handle clicks outside a specified element.
5
+ * @param {Element} element - The element to detect outside clicks for.
6
+ * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.
7
+ * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.
8
+ * @returns {() => void} Function to unsubscribe the event listener.
9
+ */
3
10
  export declare function useOutsideClick(element: Element, callback?: CallbackFunction, handleClickOutside?: (event: MouseEvent) => void): () => void;
11
+ /**
12
+ * Function to handle clicks outside a specified element.
13
+ * @param {Element} element - The element to detect outside clicks for.
14
+ * @param {CallbackFunction} [callback] - Optional callback function to execute when an outside click is detected.
15
+ * @param {Function} [handleClickOutside=defaultHandleClickOutside] - Optional custom function to handle outside clicks.
16
+ * @returns {() => void} Function to unsubscribe the event listener.
17
+ */
4
18
  export declare function outsideClickHandler(element: Element, callback?: CallbackFunction, handleClickOutside?: (event: MouseEvent) => void): () => void;
5
19
  export {};
6
20
  //# sourceMappingURL=useOutsideClick.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOutsideClick.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useOutsideClick.ts"],"names":[],"mappings":"AAKA,KAAK,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,CAAC,CAAA;AACvD,KAAK,gBAAgB,GAAG,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;AAE5D,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,gBAAgB,EAC3B,kBAAkB,8BAA+C,GAChE,MAAM,IAAI,CAaZ;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,gBAAgB,EAC3B,kBAAkB,8BAA+C,GAChE,MAAM,IAAI,CAMZ"}
1
+ {"version":3,"file":"useOutsideClick.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useOutsideClick.ts"],"names":[],"mappings":"AAKA,KAAK,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,CAAC,CAAA;AACvD,KAAK,gBAAgB,GAAG,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;AAE5D;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,gBAAgB,EAC3B,kBAAkB,8BAA+C,GAChE,MAAM,IAAI,CAaZ;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,QAAQ,CAAC,EAAE,gBAAgB,EAC3B,kBAAkB,8BAA+C,GAChE,MAAM,IAAI,CAMZ"}
@@ -1,3 +1,8 @@
1
1
  import { parseProps } from '../utils/helpers/ui';
2
+ /**
3
+ * Custom hook to parse properties using the `parseProps` utility function.
4
+ * @param {Record<string, unknown>} props - The properties to be parsed.
5
+ * @returns {ReturnType<typeof parseProps>} The parsed properties categorized by the `parseProps` function.
6
+ */
2
7
  export declare const useParseProps: (props: Record<string, unknown>) => ReturnType<typeof parseProps>;
3
8
  //# sourceMappingURL=useParseProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useParseProps.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useParseProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAGhD,eAAO,MAAM,aAAa,UAAW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,UAAU,CAAC,OAAO,UAAU,CAI1F,CAAA"}
1
+ {"version":3,"file":"useParseProps.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useParseProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,aAAa,UAAW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,UAAU,CAAC,OAAO,UAAU,CAI1F,CAAA"}
@@ -1,10 +1,33 @@
1
1
  import { MutableRefObject } from 'react';
2
+ /**
3
+ * Type definition for the size of the wrapper element.
4
+ * @typedef {Object} WrapperSize
5
+ * @property {undefined | number} width - The width of the wrapper element.
6
+ * @property {undefined | number} height - The height of the wrapper element.
7
+ */
2
8
  export type WrapperSize = {
3
9
  width: undefined | number;
4
10
  height: undefined | number;
5
11
  };
12
+ /**
13
+ * Type definition for the unobserver function.
14
+ * @typedef {() => (null | void)} Unobserver
15
+ */
6
16
  type Unobserver = () => (null | void);
17
+ /**
18
+ * Type definition for the resize callback function.
19
+ * @typedef {(wrapperSize: WrapperSize) => void} UseResizeCallBack
20
+ */
7
21
  export type UseResizeCallBack = (wrapperSize: WrapperSize) => void;
22
+ /**
23
+ * Custom hook to observe the resize event of an HTML element
24
+ * and execute a callback or update the state with the new size.
25
+ * @param {number} [debounceDelay=250] - The delay in milliseconds for debouncing the resize event.
26
+ * @param {UseResizeCallBack} [callBack] - Optional callback function to execute when the element is resized.
27
+ * @returns {[MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined]}
28
+ * An array containing the ref object for the container element,
29
+ * the current size of the container, and an unobserver function.
30
+ */
8
31
  export declare const useResize: (debounceDelay?: number, callBack?: UseResizeCallBack) => [MutableRefObject<HTMLElement | null | undefined>, WrapperSize, Unobserver | undefined];
9
32
  export {};
10
33
  //# sourceMappingURL=useResize.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useResize.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA8C,MAAM,OAAO,CAAA;AAGpF,MAAM,MAAM,WAAW,GAAG;IAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAA;CAAC,CAAA;AAGjF,KAAK,UAAU,GAAG,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;AAErC,MAAM,MAAM,iBAAiB,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAA;AAGlE,eAAO,MAAM,SAAS,sCAAoC,iBAAiB,KAAG,CAC5E,gBAAgB,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,WAAW,EAAE,UAAU,GAAG,SAAS,CAoDtF,CAAA"}
1
+ {"version":3,"file":"useResize.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useResize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA8C,MAAM,OAAO,CAAA;AAGpF;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,SAAS,GAAG,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,CAAA;AAEnF;;;GAGG;AACH,KAAK,UAAU,GAAG,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;AAErC;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAA;AAElE;;;;;;;;GAQG;AAEH,eAAO,MAAM,SAAS,sCAAoC,iBAAiB,KAAG,CAC5E,gBAAgB,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,WAAW,EAAE,UAAU,GAAG,SAAS,CAmDtF,CAAA"}
@@ -1,12 +1,48 @@
1
+ /**
2
+ * Observes the user's theme preference and applies the appropriate theme.
3
+ * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.
4
+ * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.
5
+ * @returns {() => void} Function to stop observing the theme preference.
6
+ */
1
7
  export declare const observeThemePreference: (getHtmlElement?: () => HTMLElement, switchCallback?: (isDark: boolean) => void) => () => void;
8
+ /**
9
+ * Custom hook to use theme preference in a React component.
10
+ * @param {() => HTMLElement} [getHtmlElement] - Function to get the HTML element to which the theme will be applied.
11
+ * @param {(isDark: boolean) => void} [switchCallback] - Callback function to execute when the theme changes.
12
+ */
2
13
  export declare const useThemePreference: (getHtmlElement?: () => HTMLElement, switchCallback?: (isDark: boolean) => void) => void;
14
+ /**
15
+ * Type definition for theme map.
16
+ * @typedef {Object} ThemeMap
17
+ * @property {string} dark - CSS class for the dark theme.
18
+ * @property {string} light - CSS class for the light theme.
19
+ */
3
20
  type ThemeMap = {
4
21
  dark: string;
5
22
  light: string;
6
23
  };
24
+ /**
25
+ * Gets the base themes.
26
+ * @returns {ThemeMap} The current base themes.
27
+ */
7
28
  export declare const getBaseThemes: () => ThemeMap;
8
- export declare const setTHemeClassNames: (themes: ThemeMap) => void;
29
+ /**
30
+ * Sets the base theme class names.
31
+ * @param {ThemeMap} themes - Object containing the CSS classes for dark and light themes.
32
+ */
33
+ export declare const setThemeClassNames: (themes: ThemeMap) => void;
34
+ /**
35
+ * Switches the color theme of the document.
36
+ * @param {boolean} isDark - Flag to determine if the dark theme should be applied.
37
+ * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.
38
+ * @param {boolean} [findShadows=true] - Flag to determine if shadow DOM elements should also be themed.
39
+ */
9
40
  export declare const switchColorTheme: (isDark: boolean, htmlElement?: HTMLElement, findShadows?: boolean) => void;
41
+ /**
42
+ * Updates the color theme of the document.
43
+ * @param {boolean} [isDark] - Optional flag to determine if the dark theme should be applied.
44
+ * @param {HTMLElement} [htmlElement] - The HTML element to which the theme will be applied.
45
+ */
10
46
  export declare const updateColorTheme: (isDark?: boolean, htmlElement?: HTMLElement) => void;
11
47
  export {};
12
48
  //# sourceMappingURL=useThemePreference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useThemePreference.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useThemePreference.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB,oBACjB,MAAM,WAAW,mBACjB,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,KACxC,MAAM,IA6CR,CAAA;AAED,eAAO,MAAM,kBAAkB,oBACb,MAAM,WAAW,mBACjB,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,KACxC,IAEF,CAAA;AAED,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAQD,eAAO,MAAM,aAAa,QAAO,QAAsB,CAAA;AAEvD,eAAO,MAAM,kBAAkB,WAAY,QAAQ,KAAG,IAErD,CAAA;AAED,eAAO,MAAM,gBAAgB,WAAY,OAAO,gBAAgB,WAAW,4BAAuB,IAmCjG,CAAA;AAED,eAAO,MAAM,gBAAgB,YAAa,OAAO,gBAAgB,WAAW,KAAG,IAO9E,CAAA"}
1
+ {"version":3,"file":"useThemePreference.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useThemePreference.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,oBACjB,MAAM,WAAW,mBACjB,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,KACxC,MAAM,IA6CR,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,oBACb,MAAM,WAAW,mBACjB,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,KACxC,IAEF,CAAA;AAED;;;;;GAKG;AACH,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAOD;;;GAGG;AACH,eAAO,MAAM,aAAa,QAAO,QAAsB,CAAA;AAEvD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,WAAY,QAAQ,KAAG,IAErD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,WAAY,OAAO,gBAAgB,WAAW,4BAAuB,IAmCjG,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,YAAa,OAAO,gBAAgB,WAAW,KAAG,IAO9E,CAAA"}
@@ -1,8 +1,23 @@
1
- export type useTogggleReturnType = [
1
+ /**
2
+ * Type definition for the return value of the `useToggle` hook.
3
+ * @typedef {Array} useToggleReturnType
4
+ * @property {boolean} 0 - The current toggled state.
5
+ * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.
6
+ * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.
7
+ * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.
8
+ */
9
+ export type useToggleReturnType = [
2
10
  boolean,
3
11
  (value?: any | boolean) => void,
4
12
  (value?: any | boolean) => void,
5
13
  (value?: any | boolean) => void
6
14
  ];
7
- export declare const useToggle: (defaultValue: boolean, async?: boolean) => useTogggleReturnType;
15
+ /**
16
+ * Custom hook to manage a boolean state with toggle functionality.
17
+ * @param {boolean} defaultValue - The initial value of the toggled state.
18
+ * @param {boolean} [async=true] - Flag to determine if the toggle should be asynchronous.
19
+ * @returns {useToggleReturnType} An array containing the current state, a toggle function,
20
+ * and functions to set the state to true or false.
21
+ */
22
+ export declare const useToggle: (defaultValue: boolean, async?: boolean) => useToggleReturnType;
8
23
  //# sourceMappingURL=useToggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useToggle.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useToggle.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO;IACP,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,KAAK,IAAI;IAC/B,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,KAAK,IAAI;IAC/B,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,KAAK,IAAI;CAChC,CAAA;AAED,eAAO,MAAM,SAAS,iBAAkB,OAAO,sBAAiB,oBAoB/D,CAAA"}
1
+ {"version":3,"file":"useToggle.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useToggle.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO;IACP,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,KAAK,IAAI;IAC/B,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,KAAK,IAAI;IAC/B,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,OAAO,KAAK,IAAI;CAChC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,iBAAkB,OAAO,sBAAiB,mBAkC/D,CAAA"}
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/react';
2
2
  import type { ButtonProps } from './button.types';
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const ButtonBase: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ButtonProps>;
5
+ export declare const ButtonBase: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ButtonProps>;
6
6
  //# sourceMappingURL=button.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/button/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAQzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;wBAM5C,IAAI;AAHT,wBAGS;AAyCT,eAAO,MAAM,UAAU,oGAA0B,CAAA"}
1
+ {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/button/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAQzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;wBAM5C,IAAI;AAHT,wBAGS;AAyCT,eAAO,MAAM,UAAU,kGAA0B,CAAA"}
@@ -1,3 +1,8 @@
1
1
  export declare const closeIconJSX: import("react/jsx-runtime").JSX.Element;
2
2
  export declare const infoIconJSX: import("react/jsx-runtime").JSX.Element;
3
+ export declare const appStoreIcon: import("react/jsx-runtime").JSX.Element;
4
+ export declare const batteryEmptyIcon: import("react/jsx-runtime").JSX.Element;
5
+ export declare const elementorIcon: import("react/jsx-runtime").JSX.Element;
6
+ export declare const squareCheckIcon: import("react/jsx-runtime").JSX.Element;
7
+ export declare const pencilIcon: import("react/jsx-runtime").JSX.Element;
3
8
  //# sourceMappingURL=icons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/atoms/icons.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,yCAExB,CAAA;AACD,eAAO,MAAM,WAAW,yCAGvB,CAAA"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/atoms/icons.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,yCAExB,CAAA;AACD,eAAO,MAAM,WAAW,yCAGvB,CAAA;AAGD,eAAO,MAAM,YAAY,yCAExB,CAAA;AAGD,eAAO,MAAM,gBAAgB,yCAE5B,CAAA;AAGD,eAAO,MAAM,aAAa,yCAEzB,CAAA;AAED,eAAO,MAAM,eAAe,yCAE3B,CAAA;AAED,eAAO,MAAM,UAAU,yCAKtB,CAAA"}
@@ -1,3 +1,4 @@
1
1
  export * from './button';
2
2
  export * from './text';
3
+ export * from './textAndContent';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { PropsWithChildren, FC, MouseEvent } from 'react';
2
+ import { TextAndIconsProps } from '../textAndContent/textAndContent.types';
3
+ import { LayoutBoxProps } from '../../container/layoutBox/layoutBox.types';
4
+ import { CommonProps } from '../../../../types/CommonProps';
5
+ import { TextProps } from '../text/text.types';
6
+ export declare enum TagVariant {
7
+ info = "info",
8
+ veryLow = "very-low",
9
+ low = "low",
10
+ medium = "medium",
11
+ high = "high",
12
+ critical = "critical",
13
+ information = "information",
14
+ success = "success",
15
+ alert = "alert",
16
+ error = "error",
17
+ warning = "warning",
18
+ default = "default"
19
+ }
20
+ export type TagProps = PropsWithChildren & CommonProps & TextAndIconsProps & LayoutBoxProps & {
21
+ variant?: TagVariant;
22
+ text?: string;
23
+ hashtag?: boolean;
24
+ inTable?: boolean;
25
+ components?: {
26
+ TextComponent?: FC<TextProps>;
27
+ };
28
+ onClick?: (event?: MouseEvent) => void;
29
+ className?: string;
30
+ };
31
+ /**
32
+ * Tag component.
33
+ * *
34
+ * @type {React.FC<TagProps>}
35
+ * @returns {React.ReactElement} The Tag.
36
+ */
37
+ export declare const Tag: FC<TagProps>;
38
+ //# sourceMappingURL=Tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,iBAAiB,EAAE,EAAE,EAAE,UAAU,EAAuD,MAAM,OAAO,CAAA;AAGpH,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;AAG1E,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAG3D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAK9C,oBAAY,UAAU;IACpB,IAAI,SAAS;IACb,OAAO,aAAa;IACpB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,QAAQ,GAAG,iBAAiB,GAAG,WAAW,GAAG,iBAAiB,GAAG,cAAc,GAAG;IAC5F,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE;QACX,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAA;KAC9B,CAAA;IACD,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAaD;;;;;GAKG;AACH,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAqF3B,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=Tag.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/tag/Tag.test.tsx"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { TagProps } from './Tag';
3
+ declare const _default: Meta<TagProps>;
4
+ export default _default;
5
+ export declare const TagByDesign: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TagProps>;
6
+ //# sourceMappingURL=tag.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/tag/tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAoB,MAAM,kBAAkB,CAAA;AASzD,OAAO,EAAO,QAAQ,EAAc,MAAM,OAAO,CAAA;wBAuB5C,IAAI,CAAC,QAAQ,CAAC;AApBnB,wBAoBmB;AAoFnB,eAAO,MAAM,WAAW,+FAAuB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ITextProps } from './Text';
1
+ import { ITextProps } from './text.types';
2
2
  export declare const Headline: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
3
3
  export declare const HeadlineSecondary: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
4
4
  export declare const HeadlineTertiary: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1 +1 @@
1
- {"version":3,"file":"Headline.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Headline.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAQ,MAAM,QAAQ,CAAA;AAIzC,eAAO,MAAM,QAAQ,gFAC4B,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,iBAAiB,gFACmB,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,gBAAgB,gFACoB,UAAU,6CAM1D,CAAA"}
1
+ {"version":3,"file":"Headline.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Headline.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAKzC,eAAO,MAAM,QAAQ,gFAC4B,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,iBAAiB,gFACmB,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,gBAAgB,gFACoB,UAAU,6CAM1D,CAAA"}
@@ -1,3 +1,3 @@
1
- import { ITextProps } from './Text';
1
+ import { ITextProps } from './text.types';
2
2
  export declare const Link: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
3
3
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAQ,MAAM,QAAQ,CAAA;AAIzC,eAAO,MAAM,IAAI,gFACgC,UAAU,6CAM1D,CAAA"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAKzC,eAAO,MAAM,IAAI,gFACgC,UAAU,6CAM1D,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ITextProps } from './Text';
1
+ import { ITextProps } from './text.types';
2
2
  export declare const Paragraph: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
3
3
  export declare const ParagraphSmall: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
4
4
  export declare const ParagraphBold: import("react").MemoExoticComponent<({ children, text, className, ...props }: ITextProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1 +1 @@
1
- {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Paragraph.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAQ,MAAM,QAAQ,CAAA;AAIzC,eAAO,MAAM,SAAS,gFAC2B,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,cAAc,gFACsB,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,aAAa,gFACuB,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,kBAAkB,gFACkB,UAAU,6CAM1D,CAAA"}
1
+ {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Paragraph.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAKzC,eAAO,MAAM,SAAS,gFAC2B,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,cAAc,gFACsB,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,aAAa,gFACuB,UAAU,6CAM1D,CAAA;AAKD,eAAO,MAAM,kBAAkB,gFACkB,UAAU,6CAM1D,CAAA"}
@@ -1,17 +1,4 @@
1
- import { PropsWithChildren, CSSProperties, FC, MouseEventHandler } from 'react';
2
- import { CommonProps } from '../../../types/CommonProps';
3
- export interface ITextProps extends PropsWithChildren, CSSProperties, CommonProps {
4
- element?: string | FC;
5
- className?: string;
6
- text?: string;
7
- href?: string;
8
- target?: string;
9
- onClick?: MouseEventHandler;
10
- disabled?: boolean;
11
- }
12
- export type TextProps = ITextProps & {
13
- style?: CSSProperties;
14
- 'data-testid'?: string;
15
- };
1
+ import { FC } from 'react';
2
+ import { TextProps } from './text.types';
16
3
  export declare const Text: FC<TextProps>;
17
4
  //# sourceMappingURL=Text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Text.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAQ,iBAAiB,EAAE,aAAa,EAAE,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAA;AAErG,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAKxD,MAAM,WAAW,UAAW,SAAQ,iBAAiB,EAAE,aAAa,EAAE,WAAW;IAC/E,OAAO,CAAC,EAAE,MAAM,GAAG,EAAE,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,aAAa,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAGtF,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CA6B7B,CAAA"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/Text.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAQ,EAAE,EAAW,MAAM,OAAO,CAAA;AAKhD,OAAO,EAAc,SAAS,EAAE,MAAM,cAAc,CAAA;AAGpD,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CA6B7B,CAAA"}
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/react';
2
2
  import type { AnchorLinkProps } from './anchorLink.types';
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const AnchorLinkBase: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AnchorLinkProps>;
5
+ export declare const AnchorLinkBase: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AnchorLinkProps>;
6
6
  //# sourceMappingURL=anchorLink.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"anchorLink.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAKzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;wBAOpD,IAAI;AAHT,wBAGS;AAeT,eAAO,MAAM,cAAc,wGAA8B,CAAA"}
1
+ {"version":3,"file":"anchorLink.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAKzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;wBAOpD,IAAI;AAHT,wBAGS;AAeT,eAAO,MAAM,cAAc,sGAA8B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent, PropsWithChildren } from 'react';
2
- import { ITextProps } from '../Text';
2
+ import { ITextProps } from '../text.types';
3
3
  import { CommonProps } from '../../../../types/CommonProps';
4
4
  export type AnchorLinkProps = Partial<ITextProps> & PropsWithChildren & CommonProps & {
5
5
  id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"anchorLink.types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/ui/components/atoms/text/anchor-link/anchorLink.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAG3D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,iBAAiB,GAAG,WAAW,GAAG;IACpF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACrF,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
1
+ {"version":3,"file":"anchorLink.types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/ui/components/atoms/text/anchor-link/anchorLink.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAG3D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,iBAAiB,GAAG,WAAW,GAAG;IACpF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACrF,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { PropsWithChildren, CSSProperties, FC, MouseEventHandler } from 'react';
2
+ import { CommonProps } from '../../../../types/CommonProps';
3
+ export interface ITextProps extends PropsWithChildren, CSSProperties, CommonProps {
4
+ element?: string | FC;
5
+ className?: string;
6
+ text?: string;
7
+ href?: string;
8
+ target?: string;
9
+ onClick?: MouseEventHandler;
10
+ disabled?: boolean;
11
+ }
12
+ export type TextProps = ITextProps & {
13
+ style?: CSSProperties;
14
+ 'data-testid'?: string;
15
+ };
16
+ //# sourceMappingURL=text.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/text/text.types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAG3D,MAAM,WAAW,UAAW,SAAQ,iBAAiB,EAAE,aAAa,EAAE,WAAW;IAC/E,OAAO,CAAC,EAAE,MAAM,GAAG,EAAE,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,aAAa,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { FC } from 'react';
2
+ import type { TextAndContentProps, TextAndIconsProps } from './textAndContent.types';
3
+ /**
4
+ * TextAndContent component.
5
+ *
6
+ * @type {React.FC<TextAndContentProps>}
7
+ * @returns {React.ReactElement} The TextAndContent.
8
+ */
9
+ export declare const TextAndContent: FC<TextAndContentProps>;
10
+ /**
11
+ * TextAndIcons component.
12
+ *
13
+ * @type {React.FC<TextAndIconsProps>}
14
+ * @returns {React.ReactElement} The TextAndIcons.
15
+ */
16
+ export declare const TextAndIcons: FC<TextAndIconsProps>;
17
+ //# sourceMappingURL=TextAndContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextAndContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/textAndContent/TextAndContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,EAAE,EAAW,MAAM,OAAO,CAAA;AAOzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAIpF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA0BjD,CAAA;AAKF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAsD7C,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './TextAndContent';
2
+ export * from './textAndContent.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/textAndContent/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { StoryFn as Story, Meta } from '@storybook/react';
2
+ import type { TextAndContentProps } from './textAndContent.types';
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const TextAndContentBase: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TextAndContentProps>;
6
+ export declare const TextAndContentComplex: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TextAndContentProps>;
7
+ export declare const TextAndIconsBase: Story<TextAndContentProps>;
8
+ //# sourceMappingURL=textAndContent.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textAndContent.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/textAndContent/textAndContent.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAYzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;wBAO5D,IAAI;AAHT,wBAGS;AAoBT,eAAO,MAAM,kBAAkB,0GAAkC,CAAA;AAMjE,eAAO,MAAM,qBAAqB,0GAAkC,CAAA;AAapE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,mBAAmB,CA4BvD,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=textAndContent.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textAndContent.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/textAndContent/textAndContent.test.tsx"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,24 @@
1
+ import { FC, MouseEvent, PropsWithChildren, ReactElement, ReactNode } from 'react';
2
+ import { TextProps } from '../text/text.types';
3
+ import { LayoutBoxProps } from '../../container/layoutBox/layoutBox.types';
4
+ export type TextAndContentProps = LayoutBoxProps & PropsWithChildren & {
5
+ text?: string;
6
+ className?: string;
7
+ components?: {
8
+ TextComponent?: FC<TextProps>;
9
+ };
10
+ leftContent?: ReactElement;
11
+ rightContent?: ReactElement;
12
+ textProps?: Partial<TextProps>;
13
+ };
14
+ export type TextAndIconsProps = TextAndContentProps & {
15
+ iconSize?: string;
16
+ iconColor?: string;
17
+ iconLeftUrl?: string;
18
+ iconRightUrl?: string;
19
+ iconRight?: ReactNode;
20
+ iconLeft?: ReactNode;
21
+ onLeftIconClick?: (event?: MouseEvent) => void;
22
+ onRightIconClick?: (event?: MouseEvent) => void;
23
+ };
24
+ //# sourceMappingURL=textAndContent.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textAndContent.types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/textAndContent/textAndContent.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAElF,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;AAG1E,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,iBAAiB,GAAG;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE;QACX,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAA;KAC9B,CAAA;IACD,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;CAC/B,CAAA;AAGD,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC9C,gBAAgB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;CAChD,CAAA"}
@@ -2,7 +2,7 @@ import { Meta } from '@storybook/react';
2
2
  import type { ErrorBoundaryProps } from './errorBoundary.types';
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const ErrorBoundaryBase: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ErrorBoundaryProps>;
6
- export declare const ErrorBoundaryCustomText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ErrorBoundaryProps>;
7
- export declare const ErrorBoundaryMuted: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ErrorBoundaryProps>;
5
+ export declare const ErrorBoundaryBase: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ErrorBoundaryProps>;
6
+ export declare const ErrorBoundaryCustomText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ErrorBoundaryProps>;
7
+ export declare const ErrorBoundaryMuted: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ErrorBoundaryProps>;
8
8
  //# sourceMappingURL=errorBoundary.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errorBoundary.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/error/errorBoundary.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAKzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;wBAM1D,IAAI;AAHT,wBAGS;AAgBT,eAAO,MAAM,iBAAiB,2GAAiC,CAAA;AAG/D,eAAO,MAAM,uBAAuB,2GAAiC,CAAA;AAUrE,eAAO,MAAM,kBAAkB,2GAAiC,CAAA"}
1
+ {"version":3,"file":"errorBoundary.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/error/errorBoundary.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAKzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;wBAM1D,IAAI;AAHT,wBAGS;AAgBT,eAAO,MAAM,iBAAiB,yGAAiC,CAAA;AAG/D,eAAO,MAAM,uBAAuB,yGAAiC,CAAA;AAUrE,eAAO,MAAM,kBAAkB,yGAAiC,CAAA"}