@drivenets/design-system 0.0.3 → 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 (221) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/components/ds-alert-banner/ds-alert-banner.cjs +157 -52
  3. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +5 -5
  4. package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -1
  5. package/dist/components/ds-alert-banner/ds-alert-banner.js +157 -52
  6. package/dist/components/ds-alert-banner/ds-alert-banner.js.map +1 -1
  7. package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -1
  8. package/dist/components/ds-alert-banner/ds-alert-banner.types.js.map +1 -1
  9. package/dist/components/ds-breadcrumb/ds-breadcrumb.cjs +59 -16
  10. package/dist/components/ds-breadcrumb/ds-breadcrumb.js +59 -16
  11. package/dist/components/ds-breadcrumb/ds-breadcrumb.js.map +1 -1
  12. package/dist/components/ds-button/ds-button.cjs +18 -2
  13. package/dist/components/ds-button/ds-button.d.cts +2 -2
  14. package/dist/components/ds-button/ds-button.d.ts +2 -2
  15. package/dist/components/ds-button/ds-button.js +18 -2
  16. package/dist/components/ds-button/ds-button.js.map +1 -1
  17. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.cjs +79 -10
  18. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js +79 -10
  19. package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js.map +1 -1
  20. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.cjs +78 -10
  21. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js +78 -10
  22. package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js.map +1 -1
  23. package/dist/components/ds-checkbox/ds-checkbox.cjs +89 -18
  24. package/dist/components/ds-checkbox/ds-checkbox.js +89 -18
  25. package/dist/components/ds-checkbox/ds-checkbox.js.map +1 -1
  26. package/dist/components/ds-chip/ds-chip.cjs +100 -30
  27. package/dist/components/ds-chip/ds-chip.js +100 -30
  28. package/dist/components/ds-chip/ds-chip.js.map +1 -1
  29. package/dist/components/ds-chip-group/ds-chip-group.cjs +6 -6
  30. package/dist/components/ds-chip-group/ds-chip-group.js +6 -6
  31. package/dist/components/ds-chip-group/ds-chip-group.js.map +1 -1
  32. package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js.map +1 -1
  33. package/dist/components/ds-confirmation/ds-confirmation.cjs +210 -56
  34. package/dist/components/ds-confirmation/ds-confirmation.d.cts +8 -8
  35. package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -1
  36. package/dist/components/ds-confirmation/ds-confirmation.d.ts +8 -8
  37. package/dist/components/ds-confirmation/ds-confirmation.js +210 -56
  38. package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -1
  39. package/dist/components/ds-dialog/ds-dialog.js.map +1 -1
  40. package/dist/components/ds-drawer/ds-drawer.cjs +261 -61
  41. package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
  42. package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
  43. package/dist/components/ds-drawer/ds-drawer.js +261 -61
  44. package/dist/components/ds-drawer/ds-drawer.js.map +1 -1
  45. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +481 -135
  46. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +481 -135
  47. package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js.map +1 -1
  48. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.cjs +146 -56
  49. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +2 -2
  50. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +2 -2
  51. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js +146 -56
  52. package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js.map +1 -1
  53. package/dist/components/ds-file-upload/components/file-upload/file-upload.cjs +190 -69
  54. package/dist/components/ds-file-upload/components/file-upload/file-upload.js +190 -69
  55. package/dist/components/ds-file-upload/components/file-upload/file-upload.js.map +1 -1
  56. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.cjs +273 -132
  57. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js +273 -132
  58. package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js.map +1 -1
  59. package/dist/components/ds-file-upload/ds-file-upload.cjs +96 -16
  60. package/dist/components/ds-file-upload/ds-file-upload.js +96 -16
  61. package/dist/components/ds-file-upload/ds-file-upload.js.map +1 -1
  62. package/dist/components/ds-file-upload/errors/file-upload-errors.js.map +1 -1
  63. package/dist/components/ds-file-upload/hooks/use-file-upload.cjs +93 -93
  64. package/dist/components/ds-file-upload/hooks/use-file-upload.js +93 -93
  65. package/dist/components/ds-file-upload/hooks/use-file-upload.js.map +1 -1
  66. package/dist/components/ds-file-upload/types/accept-types.js.map +1 -1
  67. package/dist/components/ds-file-upload/utils/accept-utils.js.map +1 -1
  68. package/dist/components/ds-file-upload/utils/constants.js.map +1 -1
  69. package/dist/components/ds-file-upload/utils/file-factory.js.map +1 -1
  70. package/dist/components/ds-file-upload/utils/format-file-size.js.map +1 -1
  71. package/dist/components/ds-file-upload/utils/generate-helper-text.js.map +1 -1
  72. package/dist/components/ds-file-upload/utils/get-error-message.js.map +1 -1
  73. package/dist/components/ds-file-upload/utils/is-file-equal.js.map +1 -1
  74. package/dist/components/ds-form-control/ds-form-control.cjs +119 -34
  75. package/dist/components/ds-form-control/ds-form-control.d.cts +7 -7
  76. package/dist/components/ds-form-control/ds-form-control.d.ts +7 -7
  77. package/dist/components/ds-form-control/ds-form-control.d.ts.map +1 -1
  78. package/dist/components/ds-form-control/ds-form-control.js +119 -34
  79. package/dist/components/ds-form-control/ds-form-control.js.map +1 -1
  80. package/dist/components/ds-form-control/ds-form-control.types.js.map +1 -1
  81. package/dist/components/ds-grid/ds-grid.js.map +1 -1
  82. package/dist/components/ds-icon/ds-icon.cjs +84 -13
  83. package/dist/components/ds-icon/ds-icon.js +84 -13
  84. package/dist/components/ds-icon/ds-icon.js.map +1 -1
  85. package/dist/components/ds-icon/ds-icon.types.d.cts.map +1 -1
  86. package/dist/components/ds-icon/ds-icon.types.js.map +1 -1
  87. package/dist/components/ds-modal/ds-modal.cjs +222 -55
  88. package/dist/components/ds-modal/ds-modal.d.cts +8 -8
  89. package/dist/components/ds-modal/ds-modal.d.cts.map +1 -1
  90. package/dist/components/ds-modal/ds-modal.d.ts +8 -8
  91. package/dist/components/ds-modal/ds-modal.d.ts.map +1 -1
  92. package/dist/components/ds-modal/ds-modal.js +222 -55
  93. package/dist/components/ds-modal/ds-modal.js.map +1 -1
  94. package/dist/components/ds-number-input/ds-number-input.cjs +136 -49
  95. package/dist/components/ds-number-input/ds-number-input.js +136 -49
  96. package/dist/components/ds-number-input/ds-number-input.js.map +1 -1
  97. package/dist/components/ds-panel/ds-panel.cjs +111 -19
  98. package/dist/components/ds-panel/ds-panel.d.cts +2 -2
  99. package/dist/components/ds-panel/ds-panel.d.cts.map +1 -1
  100. package/dist/components/ds-panel/ds-panel.js +111 -19
  101. package/dist/components/ds-panel/ds-panel.js.map +1 -1
  102. package/dist/components/ds-password-input/ds-password-input.cjs +108 -41
  103. package/dist/components/ds-password-input/ds-password-input.js +108 -41
  104. package/dist/components/ds-password-input/ds-password-input.js.map +1 -1
  105. package/dist/components/ds-popover/ds-popover.cjs +50 -12
  106. package/dist/components/ds-popover/ds-popover.js +50 -12
  107. package/dist/components/ds-popover/ds-popover.js.map +1 -1
  108. package/dist/components/ds-radio-group/ds-radio-group.cjs +209 -53
  109. package/dist/components/ds-radio-group/ds-radio-group.js +209 -53
  110. package/dist/components/ds-radio-group/ds-radio-group.js.map +1 -1
  111. package/dist/components/ds-select/ds-select.cjs +198 -89
  112. package/dist/components/ds-select/ds-select.d.cts +2 -2
  113. package/dist/components/ds-select/ds-select.d.cts.map +1 -1
  114. package/dist/components/ds-select/ds-select.js +198 -89
  115. package/dist/components/ds-select/ds-select.js.map +1 -1
  116. package/dist/components/ds-select/select-items-chips.cjs +73 -22
  117. package/dist/components/ds-select/select-items-chips.js +73 -22
  118. package/dist/components/ds-select/select-items-chips.js.map +1 -1
  119. package/dist/components/ds-smart-tabs/ds-smart-tabs.cjs +208 -46
  120. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +2 -2
  121. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts.map +1 -1
  122. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +2 -2
  123. package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -1
  124. package/dist/components/ds-smart-tabs/ds-smart-tabs.js +208 -46
  125. package/dist/components/ds-smart-tabs/ds-smart-tabs.js.map +1 -1
  126. package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js.map +1 -1
  127. package/dist/components/ds-spinner/ds-spinner.cjs +90 -20
  128. package/dist/components/ds-spinner/ds-spinner.js +90 -20
  129. package/dist/components/ds-spinner/ds-spinner.js.map +1 -1
  130. package/dist/components/ds-spinner/ds-spinner.types.js.map +1 -1
  131. package/dist/components/ds-status-badge/ds-status-badge.cjs +54 -11
  132. package/dist/components/ds-status-badge/ds-status-badge.js +54 -11
  133. package/dist/components/ds-status-badge/ds-status-badge.js.map +1 -1
  134. package/dist/components/ds-stepper/components/ds-step-content.cjs +59 -13
  135. package/dist/components/ds-stepper/components/ds-step-content.d.cts +2 -2
  136. package/dist/components/ds-stepper/components/ds-step-content.d.ts +2 -2
  137. package/dist/components/ds-stepper/components/ds-step-content.js +59 -13
  138. package/dist/components/ds-stepper/components/ds-step-content.js.map +1 -1
  139. package/dist/components/ds-stepper/components/ds-step-description.cjs +14 -5
  140. package/dist/components/ds-stepper/components/ds-step-description.js +14 -5
  141. package/dist/components/ds-stepper/components/ds-step-description.js.map +1 -1
  142. package/dist/components/ds-stepper/components/ds-step-label.cjs +14 -5
  143. package/dist/components/ds-stepper/components/ds-step-label.js +14 -5
  144. package/dist/components/ds-stepper/components/ds-step-label.js.map +1 -1
  145. package/dist/components/ds-stepper/components/ds-step-next-button.cjs +23 -6
  146. package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +2 -2
  147. package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +2 -2
  148. package/dist/components/ds-stepper/components/ds-step-next-button.js +23 -6
  149. package/dist/components/ds-stepper/components/ds-step-next-button.js.map +1 -1
  150. package/dist/components/ds-stepper/components/ds-step.cjs +106 -25
  151. package/dist/components/ds-stepper/components/ds-step.d.cts +2 -2
  152. package/dist/components/ds-stepper/components/ds-step.d.ts +2 -2
  153. package/dist/components/ds-stepper/components/ds-step.js +106 -25
  154. package/dist/components/ds-stepper/components/ds-step.js.map +1 -1
  155. package/dist/components/ds-stepper/ds-stepper.cjs +62 -15
  156. package/dist/components/ds-stepper/ds-stepper.d.cts +2 -2
  157. package/dist/components/ds-stepper/ds-stepper.d.cts.map +1 -1
  158. package/dist/components/ds-stepper/ds-stepper.d.ts +2 -2
  159. package/dist/components/ds-stepper/ds-stepper.js +62 -15
  160. package/dist/components/ds-stepper/ds-stepper.js.map +1 -1
  161. package/dist/components/ds-stepper/hooks/use-stepper.js.map +1 -1
  162. package/dist/components/ds-stepper/hooks/use-steps.cjs +29 -9
  163. package/dist/components/ds-stepper/hooks/use-steps.js +29 -9
  164. package/dist/components/ds-stepper/hooks/use-steps.js.map +1 -1
  165. package/dist/components/ds-system-status/ds-system-status.cjs +37 -7
  166. package/dist/components/ds-system-status/ds-system-status.js +37 -7
  167. package/dist/components/ds-system-status/ds-system-status.js.map +1 -1
  168. package/dist/components/ds-system-status/ds-system-status.types.js.map +1 -1
  169. package/dist/components/ds-table/components/core-table/core-table.cjs +281 -48
  170. package/dist/components/ds-table/components/core-table/core-table.js +281 -48
  171. package/dist/components/ds-table/components/core-table/core-table.js.map +1 -1
  172. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.cjs +134 -50
  173. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js +134 -50
  174. package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js.map +1 -1
  175. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.cjs +140 -43
  176. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js +140 -43
  177. package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js.map +1 -1
  178. package/dist/components/ds-table/components/ds-table-header/ds-table-header.cjs +37 -6
  179. package/dist/components/ds-table/components/ds-table-header/ds-table-header.js +37 -6
  180. package/dist/components/ds-table/components/ds-table-header/ds-table-header.js.map +1 -1
  181. package/dist/components/ds-table/components/ds-table-row/ds-table-row.cjs +272 -100
  182. package/dist/components/ds-table/components/ds-table-row/ds-table-row.js +272 -100
  183. package/dist/components/ds-table/components/ds-table-row/ds-table-row.js.map +1 -1
  184. package/dist/components/ds-table/context/ds-table-context.js.map +1 -1
  185. package/dist/components/ds-table/ds-table.cjs +15 -15
  186. package/dist/components/ds-table/ds-table.d.cts +2 -2
  187. package/dist/components/ds-table/ds-table.js +15 -15
  188. package/dist/components/ds-table/ds-table.js.map +1 -1
  189. package/dist/components/ds-table/hooks/use-drag-and-drop.cjs +126 -38
  190. package/dist/components/ds-table/hooks/use-drag-and-drop.js +126 -38
  191. package/dist/components/ds-table/hooks/use-drag-and-drop.js.map +1 -1
  192. package/dist/components/ds-table/utils/column-styling.js.map +1 -1
  193. package/dist/components/ds-table/utils/create-columns-grid-template.js.map +1 -1
  194. package/dist/components/ds-table/utils/merge-refs.js.map +1 -1
  195. package/dist/components/ds-text-input/ds-text-input.cjs +128 -43
  196. package/dist/components/ds-text-input/ds-text-input.js +128 -43
  197. package/dist/components/ds-text-input/ds-text-input.js.map +1 -1
  198. package/dist/components/ds-text-input/ds-text-input.types.js.map +1 -1
  199. package/dist/components/ds-textarea/ds-textarea.cjs +66 -22
  200. package/dist/components/ds-textarea/ds-textarea.js +66 -22
  201. package/dist/components/ds-textarea/ds-textarea.js.map +1 -1
  202. package/dist/components/ds-toast/ds-toast-context.cjs +62 -17
  203. package/dist/components/ds-toast/ds-toast-context.js +62 -17
  204. package/dist/components/ds-toast/ds-toast-context.js.map +1 -1
  205. package/dist/components/ds-toast/ds-toast.cjs +90 -26
  206. package/dist/components/ds-toast/ds-toast.js +90 -26
  207. package/dist/components/ds-toast/ds-toast.js.map +1 -1
  208. package/dist/components/ds-tooltip/ds-tooltip.cjs +51 -13
  209. package/dist/components/ds-tooltip/ds-tooltip.js +51 -13
  210. package/dist/components/ds-tooltip/ds-tooltip.js.map +1 -1
  211. package/dist/components/ds-typography/ds-typography.cjs +51 -7
  212. package/dist/components/ds-typography/ds-typography.config.js.map +1 -1
  213. package/dist/components/ds-typography/ds-typography.js +51 -7
  214. package/dist/components/ds-typography/ds-typography.js.map +1 -1
  215. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.cjs +91 -30
  216. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +5 -5
  217. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +5 -5
  218. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js +91 -30
  219. package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js.map +1 -1
  220. package/dist/index.min.css +1 -1
  221. package/package.json +7 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ds-system-status.js","names":["defaultLabels: Record<DsSystemStatusProps['status'], string>","DsSystemStatus: React.FC<DsSystemStatusProps>","styles"],"sources":["../../../src/components/ds-system-status/ds-system-status.tsx"],"sourcesContent":["import type React from 'react';\nimport classNames from 'classnames';\nimport styles from './ds-system-status.module.scss';\nimport type { DsSystemStatusProps } from './ds-system-status.types';\n\n/**\n * @deprecated This component is deprecated. Use `DsStatusBadge` instead.\n * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.\n */\nconst defaultLabels: Record<DsSystemStatusProps['status'], string> = {\n\thealthy: 'HEALTHY',\n\tneutral: 'NEUTRAL',\n\terror: 'ERROR',\n\t'in-progress': 'IN PROGRESS',\n\tpending: 'PENDING',\n\talert: 'ALERT',\n\tdisabled: 'DISABLED',\n};\n\n/**\n * @deprecated This component is deprecated. Use `DsStatusBadge` instead.\n * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.\n */\nconst DsSystemStatus: React.FC<DsSystemStatusProps> = ({ status, label, className }) => {\n\treturn (\n\t\t<div className={classNames(styles.container, styles[status], className)}>\n\t\t\t<span className={styles.dot} />\n\t\t\t<span className={styles.label}>{label || defaultLabels[status]}</span>\n\t\t</div>\n\t);\n};\n\nexport default DsSystemStatus;\n"],"mappings":";;;;;;;;;AASA,MAAMA,gBAA+D;CACpE,SAAS;CACT,SAAS;CACT,OAAO;CACP,eAAe;CACf,SAAS;CACT,OAAO;CACP,UAAU;CACV;;;;;AAMD,MAAMC,kBAAiD,EAAE,QAAQ,OAAO,gBAAgB;AACvF,QACC,qBAAC;EAAI,WAAW,WAAWC,gCAAO,WAAWA,gCAAO,SAAS,UAAU;aACtE,oBAAC,UAAK,WAAWA,gCAAO,MAAO,EAC/B,oBAAC;GAAK,WAAWA,gCAAO;aAAQ,SAAS,cAAc;IAAe;GACjE;;AAIR,+BAAe"}
