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,53 +0,0 @@
1
- const e = {
2
- name: "ProgressBar",
3
- import: "import { ProgressBar } from 'gd-design-library'",
4
- description: "Visual progress indicator component that displays task completion status with determinate or indeterminate states, customizable colors, and optional percentage display for tracking operations, uploads, or multi-step processes.",
5
- props: [{
6
- name: "value",
7
- type: "number",
8
- description: "Progress value from 0 to 100 representing completion percentage",
9
- default: 0
10
- }, {
11
- name: "indeterminate",
12
- type: "boolean",
13
- description: "Shows animated indeterminate state when true, used for unknown duration operations",
14
- default: !1
15
- }, {
16
- name: "showPercentage",
17
- type: "boolean",
18
- description: "Displays the percentage value as text label when true",
19
- default: !1
20
- }, {
21
- name: "fillColor",
22
- type: "string",
23
- description: "Color of the progress fill bar, accepts any CSS color value",
24
- default: "#0066FF"
25
- }, {
26
- name: "backgroundColor",
27
- type: "string",
28
- description: "Color of the track background behind the progress fill",
29
- default: "#E5E5E5"
30
- }, {
31
- name: "aria-label",
32
- type: "string",
33
- description: "ARIA label for accessibility, describes the progress bar purpose",
34
- default: "Progress bar"
35
- }, {
36
- name: "className",
37
- type: "string",
38
- description: "Custom CSS class for additional styling",
39
- default: ""
40
- }, {
41
- name: "styles",
42
- type: "CSSProperties",
43
- description: "Custom inline styles object for the progress bar container",
44
- default: {}
45
- }],
46
- examples: ["<ProgressBar value={75} showPercentage />", '<ProgressBar indeterminate aria-label="Loading content" />', '<ProgressBar value={50} fillColor="#10B981" backgroundColor="#F3F4F6" />', '<ProgressBar value={100} showPercentage fillColor="#059669" aria-label="Upload complete" />', '<ProgressBar value={25} styles={{width: "100%"}} className="upload-progress" />']
47
- }, r = ["Use indeterminate for unknown durations; switch to determinate when progress is known.", "Announce progress updates for screen readers via aria-live when appropriate.", "Avoid showing percentage when space is tight; use tooltip or label nearby.", "Pick contrasting fill/background colors for sufficient visual contrast.", "Use ProgressBar with value prop for determinate progress tracking when duration or steps are known.", "Apply ProgressBar indeterminate={true} for operations with unknown duration like initial data fetching.", "Set ProgressBar showPercentage={true} to display numeric progress for user clarity in uploads or downloads.", "Use ProgressBar fillColor with semantic colors: green for success, blue for in-progress, red for errors.", "Apply ProgressBar in file upload interfaces updating value based on upload percentage.", "Combine ProgressBar with InlineNotification above or below for status messages during operations.", "Use ProgressBar value={0} initially and update to 100 on completion for clear start/end states.", "Apply ProgressBar backgroundColor to match container background for seamless integration.", "Set ProgressBar with consistent height via styles for uniform appearance across the app.", "Use ProgressBar in multi-step forms showing overall completion across all steps.", "Apply ProgressBar indeterminate in Button or Card during async operations.", 'Combine ProgressBar with Typography showing step labels like "Step 2 of 5" for context.', "Use ProgressBar aria-label with descriptive text for screen reader accessibility.", "Apply ProgressBar with animation transitions for smooth value changes.", 'Set ProgressBar width="100%" via styles for responsive full-width progress indicators.', "Use ProgressBar in Modal headers or footers for operation progress within dialogs.", "Apply ProgressBar with custom fillColor matching brand colors for consistent theming.", "Combine ProgressBar with Cancel button for interruptible long-running operations.", "Use ProgressBar value calculated from array.filter().length for item processing progress.", "Apply ProgressBar showPercentage={false} for clean minimal progress indicators.", "Set ProgressBar in Table rows for individual item processing status.", "Use ProgressBar with WebSocket updates for real-time operation progress.", "Apply ProgressBar indeterminate with reduced opacity for subtle loading states.", "Combine ProgressBar with estimated time remaining text for better user expectations.", "Use ProgressBar in dashboard widgets for goal completion or quota tracking.", "Apply ProgressBar with stepped increments (25%, 50%, 75%) for chunked operations.", "Set ProgressBar fillColor conditionally based on value thresholds for status indication.", "Use ProgressBar in onboarding flows showing profile completion percentage.", "Apply ProgressBar with icon indicators at milestones (checkmarks at 25%, 50%, 75%, 100%).", "Combine ProgressBar with Loader component switching based on operation phase.", "Use ProgressBar for media playback progress with value from currentTime/duration.", "Apply ProgressBar in Card components for project or task completion status.", "Set ProgressBar with gradient fillColor via CSS for modern visual effects.", "Use ProgressBar value from API polling for server-side operation tracking.", "Apply ProgressBar with tooltip showing detailed progress information on hover.", "Combine ProgressBar with pause/resume controls for manageable long operations.", "Use ProgressBar in survey or quiz interfaces showing question progress.", "Apply ProgressBar with segmented appearance for discrete step visualization.", "Set ProgressBar in sidebars for storage usage or quota consumption display.", "Use ProgressBar indeterminate during connection establishment or handshake phases.", "Apply ProgressBar with error state styling when operations fail mid-progress.", "Combine ProgressBar with retry button appearing on failure for recovery options.", "Use ProgressBar for scroll progress indicators in long articles or documents.", "Apply ProgressBar with micro-animations at 100% completion for success feedback.", "Set ProgressBar with reduced motion preferences for accessibility compliance.", "Use ProgressBar in batch operations showing overall progress across multiple items.", "Apply ProgressBar with stacked bars for multi-category progress tracking.", "Combine ProgressBar with sound notifications at completion for background tasks.", "Use ProgressBar value with localStorage to persist progress across page refreshes."], s = {
48
- component: e,
49
- compositionTips: r
50
- };
51
- export {
52
- s as default
53
- };
@@ -1,80 +0,0 @@
1
- const o = {
2
- name: "RadioGroup",
3
- import: "import { RadioGroup } from 'gd-design-library'",
4
- description: "Radio button group component for single selection from multiple options with flexible layout variants (row, column, grid) and customization options including images, colors, tooltips, and custom rendering.",
5
- props: [{
6
- name: "options",
7
- type: "RadioOption[]",
8
- description: "Array of radio options where each must have label (string) and value (string). Optional properties: disabled (boolean), hex (string) for background color, image (string) for background image URL, tooltip (string) for hover text, payload (T) for additional data",
9
- required: !0,
10
- default: []
11
- }, {
12
- name: "variant",
13
- type: "RadioGroupVariant",
14
- description: "Layout variant controlling how radio items are arranged",
15
- default: "RadioGroupVariant.Row",
16
- enum: ["Row", "Column", "Grid"]
17
- }, {
18
- name: "value",
19
- type: "string",
20
- description: "Currently selected value for controlled component. Must be used with onChange handler"
21
- }, {
22
- name: "defaultValue",
23
- type: "string",
24
- description: "Initially selected value for uncontrolled component"
25
- }, {
26
- name: "onChange",
27
- type: "(value: string) => void",
28
- description: "Callback function triggered when the selected value changes"
29
- }, {
30
- name: "name",
31
- type: "string",
32
- description: "Name attribute for all radio inputs in the group. Auto-generated if not provided",
33
- default: "auto-generated"
34
- }, {
35
- name: "itemHeight",
36
- type: "string | number",
37
- description: "Fixed height for each radio item"
38
- }, {
39
- name: "itemWidth",
40
- type: "string | number",
41
- description: "Fixed width for each radio item"
42
- }, {
43
- name: "gutter",
44
- type: "string",
45
- description: "Spacing between radio items when variant is Row or Column",
46
- default: "spacing.sm"
47
- }, {
48
- name: "gridColumns",
49
- type: "number",
50
- description: "Number of columns for Grid variant layout"
51
- }, {
52
- name: "gridRows",
53
- type: "number",
54
- description: "Number of rows for Grid variant layout"
55
- }, {
56
- name: "gridColumnGutter",
57
- type: "string",
58
- description: "Gutter spacing between columns for Grid variant"
59
- }, {
60
- name: "gridRowGutter",
61
- type: "string",
62
- description: "Gutter spacing between rows for Grid variant"
63
- }, {
64
- name: "renderOption",
65
- type: "(args: RenderOptionProps) => ReactNode",
66
- description: "Custom render function for each radio option. Receives option, isSelected, isDisabled, and selectedValue as arguments"
67
- }, {
68
- name: "styles",
69
- type: "CSSObject",
70
- description: "Custom CSS-in-JS styles for the RadioGroup container",
71
- default: {}
72
- }],
73
- examples: ['<RadioGroup options={[{label: "Option 1", value: "1"}, {label: "Option 2", value: "2"}]} value={selected} onChange={setSelected} />', '<RadioGroup variant="Column" options={sizeOptions} defaultValue="medium" name="size-selection" />', '<RadioGroup variant="Grid" gridColumns={3} options={colorOptions.map(c => ({...c, hex: c.color}))} onChange={handleColorChange} />', "<RadioGroup options={plans} renderOption={({option, isSelected}) => <Card isHighlighted={isSelected}>{option.label}</Card>} />", '<RadioGroup options={themes.map(t => ({label: t.name, value: t.id, image: t.preview, tooltip: t.description}))} itemWidth="150px" itemHeight="100px" />']
74
- }, i = ["Use Row for short option sets; Column for longer labels or many items; Grid for visual selections.", "Keep one option selected at all times when value is required; provide defaultValue for uncontrolled use.", "Use renderOption to enrich options with icons, images, or badges.", "Ensure keyboard navigation (arrow keys) and focus styles for accessibility.", "Use RadioGroup for mutually exclusive selections like payment methods, shipping options, or plan tiers.", 'Apply RadioGroup variant="Row" (default) for horizontal layouts with few options (2-4 items).', 'Set RadioGroup variant="Column" for vertical lists with many options or when labels are long.', 'Use RadioGroup variant="Grid" with gridColumns for visual selection interfaces like color or theme pickers.', "Apply RadioGroup value with controlled components and onChange for state management integration.", "Combine RadioGroup with Card components in renderOption for rich option displays with descriptions.", "Use RadioGroup defaultValue for uncontrolled components with initial selection.", "Apply RadioGroup options with disabled property for temporarily unavailable choices.", "Set RadioGroup itemWidth and itemHeight for uniform option sizes in visual selectors.", "Use RadioGroup options with hex property for color-coded selections like theme or priority levels.", "Apply RadioGroup options with image property for visual selection interfaces like avatars or patterns.", "Combine RadioGroup with Tooltip via options.tooltip for additional context on hover.", "Use RadioGroup renderOption to create custom layouts with icons, badges, or nested content.", "Apply RadioGroup gutter with consistent spacing tokens for aligned form layouts.", "Set RadioGroup gridColumns={2} or gridColumns={3} for responsive grid layouts on different viewports.", "Use RadioGroup name attribute for proper form submission with unique group identification.", "Apply RadioGroup with payload in options for rich data handling in renderOption function.", "Combine RadioGroup with InlineNotification for validation messages or selection confirmations.", "Use RadioGroup onChange with analytics tracking for user preference monitoring.", 'Apply RadioGroup variant="Grid" with equal itemWidth/itemHeight for tile-based selections.', "Set RadioGroup gridColumnGutter and gridRowGutter for precise grid spacing control.", "Use RadioGroup with conditional option rendering based on user permissions or feature flags.", "Apply RadioGroup renderOption with Typography for consistent text styling across options.", "Combine RadioGroup with Form component for integrated form validation and submission.", "Use RadioGroup options array built dynamically from API responses or configuration.", "Apply RadioGroup with keyboard navigation support (arrow keys) for accessibility.", "Set RadioGroup styles for custom container styling matching design requirements.", "Use RadioGroup with icons in renderOption for visual enhancement of text options.", 'Apply RadioGroup variant="Column" inside Card components for organized settings sections.', "Combine RadioGroup with disabled state during form submission to prevent changes.", "Use RadioGroup defaultValue with localStorage for persisting user preferences.", "Apply RadioGroup with responsive variant switching based on viewport size.", "Set RadioGroup options with consistent naming patterns for maintainable code.", "Use RadioGroup renderOption with conditional styling based on isSelected state.", "Apply RadioGroup with error state styling when selection is required but missing.", "Combine RadioGroup with Select as alternative UI for many options (>10 items).", 'Use RadioGroup itemWidth="100%" for full-width options in mobile layouts.', "Apply RadioGroup with visual feedback animations on selection change.", "Set RadioGroup with aria-label for screen reader context when label is not visible.", "Use RadioGroup options with rich content in renderOption including prices or descriptions.", 'Apply RadioGroup variant="Grid" for image galleries or visual option matrices.', "Combine RadioGroup with Counter or Input fields that update based on selection.", "Use RadioGroup with consistent option ordering (alphabetical, by price, by popularity).", "Apply RadioGroup gridRows with gridColumns for fixed grid dimensions.", "Set RadioGroup with custom focus styles for keyboard navigation visibility.", "Use RadioGroup renderOption with Badge components for status or count indicators.", "Apply RadioGroup with section headers using Typography above option groups.", "Combine RadioGroup with real-time validation showing selection requirements.", "Use RadioGroup options with tooltips for complex options needing explanation.", "Apply RadioGroup with consistent patterns across similar selection contexts for familiar UX."], e = {
75
- component: o,
76
- compositionTips: i
77
- };
78
- export {
79
- e as default
80
- };
@@ -1,64 +0,0 @@
1
- const i = {
2
- name: "Rating",
3
- import: "import { Rating } from 'gd-design-library'",
4
- description: "Interactive star rating component for collecting user feedback, displaying ratings, or showing quality indicators with customizable maximum value, read-only mode, and various size options.",
5
- props: [{
6
- name: "max",
7
- type: "number",
8
- description: "Maximum rating value that can be selected",
9
- default: 5
10
- }, {
11
- name: "value",
12
- type: "number",
13
- description: "Current rating value",
14
- default: 0
15
- }, {
16
- name: "readOnly",
17
- type: "boolean",
18
- description: "When true, rating becomes non-interactive",
19
- default: !1
20
- }, {
21
- name: "onChange",
22
- type: "(value: number) => void",
23
- description: "Callback function triggered when rating changes"
24
- }, {
25
- name: "styles",
26
- type: "React.CSSProperties",
27
- description: "CSS properties applied to the rating container",
28
- default: {}
29
- }, {
30
- name: "size",
31
- type: "string",
32
- description: "Size variant of the rating component",
33
- default: "md",
34
- enum: ["sm", "md", "lg"]
35
- }, {
36
- name: "alignItems",
37
- type: "string",
38
- description: "Alignment of rating items within container",
39
- default: "center",
40
- enum: ["start", "center", "end"]
41
- }, {
42
- name: "gap",
43
- type: "string | number",
44
- description: "Space between rating items",
45
- default: 8
46
- }, {
47
- name: "color",
48
- type: "string",
49
- description: "Color scheme for rating items",
50
- default: "primary"
51
- }, {
52
- name: "className",
53
- type: "string",
54
- description: "Additional CSS class names",
55
- default: ""
56
- }],
57
- examples: ["<Rating value={4} max={5} onChange={handleRatingChange} />", '<Rating value={3.5} readOnly size="lg" />', '<Rating max={10} value={7} color="#FFD700" />', '<Rating value={5} max={5} readOnly className="product-rating" />', '<Rating value={0} max={5} onChange={setUserRating} size="sm" />']
58
- }, e = ["Use readOnly for display-only ratings; enable onChange for interactive feedback.", "Allow half or fractional values only if visually supported; otherwise stick to integers.", "Choose size based on context; smaller in dense lists, larger on product details.", "Provide sufficient color contrast; use theme colors for consistency.", "Use Rating with value prop for displaying existing ratings in product cards, reviews, or feedback sections.", "Apply Rating readOnly={true} for display-only ratings where user interaction is not needed.", "Set Rating max={10} for more granular rating scales in detailed evaluation forms.", "Use Rating onChange handler to update state and trigger side effects like saving to database.", 'Apply Rating size="sm" in compact UI elements like table cells or inline with text.', 'Combine Rating with Typography to show numeric value alongside stars like "4.5 out of 5".', "Use Rating color prop with brand colors or semantic colors (gold for premium, etc.).", "Apply Rating in Card components for product reviews with consistent spacing.", "Set Rating gap prop to adjust spacing between stars for visual balance.", "Use Rating with conditional rendering to show only after user interaction or purchase.", 'Apply Rating alignItems="start" in forms where left alignment is preferred.', "Combine Rating with InlineNotification to show feedback after rating submission.", "Use Rating value with decimal values for accurate average rating display.", 'Apply Rating size="lg" for prominent rating collection in feedback modals.', "Set Rating className for applying custom hover effects or animations.", "Use Rating with disabled state during form submission to prevent changes.", "Apply Rating in review sections with count display showing number of ratings.", "Combine Rating with Button for submit action after rating selection.", "Use Rating readOnly with value from API for displaying aggregate ratings.", "Apply Rating with tooltip showing rating descriptions on hover.", "Set Rating max={3} for simple satisfaction ratings (poor, average, excellent).", "Use Rating in comparison tables for feature or quality ratings.", "Apply Rating with localStorage to persist user ratings across sessions.", "Combine Rating with filter functionality to filter items by rating ranges.", "Use Rating onChange with debouncing for auto-save functionality.", "Apply Rating in surveys with multiple rating questions in Column layout.", "Set Rating with aria-label for accessibility describing what is being rated.", "Use Rating with animation on value change for visual feedback.", "Apply Rating size based on viewport for responsive design.", "Combine Rating with review text in Card for complete review display.", "Use Rating with half-star values for more precise rating display.", "Apply Rating in sortable lists as a sorting criterion.", "Set Rating with custom star icons via CSS for unique visual style.", "Use Rating readOnly={false} in forms requiring user rating input.", "Apply Rating with validation ensuring rating is provided before submission.", "Combine Rating with date/time stamps for historical rating tracking.", "Use Rating in dashboards showing average ratings with trend indicators.", "Apply Rating with different max values for different rating contexts.", "Set Rating with consistent color scheme across all rating instances.", "Use Rating onChange to trigger analytics events for user feedback tracking.", "Apply Rating in modal dialogs for post-interaction feedback collection.", "Combine Rating with user Avatar for personalized review displays.", "Use Rating with loading state while fetching rating data from API.", "Apply Rating in ContentCarousel for testimonials with ratings.", "Set Rating with keyboard navigation support for accessibility.", "Use Rating with visual indicators for rating thresholds (poor/fair/good/excellent).", "Apply Rating in product comparisons showing ratings side by side.", "Combine Rating with percentage display showing distribution of ratings.", "Use Rating with responsive gap adjustment for mobile optimization."], t = {
59
- component: i,
60
- compositionTips: e
61
- };
62
- export {
63
- t as default
64
- };
@@ -1,61 +0,0 @@
1
- const t = {
2
- name: "Row",
3
- import: "import { Row } from 'gd-design-library'",
4
- description: "Horizontal layout container with flexible spacing and alignment options.",
5
- props: [{
6
- name: "width",
7
- type: "string",
8
- description: "Sets the width of the row container",
9
- default: "auto"
10
- }, {
11
- name: "height",
12
- type: "string",
13
- description: "Sets the height of the row container",
14
- default: "auto"
15
- }, {
16
- name: "minWidth",
17
- type: "string",
18
- description: "Sets the minimum width constraint"
19
- }, {
20
- name: "minHeight",
21
- type: "string",
22
- description: "Sets the minimum height constraint"
23
- }, {
24
- name: "maxWidth",
25
- type: "string",
26
- description: "Sets the maximum width constraint"
27
- }, {
28
- name: "maxHeight",
29
- type: "string",
30
- description: "Sets the maximum height constraint"
31
- }, {
32
- name: "margin",
33
- type: "string",
34
- description: "Sets the margin spacing for all sides"
35
- }, {
36
- name: "padding",
37
- type: "string",
38
- description: "Sets the padding spacing for all sides"
39
- }, {
40
- name: "position",
41
- type: "string",
42
- description: "Sets the CSS position property",
43
- default: "relative"
44
- }, {
45
- name: "overflow",
46
- type: "string",
47
- description: "Controls content overflow behavior",
48
- default: "visible"
49
- }, {
50
- name: "styles",
51
- type: "CSSProperties",
52
- description: "Custom styles for the row container"
53
- }],
54
- examples: ['<Row width="100%" padding="16px" position="relative">...</Row>']
55
- }, e = ["Use Row for horizontal layouts where items should be placed side by side.", 'Set Row width="100%" to create full-width horizontal containers that span the parent.', "Apply Row padding for consistent internal spacing without affecting child alignment.", 'Use Row with overflow="auto" and maxWidth for horizontally scrollable content areas.', 'Combine Row position="relative" as a positioning context for absolutely positioned children.', "Set Row minHeight to ensure consistent height even with varying content.", "Use nested Row components within Column for complex grid-like layouts.", "Apply Row margin for external spacing between row containers and other elements.", 'Use Row maxHeight with overflow="scroll" for fixed-height scrollable horizontal lists.', "Combine Row with FlexContainer children for precise control over item distribution.", "Set Row height to create uniform height containers across different content sections.", 'Use Row position="sticky" for horizontal navigation bars that stick during scroll.', "Apply Row minWidth to prevent content from collapsing below a certain width.", "Combine multiple Row components with consistent padding for aligned multi-row layouts.", "Use Row styles prop for one-off custom styling without creating new CSS classes."], i = {
56
- component: t,
57
- compositionTips: e
58
- };
59
- export {
60
- i as default
61
- };
@@ -1,35 +0,0 @@
1
- const o = {
2
- name: "Scroll",
3
- import: "import { Scroll } from 'gd-design-library'",
4
- description: "Scrollable container component that provides fine-grained control over scrollbar visibility and behavior for content that exceeds its container dimensions.",
5
- props: [{
6
- name: "vertical",
7
- type: "string",
8
- description: "Controls the visibility of the vertical scrollbar",
9
- default: "auto",
10
- enum: ["auto", "hidden", "visible"]
11
- }, {
12
- name: "horizontal",
13
- type: "string",
14
- description: "Controls the visibility of the horizontal scrollbar",
15
- default: "auto",
16
- enum: ["auto", "hidden", "visible"]
17
- }, {
18
- name: "styles",
19
- type: "CSSProperties",
20
- description: "Custom CSS styles to apply to the scroll container",
21
- default: {}
22
- }, {
23
- name: "children",
24
- type: "ReactNode",
25
- description: "The content to be rendered within the scroll container",
26
- required: !0
27
- }],
28
- examples: ['<Scroll vertical="auto" horizontal="hidden"><LongContent /></Scroll>', '<Scroll vertical="visible" styles={{maxHeight: "400px"}}>{tableData}</Scroll>', '<Scroll horizontal="auto" vertical="hidden"><WideTable /></Scroll>', '<Scroll styles={{height: "300px", border: "1px solid #ccc"}}>{messages}</Scroll>']
29
- }, l = ["Use Scroll with maxHeight to create constrained scrollable regions.", "Hide horizontal scrolling for text content to prevent sideways scroll.", "Combine Scroll with Card to keep long content within visual boundaries.", "Adjust vertical/horizontal props to match desired overflow behavior.", 'Use Scroll with vertical="auto" for content that may exceed container height naturally.', 'Apply Scroll horizontal="hidden" to prevent horizontal scrolling in fixed-width layouts.', 'Set Scroll vertical="visible" to always show scrollbar for consistent layout width.', 'Use Scroll with styles={{maxHeight: "400px"}} to create fixed-height scrollable areas.', 'Apply Scroll horizontal="auto" for tables or content that may be wider than viewport.', "Combine Scroll with Card for scrollable content sections with defined boundaries.", 'Use Scroll vertical="hidden" horizontal="auto" for horizontal scrolling galleries.', "Apply Scroll with height in styles for chat message containers or logs.", 'Set Scroll with overflow-y: auto equivalent using vertical="auto" for responsive content.', "Use Scroll inside Modal children for long form content or terms and conditions.", "Apply Scroll with minHeight and maxHeight for flexible yet bounded content areas.", "Combine Scroll with List for long scrollable lists with proper overflow handling.", 'Use Scroll vertical="visible" in data tables to indicate more content availability.', "Apply Scroll with padding in styles to create scrollable area with inner spacing.", 'Set Scroll horizontal="hidden" with word-wrap for text content to prevent horizontal overflow.', "Use Scroll with dynamic height based on viewport for responsive scrollable areas.", "Apply Scroll in ChatContainer children for scrollable message history.", "Combine Scroll with sticky headers using position fixed for table headers.", "Use Scroll with scroll-behavior: smooth in styles for smooth scrolling animations.", 'Apply Scroll vertical="auto" in Select dropdown for long option lists.', "Set Scroll with custom scrollbar styling via CSS for branded appearance.", 'Use Scroll horizontal="visible" for code blocks or preformatted text.', "Apply Scroll with flex: 1 in styles within FlexContainer for flexible scrollable area.", "Combine Scroll with virtualization libraries for performance with large datasets.", "Use Scroll in sidebar navigation for long menu lists with preserved header/footer.", "Apply Scroll with scroll-snap in styles for paginated or carousel-like scrolling.", 'Set Scroll vertical="hidden" with programmatic scrolling for controlled navigation.', "Use Scroll with intersection observer for infinite scrolling implementations.", "Apply Scroll in Form for long forms while keeping submit button visible.", "Combine Scroll with Column inside for vertically scrollable content with spacing.", 'Use Scroll horizontal="auto" for responsive tables on mobile devices.', "Apply Scroll with border in styles to visually indicate scrollable area boundaries.", "Set Scroll with scrollbar-width: thin via CSS for minimal scrollbar appearance.", 'Use Scroll vertical="visible" horizontal="visible" for spreadsheet-like interfaces.', "Apply Scroll with keyboard navigation support for accessibility.", "Combine Scroll with anchor links for jump-to-section navigation within scrollable content.", "Use Scroll in Tab panels for scrollable tab content with fixed tab headers.", "Apply Scroll with resize observer to adjust scroll behavior on container resize.", "Set Scroll with will-change: scroll-position in styles for performance optimization.", 'Use Scroll horizontal="hidden" with text-overflow: ellipsis for truncated text.', "Apply Scroll with custom scroll indicators for mobile-friendly scroll feedback.", "Combine Scroll with pull-to-refresh patterns for mobile applications.", 'Use Scroll vertical="auto" as default for most scrollable content containers.', "Apply Scroll with consistent max-height values across similar UI components.", "Set Scroll with overflow-x and overflow-y control via horizontal and vertical props.", 'Use Scroll in Image galleries with horizontal="auto" for horizontal browsing.', "Apply Scroll with scroll position restoration for maintaining position on navigation.", "Combine Scroll with loading indicators at scroll boundaries for paginated content.", "Use Scroll with ARIA attributes for screen reader scroll region announcements."], e = {
30
- component: o,
31
- compositionTips: l
32
- };
33
- export {
34
- e as default
35
- };
@@ -1,72 +0,0 @@
1
- const e = {
2
- name: "Search",
3
- import: "import { Search } from 'gd-design-library'",
4
- description: "Search input component with dropdown results list for real-time filtering and selection of items with customizable rendering and keyboard navigation support.",
5
- props: [{
6
- name: "items",
7
- type: "Array<{name: string, value: unknown}>",
8
- description: "Array of items to be searched and displayed in the dropdown results",
9
- default: []
10
- }, {
11
- name: "value",
12
- type: "string",
13
- description: "Current value of the search input field"
14
- }, {
15
- name: "placeholder",
16
- type: "string",
17
- description: "Placeholder text shown when search input is empty",
18
- default: "Search"
19
- }, {
20
- name: "emptyItemsResult",
21
- type: "string | ReactNode",
22
- description: "Text or component displayed when no items match the search query",
23
- default: "No results found"
24
- }, {
25
- name: "width",
26
- type: "string | number",
27
- description: "Width of the search component",
28
- default: "306px"
29
- }, {
30
- name: "onType",
31
- type: "(value: string) => void",
32
- description: "Callback function triggered on input change for custom search logic"
33
- }, {
34
- name: "onChange",
35
- type: "(event: ChangeEvent<HTMLInputElement>) => void",
36
- description: "Standard onChange handler for the search input field"
37
- }, {
38
- name: "onSelect",
39
- type: "(props: {event: Event, data?: Option, index?: number}) => void",
40
- description: "Callback fired when an item is selected from the dropdown results"
41
- }, {
42
- name: "renderOption",
43
- type: "(option: SearchResultOption) => ReactNode",
44
- description: "Custom render function for dropdown option items"
45
- }, {
46
- name: "aria-controls",
47
- type: "string",
48
- description: "ID of the element controlled by the search input for accessibility"
49
- }, {
50
- name: "disabled",
51
- type: "boolean",
52
- description: "Whether the search input is disabled",
53
- default: !1
54
- }, {
55
- name: "autoFocus",
56
- type: "boolean",
57
- description: "Whether the search input should auto-focus on mount",
58
- default: !1
59
- }, {
60
- name: "maxHeight",
61
- type: "string",
62
- description: "Maximum height of the dropdown results list",
63
- default: "240px"
64
- }],
65
- examples: ['<Search items={products} value={query} onChange={handleSearch} onSelect={handleSelect} placeholder="Search products..." />', "<Search items={users} renderOption={(user) => <FlexContainer><Avatar src={user.avatar} />{user.name}</FlexContainer>} />", '<Search items={filteredItems} emptyItemsResult="No matching items found" onType={handleRealTimeSearch} />']
66
- }, t = ["Use Search with items array for searchable dropdown selection combining text input with item selection.", "Apply Search onType callback for custom search logic implementation like fuzzy search or API calls.", "Set Search renderOption to customize result display with icons, badges, or rich content layouts.", "Use Search value with controlled component pattern and onChange for state management.", "Apply Search emptyItemsResult with helpful message or suggestions when no matches are found.", "Combine Search with debounced onType for performance optimization with large datasets or API calls.", 'Use Search placeholder with clear instructions like "Search by name, email, or ID" for user guidance.', "Apply Search width to match form field widths for consistent form layouts.", "Set Search maxHeight for dropdown to limit result list height with scrolling for many results.", "Use Search with Avatar in renderOption for user search with profile pictures.", "Apply Search disabled during data loading or based on user permissions.", "Combine Search with InlineNotification to show search tips or validation messages.", "Use Search aria-controls with results container ID for screen reader accessibility.", "Apply Search autoFocus for search-focused interfaces like search pages or modals.", "Set Search items with filtered array based on user input for client-side search.", "Use Search onSelect to navigate to selected item or update application state.", "Apply Search with Icon in renderOption for category or type indicators.", "Combine Search with keyboard navigation (arrow keys, Enter, Escape) for power users.", "Use Search in ChatContainer header for conversation or contact search.", "Apply Search with real-time filtering updating items array as user types.", "Set Search renderOption with Typography for consistent text styling in results.", "Use Search with empty state component in emptyItemsResult showing suggestions or help.", "Apply Search in Modal for focused search experiences without page navigation.", "Combine Search with Badge in renderOption to show counts or status indicators.", "Use Search items with async data fetching triggered by onType callback.", "Apply Search with highlight matching text in renderOption for better visibility.", "Set Search with minimum character requirement before showing results.", "Use Search in navigation bars for global site search functionality.", "Apply Search with recent searches or popular items when input is empty.", "Combine Search with category filtering to scope search to specific item types.", "Use Search renderOption with conditional rendering for different item types.", "Apply Search with loading state in emptyItemsResult while fetching results.", "Set Search with fuzzy matching algorithm for typo-tolerant search.", "Use Search in tables or lists for filtering displayed data.", "Apply Search with voice input integration for accessibility.", "Combine Search with Select for advanced search with multiple criteria.", "Use Search items with weighted results showing most relevant first.", "Apply Search with search history stored in localStorage for quick access.", "Set Search with auto-complete suggestions based on partial matches.", "Use Search in e-commerce for product search with image previews in renderOption.", "Apply Search with clear button in input for quick search reset.", "Combine Search with Router navigation on item selection for page routing.", "Use Search renderOption with Price component for product search results.", "Apply Search with keyboard shortcuts (Cmd/Ctrl+K) for quick access.", "Set Search with analytics tracking on searches and selections.", "Use Search in documentation sites for content search and navigation.", "Apply Search with synonyms or alternative terms for better matching.", "Combine Search with filters UI for refined search experiences.", "Use Search items with pagination for large result sets.", "Apply Search with responsive design adjusting width and layout on mobile."], r = {
67
- component: e,
68
- compositionTips: t
69
- };
70
- export {
71
- r as default
72
- };
@@ -1,84 +0,0 @@
1
- const e = {
2
- name: "Select",
3
- import: "import { Select } from 'gd-design-library'",
4
- description: "Dropdown selection component with customizable options and behavior.",
5
- props: [{
6
- name: "items",
7
- type: "Array<{name: string, value: unknown}>",
8
- required: !0,
9
- description: "Array of items to be displayed in the select dropdown",
10
- default: []
11
- }, {
12
- name: "value",
13
- type: "unknown",
14
- description: "Currently selected value"
15
- }, {
16
- name: "placeholder",
17
- type: "string",
18
- description: "Text to display when no value is selected",
19
- default: "Select"
20
- }, {
21
- name: "onSelect",
22
- type: "(props: {event: Event, data?: Option, index?: number}) => void",
23
- description: "Callback when item is selected"
24
- }, {
25
- name: "onChange",
26
- type: "(data: {name: string, value: unknown}) => void",
27
- description: "Callback fired when value changes"
28
- }, {
29
- name: "width",
30
- type: "string",
31
- description: "Width of the select component"
32
- }, {
33
- name: "minWidth",
34
- type: "string",
35
- description: "Minimum width of the select component",
36
- default: "306px"
37
- }, {
38
- name: "maxWidth",
39
- type: "string",
40
- description: "Maximum width of the select component",
41
- default: "initial"
42
- }, {
43
- name: "dropdownMaxHeight",
44
- type: "string",
45
- description: "Maximum height of the dropdown list",
46
- default: "240px"
47
- }, {
48
- name: "adornmentStart",
49
- type: "ReactNode",
50
- description: "Element to be rendered at the start of the select"
51
- }, {
52
- name: "adornmentEnd",
53
- type: "ReactNode",
54
- description: "Element to be rendered at the end of the select"
55
- }, {
56
- name: "disabled",
57
- type: "boolean",
58
- description: "Whether the select is disabled",
59
- default: !1
60
- }, {
61
- name: "autoOpen",
62
- type: "boolean",
63
- description: "Whether to automatically open the dropdown"
64
- }, {
65
- name: "renderOption",
66
- type: "(value: {item: Option, index: number, isActiveItem: boolean, className: string}) => ReactNode",
67
- description: "Custom renderer for option items"
68
- }, {
69
- name: "itemStringifier",
70
- type: "(data: {name: string, value: unknown}) => string",
71
- description: "Function to convert item value to display string"
72
- }, {
73
- name: "emptyItemsResult",
74
- type: "ReactNode",
75
- description: "Text or Component to display when no items are available"
76
- }],
77
- examples: ['<Select items={[{name: "Option 1", value: "1"}]} value={selectedValue} onChange={handleChange} placeholder="Choose an option" />']
78
- }, t = ["Use Select for dropdown choices with items array containing {name, value} objects.", "Set Select placeholder prop to provide clear instruction text when no value is selected.", "Use Select onChange handler to update state when user selects an option.", "For Select with many options, leverage dropdownMaxHeight to limit dropdown size and enable scrolling.", "Consider using Select renderOption for custom option display with icons or additional info.", "Use Select adornmentStart/End for icons or badges to enhance visual context.", "Set Select width or minWidth/maxWidth for consistent form field alignment.", "Provide emptyItemsResult in Select when items array might be empty to guide users.", "Use Select itemStringifier when item values need custom string formatting for display.", "Disable Select component when form is submitting or based on other field dependencies."], n = {
79
- component: e,
80
- compositionTips: t
81
- };
82
- export {
83
- n as default
84
- };
@@ -1,62 +0,0 @@
1
- const e = {
2
- name: "Separator",
3
- import: "import { Separator } from 'gd-design-library'",
4
- description: "Visual divider component for separating content sections with customizable orientation, styling, and optional text labels for enhanced visual hierarchy and content organization.",
5
- props: [{
6
- name: "orientation",
7
- type: "Orientation",
8
- description: "The orientation of the separator line (horizontal or vertical)",
9
- default: "horizontal",
10
- enum: ["horizontal", "vertical"]
11
- }, {
12
- name: "styles",
13
- type: "CSSProperties",
14
- description: "Custom styles for the separator including backgroundColor, border, margin, and padding",
15
- default: {}
16
- }, {
17
- name: "length",
18
- type: "string",
19
- description: 'The length of the separator in the primary direction (e.g., "100px", "50%", "100%")'
20
- }, {
21
- name: "color",
22
- type: "string",
23
- description: "The color of the separator line"
24
- }, {
25
- name: "size",
26
- type: "SizeVariant",
27
- description: "The thickness/size of the separator line",
28
- enum: ["xs", "sm", "md", "lg", "xl", "xxl"]
29
- }, {
30
- name: "variant",
31
- type: "SeparatorVariant",
32
- description: "The visual style variant of the separator (solid, dashed, or dotted)",
33
- enum: ["solid", "dash", "dot"]
34
- }, {
35
- name: "as",
36
- type: "string",
37
- description: "The HTML element to render the separator as",
38
- default: "div",
39
- enum: ["div", "hr", "span"]
40
- }, {
41
- name: "label",
42
- type: "string",
43
- description: "Text to display within the separator for context or labeling sections"
44
- }, {
45
- name: "labelPosition",
46
- type: "SeparatorLabelPosition",
47
- description: "The position of the label within the separator when present",
48
- default: "center",
49
- enum: ["start", "center", "end"]
50
- }, {
51
- name: "labelColor",
52
- type: "string",
53
- description: "The color of the label text when present"
54
- }],
55
- examples: ["<Separator />", '<Separator variant="dash" color="#ccc" />', '<Separator orientation="vertical" length="200px" />', '<Separator label="OR" labelPosition="center" />', '<Separator variant="dot" size="sm" color="primary" />', '<Separator as="hr" styles={{margin: "20px 0"}} />']
56
- }, t = ["Use Separator to visually divide related content blocks.", 'Prefer orientation="horizontal" for stacked layouts; "vertical" for toolbars and side-by-side layouts.', 'Add a label like "OR" to communicate branching actions.', "Match color and size to theme for consistent visual rhythm.", "Use Separator between content sections to create visual hierarchy and improve readability.", 'Apply Separator orientation="horizontal" (default) for dividing vertical content stacks.', 'Set Separator orientation="vertical" for dividing horizontal layouts like sidebars or columns.', 'Use Separator variant="solid" for strong visual divisions between major sections.', 'Apply Separator variant="dash" or "dot" for softer, less prominent content divisions.', "Set Separator color to match theme colors for consistent visual language across the app.", 'Use Separator with label prop for contextual dividers like "OR" in login forms or "AND" in filters.', 'Apply Separator labelPosition="center" (default) for balanced label placement in dividers.', 'Set Separator labelPosition="start" or "end" for asymmetric designs or directional flow.', 'Use Separator size="sm" or "xs" for subtle divisions in dense content areas.', 'Apply Separator size="lg" or "xl" for prominent section breaks in landing pages.', "Combine Separator with Card components to divide content within cards without additional borders.", 'Use Separator as="hr" for semantic HTML when dividing main content sections.', 'Apply Separator as="span" when using inline or within text content.', 'Set Separator length="100%" for full-width dividers or specific values for partial dividers.', "Use Separator with margin in styles prop for consistent spacing above and below dividers.", "Apply Separator between Form field groups to organize complex forms into logical sections.", "Combine Separator with Column or Row layouts for properly spaced content divisions.", 'Use Separator variant="solid" with label for login forms showing "OR" between auth methods.', 'Apply Separator orientation="vertical" between navigation items in horizontal menus.', "Set Separator with consistent color and size across similar UI contexts for coherence.", "Use Separator with labelColor matching Typography colors for consistent text styling.", "Apply Separator in List components between grouped items for visual organization.", "Combine Separator with FlexContainer for responsive dividers that adapt to layout changes.", 'Use Separator as="hr" with no label for semantic content breaks in articles or blog posts.', "Apply Separator with padding styles to create breathing room around the divider line.", 'Set Separator variant="dot" for decorative divisions in marketing or landing pages.', "Use Separator between ChatContainer messages for conversation threading or date breaks.", "Apply Separator in Modal footer above action buttons to separate content from actions.", "Combine Separator with conditional rendering to show dividers based on content availability.", "Use Separator with custom backgroundColor in styles for branded or themed dividers.", "Apply Separator between Select option groups for categorized dropdown menus.", "Set Separator with border styles for double-line or custom divider effects.", "Use Separator in Card layouts between header, body, and footer sections.", 'Apply Separator orientation="vertical" with fixed height in toolbars between tool groups.', "Combine Separator with Icon components in label for icon-enhanced dividers.", 'Use Separator variant="dash" in printable content for better print rendering.', "Apply Separator with responsive orientation changing from vertical to horizontal on mobile.", "Set Separator with opacity styles for subtle, watermark-like divisions.", "Use Separator between Breadcrumbs and page content for clear navigation separation.", "Apply Separator in Table components between thead and tbody for visual structure.", "Combine Separator with animation classes for animated divider appearances.", 'Use Separator with aria-hidden="true" for purely decorative dividers.', "Apply Separator between Tab panels content for clear section boundaries.", "Set Separator with gradient backgrounds via styles for modern divider effects.", "Use Separator in dropdown menus between menu item groups for logical grouping.", "Apply Separator with consistent spacing patterns using margin for rhythm in layouts.", "Combine Separator with theme-aware styling for dark/light mode compatibility.", "Use Separator label with Typography component for rich text divider labels."], o = {
57
- component: e,
58
- compositionTips: t
59
- };
60
- export {
61
- o as default
62
- };
@@ -1,48 +0,0 @@
1
- const e = {
2
- name: "Skeleton",
3
- import: "import { Skeleton } from 'gd-design-library'",
4
- description: "Loading placeholder component that displays animated shapes to indicate content is being loaded, improving perceived performance by showing the structure of upcoming content.",
5
- props: [{
6
- name: "variant",
7
- type: "SkeletonVariant",
8
- description: "Controls the shape of the skeleton element",
9
- default: "SkeletonVariant.Rounded",
10
- enum: ["rounded", "circular", "rectangular"]
11
- }, {
12
- name: "width",
13
- type: "string",
14
- description: "Sets the width of the skeleton. Accepts any valid CSS width value",
15
- default: "auto"
16
- }, {
17
- name: "height",
18
- type: "string",
19
- description: "Sets the height of the skeleton. Accepts any valid CSS height value",
20
- default: "auto"
21
- }, {
22
- name: "animationName",
23
- type: "string",
24
- description: "Allows for custom animation by overriding the default CSS animation name",
25
- default: "pulse"
26
- }, {
27
- name: "className",
28
- type: "string",
29
- description: "Provides a way to apply custom CSS classes, such as Tailwind utility classes for animations",
30
- default: ""
31
- }, {
32
- name: "children",
33
- type: "ReactNode",
34
- description: "Content to be rendered inside the skeleton wrapper for complex skeleton layouts"
35
- }, {
36
- name: "styles",
37
- type: "CSSProperties",
38
- description: "Custom CSS properties to apply to the skeleton including backgroundColor, borderRadius, and opacity",
39
- default: {}
40
- }],
41
- examples: ['<Skeleton variant="rectangular" width="100%" height="200px" />', '<Skeleton variant="circular" width="40px" height="40px" />', '<Skeleton variant="rounded" width="250px" height="20px" animationName="shimmer" />', '<Skeleton styles={{backgroundColor: "#f0f0f0", borderRadius: "8px"}}><Column gap="8px"><Skeleton height="20px" /><Skeleton height="20px" width="80%" /></Column></Skeleton>']
42
- }, t = ["Use Skeleton to hint layout while content loads, then replace with actual UI.", "Prefer lightweight shapes instead of detailed placeholders to avoid layout shift.", "Match Skeleton sizes to final content to reduce reflow.", "Use animationName to align with your design system (pulse or shimmer).", 'Use Skeleton variant="rectangular" for image placeholders with matching dimensions to prevent layout shift.', 'Apply Skeleton variant="circular" for avatar loading states with equal width and height.', 'Set Skeleton variant="rounded" for text content placeholders like headings and paragraphs.', 'Use Skeleton with width="100%" for full-width content blocks during loading.', "Apply Skeleton height matching expected content height to maintain layout stability.", "Combine multiple Skeleton components in Column for structured content loading states.", 'Use Skeleton animationName="pulse" (default) for subtle loading animation.', 'Apply Skeleton animationName="shimmer" or custom animation for enhanced loading effects.', "Set Skeleton with consistent spacing between elements using Column gutter for realistic layouts.", "Use Skeleton in Card components to show loading state for card content.", 'Apply Skeleton variant="rectangular" with borderRadius in styles for rounded image placeholders.', "Combine Skeleton with conditional rendering to show when data is loading.", "Use Skeleton width with percentage values for responsive loading placeholders.", "Apply Skeleton in List items to show loading state for list content.", "Set Skeleton with different widths to simulate varying text lengths in paragraphs.", "Use Skeleton children prop to nest multiple skeletons for complex layouts.", "Apply Skeleton in Table cells for loading state in data tables.", "Combine Skeleton with FlexContainer for horizontal loading layouts.", 'Use Skeleton height="1em" for inline text loading within Typography components.', "Apply Skeleton styles={{opacity: 0.7}} for subtle loading appearance.", "Set Skeleton backgroundColor via styles to match your theme colors.", "Use Skeleton in Form fields as placeholder while fetching field data.", 'Apply Skeleton variant="circular" for icon or badge loading states.', "Combine Skeleton with fade-out transition when content loads for smooth UX.", "Use Skeleton in ChatContainer for message loading indicators.", "Apply Skeleton with consistent animation speed across all loading states.", 'Set Skeleton with aria-label="Loading" for accessibility in screen readers.', "Use Skeleton in Select dropdown while options are being fetched.", 'Apply Skeleton variant="rounded" with small height for button loading states.', "Combine Skeleton with error boundaries to show fallback loading states.", "Use Skeleton in Modal content while async data is being loaded.", "Apply Skeleton with minHeight to prevent collapsing during loading.", "Set Skeleton count pattern for repeating elements like list items or grid cards.", "Use Skeleton in navigation menus while menu items are being fetched.", "Apply Skeleton with responsive heights based on viewport for mobile optimization.", "Combine Skeleton with data fetching libraries for automatic loading states.", 'Use Skeleton variant="rectangular" for chart or graph placeholders.', "Apply Skeleton in Image components as placeholder prop for loading state.", "Set Skeleton with delay to prevent flash for fast-loading content.", "Use Skeleton in Breadcrumbs while path is being determined.", "Apply Skeleton with custom className for third-party animation libraries.", "Combine Skeleton with suspense boundaries for React Suspense integration.", "Use Skeleton in search results while data is being fetched.", "Apply Skeleton with grid layout for card grid loading states.", "Set Skeleton with consistent aspect ratios for media content placeholders.", "Use Skeleton in user profiles for avatar and bio loading states.", "Apply Skeleton with staggered animations for sequential loading effect.", "Combine Skeleton with intersection observer for lazy-loaded content.", "Use Skeleton in dashboards for widget loading states.", "Apply Skeleton with theme-aware colors for dark/light mode compatibility."], o = {
43
- component: e,
44
- compositionTips: t
45
- };
46
- export {
47
- o as default
48
- };