@drivenets/design-system 0.0.2 → 0.0.4

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 (822) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  3. package/dist/components/ds-alert-banner/ds-alert-banner.cjs +182 -0
  4. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +53 -0
  5. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -0
  6. package/dist/components/ds-alert-banner/ds-alert-banner.d.ts +53 -0
  7. package/dist/components/ds-alert-banner/ds-alert-banner.d.ts.map +1 -0
  8. package/dist/components/ds-alert-banner/ds-alert-banner.js +181 -0
  9. package/dist/components/ds-alert-banner/ds-alert-banner.js.map +1 -0
  10. package/dist/components/ds-alert-banner/ds-alert-banner.module.cjs +21 -0
  11. package/dist/components/ds-alert-banner/ds-alert-banner.module.js +21 -0
  12. package/dist/components/ds-alert-banner/ds-alert-banner.module.js.map +1 -0
  13. package/dist/components/ds-alert-banner/ds-alert-banner.types.cjs +12 -0
  14. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts +49 -0
  15. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -0
  16. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.ts +50 -0
  17. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.ts.map +1 -0
  18. package/dist/components/ds-alert-banner/ds-alert-banner.types.js +12 -0
  19. package/dist/components/ds-alert-banner/ds-alert-banner.types.js.map +1 -0
  20. package/dist/components/ds-alert-banner/index.cjs +2 -0
  21. package/dist/components/ds-alert-banner/index.d.ts +2 -0
  22. package/dist/components/ds-alert-banner/index.js +2 -0
  23. package/dist/components/ds-breadcrumb/ds-breadcrumb.cjs +135 -0
  24. package/dist/components/ds-breadcrumb/ds-breadcrumb.d.cts +12 -0
  25. package/dist/components/ds-breadcrumb/ds-breadcrumb.d.cts.map +1 -0
  26. package/dist/components/ds-breadcrumb/ds-breadcrumb.d.ts +12 -0
  27. package/dist/components/ds-breadcrumb/ds-breadcrumb.d.ts.map +1 -0
  28. package/dist/components/ds-breadcrumb/ds-breadcrumb.js +134 -0
  29. package/dist/components/ds-breadcrumb/ds-breadcrumb.js.map +1 -0
  30. package/dist/components/ds-breadcrumb/ds-breadcrumb.module.cjs +16 -0
  31. package/dist/components/ds-breadcrumb/ds-breadcrumb.module.js +16 -0
  32. package/dist/components/ds-breadcrumb/ds-breadcrumb.module.js.map +1 -0
  33. package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.cts +36 -0
  34. package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.cts.map +1 -0
  35. package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.ts +37 -0
  36. package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.ts.map +1 -0
  37. package/dist/components/ds-breadcrumb/index.cjs +1 -0
  38. package/dist/components/ds-breadcrumb/index.d.ts +2 -0
  39. package/dist/components/ds-breadcrumb/index.js +1 -0
  40. package/dist/components/ds-button/ds-button.cjs +32 -0
  41. package/dist/components/ds-button/ds-button.d.cts +8 -0
  42. package/dist/components/ds-button/ds-button.d.cts.map +1 -0
  43. package/dist/components/ds-button/ds-button.d.ts +8 -0
  44. package/dist/components/ds-button/ds-button.d.ts.map +1 -0
  45. package/dist/components/ds-button/ds-button.js +32 -0
  46. package/dist/components/ds-button/ds-button.js.map +1 -0
  47. package/dist/components/ds-button/ds-button.types.d.cts +12 -0
  48. package/dist/components/ds-button/ds-button.types.d.cts.map +1 -0
  49. package/dist/components/ds-button/ds-button.types.d.ts +12 -0
  50. package/dist/components/ds-button/ds-button.types.d.ts.map +1 -0
  51. package/dist/components/ds-button/index.cjs +1 -0
  52. package/dist/components/ds-button/index.d.ts +2 -0
  53. package/dist/components/ds-button/index.js +1 -0
  54. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.cjs +95 -0
  55. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js +94 -0
  56. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js.map +1 -0
  57. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.cjs +27 -0
  58. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.js +27 -0
  59. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.js.map +1 -0
  60. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.cts +38 -0
  61. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.cts.map +1 -0
  62. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts +38 -0
  63. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts.map +1 -0
  64. package/dist/components/ds-button/versions/ds-button-legacy/index.cjs +1 -0
  65. package/dist/components/ds-button/versions/ds-button-legacy/index.js +1 -0
  66. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.cjs +102 -0
  67. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js +101 -0
  68. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js.map +1 -0
  69. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.module.cjs +25 -0
  70. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.module.js +25 -0
  71. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.module.js.map +1 -0
  72. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.cts +38 -0
  73. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.cts.map +1 -0
  74. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.ts +38 -0
  75. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.ts.map +1 -0
  76. package/dist/components/ds-button/versions/ds-button-new/index.cjs +1 -0
  77. package/dist/components/ds-button/versions/ds-button-new/index.js +1 -0
  78. package/dist/components/ds-checkbox/ds-checkbox.cjs +123 -0
  79. package/dist/components/ds-checkbox/ds-checkbox.d.cts +12 -0
  80. package/dist/components/ds-checkbox/ds-checkbox.d.cts.map +1 -0
  81. package/dist/components/ds-checkbox/ds-checkbox.d.ts +12 -0
  82. package/dist/components/ds-checkbox/ds-checkbox.d.ts.map +1 -0
  83. package/dist/components/ds-checkbox/ds-checkbox.js +121 -0
  84. package/dist/components/ds-checkbox/ds-checkbox.js.map +1 -0
  85. package/dist/components/ds-checkbox/ds-checkbox.module.cjs +13 -0
  86. package/dist/components/ds-checkbox/ds-checkbox.module.js +13 -0
  87. package/dist/components/ds-checkbox/ds-checkbox.module.js.map +1 -0
  88. package/dist/components/ds-checkbox/ds-checkbox.types.d.cts +31 -0
  89. package/dist/components/ds-checkbox/ds-checkbox.types.d.cts.map +1 -0
  90. package/dist/components/ds-checkbox/ds-checkbox.types.d.ts +31 -0
  91. package/dist/components/ds-checkbox/ds-checkbox.types.d.ts.map +1 -0
  92. package/dist/components/ds-checkbox/index.cjs +1 -0
  93. package/dist/components/ds-checkbox/index.d.ts +2 -0
  94. package/dist/components/ds-checkbox/index.js +1 -0
  95. package/dist/components/ds-chip/ds-chip.cjs +130 -0
  96. package/dist/components/ds-chip/ds-chip.d.cts +12 -0
  97. package/dist/components/ds-chip/ds-chip.d.cts.map +1 -0
  98. package/dist/components/ds-chip/ds-chip.d.ts +12 -0
  99. package/dist/components/ds-chip/ds-chip.d.ts.map +1 -0
  100. package/dist/components/ds-chip/ds-chip.js +129 -0
  101. package/dist/components/ds-chip/ds-chip.js.map +1 -0
  102. package/dist/components/ds-chip/ds-chip.module.cjs +12 -0
  103. package/dist/components/ds-chip/ds-chip.module.js +12 -0
  104. package/dist/components/ds-chip/ds-chip.module.js.map +1 -0
  105. package/dist/components/ds-chip/ds-chip.types.d.cts +49 -0
  106. package/dist/components/ds-chip/ds-chip.types.d.cts.map +1 -0
  107. package/dist/components/ds-chip/ds-chip.types.d.ts +50 -0
  108. package/dist/components/ds-chip/ds-chip.types.d.ts.map +1 -0
  109. package/dist/components/ds-chip/index.cjs +1 -0
  110. package/dist/components/ds-chip/index.d.ts +2 -0
  111. package/dist/components/ds-chip/index.js +1 -0
  112. package/dist/components/ds-chip-group/ds-chip-group.cjs +108 -0
  113. package/dist/components/ds-chip-group/ds-chip-group.d.cts +13 -0
  114. package/dist/components/ds-chip-group/ds-chip-group.d.cts.map +1 -0
  115. package/dist/components/ds-chip-group/ds-chip-group.d.ts +13 -0
  116. package/dist/components/ds-chip-group/ds-chip-group.d.ts.map +1 -0
  117. package/dist/components/ds-chip-group/ds-chip-group.js +106 -0
  118. package/dist/components/ds-chip-group/ds-chip-group.js.map +1 -0
  119. package/dist/components/ds-chip-group/ds-chip-group.module.cjs +15 -0
  120. package/dist/components/ds-chip-group/ds-chip-group.module.js +15 -0
  121. package/dist/components/ds-chip-group/ds-chip-group.module.js.map +1 -0
  122. package/dist/components/ds-chip-group/ds-chip-group.types.d.cts +55 -0
  123. package/dist/components/ds-chip-group/ds-chip-group.types.d.cts.map +1 -0
  124. package/dist/components/ds-chip-group/ds-chip-group.types.d.ts +55 -0
  125. package/dist/components/ds-chip-group/ds-chip-group.types.d.ts.map +1 -0
  126. package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.cjs +51 -0
  127. package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js +51 -0
  128. package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js.map +1 -0
  129. package/dist/components/ds-chip-group/index.cjs +1 -0
  130. package/dist/components/ds-chip-group/index.d.ts +2 -0
  131. package/dist/components/ds-chip-group/index.js +1 -0
  132. package/dist/components/ds-confirmation/ds-confirmation.cjs +235 -0
  133. package/dist/components/ds-confirmation/ds-confirmation.d.cts +72 -0
  134. package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -0
  135. package/dist/components/ds-confirmation/ds-confirmation.d.ts +72 -0
  136. package/dist/components/ds-confirmation/ds-confirmation.d.ts.map +1 -0
  137. package/dist/components/ds-confirmation/ds-confirmation.js +234 -0
  138. package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -0
  139. package/dist/components/ds-confirmation/ds-confirmation.module.cjs +21 -0
  140. package/dist/components/ds-confirmation/ds-confirmation.module.js +21 -0
  141. package/dist/components/ds-confirmation/ds-confirmation.module.js.map +1 -0
  142. package/dist/components/ds-confirmation/ds-confirmation.types.d.cts +33 -0
  143. package/dist/components/ds-confirmation/ds-confirmation.types.d.cts.map +1 -0
  144. package/dist/components/ds-confirmation/ds-confirmation.types.d.ts +33 -0
  145. package/dist/components/ds-confirmation/ds-confirmation.types.d.ts.map +1 -0
  146. package/dist/components/ds-confirmation/index.cjs +1 -0
  147. package/dist/components/ds-confirmation/index.d.ts +2 -0
  148. package/dist/components/ds-confirmation/index.js +1 -0
  149. package/dist/components/ds-dialog/ds-dialog.cjs +60 -0
  150. package/dist/components/ds-dialog/ds-dialog.d.cts +8 -0
  151. package/dist/components/ds-dialog/ds-dialog.d.cts.map +1 -0
  152. package/dist/components/ds-dialog/ds-dialog.d.ts +8 -0
  153. package/dist/components/ds-dialog/ds-dialog.d.ts.map +1 -0
  154. package/dist/components/ds-dialog/ds-dialog.js +58 -0
  155. package/dist/components/ds-dialog/ds-dialog.js.map +1 -0
  156. package/dist/components/ds-dialog/ds-dialog.module.cjs +12 -0
  157. package/dist/components/ds-dialog/ds-dialog.module.js +12 -0
  158. package/dist/components/ds-dialog/ds-dialog.module.js.map +1 -0
  159. package/dist/components/ds-dialog/ds-dialog.types.d.cts +55 -0
  160. package/dist/components/ds-dialog/ds-dialog.types.d.cts.map +1 -0
  161. package/dist/components/ds-dialog/ds-dialog.types.d.ts +55 -0
  162. package/dist/components/ds-dialog/ds-dialog.types.d.ts.map +1 -0
  163. package/dist/components/ds-dialog/index.cjs +1 -0
  164. package/dist/components/ds-dialog/index.d.ts +2 -0
  165. package/dist/components/ds-dialog/index.js +1 -0
  166. package/dist/components/ds-drawer/ds-drawer.cjs +297 -0
  167. package/dist/components/ds-drawer/ds-drawer.d.cts +90 -0
  168. package/dist/components/ds-drawer/ds-drawer.d.cts.map +1 -0
  169. package/dist/components/ds-drawer/ds-drawer.d.ts +90 -0
  170. package/dist/components/ds-drawer/ds-drawer.d.ts.map +1 -0
  171. package/dist/components/ds-drawer/ds-drawer.js +296 -0
  172. package/dist/components/ds-drawer/ds-drawer.js.map +1 -0
  173. package/dist/components/ds-drawer/ds-drawer.module.cjs +38 -0
  174. package/dist/components/ds-drawer/ds-drawer.module.js +38 -0
  175. package/dist/components/ds-drawer/ds-drawer.module.js.map +1 -0
  176. package/dist/components/ds-drawer/ds-drawer.types.d.cts +58 -0
  177. package/dist/components/ds-drawer/ds-drawer.types.d.cts.map +1 -0
  178. package/dist/components/ds-drawer/ds-drawer.types.d.ts +58 -0
  179. package/dist/components/ds-drawer/ds-drawer.types.d.ts.map +1 -0
  180. package/dist/components/ds-drawer/index.cjs +1 -0
  181. package/dist/components/ds-drawer/index.d.ts +2 -0
  182. package/dist/components/ds-drawer/index.js +1 -0
  183. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +629 -0
  184. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.cts +58 -0
  185. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.cts.map +1 -0
  186. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.ts +58 -0
  187. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.ts.map +1 -0
  188. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +626 -0
  189. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js.map +1 -0
  190. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.cjs +25 -0
  191. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js +25 -0
  192. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js.map +1 -0
  193. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.cts +247 -0
  194. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.cts.map +1 -0
  195. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts +247 -0
  196. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts.map +1 -0
  197. package/dist/components/ds-dropdown-menu/index.cjs +1 -0
  198. package/dist/components/ds-dropdown-menu/index.d.ts +2 -0
  199. package/dist/components/ds-dropdown-menu/index.js +1 -0
  200. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.cjs +173 -0
  201. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +13 -0
  202. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts.map +1 -0
  203. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +13 -0
  204. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts.map +1 -0
  205. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js +172 -0
  206. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js.map +1 -0
  207. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.module.cjs +13 -0
  208. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.module.js +13 -0
  209. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.module.js.map +1 -0
  210. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.cts +21 -0
  211. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.cts.map +1 -0
  212. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts +23 -0
  213. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts.map +1 -0
  214. package/dist/components/ds-expandable-text-input/index.cjs +1 -0
  215. package/dist/components/ds-expandable-text-input/index.d.ts +2 -0
  216. package/dist/components/ds-expandable-text-input/index.js +1 -0
  217. package/dist/components/ds-file-upload/components/file-upload/file-upload.cjs +217 -0
  218. package/dist/components/ds-file-upload/components/file-upload/file-upload.d.cts +13 -0
  219. package/dist/components/ds-file-upload/components/file-upload/file-upload.d.cts.map +1 -0
  220. package/dist/components/ds-file-upload/components/file-upload/file-upload.d.ts +13 -0
  221. package/dist/components/ds-file-upload/components/file-upload/file-upload.d.ts.map +1 -0
  222. package/dist/components/ds-file-upload/components/file-upload/file-upload.js +216 -0
  223. package/dist/components/ds-file-upload/components/file-upload/file-upload.js.map +1 -0
  224. package/dist/components/ds-file-upload/components/file-upload/file-upload.module.cjs +15 -0
  225. package/dist/components/ds-file-upload/components/file-upload/file-upload.module.js +15 -0
  226. package/dist/components/ds-file-upload/components/file-upload/file-upload.module.js.map +1 -0
  227. package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.cts +98 -0
  228. package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.cts.map +1 -0
  229. package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.ts +98 -0
  230. package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.ts.map +1 -0
  231. package/dist/components/ds-file-upload/components/file-upload/index.cjs +1 -0
  232. package/dist/components/ds-file-upload/components/file-upload/index.d.ts +2 -0
  233. package/dist/components/ds-file-upload/components/file-upload/index.js +1 -0
  234. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.cjs +297 -0
  235. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js +296 -0
  236. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js.map +1 -0
  237. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.module.cjs +24 -0
  238. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.module.js +24 -0
  239. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.module.js.map +1 -0
  240. package/dist/components/ds-file-upload/components/file-upload-item/index.cjs +1 -0
  241. package/dist/components/ds-file-upload/components/file-upload-item/index.js +1 -0
  242. package/dist/components/ds-file-upload/ds-file-upload-api.types.d.cts +38 -0
  243. package/dist/components/ds-file-upload/ds-file-upload-api.types.d.cts.map +1 -0
  244. package/dist/components/ds-file-upload/ds-file-upload-api.types.d.ts +38 -0
  245. package/dist/components/ds-file-upload/ds-file-upload-api.types.d.ts.map +1 -0
  246. package/dist/components/ds-file-upload/ds-file-upload.cjs +117 -0
  247. package/dist/components/ds-file-upload/ds-file-upload.d.cts +12 -0
  248. package/dist/components/ds-file-upload/ds-file-upload.d.cts.map +1 -0
  249. package/dist/components/ds-file-upload/ds-file-upload.d.ts +12 -0
  250. package/dist/components/ds-file-upload/ds-file-upload.d.ts.map +1 -0
  251. package/dist/components/ds-file-upload/ds-file-upload.js +117 -0
  252. package/dist/components/ds-file-upload/ds-file-upload.js.map +1 -0
  253. package/dist/components/ds-file-upload/ds-file-upload.types.d.cts +36 -0
  254. package/dist/components/ds-file-upload/ds-file-upload.types.d.cts.map +1 -0
  255. package/dist/components/ds-file-upload/ds-file-upload.types.d.ts +37 -0
  256. package/dist/components/ds-file-upload/ds-file-upload.types.d.ts.map +1 -0
  257. package/dist/components/ds-file-upload/errors/file-upload-errors.cjs +30 -0
  258. package/dist/components/ds-file-upload/errors/file-upload-errors.d.cts +25 -0
  259. package/dist/components/ds-file-upload/errors/file-upload-errors.d.cts.map +1 -0
  260. package/dist/components/ds-file-upload/errors/file-upload-errors.d.ts +25 -0
  261. package/dist/components/ds-file-upload/errors/file-upload-errors.d.ts.map +1 -0
  262. package/dist/components/ds-file-upload/errors/file-upload-errors.js +28 -0
  263. package/dist/components/ds-file-upload/errors/file-upload-errors.js.map +1 -0
  264. package/dist/components/ds-file-upload/hooks/index.cjs +1 -0
  265. package/dist/components/ds-file-upload/hooks/index.d.ts +1 -0
  266. package/dist/components/ds-file-upload/hooks/index.js +1 -0
  267. package/dist/components/ds-file-upload/hooks/use-file-upload.cjs +201 -0
  268. package/dist/components/ds-file-upload/hooks/use-file-upload.d.cts +59 -0
  269. package/dist/components/ds-file-upload/hooks/use-file-upload.d.cts.map +1 -0
  270. package/dist/components/ds-file-upload/hooks/use-file-upload.d.ts +60 -0
  271. package/dist/components/ds-file-upload/hooks/use-file-upload.d.ts.map +1 -0
  272. package/dist/components/ds-file-upload/hooks/use-file-upload.js +201 -0
  273. package/dist/components/ds-file-upload/hooks/use-file-upload.js.map +1 -0
  274. package/dist/components/ds-file-upload/index.cjs +6 -0
  275. package/dist/components/ds-file-upload/index.d.ts +9 -0
  276. package/dist/components/ds-file-upload/index.js +6 -0
  277. package/dist/components/ds-file-upload/types/accept-types.cjs +117 -0
  278. package/dist/components/ds-file-upload/types/accept-types.d.cts +21 -0
  279. package/dist/components/ds-file-upload/types/accept-types.d.cts.map +1 -0
  280. package/dist/components/ds-file-upload/types/accept-types.d.ts +21 -0
  281. package/dist/components/ds-file-upload/types/accept-types.d.ts.map +1 -0
  282. package/dist/components/ds-file-upload/types/accept-types.js +117 -0
  283. package/dist/components/ds-file-upload/types/accept-types.js.map +1 -0
  284. package/dist/components/ds-file-upload/utils/accept-utils.cjs +26 -0
  285. package/dist/components/ds-file-upload/utils/accept-utils.js +26 -0
  286. package/dist/components/ds-file-upload/utils/accept-utils.js.map +1 -0
  287. package/dist/components/ds-file-upload/utils/constants.cjs +24 -0
  288. package/dist/components/ds-file-upload/utils/constants.js +22 -0
  289. package/dist/components/ds-file-upload/utils/constants.js.map +1 -0
  290. package/dist/components/ds-file-upload/utils/file-factory.cjs +20 -0
  291. package/dist/components/ds-file-upload/utils/file-factory.js +20 -0
  292. package/dist/components/ds-file-upload/utils/file-factory.js.map +1 -0
  293. package/dist/components/ds-file-upload/utils/format-file-size.cjs +22 -0
  294. package/dist/components/ds-file-upload/utils/format-file-size.js +22 -0
  295. package/dist/components/ds-file-upload/utils/format-file-size.js.map +1 -0
  296. package/dist/components/ds-file-upload/utils/generate-helper-text.cjs +21 -0
  297. package/dist/components/ds-file-upload/utils/generate-helper-text.js +22 -0
  298. package/dist/components/ds-file-upload/utils/generate-helper-text.js.map +1 -0
  299. package/dist/components/ds-file-upload/utils/get-error-message.cjs +19 -0
  300. package/dist/components/ds-file-upload/utils/get-error-message.js +19 -0
  301. package/dist/components/ds-file-upload/utils/get-error-message.js.map +1 -0
  302. package/dist/components/ds-file-upload/utils/is-file-equal.cjs +13 -0
  303. package/dist/components/ds-file-upload/utils/is-file-equal.js +13 -0
  304. package/dist/components/ds-file-upload/utils/is-file-equal.js.map +1 -0
  305. package/dist/components/ds-form-control/ds-form-control.cjs +179 -0
  306. package/dist/components/ds-form-control/ds-form-control.d.cts +33 -0
  307. package/dist/components/ds-form-control/ds-form-control.d.cts.map +1 -0
  308. package/dist/components/ds-form-control/ds-form-control.d.ts +38 -0
  309. package/dist/components/ds-form-control/ds-form-control.d.ts.map +1 -0
  310. package/dist/components/ds-form-control/ds-form-control.js +178 -0
  311. package/dist/components/ds-form-control/ds-form-control.js.map +1 -0
  312. package/dist/components/ds-form-control/ds-form-control.module.cjs +24 -0
  313. package/dist/components/ds-form-control/ds-form-control.module.js +24 -0
  314. package/dist/components/ds-form-control/ds-form-control.module.js.map +1 -0
  315. package/dist/components/ds-form-control/ds-form-control.types.cjs +11 -0
  316. package/dist/components/ds-form-control/ds-form-control.types.d.cts +59 -0
  317. package/dist/components/ds-form-control/ds-form-control.types.d.cts.map +1 -0
  318. package/dist/components/ds-form-control/ds-form-control.types.d.ts +60 -0
  319. package/dist/components/ds-form-control/ds-form-control.types.d.ts.map +1 -0
  320. package/dist/components/ds-form-control/ds-form-control.types.js +11 -0
  321. package/dist/components/ds-form-control/ds-form-control.types.js.map +1 -0
  322. package/dist/components/ds-form-control/index.cjs +2 -0
  323. package/dist/components/ds-form-control/index.d.ts +2 -0
  324. package/dist/components/ds-form-control/index.js +2 -0
  325. package/dist/components/ds-grid/ds-grid.cjs +36 -0
  326. package/dist/components/ds-grid/ds-grid.d.cts +16 -0
  327. package/dist/components/ds-grid/ds-grid.d.cts.map +1 -0
  328. package/dist/components/ds-grid/ds-grid.d.ts +16 -0
  329. package/dist/components/ds-grid/ds-grid.d.ts.map +1 -0
  330. package/dist/components/ds-grid/ds-grid.js +34 -0
  331. package/dist/components/ds-grid/ds-grid.js.map +1 -0
  332. package/dist/components/ds-grid/ds-grid.types.d.cts +50 -0
  333. package/dist/components/ds-grid/ds-grid.types.d.cts.map +1 -0
  334. package/dist/components/ds-grid/ds-grid.types.d.ts +50 -0
  335. package/dist/components/ds-grid/ds-grid.types.d.ts.map +1 -0
  336. package/dist/components/ds-grid/index.cjs +1 -0
  337. package/dist/components/ds-grid/index.d.ts +2 -0
  338. package/dist/components/ds-grid/index.js +1 -0
  339. package/dist/components/ds-icon/ds-icon.cjs +100 -0
  340. package/dist/components/ds-icon/ds-icon.d.cts +12 -0
  341. package/dist/components/ds-icon/ds-icon.d.cts.map +1 -0
  342. package/dist/components/ds-icon/ds-icon.d.ts +12 -0
  343. package/dist/components/ds-icon/ds-icon.d.ts.map +1 -0
  344. package/dist/components/ds-icon/ds-icon.js +99 -0
  345. package/dist/components/ds-icon/ds-icon.js.map +1 -0
  346. package/dist/components/ds-icon/ds-icon.module.cjs +14 -0
  347. package/dist/components/ds-icon/ds-icon.module.js +14 -0
  348. package/dist/components/ds-icon/ds-icon.module.js.map +1 -0
  349. package/dist/components/ds-icon/ds-icon.types.cjs +14 -0
  350. package/dist/components/ds-icon/ds-icon.types.d.cts +46 -0
  351. package/dist/components/ds-icon/ds-icon.types.d.cts.map +1 -0
  352. package/dist/components/ds-icon/ds-icon.types.d.ts +46 -0
  353. package/dist/components/ds-icon/ds-icon.types.d.ts.map +1 -0
  354. package/dist/components/ds-icon/ds-icon.types.js +13 -0
  355. package/dist/components/ds-icon/ds-icon.types.js.map +1 -0
  356. package/dist/components/ds-icon/index.cjs +2 -0
  357. package/dist/components/ds-icon/index.d.ts +2 -0
  358. package/dist/components/ds-icon/index.js +2 -0
  359. package/dist/components/ds-icon/material-icons.d.cts +6186 -0
  360. package/dist/components/ds-icon/material-icons.d.cts.map +1 -0
  361. package/dist/components/ds-icon/material-icons.d.ts +6186 -0
  362. package/dist/components/ds-icon/material-icons.d.ts.map +1 -0
  363. package/dist/components/ds-modal/ds-modal.cjs +252 -0
  364. package/dist/components/ds-modal/ds-modal.d.cts +79 -0
  365. package/dist/components/ds-modal/ds-modal.d.cts.map +1 -0
  366. package/dist/components/ds-modal/ds-modal.d.ts +79 -0
  367. package/dist/components/ds-modal/ds-modal.d.ts.map +1 -0
  368. package/dist/components/ds-modal/ds-modal.js +251 -0
  369. package/dist/components/ds-modal/ds-modal.js.map +1 -0
  370. package/dist/components/ds-modal/ds-modal.module.cjs +31 -0
  371. package/dist/components/ds-modal/ds-modal.module.js +31 -0
  372. package/dist/components/ds-modal/ds-modal.module.js.map +1 -0
  373. package/dist/components/ds-modal/ds-modal.types.d.cts +43 -0
  374. package/dist/components/ds-modal/ds-modal.types.d.cts.map +1 -0
  375. package/dist/components/ds-modal/ds-modal.types.d.ts +43 -0
  376. package/dist/components/ds-modal/ds-modal.types.d.ts.map +1 -0
  377. package/dist/components/ds-modal/index.cjs +1 -0
  378. package/dist/components/ds-modal/index.d.ts +2 -0
  379. package/dist/components/ds-modal/index.js +1 -0
  380. package/dist/components/ds-number-input/ds-number-input.cjs +158 -0
  381. package/dist/components/ds-number-input/ds-number-input.d.cts +8 -0
  382. package/dist/components/ds-number-input/ds-number-input.d.cts.map +1 -0
  383. package/dist/components/ds-number-input/ds-number-input.d.ts +8 -0
  384. package/dist/components/ds-number-input/ds-number-input.d.ts.map +1 -0
  385. package/dist/components/ds-number-input/ds-number-input.js +157 -0
  386. package/dist/components/ds-number-input/ds-number-input.js.map +1 -0
  387. package/dist/components/ds-number-input/ds-number-input.module.cjs +14 -0
  388. package/dist/components/ds-number-input/ds-number-input.module.js +14 -0
  389. package/dist/components/ds-number-input/ds-number-input.module.js.map +1 -0
  390. package/dist/components/ds-number-input/ds-number-input.types.d.cts +80 -0
  391. package/dist/components/ds-number-input/ds-number-input.types.d.cts.map +1 -0
  392. package/dist/components/ds-number-input/ds-number-input.types.d.ts +80 -0
  393. package/dist/components/ds-number-input/ds-number-input.types.d.ts.map +1 -0
  394. package/dist/components/ds-number-input/index.cjs +1 -0
  395. package/dist/components/ds-number-input/index.d.ts +2 -0
  396. package/dist/components/ds-number-input/index.js +1 -0
  397. package/dist/components/ds-panel/ds-panel.cjs +130 -0
  398. package/dist/components/ds-panel/ds-panel.d.cts +17 -0
  399. package/dist/components/ds-panel/ds-panel.d.cts.map +1 -0
  400. package/dist/components/ds-panel/ds-panel.d.ts +17 -0
  401. package/dist/components/ds-panel/ds-panel.d.ts.map +1 -0
  402. package/dist/components/ds-panel/ds-panel.js +128 -0
  403. package/dist/components/ds-panel/ds-panel.js.map +1 -0
  404. package/dist/components/ds-panel/ds-panel.module.cjs +13 -0
  405. package/dist/components/ds-panel/ds-panel.module.js +13 -0
  406. package/dist/components/ds-panel/ds-panel.module.js.map +1 -0
  407. package/dist/components/ds-panel/ds-panel.types.d.cts +19 -0
  408. package/dist/components/ds-panel/ds-panel.types.d.cts.map +1 -0
  409. package/dist/components/ds-panel/ds-panel.types.d.ts +19 -0
  410. package/dist/components/ds-panel/ds-panel.types.d.ts.map +1 -0
  411. package/dist/components/ds-panel/index.cjs +1 -0
  412. package/dist/components/ds-panel/index.d.ts +2 -0
  413. package/dist/components/ds-panel/index.js +1 -0
  414. package/dist/components/ds-password-input/ds-password-input.cjs +125 -0
  415. package/dist/components/ds-password-input/ds-password-input.d.cts +8 -0
  416. package/dist/components/ds-password-input/ds-password-input.d.cts.map +1 -0
  417. package/dist/components/ds-password-input/ds-password-input.d.ts +8 -0
  418. package/dist/components/ds-password-input/ds-password-input.d.ts.map +1 -0
  419. package/dist/components/ds-password-input/ds-password-input.js +124 -0
  420. package/dist/components/ds-password-input/ds-password-input.js.map +1 -0
  421. package/dist/components/ds-password-input/ds-password-input.module.cjs +14 -0
  422. package/dist/components/ds-password-input/ds-password-input.module.js +14 -0
  423. package/dist/components/ds-password-input/ds-password-input.module.js.map +1 -0
  424. package/dist/components/ds-password-input/ds-password-input.types.d.cts +66 -0
  425. package/dist/components/ds-password-input/ds-password-input.types.d.cts.map +1 -0
  426. package/dist/components/ds-password-input/ds-password-input.types.d.ts +66 -0
  427. package/dist/components/ds-password-input/ds-password-input.types.d.ts.map +1 -0
  428. package/dist/components/ds-password-input/index.cjs +1 -0
  429. package/dist/components/ds-password-input/index.d.ts +2 -0
  430. package/dist/components/ds-password-input/index.js +1 -0
  431. package/dist/components/ds-popover/ds-popover.cjs +64 -0
  432. package/dist/components/ds-popover/ds-popover.d.cts +8 -0
  433. package/dist/components/ds-popover/ds-popover.d.cts.map +1 -0
  434. package/dist/components/ds-popover/ds-popover.d.ts +8 -0
  435. package/dist/components/ds-popover/ds-popover.d.ts.map +1 -0
  436. package/dist/components/ds-popover/ds-popover.js +62 -0
  437. package/dist/components/ds-popover/ds-popover.js.map +1 -0
  438. package/dist/components/ds-popover/ds-popover.module.cjs +9 -0
  439. package/dist/components/ds-popover/ds-popover.module.js +9 -0
  440. package/dist/components/ds-popover/ds-popover.module.js.map +1 -0
  441. package/dist/components/ds-popover/ds-popover.types.d.cts +28 -0
  442. package/dist/components/ds-popover/ds-popover.types.d.cts.map +1 -0
  443. package/dist/components/ds-popover/ds-popover.types.d.ts +28 -0
  444. package/dist/components/ds-popover/ds-popover.types.d.ts.map +1 -0
  445. package/dist/components/ds-popover/index.cjs +1 -0
  446. package/dist/components/ds-popover/index.d.ts +2 -0
  447. package/dist/components/ds-popover/index.js +1 -0
  448. package/dist/components/ds-radio-group/ds-radio-group.cjs +255 -0
  449. package/dist/components/ds-radio-group/ds-radio-group.d.cts +27 -0
  450. package/dist/components/ds-radio-group/ds-radio-group.d.cts.map +1 -0
  451. package/dist/components/ds-radio-group/ds-radio-group.d.ts +27 -0
  452. package/dist/components/ds-radio-group/ds-radio-group.d.ts.map +1 -0
  453. package/dist/components/ds-radio-group/ds-radio-group.js +252 -0
  454. package/dist/components/ds-radio-group/ds-radio-group.js.map +1 -0
  455. package/dist/components/ds-radio-group/ds-radio-group.module.cjs +14 -0
  456. package/dist/components/ds-radio-group/ds-radio-group.module.js +14 -0
  457. package/dist/components/ds-radio-group/ds-radio-group.module.js.map +1 -0
  458. package/dist/components/ds-radio-group/ds-radio-group.types.cjs +1 -0
  459. package/dist/components/ds-radio-group/ds-radio-group.types.d.cts +87 -0
  460. package/dist/components/ds-radio-group/ds-radio-group.types.d.cts.map +1 -0
  461. package/dist/components/ds-radio-group/ds-radio-group.types.d.ts +87 -0
  462. package/dist/components/ds-radio-group/ds-radio-group.types.d.ts.map +1 -0
  463. package/dist/components/ds-radio-group/ds-radio-group.types.js +1 -0
  464. package/dist/components/ds-radio-group/index.cjs +2 -0
  465. package/dist/components/ds-radio-group/index.d.ts +2 -0
  466. package/dist/components/ds-radio-group/index.js +2 -0
  467. package/dist/components/ds-select/ds-select.cjs +276 -0
  468. package/dist/components/ds-select/ds-select.d.cts +21 -0
  469. package/dist/components/ds-select/ds-select.d.cts.map +1 -0
  470. package/dist/components/ds-select/ds-select.d.ts +21 -0
  471. package/dist/components/ds-select/ds-select.d.ts.map +1 -0
  472. package/dist/components/ds-select/ds-select.js +275 -0
  473. package/dist/components/ds-select/ds-select.js.map +1 -0
  474. package/dist/components/ds-select/ds-select.module.cjs +24 -0
  475. package/dist/components/ds-select/ds-select.module.js +24 -0
  476. package/dist/components/ds-select/ds-select.module.js.map +1 -0
  477. package/dist/components/ds-select/ds-select.types.d.cts +74 -0
  478. package/dist/components/ds-select/ds-select.types.d.cts.map +1 -0
  479. package/dist/components/ds-select/ds-select.types.d.ts +75 -0
  480. package/dist/components/ds-select/ds-select.types.d.ts.map +1 -0
  481. package/dist/components/ds-select/index.cjs +1 -0
  482. package/dist/components/ds-select/index.d.ts +2 -0
  483. package/dist/components/ds-select/index.js +1 -0
  484. package/dist/components/ds-select/select-items-chips.cjs +97 -0
  485. package/dist/components/ds-select/select-items-chips.js +97 -0
  486. package/dist/components/ds-select/select-items-chips.js.map +1 -0
  487. package/dist/components/ds-smart-tabs/ds-smart-tabs.cjs +252 -0
  488. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +22 -0
  489. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts.map +1 -0
  490. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +22 -0
  491. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -0
  492. package/dist/components/ds-smart-tabs/ds-smart-tabs.js +251 -0
  493. package/dist/components/ds-smart-tabs/ds-smart-tabs.js.map +1 -0
  494. package/dist/components/ds-smart-tabs/ds-smart-tabs.module.cjs +15 -0
  495. package/dist/components/ds-smart-tabs/ds-smart-tabs.module.js +15 -0
  496. package/dist/components/ds-smart-tabs/ds-smart-tabs.module.js.map +1 -0
  497. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.cjs +16 -0
  498. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.cts +65 -0
  499. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.cts.map +1 -0
  500. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.ts +65 -0
  501. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.ts.map +1 -0
  502. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js +16 -0
  503. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js.map +1 -0
  504. package/dist/components/ds-smart-tabs/index.cjs +2 -0
  505. package/dist/components/ds-smart-tabs/index.d.ts +2 -0
  506. package/dist/components/ds-smart-tabs/index.js +2 -0
  507. package/dist/components/ds-spinner/ds-spinner.cjs +122 -0
  508. package/dist/components/ds-spinner/ds-spinner.d.cts +12 -0
  509. package/dist/components/ds-spinner/ds-spinner.d.cts.map +1 -0
  510. package/dist/components/ds-spinner/ds-spinner.d.ts +12 -0
  511. package/dist/components/ds-spinner/ds-spinner.d.ts.map +1 -0
  512. package/dist/components/ds-spinner/ds-spinner.js +121 -0
  513. package/dist/components/ds-spinner/ds-spinner.js.map +1 -0
  514. package/dist/components/ds-spinner/ds-spinner.module.cjs +11 -0
  515. package/dist/components/ds-spinner/ds-spinner.module.js +11 -0
  516. package/dist/components/ds-spinner/ds-spinner.module.js.map +1 -0
  517. package/dist/components/ds-spinner/ds-spinner.types.cjs +10 -0
  518. package/dist/components/ds-spinner/ds-spinner.types.d.cts +23 -0
  519. package/dist/components/ds-spinner/ds-spinner.types.d.cts.map +1 -0
  520. package/dist/components/ds-spinner/ds-spinner.types.d.ts +23 -0
  521. package/dist/components/ds-spinner/ds-spinner.types.d.ts.map +1 -0
  522. package/dist/components/ds-spinner/ds-spinner.types.js +10 -0
  523. package/dist/components/ds-spinner/ds-spinner.types.js.map +1 -0
  524. package/dist/components/ds-spinner/index.cjs +2 -0
  525. package/dist/components/ds-spinner/index.d.ts +2 -0
  526. package/dist/components/ds-spinner/index.js +2 -0
  527. package/dist/components/ds-status-badge/ds-status-badge.cjs +79 -0
  528. package/dist/components/ds-status-badge/ds-status-badge.d.cts +12 -0
  529. package/dist/components/ds-status-badge/ds-status-badge.d.cts.map +1 -0
  530. package/dist/components/ds-status-badge/ds-status-badge.d.ts +12 -0
  531. package/dist/components/ds-status-badge/ds-status-badge.d.ts.map +1 -0
  532. package/dist/components/ds-status-badge/ds-status-badge.js +78 -0
  533. package/dist/components/ds-status-badge/ds-status-badge.js.map +1 -0
  534. package/dist/components/ds-status-badge/ds-status-badge.module.cjs +18 -0
  535. package/dist/components/ds-status-badge/ds-status-badge.module.js +18 -0
  536. package/dist/components/ds-status-badge/ds-status-badge.module.js.map +1 -0
  537. package/dist/components/ds-status-badge/ds-status-badge.types.d.cts +47 -0
  538. package/dist/components/ds-status-badge/ds-status-badge.types.d.cts.map +1 -0
  539. package/dist/components/ds-status-badge/ds-status-badge.types.d.ts +48 -0
  540. package/dist/components/ds-status-badge/ds-status-badge.types.d.ts.map +1 -0
  541. package/dist/components/ds-status-badge/index.cjs +1 -0
  542. package/dist/components/ds-status-badge/index.d.ts +2 -0
  543. package/dist/components/ds-status-badge/index.js +1 -0
  544. package/dist/components/ds-stepper/components/ds-step-content.cjs +74 -0
  545. package/dist/components/ds-stepper/components/ds-step-content.d.cts +19 -0
  546. package/dist/components/ds-stepper/components/ds-step-content.d.cts.map +1 -0
  547. package/dist/components/ds-stepper/components/ds-step-content.d.ts +19 -0
  548. package/dist/components/ds-stepper/components/ds-step-content.d.ts.map +1 -0
  549. package/dist/components/ds-stepper/components/ds-step-content.js +73 -0
  550. package/dist/components/ds-stepper/components/ds-step-content.js.map +1 -0
  551. package/dist/components/ds-stepper/components/ds-step-description.cjs +23 -0
  552. package/dist/components/ds-stepper/components/ds-step-description.js +23 -0
  553. package/dist/components/ds-stepper/components/ds-step-description.js.map +1 -0
  554. package/dist/components/ds-stepper/components/ds-step-label.cjs +23 -0
  555. package/dist/components/ds-stepper/components/ds-step-label.js +23 -0
  556. package/dist/components/ds-stepper/components/ds-step-label.js.map +1 -0
  557. package/dist/components/ds-stepper/components/ds-step-next-button.cjs +33 -0
  558. package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +10 -0
  559. package/dist/components/ds-stepper/components/ds-step-next-button.d.cts.map +1 -0
  560. package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +10 -0
  561. package/dist/components/ds-stepper/components/ds-step-next-button.d.ts.map +1 -0
  562. package/dist/components/ds-stepper/components/ds-step-next-button.js +33 -0
  563. package/dist/components/ds-stepper/components/ds-step-next-button.js.map +1 -0
  564. package/dist/components/ds-stepper/components/ds-step.cjs +126 -0
  565. package/dist/components/ds-stepper/components/ds-step.d.cts +16 -0
  566. package/dist/components/ds-stepper/components/ds-step.d.cts.map +1 -0
  567. package/dist/components/ds-stepper/components/ds-step.d.ts +16 -0
  568. package/dist/components/ds-stepper/components/ds-step.d.ts.map +1 -0
  569. package/dist/components/ds-stepper/components/ds-step.js +125 -0
  570. package/dist/components/ds-stepper/components/ds-step.js.map +1 -0
  571. package/dist/components/ds-stepper/ds-stepper.cjs +78 -0
  572. package/dist/components/ds-stepper/ds-stepper.d.cts +15 -0
  573. package/dist/components/ds-stepper/ds-stepper.d.cts.map +1 -0
  574. package/dist/components/ds-stepper/ds-stepper.d.ts +15 -0
  575. package/dist/components/ds-stepper/ds-stepper.d.ts.map +1 -0
  576. package/dist/components/ds-stepper/ds-stepper.js +77 -0
  577. package/dist/components/ds-stepper/ds-stepper.js.map +1 -0
  578. package/dist/components/ds-stepper/ds-stepper.module.cjs +18 -0
  579. package/dist/components/ds-stepper/ds-stepper.module.js +18 -0
  580. package/dist/components/ds-stepper/ds-stepper.module.js.map +1 -0
  581. package/dist/components/ds-stepper/ds-stepper.types.d.cts +13 -0
  582. package/dist/components/ds-stepper/ds-stepper.types.d.cts.map +1 -0
  583. package/dist/components/ds-stepper/ds-stepper.types.d.ts +13 -0
  584. package/dist/components/ds-stepper/ds-stepper.types.d.ts.map +1 -0
  585. package/dist/components/ds-stepper/hooks/use-stepper.cjs +14 -0
  586. package/dist/components/ds-stepper/hooks/use-stepper.js +13 -0
  587. package/dist/components/ds-stepper/hooks/use-stepper.js.map +1 -0
  588. package/dist/components/ds-stepper/hooks/use-steps.cjs +40 -0
  589. package/dist/components/ds-stepper/hooks/use-steps.js +39 -0
  590. package/dist/components/ds-stepper/hooks/use-steps.js.map +1 -0
  591. package/dist/components/ds-stepper/index.cjs +4 -0
  592. package/dist/components/ds-stepper/index.d.ts +5 -0
  593. package/dist/components/ds-stepper/index.js +4 -0
  594. package/dist/components/ds-system-status/ds-system-status.cjs +67 -0
  595. package/dist/components/ds-system-status/ds-system-status.d.cts +13 -0
  596. package/dist/components/ds-system-status/ds-system-status.d.cts.map +1 -0
  597. package/dist/components/ds-system-status/ds-system-status.d.ts +13 -0
  598. package/dist/components/ds-system-status/ds-system-status.d.ts.map +1 -0
  599. package/dist/components/ds-system-status/ds-system-status.js +66 -0
  600. package/dist/components/ds-system-status/ds-system-status.js.map +1 -0
  601. package/dist/components/ds-system-status/ds-system-status.module.cjs +17 -0
  602. package/dist/components/ds-system-status/ds-system-status.module.js +17 -0
  603. package/dist/components/ds-system-status/ds-system-status.module.js.map +1 -0
  604. package/dist/components/ds-system-status/ds-system-status.types.cjs +18 -0
  605. package/dist/components/ds-system-status/ds-system-status.types.d.cts +31 -0
  606. package/dist/components/ds-system-status/ds-system-status.types.d.cts.map +1 -0
  607. package/dist/components/ds-system-status/ds-system-status.types.d.ts +31 -0
  608. package/dist/components/ds-system-status/ds-system-status.types.d.ts.map +1 -0
  609. package/dist/components/ds-system-status/ds-system-status.types.js +18 -0
  610. package/dist/components/ds-system-status/ds-system-status.types.js.map +1 -0
  611. package/dist/components/ds-system-status/index.cjs +2 -0
  612. package/dist/components/ds-system-status/index.d.ts +2 -0
  613. package/dist/components/ds-system-status/index.js +2 -0
  614. package/dist/components/ds-table/components/core-table/core-table.cjs +312 -0
  615. package/dist/components/ds-table/components/core-table/core-table.js +306 -0
  616. package/dist/components/ds-table/components/core-table/core-table.js.map +1 -0
  617. package/dist/components/ds-table/components/core-table/core-table.module.cjs +12 -0
  618. package/dist/components/ds-table/components/core-table/core-table.module.js +12 -0
  619. package/dist/components/ds-table/components/core-table/core-table.module.js.map +1 -0
  620. package/dist/components/ds-table/components/core-table/index.cjs +1 -0
  621. package/dist/components/ds-table/components/core-table/index.js +1 -0
  622. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.cjs +161 -0
  623. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js +160 -0
  624. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js.map +1 -0
  625. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.cjs +20 -0
  626. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.js +20 -0
  627. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.js.map +1 -0
  628. package/dist/components/ds-table/components/ds-table-bulk-actions/index.cjs +1 -0
  629. package/dist/components/ds-table/components/ds-table-bulk-actions/index.js +1 -0
  630. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.cjs +175 -0
  631. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.d.ts +2 -0
  632. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js +174 -0
  633. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js.map +1 -0
  634. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.module.cjs +13 -0
  635. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.module.js +13 -0
  636. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.module.js.map +1 -0
  637. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.cts +41 -0
  638. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.cts.map +1 -0
  639. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts +42 -0
  640. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts.map +1 -0
  641. package/dist/components/ds-table/components/ds-table-cell/index.cjs +1 -0
  642. package/dist/components/ds-table/components/ds-table-cell/index.d.ts +2 -0
  643. package/dist/components/ds-table/components/ds-table-cell/index.js +1 -0
  644. package/dist/components/ds-table/components/ds-table-header/ds-table-header.cjs +104 -0
  645. package/dist/components/ds-table/components/ds-table-header/ds-table-header.js +103 -0
  646. package/dist/components/ds-table/components/ds-table-header/ds-table-header.js.map +1 -0
  647. package/dist/components/ds-table/components/ds-table-header/ds-table-header.module.cjs +20 -0
  648. package/dist/components/ds-table/components/ds-table-header/ds-table-header.module.js +20 -0
  649. package/dist/components/ds-table/components/ds-table-header/ds-table-header.module.js.map +1 -0
  650. package/dist/components/ds-table/components/ds-table-header/index.cjs +1 -0
  651. package/dist/components/ds-table/components/ds-table-header/index.js +1 -0
  652. package/dist/components/ds-table/components/ds-table-row/ds-table-row.cjs +312 -0
  653. package/dist/components/ds-table/components/ds-table-row/ds-table-row.js +310 -0
  654. package/dist/components/ds-table/components/ds-table-row/ds-table-row.js.map +1 -0
  655. package/dist/components/ds-table/components/ds-table-row/ds-table-row.module.cjs +23 -0
  656. package/dist/components/ds-table/components/ds-table-row/ds-table-row.module.js +23 -0
  657. package/dist/components/ds-table/components/ds-table-row/ds-table-row.module.js.map +1 -0
  658. package/dist/components/ds-table/components/ds-table-row/index.cjs +1 -0
  659. package/dist/components/ds-table/components/ds-table-row/index.js +1 -0
  660. package/dist/components/ds-table/context/ds-table-context.cjs +14 -0
  661. package/dist/components/ds-table/context/ds-table-context.js +13 -0
  662. package/dist/components/ds-table/context/ds-table-context.js.map +1 -0
  663. package/dist/components/ds-table/ds-table.cjs +200 -0
  664. package/dist/components/ds-table/ds-table.d.cts +45 -0
  665. package/dist/components/ds-table/ds-table.d.cts.map +1 -0
  666. package/dist/components/ds-table/ds-table.d.ts +45 -0
  667. package/dist/components/ds-table/ds-table.d.ts.map +1 -0
  668. package/dist/components/ds-table/ds-table.js +199 -0
  669. package/dist/components/ds-table/ds-table.js.map +1 -0
  670. package/dist/components/ds-table/ds-table.module.cjs +25 -0
  671. package/dist/components/ds-table/ds-table.module.js +25 -0
  672. package/dist/components/ds-table/ds-table.module.js.map +1 -0
  673. package/dist/components/ds-table/ds-table.types.d.cts +332 -0
  674. package/dist/components/ds-table/ds-table.types.d.cts.map +1 -0
  675. package/dist/components/ds-table/ds-table.types.d.ts +333 -0
  676. package/dist/components/ds-table/ds-table.types.d.ts.map +1 -0
  677. package/dist/components/ds-table/hooks/use-drag-and-drop.cjs +142 -0
  678. package/dist/components/ds-table/hooks/use-drag-and-drop.js +141 -0
  679. package/dist/components/ds-table/hooks/use-drag-and-drop.js.map +1 -0
  680. package/dist/components/ds-table/index.cjs +1 -0
  681. package/dist/components/ds-table/index.d.ts +4 -0
  682. package/dist/components/ds-table/index.js +1 -0
  683. package/dist/components/ds-table/styles/shared/ds-table-shared.module.cjs +17 -0
  684. package/dist/components/ds-table/styles/shared/ds-table-shared.module.js +17 -0
  685. package/dist/components/ds-table/styles/shared/ds-table-shared.module.js.map +1 -0
  686. package/dist/components/ds-table/utils/column-styling.cjs +23 -0
  687. package/dist/components/ds-table/utils/column-styling.js +23 -0
  688. package/dist/components/ds-table/utils/column-styling.js.map +1 -0
  689. package/dist/components/ds-table/utils/create-columns-grid-template.cjs +11 -0
  690. package/dist/components/ds-table/utils/create-columns-grid-template.js +11 -0
  691. package/dist/components/ds-table/utils/create-columns-grid-template.js.map +1 -0
  692. package/dist/components/ds-table/utils/merge-refs.cjs +13 -0
  693. package/dist/components/ds-table/utils/merge-refs.js +13 -0
  694. package/dist/components/ds-table/utils/merge-refs.js.map +1 -0
  695. package/dist/components/ds-text-input/ds-text-input.cjs +142 -0
  696. package/dist/components/ds-text-input/ds-text-input.d.cts +8 -0
  697. package/dist/components/ds-text-input/ds-text-input.d.cts.map +1 -0
  698. package/dist/components/ds-text-input/ds-text-input.d.ts +8 -0
  699. package/dist/components/ds-text-input/ds-text-input.d.ts.map +1 -0
  700. package/dist/components/ds-text-input/ds-text-input.js +141 -0
  701. package/dist/components/ds-text-input/ds-text-input.js.map +1 -0
  702. package/dist/components/ds-text-input/ds-text-input.module.cjs +15 -0
  703. package/dist/components/ds-text-input/ds-text-input.module.js +15 -0
  704. package/dist/components/ds-text-input/ds-text-input.module.js.map +1 -0
  705. package/dist/components/ds-text-input/ds-text-input.types.cjs +6 -0
  706. package/dist/components/ds-text-input/ds-text-input.types.d.cts +111 -0
  707. package/dist/components/ds-text-input/ds-text-input.types.d.cts.map +1 -0
  708. package/dist/components/ds-text-input/ds-text-input.types.d.ts +111 -0
  709. package/dist/components/ds-text-input/ds-text-input.types.d.ts.map +1 -0
  710. package/dist/components/ds-text-input/ds-text-input.types.js +6 -0
  711. package/dist/components/ds-text-input/ds-text-input.types.js.map +1 -0
  712. package/dist/components/ds-text-input/index.cjs +2 -0
  713. package/dist/components/ds-text-input/index.d.ts +2 -0
  714. package/dist/components/ds-text-input/index.js +2 -0
  715. package/dist/components/ds-textarea/ds-textarea.cjs +78 -0
  716. package/dist/components/ds-textarea/ds-textarea.d.cts +8 -0
  717. package/dist/components/ds-textarea/ds-textarea.d.cts.map +1 -0
  718. package/dist/components/ds-textarea/ds-textarea.d.ts +8 -0
  719. package/dist/components/ds-textarea/ds-textarea.d.ts.map +1 -0
  720. package/dist/components/ds-textarea/ds-textarea.js +77 -0
  721. package/dist/components/ds-textarea/ds-textarea.js.map +1 -0
  722. package/dist/components/ds-textarea/ds-textarea.module.cjs +6 -0
  723. package/dist/components/ds-textarea/ds-textarea.module.js +6 -0
  724. package/dist/components/ds-textarea/ds-textarea.module.js.map +1 -0
  725. package/dist/components/ds-textarea/ds-textarea.types.d.cts +71 -0
  726. package/dist/components/ds-textarea/ds-textarea.types.d.cts.map +1 -0
  727. package/dist/components/ds-textarea/ds-textarea.types.d.ts +71 -0
  728. package/dist/components/ds-textarea/ds-textarea.types.d.ts.map +1 -0
  729. package/dist/components/ds-textarea/index.cjs +1 -0
  730. package/dist/components/ds-textarea/index.d.ts +2 -0
  731. package/dist/components/ds-textarea/index.js +1 -0
  732. package/dist/components/ds-toast/ds-toast-context.cjs +85 -0
  733. package/dist/components/ds-toast/ds-toast-context.d.cts +42 -0
  734. package/dist/components/ds-toast/ds-toast-context.d.cts.map +1 -0
  735. package/dist/components/ds-toast/ds-toast-context.d.ts +42 -0
  736. package/dist/components/ds-toast/ds-toast-context.d.ts.map +1 -0
  737. package/dist/components/ds-toast/ds-toast-context.js +84 -0
  738. package/dist/components/ds-toast/ds-toast-context.js.map +1 -0
  739. package/dist/components/ds-toast/ds-toast.cjs +129 -0
  740. package/dist/components/ds-toast/ds-toast.js +129 -0
  741. package/dist/components/ds-toast/ds-toast.js.map +1 -0
  742. package/dist/components/ds-toast/ds-toast.module.cjs +11 -0
  743. package/dist/components/ds-toast/ds-toast.module.js +11 -0
  744. package/dist/components/ds-toast/ds-toast.module.js.map +1 -0
  745. package/dist/components/ds-toast/ds-toast.types.d.cts +53 -0
  746. package/dist/components/ds-toast/ds-toast.types.d.cts.map +1 -0
  747. package/dist/components/ds-toast/ds-toast.types.d.ts +53 -0
  748. package/dist/components/ds-toast/ds-toast.types.d.ts.map +1 -0
  749. package/dist/components/ds-toast/index.cjs +1 -0
  750. package/dist/components/ds-toast/index.d.ts +2 -0
  751. package/dist/components/ds-toast/index.js +1 -0
  752. package/dist/components/ds-tooltip/ds-tooltip.cjs +74 -0
  753. package/dist/components/ds-tooltip/ds-tooltip.d.cts +8 -0
  754. package/dist/components/ds-tooltip/ds-tooltip.d.cts.map +1 -0
  755. package/dist/components/ds-tooltip/ds-tooltip.d.ts +8 -0
  756. package/dist/components/ds-tooltip/ds-tooltip.d.ts.map +1 -0
  757. package/dist/components/ds-tooltip/ds-tooltip.js +72 -0
  758. package/dist/components/ds-tooltip/ds-tooltip.js.map +1 -0
  759. package/dist/components/ds-tooltip/ds-tooltip.module.cjs +10 -0
  760. package/dist/components/ds-tooltip/ds-tooltip.module.js +10 -0
  761. package/dist/components/ds-tooltip/ds-tooltip.module.js.map +1 -0
  762. package/dist/components/ds-tooltip/ds-tooltip.types.d.cts +16 -0
  763. package/dist/components/ds-tooltip/ds-tooltip.types.d.cts.map +1 -0
  764. package/dist/components/ds-tooltip/ds-tooltip.types.d.ts +16 -0
  765. package/dist/components/ds-tooltip/ds-tooltip.types.d.ts.map +1 -0
  766. package/dist/components/ds-tooltip/index.cjs +1 -0
  767. package/dist/components/ds-tooltip/index.d.ts +2 -0
  768. package/dist/components/ds-tooltip/index.js +1 -0
  769. package/dist/components/ds-typography/ds-typography.cjs +65 -0
  770. package/dist/components/ds-typography/ds-typography.config.cjs +30 -0
  771. package/dist/components/ds-typography/ds-typography.config.d.cts +29 -0
  772. package/dist/components/ds-typography/ds-typography.config.d.cts.map +1 -0
  773. package/dist/components/ds-typography/ds-typography.config.d.ts +29 -0
  774. package/dist/components/ds-typography/ds-typography.config.d.ts.map +1 -0
  775. package/dist/components/ds-typography/ds-typography.config.js +30 -0
  776. package/dist/components/ds-typography/ds-typography.config.js.map +1 -0
  777. package/dist/components/ds-typography/ds-typography.d.cts +10 -0
  778. package/dist/components/ds-typography/ds-typography.d.cts.map +1 -0
  779. package/dist/components/ds-typography/ds-typography.d.ts +10 -0
  780. package/dist/components/ds-typography/ds-typography.d.ts.map +1 -0
  781. package/dist/components/ds-typography/ds-typography.js +64 -0
  782. package/dist/components/ds-typography/ds-typography.js.map +1 -0
  783. package/dist/components/ds-typography/ds-typography.module.cjs +30 -0
  784. package/dist/components/ds-typography/ds-typography.module.js +30 -0
  785. package/dist/components/ds-typography/ds-typography.module.js.map +1 -0
  786. package/dist/components/ds-typography/ds-typography.types.d.cts +30 -0
  787. package/dist/components/ds-typography/ds-typography.types.d.cts.map +1 -0
  788. package/dist/components/ds-typography/ds-typography.types.d.ts +30 -0
  789. package/dist/components/ds-typography/ds-typography.types.d.ts.map +1 -0
  790. package/dist/components/ds-typography/index.cjs +1 -0
  791. package/dist/components/ds-typography/index.d.ts +2 -0
  792. package/dist/components/ds-typography/index.js +1 -0
  793. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.cjs +137 -0
  794. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +50 -0
  795. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts.map +1 -0
  796. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +50 -0
  797. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts.map +1 -0
  798. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js +136 -0
  799. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js.map +1 -0
  800. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.module.cjs +10 -0
  801. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.module.js +10 -0
  802. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.module.js.map +1 -0
  803. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.cts +70 -0
  804. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.cts.map +1 -0
  805. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts +70 -0
  806. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts.map +1 -0
  807. package/dist/components/ds-vertical-tabs/index.cjs +1 -0
  808. package/dist/components/ds-vertical-tabs/index.d.ts +2 -0
  809. package/dist/components/ds-vertical-tabs/index.js +1 -0
  810. package/dist/index.cjs +136 -5394
  811. package/dist/index.d.cts +78 -9157
  812. package/dist/index.d.ts +112 -9157
  813. package/dist/index.js +83 -5335
  814. package/dist/index.min.css +1 -0
  815. package/package.json +10 -3
  816. package/src/components/ds-drawer/ds-drawer.module.scss +2 -2
  817. package/src/styles/_grid-variables.scss +13 -0
  818. package/src/styles/_grid.scss +17 -29
  819. package/dist/index.css +0 -1
  820. package/dist/index.d.cts.map +0 -1
  821. package/dist/index.d.ts.map +0 -1
  822. package/dist/index.js.map +0 -1