1
+ {"version":3,"file":"ds-system-status.js","names":["React","classNames","styles","DsSystemStatusProps","defaultLabels","Record","healthy","neutral","error","pending","alert","disabled","DsSystemStatus","FC","t0","$","_c","status","label","className","t1","t2","container","t3","Symbol","for","dot","t4","t5","t6"],"sources":["../../../src/components/ds-system-status/ds-system-status.tsx"],"sourcesContent":["import type React from 'react';\nimport classNames from 'classnames';\nimport styles from './ds-system-status.module.scss';\nimport type { DsSystemStatusProps } from './ds-system-status.types';\n\n/**\n * @deprecated This component is deprecated. Use `DsStatusBadge` instead.\n * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.\n */\nconst defaultLabels: Record<DsSystemStatusProps['status'], string> = {\n\thealthy: 'HEALTHY',\n\tneutral: 'NEUTRAL',\n\terror: 'ERROR',\n\t'in-progress': 'IN PROGRESS',\n\tpending: 'PENDING',\n\talert: 'ALERT',\n\tdisabled: 'DISABLED',\n};\n\n/**\n * @deprecated This component is deprecated. Use `DsStatusBadge` instead.\n * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.\n */\nconst DsSystemStatus: React.FC<DsSystemStatusProps> = ({ status, label, className }) => {\n\treturn (\n\t\t<div className={classNames(styles.container, styles[status], className)}>\n\t\t\t<span className={styles.dot} />\n\t\t\t<span className={styles.label}>{label || defaultLabels[status]}</span>\n\t\t</div>\n\t);\n};\n\nexport default DsSystemStatus;\n"],"mappings":";;;;;;;;;;AASA,MAAMI,gBAA+D;CACpEE,SAAS;CACTC,SAAS;CACTC,OAAO;CACP,eAAe;CACfC,SAAS;CACTC,OAAO;CACPC,UAAU;CACV;;;;;AAMD,MAAMC,kBAAgDE,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAC,MAAA,EAAAC,QAAAC,OAAAC,cAAAL;CAER,MAAAM,KAAAlB,gCAAOe;CAAO,IAAAI;AAAA,KAAAN,EAAA,OAAAI,aAAAJ,EAAA,OAAAK,IAAA;AAA3CC,OAAApB,WAAWC,gCAAMoB,WAAYF,IAAgBD,UAAU;AAAAJ,IAAA,KAAAI;AAAAJ,IAAA,KAAAK;AAAAL,IAAA,KAAAM;OAAAA,MAAAN,EAAA;CAAA,IAAAQ;AAAA,KAAAR,EAAA,OAAAS,OAAAC,IAAA,4BAAA,EAAA;AACtEF,OAAA,oBAAA,UAAiB,WAAArB,gCAAMwB,MAAQ;AAAAX,IAAA,KAAAQ;OAAAA,MAAAR,EAAA;CACC,MAAAY,KAAAT,SAASd,cAAca;CAAO,IAAAW;AAAA,KAAAb,EAAA,OAAAY,IAAA;AAA9DC,OAAA,oBAAA;GAAiB,WAAA1B,gCAAMgB;aAASS;IAAsC;AAAAZ,IAAA,KAAAY;AAAAZ,IAAA,KAAAa;OAAAA,MAAAb,EAAA;CAAA,IAAAc;AAAA,KAAAd,EAAA,OAAAM,MAAAN,EAAA,OAAAa,IAAA;AAFvEC,OAAA,qBAAA;GAAgB,WAAAR;cACfE,IACAK;IACK;AAAAb,IAAA,KAAAM;AAAAN,IAAA,KAAAa;AAAAb,IAAA,KAAAc;OAAAA,MAAAd,EAAA;AAAA,QAHNc;;AAOF,+BAAejB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ds-system-status.types.js","names":[],"sources":["../../../src/components/ds-system-status/ds-system-status.types.tsx"],"sourcesContent":["/**\n * @deprecated This type is deprecated. Use `DsStatusBadge` and its related types instead.\n * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.\n */\nexport const systemStatuses = [\n\t'healthy',\n\t'neutral',\n\t'error',\n\t'in-progress',\n\t'pending',\n\t'alert',\n\t'disabled',\n] as const;\n\n/**\n * @deprecated This type is deprecated. Use `DsStatus` from `ds-status-badge` instead.\n */\nexport type SystemStatus = (typeof systemStatuses)[number];\n\n/**\n * @deprecated This interface is deprecated. Use `DsStatusBadgeProps` from `ds-status-badge` instead.\n * @see {@link ../ds-status-badge/ds-status-badge.types} for the replacement interface.\n */\nexport interface DsSystemStatusProps {\n\t/**\n\t * The status of the system\n\t */\n\tstatus: SystemStatus;\n\t/**\n\t * The label to be displayed\n\t */\n\tlabel?: string;\n\t/**\n\t * Additional CSS class names\n\t */\n\tclassName?: string;\n}\n"],"mappings":";;;;;AAIA,MAAa,iBAAiB;CAC7B;CACA;CACA;CACA;CACA;CACA;CACA;CACA"}
1
+ {"version":3,"file":"ds-system-status.types.js","names":["systemStatuses","const","SystemStatus","DsSystemStatusProps","status","label","className"],"sources":["../../../src/components/ds-system-status/ds-system-status.types.tsx"],"sourcesContent":["/**\n * @deprecated This type is deprecated. Use `DsStatusBadge` and its related types instead.\n * @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.\n */\nexport const systemStatuses = [\n\t'healthy',\n\t'neutral',\n\t'error',\n\t'in-progress',\n\t'pending',\n\t'alert',\n\t'disabled',\n] as const;\n\n/**\n * @deprecated This type is deprecated. Use `DsStatus` from `ds-status-badge` instead.\n */\nexport type SystemStatus = (typeof systemStatuses)[number];\n\n/**\n * @deprecated This interface is deprecated. Use `DsStatusBadgeProps` from `ds-status-badge` instead.\n * @see {@link ../ds-status-badge/ds-status-badge.types} for the replacement interface.\n */\nexport interface DsSystemStatusProps {\n\t/**\n\t * The status of the system\n\t */\n\tstatus: SystemStatus;\n\t/**\n\t * The label to be displayed\n\t */\n\tlabel?: string;\n\t/**\n\t * Additional CSS class names\n\t */\n\tclassName?: string;\n}\n"],"mappings":";;;;;AAIA,MAAaA,iBAAiB;CAC7B;CACA;CACA;CACA;CACA;CACA;CACA;CACA"}
@@ -1,72 +1,305 @@
1
1
  const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
