@dynamic-framework/ui-react 1.7.2 → 1.8.0

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 (228) hide show
  1. package/dist/css/dynamic-ui-non-root.css +17060 -0
  2. package/dist/css/dynamic-ui-non-root.min.css +1 -0
  3. package/dist/css/{dynamic-root.css → dynamic-ui-root.css} +5 -0
  4. package/dist/css/{dynamic-root.min.css → dynamic-ui-root.min.css} +1 -1
  5. package/dist/css/dynamic-ui.css +132 -60
  6. package/dist/css/dynamic-ui.min.css +1 -1
  7. package/dist/index.esm.js +414 -551
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +572 -725
  10. package/dist/index.js.map +1 -1
  11. package/dist/types/components/{DAlert.d.ts → DAlert/DAlert.d.ts} +3 -5
  12. package/dist/types/components/DAlert/index.d.ts +2 -0
  13. package/dist/types/components/{DBadge.d.ts → DBadge/DBadge.d.ts} +2 -4
  14. package/dist/types/components/DBadge/index.d.ts +2 -0
  15. package/dist/types/components/DBoxFile/DBoxFile.d.ts +9 -0
  16. package/dist/types/components/DBoxFile/index.d.ts +2 -0
  17. package/dist/types/components/{DButton.d.ts → DButton/DButton.d.ts} +3 -5
  18. package/dist/types/components/DButton/index.d.ts +2 -0
  19. package/dist/types/components/DCard/DCard.d.ts +13 -0
  20. package/dist/types/components/DCard/components/DCardBody.d.ts +5 -0
  21. package/dist/types/components/DCard/components/DCardFooter.d.ts +5 -0
  22. package/dist/types/components/DCard/components/DCardHeader.d.ts +5 -0
  23. package/dist/types/components/DCard/index.d.ts +5 -0
  24. package/dist/types/components/DCardAccount/DCardAccount.d.ts +13 -0
  25. package/dist/types/components/DCardAccount/index.d.ts +2 -0
  26. package/dist/types/components/DCarousel/DCarousel.d.ts +10 -0
  27. package/dist/types/components/DCarousel/index.d.ts +3 -0
  28. package/dist/types/components/DChip/DChip.d.ts +10 -0
  29. package/dist/types/components/DChip/index.d.ts +2 -0
  30. package/dist/types/components/DCollapse/DCollapse.d.ts +11 -0
  31. package/dist/types/components/DCollapse/index.d.ts +2 -0
  32. package/dist/types/components/{DCollapseIconText.d.ts → DCollapseIconText/DCollapseIconText.d.ts} +3 -3
  33. package/dist/types/components/DCollapseIconText/index.d.ts +2 -0
  34. package/dist/types/components/DCurrencyText/DCurrencyText.d.ts +7 -0
  35. package/dist/types/components/DCurrencyText/index.d.ts +2 -0
  36. package/dist/types/components/DDatePicker/DDatePicker.d.ts +21 -0
  37. package/dist/types/components/DDatePicker/index.d.ts +2 -0
  38. package/dist/types/components/{DDatePickerHeader.d.ts → DDatePickerHeader/DDatePickerHeader.d.ts} +5 -4
  39. package/dist/types/components/DDatePickerHeader/index.d.ts +2 -0
  40. package/dist/types/components/{DDatePickerInput.d.ts → DDatePickerInput/DDatePickerInput.d.ts} +3 -2
  41. package/dist/types/components/DDatePickerInput/index.d.ts +2 -0
  42. package/dist/types/components/DDatePickerTime/DDatePickerTime.d.ts +9 -0
  43. package/dist/types/components/DDatePickerTime/index.d.ts +2 -0
  44. package/dist/types/components/DIcon/DIcon.d.ts +16 -0
  45. package/dist/types/components/DIcon/index.d.ts +2 -0
  46. package/dist/types/components/DInput/DInput.d.ts +15 -0
  47. package/dist/types/components/DInput/index.d.ts +2 -0
  48. package/dist/types/components/{DInputCheck.d.ts → DInputCheck/DInputCheck.d.ts} +3 -3
  49. package/dist/types/components/DInputCheck/index.d.ts +2 -0
  50. package/dist/types/components/DInputCounter/DInputCounter.d.ts +20 -0
  51. package/dist/types/components/DInputCounter/index.d.ts +2 -0
  52. package/dist/types/components/DInputCurrency/DInputCurrency.d.ts +21 -0
  53. package/dist/types/components/DInputCurrency/index.d.ts +2 -0
  54. package/dist/types/components/DInputCurrencyBase/DInputCurrencyBase.d.ts +23 -0
  55. package/dist/types/components/DInputCurrencyBase/index.d.ts +2 -0
  56. package/dist/types/components/DInputPassword/DInputPassword.d.ts +5 -0
  57. package/dist/types/components/DInputPassword/index.d.ts +2 -0
  58. package/dist/types/components/{DInputPin.d.ts → DInputPin/DInputPin.d.ts} +3 -3
  59. package/dist/types/components/DInputPin/index.d.ts +2 -0
  60. package/dist/types/components/DInputSearch/DInputSearch.d.ts +17 -0
  61. package/dist/types/components/DInputSearch/index.d.ts +2 -0
  62. package/dist/types/components/{DInputSelect.d.ts → DInputSelect/DInputSelect.d.ts} +3 -4
  63. package/dist/types/components/DInputSelect/index.d.ts +3 -0
  64. package/dist/types/components/{DInputSwitch.d.ts → DInputSwitch/DInputSwitch.d.ts} +4 -3
  65. package/dist/types/components/DInputSwitch/index.d.ts +2 -0
  66. package/dist/types/components/DList/DList.d.ts +14 -0
  67. package/dist/types/components/DList/components/DListItem.d.ts +10 -0
  68. package/dist/types/components/DList/index.d.ts +3 -0
  69. package/dist/types/components/DListItemMovement/DListItemMovement.d.ts +10 -0
  70. package/dist/types/components/DListItemMovement/index.d.ts +2 -0
  71. package/dist/types/components/DModal/DModal.d.ts +21 -0
  72. package/dist/types/components/DModal/components/DModalBody.d.ts +7 -0
  73. package/dist/types/components/DModal/components/DModalFooter.d.ts +7 -0
  74. package/dist/types/components/{DModalHeader.d.ts → DModal/components/DModalHeader.d.ts} +3 -2
  75. package/dist/types/components/DModal/index.d.ts +5 -0
  76. package/dist/types/components/DMonthPicker/DMonthPicker.d.ts +9 -0
  77. package/dist/types/components/DMonthPicker/index.d.ts +2 -0
  78. package/dist/types/components/DOffcanvas/DOffcanvas.d.ts +18 -0
  79. package/dist/types/components/DOffcanvas/components/DOffcanvasBody.d.ts +7 -0
  80. package/dist/types/components/{DOffcanvasFooter.d.ts → DOffcanvas/components/DOffcanvasFooter.d.ts} +3 -2
  81. package/dist/types/components/{DOffcanvasHeader.d.ts → DOffcanvas/components/DOffcanvasHeader.d.ts} +3 -2
  82. package/dist/types/components/DOffcanvas/index.d.ts +5 -0
  83. package/dist/types/components/DPaginator/index.d.ts +2 -0
  84. package/dist/types/components/{DPopover.d.ts → DPopover/DPopover.d.ts} +3 -2
  85. package/dist/types/components/DPopover/index.d.ts +2 -0
  86. package/dist/types/components/DProgress/DProgress.d.ts +10 -0
  87. package/dist/types/components/DProgress/index.d.ts +2 -0
  88. package/dist/types/components/{DQuickActionButton.d.ts → DQuickActionButton/DQuickActionButton.d.ts} +2 -4
  89. package/dist/types/components/DQuickActionButton/index.d.ts +2 -0
  90. package/dist/types/components/{DQuickActionCheck.d.ts → DQuickActionCheck/DQuickActionCheck.d.ts} +3 -3
  91. package/dist/types/components/DQuickActionCheck/index.d.ts +2 -0
  92. package/dist/types/components/{DQuickActionSelect.d.ts → DQuickActionSelect/DQuickActionSelect.d.ts} +3 -3
  93. package/dist/types/components/DQuickActionSelect/index.d.ts +2 -0
  94. package/dist/types/components/{DQuickActionSwitch.d.ts → DQuickActionSwitch/DQuickActionSwitch.d.ts} +3 -3
  95. package/dist/types/components/DQuickActionSwitch/index.d.ts +2 -0
  96. package/dist/types/components/DSkeleton/index.d.ts +2 -0
  97. package/dist/types/components/{DStepper.d.ts → DStepper/DStepper.d.ts} +3 -3
  98. package/dist/types/components/DStepper/index.d.ts +2 -0
  99. package/dist/types/components/{DStepperDesktop.d.ts → DStepperDesktop/DStepperDesktop.d.ts} +3 -2
  100. package/dist/types/components/DStepperDesktop/index.d.ts +2 -0
  101. package/dist/types/components/DStepperMobile/DStepperMobile.d.ts +12 -0
  102. package/dist/types/components/DStepperMobile/index.d.ts +2 -0
  103. package/dist/types/components/DTabs/DTabs.d.ts +19 -0
  104. package/dist/types/components/DTabs/TabContext.d.ts +8 -0
  105. package/dist/types/components/DTabs/components/DTabContent.d.ts +7 -0
  106. package/dist/types/components/DTabs/index.d.ts +5 -0
  107. package/dist/types/components/{DToastContainer.d.ts → DToastContainer/DToastContainer.d.ts} +3 -2
  108. package/dist/types/components/DToastContainer/index.d.ts +3 -0
  109. package/dist/types/{hooks → components/DToastContainer}/useToast.d.ts +1 -1
  110. package/dist/types/components/{DTooltip.d.ts → DTooltip/DTooltip.d.ts} +3 -4
  111. package/dist/types/components/DTooltip/index.d.ts +2 -0
  112. package/dist/types/components/index.d.ts +11 -26
  113. package/dist/types/components/interface.d.ts +9 -4
  114. package/dist/types/contexts/DContext.d.ts +13 -0
  115. package/dist/types/contexts/index.d.ts +1 -1
  116. package/dist/types/hooks/index.d.ts +3 -4
  117. package/dist/types/hooks/useInputCurrency.d.ts +16 -0
  118. package/dist/types/hooks/useProvidedRefOrCreate.d.ts +16 -0
  119. package/dist/types/types/index.d.ts +1 -0
  120. package/dist/types/types/polymorphic.d.ts +37 -0
  121. package/dist/types/utils/index.d.ts +0 -1
  122. package/package.json +48 -55
  123. package/src/style/abstracts/variables/_buttons.scss +1 -1
  124. package/src/style/abstracts/variables/_forms.scss +4 -4
  125. package/src/style/abstracts/variables/_toasts.scss +1 -1
  126. package/src/style/abstracts/variables/_typography.scss +1 -1
  127. package/src/style/base/_+import.scss +0 -3
  128. package/src/style/components/_d-input.scss +10 -5
  129. package/src/style/components/_d-monthpicker.scss +8 -0
  130. package/src/style/dynamic-ui-non-root.scss +13 -0
  131. package/src/style/dynamic-ui-root.scss +5 -0
  132. package/src/style/dynamic-ui.scss +2 -0
  133. package/src/style/root/_+import.scss +2 -0
  134. package/src/style/{base → root}/_root.scss +6 -0
  135. package/dist/types/components/DBoxFile.d.ts +0 -9
  136. package/dist/types/components/DCard.d.ts +0 -7
  137. package/dist/types/components/DCardAccount.d.ts +0 -13
  138. package/dist/types/components/DCardBody.d.ts +0 -6
  139. package/dist/types/components/DCardFooter.d.ts +0 -6
  140. package/dist/types/components/DCardHeader.d.ts +0 -6
  141. package/dist/types/components/DCarousel.d.ts +0 -7
  142. package/dist/types/components/DChip.d.ts +0 -10
  143. package/dist/types/components/DCollapse.d.ts +0 -11
  144. package/dist/types/components/DCurrencyText.d.ts +0 -6
  145. package/dist/types/components/DDatePicker.d.ts +0 -20
  146. package/dist/types/components/DDatePickerTime.d.ts +0 -8
  147. package/dist/types/components/DFormikInput.d.ts +0 -7
  148. package/dist/types/components/DFormikInputCurrency.d.ts +0 -7
  149. package/dist/types/components/DFormikInputSelect.d.ts +0 -6
  150. package/dist/types/components/DIcon.d.ts +0 -16
  151. package/dist/types/components/DInput.d.ts +0 -32
  152. package/dist/types/components/DInputCounter.d.ts +0 -22
  153. package/dist/types/components/DInputCurrency.d.ts +0 -5
  154. package/dist/types/components/DInputCurrencyBase.d.ts +0 -24
  155. package/dist/types/components/DInputPassword.d.ts +0 -17
  156. package/dist/types/components/DInputSearch.d.ts +0 -19
  157. package/dist/types/components/DList.d.ts +0 -11
  158. package/dist/types/components/DListItem.d.ts +0 -10
  159. package/dist/types/components/DListItemMovement.d.ts +0 -10
  160. package/dist/types/components/DModal.d.ts +0 -14
  161. package/dist/types/components/DModalBody.d.ts +0 -6
  162. package/dist/types/components/DModalFooter.d.ts +0 -6
  163. package/dist/types/components/DMonthPicker.d.ts +0 -7
  164. package/dist/types/components/DOffcanvas.d.ts +0 -11
  165. package/dist/types/components/DOffcanvasBody.d.ts +0 -6
  166. package/dist/types/components/DProgress.d.ts +0 -9
  167. package/dist/types/components/DStepperMobile.d.ts +0 -11
  168. package/dist/types/components/DTabContent.d.ts +0 -6
  169. package/dist/types/components/DTabs.d.ts +0 -19
  170. package/dist/types/contexts/LiquidContext.d.ts +0 -14
  171. package/dist/types/hooks/useScreenshot.d.ts +0 -5
  172. package/dist/types/hooks/useScreenshotDownload.d.ts +0 -5
  173. package/dist/types/hooks/useScreenshotWebShare.d.ts +0 -5
  174. package/dist/types/stories/components/DBadge.stories.d.ts +0 -8
  175. package/dist/types/stories/components/DBoxFile.stories.d.ts +0 -6
  176. package/dist/types/stories/components/DButton.stories.d.ts +0 -35
  177. package/dist/types/stories/components/DChip.stories.d.ts +0 -9
  178. package/dist/types/stories/components/DCurrencyText.stories.d.ts +0 -6
  179. package/dist/types/stories/components/DDatePicker.stories.d.ts +0 -14
  180. package/dist/types/stories/components/DFormikInput.stories.d.ts +0 -7
  181. package/dist/types/stories/components/DFormikInputCurrency.stories.d.ts +0 -8
  182. package/dist/types/stories/components/DFormikInputSelect.stories.d.ts +0 -7
  183. package/dist/types/stories/components/DIcon.stories.d.ts +0 -7
  184. package/dist/types/stories/components/DInput.stories.d.ts +0 -11
  185. package/dist/types/stories/components/DInputCheck.stories.d.ts +0 -13
  186. package/dist/types/stories/components/DInputCounter.stories.d.ts +0 -9
  187. package/dist/types/stories/components/DInputCurrency.stories.d.ts +0 -11
  188. package/dist/types/stories/components/DInputCurrencyBase.stories.d.ts +0 -11
  189. package/dist/types/stories/components/DInputPassword.stories.d.ts +0 -10
  190. package/dist/types/stories/components/DInputPin.stories.d.ts +0 -10
  191. package/dist/types/stories/components/DInputSearch.stories.d.ts +0 -10
  192. package/dist/types/stories/components/DInputSelect.stories.d.ts +0 -14
  193. package/dist/types/stories/components/DInputSwitch.stories.d.ts +0 -11
  194. package/dist/types/stories/components/DList.stories.d.ts +0 -10
  195. package/dist/types/stories/components/DListItem.stories.d.ts +0 -9
  196. package/dist/types/stories/components/DListItemMovement.stories.d.ts +0 -7
  197. package/dist/types/stories/components/DPaginator.stories.d.ts +0 -10
  198. package/dist/types/stories/components/DProgress.stories.d.ts +0 -12
  199. package/dist/types/stories/components/DQuickActionButton.stories.d.ts +0 -10
  200. package/dist/types/stories/components/DQuickActionCheck.stories.d.ts +0 -8
  201. package/dist/types/stories/components/DQuickActionSelect.stories.d.ts +0 -8
  202. package/dist/types/stories/components/DQuickActionSwitch.stories.d.ts +0 -9
  203. package/dist/types/stories/components/DSkeleton.stories.d.ts +0 -6
  204. package/dist/types/stories/components/DStepper.stories.d.ts +0 -7
  205. package/dist/types/stories/components/DStepperDesktop.stories.d.ts +0 -7
  206. package/dist/types/stories/components/DStepperMobile.stories.d.ts +0 -6
  207. package/dist/types/stories/components/DTooltip.stories.d.ts +0 -18
  208. package/dist/types/stories/config/constants.d.ts +0 -7
  209. package/dist/types/stories/config/liquidConfig.d.ts +0 -1
  210. package/dist/types/stories/hooks/useFormatCurrency.stories.d.ts +0 -6
  211. package/dist/types/stories/hooks/useModalContext.stories.d.ts +0 -6
  212. package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +0 -7
  213. package/dist/types/stories/hooks/useToast.stories.d.ts +0 -17
  214. package/dist/types/stories/patterns/DAlert.stories.d.ts +0 -24
  215. package/dist/types/stories/patterns/DCard.stories.d.ts +0 -10
  216. package/dist/types/stories/patterns/DCardAccount.stories.d.ts +0 -6
  217. package/dist/types/stories/patterns/DCarousel.stories.d.ts +0 -9
  218. package/dist/types/stories/patterns/DCollapse.stories.d.ts +0 -8
  219. package/dist/types/stories/patterns/DCollapseIconText.stories.d.ts +0 -6
  220. package/dist/types/stories/patterns/DModal.stories.d.ts +0 -12
  221. package/dist/types/stories/patterns/DOffcanvas.stories.d.ts +0 -12
  222. package/dist/types/stories/patterns/DPopover.stories.d.ts +0 -9
  223. package/dist/types/stories/patterns/DTabs.stories.d.ts +0 -7
  224. package/dist/types/utils/liquid-parser.d.ts +0 -20
  225. package/src/style/dynamic-root.scss +0 -6
  226. /package/dist/types/components/{DCarouselSlide.d.ts → DCarousel/components/DCarouselSlide.d.ts} +0 -0
  227. /package/dist/types/components/{DPaginator.d.ts → DPaginator/DPaginator.d.ts} +0 -0
  228. /package/dist/types/components/{DSkeleton.d.ts → DSkeleton/DSkeleton.d.ts} +0 -0