@@ -0,0 +1,179 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_ds_icon = require('../ds-icon/ds-icon.cjs');
3
+ require('../ds-icon/index.cjs');
4
+ const require_ds_text_input = require('../ds-text-input/ds-text-input.cjs');
5
+ require('../ds-text-input/index.cjs');
6
+ const require_ds_select = require('../ds-select/ds-select.cjs');
7
+ require('../ds-select/index.cjs');
8
+ const require_ds_textarea = require('../ds-textarea/ds-textarea.cjs');
9
+ require('../ds-textarea/index.cjs');
10
+ const require_ds_number_input = require('../ds-number-input/ds-number-input.cjs');
11
+ require('../ds-number-input/index.cjs');
12
+ const require_ds_password_input = require('../ds-password-input/ds-password-input.cjs');
13
+ require('../ds-password-input/index.cjs');
14
+ const require_ds_form_control_module = require('./ds-form-control.module.cjs');
15
+ let react_compiler_runtime = require("react/compiler-runtime");
16
+ let classnames = require("classnames");
17
+ classnames = require_rolldown_runtime.__toESM(classnames);
18
+ let react_jsx_runtime = require("react/jsx-runtime");
19
+ let react = require("react");
20
+
21
+ //#region src/components/ds-form-control/ds-form-control.tsx
22
+ const FormControlContext = (0, react.createContext)(null);
23
+ const useFormControlContext = () => {
24
+ const context = (0, react.useContext)(FormControlContext);
25
+ if (!context) throw new Error("useFormControlContext must be used within DsFormControl");
26
+ return context;
27
+ };
28
+ /**
29
+ * HOC that automatically injects the controlId from form control context
30
+ * into any component that expects an 'id' prop.
31
+ *
32
+ * @param Component - The component to wrap with form control context
33
+ * @returns A new component that automatically receives the controlId
34
+ */
35
+ const controlify = (Component) => {
36
+ return function WrappedFormControl(props) {
37
+ const { controlId } = useFormControlContext();
38
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, {
39
+ id: controlId,
40
+ ...props
41
+ });
42
+ };
43
+ };
44
+ const DsFormControlDescription = (t0) => {
45
+ const $ = (0, react_compiler_runtime.c)(5);
46
+ const { children, className } = t0;
47
+ let t1;
48
+ if ($[0] !== className) {
49
+ t1 = (0, classnames.default)(require_ds_form_control_module.default.description, className);
50
+ $[0] = className;
51
+ $[1] = t1;
52
+ } else t1 = $[1];
53
+ let t2;
54
+ if ($[2] !== children || $[3] !== t1) {
55
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
56
+ className: t1,
57
+ children
58
+ });
59
+ $[2] = children;
60
+ $[3] = t1;
61
+ $[4] = t2;
62
+ } else t2 = $[4];
63
+ return t2;
64
+ };
65
+ const DsFormControl = (t0) => {
66
+ const $ = (0, react_compiler_runtime.c)(28);
67
+ const { id, status, label, required: t1, slots, message, messageIcon: t2, className, style, children } = t0;
68
+ const required = t1 === void 0 ? false : t1;
69
+ const messageIcon = t2 === void 0 ? "info" : t2;
70
+ const generatedId = (0, react.useId)();
71
+ const controlId = id || generatedId;
72
+ let t3;
73
+ if ($[0] !== controlId) {
74
+ t3 = { controlId };
75
+ $[0] = controlId;
76
+ $[1] = t3;
77
+ } else t3 = $[1];
78
+ const t4 = status && message && require_ds_form_control_module.default[status];
79
+ let t5;
80
+ if ($[2] !== className || $[3] !== t4) {
81
+ t5 = (0, classnames.default)(require_ds_form_control_module.default.container, t4, className);
82
+ $[2] = className;
83
+ $[3] = t4;
84
+ $[4] = t5;
85
+ } else t5 = $[4];
86
+ let t6;
87
+ if ($[5] !== required) {
88
+ t6 = (0, classnames.default)(require_ds_form_control_module.default.label, { [require_ds_form_control_module.default.required]: required });
89
+ $[5] = required;
90
+ $[6] = t6;
91
+ } else t6 = $[6];
92
+ let t7;
93
+ if ($[7] !== controlId || $[8] !== label || $[9] !== t6) {
94
+ t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
95
+ htmlFor: controlId,
96
+ className: t6,
97
+ children: label
98
+ });
99
+ $[7] = controlId;
100
+ $[8] = label;
101
+ $[9] = t6;
102
+ $[10] = t7;
103
+ } else t7 = $[10];
104
+ let t8;
105
+ if ($[11] !== slots) {
106
+ t8 = slots?.endAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
107
+ className: require_ds_form_control_module.default.endAdornment,
108
+ children: slots.endAdornment
109
+ });
110
+ $[11] = slots;
111
+ $[12] = t8;
112
+ } else t8 = $[12];
113
+ let t9;
114
+ if ($[13] !== t7 || $[14] !== t8) {
115
+ t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
116
+ className: require_ds_form_control_module.default.labelContainer,
117
+ children: [t7, t8]
118
+ });
119
+ $[13] = t7;
120
+ $[14] = t8;
121
+ $[15] = t9;
122
+ } else t9 = $[15];
123
+ let t10;
124
+ if ($[16] !== message || $[17] !== messageIcon) {
125
+ t10 = message && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
126
+ className: require_ds_form_control_module.default.message,
127
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
128
+ icon: messageIcon,
129
+ size: "tiny",
130
+ filled: true
131
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
132
+ className: require_ds_form_control_module.default.messageText,
133
+ children: message
134
+ })]
135
+ });
136
+ $[16] = message;
137
+ $[17] = messageIcon;
138
+ $[18] = t10;
139
+ } else t10 = $[18];
140
+ let t11;
141
+ if ($[19] !== children || $[20] !== style || $[21] !== t10 || $[22] !== t5 || $[23] !== t9) {
142
+ t11 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
143
+ className: t5,
144
+ style,
145
+ children: [
146
+ t9,
147
+ children,
148
+ t10
149
+ ]
150
+ });
151
+ $[19] = children;
152
+ $[20] = style;
153
+ $[21] = t10;
154
+ $[22] = t5;
155
+ $[23] = t9;
156
+ $[24] = t11;
157
+ } else t11 = $[24];
158
+ let t12;
159
+ if ($[25] !== t11 || $[26] !== t3) {
160
+ t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FormControlContext.Provider, {
161
+ value: t3,
162
+ children: t11
163
+ });
164
+ $[25] = t11;
165
+ $[26] = t3;
166
+ $[27] = t12;
167
+ } else t12 = $[27];
168
+ return t12;
169
+ };
170
+ DsFormControl.TextInput = controlify(require_ds_text_input.default);
171
+ DsFormControl.NumberInput = controlify(require_ds_number_input.default);
172
+ DsFormControl.PasswordInput = controlify(require_ds_password_input.default);
173
+ DsFormControl.Textarea = controlify(require_ds_textarea.default);
174
+ DsFormControl.Select = controlify(require_ds_select.default);
175
+ DsFormControl.Description = DsFormControlDescription;
176
+ var ds_form_control_default = DsFormControl;
177
+
178
+ //#endregion
179
+ exports.default = ds_form_control_default;
@@ -0,0 +1,33 @@
1
+ import { DsTextInputProps } from "../ds-text-input/ds-text-input.types.cjs";
2
+ import { DsNumberInputProps } from "../ds-number-input/ds-number-input.types.cjs";
3
+ import { DsPasswordInputProps } from "../ds-password-input/ds-password-input.types.cjs";
4
+ import { DsTextareaProps } from "../ds-textarea/ds-textarea.types.cjs";
5
+ import { DsSelectProps } from "../ds-select/ds-select.types.cjs";
6
+ import { DsFormControlDescriptionProps, DsFormControlProps } from "./ds-form-control.types.cjs";
7
+ import * as react_jsx_runtime20 from "react/jsx-runtime";
8
+ import React from "react";
9
+
10
+ //#region src/components/ds-form-control/ds-form-control.d.ts
11
+ declare const DsFormControl: {
12
+ ({
13
+ id,
14
+ status,
15
+ label,
16
+ required,
17
+ slots,
18
+ message,
19
+ messageIcon,
20
+ className,
21
+ style,
22
+ children
23
+ }: DsFormControlProps): react_jsx_runtime20.JSX.Element;
24
+ TextInput: (props: DsTextInputProps) => react_jsx_runtime20.JSX.Element;
25
+ NumberInput: (props: DsNumberInputProps) => react_jsx_runtime20.JSX.Element;
26
+ PasswordInput: (props: DsPasswordInputProps) => react_jsx_runtime20.JSX.Element;
27
+ Textarea: (props: DsTextareaProps) => react_jsx_runtime20.JSX.Element;
28
+ Select: (props: DsSelectProps) => react_jsx_runtime20.JSX.Element;
29
+ Description: React.FC<DsFormControlDescriptionProps>;
30
+ };
31
+ //#endregion
32
+ export { DsFormControl };
33
+ //# sourceMappingURL=ds-form-control.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.d.cts","names":[],"sources":["../../../src/components/ds-form-control/ds-form-control.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;cAwCM;;;;;;;;;;;;KAWH,qBAAkB,mBAAA,CAAA,GAAA,CAAA;qBAAA;;;;;;AA1C4E,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { DsTextInputProps } from "../ds-text-input/ds-text-input.types.js";
2
+ import "../ds-text-input/index.js";
3
+ import { DsNumberInputProps } from "../ds-number-input/ds-number-input.types.js";
4
+ import "../ds-number-input/index.js";
5
+ import { DsPasswordInputProps } from "../ds-password-input/ds-password-input.types.js";
6
+ import "../ds-password-input/index.js";
7
+ import { DsTextareaProps } from "../ds-textarea/ds-textarea.types.js";
8
+ import "../ds-textarea/index.js";
9
+ import { DsSelectProps } from "../ds-select/ds-select.types.js";
10
+ import "../ds-select/index.js";
11
+ import { DsFormControlDescriptionProps, DsFormControlProps } from "./ds-form-control.types.js";
12
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
13
+ import React from "react";
14
+
15
+ //#region src/components/ds-form-control/ds-form-control.d.ts
16
+ declare const DsFormControl: {
17
+ ({
18
+ id,
19
+ status,
20
+ label,
21
+ required,
22
+ slots,
23
+ message,
24
+ messageIcon,
25
+ className,
26
+ style,
27
+ children
28
+ }: DsFormControlProps): react_jsx_runtime4.JSX.Element;
29
+ TextInput: (props: DsTextInputProps) => react_jsx_runtime4.JSX.Element;
30
+ NumberInput: (props: DsNumberInputProps) => react_jsx_runtime4.JSX.Element;
31
+ PasswordInput: (props: DsPasswordInputProps) => react_jsx_runtime4.JSX.Element;
32
+ Textarea: (props: DsTextareaProps) => react_jsx_runtime4.JSX.Element;
33
+ Select: (props: DsSelectProps) => react_jsx_runtime4.JSX.Element;
34
+ Description: React.FC<DsFormControlDescriptionProps>;
35
+ };
36
+ //#endregion
37
+ export { DsFormControl };
38
+ //# sourceMappingURL=ds-form-control.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.d.ts","names":[],"sources":["../../../src/components/ds-form-control/ds-form-control.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;cAwCM;;;;;;;;;;;;KAWH,qBAAkB,kBAAA,CAAA,GAAA,CAAA;qBAAA"}
@@ -0,0 +1,178 @@
1
+ import ds_icon_default from "../ds-icon/ds-icon.js";
2
+ import "../ds-icon/index.js";
3
+ import ds_text_input_default from "../ds-text-input/ds-text-input.js";
4
+ import "../ds-text-input/index.js";
5
+ import ds_select_default from "../ds-select/ds-select.js";
6
+ import "../ds-select/index.js";
7
+ import ds_textarea_default from "../ds-textarea/ds-textarea.js";
8
+ import "../ds-textarea/index.js";
9
+ import ds_number_input_default from "../ds-number-input/ds-number-input.js";
10
+ import "../ds-number-input/index.js";
11
+ import ds_password_input_default from "../ds-password-input/ds-password-input.js";
12
+ import "../ds-password-input/index.js";
13
+ import ds_form_control_module_default from "./ds-form-control.module.js";
14
+ import { c } from "react/compiler-runtime";
15
+ import classNames from "classnames";
16
+ import { jsx, jsxs } from "react/jsx-runtime";
17
+ import { createContext, useContext, useId } from "react";
18
+
19
+ //#region src/components/ds-form-control/ds-form-control.tsx
20
+ const FormControlContext = createContext(null);
21
+ const useFormControlContext = () => {
22
+ const context = useContext(FormControlContext);
23
+ if (!context) throw new Error("useFormControlContext must be used within DsFormControl");
24
+ return context;
25
+ };
26
+ /**
27
+ * HOC that automatically injects the controlId from form control context
28
+ * into any component that expects an 'id' prop.
29
+ *
30
+ * @param Component - The component to wrap with form control context
31
+ * @returns A new component that automatically receives the controlId
32
+ */
33
+ const controlify = (Component) => {
34
+ return function WrappedFormControl(props) {
35
+ const { controlId } = useFormControlContext();
36
+ return /* @__PURE__ */ jsx(Component, {
37
+ id: controlId,
38
+ ...props
39
+ });
40
+ };
41
+ };
42
+ const DsFormControlDescription = (t0) => {
43
+ const $ = c(5);
44
+ const { children, className } = t0;
45
+ let t1;
46
+ if ($[0] !== className) {
47
+ t1 = classNames(ds_form_control_module_default.description, className);
48
+ $[0] = className;
49
+ $[1] = t1;
50
+ } else t1 = $[1];
51
+ let t2;
52
+ if ($[2] !== children || $[3] !== t1) {
53
+ t2 = /* @__PURE__ */ jsx("div", {
54
+ className: t1,
55
+ children
56
+ });
57
+ $[2] = children;
58
+ $[3] = t1;
59
+ $[4] = t2;
60
+ } else t2 = $[4];
61
+ return t2;
62
+ };
63
+ const DsFormControl = (t0) => {
64
+ const $ = c(28);
65
+ const { id, status, label, required: t1, slots, message, messageIcon: t2, className, style, children } = t0;
66
+ const required = t1 === void 0 ? false : t1;
67
+ const messageIcon = t2 === void 0 ? "info" : t2;
68
+ const generatedId = useId();
69
+ const controlId = id || generatedId;
70
+ let t3;
71
+ if ($[0] !== controlId) {
72
+ t3 = { controlId };
73
+ $[0] = controlId;
74
+ $[1] = t3;
75
+ } else t3 = $[1];
76
+ const t4 = status && message && ds_form_control_module_default[status];
77
+ let t5;
78
+ if ($[2] !== className || $[3] !== t4) {
79
+ t5 = classNames(ds_form_control_module_default.container, t4, className);
80
+ $[2] = className;
81
+ $[3] = t4;
82
+ $[4] = t5;
83
+ } else t5 = $[4];
84
+ let t6;
85
+ if ($[5] !== required) {
86
+ t6 = classNames(ds_form_control_module_default.label, { [ds_form_control_module_default.required]: required });
87
+ $[5] = required;
88
+ $[6] = t6;
89
+ } else t6 = $[6];
90
+ let t7;
91
+ if ($[7] !== controlId || $[8] !== label || $[9] !== t6) {
92
+ t7 = /* @__PURE__ */ jsx("label", {
93
+ htmlFor: controlId,
94
+ className: t6,
95
+ children: label
96
+ });
97
+ $[7] = controlId;
98
+ $[8] = label;
99
+ $[9] = t6;
100
+ $[10] = t7;
101
+ } else t7 = $[10];
102
+ let t8;
103
+ if ($[11] !== slots) {
104
+ t8 = slots?.endAdornment && /* @__PURE__ */ jsx("div", {
105
+ className: ds_form_control_module_default.endAdornment,
106
+ children: slots.endAdornment
107
+ });
108
+ $[11] = slots;
109
+ $[12] = t8;
110
+ } else t8 = $[12];
111
+ let t9;
112
+ if ($[13] !== t7 || $[14] !== t8) {
113
+ t9 = /* @__PURE__ */ jsxs("div", {
114
+ className: ds_form_control_module_default.labelContainer,
115
+ children: [t7, t8]
116
+ });
117
+ $[13] = t7;
118
+ $[14] = t8;
119
+ $[15] = t9;
120
+ } else t9 = $[15];
121
+ let t10;
122
+ if ($[16] !== message || $[17] !== messageIcon) {
123
+ t10 = message && /* @__PURE__ */ jsxs("div", {
124
+ className: ds_form_control_module_default.message,
125
+ children: [/* @__PURE__ */ jsx(ds_icon_default, {
126
+ icon: messageIcon,
127
+ size: "tiny",
128
+ filled: true
129
+ }), /* @__PURE__ */ jsx("span", {
130
+ className: ds_form_control_module_default.messageText,
131
+ children: message
132
+ })]
133
+ });
134
+ $[16] = message;
135
+ $[17] = messageIcon;
136
+ $[18] = t10;
137
+ } else t10 = $[18];
138
+ let t11;
139
+ if ($[19] !== children || $[20] !== style || $[21] !== t10 || $[22] !== t5 || $[23] !== t9) {
140
+ t11 = /* @__PURE__ */ jsxs("div", {
141
+ className: t5,
142
+ style,
143
+ children: [
144
+ t9,
145
+ children,
146
+ t10
147
+ ]
148
+ });
149
+ $[19] = children;
150
+ $[20] = style;
151
+ $[21] = t10;
152
+ $[22] = t5;
153
+ $[23] = t9;
154
+ $[24] = t11;
155
+ } else t11 = $[24];
156
+ let t12;
157
+ if ($[25] !== t11 || $[26] !== t3) {
158
+ t12 = /* @__PURE__ */ jsx(FormControlContext.Provider, {
159
+ value: t3,
160
+ children: t11
161
+ });
162
+ $[25] = t11;
163
+ $[26] = t3;
164
+ $[27] = t12;
165
+ } else t12 = $[27];
166
+ return t12;
167
+ };
168
+ DsFormControl.TextInput = controlify(ds_text_input_default);
169
+ DsFormControl.NumberInput = controlify(ds_number_input_default);
170
+ DsFormControl.PasswordInput = controlify(ds_password_input_default);
171
+ DsFormControl.Textarea = controlify(ds_textarea_default);
172
+ DsFormControl.Select = controlify(ds_select_default);
173
+ DsFormControl.Description = DsFormControlDescription;
174
+ var ds_form_control_default = DsFormControl;
175
+
176
+ //#endregion
177
+ export { ds_form_control_default as default };
178
+ //# sourceMappingURL=ds-form-control.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.js","names":["ComponentType","createContext","useContext","useId","React","classNames","DsIcon","DsSelect","DsTextInput","DsTextarea","DsNumberInput","DsPasswordInput","DsFormControlDescriptionProps","DsFormControlProps","styles","FormControlContext","controlId","useFormControlContext","context","Error","controlify","id","Component","TProps","WrappedFormControl","props","DsFormControlDescription","FC","t0","$","_c","children","className","t1","description","t2","DsFormControl","status","label","required","slots","message","messageIcon","style","undefined","generatedId","t3","t4","t5","container","t6","t7","t8","endAdornment","t9","labelContainer","t10","messageText","t11","t12","TextInput","NumberInput","PasswordInput","Textarea","Select","Description"],"sources":["../../../src/components/ds-form-control/ds-form-control.tsx"],"sourcesContent":["import { type ComponentType, createContext, useContext, useId } from 'react';\nimport type React from 'react';\nimport classNames from 'classnames';\nimport { DsIcon } from '../ds-icon';\nimport { DsSelect } from '../ds-select';\nimport { DsTextInput } from '../ds-text-input';\nimport { DsTextarea } from '../ds-textarea';\nimport { DsNumberInput } from '../ds-number-input';\nimport { DsPasswordInput } from '../ds-password-input';\nimport type { DsFormControlDescriptionProps, DsFormControlProps } from './ds-form-control.types';\nimport styles from './ds-form-control.module.scss';\n\nconst FormControlContext = createContext<{ controlId: string } | null>(null);\n\nconst useFormControlContext = () => {\n\tconst context = useContext(FormControlContext);\n\tif (!context) {\n\t\tthrow new Error('useFormControlContext must be used within DsFormControl');\n\t}\n\treturn context;\n};\n\n/**\n * HOC that automatically injects the controlId from form control context\n * into any component that expects an 'id' prop.\n *\n * @param Component - The component to wrap with form control context\n * @returns A new component that automatically receives the controlId\n */\nconst controlify = <TProps extends { id?: string }>(Component: ComponentType<TProps>) => {\n\treturn function WrappedFormControl(props: TProps) {\n\t\tconst { controlId } = useFormControlContext();\n\t\treturn <Component id={controlId} {...props} />;\n\t};\n};\n\nconst DsFormControlDescription: React.FC<DsFormControlDescriptionProps> = ({ children, className }) => {\n\treturn <div className={classNames(styles.description, className)}>{children}</div>;\n};\n\nconst DsFormControl = ({\n\tid,\n\tstatus,\n\tlabel,\n\trequired = false,\n\tslots,\n\tmessage,\n\tmessageIcon = 'info',\n\tclassName,\n\tstyle,\n\tchildren,\n}: DsFormControlProps) => {\n\tconst generatedId = useId();\n\tconst controlId = id || generatedId;\n\n\treturn (\n\t\t<FormControlContext.Provider value={{ controlId }}>\n\t\t\t<div\n\t\t\t\tclassName={classNames(styles.container, status && message && styles[status], className)}\n\t\t\t\tstyle={style}\n\t\t\t>\n\t\t\t\t<div className={styles.labelContainer}>\n\t\t\t\t\t<label\n\t\t\t\t\t\thtmlFor={controlId}\n\t\t\t\t\t\tclassName={classNames(styles.label, {\n\t\t\t\t\t\t\t[styles.required]: required,\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</label>\n\t\t\t\t\t{slots?.endAdornment && <div className={styles.endAdornment}>{slots.endAdornment}</div>}\n\t\t\t\t</div>\n\n\t\t\t\t{children}\n\n\t\t\t\t{message && (\n\t\t\t\t\t<div className={styles.message}>\n\t\t\t\t\t\t<DsIcon icon={messageIcon} size=\"tiny\" filled />\n\t\t\t\t\t\t<span className={styles.messageText}>{message}</span>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</FormControlContext.Provider>\n\t);\n};\n\nDsFormControl.TextInput = controlify(DsTextInput);\nDsFormControl.NumberInput = controlify(DsNumberInput);\nDsFormControl.PasswordInput = controlify(DsPasswordInput);\nDsFormControl.Textarea = controlify(DsTextarea);\nDsFormControl.Select = controlify(DsSelect);\nDsFormControl.Description = DsFormControlDescription;\n\nexport default DsFormControl;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAYA,MAAMe,qBAAqBd,cAA4C,KAAK;AAE5E,MAAMgB,8BAAwB;CAC7B,MAAAC,UAAgBhB,WAAWa,mBAAmB;AAC9C,KAAI,CAACG,QACJ,OAAM,IAAIC,MAAM,0DAA0D;AAC1E,QACMD;;;;;;;;;AAUR,MAAME,cAA8CE,cAAqC;AACxF,QAAO,SAASE,mBAAmBC,OAAe;EACjD,MAAM,EAAET,cAAcC,uBAAuB;AAC7C,SAAO,oBAAC;GAAU,IAAID;GAAW,GAAIS;IAAS;;;AAIhD,MAAMC,4BAAoEE,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAC,MAAA,EAAAC,UAAAC,cAAAJ;CAAuB,IAAAK;AAAA,KAAAJ,EAAA,OAAAG,WAAA;AAC1EC,OAAA5B,WAAWS,+BAAMoB,aAAcF,UAAU;AAAAH,IAAA,KAAAG;AAAAH,IAAA,KAAAI;OAAAA,MAAAJ,EAAA;CAAA,IAAAM;AAAA,KAAAN,EAAA,OAAAE,YAAAF,EAAA,OAAAI,IAAA;AAAzDE,OAAA,oBAAA;GAAgB,WAAAF;GAA4CF;IAAe;AAAAF,IAAA,KAAAE;AAAAF,IAAA,KAAAI;AAAAJ,IAAA,KAAAM;OAAAA,MAAAN,EAAA;AAAA,QAA3EM;;AAGR,MAAMC,iBAAgBR,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAT,IAAAgB,QAAAC,OAAAC,UAAAN,IAAAO,OAAAC,SAAAC,aAAAP,IAAAH,WAAAW,OAAAZ,aAAAH;CAItB,MAAAW,WAAAN,OAAAW,SAAA,QAAAX;CAGA,MAAAS,cAAAP,OAAAS,SAAA,SAAAT;CAKA,MAAAU,cAAoB1C,OAAO;CAC3B,MAAAa,YAAkBK,MAAAwB;CAAkB,IAAAC;AAAA,KAAAjB,EAAA,OAAAb,WAAA;AAGC8B,OAAA,EAAA9B,WAAa;AAAAa,IAAA,KAAAb;AAAAa,IAAA,KAAAiB;OAAAA,MAAAjB,EAAA;CAEP,MAAAkB,KAAAV,UAAAI,WAAqB3B,+BAAOuB;CAAO,IAAAW;AAAA,KAAAnB,EAAA,OAAAG,aAAAH,EAAA,OAAAkB,IAAA;AAAhEC,OAAA3C,WAAWS,+BAAMmC,WAAYF,IAAqCf,UAAU;AAAAH,IAAA,KAAAG;AAAAH,IAAA,KAAAkB;AAAAlB,IAAA,KAAAmB;OAAAA,MAAAnB,EAAA;CAAA,IAAAqB;AAAA,KAAArB,EAAA,OAAAU,UAAA;AAM1EW,OAAA7C,WAAWS,+BAAMwB,OAAQ,GAClCxB,+BAAMyB,WAAYA,UACnB,CAAC;AAAAV,IAAA,KAAAU;AAAAV,IAAA,KAAAqB;OAAAA,MAAArB,EAAA;CAAA,IAAAsB;AAAA,KAAAtB,EAAA,OAAAb,aAAAa,EAAA,OAAAS,SAAAT,EAAA,OAAAqB,IAAA;AAJHC,OAAA,oBAAA;GACUnC,SAAAA;GACE,WAAAkC;aAIVZ;IACM;AAAAT,IAAA,KAAAb;AAAAa,IAAA,KAAAS;AAAAT,IAAA,KAAAqB;AAAArB,IAAA,MAAAsB;OAAAA,MAAAtB,EAAA;CAAA,IAAAuB;AAAA,KAAAvB,EAAA,QAAAW,OAAA;AACPY,OAAAZ,OAAKa,gBAAkB,oBAAA;GAAgB,WAAAvC,+BAAMuC;aAAgBb,MAAKa;IAAoB;AAAAxB,IAAA,MAAAW;AAAAX,IAAA,MAAAuB;OAAAA,MAAAvB,EAAA;CAAA,IAAAyB;AAAA,KAAAzB,EAAA,QAAAsB,MAAAtB,EAAA,QAAAuB,IAAA;AATxFE,OAAA,qBAAA;GAAgB,WAAAxC,+BAAMyC;cACrBJ,IAQCC;IACI;AAAAvB,IAAA,MAAAsB;AAAAtB,IAAA,MAAAuB;AAAAvB,IAAA,MAAAyB;OAAAA,MAAAzB,EAAA;CAAA,IAAA2B;AAAA,KAAA3B,EAAA,QAAAY,WAAAZ,EAAA,QAAAa,aAAA;AAILc,QAAAf,WACA,qBAAA;GAAgB,WAAA3B,+BAAM2B;cACrB,oBAAC;IAAaC,MAAAA;IAAkB,MAAA;IAAO,QAAA;KACvC,sBAAA;IAAiB,WAAA5B,+BAAM2C;cAAehB;KACvC;IACA;AAAAZ,IAAA,MAAAY;AAAAZ,IAAA,MAAAa;AAAAb,IAAA,MAAA2B;OAAAA,OAAA3B,EAAA;CAAA,IAAA6B;AAAA,KAAA7B,EAAA,QAAAE,YAAAF,EAAA,QAAAc,SAAAd,EAAA,QAAA2B,OAAA3B,EAAA,QAAAmB,MAAAnB,EAAA,QAAAyB,IAAA;AAvBFI,QAAA,qBAAA;GACY,WAAAV;GACJL;;IAEPW;IAYCvB;IAEAyB;;IAMI;AAAA3B,IAAA,MAAAE;AAAAF,IAAA,MAAAc;AAAAd,IAAA,MAAA2B;AAAA3B,IAAA,MAAAmB;AAAAnB,IAAA,MAAAyB;AAAAzB,IAAA,MAAA6B;OAAAA,OAAA7B,EAAA;CAAA,IAAA8B;AAAA,KAAA9B,EAAA,QAAA6B,OAAA7B,EAAA,QAAAiB,IAAA;AAzBPa,QAAA,oBAAA,mBAAA;GAAoC,OAAAb;aACnCY;IAyB6B;AAAA7B,IAAA,MAAA6B;AAAA7B,IAAA,MAAAiB;AAAAjB,IAAA,MAAA8B;OAAAA,OAAA9B,EAAA;AAAA,QA1B9B8B;;AA8BFvB,cAAcwB,YAAYxC,WAAWZ,sBAAY;AACjD4B,cAAcyB,cAAczC,WAAWV,wBAAc;AACrD0B,cAAc0B,gBAAgB1C,WAAWT,0BAAgB;AACzDyB,cAAc2B,WAAW3C,WAAWX,oBAAW;AAC/C2B,cAAc4B,SAAS5C,WAAWb,kBAAS;AAC3C6B,cAAc6B,cAAcvC;AAE5B,8BAAeU"}
@@ -0,0 +1,24 @@
1
+
2
+ //#region src/components/ds-form-control/ds-form-control.module.scss
3
+ var ds_form_control_module_default = {
4
+ "container": "_container_3x2wm_1",
5
+ "success": "_success_3x2wm_1",
6
+ "message": "_message_3x2wm_1",
7
+ "warning": "_warning_3x2wm_1",
8
+ "error": "_error_3x2wm_1",
9
+ "labelContainer": "_labelContainer_3x2wm_1",
10
+ "label": "_label_3x2wm_1",
11
+ "required": "_required_3x2wm_1",
12
+ "disabled": "_disabled_3x2wm_1",
13
+ "endAdornment": "_endAdornment_3x2wm_1",
14
+ "description": "_description_3x2wm_1",
15
+ "controlWrapper": "_controlWrapper_3x2wm_1",
16
+ "input": "_input_3x2wm_1",
17
+ "control": "_control_3x2wm_1",
18
+ "icon": "_icon_3x2wm_1",
19
+ "textarea": "_textarea_3x2wm_1",
20
+ "withIcon": "_withIcon_3x2wm_1"
21
+ };
22
+
23
+ //#endregion
24
+ exports.default = ds_form_control_module_default;
@@ -0,0 +1,24 @@
1
+ //#region src/components/ds-form-control/ds-form-control.module.scss
2
+ var ds_form_control_module_default = {
3
+ "container": "_container_3x2wm_1",
4
+ "success": "_success_3x2wm_1",
5
+ "message": "_message_3x2wm_1",
6
+ "warning": "_warning_3x2wm_1",
7
+ "error": "_error_3x2wm_1",
8
+ "labelContainer": "_labelContainer_3x2wm_1",
9
+ "label": "_label_3x2wm_1",
10
+ "required": "_required_3x2wm_1",
11
+ "disabled": "_disabled_3x2wm_1",
12
+ "endAdornment": "_endAdornment_3x2wm_1",
13
+ "description": "_description_3x2wm_1",
14
+ "controlWrapper": "_controlWrapper_3x2wm_1",
15
+ "input": "_input_3x2wm_1",
16
+ "control": "_control_3x2wm_1",
17
+ "icon": "_icon_3x2wm_1",
18
+ "textarea": "_textarea_3x2wm_1",
19
+ "withIcon": "_withIcon_3x2wm_1"
20
+ };
21
+
22
+ //#endregion
23
+ export { ds_form_control_module_default as default };
24
+ //# sourceMappingURL=ds-form-control.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.module.js","names":[],"sources":["../../../file:/home/runner/work/design-system/design-system/packages/design-system/src/components/ds-form-control/ds-form-control.module.scss","../../../file:/home/runner/work/design-system/design-system/packages/design-system/src/styles/_typography.scss","../../../file:/home/runner/work/design-system/design-system/packages/design-system/src/styles/_variables.scss"],"sourcesContent":["@use '../../styles/typography';\n\n$form-control-description-max-lines: 2;\n$form-control-description-line-height: 1.4;\n$form-control-description-max-height: calc(\n\t$form-control-description-line-height * $form-control-description-max-lines * 1em\n);\n\n.container {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--spacing-4xs);\n\n\t&.success {\n\t\t.message {\n\t\t\tcolor: var(--color-background-success-strong);\n\t\t}\n\t}\n\n\t&.warning {\n\t\t.message {\n\t\t\tcolor: var(--color-font-warning);\n\t\t}\n\t}\n\n\t&.error {\n\t\t--form-control-border-color: var(--color-background-danger-strong);\n\t\t--form-control-selection-color: var(--color-background-danger-weak);\n\n\t\t.message {\n\t\t\tcolor: var(--color-background-danger-strong);\n\t\t}\n\t}\n}\n\n.labelContainer {\n\tdisplay: flex;\n\talign-items: center;\n\tgap: var(--spacing-4xs);\n}\n\n.label {\n\t@include typography.body-sm-reg;\n\tcolor: var(--color-font-main);\n\n\t&.required::after {\n\t\t@include typography.body-sm-reg;\n\t\tcontent: '*';\n\t\tposition: relative;\n\t\ttop: -1px;\n\t\tright: -1px;\n\t\tcolor: var(--color-icon-danger);\n\t}\n\n\t&.disabled {\n\t\tcolor: var(--color-background-disabled);\n\n\t\t&::after {\n\t\t\tcolor: var(--color-font-disabled);\n\t\t}\n\t}\n}\n\n.endAdornment {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n.description {\n\t@include typography.p-s;\n\tcolor: var(--neutral-2);\n\tline-height: $form-control-description-line-height;\n\tmax-height: $form-control-description-max-height;\n\toverflow: hidden;\n\tdisplay: -webkit-box;\n\t-webkit-line-clamp: $form-control-description-max-lines;\n\t-webkit-box-orient: vertical;\n\tword-wrap: break-word;\n}\n\n.controlWrapper {\n\tposition: relative;\n\n\t&.input {\n\t\t.control {\n\t\t\tpadding: 7px 16px;\n\t\t\tline-height: 24px;\n\t\t\tfont-style: normal;\n\t\t}\n\n\t\t.icon {\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\t}\n\n\t&.textarea {\n\t\t.control {\n\t\t\tpadding: 12px 16px;\n\t\t\tmin-height: 100px;\n\n\t\t\t&:disabled {\n\t\t\t\tresize: none;\n\t\t\t}\n\t\t}\n\n\t\t.icon {\n\t\t\ttop: 10px;\n\t\t}\n\t}\n\n\t.control.withIcon {\n\t\tpadding-left: 40px;\n\t}\n\n\t.icon {\n\t\tposition: absolute;\n\t\tpointer-events: none;\n\t\tcolor: var(--neutral-3);\n\t}\n\n\t.icon {\n\t\tleft: 12px;\n\t}\n}\n\n.message {\n\t@include typography.body-xs-reg;\n\tcolor: var(--color-font-secondary);\n\tdisplay: flex;\n\talign-items: center;\n\tgap: 4px;\n\tpadding-top: 2px;\n}\n"],"mappings":""}
@@ -0,0 +1,11 @@
1
+
2
+ //#region src/components/ds-form-control/ds-form-control.types.tsx
3
+ const controlStatuses = [
4
+ "info",
5
+ "success",
6
+ "error",
7
+ "warning"
8
+ ];
9
+
10
+ //#endregion
11
+ exports.controlStatuses = controlStatuses;
@@ -0,0 +1,59 @@
1
+ import { IconType } from "../ds-icon/ds-icon.types.cjs";
2
+ import React from "react";
3
+
4
+ //#region src/components/ds-form-control/ds-form-control.types.d.ts
5
+ declare const controlStatuses: readonly ["info", "success", "error", "warning"];
6
+ type ControlStatus = (typeof controlStatuses)[number];
7
+ interface DsFormControlProps extends React.PropsWithChildren {
8
+ /**
9
+ * Unique identifier for the control
10
+ */
11
+ id?: string;
12
+ /**
13
+ * Visual status
14
+ */
15
+ status?: ControlStatus;
16
+ /**
17
+ * Label text
18
+ */
19
+ label: string;
20
+ /**
21
+ * Marks the field as required
22
+ */
23
+ required?: boolean;
24
+ slots?: {
25
+ /**
26
+ * Adornment to display at the end of the label
27
+ */
28
+ endAdornment?: React.ReactNode;
29
+ };
30
+ /**
31
+ * Message under the control
32
+ */
33
+ message?: string;
34
+ /**
35
+ * Icon shown next to message
36
+ */
37
+ messageIcon?: IconType;
38
+ /**
39
+ * Additional CSS class names
40
+ */
41
+ className?: string;
42
+ /**
43
+ * Additional styles to apply to the component
44
+ */
45
+ style?: React.CSSProperties;
46
+ }
47
+ interface DsFormControlDescriptionProps {
48
+ /**
49
+ * The description content
50
+ */
51
+ children: React.ReactNode;
52
+ /**
53
+ * Additional CSS class names
54
+ */
55
+ className?: string;
56
+ }
57
+ //#endregion
58
+ export { ControlStatus, DsFormControlDescriptionProps, DsFormControlProps, controlStatuses };
59
+ //# sourceMappingURL=ds-form-control.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.types.d.cts","names":[],"sources":["../../../src/components/ds-form-control/ds-form-control.types.tsx"],"sourcesContent":[],"mappings":";;;;cAGa;KACD,aAAA,WAAwB;AADvB,UAGI,kBAAA,SAA2B,KAAA,CAAM,iBAH6B,CAAA;EACnE;AAEZ;;EAsBiB,EAAA,CAAM,EAAA,MAAA;EASR;;;EA/BoD,MAAA,CAAA,EAQzD,aARyD;EA0ClD;;;;;;;;;;;;mBApBA,KAAA,CAAM;;;;;;;;;gBASR;;;;;;;;UAQN,KAAA,CAAM;;UAGE,6BAAA;;;;YAIN,KAAA,CAAM"}
@@ -0,0 +1,60 @@
1
+ import { IconType } from "../ds-icon/ds-icon.types.js";
2
+ import "../ds-icon/index.js";
3
+ import React from "react";
4
+
5
+ //#region src/components/ds-form-control/ds-form-control.types.d.ts
6
+ declare const controlStatuses: readonly ["info", "success", "error", "warning"];
7
+ type ControlStatus = (typeof controlStatuses)[number];
8
+ interface DsFormControlProps extends React.PropsWithChildren {
9
+ /**
10
+ * Unique identifier for the control
11
+ */
12
+ id?: string;
13
+ /**
14
+ * Visual status
15
+ */
16
+ status?: ControlStatus;
17
+ /**
18
+ * Label text
19
+ */
20
+ label: string;
21
+ /**
22
+ * Marks the field as required
23
+ */
24
+ required?: boolean;
25
+ slots?: {
26
+ /**
27
+ * Adornment to display at the end of the label
28
+ */
29
+ endAdornment?: React.ReactNode;
30
+ };
31
+ /**
32
+ * Message under the control
33
+ */
34
+ message?: string;
35
+ /**
36
+ * Icon shown next to message
37
+ */
38
+ messageIcon?: IconType;
39
+ /**
40
+ * Additional CSS class names
41
+ */
42
+ className?: string;
43
+ /**
44
+ * Additional styles to apply to the component
45
+ */
46
+ style?: React.CSSProperties;
47
+ }
48
+ interface DsFormControlDescriptionProps {
49
+ /**
50
+ * The description content
51
+ */
52
+ children: React.ReactNode;
53
+ /**
54
+ * Additional CSS class names
55
+ */
56
+ className?: string;
57
+ }
58
+ //#endregion
59
+ export { ControlStatus, DsFormControlDescriptionProps, DsFormControlProps, controlStatuses };
60
+ //# sourceMappingURL=ds-form-control.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.types.d.ts","names":[],"sources":["../../../src/components/ds-form-control/ds-form-control.types.tsx"],"sourcesContent":[],"mappings":";;;;;cAGa;KACD,aAAA,WAAwB;UAEnB,kBAAA,SAA2B,KAAA,CAAM;EAHrC;AACb;AAEA;EAQU,EAAA,CAAA,EAAA,MAAA;EAcO;;;EAtB2B,MAAM,CAAA,EAQxC,aARwC;EAAiB;AA0CnE;;;;;;;;;;;mBApBiB,KAAA,CAAM;;;;;;;;;gBASR;;;;;;;;UAQN,KAAA,CAAM;;UAGE,6BAAA;;;;YAIN,KAAA,CAAM"}
@@ -0,0 +1,11 @@
1
+ //#region src/components/ds-form-control/ds-form-control.types.tsx
2
+ const controlStatuses = [
3
+ "info",
4
+ "success",
5
+ "error",
6
+ "warning"
7
+ ];
8
+
9
+ //#endregion
10
+ export { controlStatuses };
11
+ //# sourceMappingURL=ds-form-control.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-form-control.types.js","names":["React","IconType","controlStatuses","const","ControlStatus","DsFormControlProps","PropsWithChildren","id","status","label","required","slots","endAdornment","ReactNode","message","messageIcon","className","style","CSSProperties","DsFormControlDescriptionProps","children"],"sources":["../../../src/components/ds-form-control/ds-form-control.types.tsx"],"sourcesContent":["import type React from 'react';\nimport type { IconType } from '../ds-icon';\n\nexport const controlStatuses = ['info', 'success', 'error', 'warning'] as const;\nexport type ControlStatus = (typeof controlStatuses)[number];\n\nexport interface DsFormControlProps extends React.PropsWithChildren {\n\t/**\n\t * Unique identifier for the control\n\t */\n\tid?: string;\n\t/**\n\t * Visual status\n\t */\n\tstatus?: ControlStatus;\n\t/**\n\t * Label text\n\t */\n\tlabel: string;\n\t/**\n\t * Marks the field as required\n\t */\n\trequired?: boolean;\n\n\tslots?: {\n\t\t/**\n\t\t * Adornment to display at the end of the label\n\t\t */\n\t\tendAdornment?: React.ReactNode;\n\t};\n\t/**\n\t * Message under the control\n\t */\n\tmessage?: string;\n\t/**\n\t * Icon shown next to message\n\t */\n\tmessageIcon?: IconType;\n\t/**\n\t * Additional CSS class names\n\t */\n\tclassName?: string;\n\t/**\n\t * Additional styles to apply to the component\n\t */\n\tstyle?: React.CSSProperties;\n}\n\nexport interface DsFormControlDescriptionProps {\n\t/**\n\t * The description content\n\t */\n\tchildren: React.ReactNode;\n\t/**\n\t * Additional CSS class names\n\t */\n\tclassName?: string;\n}\n"],"mappings":";AAGA,MAAaE,kBAAkB;CAAC;CAAQ;CAAW;CAAS;CAAU"}