2
2
  const require_core_table_module = require('./core-table.module.cjs');
3
+ let react_compiler_runtime = require("react/compiler-runtime");
3
4
  let classnames = require("classnames");
4
5
  classnames = require_rolldown_runtime.__toESM(classnames);
5
6
  let react_jsx_runtime = require("react/jsx-runtime");
6
7
 
7
8
  //#region src/components/ds-table/components/core-table/core-table.tsx
8
- function Table({ className, ref, ...props }) {
9
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
10
- ref,
11
- className: (0, classnames.default)(require_core_table_module.default.table, className),
12
- ...props
13
- });
9
+ function Table(t0) {
10
+ const $ = (0, react_compiler_runtime.c)(10);
11
+ let className;
12
+ let props;
13
+ let ref;
14
+ if ($[0] !== t0) {
15
+ ({className, ref, ...props} = t0);
16
+ $[0] = t0;
17
+ $[1] = className;
18
+ $[2] = props;
19
+ $[3] = ref;
20
+ } else {
21
+ className = $[1];
22
+ props = $[2];
23
+ ref = $[3];
24
+ }
25
+ let t1;
26
+ if ($[4] !== className) {
27
+ t1 = (0, classnames.default)(require_core_table_module.default.table, className);
28
+ $[4] = className;
29
+ $[5] = t1;
30
+ } else t1 = $[5];
31
+ let t2;
32
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
33
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
34
+ ref,
35
+ className: t1,
36
+ ...props
37
+ });
38
+ $[6] = props;
39
+ $[7] = ref;
40
+ $[8] = t1;
41
+ $[9] = t2;
42
+ } else t2 = $[9];
43
+ return t2;
14
44
  }
