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,42 +0,0 @@
1
- const e = {
2
- name: "Slider",
3
- import: "import { Slider } from 'gd-design-library'",
4
- description: "Range input component for selecting numeric values within a defined range with visual feedback and accessibility support.",
5
- props: [{
6
- name: "min",
7
- type: "number",
8
- description: "Minimum value of the slider range",
9
- default: 1
10
- }, {
11
- name: "max",
12
- type: "number",
13
- description: "Maximum value of the slider range",
14
- default: 100
15
- }, {
16
- name: "value",
17
- type: "number",
18
- description: "Current value of the slider",
19
- default: 1
20
- }, {
21
- name: "disabled",
22
- type: "boolean",
23
- description: "Whether the slider is disabled",
24
- default: !1
25
- }, {
26
- name: "onChange",
27
- type: "(value: number) => void",
28
- description: "Callback function triggered when slider value changes"
29
- }, {
30
- name: "styles",
31
- type: "React.CSSProperties",
32
- description: "Custom styles to apply to the slider component",
33
- default: {}
34
- }],
35
- examples: ["<Slider min={0} max={100} value={50} onChange={handleChange} />", "<Slider min={1} max={10} value={5} disabled={isLoading} />", '<Slider min={0} max={255} value={brightness} onChange={setBrightness} styles={{width: "300px"}} />', "<Slider min={18} max={65} value={age} onChange={handleAgeChange} />"]
36
- }, i = ["Use Slider for small numeric ranges where direct manipulation is intuitive.", "Debounce onChange if updating heavy UI to avoid performance issues.", "Disable Slider while async operations are in progress to prevent changes.", "Constrain min/max to valid domain and reflect value externally for controlled usage.", "Use Slider for numeric input ranges where visual feedback improves user experience over text input.", "Apply Slider min and max props to define the valid range for user selection.", "Set Slider value with controlled component pattern using state management for form integration.", "Use Slider onChange handler to update state and trigger side effects like live preview updates.", "Apply Slider disabled={true} during form submission or when dependent on other field values.", "Combine Slider with Typography displaying current value for precise feedback.", 'Use Slider styles={{width: "100%"}} for responsive full-width sliders in forms.', "Apply Slider in Card components with padding for comfortable touch targets on mobile.", "Set Slider with small ranges (min={1} max={5}) for rating or scale selections.", "Use Slider for volume, brightness, or opacity controls in media and design applications.", "Apply Slider with debounced onChange for performance when updating expensive operations.", 'Combine Slider with Input type="number" for dual input methods catering to different users.', "Use Slider min={0} max={100} for percentage-based inputs like progress or completion.", "Apply Slider in filter interfaces for price ranges, distances, or date ranges.", "Set Slider with step values via HTML attributes for discrete value selections.", "Use Slider with visual indicators showing min/max labels for better context.", "Apply Slider disabled state based on user permissions or feature availability.", "Combine Slider with FlexContainer for labeled sliders with icons or text.", "Use Slider in responsive layouts adjusting width based on container size.", "Apply Slider with custom thumb and track styling via CSS for branded appearance.", "Set Slider value programmatically for preset options or quick selections.", "Use Slider with multiple instances for RGB/HSL color selection interfaces.", "Apply Slider in Column layout with consistent spacing for multi-slider forms.", "Combine Slider with real-time validation showing warnings when approaching limits.", "Use Slider for time-based inputs like hours, minutes, or timeline scrubbing.", "Apply Slider with tooltip showing current value on hover or during drag.", "Set Slider with logarithmic scale for non-linear value distributions.", "Use Slider in settings panels for user preference adjustments.", "Apply Slider with keyboard support ensuring accessibility for all users.", "Combine Slider with localStorage to persist user preferences across sessions.", "Use Slider min with negative values for ranges that include negative numbers.", "Apply Slider in comparison tools for side-by-side value adjustments.", "Set Slider with marks or ticks for specific value points along the range.", "Use Slider onChange with throttling for smooth performance during dragging.", "Apply Slider with aria-label for screen reader accessibility.", "Combine Slider with animation libraries for smooth value transitions.", "Use Slider in data visualization for interactive chart filtering.", "Apply Slider with custom value formatting for currency or unit display.", "Set Slider with snapping behavior for preferred value intervals."], r = {
37
- component: e,
38
- compositionTips: i
39
- };
40
- export {
41
- r as default
42
- };
@@ -1,57 +0,0 @@
1
- const e = {
2
- name: "Snackbar",
3
- import: "import { showSnackbar, SnackbarVariant, SnackbarPosition } from 'gd-design-library'",
4
- description: "Toast notification system for displaying temporary messages, alerts, and feedback with configurable positioning, duration, and styling. Use showSnackbar() function to trigger notifications.",
5
- props: [{
6
- name: "title",
7
- type: "string",
8
- description: "The title text displayed at the top of the snackbar notification",
9
- required: !0
10
- }, {
11
- name: "message",
12
- type: "string",
13
- description: "The main content message of the snackbar notification",
14
- required: !0
15
- }, {
16
- name: "variant",
17
- type: "SnackbarVariant",
18
- description: "Visual style variant determining color and icon of the snackbar",
19
- default: "SnackbarVariant.Info",
20
- enum: ["Info", "Success", "Warning", "Error"]
21
- }, {
22
- name: "position",
23
- type: "SnackbarPosition",
24
- description: "Position on screen where the snackbar appears",
25
- default: "SnackbarPosition.TopRight",
26
- enum: ["TopLeft", "TopCenter", "TopRight", "BottomLeft", "BottomCenter", "BottomRight"]
27
- }, {
28
- name: "duration",
29
- type: "number",
30
- description: "Time in milliseconds before the snackbar automatically dismisses",
31
- default: 5e3
32
- }, {
33
- name: "dismissOnClick",
34
- type: "boolean",
35
- description: "Whether clicking on the snackbar dismisses it",
36
- default: !0
37
- }, {
38
- name: "actionLabel",
39
- type: "string",
40
- description: "Text for an optional action button within the snackbar"
41
- }, {
42
- name: "onAction",
43
- type: "() => void",
44
- description: "Callback function triggered when action button is clicked"
45
- }, {
46
- name: "onDismiss",
47
- type: "() => void",
48
- description: "Callback function triggered when snackbar is dismissed"
49
- }],
50
- examples: ['const SnackbarExample = () => { const onClick = () => { showSnackbar({ title: "Info", message: "This is an example of snackbar message.", variant: SnackbarVariant.Info, position: SnackbarPosition.TopRight, duration: 3000, dismissOnClick: true }); }; return ( <div> <SnackbarManager /> <Button onClick={onClick}>Show Snackbar</Button> </div> ); };', 'showSnackbar({ title: "Success", message: "Your changes have been saved.", variant: SnackbarVariant.Success, position: SnackbarPosition.TopCenter });', 'showSnackbar({ title: "Error", message: "Failed to save changes.", variant: SnackbarVariant.Error, actionLabel: "Retry", onAction: handleRetry });', 'showSnackbar({ title: "Warning", message: "You have unsaved changes.", variant: SnackbarVariant.Warning, duration: 0, dismissOnClick: false });']
51
- }, a = ["Use variant to convey message severity (info, success, warning, error).", "Prefer TopRight or BottomRight positions to avoid overlapping core content.", "Set duration=0 for persistent messages that require explicit dismissal.", "Provide actionLabel and onAction for undo/redo or retry flows.", "Apply SnackbarVariant.Success for positive confirmations like save, create, or delete operations.", "Use SnackbarVariant.Error for API failures, validation errors, or system issues.", "Set SnackbarVariant.Warning for cautionary messages or potentially destructive actions.", "Apply SnackbarVariant.Info for neutral informational messages or tips.", "Use SnackbarPosition.TopRight or TopCenter for important notifications that need immediate attention.", "Apply SnackbarPosition.BottomRight or BottomCenter for less intrusive notifications.", "Set duration: 0 with dismissOnClick: false for critical messages that require user acknowledgment.", "Use shorter duration (2000-3000ms) for simple success messages, longer (5000-7000ms) for error details.", 'Include actionLabel and onAction for snackbars that offer user actions like "Undo" or "Retry".', "Call showSnackbar() in response to async operations completion or failure.", "Use onDismiss callback to track user interaction with notifications for analytics.", "Avoid showing multiple snackbars rapidly; batch or queue messages when appropriate.", "Keep snackbar messages concise; use title for category and message for details.", "Use consistent positioning throughout the app for predictable user experience.", "Show snackbars for background operations that complete while user is on different screen.", "Use snackbars instead of modals for non-blocking feedback that doesn't require immediate action.", "Combine snackbars with form validation to show submission results.", "Apply dismissOnClick: true for informational messages that users can quickly dismiss.", "Set dismissOnClick: false for important messages that should remain until duration expires.", 'Use snackbars for real-time updates like "New message received" or "File uploaded".', 'Show progress in snackbar message for operations like "Uploading... 60%".', "Apply consistent variant usage across similar operations for user familiarity.", 'Use snackbar action buttons for quick fixes like "Refresh" or "Try Again".', "Avoid overwhelming users with too many snackbars; prioritize important messages.", "Test snackbar positioning on mobile devices to ensure they don't obstruct important UI.", 'Use snackbars for connection status changes like "Connection lost" or "Reconnected".', "Apply animation classes via className for custom entrance/exit effects."], i = {
52
- component: e,
53
- compositionTips: a
54
- };
55
- export {
56
- i as default
57
- };
@@ -1,13 +0,0 @@
1
- const a = {
2
- name: "SnackbarManager",
3
- import: "import { SnackbarManager } from 'gd-design-library'",
4
- description: "Global snackbar container component that manages and displays all snackbar notifications. Must be included once at the app root level to enable showSnackbar() functionality.",
5
- props: [],
6
- examples: ["<SnackbarManager />"]
7
- }, n = ["Render a single SnackbarManager at the application root to handle all snackbars.", "Do not mount multiple managers; use showSnackbar() API to enqueue messages.", "Mount a single <SnackbarManager /> at the root of your app to enable snackbar rendering.", "Place SnackbarManager at the root of your app, typically in App.tsx or index.tsx, to enable global snackbar functionality.", "Use showSnackbar() function anywhere in the app after SnackbarManager is mounted.", "Apply SnackbarManager maxSnackbars limit to prevent notification overflow."], e = {
8
- component: a,
9
- compositionTips: n
10
- };
11
- export {
12
- e as default
13
- };
@@ -1,38 +0,0 @@
1
- const e = {
2
- name: "Stepper",
3
- import: "import { Stepper } from 'gd-design-library'",
4
- description: "Progress indicator component that displays multi-step processes or workflows with visual feedback for completed, current, and upcoming steps. Supports custom step content, validation states, and interactive navigation between steps.",
5
- props: [{
6
- name: "steps",
7
- type: "Array<StepProps>",
8
- description: "Array of step objects containing step information. Each step has validationStatus (error/success), customView (ReactNode), and label (ReactNode)",
9
- required: !0,
10
- default: []
11
- }, {
12
- name: "activeStep",
13
- type: "number",
14
- description: "Index of the currently active step (zero-based)",
15
- default: 0
16
- }, {
17
- name: "isIconsView",
18
- type: "boolean",
19
- description: "Display steps with icons instead of numbers",
20
- default: !1
21
- }, {
22
- name: "onStepClick",
23
- type: '(index: number, status: "error" | "success" | undefined, event: MouseEvent) => void',
24
- description: "Callback function triggered when a step is clicked"
25
- }, {
26
- name: "styles",
27
- type: "CSSProperties",
28
- description: "Custom styles for the stepper component",
29
- default: {}
30
- }],
31
- examples: ['<Stepper steps={[{label: "Details"}, {label: "Payment"}, {label: "Review"}]} activeStep={1} />', "<Stepper steps={wizardSteps} activeStep={currentStep} onStepClick={handleStepClick} />", '<Stepper steps={[{label: "Step 1", validationStatus: "success"}, {label: "Step 2", validationStatus: "error"}]} activeStep={1} />', "<Stepper steps={stepsWithIcons} isIconsView={true} activeStep={2} />", '<Stepper steps={[{label: "Upload", customView: <Icon name="upload" />}, {label: "Process"}, {label: "Complete"}]} activeStep={0} />']
32
- }, t = ["Use Stepper for multi-step wizards and checkout flows with clear progress.", "Keep step labels concise; add customView for icons or additional context.", "Allow clicking previous steps for quick navigation when business rules permit.", "Reflect validationStatus on steps to signal completion or errors.", "Persist activeStep in state or URL to keep progress across reloads.", "Use Stepper for multi-step forms or wizards with clear progression indicators showing completed, current, and upcoming steps.", "Apply Stepper activeStep with state management to track user progress through multi-page workflows.", 'Set Stepper steps with validationStatus="success" for completed steps and "error" for steps requiring correction.', "Use Stepper onStepClick to enable navigation between steps for non-linear workflows where users can jump between sections.", "Apply Stepper isIconsView={true} for visual processes where icons better represent step content than numbers.", "Combine Stepper with Form validation setting validationStatus based on form field validity in each step.", "Use Stepper customView prop in steps for rich step indicators like avatars, icons, or progress percentages.", "Apply Stepper with disabled onStepClick for linear workflows requiring sequential step completion.", "Set Stepper activeStep={0} initially and increment after successful validation of current step content.", "Use Stepper in Modal for guided setup processes or configuration wizards with contained step navigation.", "Apply Stepper with consistent step labels keeping them short and action-oriented for clarity.", "Combine Stepper with InlineNotification to show step-specific instructions or validation messages.", "Use Stepper steps array built dynamically based on conditional logic for adaptive workflows.", "Apply Stepper with Card components wrapping step content for visually organized multi-step interfaces.", "Set Stepper with responsive design hiding step labels on mobile, showing only icons or numbers.", 'Use Stepper validationStatus="error" with Tooltip on hover explaining what needs correction.', 'Apply Stepper in checkout flows with steps like "Cart", "Shipping", "Payment", "Confirmation".', "Combine Stepper with router integration syncing activeStep with URL for deep-linkable wizard states.", "Use Stepper customView with Loader component for steps that are currently processing.", "Apply Stepper with aria-label describing the overall process for screen reader context.", "Set Stepper with transition animations between activeStep changes for smooth visual feedback.", "Use Stepper in onboarding flows with clear step count showing users their progress.", "Apply Stepper styles prop for custom colors matching brand guidelines for step indicators.", 'Combine Stepper with Button navigation controls for "Previous" and "Next" step actions.', "Use Stepper with localStorage to persist wizard progress across browser sessions.", "Apply Stepper isIconsView with meaningful icons that clearly represent each step's purpose.", "Set Stepper with skip functionality using onStepClick for optional steps in the workflow.", "Use Stepper in user registration with steps for account info, profile setup, and confirmation.", 'Apply Stepper with time estimates in step labels like "Step 1 (2 min)" for user expectations.', "Combine Stepper with progress percentage calculation based on activeStep for additional feedback.", "Use Stepper validationStatus updates in real-time as users complete step requirements.", "Apply Stepper with consistent height to prevent layout shifts when switching between steps.", "Set Stepper with breadcrumb-style navigation for alternative step visualization in compact spaces.", "Use Stepper in survey or questionnaire interfaces showing question groups as steps.", "Apply Stepper with keyboard navigation support using arrow keys for accessibility.", "Combine Stepper with analytics tracking to identify where users drop off in multi-step processes.", "Use Stepper customView with checkmarks for completed steps and X marks for failed validation.", "Apply Stepper with contextual help links or tooltips for each step providing additional guidance.", "Set Stepper with auto-advance functionality moving to next step after successful completion.", "Use Stepper in file upload workflows with steps for selection, validation, and processing.", "Apply Stepper with mobile-optimized layout stacking steps vertically on small screens.", "Combine Stepper with conditional step visibility based on user selections in previous steps.", "Use Stepper with error recovery allowing users to correct issues without losing progress.", "Apply Stepper styles with custom animations for step transitions and status changes.", "Set Stepper with summary view on final step showing all collected information for review.", "Use Stepper in tutorial or learning paths with steps representing lessons or modules.", "Apply Stepper with estimated completion time updated based on remaining steps.", "Combine Stepper with Modal or Drawer for space-efficient multi-step processes.", "Use Stepper validationStatus with async validation checking backend requirements."], s = {
33
- component: e,
34
- compositionTips: t
35
- };
36
- export {
37
- s as default
38
- };
@@ -1,64 +0,0 @@
1
- const e = {
2
- name: "Switch",
3
- import: "import { Switch } from 'gd-design-library'",
4
- description: "Toggle switch component for binary on/off states with accessible label positioning and keyboard support. Ideal for settings, preferences, and feature toggles.",
5
- props: [{
6
- name: "checked",
7
- type: "boolean",
8
- description: "Controls the checked state of the switch",
9
- default: !1
10
- }, {
11
- name: "disabled",
12
- type: "boolean",
13
- description: "Disables the switch interaction preventing user toggling",
14
- default: !1
15
- }, {
16
- name: "label",
17
- type: "LabelPosition",
18
- description: "Position of the label text relative to the switch control",
19
- default: "right",
20
- enum: ["left", "right"]
21
- }, {
22
- name: "children",
23
- type: "ReactNode",
24
- description: "Label content displayed next to the switch, typically descriptive text"
25
- }, {
26
- name: "name",
27
- type: "string",
28
- description: "Name attribute of the underlying input element for form submission",
29
- default: "switch"
30
- }, {
31
- name: "onValueChange",
32
- type: "(checked: boolean) => void",
33
- description: "Callback function triggered when the switch value changes, receives new checked state"
34
- }, {
35
- name: "className",
36
- type: "string",
37
- description: "Additional CSS classes to apply to the switch wrapper"
38
- }, {
39
- name: "styles",
40
- type: "CSSProperties",
41
- description: "Custom inline styles for the switch container",
42
- default: {}
43
- }, {
44
- name: "ariaLabel",
45
- type: "string",
46
- description: "Accessibility label for screen readers when no visible label is provided"
47
- }, {
48
- name: "ariaDescribedBy",
49
- type: "string",
50
- description: "ID of element that describes the switch for additional context"
51
- }, {
52
- name: "tabIndex",
53
- type: "number",
54
- description: "Tab order for keyboard navigation",
55
- default: 0
56
- }],
57
- examples: ["<Switch checked={isEnabled} onValueChange={setIsEnabled}>Enable notifications</Switch>", '<Switch label="left" checked={darkMode} onValueChange={toggleDarkMode}>Dark mode</Switch>', "<Switch disabled={isLoading} checked={autoSave}>Auto-save</Switch>", '<Switch name="newsletter" onValueChange={handleNewsletterToggle}>Subscribe to newsletter</Switch>']
58
- }, t = ["Use Switch for binary settings where immediate feedback is desired.", 'Place the label on the right by default; use label="left" for compact settings lists.', "Disable Switch during async updates to prevent rapid toggling.", "Provide ariaLabel when the visual label is not present for accessibility.", "Use Switch for binary settings like on/off, enabled/disabled, or yes/no choices instead of checkboxes.", 'Apply Switch label="right" (default) for most cases as it follows common UI patterns.', 'Set Switch label="left" when the label describes what the switch controls rather than its state.', "Use Switch checked with controlled components and state management for form integration.", "Apply Switch onValueChange instead of onChange for cleaner boolean state handling.", "Combine Switch with Typography in children for styled label text with consistent formatting.", "Use Switch disabled during async operations or based on user permissions.", "Apply Switch in Card components with padding for organized settings sections.", "Set Switch name attribute when using within Form for proper form data submission.", "Use Switch with descriptive children text that clearly indicates what the toggle controls.", "Apply Switch ariaLabel when the visual label might not provide enough context for screen readers.", "Combine multiple Switch components in Column with consistent spacing for settings lists.", "Use Switch for preference toggles that take effect immediately without save buttons.", "Apply Switch with InlineNotification to show confirmation when toggle changes critical settings.", "Set Switch tabIndex to control keyboard navigation order in complex forms.", "Use Switch checked={false} by default for opt-in features to respect user privacy.", "Apply Switch with consistent positioning across similar settings for predictable UX.", "Combine Switch with conditional rendering to show/hide related options based on toggle state.", "Use Switch onValueChange with debouncing for settings that trigger expensive operations.", "Apply Switch with visual feedback like color changes or icons to reinforce state.", "Set Switch with label positioning based on layout constraints and visual balance.", "Use Switch in responsive layouts adjusting label position on mobile for better touch targets.", "Apply Switch with localStorage or API calls in onValueChange for persistent settings.", "Combine Switch with Loader or loading state when toggle triggers async operations.", "Use Switch for feature flags allowing users to opt into beta or experimental features.", "Apply Switch disabled={true} with Tooltip explaining why the option is unavailable.", "Set Switch with consistent label styles using Typography for uniform appearance.", "Use Switch instead of Radio buttons when only two mutually exclusive options exist.", "Apply Switch with animation transitions for smooth visual state changes.", "Combine Switch with confirmation Modal for toggles that have significant consequences.", "Use Switch in Table rows for bulk actions or row-specific settings.", "Apply Switch with keyboard shortcuts for power users to toggle without mouse.", "Set Switch with group labels using Separator or Typography headers for organized sections.", "Use Switch for filters that instantly update displayed content without apply buttons.", "Apply Switch with count badges showing how many items are affected by the toggle.", "Combine Switch with help icons or tooltips for settings that need explanation.", "Use Switch checked state to control other form field visibility or requirement status.", "Apply Switch with consistent margins/padding for aligned form layouts.", "Set Switch with semantic HTML using proper ARIA attributes for accessibility.", "Use Switch onValueChange to trigger analytics events for feature usage tracking.", "Apply Switch with visual indicators like checkmarks or X marks for clear state communication.", "Combine Switch with Select or Input fields that are enabled/disabled based on toggle.", "Use Switch for dark/light theme toggles with immediate visual feedback.", "Apply Switch with custom styling via className for branded toggle appearances.", "Set Switch with error states when toggle is in invalid configuration.", "Use Switch in Modal forms for settings that need explicit save confirmation.", "Apply Switch with responsive text that changes based on checked state for clarity.", "Combine Switch with badges or icons in children for enhanced visual communication.", "Use Switch for privacy settings with clear implications of what data is shared."], i = {
59
- component: e,
60
- compositionTips: t
61
- };
62
- export {
63
- i as default
64
- };
@@ -1,37 +0,0 @@
1
- const e = {
2
- name: "Tabs",
3
- import: "import { Tabs } from 'gd-design-library'",
4
- description: "Navigation component that organizes content into separate views accessed through tabbed interfaces. Supports disabled states, notice counters, and keyboard navigation for accessible multi-section content organization.",
5
- props: [{
6
- name: "tabs",
7
- type: "Array<TabProps>",
8
- description: "Array of tab objects defining the content and behavior of each tab. Each object contains id, label, content, isDisabled, and noticeCounter properties",
9
- required: !0,
10
- default: []
11
- }, {
12
- name: "ariaLabel",
13
- type: "string",
14
- description: "Accessibility label for the tabs component navigation, used by screen readers to announce the tab list"
15
- }, {
16
- name: "activeTab",
17
- type: "number",
18
- description: "Zero-based index of the initially active tab",
19
- default: 0
20
- }, {
21
- name: "onTabChange",
22
- type: "(index: number) => void",
23
- description: "Callback function triggered when a tab is selected, receiving the new tab index"
24
- }, {
25
- name: "styles",
26
- type: "CSSProperties",
27
- description: "Custom CSS properties to override default tab styling",
28
- default: {}
29
- }],
30
- examples: ['<Tabs tabs={[{label: "Overview", content: <Overview />}, {label: "Details", content: <Details />}]} />', "<Tabs tabs={tabData} activeTab={1} onTabChange={handleTabChange} />", '<Tabs tabs={[{label: "Messages", content: <Messages />, noticeCounter: 5}, {label: "Settings", content: <Settings />}]} />', '<Tabs tabs={productTabs} ariaLabel="Product information tabs" styles={{borderBottom: "2px solid #ccc"}} />', '<Tabs tabs={[{label: "Active", content: <ActiveItems />}, {label: "Archived", content: <ArchivedItems />, isDisabled: true}]} />']
31
- }, t = ["Use Tabs to separate logically distinct content areas within the same page.", "Maintain keyboard accessibility: left/right arrows to navigate, Enter/Space to select.", "Show noticeCounter for tabs with updates (e.g., unread messages).", "Keep labels short; use Tooltip for longer descriptions if needed.", "Preserve active tab state across navigation when appropriate (e.g., via URL or context).", "Use Tabs for organizing related content into logical sections without page navigation.", "Apply Tabs with activeTab prop for controlled tab state management synced with URL or app state.", "Set Tabs with no more than 6 tabs to prevent overwhelming users with too many options.", "Use Tabs onTabChange to track analytics for most viewed sections and user navigation patterns.", "Apply Tabs with noticeCounter on specific tabs to indicate new or updated content requiring attention.", "Combine Tabs with Card components in content prop for visually structured tab panels.", "Use Tabs with meaningful labels that clearly describe the content within each tab section.", "Apply Tabs isDisabled prop for tabs that are conditionally available based on user permissions or data.", "Set Tabs activeTab={0} to always start with the most important or overview content visible.", "Use Tabs with consistent content structure across all tabs for predictable user experience.", "Apply Tabs ariaLabel for screen reader users to understand the purpose of the tab navigation.", "Combine Tabs with Form components in content for multi-step forms or categorized settings.", "Use Tabs with lazy loading in content prop to defer rendering of inactive tab content.", "Apply Tabs styles prop to customize border, padding, or background to match design requirements.", "Set Tabs with responsive design hiding tabs into dropdown menu on mobile devices.", "Use Tabs for filtering data views like Active/Completed/All in task management interfaces.", "Apply Tabs with icons in label prop using FlexContainer for visual tab identification.", "Combine Tabs with loading states in content while fetching tab-specific data.", "Use Tabs activeTab with useEffect to perform actions when specific tabs become active.", "Apply Tabs with keyboard navigation support using Space/Enter for accessibility compliance.", "Set Tabs with URL hash synchronization for deep-linkable tab states.", "Use Tabs for product information sections like Description/Specifications/Reviews.", "Apply Tabs with consistent height in content panels to prevent layout jumps.", "Combine Tabs with InlineNotification in content for tab-specific alerts or messages.", "Use Tabs noticeCounter with real-time updates for dynamic content indicators.", "Apply Tabs with overflow scrolling for many tabs using horizontal scroll on mobile.", "Set Tabs with animation transitions between tab panels for smooth content switching.", "Use Tabs for dashboard views organizing metrics into categories like Sales/Traffic/Conversions.", "Apply Tabs with nested Tabs in content for multi-level content organization.", "Combine Tabs with Select dropdown as alternative navigation for many options.", "Use Tabs isDisabled dynamically based on form validation or data availability.", "Apply Tabs with consistent tab order placing most-used tabs on the left.", "Set Tabs with vertical orientation via custom styles for sidebar navigation patterns.", "Use Tabs for comparison views showing different data sets or time periods.", "Apply Tabs with breadcrumbs above for hierarchical navigation context.", "Combine Tabs with charts or data visualizations in content for analytics interfaces.", "Use Tabs activeTab controlled by external navigation or search results.", "Apply Tabs with tooltips on disabled tabs explaining why they are unavailable.", "Set Tabs with consistent naming conventions for tab IDs for easier maintenance.", "Use Tabs for user profile sections like Account/Security/Preferences/Billing.", "Apply Tabs with responsive content adapting layout based on viewport size.", "Combine Tabs with router integration for tab navigation via browser back/forward.", "Use Tabs noticeCounter={0} to hide counter when no new content exists.", "Apply Tabs with print styles showing all tab content when printing.", "Set Tabs with focus management moving focus to content when tab activates.", "Use Tabs for documentation sections organizing API/Guides/Examples/FAQ.", "Apply Tabs with search functionality filtering or highlighting relevant tabs.", "Combine Tabs with localStorage to remember user's last active tab preference.", "Use Tabs styles with custom active tab indicators for branded experiences."], a = {
32
- component: e,
33
- compositionTips: t
34
- };
35
- export {
36
- a as default
37
- };
@@ -1,88 +0,0 @@
1
- const e = {
2
- name: "Textarea",
3
- import: "import { Textarea } from 'gd-design-library'",
4
- description: "Multi-line text input component for capturing longer form text content with automatic height adjustment, resize controls, and comprehensive accessibility support.",
5
- props: [{
6
- name: "name",
7
- type: "string",
8
- description: "Input field name attribute for form submission",
9
- default: "textarea"
10
- }, {
11
- name: "placeholder",
12
- type: "string",
13
- description: "Placeholder text shown when textarea is empty"
14
- }, {
15
- name: "ariaDescribedBy",
16
- type: "string",
17
- description: "ID of element that describes this textarea for accessibility"
18
- }, {
19
- name: "value",
20
- type: "string",
21
- description: "Controlled value of the textarea"
22
- }, {
23
- name: "minHeight",
24
- type: "string",
25
- description: "Minimum height of textarea"
26
- }, {
27
- name: "maxHeight",
28
- type: "string",
29
- description: "Maximum height of textarea for dynamic adjustment or scrolling"
30
- }, {
31
- name: "disabled",
32
- type: "boolean",
33
- description: "Whether the textarea is disabled",
34
- default: !1
35
- }, {
36
- name: "readOnly",
37
- type: "boolean",
38
- description: "Whether the textarea is read only",
39
- default: !1
40
- }, {
41
- name: "autoFocus",
42
- type: "boolean",
43
- description: "Whether the textarea should auto focus on mount",
44
- default: !1
45
- }, {
46
- name: "resize",
47
- type: "TextareaResize",
48
- description: "Controls how the textarea can be resized by user",
49
- default: "TextareaResize.None",
50
- enum: ["none", "both", "horizontal", "vertical"]
51
- }, {
52
- name: "rows",
53
- type: "number",
54
- description: "Number of visible text rows"
55
- }, {
56
- name: "dynamicHeightAdjustment",
57
- type: "boolean",
58
- description: "Enable/disable automatic height adjustment based on content",
59
- default: !1
60
- }, {
61
- name: "maxLength",
62
- type: "number",
63
- description: "Maximum character limit for input"
64
- }, {
65
- name: "defaultValue",
66
- type: "string",
67
- description: "Initial textarea content for uncontrolled component"
68
- }, {
69
- name: "styles",
70
- type: "CSSProperties",
71
- description: "Custom CSS styles to override default styling"
72
- }, {
73
- name: "onChange",
74
- type: "(event: ChangeEvent<HTMLTextAreaElement>) => void",
75
- description: "Callback when textarea content changes"
76
- }, {
77
- name: "onCustomResize",
78
- type: "(newSize: { height: number; width: number }) => void",
79
- description: "Callback triggered when textarea is manually resized by user"
80
- }],
81
- examples: ['<Textarea name="description" placeholder="Enter description..." rows={4} maxLength={500} />', "<Textarea value={comment} onChange={handleCommentChange} dynamicHeightAdjustment />", '<Textarea resize="vertical" minHeight="100px" maxHeight="400px" placeholder="Your message" />', '<Textarea readOnly defaultValue={logContent} rows={10} styles={{fontFamily: "monospace"}} />']
82
- }, t = ["Use Textarea for multi-line text input where users need to provide detailed information like comments, descriptions, or messages.", "Apply Textarea with dynamicHeightAdjustment={true} for auto-growing text areas that expand with content.", "Set Textarea maxLength with character counter display to show remaining characters.", 'Use Textarea resize="vertical" to allow users to manually adjust height while preventing horizontal resize.', "Apply Textarea minHeight and maxHeight to constrain size while maintaining flexibility.", "Combine Textarea with Label component using htmlFor for proper accessibility.", "Use Textarea rows prop to set initial visible height without CSS.", "Apply Textarea placeholder with example format or helpful instructions for user guidance.", 'Set Textarea readOnly with styles={{backgroundColor: "#f5f5f5"}} for display-only text.', "Use Textarea with Form component and validation for required long-form text fields.", "Apply Textarea onChange with debouncing for auto-save features in draft content.", "Combine Textarea with InlineNotification below for validation messages or hints.", 'Use Textarea resize="none" (default) for consistent layout that prevents user resizing.', "Apply Textarea autoFocus for forms where textarea is the primary input field.", "Set Textarea with monospace font via styles for code or structured text input.", "Use Textarea maxHeight with overflow scrolling for bounded but flexible input areas.", "Apply Textarea dynamicHeightAdjustment with maxHeight for auto-grow with limits.", 'Combine Textarea with word count display using value.split(" ").length for word limits.', "Use Textarea disabled during form submission to prevent content changes.", "Apply Textarea with consistent width or full-width for form alignment.", "Set Textarea onCustomResize to track user resize preferences for persistent UI.", "Use Textarea defaultValue for uncontrolled components with initial content.", "Apply Textarea value with onChange for controlled components with state management.", "Combine Textarea with real-time preview for markdown or rich text editing.", "Use Textarea ariaDescribedBy linking to helper text or error messages for screen readers.", "Apply Textarea with border color changes based on validation state.", 'Set Textarea resize="both" for full user control in resizable panels or widgets.', "Use Textarea with minimum rows={3} for better visual presence in forms.", "Apply Textarea with tab key handling for code editors needing tab insertion.", "Combine Textarea with floating label pattern for modern form designs.", "Use Textarea maxLength with preventOverflow logic to stop input at limit.", "Apply Textarea with line number display for code or script editing interfaces.", "Set Textarea with spell check control via spellCheck attribute for different content types.", "Use Textarea in Modal for feedback forms or detailed input collection.", "Apply Textarea with paste event handling for content formatting or validation.", "Combine Textarea with emoji picker or formatting toolbar for rich text input.", "Use Textarea rows with dynamicHeightAdjustment for initial size with growth capability.", "Apply Textarea with consistent padding and font size matching other form inputs.", "Set Textarea with wrap attribute control for handling long lines without spaces.", "Use Textarea with keyboard shortcuts for power users (Ctrl+Enter to submit).", "Apply Textarea in Card components with proper spacing for comment sections.", "Combine Textarea with mention/autocomplete functionality for social features.", "Use Textarea with draft saving to localStorage to prevent data loss.", 'Apply Textarea resize="horizontal" rarely, only when width adjustment is specifically needed.', "Set Textarea with custom scrollbar styling for branded appearance.", "Use Textarea with focus and blur events for field-level validation timing.", "Apply Textarea with consistent error state styling matching other form inputs.", "Combine Textarea with file drop support for drag-and-drop text file content.", "Use dynamicHeightAdjustment for chat inputs and comments to auto-grow with content.", "Constrain maxHeight to avoid the textarea overtaking the screen.", 'Prefer resize="vertical" for longer text areas to keep layout intact.', "Provide ariaDescribedBy linking to helper text or character counters."], a = {
83
- component: e,
84
- compositionTips: t
85
- };
86
- export {
87
- a as default
88
- };
@@ -1,41 +0,0 @@
1
- const e = {
2
- name: "Toggle",
3
- import: "import { Toggle } from 'gd-design-library'",
4
- description: "Multi-option toggle component for selecting between multiple values with customizable rendering and keyboard support. Ideal for view switchers, filters, and mode selectors.",
5
- props: [{
6
- name: "items",
7
- type: "Array<string | { label: string; value: string }>",
8
- description: "List of items to toggle between, can be strings or objects with label and value",
9
- required: !0,
10
- default: []
11
- }, {
12
- name: "value",
13
- type: "string | unknown",
14
- description: "Currently selected value from the items list"
15
- }, {
16
- name: "onValueChange",
17
- type: "(value: unknown) => void",
18
- description: "Function triggered when the value changes, receives the new selected value"
19
- }, {
20
- name: "disabled",
21
- type: "boolean",
22
- description: "Disables interaction with the component preventing selection changes",
23
- default: !1
24
- }, {
25
- name: "renderItemContent",
26
- type: "(item: unknown) => ReactNode",
27
- description: "Custom render function for each item, allowing custom content like icons or styled text"
28
- }, {
29
- name: "styles",
30
- type: "InlineBoxStyles",
31
- description: "Custom styles for the component container and appearance",
32
- default: {}
33
- }],
34
- examples: ['<Toggle items={["List", "Grid", "Gallery"]} value={viewMode} onValueChange={setViewMode} />', '<Toggle items={[{label: "Day", value: "day"}, {label: "Week", value: "week"}, {label: "Month", value: "month"}]} value={period} onValueChange={setPeriod} />', '<Toggle items={options} renderItemContent={(item) => <FlexContainer gap="4px"><Icon name={item.icon} />{item.label}</FlexContainer>} value={selected} onValueChange={handleChange} />', '<Toggle items={["Light", "Dark", "Auto"]} value={theme} onValueChange={setTheme} disabled={isLoading} />']
35
- }, o = ["Use Toggle for quick switching between a small number of options (2–4).", "Provide a clear onValueChange to keep it controlled when needed.", "Render icons with renderItemContent to make options more scannable.", "Disable Toggle while content updates to prevent accidental switches.", "Use Toggle for selecting between 2-5 mutually exclusive options like view modes, time periods, or display settings.", "Apply Toggle items as simple strings for basic text options or objects with label/value for complex data.", "Set Toggle value to control the selected state and onValueChange to handle selection changes.", "Use Toggle renderItemContent to customize item display with icons, badges, or styled text.", "Apply Toggle disabled={true} during loading states or based on user permissions.", "Combine Toggle with FlexContainer or Row for horizontal layout integration.", "Use Toggle instead of Radio buttons when options should be visually compact and immediately visible.", "Apply Toggle for view switchers like List/Grid/Gallery or Day/Week/Month selectors.", "Set Toggle with consistent width across all items for uniform appearance.", "Use Toggle renderItemContent with Icon components for icon-only or icon-text combinations.", "Apply Toggle styles for custom colors, borders, or active state highlighting.", "Combine Toggle with state management to control displayed content based on selection.", "Use Toggle for filter options that are mutually exclusive like sort order or date ranges.", "Apply Toggle with keyboard navigation support using arrow keys for accessibility.", "Set Toggle items dynamically based on available options or user permissions.", "Use Toggle in toolbars or headers for quick view or mode switching.", "Apply Toggle with Typography in renderItemContent for consistent text styling.", "Combine Toggle with Card or Column for organized settings sections.", "Use Toggle value with useEffect to trigger side effects on selection change.", "Apply Toggle for responsive design mode switchers like Desktop/Tablet/Mobile views.", "Set Toggle with aria-label for screen reader context when purpose is not obvious.", "Use Toggle instead of Select when all options should be immediately visible.", "Apply Toggle with animation transitions for smooth state changes.", "Combine Toggle with localStorage to persist user view preferences.", "Use Toggle items with consistent naming patterns for better UX.", "Apply Toggle disabled selectively for unavailable options while showing them.", "Set Toggle with tooltips on items for additional context or descriptions.", "Use Toggle for language or locale switchers with country flags or codes.", "Apply Toggle with visual feedback like color changes or borders for active state.", "Combine Toggle with data fetching to reload content based on selection.", "Use Toggle renderItemContent to show item counts or badges.", "Apply Toggle for theme switchers like Light/Dark/System preferences.", "Set Toggle with minimum width to prevent layout shifts on selection.", "Use Toggle in forms for selecting between predefined option sets.", "Apply Toggle with consistent spacing from surrounding elements.", "Combine Toggle with InlineNotification for selection confirmations.", "Use Toggle items order strategically with most common option first.", "Apply Toggle with custom active indicator styles for brand consistency.", 'Set Toggle with role="tablist" for semantic tab-like interfaces.', "Use Toggle for currency or unit selectors in e-commerce or data apps.", "Apply Toggle with responsive item count, showing fewer options on mobile.", "Combine Toggle with conditional rendering to show/hide UI sections.", "Use Toggle renderItemContent with abbreviations on mobile, full text on desktop.", "Apply Toggle for sorting options like Newest/Oldest or Price Low/High.", "Set Toggle with visual hierarchy using size or color for primary option.", "Use Toggle in dashboards for metric period selection or chart type switching.", "Apply Toggle with loading indicator when selection triggers async operations.", "Combine Toggle with URL parameters for shareable view states.", "Use Toggle disabled during form submission to prevent option changes.", "Apply Toggle with consistent patterns across similar selection contexts."], t = {
36
- component: e,
37
- compositionTips: o
38
- };
39
- export {
40
- t as default
41
- };
@@ -1,61 +0,0 @@
1
- const t = {
2
- name: "Tooltip",
3
- import: "import { Tooltip } from 'gd-design-library'",
4
- description: "Contextual information overlay component that displays helpful text on hover or focus, with smart positioning, configurable delays, and full accessibility support through portal rendering.",
5
- props: [{
6
- name: "content",
7
- type: "ReactNode",
8
- description: "The content to display inside the tooltip overlay, can be text or any React element",
9
- required: !0
10
- }, {
11
- name: "children",
12
- type: "ReactNode",
13
- description: "The trigger element that shows tooltip on hover or focus, typically a button or text",
14
- required: !0
15
- }, {
16
- name: "position",
17
- type: "TooltipPosition",
18
- description: "Position of the tooltip relative to the trigger element",
19
- default: "top",
20
- enum: ["top", "right", "bottom", "left"]
21
- }, {
22
- name: "delay",
23
- type: "number",
24
- description: "Delay in milliseconds before showing/hiding the tooltip",
25
- default: 200
26
- }, {
27
- name: "gap",
28
- type: "number",
29
- description: "Space in pixels between the tooltip and trigger element",
30
- default: 10
31
- }, {
32
- name: "ariaLabel",
33
- type: "string",
34
- description: "Accessible label for the tooltip trigger element for screen readers"
35
- }, {
36
- name: "ariaDescribedBy",
37
- type: "string",
38
- description: "ID of an element that provides additional description for the tooltip"
39
- }, {
40
- name: "className",
41
- type: "string",
42
- description: "Additional CSS class name to apply to the tooltip overlay"
43
- }, {
44
- name: "styles",
45
- type: "CSSProperties",
46
- description: "Custom inline styles to apply to the tooltip overlay",
47
- default: {}
48
- }, {
49
- name: "as",
50
- type: "keyof HTMLElementTagNameMap | ElementType",
51
- description: "HTML element or component to render the tooltip wrapper as",
52
- default: "div"
53
- }],
54
- examples: ['<Tooltip content="Save your changes" position="top"><Button>Save</Button></Tooltip>', '<Tooltip content="This field is required" position="right" delay={500}><Icon name="info" /></Tooltip>', '<Tooltip content={<Typography variant="caption">Click to copy</Typography>} position="bottom"><Typography>Copy text</Typography></Tooltip>', '<Tooltip content="Delete this item permanently" position="left" gap={15}><Button color="error" isIcon><Icon name="delete" /></Button></Tooltip>']
55
- }, o = ["Use Tooltip for short, helpful hints; avoid long instructional text.", "Prefer top or bottom positions to reduce overlap with the trigger.", "Increase delay slightly for touch devices to prevent accidental popups.", "Ensure ariaLabel/ariaDescribedBy provide accessible context.", "Use Tooltip content prop with concise, helpful text that adds value without stating the obvious.", 'Apply Tooltip position="top" (default) for most cases, use other positions to avoid viewport edges.', "Set Tooltip delay with shorter times (100-200ms) for frequently used actions, longer (500ms+) for occasional hints.", "Use Tooltip gap to ensure proper spacing from trigger element, adjust for visual balance.", "Apply Tooltip on icon-only buttons to clarify their purpose with descriptive content text.", "Combine Tooltip with disabled elements to explain why an action is unavailable.", "Use Tooltip ariaLabel for trigger elements that need additional accessibility context.", 'Apply Tooltip as="span" when wrapping inline elements within text content.', "Set Tooltip content with Typography components for rich formatted tooltip text.", "Use Tooltip on truncated text (text-overflow: ellipsis) to show full content on hover.", 'Apply Tooltip position="right" or "left" for vertical lists to avoid covering adjacent items.', "Combine Tooltip with keyboard navigation support for accessibility compliance.", "Use Tooltip delay={0} for instant display in tutorial or onboarding flows.", "Apply Tooltip consistently across similar UI elements for predictable user experience.", "Set Tooltip with high contrast colors via styles for better readability.", "Use Tooltip on form field labels to provide format examples or requirements.", "Apply Tooltip position based on element location to prevent viewport overflow.", "Combine Tooltip with Icon components for info icons that reveal explanations.", "Use Tooltip content sparingly, avoid redundant information already visible in UI.", "Apply Tooltip on abbreviated text or acronyms to show full meanings.", "Set Tooltip gap larger for touch interfaces to prevent accidental triggers.", "Use Tooltip with conditional content based on application state or user permissions.", "Apply Tooltip in data tables for cell values that might be truncated or need context.", "Combine Tooltip with status indicators to explain what each status means.", "Use Tooltip delay consistently across the app for uniform interaction timing.", "Apply Tooltip on interactive elements only, avoid on decorative or disabled items.", "Set Tooltip content with line breaks or lists for structured information.", 'Use Tooltip position="bottom" for elements at the top of viewport to ensure visibility.', "Apply Tooltip with Portal rendering to escape overflow hidden containers.", "Combine Tooltip with loading states to show progress or status information.", "Use Tooltip on navigation items to show full page names or descriptions.", "Apply Tooltip styles to match theme colors and maintain visual consistency.", "Set Tooltip with responsive content that adapts to mobile vs desktop contexts.", "Use Tooltip on badges or chips to provide additional context about counts or labels.", "Apply Tooltip ariaDescribedBy to link with detailed help text elements.", "Combine Tooltip with error states to show validation messages on hover.", "Use Tooltip on chart elements to display detailed data values.", "Apply Tooltip with z-index management via styles when inside modals or overlays.", "Set Tooltip content updates dynamically based on trigger element state.", "Use Tooltip on toolbar buttons to describe tool functions and shortcuts.", "Apply Tooltip with consistent max-width via styles to prevent overly wide tooltips.", "Combine Tooltip with internationalization for localized help text.", 'Use Tooltip position="left" for RTL layouts or right-aligned elements.', "Apply Tooltip on links to show destination URLs or page descriptions.", "Set Tooltip with animation classes via className for custom enter/exit effects.", "Use Tooltip on image thumbnails to show larger preview or metadata.", "Apply Tooltip delay longer for decorative hints, shorter for functional guidance.", "Combine Tooltip with keyboard shortcuts display for power user features.", "Use Tooltip on save indicators to show last save time or status.", "Apply Tooltip with proper ARIA attributes for screen reader compatibility."], e = {
56
- component: t,
57
- compositionTips: o
58
- };
59
- export {
60
- e as default
61
- };
@@ -1,56 +0,0 @@
1
- const t = {
2
- name: "Typography",
3
- import: "import { Typography } from 'gd-design-library'",
4
- description: "Text component with flexible typography system supporting various text styles, sizes, and alignments.",
5
- props: [{
6
- name: "variant",
7
- type: "TypographyVariant",
8
- description: "Specifies the typographic variant to use (e.g., h1-h6, body1, body2, display, etc.)",
9
- default: "body1",
10
- enum: ["h1", "h2", "h3", "h4", "h5", "h6", "body1", "body2", "caption", "overline", "display", "subtitle1", "subtitle2"]
11
- }, {
12
- name: "color",
13
- type: "string",
14
- description: "Sets the text color using CSS color value",
15
- default: "inherit"
16
- }, {
17
- name: "styles",
18
- type: "CSSProperties",
19
- description: "Additional CSS styles to apply to the typography component",
20
- default: {}
21
- }, {
22
- name: "size",
23
- type: "SizeVariant",
24
- description: "Sets the size of the text (xs, sm, md, lg, xl). Only applicable for Display variant",
25
- default: "md",
26
- enum: ["xs", "sm", "md", "lg", "xl", "xxl"]
27
- }, {
28
- name: "align",
29
- type: "TextAlign",
30
- description: "Controls the text alignment (start, center, end, justify)",
31
- default: "start",
32
- enum: ["start", "center", "end", "justify"]
33
- }, {
34
- name: "styleVariant",
35
- type: "TypographyStyleVariant[]",
36
- description: "Applies additional styling variants (italic, bold, underline, etc.). Multiple can be selected",
37
- default: [],
38
- enum: ["italic", "bold", "underline", "strikethrough", "uppercase", "lowercase", "capitalize"]
39
- }, {
40
- name: "as",
41
- type: "string | Component",
42
- description: "Renders the typography as a different HTML element or component while maintaining styles"
43
- }, {
44
- name: "children",
45
- type: "ReactNode",
46
- description: "The content to be displayed within the typography component",
47
- required: !0
48
- }],
49
- examples: ['<Typography variant="h1" align="center">Main Heading</Typography>', '<Typography variant="body1" color="#666" styleVariant={["italic"]}>Emphasized text</Typography>', '<Typography variant="display" size="lg" as="h2">Large Display Text</Typography>']
50
- }, e = ['Use Typography variant="h1" through "h6" for hierarchical headings to establish content structure.', 'Apply Typography variant="display" with size prop for hero text and marketing headlines.', 'Use Typography variant="body1" for primary content text and variant="body2" for secondary content.', 'Set Typography variant="caption" for helper text, timestamps, and metadata information.', 'Apply Typography variant="overline" for small labels above headings or section markers.', 'Use Typography styleVariant={["bold"]} to emphasize important text within paragraphs.', 'Combine Typography styleVariant={["italic", "bold"]} for multiple text styles simultaneously.', 'Set Typography align="center" for centered headings and call-to-action text.', 'Use Typography align="justify" for newspaper-style paragraph text in reading-heavy interfaces.', "Apply Typography color prop with theme colors for consistent brand-aligned text coloring.", 'Use Typography as="span" to inline styled text within other Typography components.', 'Set Typography as="label" when using it as a form label for semantic HTML structure.', 'Apply Typography variant="subtitle1" for section subheadings and variant="subtitle2" for subsection titles.', 'Use Typography styleVariant={["uppercase"]} for button text and navigation labels.', "Combine Typography with Column component for well-spaced text blocks with consistent vertical rhythm.", 'Set Typography color="inherit" (default) to inherit color from parent components.', 'Use Typography variant="display" size="xl" for landing page hero text that needs impact.', 'Apply Typography styleVariant={["strikethrough"]} for showing deleted or outdated content.', 'Use Typography variant="caption" styleVariant={["italic"]} for photo credits and attributions.', 'Set Typography align="end" for right-aligned text in RTL layouts or price displays.', "Apply Typography styles prop for one-off custom styling without creating new CSS classes.", "Use multiple Typography components with different variants to create rich text layouts.", 'Combine Typography variant="overline" with variant="h4" for labeled section headers.', 'Apply Typography styleVariant={["capitalize"]} for proper noun formatting in dynamic content.', 'Use Typography variant="body2" color="#666" for secondary information like descriptions.', 'Set Typography as="div" when wrapping block-level content that needs typography styling.', 'Use Typography variant="h1" only once per page for SEO and accessibility best practices.', "Apply consistent Typography variants across similar UI elements for visual coherence.", "Combine Typography with Link component using as prop for styled navigation links."], a = {
51
- component: t,
52
- compositionTips: e
53
- };
54
- export {
55
- a as default
56
- };