gd-design-library 0.7.0 → 0.7.2

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 (849) hide show
  1. package/README.md +97 -0
  2. package/ai/README.md +137 -0
  3. package/ai/schemas/components/Row.d.ts +21 -1
  4. package/index.d.ts +0 -1
  5. package/index.js +170 -181
  6. package/llms.txt +309 -0
  7. package/package.json +19 -1
  8. package/CHANGELOG.md +0 -177
  9. package/ai/codegen.js +0 -51
  10. package/ai/prompts.js +0 -23
  11. package/ai/schemas/components/Accordion.js +0 -37
  12. package/ai/schemas/components/Avatar.js +0 -67
  13. package/ai/schemas/components/Breadcrumbs.js +0 -51
  14. package/ai/schemas/components/Button.js +0 -92
  15. package/ai/schemas/components/Card.js +0 -74
  16. package/ai/schemas/components/Carousel.js +0 -108
  17. package/ai/schemas/components/ChatBubble.js +0 -34
  18. package/ai/schemas/components/ChatContainer.js +0 -48
  19. package/ai/schemas/components/Column.js +0 -69
  20. package/ai/schemas/components/ContentCarousel.js +0 -72
  21. package/ai/schemas/components/Counter.js +0 -37
  22. package/ai/schemas/components/DragAndDropFiles.js +0 -50
  23. package/ai/schemas/components/FlexContainer.js +0 -133
  24. package/ai/schemas/components/Form.js +0 -36
  25. package/ai/schemas/components/Icon.js +0 -41
  26. package/ai/schemas/components/Image.js +0 -55
  27. package/ai/schemas/components/InlineNotification.js +0 -23
  28. package/ai/schemas/components/Input.js +0 -142
  29. package/ai/schemas/components/InputFile.js +0 -55
  30. package/ai/schemas/components/Label.js +0 -43
  31. package/ai/schemas/components/Link.js +0 -58
  32. package/ai/schemas/components/List.js +0 -35
  33. package/ai/schemas/components/Loader.js +0 -55
  34. package/ai/schemas/components/Modal.js +0 -51
  35. package/ai/schemas/components/Portal.js +0 -49
  36. package/ai/schemas/components/Price.js +0 -25
  37. package/ai/schemas/components/ProgressBar.js +0 -53
  38. package/ai/schemas/components/RadioGroup.js +0 -80
  39. package/ai/schemas/components/Rating.js +0 -64
  40. package/ai/schemas/components/Row.js +0 -61
  41. package/ai/schemas/components/Scroll.js +0 -35
  42. package/ai/schemas/components/Search.js +0 -72
  43. package/ai/schemas/components/Select.js +0 -84
  44. package/ai/schemas/components/Separator.js +0 -62
  45. package/ai/schemas/components/Skeleton.js +0 -48
  46. package/ai/schemas/components/Slider.js +0 -42
  47. package/ai/schemas/components/Snackbar.js +0 -57
  48. package/ai/schemas/components/SnackbarManager.js +0 -13
  49. package/ai/schemas/components/Stepper.js +0 -38
  50. package/ai/schemas/components/Switch.js +0 -64
  51. package/ai/schemas/components/Tabs.js +0 -37
  52. package/ai/schemas/components/Textarea.js +0 -88
  53. package/ai/schemas/components/Toggle.js +0 -41
  54. package/ai/schemas/components/Tooltip.js +0 -61
  55. package/ai/schemas/components/Typography.js +0 -56
  56. package/ai/schemas/components/Wrapper.js +0 -46
  57. package/ai/schemas/components.js +0 -56
  58. package/ai/schemas/hooks/useTheme.js +0 -48
  59. package/components/core/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  60. package/components/core/Breadcrumbs/Breadcrumbs.js +0 -34
  61. package/components/core/Breadcrumbs/Breadcrumbs.types.d.ts +0 -14
  62. package/components/core/Breadcrumbs/BreadcrumbsStyled.d.ts +0 -6
  63. package/components/core/Breadcrumbs/BreadcrumbsStyled.js +0 -58
  64. package/components/core/Breadcrumbs/constants.d.ts +0 -1
  65. package/components/core/Breadcrumbs/constants.js +0 -4
  66. package/components/core/Breadcrumbs/index.d.ts +0 -2
  67. package/components/core/Button/Button.d.ts +0 -2
  68. package/components/core/Button/Button.js +0 -43
  69. package/components/core/Button/Button.types.d.ts +0 -26
  70. package/components/core/Button/ButtonStyled.d.ts +0 -5
  71. package/components/core/Button/ButtonStyled.js +0 -53
  72. package/components/core/Button/constants.d.ts +0 -1
  73. package/components/core/Button/constants.js +0 -4
  74. package/components/core/Button/index.d.ts +0 -2
  75. package/components/core/Dropdown/Dropdown.d.ts +0 -3
  76. package/components/core/Dropdown/Dropdown.js +0 -38
  77. package/components/core/Dropdown/Dropdown.types.d.ts +0 -8
  78. package/components/core/Dropdown/DropdownStyled.d.ts +0 -2
  79. package/components/core/Dropdown/DropdownStyled.js +0 -17
  80. package/components/core/Dropdown/constants.d.ts +0 -1
  81. package/components/core/Dropdown/constants.js +0 -4
  82. package/components/core/Dropdown/hooks/index.d.ts +0 -1
  83. package/components/core/Dropdown/hooks/useDropdown.d.ts +0 -3
  84. package/components/core/Dropdown/hooks/useDropdown.js +0 -12
  85. package/components/core/Dropdown/index.d.ts +0 -3
  86. package/components/core/DropdownItem/DropdownItem.d.ts +0 -2
  87. package/components/core/DropdownItem/DropdownItem.js +0 -45
  88. package/components/core/DropdownItem/DropdownItem.types.d.ts +0 -9
  89. package/components/core/DropdownItem/DropdownItemStyled.d.ts +0 -2
  90. package/components/core/DropdownItem/DropdownItemStyled.js +0 -17
  91. package/components/core/DropdownItem/constants.d.ts +0 -1
  92. package/components/core/DropdownItem/constants.js +0 -4
  93. package/components/core/DropdownItem/index.d.ts +0 -2
  94. package/components/core/Form/Form.d.ts +0 -2
  95. package/components/core/Form/Form.js +0 -48
  96. package/components/core/Form/Form.types.d.ts +0 -29
  97. package/components/core/Form/FormStyled.d.ts +0 -2
  98. package/components/core/Form/FormStyled.js +0 -16
  99. package/components/core/Form/constants.d.ts +0 -1
  100. package/components/core/Form/constants.js +0 -4
  101. package/components/core/Form/index.d.ts +0 -2
  102. package/components/core/Form/utils.d.ts +0 -3
  103. package/components/core/Form/utils.js +0 -34
  104. package/components/core/Icon/Icon.d.ts +0 -4
  105. package/components/core/Icon/Icon.js +0 -40
  106. package/components/core/Icon/Icon.types.d.ts +0 -11
  107. package/components/core/Icon/constants.d.ts +0 -317
  108. package/components/core/Icon/constants.js +0 -102
  109. package/components/core/Icon/index.d.ts +0 -2
  110. package/components/core/Icon/utils.d.ts +0 -3
  111. package/components/core/Image/Image.d.ts +0 -2
  112. package/components/core/Image/Image.js +0 -40
  113. package/components/core/Image/Image.types.d.ts +0 -27
  114. package/components/core/Image/ImageStyled.d.ts +0 -5
  115. package/components/core/Image/ImageStyled.js +0 -54
  116. package/components/core/Image/constants.d.ts +0 -1
  117. package/components/core/Image/constants.js +0 -4
  118. package/components/core/Image/index.d.ts +0 -2
  119. package/components/core/InlineNotification/InlineNotification.d.ts +0 -2
  120. package/components/core/InlineNotification/InlineNotification.js +0 -38
  121. package/components/core/InlineNotification/InlineNotification.types.d.ts +0 -9
  122. package/components/core/InlineNotification/InlineNotificationStyled.d.ts +0 -3
  123. package/components/core/InlineNotification/InlineNotificationStyled.js +0 -29
  124. package/components/core/InlineNotification/constants.d.ts +0 -16
  125. package/components/core/InlineNotification/constants.js +0 -21
  126. package/components/core/InlineNotification/index.d.ts +0 -2
  127. package/components/core/Input/Input.d.ts +0 -2
  128. package/components/core/Input/Input.js +0 -73
  129. package/components/core/Input/Input.types.d.ts +0 -74
  130. package/components/core/Input/InputAdornment/InputAdornment.d.ts +0 -2
  131. package/components/core/Input/InputAdornment/InputAdornment.js +0 -18
  132. package/components/core/Input/InputAdornment/InputAdornmentStyled.d.ts +0 -2
  133. package/components/core/Input/InputAdornment/InputAdornmentStyled.js +0 -15
  134. package/components/core/Input/InputAdornment/constants.d.ts +0 -1
  135. package/components/core/Input/InputAdornment/constants.js +0 -4
  136. package/components/core/Input/InputAdornment/index.d.ts +0 -1
  137. package/components/core/Input/InputHelper/InputHelper.d.ts +0 -2
  138. package/components/core/Input/InputHelper/InputHelper.js +0 -22
  139. package/components/core/Input/InputHelper/InputHelperStyled.d.ts +0 -2
  140. package/components/core/Input/InputHelper/InputHelperStyled.js +0 -17
  141. package/components/core/Input/InputHelper/constants.d.ts +0 -1
  142. package/components/core/Input/InputHelper/constants.js +0 -4
  143. package/components/core/Input/InputHelper/index.d.ts +0 -1
  144. package/components/core/Input/InputStyled.d.ts +0 -2
  145. package/components/core/Input/InputStyled.js +0 -18
  146. package/components/core/Input/InputWrapper/InputWrapper.d.ts +0 -2
  147. package/components/core/Input/InputWrapper/InputWrapper.js +0 -22
  148. package/components/core/Input/InputWrapper/InputWrapperStyled.d.ts +0 -2
  149. package/components/core/Input/InputWrapper/InputWrapperStyled.js +0 -21
  150. package/components/core/Input/InputWrapper/constants.d.ts +0 -1
  151. package/components/core/Input/InputWrapper/constants.js +0 -4
  152. package/components/core/Input/InputWrapper/index.d.ts +0 -1
  153. package/components/core/Input/constants.d.ts +0 -14
  154. package/components/core/Input/constants.js +0 -18
  155. package/components/core/Input/index.d.ts +0 -2
  156. package/components/core/Input/useInputHandlers.d.ts +0 -17
  157. package/components/core/Input/useInputHandlers.js +0 -31
  158. package/components/core/InputFile/InputFile.d.ts +0 -34
  159. package/components/core/InputFile/InputFile.js +0 -40
  160. package/components/core/InputFile/InputFile.types.d.ts +0 -18
  161. package/components/core/InputFile/InputFileStyled.d.ts +0 -3
  162. package/components/core/InputFile/InputFileStyled.js +0 -27
  163. package/components/core/InputFile/constants.d.ts +0 -3
  164. package/components/core/InputFile/constants.js +0 -6
  165. package/components/core/InputFile/index.d.ts +0 -2
  166. package/components/core/Label/Label.d.ts +0 -2
  167. package/components/core/Label/Label.js +0 -28
  168. package/components/core/Label/Label.types.d.ts +0 -10
  169. package/components/core/Label/LabelStyled.d.ts +0 -2
  170. package/components/core/Label/LabelStyled.js +0 -21
  171. package/components/core/Label/constants.d.ts +0 -1
  172. package/components/core/Label/constants.js +0 -4
  173. package/components/core/Label/index.d.ts +0 -2
  174. package/components/core/Link/Link.d.ts +0 -2
  175. package/components/core/Link/Link.js +0 -43
  176. package/components/core/Link/Link.types.d.ts +0 -21
  177. package/components/core/Link/LinkStyled.d.ts +0 -2
  178. package/components/core/Link/LinkStyled.js +0 -22
  179. package/components/core/Link/constants.d.ts +0 -1
  180. package/components/core/Link/constants.js +0 -4
  181. package/components/core/Link/index.d.ts +0 -2
  182. package/components/core/List/List.d.ts +0 -3
  183. package/components/core/List/List.js +0 -45
  184. package/components/core/List/List.types.d.ts +0 -10
  185. package/components/core/List/ListStyled.d.ts +0 -3
  186. package/components/core/List/ListStyled.js +0 -31
  187. package/components/core/List/constants.d.ts +0 -1
  188. package/components/core/List/constants.js +0 -4
  189. package/components/core/List/index.d.ts +0 -2
  190. package/components/core/Loader/Loader.d.ts +0 -2
  191. package/components/core/Loader/Loader.js +0 -29
  192. package/components/core/Loader/Loader.types.d.ts +0 -18
  193. package/components/core/Loader/LoaderStyled.d.ts +0 -2
  194. package/components/core/Loader/LoaderStyled.js +0 -41
  195. package/components/core/Loader/constants.d.ts +0 -2
  196. package/components/core/Loader/constants.js +0 -6
  197. package/components/core/Loader/index.d.ts +0 -2
  198. package/components/core/Loader/utils.d.ts +0 -11
  199. package/components/core/Loader/utils.js +0 -37
  200. package/components/core/Menu/Menu.d.ts +0 -2
  201. package/components/core/Menu/Menu.js +0 -106
  202. package/components/core/Menu/Menu.types.d.ts +0 -15
  203. package/components/core/Menu/MenuStyled.d.ts +0 -3
  204. package/components/core/Menu/MenuStyled.js +0 -31
  205. package/components/core/Menu/constants.d.ts +0 -10
  206. package/components/core/Menu/constants.js +0 -24
  207. package/components/core/Menu/index.d.ts +0 -2
  208. package/components/core/Modal/Modal.d.ts +0 -2
  209. package/components/core/Modal/Modal.js +0 -47
  210. package/components/core/Modal/Modal.types.d.ts +0 -18
  211. package/components/core/Modal/ModalStyled.d.ts +0 -8
  212. package/components/core/Modal/ModalStyled.js +0 -76
  213. package/components/core/Modal/constants.d.ts +0 -1
  214. package/components/core/Modal/constants.js +0 -4
  215. package/components/core/Modal/index.d.ts +0 -2
  216. package/components/core/Portal/Portal.d.ts +0 -2
  217. package/components/core/Portal/Portal.js +0 -26
  218. package/components/core/Portal/Portal.types.d.ts +0 -10
  219. package/components/core/Portal/constants.d.ts +0 -1
  220. package/components/core/Portal/index.d.ts +0 -2
  221. package/components/core/Scroll/Scroll.d.ts +0 -19
  222. package/components/core/Scroll/Scroll.js +0 -40
  223. package/components/core/Scroll/Scroll.types.d.ts +0 -19
  224. package/components/core/Scroll/ScrollBar.d.ts +0 -2
  225. package/components/core/Scroll/ScrollBar.js +0 -68
  226. package/components/core/Scroll/ScrollStyled.d.ts +0 -6
  227. package/components/core/Scroll/ScrollStyled.js +0 -56
  228. package/components/core/Scroll/constants.d.ts +0 -3
  229. package/components/core/Scroll/constants.js +0 -6
  230. package/components/core/Scroll/index.d.ts +0 -2
  231. package/components/core/Scroll/utils.d.ts +0 -5
  232. package/components/core/Scroll/utils.js +0 -41
  233. package/components/core/Select/Select.d.ts +0 -2
  234. package/components/core/Select/Select.js +0 -192
  235. package/components/core/Select/Select.types.d.ts +0 -69
  236. package/components/core/Select/SelectStyled.d.ts +0 -8
  237. package/components/core/Select/SelectStyled.js +0 -67
  238. package/components/core/Select/constants.d.ts +0 -2
  239. package/components/core/Select/constants.js +0 -5
  240. package/components/core/Select/hooks/index.d.ts +0 -1
  241. package/components/core/Select/hooks/useSelectContext.d.ts +0 -3
  242. package/components/core/Select/hooks/useSelectContext.js +0 -12
  243. package/components/core/Select/index.d.ts +0 -3
  244. package/components/core/Separator/Separator.d.ts +0 -2
  245. package/components/core/Separator/Separator.js +0 -36
  246. package/components/core/Separator/Separator.types.d.ts +0 -31
  247. package/components/core/Separator/SeparatorStyled.d.ts +0 -4
  248. package/components/core/Separator/SeparatorStyled.js +0 -61
  249. package/components/core/Separator/constants.d.ts +0 -1
  250. package/components/core/Separator/constants.js +0 -4
  251. package/components/core/Separator/index.d.ts +0 -2
  252. package/components/core/Skeleton/Skeleton.d.ts +0 -2
  253. package/components/core/Skeleton/Skeleton.js +0 -24
  254. package/components/core/Skeleton/Skeleton.types.d.ts +0 -17
  255. package/components/core/Skeleton/SkeletonStyled.d.ts +0 -2
  256. package/components/core/Skeleton/SkeletonStyled.js +0 -28
  257. package/components/core/Skeleton/constants.d.ts +0 -2
  258. package/components/core/Skeleton/constants.js +0 -6
  259. package/components/core/Skeleton/index.d.ts +0 -2
  260. package/components/core/Slider/Slider.d.ts +0 -20
  261. package/components/core/Slider/Slider.js +0 -35
  262. package/components/core/Slider/Slider.types.d.ts +0 -17
  263. package/components/core/Slider/SliderStyled.d.ts +0 -2
  264. package/components/core/Slider/SliderStyled.js +0 -20
  265. package/components/core/Slider/constants.d.ts +0 -3
  266. package/components/core/Slider/constants.js +0 -6
  267. package/components/core/Slider/index.d.ts +0 -3
  268. package/components/core/Snackbar/Snackbar.d.ts +0 -2
  269. package/components/core/Snackbar/Snackbar.js +0 -48
  270. package/components/core/Snackbar/Snackbar.types.d.ts +0 -36
  271. package/components/core/Snackbar/SnackbarManager.d.ts +0 -3
  272. package/components/core/Snackbar/SnackbarManager.js +0 -48
  273. package/components/core/Snackbar/SnackbarStyled.d.ts +0 -12
  274. package/components/core/Snackbar/SnackbarStyled.js +0 -107
  275. package/components/core/Snackbar/constants.d.ts +0 -8
  276. package/components/core/Snackbar/constants.js +0 -10
  277. package/components/core/Snackbar/index.d.ts +0 -4
  278. package/components/core/Switch/Switch.d.ts +0 -2
  279. package/components/core/Switch/Switch.js +0 -46
  280. package/components/core/Switch/Switch.types.d.ts +0 -21
  281. package/components/core/Switch/SwitchStyled.d.ts +0 -6
  282. package/components/core/Switch/SwitchStyled.js +0 -56
  283. package/components/core/Switch/constants.d.ts +0 -1
  284. package/components/core/Switch/constants.js +0 -4
  285. package/components/core/Switch/index.d.ts +0 -2
  286. package/components/core/Textarea/Textarea.d.ts +0 -2
  287. package/components/core/Textarea/Textarea.js +0 -35
  288. package/components/core/Textarea/Textarea.types.d.ts +0 -42
  289. package/components/core/Textarea/Textarea.types.js +0 -6
  290. package/components/core/Textarea/TextareaStyled.d.ts +0 -2
  291. package/components/core/Textarea/TextareaStyled.js +0 -27
  292. package/components/core/Textarea/constants.d.ts +0 -1
  293. package/components/core/Textarea/constants.js +0 -4
  294. package/components/core/Textarea/hooks/index.d.ts +0 -2
  295. package/components/core/Textarea/hooks/useDynamicHeightAdjustment.d.ts +0 -2
  296. package/components/core/Textarea/hooks/useDynamicHeightAdjustment.js +0 -8
  297. package/components/core/Textarea/hooks/useResizeObserver.d.ts +0 -2
  298. package/components/core/Textarea/hooks/useResizeObserver.js +0 -24
  299. package/components/core/Textarea/index.d.ts +0 -2
  300. package/components/core/Toggle/Toggle.d.ts +0 -2
  301. package/components/core/Toggle/Toggle.js +0 -37
  302. package/components/core/Toggle/Toggle.types.d.ts +0 -17
  303. package/components/core/Toggle/ToggleStyled.d.ts +0 -2
  304. package/components/core/Toggle/ToggleStyled.js +0 -18
  305. package/components/core/Toggle/constants.d.ts +0 -1
  306. package/components/core/Toggle/constants.js +0 -4
  307. package/components/core/Toggle/index.d.ts +0 -2
  308. package/components/core/Tooltip/Tooltip.d.ts +0 -3
  309. package/components/core/Tooltip/Tooltip.js +0 -52
  310. package/components/core/Tooltip/Tooltip.types.d.ts +0 -22
  311. package/components/core/Tooltip/Tooltip.types.js +0 -4
  312. package/components/core/Tooltip/TooltipStyled.d.ts +0 -3
  313. package/components/core/Tooltip/TooltipStyled.js +0 -24
  314. package/components/core/Tooltip/constants.d.ts +0 -3
  315. package/components/core/Tooltip/constants.js +0 -6
  316. package/components/core/Tooltip/index.d.ts +0 -2
  317. package/components/core/Tooltip/utils.d.ts +0 -22
  318. package/components/core/Tooltip/utils.js +0 -78
  319. package/components/core/Typography/Typography.d.ts +0 -2
  320. package/components/core/Typography/Typography.js +0 -26
  321. package/components/core/Typography/Typography.types.d.ts +0 -20
  322. package/components/core/Typography/TypographyStyled.d.ts +0 -2
  323. package/components/core/Typography/TypographyStyled.js +0 -32
  324. package/components/core/Typography/constants.d.ts +0 -1
  325. package/components/core/Typography/constants.js +0 -4
  326. package/components/core/Typography/index.d.ts +0 -2
  327. package/components/core/Wrapper/Wrapper.d.ts +0 -3
  328. package/components/core/Wrapper/Wrapper.js +0 -21
  329. package/components/core/Wrapper/Wrapper.types.d.ts +0 -11
  330. package/components/core/Wrapper/WrapperStyled.d.ts +0 -2
  331. package/components/core/Wrapper/WrapperStyled.js +0 -24
  332. package/components/core/Wrapper/constants.d.ts +0 -1
  333. package/components/core/Wrapper/constants.js +0 -4
  334. package/components/core/Wrapper/index.d.ts +0 -2
  335. package/components/core/index.d.ts +0 -30
  336. package/components/core/types/events.types.d.ts +0 -7
  337. package/components/core/types/index.types.d.ts +0 -2
  338. package/components/core/types/roles.types.d.ts +0 -4
  339. package/components/core/types/roles.types.js +0 -4
  340. package/components/domainSpecific/Accordion/Accordion.d.ts +0 -2
  341. package/components/domainSpecific/Accordion/Accordion.js +0 -35
  342. package/components/domainSpecific/Accordion/Accordion.types.d.ts +0 -24
  343. package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.d.ts +0 -2
  344. package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.js +0 -21
  345. package/components/domainSpecific/Accordion/AccordionContent/index.d.ts +0 -1
  346. package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.d.ts +0 -2
  347. package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.js +0 -29
  348. package/components/domainSpecific/Accordion/AccordionHeader/index.d.ts +0 -1
  349. package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.d.ts +0 -2
  350. package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.js +0 -26
  351. package/components/domainSpecific/Accordion/AccordionItem/index.d.ts +0 -1
  352. package/components/domainSpecific/Accordion/AccordionStyled.d.ts +0 -5
  353. package/components/domainSpecific/Accordion/AccordionStyled.js +0 -39
  354. package/components/domainSpecific/Accordion/constants.d.ts +0 -5
  355. package/components/domainSpecific/Accordion/constants.js +0 -7
  356. package/components/domainSpecific/Accordion/hooks/index.d.ts +0 -1
  357. package/components/domainSpecific/Accordion/hooks/useAccordion.d.ts +0 -3
  358. package/components/domainSpecific/Accordion/hooks/useAccordion.js +0 -12
  359. package/components/domainSpecific/Accordion/index.d.ts +0 -4
  360. package/components/domainSpecific/Avatar/Avatar.d.ts +0 -4
  361. package/components/domainSpecific/Avatar/Avatar.js +0 -44
  362. package/components/domainSpecific/Avatar/Avatar.types.d.ts +0 -27
  363. package/components/domainSpecific/Avatar/AvatarStyled.d.ts +0 -6
  364. package/components/domainSpecific/Avatar/AvatarStyled.js +0 -63
  365. package/components/domainSpecific/Avatar/constants.d.ts +0 -3
  366. package/components/domainSpecific/Avatar/constants.js +0 -6
  367. package/components/domainSpecific/Avatar/index.d.ts +0 -2
  368. package/components/domainSpecific/Card/Card.d.ts +0 -20
  369. package/components/domainSpecific/Card/Card.js +0 -47
  370. package/components/domainSpecific/Card/Card.types.d.ts +0 -51
  371. package/components/domainSpecific/Card/CardButton/CardButton.d.ts +0 -4
  372. package/components/domainSpecific/Card/CardButton/CardButton.js +0 -25
  373. package/components/domainSpecific/Card/CardButton/CardButtonStyled.d.ts +0 -2
  374. package/components/domainSpecific/Card/CardButton/CardButtonStyled.js +0 -18
  375. package/components/domainSpecific/Card/CardButton/constants.d.ts +0 -1
  376. package/components/domainSpecific/Card/CardButton/constants.js +0 -4
  377. package/components/domainSpecific/Card/CardButton/index.d.ts +0 -1
  378. package/components/domainSpecific/Card/CardCounter/CardCounter.d.ts +0 -4
  379. package/components/domainSpecific/Card/CardCounter/CardCounter.js +0 -26
  380. package/components/domainSpecific/Card/CardCounter/CardCounterStyled.d.ts +0 -2
  381. package/components/domainSpecific/Card/CardCounter/CardCounterStyled.js +0 -17
  382. package/components/domainSpecific/Card/CardCounter/constants.d.ts +0 -1
  383. package/components/domainSpecific/Card/CardCounter/constants.js +0 -4
  384. package/components/domainSpecific/Card/CardCounter/index.d.ts +0 -1
  385. package/components/domainSpecific/Card/CardDescription/CardDescription.d.ts +0 -2
  386. package/components/domainSpecific/Card/CardDescription/CardDescription.js +0 -24
  387. package/components/domainSpecific/Card/CardDescription/CardDescriptionStyled.d.ts +0 -2
  388. package/components/domainSpecific/Card/CardDescription/CardDescriptionStyled.js +0 -24
  389. package/components/domainSpecific/Card/CardDescription/constants.d.ts +0 -6
  390. package/components/domainSpecific/Card/CardDescription/constants.js +0 -10
  391. package/components/domainSpecific/Card/CardDescription/index.d.ts +0 -1
  392. package/components/domainSpecific/Card/CardImage/CardImage.d.ts +0 -2
  393. package/components/domainSpecific/Card/CardImage/CardImage.js +0 -26
  394. package/components/domainSpecific/Card/CardImage/CardImageStyled.d.ts +0 -2
  395. package/components/domainSpecific/Card/CardImage/CardImageStyled.js +0 -18
  396. package/components/domainSpecific/Card/CardImage/constants.d.ts +0 -1
  397. package/components/domainSpecific/Card/CardImage/constants.js +0 -4
  398. package/components/domainSpecific/Card/CardImage/index.d.ts +0 -1
  399. package/components/domainSpecific/Card/CardPrice/CardPrice.d.ts +0 -2
  400. package/components/domainSpecific/Card/CardPrice/CardPrice.js +0 -22
  401. package/components/domainSpecific/Card/CardPrice/CardPriceStyled.d.ts +0 -2
  402. package/components/domainSpecific/Card/CardPrice/CardPriceStyled.js +0 -18
  403. package/components/domainSpecific/Card/CardPrice/constants.d.ts +0 -1
  404. package/components/domainSpecific/Card/CardPrice/constants.js +0 -4
  405. package/components/domainSpecific/Card/CardPrice/index.d.ts +0 -1
  406. package/components/domainSpecific/Card/CardRating/CardRating.d.ts +0 -2
  407. package/components/domainSpecific/Card/CardRating/CardRating.js +0 -30
  408. package/components/domainSpecific/Card/CardRating/CardRatingStyled.d.ts +0 -2
  409. package/components/domainSpecific/Card/CardRating/CardRatingStyled.js +0 -18
  410. package/components/domainSpecific/Card/CardRating/constants.d.ts +0 -3
  411. package/components/domainSpecific/Card/CardRating/constants.js +0 -6
  412. package/components/domainSpecific/Card/CardRating/index.d.ts +0 -1
  413. package/components/domainSpecific/Card/CardTitle/CardTitle.d.ts +0 -4
  414. package/components/domainSpecific/Card/CardTitle/CardTitle.js +0 -25
  415. package/components/domainSpecific/Card/CardTitle/CardTitleStyled.d.ts +0 -2
  416. package/components/domainSpecific/Card/CardTitle/CardTitleStyled.js +0 -24
  417. package/components/domainSpecific/Card/CardTitle/constants.d.ts +0 -6
  418. package/components/domainSpecific/Card/CardTitle/constants.js +0 -10
  419. package/components/domainSpecific/Card/CardTitle/index.d.ts +0 -1
  420. package/components/domainSpecific/Card/CartStyled.d.ts +0 -2
  421. package/components/domainSpecific/Card/CartStyled.js +0 -26
  422. package/components/domainSpecific/Card/constants.d.ts +0 -1
  423. package/components/domainSpecific/Card/constants.js +0 -4
  424. package/components/domainSpecific/Card/index.d.ts +0 -2
  425. package/components/domainSpecific/Carousel/Carousel.d.ts +0 -12
  426. package/components/domainSpecific/Carousel/Carousel.js +0 -137
  427. package/components/domainSpecific/Carousel/Carousel.types.d.ts +0 -35
  428. package/components/domainSpecific/Carousel/CarouselStyled.d.ts +0 -15
  429. package/components/domainSpecific/Carousel/CarouselStyled.js +0 -143
  430. package/components/domainSpecific/Carousel/constants.d.ts +0 -1
  431. package/components/domainSpecific/Carousel/constants.js +0 -4
  432. package/components/domainSpecific/Carousel/index.d.ts +0 -2
  433. package/components/domainSpecific/ChatBubble/ChatBubble.d.ts +0 -2
  434. package/components/domainSpecific/ChatBubble/ChatBubble.js +0 -26
  435. package/components/domainSpecific/ChatBubble/ChatBubble.types.d.ts +0 -16
  436. package/components/domainSpecific/ChatBubble/ChatBubbleStyled.d.ts +0 -4
  437. package/components/domainSpecific/ChatBubble/ChatBubbleStyled.js +0 -43
  438. package/components/domainSpecific/ChatBubble/constants.d.ts +0 -1
  439. package/components/domainSpecific/ChatBubble/constants.js +0 -4
  440. package/components/domainSpecific/ChatBubble/index.d.ts +0 -2
  441. package/components/domainSpecific/ContentCarousel/ContentCarousel.d.ts +0 -2
  442. package/components/domainSpecific/ContentCarousel/ContentCarousel.js +0 -68
  443. package/components/domainSpecific/ContentCarousel/ContentCarousel.types.d.ts +0 -16
  444. package/components/domainSpecific/ContentCarousel/ContentCarouselStyled.d.ts +0 -5
  445. package/components/domainSpecific/ContentCarousel/ContentCarouselStyled.js +0 -32
  446. package/components/domainSpecific/ContentCarousel/constants.d.ts +0 -1
  447. package/components/domainSpecific/ContentCarousel/constants.js +0 -4
  448. package/components/domainSpecific/ContentCarousel/index.d.ts +0 -2
  449. package/components/domainSpecific/Counter/Counter.d.ts +0 -2
  450. package/components/domainSpecific/Counter/Counter.js +0 -55
  451. package/components/domainSpecific/Counter/Counter.types.d.ts +0 -15
  452. package/components/domainSpecific/Counter/CounterStyled.d.ts +0 -3
  453. package/components/domainSpecific/Counter/CounterStyled.js +0 -26
  454. package/components/domainSpecific/Counter/constants.d.ts +0 -5
  455. package/components/domainSpecific/Counter/constants.js +0 -8
  456. package/components/domainSpecific/Counter/index.d.ts +0 -2
  457. package/components/domainSpecific/DragAndDropFiles/DragAndDropFiles.d.ts +0 -4
  458. package/components/domainSpecific/DragAndDropFiles/DragAndDropFiles.js +0 -48
  459. package/components/domainSpecific/DragAndDropFiles/DragAndDropFiles.types.d.ts +0 -21
  460. package/components/domainSpecific/DragAndDropFiles/DragAndDropFilesStyled.d.ts +0 -2
  461. package/components/domainSpecific/DragAndDropFiles/DragAndDropFilesStyled.js +0 -16
  462. package/components/domainSpecific/DragAndDropFiles/constants.d.ts +0 -1
  463. package/components/domainSpecific/DragAndDropFiles/constants.js +0 -4
  464. package/components/domainSpecific/DragAndDropFiles/hooks/useDragAndDrop/index.d.ts +0 -1
  465. package/components/domainSpecific/DragAndDropFiles/hooks/useDragAndDrop/useDragAndDrop.d.ts +0 -19
  466. package/components/domainSpecific/DragAndDropFiles/hooks/useDragAndDrop/useDragAndDrop.js +0 -49
  467. package/components/domainSpecific/DragAndDropFiles/index.d.ts +0 -2
  468. package/components/domainSpecific/Header/Header.d.ts +0 -2
  469. package/components/domainSpecific/Header/Header.js +0 -88
  470. package/components/domainSpecific/Header/Header.types.d.ts +0 -31
  471. package/components/domainSpecific/Header/HeaderStyled.d.ts +0 -14
  472. package/components/domainSpecific/Header/HeaderStyled.js +0 -136
  473. package/components/domainSpecific/Header/constants.d.ts +0 -1
  474. package/components/domainSpecific/Header/constants.js +0 -4
  475. package/components/domainSpecific/Header/index.d.ts +0 -1
  476. package/components/domainSpecific/Price/Price.d.ts +0 -4
  477. package/components/domainSpecific/Price/Price.js +0 -23
  478. package/components/domainSpecific/Price/Price.types.d.ts +0 -10
  479. package/components/domainSpecific/Price/PriceStyled.d.ts +0 -4
  480. package/components/domainSpecific/Price/PriceStyled.js +0 -42
  481. package/components/domainSpecific/Price/constants.d.ts +0 -1
  482. package/components/domainSpecific/Price/constants.js +0 -4
  483. package/components/domainSpecific/Price/index.d.ts +0 -2
  484. package/components/domainSpecific/ProgressBar/ProgressBar.d.ts +0 -4
  485. package/components/domainSpecific/ProgressBar/ProgressBar.js +0 -29
  486. package/components/domainSpecific/ProgressBar/ProgressBar.types.d.ts +0 -36
  487. package/components/domainSpecific/ProgressBar/ProgressBarStyled.d.ts +0 -6
  488. package/components/domainSpecific/ProgressBar/ProgressBarStyled.js +0 -70
  489. package/components/domainSpecific/ProgressBar/constants.d.ts +0 -4
  490. package/components/domainSpecific/ProgressBar/constants.js +0 -7
  491. package/components/domainSpecific/ProgressBar/index.d.ts +0 -2
  492. package/components/domainSpecific/RadioGroup/RadioGroup.d.ts +0 -4
  493. package/components/domainSpecific/RadioGroup/RadioGroup.js +0 -54
  494. package/components/domainSpecific/RadioGroup/RadioGroup.types.d.ts +0 -74
  495. package/components/domainSpecific/RadioGroup/RadioGroup.types.js +0 -4
  496. package/components/domainSpecific/RadioGroup/RadioGroupItem/RadioGroupItem.d.ts +0 -5
  497. package/components/domainSpecific/RadioGroup/RadioGroupItem/RadioGroupItem.js +0 -37
  498. package/components/domainSpecific/RadioGroup/RadioGroupItem/index.d.ts +0 -1
  499. package/components/domainSpecific/RadioGroup/RadioGroupStyled.d.ts +0 -6
  500. package/components/domainSpecific/RadioGroup/RadioGroupStyled.js +0 -130
  501. package/components/domainSpecific/RadioGroup/constants.d.ts +0 -2
  502. package/components/domainSpecific/RadioGroup/constants.js +0 -5
  503. package/components/domainSpecific/RadioGroup/index.d.ts +0 -2
  504. package/components/domainSpecific/Rating/Rating.d.ts +0 -2
  505. package/components/domainSpecific/Rating/Rating.js +0 -63
  506. package/components/domainSpecific/Rating/Rating.types.d.ts +0 -20
  507. package/components/domainSpecific/Rating/RatingStyled.d.ts +0 -5
  508. package/components/domainSpecific/Rating/RatingStyled.js +0 -61
  509. package/components/domainSpecific/Rating/constants.d.ts +0 -6
  510. package/components/domainSpecific/Rating/constants.js +0 -9
  511. package/components/domainSpecific/Rating/index.d.ts +0 -2
  512. package/components/domainSpecific/Search/Search.d.ts +0 -3
  513. package/components/domainSpecific/Search/Search.js +0 -39
  514. package/components/domainSpecific/Search/Search.types.d.ts +0 -30
  515. package/components/domainSpecific/Search/SearchStyled.d.ts +0 -5
  516. package/components/domainSpecific/Search/SearchStyled.js +0 -16
  517. package/components/domainSpecific/Search/constants.d.ts +0 -4
  518. package/components/domainSpecific/Search/constants.js +0 -7
  519. package/components/domainSpecific/Search/index.d.ts +0 -2
  520. package/components/domainSpecific/SearchModal/SearchInput/SearchInput.d.ts +0 -5
  521. package/components/domainSpecific/SearchModal/SearchInput/SearchInput.js +0 -26
  522. package/components/domainSpecific/SearchModal/SearchInput/SearchInputStyled.d.ts +0 -4
  523. package/components/domainSpecific/SearchModal/SearchInput/SearchInputStyled.js +0 -25
  524. package/components/domainSpecific/SearchModal/SearchInput/constants.d.ts +0 -3
  525. package/components/domainSpecific/SearchModal/SearchInput/constants.js +0 -6
  526. package/components/domainSpecific/SearchModal/SearchInput/index.d.ts +0 -1
  527. package/components/domainSpecific/SearchModal/SearchItems/SearchItems.d.ts +0 -5
  528. package/components/domainSpecific/SearchModal/SearchItems/SearchItems.js +0 -48
  529. package/components/domainSpecific/SearchModal/SearchItems/SearchItemsStyled.d.ts +0 -10
  530. package/components/domainSpecific/SearchModal/SearchItems/SearchItemsStyled.js +0 -82
  531. package/components/domainSpecific/SearchModal/SearchItems/constants.d.ts +0 -7
  532. package/components/domainSpecific/SearchModal/SearchItems/constants.js +0 -10
  533. package/components/domainSpecific/SearchModal/SearchItems/index.d.ts +0 -1
  534. package/components/domainSpecific/SearchModal/SearchItems/utils.d.ts +0 -2
  535. package/components/domainSpecific/SearchModal/SearchItems/utils.js +0 -7
  536. package/components/domainSpecific/SearchModal/SearchLoader/SearchLoader.d.ts +0 -5
  537. package/components/domainSpecific/SearchModal/SearchLoader/SearchLoader.js +0 -20
  538. package/components/domainSpecific/SearchModal/SearchLoader/SearchLoaderStyled.d.ts +0 -3
  539. package/components/domainSpecific/SearchModal/SearchLoader/SearchLoaderStyled.js +0 -14
  540. package/components/domainSpecific/SearchModal/SearchLoader/constants.d.ts +0 -1
  541. package/components/domainSpecific/SearchModal/SearchLoader/constants.js +0 -4
  542. package/components/domainSpecific/SearchModal/SearchLoader/index.d.ts +0 -1
  543. package/components/domainSpecific/SearchModal/SearchModal.d.ts +0 -4
  544. package/components/domainSpecific/SearchModal/SearchModal.js +0 -39
  545. package/components/domainSpecific/SearchModal/SearchModal.types.d.ts +0 -48
  546. package/components/domainSpecific/SearchModal/SearchModalStyled.d.ts +0 -3
  547. package/components/domainSpecific/SearchModal/SearchModalStyled.js +0 -29
  548. package/components/domainSpecific/SearchModal/constants.d.ts +0 -5
  549. package/components/domainSpecific/SearchModal/constants.js +0 -8
  550. package/components/domainSpecific/SearchModal/index.d.ts +0 -2
  551. package/components/domainSpecific/Stepper/Stepper.d.ts +0 -2
  552. package/components/domainSpecific/Stepper/Stepper.js +0 -42
  553. package/components/domainSpecific/Stepper/Stepper.types.d.ts +0 -31
  554. package/components/domainSpecific/Stepper/StepperStyled.d.ts +0 -6
  555. package/components/domainSpecific/Stepper/StepperStyled.js +0 -58
  556. package/components/domainSpecific/Stepper/constants.d.ts +0 -1
  557. package/components/domainSpecific/Stepper/constants.js +0 -4
  558. package/components/domainSpecific/Stepper/index.d.ts +0 -2
  559. package/components/domainSpecific/Stepper/utils.d.ts +0 -2
  560. package/components/domainSpecific/Stepper/utils.js +0 -37
  561. package/components/domainSpecific/Tabs/Tabs.d.ts +0 -2
  562. package/components/domainSpecific/Tabs/Tabs.js +0 -40
  563. package/components/domainSpecific/Tabs/Tabs.types.d.ts +0 -26
  564. package/components/domainSpecific/Tabs/TabsStyled.d.ts +0 -8
  565. package/components/domainSpecific/Tabs/TabsStyled.js +0 -79
  566. package/components/domainSpecific/Tabs/constants.d.ts +0 -6
  567. package/components/domainSpecific/Tabs/constants.js +0 -6
  568. package/components/domainSpecific/Tabs/index.d.ts +0 -2
  569. package/components/domainSpecific/index.d.ts +0 -17
  570. package/components/index.d.ts +0 -6
  571. package/components/index.types.d.ts +0 -115
  572. package/components/index.types.js +0 -4
  573. package/components/layout/ChatContainer/ChatContainer.d.ts +0 -2
  574. package/components/layout/ChatContainer/ChatContainer.js +0 -57
  575. package/components/layout/ChatContainer/ChatContainer.types.d.ts +0 -25
  576. package/components/layout/ChatContainer/ChatContainerStyled.d.ts +0 -9
  577. package/components/layout/ChatContainer/ChatContainerStyled.js +0 -74
  578. package/components/layout/ChatContainer/constants.d.ts +0 -1
  579. package/components/layout/ChatContainer/constants.js +0 -4
  580. package/components/layout/ChatContainer/index.d.ts +0 -2
  581. package/components/layout/Column/Column.d.ts +0 -2
  582. package/components/layout/Column/Column.js +0 -26
  583. package/components/layout/Column/Column.types.d.ts +0 -6
  584. package/components/layout/Column/ColumnStyled.d.ts +0 -2
  585. package/components/layout/Column/ColumnStyled.js +0 -36
  586. package/components/layout/Column/constants.d.ts +0 -1
  587. package/components/layout/Column/constants.js +0 -4
  588. package/components/layout/Column/index.d.ts +0 -2
  589. package/components/layout/FlexContainer/FlexContainer.d.ts +0 -2
  590. package/components/layout/FlexContainer/FlexContainer.js +0 -22
  591. package/components/layout/FlexContainer/FlexContainer.types.d.ts +0 -6
  592. package/components/layout/FlexContainer/FlexContainerStyled.d.ts +0 -2
  593. package/components/layout/FlexContainer/FlexContainerStyled.js +0 -21
  594. package/components/layout/FlexContainer/constants.d.ts +0 -1
  595. package/components/layout/FlexContainer/constants.js +0 -4
  596. package/components/layout/FlexContainer/index.d.ts +0 -2
  597. package/components/layout/FlexContainer/utils.d.ts +0 -2
  598. package/components/layout/Row/Row.d.ts +0 -3
  599. package/components/layout/Row/Row.js +0 -26
  600. package/components/layout/Row/Row.types.d.ts +0 -6
  601. package/components/layout/Row/RowStyled.d.ts +0 -2
  602. package/components/layout/Row/RowStyled.js +0 -36
  603. package/components/layout/Row/constants.d.ts +0 -1
  604. package/components/layout/Row/constants.js +0 -4
  605. package/components/layout/Row/index.d.ts +0 -2
  606. package/components/layout/index.d.ts +0 -4
  607. package/components/templates/SkeletonSearch/SkeletonSearch.d.ts +0 -2
  608. package/components/templates/SkeletonSearch/SkeletonSearch.js +0 -30
  609. package/components/templates/SkeletonSearch/SkeletonSearch.types.d.ts +0 -6
  610. package/components/templates/SkeletonSearch/SkeletonSearchStyled.d.ts +0 -11
  611. package/components/templates/SkeletonSearch/SkeletonSearchStyled.js +0 -97
  612. package/components/templates/SkeletonSearch/constants.d.ts +0 -2
  613. package/components/templates/SkeletonSearch/constants.js +0 -5
  614. package/components/templates/SkeletonSearch/index.d.ts +0 -2
  615. package/components/templates/index.d.ts +0 -1
  616. package/components/widget/DragAndDrop/DragAndDrop.d.ts +0 -4
  617. package/components/widget/DragAndDrop/DragAndDrop.js +0 -74
  618. package/components/widget/DragAndDrop/DragAndDrop.types.d.ts +0 -35
  619. package/components/widget/DragAndDrop/DragAndDropStyled.d.ts +0 -6
  620. package/components/widget/DragAndDrop/DragAndDropStyled.js +0 -61
  621. package/components/widget/DragAndDrop/constants.d.ts +0 -1
  622. package/components/widget/DragAndDrop/constants.js +0 -4
  623. package/components/widget/DragAndDrop/index.d.ts +0 -2
  624. package/components/widget/DragAndDrop/utils/index.d.ts +0 -1
  625. package/components/widget/DragAndDrop/utils/validators.d.ts +0 -5
  626. package/components/widget/DragAndDrop/utils/validators.js +0 -17
  627. package/components/widget/index.d.ts +0 -1
  628. package/constants/index.d.ts +0 -3
  629. package/constants/keyboard.d.ts +0 -8
  630. package/constants/keyboard.js +0 -11
  631. package/constants/positioning.d.ts +0 -9
  632. package/constants/positioning.js +0 -11
  633. package/constants/timers.d.ts +0 -2
  634. package/constants/timers.js +0 -5
  635. package/hooks/index.d.ts +0 -6
  636. package/hooks/useAutoFocus/index.d.ts +0 -1
  637. package/hooks/useAutoFocus/useAutoFocus.d.ts +0 -2
  638. package/hooks/useAutoFocus/useAutoFocus.js +0 -11
  639. package/hooks/useCarousel/index.d.ts +0 -1
  640. package/hooks/useCarousel/useCarousel.d.ts +0 -23
  641. package/hooks/useCarousel/useCarousel.js +0 -61
  642. package/hooks/useClickOutside/index.d.ts +0 -1
  643. package/hooks/useClickOutside/useClickOutside.d.ts +0 -1
  644. package/hooks/useClickOutside/useClickOutside.js +0 -15
  645. package/hooks/useKeyControls/index.d.ts +0 -1
  646. package/hooks/useKeyControls/useKeyControls.d.ts +0 -2
  647. package/hooks/useKeyControls/useKeyControls.js +0 -19
  648. package/hooks/useMediaQuery/index.d.ts +0 -1
  649. package/hooks/useMediaQuery/useMediaQuery.d.ts +0 -1
  650. package/hooks/useMediaQuery/useMediaQuery.js +0 -14
  651. package/hooks/useTheme/index.d.ts +0 -4
  652. package/hooks/useTheme/useTheme.d.ts +0 -4
  653. package/hooks/useTheme/useTheme.js +0 -48
  654. package/hooks/useTheme/useTheme.types.d.ts +0 -14
  655. package/hooks/useTheme/utils.d.ts +0 -2
  656. package/hooks/useTheme/utils.js +0 -10
  657. package/stories/Introduction/ThemeJsonPreview.d.ts +0 -4
  658. package/stories/components/TokenViewer/TokenViewer.d.ts +0 -2
  659. package/stories/components/TokenViewer/TokenViewer.types.d.ts +0 -12
  660. package/stories/components/TokenViewer/TokenViewerStyled.d.ts +0 -11
  661. package/stories/components/TokenViewer/index.d.ts +0 -1
  662. package/tokens/accordion.d.ts +0 -62
  663. package/tokens/accordion.js +0 -72
  664. package/tokens/animations.d.ts +0 -60
  665. package/tokens/animations.js +0 -63
  666. package/tokens/avatar.d.ts +0 -120
  667. package/tokens/avatar.js +0 -153
  668. package/tokens/borders.d.ts +0 -9
  669. package/tokens/borders.js +0 -17
  670. package/tokens/breadcrumbs.d.ts +0 -30
  671. package/tokens/breadcrumbs.js +0 -37
  672. package/tokens/breakpoints.d.ts +0 -8
  673. package/tokens/breakpoints.js +0 -12
  674. package/tokens/button.d.ts +0 -155
  675. package/tokens/button.js +0 -200
  676. package/tokens/card.d.ts +0 -175
  677. package/tokens/card.js +0 -187
  678. package/tokens/carousel.d.ts +0 -197
  679. package/tokens/carousel.js +0 -208
  680. package/tokens/chat.d.ts +0 -128
  681. package/tokens/chat.js +0 -126
  682. package/tokens/chatbubble.d.ts +0 -48
  683. package/tokens/chatbubble.js +0 -75
  684. package/tokens/colors.d.ts +0 -154
  685. package/tokens/colors.js +0 -157
  686. package/tokens/column.d.ts +0 -6
  687. package/tokens/column.js +0 -9
  688. package/tokens/constants.d.ts +0 -2
  689. package/tokens/constants.js +0 -4
  690. package/tokens/counter.d.ts +0 -38
  691. package/tokens/counter.js +0 -45
  692. package/tokens/cursors.d.ts +0 -17
  693. package/tokens/cursors.js +0 -20
  694. package/tokens/defaultTheme.d.ts +0 -3791
  695. package/tokens/defaultTheme.js +0 -123
  696. package/tokens/display.d.ts +0 -16
  697. package/tokens/display.js +0 -19
  698. package/tokens/draganddrop.d.ts +0 -61
  699. package/tokens/draganddrop.js +0 -87
  700. package/tokens/draganddropfiles.d.ts +0 -3
  701. package/tokens/draganddropfiles.js +0 -6
  702. package/tokens/flexContainer.d.ts +0 -9
  703. package/tokens/flexContainer.js +0 -13
  704. package/tokens/font.d.ts +0 -47
  705. package/tokens/font.js +0 -52
  706. package/tokens/form.d.ts +0 -3
  707. package/tokens/form.js +0 -6
  708. package/tokens/header.d.ts +0 -107
  709. package/tokens/header.js +0 -123
  710. package/tokens/icon.d.ts +0 -28
  711. package/tokens/icon.js +0 -32
  712. package/tokens/image.d.ts +0 -31
  713. package/tokens/image.js +0 -40
  714. package/tokens/index.d.ts +0 -3390
  715. package/tokens/index.js +0 -145
  716. package/tokens/inlineNotification.d.ts +0 -62
  717. package/tokens/inlineNotification.js +0 -75
  718. package/tokens/input.d.ts +0 -212
  719. package/tokens/input.js +0 -191
  720. package/tokens/inputfile.d.ts +0 -14
  721. package/tokens/inputfile.js +0 -18
  722. package/tokens/label.d.ts +0 -6
  723. package/tokens/label.js +0 -10
  724. package/tokens/link.d.ts +0 -80
  725. package/tokens/link.js +0 -66
  726. package/tokens/list.d.ts +0 -89
  727. package/tokens/list.js +0 -87
  728. package/tokens/loader.d.ts +0 -135
  729. package/tokens/loader.js +0 -143
  730. package/tokens/menu.d.ts +0 -15
  731. package/tokens/menu.js +0 -19
  732. package/tokens/modal.d.ts +0 -89
  733. package/tokens/modal.js +0 -112
  734. package/tokens/price.d.ts +0 -23
  735. package/tokens/price.js +0 -32
  736. package/tokens/progressbar.d.ts +0 -51
  737. package/tokens/progressbar.js +0 -60
  738. package/tokens/radiogroup.d.ts +0 -80
  739. package/tokens/radiogroup.js +0 -110
  740. package/tokens/radius.d.ts +0 -10
  741. package/tokens/radius.js +0 -14
  742. package/tokens/rating.d.ts +0 -65
  743. package/tokens/rating.js +0 -73
  744. package/tokens/reset.d.ts +0 -1
  745. package/tokens/reset.js +0 -4
  746. package/tokens/row.d.ts +0 -5
  747. package/tokens/row.js +0 -8
  748. package/tokens/scroll.d.ts +0 -91
  749. package/tokens/scroll.js +0 -99
  750. package/tokens/search.d.ts +0 -39
  751. package/tokens/search.js +0 -45
  752. package/tokens/searchModal.d.ts +0 -155
  753. package/tokens/searchModal.js +0 -159
  754. package/tokens/select.d.ts +0 -93
  755. package/tokens/select.js +0 -108
  756. package/tokens/separator.d.ts +0 -56
  757. package/tokens/separator.js +0 -63
  758. package/tokens/shadow.d.ts +0 -20
  759. package/tokens/shadow.js +0 -25
  760. package/tokens/skeleton.d.ts +0 -68
  761. package/tokens/skeleton.js +0 -77
  762. package/tokens/slider.d.ts +0 -58
  763. package/tokens/slider.js +0 -45
  764. package/tokens/snackbar.d.ts +0 -157
  765. package/tokens/snackbar.js +0 -177
  766. package/tokens/spacing.d.ts +0 -9
  767. package/tokens/spacing.js +0 -13
  768. package/tokens/stepper.d.ts +0 -132
  769. package/tokens/stepper.js +0 -147
  770. package/tokens/switch.d.ts +0 -67
  771. package/tokens/switch.js +0 -75
  772. package/tokens/tabs.d.ts +0 -88
  773. package/tokens/tabs.js +0 -110
  774. package/tokens/textarea.d.ts +0 -44
  775. package/tokens/textarea.js +0 -47
  776. package/tokens/toggle.d.ts +0 -9
  777. package/tokens/toggle.js +0 -19
  778. package/tokens/tooltip.d.ts +0 -61
  779. package/tokens/tooltip.js +0 -68
  780. package/tokens/types/index.types.d.ts +0 -14
  781. package/tokens/types/index.types.js +0 -4
  782. package/tokens/typography.d.ts +0 -127
  783. package/tokens/typography.js +0 -134
  784. package/tokens/utils.d.ts +0 -47
  785. package/tokens/utils.js +0 -88
  786. package/tokens/values.d.ts +0 -65
  787. package/tokens/values.js +0 -76
  788. package/tokens/wrapper.d.ts +0 -29
  789. package/tokens/wrapper.js +0 -34
  790. package/types/accesability.d.ts +0 -5
  791. package/types/accesability.js +0 -4
  792. package/types/button.d.ts +0 -28
  793. package/types/button.js +0 -7
  794. package/types/card.d.ts +0 -8
  795. package/types/card.js +0 -5
  796. package/types/carousel.d.ts +0 -12
  797. package/types/carousel.js +0 -6
  798. package/types/chat.d.ts +0 -5
  799. package/types/chat.js +0 -4
  800. package/types/common.d.ts +0 -12
  801. package/types/common.js +0 -5
  802. package/types/cursors.d.ts +0 -14
  803. package/types/cursors.js +0 -4
  804. package/types/index.d.ts +0 -21
  805. package/types/input.d.ts +0 -30
  806. package/types/input.js +0 -6
  807. package/types/keys.d.ts +0 -8
  808. package/types/label.d.ts +0 -4
  809. package/types/label.js +0 -4
  810. package/types/layout.d.ts +0 -8
  811. package/types/layout.js +0 -4
  812. package/types/link.d.ts +0 -18
  813. package/types/link.js +0 -5
  814. package/types/list.d.ts +0 -6
  815. package/types/list.js +0 -4
  816. package/types/misc.d.ts +0 -17
  817. package/types/separator.d.ts +0 -10
  818. package/types/separator.js +0 -5
  819. package/types/skeleton.d.ts +0 -5
  820. package/types/skeleton.js +0 -4
  821. package/types/snackbar.d.ts +0 -14
  822. package/types/snackbar.js +0 -5
  823. package/types/stepper.d.ts +0 -9
  824. package/types/stepper.js +0 -5
  825. package/types/styles.d.ts +0 -3
  826. package/types/typography.d.ts +0 -45
  827. package/types/typography.js +0 -6
  828. package/types/wrapper.d.ts +0 -5
  829. package/types/wrapper.js +0 -4
  830. package/utils/animationFrame.d.ts +0 -15
  831. package/utils/animationFrame.js +0 -17
  832. package/utils/common.d.ts +0 -2
  833. package/utils/common.js +0 -4
  834. package/utils/date.d.ts +0 -9
  835. package/utils/date.js +0 -11
  836. package/utils/focus.d.ts +0 -32
  837. package/utils/focus.js +0 -54
  838. package/utils/getCharCount.d.ts +0 -3
  839. package/utils/helpers.d.ts +0 -13
  840. package/utils/helpers.js +0 -49
  841. package/utils/index.d.ts +0 -10
  842. package/utils/layout.d.ts +0 -6
  843. package/utils/layout.js +0 -32
  844. package/utils/math.d.ts +0 -6
  845. package/utils/math.js +0 -11
  846. package/utils/setInRange.d.ts +0 -5
  847. package/utils/setInRange.js +0 -11
  848. package/utils/uniqueKeys.d.ts +0 -1
  849. package/utils/uniqueKeys.js +0 -4