15
45
  Table.displayName = "Table";
16
- function TableHeader({ className, ref, ...props }) {
17
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
18
- ref,
19
- className: (0, classnames.default)(require_core_table_module.default.tableHeader, className),
20
- ...props
21
- });
46
+ function TableHeader(t0) {
47
+ const $ = (0, react_compiler_runtime.c)(10);
48
+ let className;
49
+ let props;
50
+ let ref;
51
+ if ($[0] !== t0) {
52
+ ({className, ref, ...props} = t0);
53
+ $[0] = t0;
54
+ $[1] = className;
55
+ $[2] = props;
56
+ $[3] = ref;
57
+ } else {
58
+ className = $[1];
59
+ props = $[2];
60
+ ref = $[3];
61
+ }
62
+ let t1;
63
+ if ($[4] !== className) {
64
+ t1 = (0, classnames.default)(require_core_table_module.default.tableHeader, className);
65
+ $[4] = className;
66
+ $[5] = t1;
67
+ } else t1 = $[5];
68
+ let t2;
69
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
70
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
71
+ ref,
72
+ className: t1,
73
+ ...props
74
+ });
75
+ $[6] = props;
76
+ $[7] = ref;
77
+ $[8] = t1;
78
+ $[9] = t2;
79
+ } else t2 = $[9];
80
+ return t2;
22
81
  }