@@ -1,9 +1,7 @@
1
- import type { CSSProperties, PropsWithChildren } from 'react';
2
- import type { AlertType } from './interface';
3
- type Props = PropsWithChildren<{
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { AlertType, BaseProps } from '../interface';
3
+ type Props = BaseProps & PropsWithChildren<{
4
4
  id?: string;
5
- className?: string;
6
- style?: CSSProperties;
7
5
  type?: AlertType;
8
6
  icon?: string;
9
7
  iconFamilyClass?: string;
@@ -0,0 +1,2 @@
1
+ import DAlert from './DAlert';
2
+ export default DAlert;
@@ -1,11 +1,9 @@
1
- import type { CSSProperties } from 'react';
2
- type Props = {
1
+ import type { BaseProps } from '../interface';
2
+ type Props = BaseProps & {
3
3
  text?: string;
4
4
  isDot?: boolean;
5
5
  theme?: string;
6
6
  id?: string;
7
- className?: string;
8
- style?: CSSProperties;
9
7
  };
10
8
  export default function DBadge({ text, isDot, theme, id, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
11
9
  export {};
@@ -0,0 +1,2 @@
1
+ import DBadge from './DBadge';
2
+ export default DBadge;
@@ -0,0 +1,9 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { DropzoneOptions } from 'react-dropzone';
3
+ import type { BaseProps, FamilyIconProps } from '../interface';
4
+ type Props = BaseProps & FamilyIconProps & PropsWithChildren<Pick<DropzoneOptions, 'accept' | 'minSize' | 'maxSize' | 'maxFiles' | 'onDrop' | 'onDropAccepted' | 'onDropRejected' | 'onFileDialogCancel' | 'onFileDialogOpen'> & {
5
+ icon?: string;
6
+ isDisabled: DropzoneOptions['disabled'];
7
+ }>;
8
+ export default function DBoxFile({ icon, iconFamilyClass, iconFamilyPrefix, isDisabled, children, className, style, ...dropzoneOptions }: Props): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import DBoxFile from './DBoxFile';
2
+ export default DBoxFile;
@@ -1,9 +1,7 @@
1
- import type { MouseEvent, CSSProperties } from 'react';
2
- import type { ButtonType, ButtonVariant, ComponentSize, EndIcon, InputState, StartIcon } from './interface';
3
- type Props = StartIcon & EndIcon & {
1
+ import type { MouseEvent } from 'react';
2
+ import type { BaseProps, ButtonType, ButtonVariant, ComponentSize, EndIconProps, InputState, StartIconProps } from '../interface';
3
+ type Props = BaseProps & StartIconProps & EndIconProps & {
4
4
  id?: string;
5
- className?: string;
6
- style?: CSSProperties;
7
5
  theme?: string;
8
6
  size?: ComponentSize;
9
7
  variant?: ButtonVariant;
@@ -0,0 +1,2 @@
1
+ import DButton from './DButton';
2
+ export default DButton;
@@ -0,0 +1,13 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import DCardHeader from './components/DCardHeader';
3
+ import DCardBody from './components/DCardBody';
4
+ import DCardFooter from './components/DCardFooter';
5
+ import type { BaseProps } from '../interface';
6
+ type Props = PropsWithChildren<BaseProps>;
7
+ declare function DCard({ className, style, children, }: Props): import("react/jsx-runtime").JSX.Element;
8
+ declare const _default: typeof DCard & {
9
+ Header: typeof DCardHeader;
10
+ Body: typeof DCardBody;
11
+ Footer: typeof DCardFooter;
12
+ };
13
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { BaseProps } from '../../interface';
3
+ type Props = PropsWithChildren<BaseProps>;
4
+ export default function DCardBody({ className, style, children, }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { BaseProps } from '../../interface';
3
+ type Props = PropsWithChildren<BaseProps>;
4
+ export default function DCardFooter({ className, style, children, }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { BaseProps } from '../../interface';
3
+ type Props = PropsWithChildren<BaseProps>;
4
+ export default function DCardHeader({ className, style, children, }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import DCard from './DCard';
2
+ export { default as DCardHeader } from './components/DCardHeader';
3
+ export { default as DCardBody } from './components/DCardBody';
4
+ export { default as DCardFooter } from './components/DCardFooter';
5
+ export default DCard;
@@ -0,0 +1,13 @@
1
+ import type { BaseProps } from '../interface';
2
+ type Props = BaseProps & {
3
+ icon: string;
4
+ theme: string;
5
+ name: string;
6
+ number: string;
7
+ balance: string;
8
+ balanceText: string;
9
+ onClick: () => void;
10
+ actionText: string;
11
+ };
12
+ export default function DCardAccount({ className, style, icon, theme, name, number, balance, balanceText, onClick, actionText, }: Props): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import DCardAccount from './DCardAccount';
2
+ export default DCardAccount;
@@ -0,0 +1,10 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { SplideProps } from '@splidejs/react-splide';
3
+ import DCarouselSlide from './components/DCarouselSlide';
4
+ import type { BaseProps } from '../interface';
5
+ type Props = SplideProps & PropsWithChildren<BaseProps>;
6
+ declare function DCarousel({ children, className, style, options, ...props }: Props): import("react/jsx-runtime").JSX.Element;
7
+ declare const _default: typeof DCarousel & {
8
+ Slide: typeof DCarouselSlide;
9
+ };
10
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import DCarousel from './DCarousel';
2
+ export { default as DCarouselSlide } from './components/DCarouselSlide';
3
+ export default DCarousel;
@@ -0,0 +1,10 @@
1
+ import type { BaseProps, FamilyIconProps } from '../interface';
2
+ type Props = BaseProps & FamilyIconProps & {
3
+ theme?: string;
4
+ text?: string;
5
+ icon?: string;
6
+ showClose?: boolean;
7
+ onClose?: () => void;
8
+ };
9
+ export default function DChip({ theme, text, icon, iconFamilyClass, iconFamilyPrefix, showClose, className, style, onClose, }: Props): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import DChip from './DChip';
2
+ export default DChip;
@@ -0,0 +1,11 @@
1
+ import type { PropsWithChildren, ReactNode, ReactElement } from 'react';
2
+ import type { BaseProps } from '../interface';
3
+ type Props = BaseProps & PropsWithChildren<{
4
+ id?: string;
5
+ Component: ReactElement | ReactNode;
6
+ hasSeparator?: boolean;
7
+ defaultCollapsed?: boolean;
8
+ onChange?: (value: boolean) => void;
9
+ }>;
10
+ export default function DCollapse({ id, className, style, Component, hasSeparator, defaultCollapsed, onChange, children, }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ import DCollapse from './DCollapse';
2
+ export default DCollapse;
@@ -1,6 +1,6 @@
1
1
  import type { PropsWithChildren } from 'react';
2
- import type { FamilyIcon } from './interface';
3
- type Props = FamilyIcon & PropsWithChildren<{
2
+ import type { BaseProps, FamilyIconProps } from '../interface';
3
+ type Props = BaseProps & FamilyIconProps & PropsWithChildren<{
4
4
  /**
5
5
  * Icon name
6
6
  */
@@ -18,5 +18,5 @@ type Props = FamilyIcon & PropsWithChildren<{
18
18
  */
19
19
  title: string;
20
20
  }>;
21
- export default function DCollapseIconText({ children, icon, iconSize, iconTheme, title, iconFamilyClass, iconFamilyPrefix, }: Props): import("react/jsx-runtime").JSX.Element;
21
+ export default function DCollapseIconText({ children, icon, iconSize, iconTheme, title, iconFamilyClass, iconFamilyPrefix, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
22
22
  export {};
@@ -0,0 +1,2 @@
1
+ import DCollapseIconText from './DCollapseIconText';
2
+ export default DCollapseIconText;
@@ -0,0 +1,7 @@
1
+ import type { BaseProps } from '../interface';
2
+ type Props = BaseProps & {
3
+ value: number;
4
+ className?: string;
5
+ };
6
+ export default function DCurrencyText({ value, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import DCurrencyText from './DCurrencyText';
2
+ export default DCurrencyText;
@@ -0,0 +1,21 @@
1
+ import type { Locale } from 'date-fns';
2
+ import type { ReactDatePickerProps } from 'react-datepicker';
3
+ import type { BaseProps, ButtonVariant, ComponentSize } from '../interface';
4
+ type Props = BaseProps & Omit<ReactDatePickerProps, 'selected' | 'selectsRange' | 'locale'> & {
5
+ date?: string | null;
6
+ withMonthSelector?: boolean;
7
+ selectsRange?: boolean;
8
+ inputLabel?: string;
9
+ inputIcon?: string;
10
+ inputId?: string;
11
+ timeId?: string;
12
+ timeLabel?: string;
13
+ headerDecreaseMonthIcon?: string;
14
+ headerIncreaseMonthIcon?: string;
15
+ headerIconSize?: ComponentSize;
16
+ headerButtonVariant?: ButtonVariant;
17
+ headerButtonTheme?: string;
18
+ locale?: Locale;
19
+ };
20
+ export default function DDatePicker({ date, selectsRange, withMonthSelector, inputLabel, inputIcon, inputId, timeId, timeLabel, headerDecreaseMonthIcon, headerIncreaseMonthIcon, headerIconSize, headerButtonVariant, headerButtonTheme, locale, className, style, ...props }: Props): import("react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -0,0 +1,2 @@
1
+ import DDatePicker from './DDatePicker';
2
+ export default DDatePicker;
@@ -1,7 +1,8 @@
1
1
  import type { ComponentProps } from 'react';
2
- import DButton from './DButton';
3
- import type { ButtonVariant, ComponentSize } from './interface';
4
- type Props = {
2
+ import DButton from '../DButton';
3
+ import type { BaseProps, ButtonVariant, ComponentSize } from '../interface';
4
+ type Props = BaseProps & {
5
+ locale?: Locale;
5
6
  monthDate: Date;
6
7
  decreaseMonth: () => void;
7
8
  increaseMonth: () => void;
@@ -16,5 +17,5 @@ type Props = {
16
17
  buttonVariant: ButtonVariant;
17
18
  buttonTheme: string;
18
19
  } & Omit<ComponentProps<typeof DButton>, 'iconStart' | 'onMClick' | 'isDisabled'>;
19
- export default function DDatePickerHeader({ monthDate, changeMonth, changeYear, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled, withMonthSelector, decreaseMonthIcon, increaseMonthIcon, iconSize, buttonVariant, buttonTheme, }: Props): import("react/jsx-runtime").JSX.Element;
20
+ export default function DDatePickerHeader({ monthDate, changeMonth, changeYear, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled, withMonthSelector, decreaseMonthIcon, increaseMonthIcon, iconSize, buttonVariant, buttonTheme, locale, style, className, }: Props): import("react/jsx-runtime").JSX.Element;
20
21
  export {};
@@ -0,0 +1,2 @@
1
+ import DDatePickerHeader from './DDatePickerHeader';
2
+ export default DDatePickerHeader;
@@ -1,6 +1,7 @@
1
1
  import type { ComponentProps } from 'react';
2
- import DInput from './DInput';
3
- type Props = {
2
+ import DInput from '../DInput';
3
+ import type { BaseProps } from '../interface';
4
+ type Props = BaseProps & {
4
5
  value?: string;
5
6
  onClick?: () => void;
6
7
  } & Omit<ComponentProps<typeof DInput>, 'type' | 'isReadOnly' | 'onIconEndClick' | 'value'>;
@@ -0,0 +1,2 @@
1
+ import DDatePickerInput from './DDatePickerInput';
2
+ export default DDatePickerInput;
@@ -0,0 +1,9 @@
1
+ import type { ComponentProps } from 'react';
2
+ import DInput from '../DInput';
3
+ import type { BaseProps } from '../interface';
4
+ type Props = BaseProps & {
5
+ value?: string;
6
+ onChange?: (value?: string) => void;
7
+ } & Omit<ComponentProps<typeof DInput>, 'type' | 'isReadOnly' | 'onChange' | 'value'>;
8
+ export default function DDatePickerTime({ value, onChange, id, label, className, style, ...props }: Props): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import DDatePickerTime from './DDatePickerTime';
2
+ export default DDatePickerTime;
@@ -0,0 +1,16 @@
1
+ import type { BaseProps } from '../interface';
2
+ type Props = BaseProps & {
3
+ icon: string;
4
+ theme?: string;
5
+ size?: string;
6
+ isLoading?: boolean;
7
+ loadingDuration?: number;
8
+ hasCircle?: boolean;
9
+ circleSize?: string;
10
+ color?: string;
11
+ backgroundColor?: string;
12
+ familyClass?: string;
13
+ familyPrefix?: string;
14
+ };
15
+ export default function DIcon({ icon, theme, style, className, size, isLoading, loadingDuration, hasCircle, circleSize, color, backgroundColor, familyClass, familyPrefix, }: Props): import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ import DIcon from './DIcon';
2
+ export default DIcon;
@@ -0,0 +1,15 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseProps, EndIconProps, FamilyIconProps, LabelIconProps, StartIconProps } from '../interface';
3
+ declare const ForwardedDInput: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "onChange" | keyof BaseProps | keyof FamilyIconProps | keyof LabelIconProps | keyof StartIconProps | keyof EndIconProps | "hint" | "valid" | "inputStart" | "onIconStartClick" | "onIconEndClick"> & BaseProps & FamilyIconProps & LabelIconProps & StartIconProps & EndIconProps & {
4
+ value?: string | undefined;
5
+ label?: string | undefined;
6
+ loading?: boolean | undefined;
7
+ hint?: string | undefined;
8
+ invalid?: boolean | undefined;
9
+ valid?: boolean | undefined;
10
+ inputStart?: ReactNode;
11
+ onChange?: ((value?: string) => void) | undefined;
12
+ onIconStartClick?: ((value?: string) => void) | undefined;
13
+ onIconEndClick?: ((value?: string) => void) | undefined;
14
+ } & import("react").RefAttributes<HTMLInputElement>>;
15
+ export default ForwardedDInput;
@@ -0,0 +1,2 @@
1
+ import DInput from './DInput';
2
+ export default DInput;
@@ -1,6 +1,6 @@
1
1
  import type { ChangeEvent } from 'react';
2
- import type { InputCheckType } from './interface';
3
- type Props = {
2
+ import type { BaseProps, InputCheckType } from '../interface';
3
+ type Props = BaseProps & {
4
4
  type: InputCheckType;
5
5
  name?: string;
6
6
  label?: string;
@@ -11,5 +11,5 @@ type Props = {
11
11
  value?: string;
12
12
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
13
13
  };
14
- export default function DInputCheck({ type, name, label, isChecked, id, isDisabled, isIndeterminate, value, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
14
+ export default function DInputCheck({ type, name, label, isChecked, id, isDisabled, isIndeterminate, value, onChange, className, style, }: Props): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -0,0 +1,2 @@
1
+ import DInputCheck from './DInputCheck';
2
+ export default DInputCheck;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ type NonDInputProps = {
3
+ value?: number;
4
+ minValue: number;
5
+ maxValue: number;
6
+ onChange?: (value?: number) => void;
7
+ };
8
+ declare const ForwardedDInputCounter: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "inputStart" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
9
+ value?: string | undefined;
10
+ label?: string | undefined;
11
+ loading?: boolean | undefined;
12
+ hint?: string | undefined;
13
+ invalid?: boolean | undefined;
14
+ valid?: boolean | undefined;
15
+ inputStart?: import("react").ReactNode;
16
+ onChange?: ((value?: string | undefined) => void) | undefined;
17
+ onIconStartClick?: ((value?: string | undefined) => void) | undefined;
18
+ onIconEndClick?: ((value?: string | undefined) => void) | undefined;
19
+ } & import("react").RefAttributes<HTMLInputElement>, "ref">, "type" | "value" | "onChange">, keyof NonDInputProps> & NonDInputProps & import("react").RefAttributes<HTMLInputElement>>;
20
+ export default ForwardedDInputCounter;
@@ -0,0 +1,2 @@
1
+ import DInputCounter from './DInputCounter';
2
+ export default DInputCounter;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ type NonDInputProps = {
3
+ value?: number;
4
+ minValue?: number;
5
+ maxValue?: number;
6
+ currencyCode?: string;
7
+ onChange?: (value?: number) => void;
8
+ };
9
+ declare const ForwardedDInputCurrencyBase: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "inputStart" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
10
+ value?: string | undefined;
11
+ label?: string | undefined;
12
+ loading?: boolean | undefined;
13
+ hint?: string | undefined;
14
+ invalid?: boolean | undefined;
15
+ valid?: boolean | undefined;
16
+ inputStart?: import("react").ReactNode;
17
+ onChange?: ((value?: string | undefined) => void) | undefined;
18
+ onIconStartClick?: ((value?: string | undefined) => void) | undefined;
19
+ onIconEndClick?: ((value?: string | undefined) => void) | undefined;
20
+ } & import("react").RefAttributes<HTMLInputElement>, "ref">, "type" | "value" | "onChange">, keyof NonDInputProps> & NonDInputProps & import("react").RefAttributes<HTMLInputElement>>;
21
+ export default ForwardedDInputCurrencyBase;
@@ -0,0 +1,2 @@
1
+ import DInputCurrency from './DInputCurrency';
2
+ export default DInputCurrency;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import type { Options } from 'currency.js';
3
+ type NonDInputProps = {
4
+ value?: number;
5
+ minValue?: number;
6
+ maxValue?: number;
7
+ currencyOptions: Options;
8
+ currencyCode?: string;
9
+ onChange?: (value?: number) => void;
10
+ };
11
+ declare const ForwardedDInputCurrencyBase: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "inputStart" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
12
+ value?: string | undefined;
13
+ label?: string | undefined;
14
+ loading?: boolean | undefined;
15
+ hint?: string | undefined;
16
+ invalid?: boolean | undefined;
17
+ valid?: boolean | undefined;
18
+ inputStart?: import("react").ReactNode;
19
+ onChange?: ((value?: string | undefined) => void) | undefined;
20
+ onIconStartClick?: ((value?: string | undefined) => void) | undefined;
21
+ onIconEndClick?: ((value?: string | undefined) => void) | undefined;
22
+ } & import("react").RefAttributes<HTMLInputElement>, "ref">, "type" | "value" | "onChange">, keyof NonDInputProps> & NonDInputProps & import("react").RefAttributes<HTMLInputElement>>;
23
+ export default ForwardedDInputCurrencyBase;
@@ -0,0 +1,2 @@
1
+ import DInputCurrencyBase from './DInputCurrencyBase';
2
+ export default DInputCurrencyBase;
@@ -0,0 +1,5 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ import DInput from '../DInput';
3
+ type Props = Omit<ComponentPropsWithoutRef<typeof DInput>, 'iconEnd' | 'type'>;
4
+ declare const ForwardedDInputPassword: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
5
+ export default ForwardedDInputPassword;
@@ -0,0 +1,2 @@
1
+ import DInputPassword from './DInputPassword';
2
+ export default DInputPassword;
@@ -1,5 +1,5 @@
1
- import type { FamilyIcon, LabelIcon, PinInputMode, PinInputType } from './interface';
2
- type Props = LabelIcon & FamilyIcon & {
1
+ import type { BaseProps, FamilyIconProps, LabelIconProps, PinInputMode, PinInputType } from '../interface';
2
+ type Props = BaseProps & LabelIconProps & FamilyIconProps & {
3
3
  id: string;
4
4
  label?: string;
5
5
  placeholder?: string;
@@ -15,5 +15,5 @@ type Props = LabelIcon & FamilyIcon & {
15
15
  isValid?: boolean;
16
16
  onChange?: (value: string) => void;
17
17
  };
18
- export default function DInputPin({ id, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, placeholder, type, isDisabled, isLoading, isSecret, iconFamilyClass, iconFamilyPrefix, characters, innerInputMode, hint, isInvalid, isValid, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
18
+ export default function DInputPin({ id, label, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, placeholder, type, isDisabled, isLoading, isSecret, iconFamilyClass, iconFamilyPrefix, characters, innerInputMode, hint, isInvalid, isValid, className, style, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -0,0 +1,2 @@
1
+ import DInputPin from './DInputPin';
2
+ export default DInputPin;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ type NonDInputProps = {
3
+ onClick?: (value: string | undefined) => void;
4
+ };
5
+ declare const ForwardedDInputSearch: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "onChange">, "value" | "loading" | "label" | "invalid" | "onChange" | keyof import("../interface").BaseProps | keyof import("../interface").FamilyIconProps | keyof import("../interface").LabelIconProps | keyof import("../interface").StartIconProps | keyof import("../interface").EndIconProps | "hint" | "valid" | "inputStart" | "onIconStartClick" | "onIconEndClick"> & import("../interface").BaseProps & import("../interface").FamilyIconProps & import("../interface").LabelIconProps & import("../interface").StartIconProps & import("../interface").EndIconProps & {
6
+ value?: string | undefined;
7
+ label?: string | undefined;
8
+ loading?: boolean | undefined;
9
+ hint?: string | undefined;
10
+ invalid?: boolean | undefined;
11
+ valid?: boolean | undefined;
12
+ inputStart?: import("react").ReactNode;
13
+ onChange?: ((value?: string | undefined) => void) | undefined;
14
+ onIconStartClick?: ((value?: string | undefined) => void) | undefined;
15
+ onIconEndClick?: ((value?: string | undefined) => void) | undefined;
16
+ } & import("react").RefAttributes<HTMLInputElement>, "ref">, "iconEnd" | "onIconEndClick">, "onClick"> & NonDInputProps & import("react").RefAttributes<HTMLInputElement>>;
17
+ export default ForwardedDInputSearch;
@@ -0,0 +1,2 @@
1
+ import DInputSearch from './DInputSearch';
2
+ export default DInputSearch;
@@ -1,14 +1,13 @@
1
1
  import type { FocusEvent, MouseEvent } from 'react';
2
- import type { EndIcon, LabelIcon, StartIcon } from './interface';
2
+ import type { BaseProps, EndIconProps, LabelIconProps, StartIconProps } from '../interface';
3
3
  export type DefaultOption = {
4
4
  value: string | number;
5
5
  label: string;
6
6
  };
7
- export type Props<T> = LabelIcon & StartIcon & EndIcon & {
7
+ export type Props<T> = BaseProps & LabelIconProps & StartIconProps & EndIconProps & {
8
8
  id: string;
9
9
  name?: string;
10
10
  label?: string;
11
- className?: string;
12
11
  isDisabled?: boolean;
13
12
  isLoading?: boolean;
14
13
  hint?: string;
@@ -21,4 +20,4 @@ export type Props<T> = LabelIcon & StartIcon & EndIcon & {
21
20
  valueExtractor?: (item: T) => string | number;
22
21
  labelExtractor?: (item: T) => string;
23
22
  };
24
- export default function DInputSelect<T extends object = DefaultOption>({ id, name, label, className, options, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, isDisabled, isLoading, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, hint, selectedOption, valueExtractor, labelExtractor, onChange, onBlur, onIconStartClick, onIconEndClick, }: Props<T>): import("react/jsx-runtime").JSX.Element;
23
+ export default function DInputSelect<T extends object = DefaultOption>({ id, name, label, className, style, options, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, isDisabled, isLoading, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, hint, selectedOption, valueExtractor, labelExtractor, onChange, onBlur, onIconStartClick, onIconEndClick, }: Props<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import DInputSelect from './DInputSelect';
2
+ export { Props as DInputSelectProps } from './DInputSelect';
3
+ export default DInputSelect;
@@ -1,4 +1,5 @@
1
- interface Props {
1
+ import type { BaseProps } from '../interface';
2
+ type Props = BaseProps & {
2
3
  label?: string;
3
4
  id: string;
4
5
  name?: string;
@@ -6,6 +7,6 @@ interface Props {
6
7
  isDisabled?: boolean;
7
8
  isReadonly?: boolean;
8
9
  onChange?: (isChecked: boolean) => void;
9
- }
10
- export default function DInputSwitch({ label, id, name, isChecked, isDisabled, isReadonly, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
10
+ };
11
+ export default function DInputSwitch({ label, id, name, isChecked, isDisabled, isReadonly, className, style, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
11
12
  export {};
@@ -0,0 +1,2 @@
1
+ import DInputSwitch from './DInputSwitch';
2
+ export default DInputSwitch;
@@ -0,0 +1,14 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import DListItem from './components/DListItem';
3
+ import type { BaseProps, BreakpointSize } from '../interface';
4
+ type Props = BaseProps & PropsWithChildren<{
5
+ isFlush?: boolean;
6
+ isNumbered?: boolean;
7
+ isHorizontal?: boolean;
8
+ horizontalBreakpoint?: BreakpointSize;
9
+ }>;
10
+ declare function DList({ children, className, style, isFlush, isNumbered, isHorizontal, horizontalBreakpoint, }: Props): import("react/jsx-runtime").JSX.Element;
11
+ declare const _default: typeof DList & {
12
+ Item: typeof DListItem;
13
+ };
14
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { BaseProps } from '../../interface';
3
+ type Props = BaseProps & PropsWithChildren<{
4
+ isActive?: boolean;
5
+ isDisabled?: boolean;
6
+ theme?: string;
7
+ onClick?: () => void;
8
+ }>;
9
+ export default function DListItem({ children, className, style, isActive, isDisabled, theme, onClick, }: Props): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import DList from './DList';
2
+ export { default as DListItem } from './components/DListItem';
3
+ export default DList;
@@ -0,0 +1,10 @@
1
+ import type { ComponentProps } from 'react';
2
+ import { DListItem } from '../DList';
3
+ import type { BaseProps } from '../interface';
4
+ type Props = BaseProps & Omit<ComponentProps<typeof DListItem>, 'children'> & {
5
+ description: string;
6
+ date: string;
7
+ amount: number;
8
+ };
9
+ export default function DListItemMovement({ description, date, amount, className, style, ...props }: Props): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import DListItemMovement from './DListItemMovement';
2
+ export default DListItemMovement;