@@ -1,72 +0,0 @@
1
- const e = {
2
- name: "ContentCarousel",
3
- import: "import { ContentCarousel } from 'gd-design-library'",
4
- description: "Generic carousel component for displaying arrays of custom content with flexible rendering. Ideal for product cards, testimonials, feature showcases, or any repeated content that benefits from carousel navigation.",
5
- props: [{
6
- name: "items",
7
- type: "T[]",
8
- description: "Array of items to be displayed in the carousel. Can be any data type (objects, strings, numbers, etc.)",
9
- required: !0,
10
- default: []
11
- }, {
12
- name: "renderItem",
13
- type: "(item: T, index: number) => ReactNode",
14
- description: "Function to render each item in the carousel. Receives the item and its index, returns the JSX to display",
15
- required: !0
16
- }, {
17
- name: "showArrows",
18
- type: "boolean",
19
- description: "Controls the visibility of navigation arrow buttons for previous/next navigation"
20
- }, {
21
- name: "showDots",
22
- type: "boolean",
23
- description: "Controls the visibility of dot indicators for slide position and direct navigation"
24
- }, {
25
- name: "isFocusable",
26
- type: "boolean",
27
- description: "Enables keyboard navigation using arrow keys and focus management for accessibility"
28
- }, {
29
- name: "autoPlay",
30
- type: "boolean",
31
- description: "Enables automatic slide progression"
32
- }, {
33
- name: "autoPlayInterval",
34
- type: "number",
35
- description: "Time in milliseconds between automatic slide transitions when autoPlay is enabled",
36
- default: 3e3
37
- }, {
38
- name: "loop",
39
- type: "boolean",
40
- description: "Enables infinite loop scrolling from last item back to first"
41
- }, {
42
- name: "slidesPerView",
43
- type: "number",
44
- description: "Number of items visible at once in the carousel viewport",
45
- default: 1
46
- }, {
47
- name: "gap",
48
- type: "string",
49
- description: "Space between carousel items",
50
- default: "0"
51
- }, {
52
- name: "onSlideChange",
53
- type: "(index: number) => void",
54
- description: "Callback fired when the active slide changes, receives the new slide index"
55
- }, {
56
- name: "className",
57
- type: "string",
58
- description: "Additional CSS classes to apply to the carousel container"
59
- }, {
60
- name: "styles",
61
- type: "CSSProperties",
62
- description: "Custom inline styles for the carousel container",
63
- default: {}
64
- }],
65
- examples: ["<ContentCarousel items={products} renderItem={(product) => <ProductCard {...product} />} showArrows showDots />", "<ContentCarousel items={testimonials} renderItem={(t, i) => <TestimonialCard key={i} quote={t.quote} author={t.author} />} autoPlay autoPlayInterval={5000} />", '<ContentCarousel items={features} renderItem={(feature) => <FlexContainer gap="16px"><Icon name={feature.icon} /><Typography>{feature.title}</Typography></FlexContainer>} slidesPerView={3} gap="20px" />', "<ContentCarousel items={images} renderItem={(src, index) => <Image src={src} alt={`Slide ${index + 1}`} />} showDots loop isFocusable />", '<ContentCarousel items={teamMembers} renderItem={(m) => <Card padding="16px"><Avatar src={m.avatar} /><Typography>{m.name}</Typography></Card>} slidesPerView={4} showArrows />']
66
- }, t = ["Use renderItem to keep rendering logic colocated and reusable across pages.", "Set slidesPerView > 1 for galleries of small items; 1 for hero content.", "Enable autoPlay for passive showcases; keep it off for interactive content.", "Use onSlideChange to sync external state, e.g., captions or counters.", "Use ContentCarousel with items array and renderItem function for complete control over slide content rendering.", "Apply ContentCarousel for product showcases with renderItem returning Card components with product details.", "Set ContentCarousel slidesPerView greater than 1 for multi-item carousels showing several items at once.", "Use ContentCarousel with showArrows and showDots based on device type - dots for mobile, arrows for desktop.", "Apply ContentCarousel isFocusable={true} for keyboard navigation support improving accessibility.", "Combine ContentCarousel with Card components in renderItem for structured content presentation.", "Use ContentCarousel autoPlay with autoPlayInterval for testimonials or featured content rotation.", "Set ContentCarousel gap prop to create visual separation between items in multi-item views.", "Apply ContentCarousel loop={true} for continuous browsing without hard stops at ends.", "Use ContentCarousel renderItem with conditional rendering for different item types in mixed content.", "Combine ContentCarousel with responsive slidesPerView adjusting item count based on viewport.", "Apply ContentCarousel onSlideChange to update external UI like item descriptions or counters.", "Use ContentCarousel with Avatar components in renderItem for team member or user carousels.", "Set ContentCarousel with fixed height items in renderItem to prevent layout shifts.", "Apply ContentCarousel for image galleries with renderItem returning Image components.", "Use ContentCarousel items with filtered arrays for dynamic content based on user selections.", "Combine ContentCarousel with InlineNotification in renderItem for items with status messages.", "Apply ContentCarousel showArrows={false} on touch devices relying on swipe gestures.", "Use ContentCarousel with Typography components in renderItem for text-based content slides.", "Set ContentCarousel slidesPerView={1} for full-width hero banners or feature highlights.", "Apply ContentCarousel with loading skeletons in renderItem while data is being fetched.", "Use ContentCarousel for testimonial sections with renderItem showing quotes and authors.", "Combine ContentCarousel with Icon components in renderItem for feature or benefit lists.", "Apply ContentCarousel gap with consistent values matching your design system spacing.", "Use ContentCarousel with Button components in renderItem for actionable slide content.", "Set ContentCarousel className for applying custom carousel styling via CSS.", "Apply ContentCarousel with FlexContainer in renderItem for complex slide layouts.", "Use ContentCarousel items.map() with unique keys in renderItem for React optimization.", "Combine ContentCarousel with Select component for filtering displayed carousel items.", "Apply ContentCarousel autoPlay={false} for user-controlled navigation in product views.", "Use ContentCarousel with consistent aspect ratios in renderItem for smooth transitions.", "Set ContentCarousel with responsive gap values for mobile vs desktop spacing.", "Apply ContentCarousel for blog post previews with renderItem showing post cards.", "Use ContentCarousel with Badge components in renderItem for items with status indicators.", "Combine ContentCarousel with lazy loading in renderItem for performance optimization.", "Apply ContentCarousel showDots with custom styling for branded dot indicators.", "Use ContentCarousel for category showcases with renderItem displaying category cards.", "Set ContentCarousel with aria-labels in renderItem for screen reader accessibility.", "Apply ContentCarousel for timeline events with renderItem showing chronological items.", "Use ContentCarousel with Separator in renderItem for visually divided content.", "Combine ContentCarousel with hover effects in renderItem for interactive slides.", 'Apply ContentCarousel slidesPerView="auto" for variable width items fitting naturally.', "Use ContentCarousel for pricing plans with renderItem showing plan cards.", "Set ContentCarousel with onClick handlers in renderItem for clickable slides.", "Apply ContentCarousel for portfolio items with renderItem displaying project cards.", "Use ContentCarousel with video content in renderItem pausing on slide change.", "Combine ContentCarousel with Modal triggers in renderItem for detailed views.", "Apply ContentCarousel for social media feeds with renderItem showing posts.", "Use ContentCarousel with progress indicators when items represent steps or stages.", "Use ContentCarousel with items array and renderItem function for complete control over slide content rendering.", "Apply ContentCarousel for product showcases with renderItem returning Card components with product details.", "Set ContentCarousel slidesPerView greater than 1 for multi-item carousels showing several items at once.", "Use ContentCarousel with showArrows and showDots based on device type - dots for mobile, arrows for desktop.", "Apply ContentCarousel isFocusable={true} for keyboard navigation support improving accessibility.", "Combine ContentCarousel with Card components in renderItem for structured content presentation.", "Use ContentCarousel autoPlay with autoPlayInterval for testimonials or featured content rotation.", "Set ContentCarousel gap prop to create visual separation between items in multi-item views.", "Apply ContentCarousel loop={true} for continuous browsing without hard stops at ends.", "Use ContentCarousel renderItem with conditional rendering for different item types in mixed content.", "Combine ContentCarousel with responsive slidesPerView adjusting item count based on viewport.", "Apply ContentCarousel onSlideChange to update external UI like item descriptions or counters.", "Use ContentCarousel with Avatar components in renderItem for team member or user carousels.", "Set ContentCarousel with fixed height items in renderItem to prevent layout shifts.", "Apply ContentCarousel for image galleries with renderItem returning Image components.", "Use ContentCarousel items with filtered arrays for dynamic content based on user selections.", "Combine ContentCarousel with InlineNotification in renderItem for items with status messages.", "Apply ContentCarousel showArrows={false} on touch devices relying on swipe gestures.", "Use ContentCarousel with Typography components in renderItem for text-based content slides.", "Set ContentCarousel slidesPerView={1} for full-width hero banners or feature highlights.", "Apply ContentCarousel with loading skeletons in renderItem while data is being fetched.", "Use ContentCarousel for testimonial sections with renderItem showing quotes and authors.", "Combine ContentCarousel with Icon components in renderItem for feature or benefit lists.", "Apply ContentCarousel gap with consistent values matching your design system spacing.", "Use ContentCarousel with Button components in renderItem for actionable slide content.", "Set ContentCarousel className for applying custom carousel styling via CSS.", "Apply ContentCarousel with FlexContainer in renderItem for complex slide layouts.", "Use ContentCarousel items.map() with unique keys in renderItem for React optimization.", "Combine ContentCarousel with Select component for filtering displayed carousel items.", "Apply ContentCarousel autoPlay={false} for user-controlled navigation in product views.", "Use ContentCarousel with consistent aspect ratios in renderItem for smooth transitions.", "Set ContentCarousel with responsive gap values for mobile vs desktop spacing.", "Apply ContentCarousel for blog post previews with renderItem showing post cards.", "Use ContentCarousel with Badge components in renderItem for items with status indicators.", "Combine ContentCarousel with lazy loading in renderItem for performance optimization.", "Apply ContentCarousel showDots with custom styling for branded dot indicators.", "Use ContentCarousel for category showcases with renderItem displaying category cards.", "Set ContentCarousel with aria-labels in renderItem for screen reader accessibility.", "Apply ContentCarousel for timeline events with renderItem showing chronological items.", "Use ContentCarousel with Separator in renderItem for visually divided content.", "Combine ContentCarousel with hover effects in renderItem for interactive slides.", 'Apply ContentCarousel slidesPerView="auto" for variable width items fitting naturally.', "Use ContentCarousel for pricing plans with renderItem showing plan cards.", "Set ContentCarousel with onClick handlers in renderItem for clickable slides.", "Apply ContentCarousel for portfolio items with renderItem displaying project cards.", "Use ContentCarousel with video content in renderItem pausing on slide change.", "Combine ContentCarousel with Modal triggers in renderItem for detailed views.", "Apply ContentCarousel for social media feeds with renderItem showing posts.", "Use ContentCarousel with progress indicators when items represent steps or stages."], o = {
67
- component: e,
68
- compositionTips: t
69
- };
70
- export {
71
- o as default
72
- };
@@ -1,37 +0,0 @@
1
- const e = {
2
- name: "Counter",
3
- import: "import { Counter } from 'gd-design-library'",
4
- description: "Numeric input component with increment/decrement controls for selecting values within a defined range. Provides accessible controls for quantity selection, settings adjustment, or any numeric value input.",
5
- props: [{
6
- name: "initial",
7
- type: "number",
8
- description: "Initial value of the counter",
9
- default: 1
10
- }, {
11
- name: "min",
12
- type: "number",
13
- description: "Minimum allowed value",
14
- default: 1
15
- }, {
16
- name: "max",
17
- type: "number",
18
- description: "Maximum allowed value",
19
- default: 999
20
- }, {
21
- name: "onCounterChange",
22
- type: "(value: number) => void",
23
- description: "Callback function triggered when counter value changes"
24
- }, {
25
- name: "style",
26
- type: "React.CSSProperties",
27
- description: "CSS properties applied to the counter container",
28
- default: {}
29
- }],
30
- examples: ["<Counter initial={1} min={1} max={10} onCounterChange={handleQuantityChange} />", '<Counter initial={5} min={0} max={100} style={{width: "150px"}} />', "<Counter min={0} max={999} onCounterChange={(value) => updateCartQuantity(itemId, value)} />", '<Counter initial={25} min={10} max={50} style={{fontSize: "18px"}} />']
31
- }, t = ["Use Counter for quantity selectors; enforce min to avoid zero/negative values.", "Clamp the value within [min, max] and disable decrement/increment at bounds.", "Debounce onCounterChange when updates trigger heavy recalculations or API calls.", "Place Counter next to Price to reflect total cost updates dynamically.", "Use keyboard support (arrow keys) and proper aria-labels for accessibility.", "Use Counter for quantity selectors in shopping carts with min={1} to prevent zero quantities.", "Apply Counter in settings panels for numeric preferences like font size or timeout values.", "Set Counter min={0} for optional quantities where zero is a valid selection.", "Use Counter onCounterChange to update state and trigger calculations like price totals.", "Apply Counter with max value based on inventory or availability for e-commerce.", "Combine Counter with Typography labels for clear context about what is being counted.", "Use Counter initial prop to set default values based on user preferences or previous selections.", "Apply Counter style prop to adjust width for different numeric ranges (narrow for 1-10, wider for 1-999).", "Set Counter in Card components with product information for organized product listings.", "Use Counter with disabled state based on product availability or user permissions.", "Apply Counter with FlexContainer for inline layouts with labels and units.", "Combine Counter with real-time validation showing warnings when approaching limits.", "Use Counter min and max dynamically based on business rules or user tier.", "Apply Counter in forms for numeric field input with better UX than text inputs.", "Set Counter with consistent styling across similar contexts for familiar interactions.", "Use Counter onCounterChange with debouncing for expensive operations like API calls.", "Apply Counter with localStorage to persist quantities across sessions.", "Combine Counter with InlineNotification for stock warnings or limit messages.", "Use Counter for pagination controls with min={1} and max={totalPages}.", "Apply Counter style with larger touch targets on mobile for better usability.", "Set Counter with keyboard support allowing arrow keys for increment/decrement.", "Use Counter in comparison tables for selecting quantities of different items.", "Apply Counter with animation for smooth value transitions.", "Combine Counter with price display updating in real-time as quantity changes.", "Use Counter for time inputs like hours or minutes with appropriate min/max.", "Apply Counter with visual feedback when reaching min or max limits.", "Set Counter in Modal dialogs for quantity selection before adding to cart.", "Use Counter with batch update support for multiple items simultaneously.", "Apply Counter with undo functionality for accidental value changes.", "Combine Counter with tooltips showing bulk discount tiers."], n = {
32
- component: e,
33
- compositionTips: t
34
- };
35
- export {
36
- n as default
37
- };
@@ -1,50 +0,0 @@
1
- const e = {
2
- name: "DragAndDropFiles",
3
- import: "import { DragAndDropFiles } from 'gd-design-library'",
4
- description: "File upload component with drag-and-drop functionality, providing visual feedback during drag operations and customizable drop zones for intuitive file uploading experiences.",
5
- props: [{
6
- name: "styles",
7
- type: "CSSProperties",
8
- description: "Custom CSS properties for styling the drag and drop container",
9
- default: {}
10
- }, {
11
- name: "triggerRef",
12
- type: "RefObject<HTMLElement>",
13
- description: "Reference to the element that initiates the drag operation, typically a button or clickable area"
14
- }, {
15
- name: "targetRef",
16
- type: "RefObject<HTMLElement>",
17
- description: "Reference to the drop zone element where files can be dropped"
18
- }, {
19
- name: "dragOverContent",
20
- type: "ReactNode",
21
- description: "Content to display when files are being dragged over the drop zone, such as instructions or visual indicators"
22
- }, {
23
- name: "onDragEnter",
24
- type: "(event: DragEvent) => void",
25
- description: "Callback fired when a drag operation enters the drop zone area"
26
- }, {
27
- name: "onDragOver",
28
- type: "(event: DragEvent) => void",
29
- description: "Callback fired continuously while dragging over the drop zone"
30
- }, {
31
- name: "onDragLeave",
32
- type: "(event: DragEvent) => void",
33
- description: "Callback fired when a drag operation leaves the drop zone area"
34
- }, {
35
- name: "onDrop",
36
- type: "(files: FileList, event: DragEvent) => void",
37
- description: "Callback fired when files are dropped in the zone, receives the FileList and drag event"
38
- }, {
39
- name: "children",
40
- type: "ReactNode",
41
- description: "Content to render within the drop zone when not in drag-over state"
42
- }],
43
- examples: ["<DragAndDropFiles onDrop={handleFileUpload} dragOverContent={<Typography>Drop files here</Typography>}>{uploadButton}</DragAndDropFiles>", '<DragAndDropFiles targetRef={dropZoneRef} onDrop={(files) => processFiles(files)} styles={{border: "2px dashed #ccc"}}><Icon name="upload" /><Typography>Drag files here or click to browse</Typography></DragAndDropFiles>', "<DragAndDropFiles onDragEnter={() => setIsDragging(true)} onDragLeave={() => setIsDragging(false)} onDrop={handleDrop}>{isDragging ? <Loader /> : <InputFile />}</DragAndDropFiles>", "<DragAndDropFiles triggerRef={buttonRef} targetRef={containerRef} dragOverContent={<Card isHighlighted><Typography>Release to upload</Typography></Card>}>{children}</DragAndDropFiles>"]
44
- }, r = ["Visually highlight the drop zone on drag over to guide the user.", "Validate file types and sizes in onDrop before uploading.", "Provide keyboard-accessible alternatives to drag-and-drop for accessibility.", "Show progress indicators and error messages for upload status.", "Use DragAndDropFiles with targetRef pointing to a visually distinct drop zone container for clear interaction boundaries.", "Apply DragAndDropFiles dragOverContent with clear visual feedback like highlighted borders or overlay to indicate active drop zone.", "Set DragAndDropFiles onDrop handler with file validation logic checking file types, sizes, and counts before processing.", "Use DragAndDropFiles with Card component as wrapper providing bordered drop zone with padding for comfortable interaction area.", "Apply DragAndDropFiles styles with dashed border and subtle background color to indicate droppable area in default state.", "Combine DragAndDropFiles with InputFile as fallback for browsers that do not support drag and drop or for user preference.", "Use DragAndDropFiles onDragEnter and onDragLeave to manage visual state changes like border color or background highlights.", 'Apply DragAndDropFiles dragOverContent with Icon and Typography showing "Drop files here" message for clear user guidance.', "Set DragAndDropFiles with InlineNotification after onDrop to show upload success, errors, or file validation messages.", "Use DragAndDropFiles targetRef with useRef hook to properly reference the drop zone DOM element for event handling.", "Apply DragAndDropFiles with multiple file support showing file count and list in dragOverContent for batch uploads.", "Combine DragAndDropFiles with ProgressBar component to show upload progress after files are dropped.", "Use DragAndDropFiles onDragOver with preventDefault() to enable drop functionality and prevent default browser behavior.", "Apply DragAndDropFiles with file type restrictions in onDrop handler matching accept attribute patterns from InputFile.", "Set DragAndDropFiles children with upload instructions, supported file types, and maximum file size information.", "Use DragAndDropFiles with triggerRef pointing to a button that opens file dialog as alternative to drag and drop.", "Apply DragAndDropFiles with visual transitions using CSS classes toggled by drag state for smooth user experience.", "Combine DragAndDropFiles with image preview generation showing thumbnails of dropped images before upload.", "Use DragAndDropFiles onDrop with FileReader API to read file contents for client-side processing or validation.", "Apply DragAndDropFiles with disabled state styling when uploads are in progress or quota is exceeded.", "Set DragAndDropFiles dragOverContent with Loader component when processing dropped files for immediate feedback.", "Use DragAndDropFiles with error boundary to gracefully handle drag and drop API failures in older browsers.", "Apply DragAndDropFiles styles with min-height to ensure adequate drop zone size even with minimal content.", "Combine DragAndDropFiles with file chunking logic in onDrop for large file upload optimization.", "Use DragAndDropFiles with keyboard accessibility providing alternative upload method via Space or Enter key.", "Apply DragAndDropFiles with mobile touch event fallbacks since drag and drop may not work on all mobile devices.", "Set DragAndDropFiles with clear visual distinction between drag-over and default states using contrasting colors.", "Use DragAndDropFiles onDrop with async/await pattern for sequential file processing with error handling.", "Apply DragAndDropFiles with maximum file count validation providing user feedback when limits are exceeded.", "Combine DragAndDropFiles with Modal for file upload confirmation or additional metadata input after drop.", "Use DragAndDropFiles dragOverContent with animation effects like pulse or glow to draw user attention.", "Apply DragAndDropFiles with consistent drop zone styling across the application for familiar interaction patterns.", "Set DragAndDropFiles with data transfer effectAllowed and dropEffect for proper drag operation feedback.", "Use DragAndDropFiles children with FlexContainer layout organizing upload icon, text, and button vertically.", "Apply DragAndDropFiles with file deduplication logic in onDrop preventing duplicate file uploads.", "Combine DragAndDropFiles with cloud storage service integration for direct-to-cloud uploads.", "Use DragAndDropFiles onDragEnter with file type checking to show early validation feedback during drag.", "Apply DragAndDropFiles with responsive design adjusting drop zone size and content based on viewport.", "Set DragAndDropFiles with ARIA attributes for screen reader announcements of drag and drop operations.", "Use DragAndDropFiles dragOverContent with percentage-based upload progress when processing multiple files.", "Apply DragAndDropFiles with cancel upload functionality allowing users to stop in-progress transfers.", "Combine DragAndDropFiles with compression utilities for automatic image optimization before upload.", "Use DragAndDropFiles styles with hover effects on desktop to indicate interactive drop zone area.", "Apply DragAndDropFiles with virus scanning integration for security validation of uploaded files.", "Set DragAndDropFiles with localStorage to persist upload history or resume interrupted uploads.", "Use DragAndDropFiles onDrop with metadata extraction reading EXIF data from images or document properties.", "Apply DragAndDropFiles with retry mechanism for failed uploads with exponential backoff strategy.", "Combine DragAndDropFiles with real-time collaboration features showing who is uploading files.", "Use DragAndDropFiles dragOverContent with file type icons indicating accepted formats visually."], o = {
45
- component: e,
46
- compositionTips: r
47
- };
48
- export {
49
- o as default
50
- };
@@ -1,133 +0,0 @@
1
- const e = {
2
- name: "FlexContainer",
3
- import: "import { FlexContainer } from 'gd-design-library'",
4
- description: "Flexbox-based layout container with gap, alignItems, justifyContent and flexDirection props.",
5
- props: [{
6
- name: "gap",
7
- type: "string",
8
- description: "Space between flex items, e.g., 8px, 1rem"
9
- }, {
10
- name: "alignItems",
11
- type: "string",
12
- description: "align-items value"
13
- }, {
14
- name: "justifyContent",
15
- type: "string",
16
- description: "justify-content value"
17
- }, {
18
- name: "flexDirection",
19
- type: "string",
20
- description: "Direction of the flex container layout",
21
- default: "Column",
22
- enum: ["row", "row-reverse", "column", "column-reverse"]
23
- }, {
24
- name: "className",
25
- type: "string",
26
- description: "Additional CSS classes to apply",
27
- default: ""
28
- }, {
29
- name: "styles",
30
- type: "CSSProperties",
31
- description: "Custom inline styles for the container",
32
- default: {}
33
- }, {
34
- name: "width",
35
- type: "string",
36
- description: "Width of the container",
37
- default: "auto"
38
- }, {
39
- name: "height",
40
- type: "string",
41
- description: "Height of the container",
42
- default: "auto"
43
- }, {
44
- name: "minWidth",
45
- type: "string",
46
- description: "Minimum width of the container",
47
- default: "none"
48
- }, {
49
- name: "minHeight",
50
- type: "string",
51
- description: "Minimum height of the container",
52
- default: "none"
53
- }, {
54
- name: "maxWidth",
55
- type: "string",
56
- description: "Maximum width of the container",
57
- default: "none"
58
- }, {
59
- name: "maxHeight",
60
- type: "string",
61
- description: "Maximum height of the container",
62
- default: "none"
63
- }, {
64
- name: "margin",
65
- type: "string",
66
- description: "Margin around the container",
67
- default: "0"
68
- }, {
69
- name: "marginTop",
70
- type: "string",
71
- description: "Top margin of the container",
72
- default: "0"
73
- }, {
74
- name: "marginRight",
75
- type: "string",
76
- description: "Right margin of the container",
77
- default: "0"
78
- }, {
79
- name: "marginBottom",
80
- type: "string",
81
- description: "Bottom margin of the container",
82
- default: "0"
83
- }, {
84
- name: "marginLeft",
85
- type: "string",
86
- description: "Left margin of the container",
87
- default: "0"
88
- }, {
89
- name: "padding",
90
- type: "string",
91
- description: "Padding inside the container",
92
- default: "0"
93
- }, {
94
- name: "paddingTop",
95
- type: "string",
96
- description: "Top padding of the container",
97
- default: "0"
98
- }, {
99
- name: "paddingRight",
100
- type: "string",
101
- description: "Right padding of the container",
102
- default: "0"
103
- }, {
104
- name: "paddingBottom",
105
- type: "string",
106
- description: "Bottom padding of the container",
107
- default: "0"
108
- }, {
109
- name: "paddingLeft",
110
- type: "string",
111
- description: "Left padding of the container",
112
- default: "0"
113
- }, {
114
- name: "position",
115
- type: "string",
116
- description: "CSS position property",
117
- default: "static",
118
- enum: ["static", "relative", "absolute", "fixed", "sticky"]
119
- }, {
120
- name: "overflow",
121
- type: "string",
122
- description: "Content overflow behavior",
123
- default: "visible",
124
- enum: ["visible", "hidden", "scroll", "auto"]
125
- }],
126
- examples: ['<FlexContainer gap="12px" flexDirection="column" alignItems="center">...</FlexContainer>']
127
- }, t = ['Use FlexContainer with flexDirection="row" for horizontal layouts and "column" for vertical stacks.', "Apply gap prop in FlexContainer to maintain consistent spacing between child elements.", "Combine FlexContainer alignItems and justifyContent for precise content alignment.", 'Set FlexContainer overflow="auto" for scrollable areas with fixed dimensions.', 'Use FlexContainer position="relative" as a positioning context for absolute children.', "Apply padding to FlexContainer for internal spacing, margin for external spacing.", "Leverage FlexContainer minWidth/maxWidth for responsive layouts that adapt to screen size.", 'Use FlexContainer with width="100%" and maxWidth for full-width responsive containers.', "Nest FlexContainers with different flexDirection values for complex grid-like layouts.", "Apply FlexContainer className for reusable styling patterns across the application.", 'Use Column for vertical layouts instead of FlexContainer with flexDirection="column" for cleaner code.'], n = {
128
- component: e,
129
- compositionTips: t
130
- };
131
- export {
132
- n as default
133
- };
@@ -1,36 +0,0 @@
1
- const e = {
2
- name: "Form",
3
- import: "import { Form } from 'gd-design-library'",
4
- description: "Semantic form wrapper component that handles form submission, field changes, and provides a structured container for form elements with built-in event handling.",
5
- props: [{
6
- name: "onSubmit",
7
- type: "(formData: FormSubmitEventData) => void",
8
- description: "Handler function called when the form is submitted, receives form data and event"
9
- }, {
10
- name: "onChange",
11
- type: "(formData: FormChangeEventData) => void",
12
- description: "Handler function called when any form field value changes, receives change event data"
13
- }, {
14
- name: "children",
15
- type: "ReactNode",
16
- description: "Form content elements including inputs, buttons, and other form controls",
17
- required: !0
18
- }, {
19
- name: "styles",
20
- type: "CSSProperties",
21
- description: "Custom CSS styles to apply to the form element",
22
- default: {}
23
- }, {
24
- name: "className",
25
- type: "string",
26
- description: "Additional CSS class names for styling the form container",
27
- default: ""
28
- }],
29
- examples: ['<Form onSubmit={handleSubmit}><Input name="email" type="email" required /><Button type="submit">Submit</Button></Form>', '<Form onChange={handleFieldChange} className="login-form"><Column gutter={16}>{formFields}</Column></Form>', '<Form onSubmit={handleFormSubmit} styles={{maxWidth: "400px"}}><Card padding="20px">{inputs}</Card></Form>']
30
- }, o = ["Use Form component as the semantic wrapper for all form elements instead of generic containers.", "Apply Form onSubmit handler with preventDefault to control submission programmatically.", "Set Form onChange handler to track field changes for real-time validation and auto-save.", "Combine Form with Column or FlexContainer inside for organized field layout.", "Use Form with InlineNotification at the top for submission success or error messages.", "Apply Form with sticky submit button on mobile for always-accessible submission.", "Use Form component as the semantic wrapper for all form elements instead of div or FlexContainer.", "Apply Form onSubmit handler with preventDefault to control form submission behavior programmatically.", "Set Form onChange handler to track field changes for real-time validation and auto-save features.", "Use Form with Card component wrapped inside for visually grouped form sections with borders.", 'Apply Form styles={{maxWidth: "600px"}} to limit form width for better readability on large screens.', "Combine Form with Column or FlexContainer inside for organized field layout with proper spacing.", "Use Form className for applying consistent form styling across the application.", "Apply Form onSubmit with async handling for API calls, showing loading states during submission.", "Set Form onChange to enable/disable submit Button based on form validity.", "Use Form with nested Card components for multi-section forms like user profiles or settings.", "Apply Form with InlineNotification at the top for submission success or error messages.", "Combine Form with Input components using consistent naming for easy form data extraction.", "Use Form onSubmit to collect FormData and serialize for API submission.", "Apply Form with conditional rendering of fields based on other field values for dynamic forms.", "Set Form noValidate attribute via props to handle validation manually in JavaScript.", "Use Form with fieldset and legend elements inside for grouped related fields.", "Apply Form with disabled state on all child inputs during submission to prevent changes.", "Combine Form onChange with debouncing for performance optimization in large forms.", "Use Form with progressive disclosure pattern, showing additional fields as needed.", "Apply Form styles for responsive layout adjustments on mobile devices.", "Set Form with aria-label or aria-labelledby for accessibility when form purpose is not obvious.", "Use Form onSubmit validation with focus on first invalid field for better UX.", 'Apply Form with Button type="submit" for proper form submission via Enter key.', 'Combine Form with Button type="reset" for clearing all fields to defaults.', "Use Form onChange to update preview sections in real-time for WYSIWYG experiences.", "Apply Form with scroll to first error after validation failure for long forms.", "Set Form autocomplete attributes on child inputs for better browser integration.", "Use Form with step indicators or progress bars for multi-step form processes.", "Apply Form onSubmit with confirmation dialog for destructive or important actions.", "Combine Form with localStorage to persist draft data preventing data loss.", "Use Form with Input required props for HTML5 validation as fallback.", "Apply Form className with CSS Grid for complex multi-column layouts.", "Set Form with consistent spacing between field groups using Column gutter.", "Use Form onChange to calculate and display computed fields like totals or summaries.", "Apply Form with tooltip hints on complex fields for additional user guidance.", "Combine Form with keyboard navigation optimization using proper tabIndex ordering.", "Use Form onSubmit with redirect after successful submission to success page.", "Apply Form with error boundary to gracefully handle rendering errors.", "Set Form with print styles for forms that need to be printed or saved as PDF.", "Use Form onChange with field dependencies to enable/disable related fields.", "Apply Form with consistent error display pattern using InlineNotification below fields.", "Combine Form with Select, Input, and InputFile for comprehensive data collection.", 'Use Form styles={{padding: "20px"}} for comfortable spacing around form content.', "Apply Form with sticky submit button on mobile for always-accessible submission.", "Set Form with data attributes for analytics tracking of form interactions.", "Use Form onSubmit with optimistic UI updates for better perceived performance.", "Apply Form with skeleton loading states while fetching initial form data.", "Combine Form with dirty state tracking to warn users about unsaved changes.", "Use Form className with theme-specific styling for dark/light mode support."], t = {
31
- component: e,
32
- compositionTips: o
33
- };
34
- export {
35
- t as default
36
- };
@@ -1,41 +0,0 @@
1
- const o = {
2
- name: "Icon",
3
- import: "import { Icon } from 'gd-design-library'",
4
- description: "SVG icon component that renders icons from a registered list with customizable size and color options.",
5
- props: [{
6
- name: "name",
7
- type: "string",
8
- description: "The name of the icon to display from the registered list",
9
- required: !0
10
- }, {
11
- name: "width",
12
- type: "number",
13
- description: "Sets the width of the icon in pixels"
14
- }, {
15
- name: "height",
16
- type: "number",
17
- description: "Sets the height of the icon in pixels"
18
- }, {
19
- name: "fillSvg",
20
- type: "string",
21
- description: "Sets the fill color of the SVG element itself. Useful for single-color icons",
22
- default: "currentColor"
23
- }, {
24
- name: "fill",
25
- type: "string",
26
- description: "Sets the fill color for specific paths within the SVG that are designed to inherit it",
27
- default: "currentColor"
28
- }, {
29
- name: "size",
30
- type: "SizeVariant",
31
- description: "Predefined size variants that set both width and height according to the theme configuration",
32
- enum: ["xs", "sm", "md", "lg", "xl", "xxl"]
33
- }],
34
- examples: ['<Icon name="search" size="md" />', '<Icon name="close" width={24} height={24} fill="#666" />', '<Icon name="chevron-right" fillSvg="currentColor" />', '<Icon name="settings" size="lg" fill="primary" />']
35
- }, i = ["Use Icon size variants for consistent sizing across the app.", "Apply fill or fillSvg to match brand colors or context.", "Combine Icon with Button or Link for actionable icons.", "Use aria-label on parent elements when icon-only for accessibility.", "Use Icon size prop with predefined variants (xs, sm, md, lg, xl, xxl) for consistent sizing across the app.", "Apply Icon fillSvg for single-color icons where the entire SVG should be one color.", "Use Icon fill for multi-path icons where specific paths need different colors.", "Set Icon width and height explicitly in pixels when custom sizing is needed beyond size variants.", 'Use Icon with fillSvg="currentColor" (default) to inherit text color from parent Typography or Button.', "Combine Icon with Button iconStart or iconEnd props for buttons with icon indicators.", "Use Icon within Input adornmentStart or adornmentEnd for input field decorations.", 'Apply Icon size="sm" for inline text icons and size="lg" for standalone action icons.', "Use Icon name prop with consistent naming convention matching your icon library.", "Combine Icon with Typography for inline icons within text content.", "Set Icon fill with theme colors for consistent brand-aligned icon coloring.", 'Use Icon size="xs" for dense UI elements like table cells or compact lists.', 'Apply Icon size="xl" or "xxl" for hero sections and empty states.', "Wrap Icon in Button isIcon={true} for clickable icon-only buttons with proper touch targets.", 'Use Icon with aria-hidden="true" when decorative and paired with text labels.', 'Apply Icon with role="img" and aria-label when icon conveys meaning without text.', "Combine multiple Icon components with consistent size for icon groups or toolbars.", 'Use Icon fill="#000" or specific colors for icons that should not change with theme.', "Set Icon size consistently within same UI context (all navigation icons same size).", "Apply Icon with Link component for clickable icons that navigate.", "Use Icon in Select adornmentStart for category indicators in dropdown options.", "Combine Icon with Card for visual indicators of card content type.", "Apply Icon fillSvg with opacity for disabled or inactive icon states.", "Use Icon with animation classes in className for loading or status indicators.", "Set Icon width without height (or vice versa) to maintain aspect ratio with one dimension.", "Apply Icon with consistent spacing using margin in FlexContainer or Column.", 'Use Icon name="arrow-down" or similar in Select adornmentEnd for dropdown indicators.', "Combine Icon with Badge components for notification icons with counts.", 'Apply Icon size="md" as default for most UI contexts for optimal visibility.', "Use Icon with Tooltip wrapper for icons that need explanation on hover.", "Set Icon fill with conditional logic for state-based icon colors (error, success, warning).", "Apply Icon in ChatContainer headerContent for action buttons like settings or info.", "Use Icon with transform styles for rotated or flipped icon variations.", "Combine Icon size with Button size for proportional icon-to-button sizing.", 'Apply Icon in empty states with size="xxl" for prominent visual communication.', "Use Icon name with dynamic values for data-driven icon selection.", 'Set Icon fillSvg="transparent" with stroke styles for outline-only icons.', "Apply Icon with position absolute for overlay indicators on images or cards.", "Use Icon in loading states with CSS animation for spinner effects.", 'Combine Icon with text in FlexContainer gap="8px" for labeled icons.', "Apply Icon consistently in navigation items for visual consistency.", 'Use Icon size="sm" in dense forms and size="lg" in marketing sections.', "Set Icon with currentColor to automatically match surrounding text color.", "Apply Icon in status indicators with semantic colors (green for success, red for error).", "Use Icon with consistent naming patterns for easier maintenance (noun-verb format).", "Combine Icon with keyboard shortcuts for accessible icon button actions.", 'Apply Icon in breadcrumbs with size="xs" for compact navigation.', "Use Icon fill with CSS variables for theme-aware icon coloring.", "Set Icon in table headers with sort indicators using directional icons.", "Apply Icon with aria-describedby for complex icons needing description.", "Use Icon in tabs with consistent size for visual rhythm.", "Combine Icon with number badges for notification counts.", "Apply Icon in form validation with color-coded status indicators.", "Use Icon size relative to font size in mixed text-icon layouts.", "Set Icon with hover states using CSS for interactive feedback.", "Apply Icon in menu items with consistent left/right positioning.", "Use Icon with SVG sprite sheets for optimized icon delivery.", "Combine Icon with lazy loading for performance in icon-heavy interfaces.", "Apply Icon with semantic HTML for better accessibility.", "Use Icon in custom components with forwarded props for flexibility."], n = {
36
- component: o,
37
- compositionTips: i
38
- };
39
- export {
40
- n as default
41
- };
@@ -1,55 +0,0 @@
1
- const e = {
2
- name: "Image",
3
- import: "import { Image } from 'gd-design-library'",
4
- description: "Responsive image component with loading states, fallback support, and optional caption for displaying visual content.",
5
- props: [{
6
- name: "src",
7
- type: "string",
8
- description: "Source URL of the image",
9
- required: !0
10
- }, {
11
- name: "alt",
12
- type: "string",
13
- description: "Alternative text for the image for accessibility and when image fails to load",
14
- required: !0
15
- }, {
16
- name: "width",
17
- type: "number",
18
- description: "Width of the image in pixels"
19
- }, {
20
- name: "height",
21
- type: "number",
22
- description: "Height of the image in pixels"
23
- }, {
24
- name: "id",
25
- type: "string",
26
- description: "Unique identifier for the image element"
27
- }, {
28
- name: "className",
29
- type: "string",
30
- description: "Additional CSS classes to apply to the image"
31
- }, {
32
- name: "placeholder",
33
- type: "string",
34
- description: "Text to display while image is loading"
35
- }, {
36
- name: "caption",
37
- type: "string",
38
- description: "Caption text to display below the image"
39
- }, {
40
- name: "fallbackComponent",
41
- type: "ReactNode",
42
- description: "Component to display when image fails to load"
43
- }, {
44
- name: "onClick",
45
- type: "(event: React.MouseEvent) => void",
46
- description: "Click event handler for the image"
47
- }],
48
- examples: ['<Image src="/photo.jpg" alt="Product photo" width={400} height={300} />', '<Image src={imageUrl} alt="User avatar" caption="Profile picture" onClick={handleImageClick} />', '<Image src="/hero.jpg" alt="Hero image" placeholder="Loading..." fallbackComponent={<Icon name="image" />} />']
49
- }, i = ['Set Image loading="lazy" via props or attributes for below-fold images.', "Use Image placeholder with blur or skeleton UI for better loading experience.", "Combine Image with Link wrapper for clickable images that navigate.", "Apply Image in avatars with fallbackComponent showing user initials.", 'Use Image caption with Typography variant="caption" for consistent text styling.', "Combine Image with overlay text using absolute positioning for hero banners.", "Apply Image in lists with consistent thumbnail sizes for visual rhythm.", "Use Image with max dimensions to fit viewport when placed in modals.", "Use Image with explicit width and height props to prevent layout shift during loading.", "Apply Image alt text that describes the image content for accessibility and SEO.", "Set Image fallbackComponent with Icon or placeholder for graceful error handling.", "Use Image placeholder text for better perceived performance during slow connections.", "Apply Image caption for providing context or attribution below images.", "Combine Image with Card component for media cards with structured layouts.", "Use Image onClick handler for lightbox or full-screen image viewing features.", "Set Image className for responsive sizing with CSS (e.g., max-width: 100%).", "Apply Image with lazy loading attributes for performance in image-heavy pages.", "Use Image id for targeting specific images with JavaScript or CSS.", "Combine Image with aspect ratio containers to maintain proportions.", "Set Image width without height to maintain aspect ratio with single dimension.", "Apply Image in product galleries with consistent dimensions for visual harmony.", "Use Image fallbackComponent={<Typography>Image unavailable</Typography>} for text fallbacks.", "Combine multiple Image components in FlexContainer for gallery layouts.", "Apply Image with object-fit CSS via className for cover/contain behavior.", "Use Image in hero sections with full width and responsive height.", 'Set Image loading="lazy" via props or attributes for below-fold images.', "Apply Image with srcset for responsive images across different screen sizes.", "Use Image placeholder with blur or skeleton UI for better loading experience.", "Combine Image with Link wrapper for clickable images that navigate.", "Apply Image in avatars with fallbackComponent showing user initials.", "Use Image with consistent alt text patterns for similar image types.", "Set Image in carousel components with uniform dimensions for smooth transitions.", "Apply Image with error boundaries to prevent broken image layout issues.", 'Use Image caption with Typography variant="caption" for consistent text styling.', "Combine Image with overlay text using absolute positioning for hero banners.", "Apply Image in lists with consistent thumbnail sizes for visual rhythm.", "Use Image with CDN URLs for optimized delivery and caching.", "Set Image dimensions based on container size for responsive designs.", "Apply Image with loading states showing skeleton or shimmer effects.", "Use Image in modals with max dimensions to fit viewport.", "Combine Image with zoom functionality using transform on hover or click.", "Apply Image with proper CORS headers for cross-origin image loading.", 'Use Image alt="" (empty) for purely decorative images that add no information.', "Set Image with webp format with jpg/png fallbacks for better compression.", "Apply Image in background with CSS for decorative background images.", "Use Image with intersection observer for viewport-based lazy loading.", "Combine Image with figure and figcaption HTML elements for semantic markup.", "Apply Image with consistent naming conventions for easier asset management.", "Use Image in responsive grids with CSS Grid or Flexbox for galleries.", "Set Image with priority loading for above-fold critical images.", "Apply Image with blur-up technique using low-quality placeholder.", "Use Image fallbackComponent with retry button for network error recovery.", "Combine Image with Image component for before/after comparisons.", "Apply Image with consistent border-radius for rounded corners across app.", "Use Image with data attributes for analytics tracking.", "Set Image with appropriate compression based on content type (photos vs graphics).", "Apply Image in print styles with high-resolution versions.", "Use Image with social media meta tags for proper sharing previews."], t = {
50
- component: e,
51
- compositionTips: i
52
- };
53
- export {
54
- t as default
55
- };
@@ -1,23 +0,0 @@
1
- const i = {
2
- name: "InlineNotification",
3
- import: "import { InlineNotification } from 'gd-design-library'",
4
- description: "Inline notification component for displaying contextual messages, alerts, and feedback with different severity levels.",
5
- props: [{
6
- name: "variant",
7
- type: "NotificationVariant",
8
- description: "The visual style variant of the notification",
9
- default: "info",
10
- enum: ["info", "success", "warning", "error"]
11
- }, {
12
- name: "children",
13
- type: "ReactNode",
14
- description: "The content to be displayed within the notification"
15
- }],
16
- examples: ['<InlineNotification variant="success">Your changes have been saved successfully.</InlineNotification>', '<InlineNotification variant="error">Failed to process request. Please try again.</InlineNotification>', '<InlineNotification variant="warning">This action cannot be undone.</InlineNotification>', '<InlineNotification variant="info">New features are available in settings.</InlineNotification>']
17
- }, n = ['Use InlineNotification variant="error" for form validation errors and critical alerts.', 'Apply InlineNotification variant="success" after successful form submissions or actions.', 'Use InlineNotification variant="warning" for cautionary messages before destructive actions.', 'Apply InlineNotification variant="info" for neutral informational messages and tips.', "Place InlineNotification above or below form fields for contextual validation messages.", "Combine InlineNotification with Icon components in children for enhanced visual communication.", 'Use InlineNotification variant="error" for form validation errors and critical alerts.', 'Apply InlineNotification variant="success" after successful form submissions or actions.', 'Use InlineNotification variant="warning" for cautionary messages before destructive actions.', 'Apply InlineNotification variant="info" for neutral informational messages and tips.', "Place InlineNotification above form fields for field-specific validation messages.", "Use InlineNotification at the top of forms for general submission feedback.", "Combine InlineNotification with Icon components in children for enhanced visual communication.", "Apply InlineNotification with dismissible button using children prop for closeable alerts.", 'Use InlineNotification variant="error" with detailed error messages from API responses.', "Position InlineNotification below Input fields for inline validation feedback.", "Apply InlineNotification with consistent spacing using margin/padding in containers.", "Use InlineNotification with fade-in animations for smooth appearance on state changes.", "Combine InlineNotification with conditional rendering based on form validation state.", 'Apply InlineNotification variant="info" for helper text that appears on user interaction.', "Use InlineNotification in Card components for section-specific alerts and messages.", "Set InlineNotification with Typography children for rich text formatting in messages.", "Apply InlineNotification with auto-dismiss timer for temporary success messages.", 'Use InlineNotification variant="warning" before form submission for incomplete fields.', "Combine InlineNotification with Link components in children for actionable messages.", "Apply InlineNotification consistently across similar UI contexts for unified experience.", 'Use InlineNotification with role="alert" for important messages requiring immediate attention.', "Position InlineNotification at viewport top for global application messages.", "Apply InlineNotification with list formatting in children for multiple error messages.", "Use InlineNotification variant transitions when severity changes based on user actions.", "Combine InlineNotification with form field highlighting for better error visibility.", "Apply InlineNotification with compact styling in dense UI layouts.", "Use InlineNotification for real-time validation feedback as users type.", "Set InlineNotification with appropriate contrast ratios for accessibility.", "Apply InlineNotification with consistent icon usage per variant for quick recognition.", "Use InlineNotification in modal dialogs for action confirmations and warnings.", "Combine InlineNotification with progress indicators for long-running operations.", 'Apply InlineNotification variant="success" with next-step guidance after actions.', "Use InlineNotification for connection status and network error messages.", "Position InlineNotification strategically to avoid covering important UI elements.", "Apply InlineNotification with responsive design adapting message length on mobile.", "Use InlineNotification children with Button components for inline actions.", "Combine InlineNotification with data attributes for analytics tracking.", "Apply InlineNotification with consistent timing for auto-dismiss across the app.", 'Use InlineNotification variant="error" with retry actions for failed operations.', "Set InlineNotification with clear, actionable language avoiding technical jargon.", "Apply InlineNotification sparingly to avoid notification fatigue.", "Use InlineNotification with keyboard accessibility for screen reader users.", "Combine InlineNotification with sound/vibration for critical alerts on mobile.", "Apply InlineNotification with print styles for important messages in printed documents."], t = {
18
- component: i,
19
- compositionTips: n
20
- };
21
- export {
22
- t as default
23
- };