23
82
  TableHeader.displayName = "TableHeader";
24
- function TableBody({ className, ref, ...props }) {
25
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
26
- ref,
27
- className: (0, classnames.default)(require_core_table_module.default.tableBody, className),
28
- ...props
29
- });
83
+ function TableBody(t0) {
84
+ const $ = (0, react_compiler_runtime.c)(10);
85
+ let className;
86
+ let props;
87
+ let ref;
88
+ if ($[0] !== t0) {
89
+ ({className, ref, ...props} = t0);
90
+ $[0] = t0;
91
+ $[1] = className;
92
+ $[2] = props;
93
+ $[3] = ref;
94
+ } else {
95
+ className = $[1];
96
+ props = $[2];
97
+ ref = $[3];
98
+ }
99
+ let t1;
100
+ if ($[4] !== className) {
101
+ t1 = (0, classnames.default)(require_core_table_module.default.tableBody, className);
102
+ $[4] = className;
103
+ $[5] = t1;
104
+ } else t1 = $[5];
105
+ let t2;
106
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
107
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
108
+ ref,
109
+ className: t1,
110
+ ...props
111
+ });
112
+ $[6] = props;
113
+ $[7] = ref;
114
+ $[8] = t1;
115
+ $[9] = t2;
116
+ } else t2 = $[9];
117
+ return t2;
30
118
  }
31
119
  TableBody.displayName = "TableBody";
32
- function TableFooter({ className, ref, ...props }) {
33
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
34
- ref,
35
- className: (0, classnames.default)(require_core_table_module.default.tableFooter, className),
36
- ...props
37
- });
120
+ function TableFooter(t0) {
121
+ const $ = (0, react_compiler_runtime.c)(10);
122
+ let className;
123
+ let props;
124
+ let ref;
125
+ if ($[0] !== t0) {
126
+ ({className, ref, ...props} = t0);
127
+ $[0] = t0;
128
+ $[1] = className;
129
+ $[2] = props;
130
+ $[3] = ref;
131
+ } else {
132
+ className = $[1];
133
+ props = $[2];
134
+ ref = $[3];
135
+ }
136
+ let t1;
137
+ if ($[4] !== className) {
138
+ t1 = (0, classnames.default)(require_core_table_module.default.tableFooter, className);
139
+ $[4] = className;
140
+ $[5] = t1;
141
+ } else t1 = $[5];
142
+ let t2;
143
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
144
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
145
+ ref,
146
+ className: t1,
147
+ ...props
148
+ });
149
+ $[6] = props;
150
+ $[7] = ref;
151
+ $[8] = t1;
152
+ $[9] = t2;
153
+ } else t2 = $[9];
154
+ return t2;
38
155
  }
39
156
  TableFooter.displayName = "TableFooter";
40
- function TableRow({ className, ref, ...props }) {
41
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
42
- ref,
43
- className: (0, classnames.default)(require_core_table_module.default.tableRow, className),
44
- ...props
45
- });
157
+ function TableRow(t0) {
158
+ const $ = (0, react_compiler_runtime.c)(10);
159
+ let className;
160
+ let props;
161
+ let ref;
162
+ if ($[0] !== t0) {
163
+ ({className, ref, ...props} = t0);
164
+ $[0] = t0;
165
+ $[1] = className;
166
+ $[2] = props;
167
+ $[3] = ref;
168
+ } else {
169
+ className = $[1];
170
+ props = $[2];
171
+ ref = $[3];
172
+ }
173
+ let t1;
174
+ if ($[4] !== className) {
175
+ t1 = (0, classnames.default)(require_core_table_module.default.tableRow, className);
176
+ $[4] = className;
177
+ $[5] = t1;
178
+ } else t1 = $[5];
179
+ let t2;
180
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
181
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
182
+ ref,
183
+ className: t1,
184
+ ...props
185
+ });
186
+ $[6] = props;
187
+ $[7] = ref;
188
+ $[8] = t1;
189
+ $[9] = t2;
190
+ } else t2 = $[9];
191
+ return t2;
46
192
  }
47
193
  TableRow.displayName = "TableRow";
48
- function TableHead({ className, ref, ...props }) {
49
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
50
- ref,
51
- className: (0, classnames.default)(require_core_table_module.default.tableHead, className),
52
- ...props
53
- });
194
+ function TableHead(t0) {
195
+ const $ = (0, react_compiler_runtime.c)(10);
196
+ let className;
197
+ let props;
198
+ let ref;
199
+ if ($[0] !== t0) {
200
+ ({className, ref, ...props} = t0);
201
+ $[0] = t0;
202
+ $[1] = className;
203
+ $[2] = props;
204
+ $[3] = ref;
205
+ } else {
206
+ className = $[1];
207
+ props = $[2];
208
+ ref = $[3];
209
+ }
210
+ let t1;
211
+ if ($[4] !== className) {
212
+ t1 = (0, classnames.default)(require_core_table_module.default.tableHead, className);
213
+ $[4] = className;
214
+ $[5] = t1;
215
+ } else t1 = $[5];
216
+ let t2;
217
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
218
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
219
+ ref,
220
+ className: t1,
221
+ ...props
222
+ });
223
+ $[6] = props;
224
+ $[7] = ref;
225
+ $[8] = t1;
226
+ $[9] = t2;
227
+ } else t2 = $[9];
228
+ return t2;
54
229
  }
55
230
  TableHead.displayName = "TableHead";
56
- function TableCell({ className, ref, ...props }) {
57
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
58
- ref,
59
- className: (0, classnames.default)(require_core_table_module.default.tableCell, className),
60
- ...props
61
- });
231
+ function TableCell(t0) {
232
+ const $ = (0, react_compiler_runtime.c)(10);
233
+ let className;
234
+ let props;
235
+ let ref;
236
+ if ($[0] !== t0) {
237
+ ({className, ref, ...props} = t0);
238
+ $[0] = t0;
239
+ $[1] = className;
240
+ $[2] = props;
241
+ $[3] = ref;
242
+ } else {
243
+ className = $[1];
244
+ props = $[2];
245
+ ref = $[3];
246
+ }
247
+ let t1;
248
+ if ($[4] !== className) {
249
+ t1 = (0, classnames.default)(require_core_table_module.default.tableCell, className);
250
+ $[4] = className;
251
+ $[5] = t1;
252
+ } else t1 = $[5];
253
+ let t2;
254
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
255
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
256
+ ref,
257
+ className: t1,
258
+ ...props
259
+ });
260
+ $[6] = props;
261
+ $[7] = ref;
262
+ $[8] = t1;
263
+ $[9] = t2;
264
+ } else t2 = $[9];
265
+ return t2;
62
266
  }
63
267
  TableCell.displayName = "TableCell";
64
- function TableCaption({ className, ref, ...props }) {
65
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
66
- ref,
67
- className: (0, classnames.default)(require_core_table_module.default.tableCaption, className),
68
- ...props
69
- });
268
+ function TableCaption(t0) {
269
+ const $ = (0, react_compiler_runtime.c)(10);
270
+ let className;
271
+ let props;
272
+ let ref;
273
+ if ($[0] !== t0) {
274
+ ({className, ref, ...props} = t0);
275
+ $[0] = t0;
276
+ $[1] = className;
277
+ $[2] = props;
278
+ $[3] = ref;
279
+ } else {
280
+ className = $[1];
281
+ props = $[2];
282
+ ref = $[3];
283
+ }
284
+ let t1;
285
+ if ($[4] !== className) {
286
+ t1 = (0, classnames.default)(require_core_table_module.default.tableCaption, className);
287
+ $[4] = className;
288
+ $[5] = t1;
289
+ } else t1 = $[5];
290
+ let t2;
291
+ if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
292
+ t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
293
+ ref,
294
+ className: t1,
295
+ ...props
296
+ });
297
+ $[6] = props;
298
+ $[7] = ref;
299
+ $[8] = t1;
300
+ $[9] = t2;
301
+ } else t2 = $[9];
302
+ return t2;
70
303
  }
71
304
  TableCaption.displayName = "TableCaption";
72
305