@livechat/design-system-react-components 1.0.0-alpha.9 → 1.0.0-alpha.icons.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/components/ActionBar/ActionBar.d.ts +25 -0
  2. package/dist/components/ActionBar/ActionBar.spec.d.ts +1 -0
  3. package/dist/components/ActionBar/ActionBar.stories.d.ts +10 -0
  4. package/dist/components/ActionBar/ActionBarItem.d.ts +15 -0
  5. package/dist/components/ActionBar/index.d.ts +2 -0
  6. package/dist/components/ActionMenu/ActionMenu.d.ts +38 -0
  7. package/dist/components/ActionMenu/ActionMenu.spec.d.ts +1 -0
  8. package/dist/components/ActionMenu/ActionMenu.stories.d.ts +11 -0
  9. package/dist/components/ActionMenu/ActionMenuItem.d.ts +16 -0
  10. package/dist/components/ActionMenu/constants.d.ts +21 -0
  11. package/dist/components/ActionMenu/index.d.ts +2 -0
  12. package/dist/components/ActionMenu/types.d.ts +9 -0
  13. package/dist/components/Alert/Alert.d.ts +32 -0
  14. package/dist/components/Alert/Alert.spec.d.ts +1 -0
  15. package/dist/components/Alert/Alert.stories.d.ts +9 -0
  16. package/dist/components/Avatar/Avatar.d.ts +49 -0
  17. package/dist/components/Avatar/Avatar.helpers.d.ts +3 -0
  18. package/dist/components/Avatar/Avatar.helpers.spec.d.ts +1 -0
  19. package/dist/components/Avatar/Avatar.spec.d.ts +1 -0
  20. package/dist/components/Avatar/Avatar.stories.d.ts +22 -0
  21. package/dist/components/Avatar/index.d.ts +3 -0
  22. package/dist/components/Badge/Badge.d.ts +24 -0
  23. package/dist/components/Badge/Badge.helpers.d.ts +1 -0
  24. package/dist/components/Badge/Badge.spec.d.ts +1 -0
  25. package/dist/components/Badge/Badge.stories.d.ts +12 -0
  26. package/dist/components/Button/Button.d.ts +63 -0
  27. package/dist/components/Button/Button.spec.d.ts +1 -0
  28. package/dist/components/Button/Button.stories.d.ts +28 -0
  29. package/dist/components/Button/index.d.ts +2 -0
  30. package/dist/components/Card/Card.d.ts +30 -0
  31. package/dist/components/Card/Card.spec.d.ts +1 -0
  32. package/dist/components/Card/Card.stories.d.ts +11 -0
  33. package/dist/components/Checkbox/Checkbox.d.ts +16 -0
  34. package/dist/components/Checkbox/Checkbox.spec.d.ts +1 -0
  35. package/dist/components/Checkbox/Checkbox.stories.d.ts +13 -0
  36. package/dist/components/Checkbox/index.d.ts +1 -0
  37. package/dist/components/DatePicker/DatePicker.d.ts +4 -0
  38. package/dist/components/DatePicker/DatePicker.spec.d.ts +1 -0
  39. package/dist/components/DatePicker/DatePicker.stories.d.ts +7 -0
  40. package/dist/components/DatePicker/DatePickerNavbar.d.ts +4 -0
  41. package/dist/components/DatePicker/DatePickerRangeCalendarsWrapper.d.ts +2 -0
  42. package/dist/components/DatePicker/RangeDatePicker.d.ts +16 -0
  43. package/dist/components/DatePicker/RangeDatePicker.spec.d.ts +1 -0
  44. package/dist/components/DatePicker/RangeDatePicker.stories.d.ts +4 -0
  45. package/dist/components/DatePicker/helpers.d.ts +16 -0
  46. package/dist/components/DatePicker/hooks.d.ts +6 -0
  47. package/dist/components/DatePicker/index.d.ts +2 -0
  48. package/dist/components/DatePicker/types.d.ts +100 -0
  49. package/dist/{src/components → components}/FieldDescription/FieldDescription.d.ts +1 -1
  50. package/dist/{src/components → components}/FieldError/FieldError.d.ts +1 -1
  51. package/dist/{src/components → components}/FieldGroup/FieldGroup.d.ts +1 -1
  52. package/dist/components/FieldGroup/FieldGroup.spec.d.ts +1 -0
  53. package/dist/components/FieldGroup/FieldGroup.stories.d.ts +10 -0
  54. package/dist/components/FileUploadProgress/FileUploadProgress.d.ts +42 -0
  55. package/dist/components/FileUploadProgress/FileUploadProgress.stories.d.ts +7 -0
  56. package/dist/components/FileUploadProgress/FileUploadProgressActions.d.ts +9 -0
  57. package/dist/components/FileUploadProgress/index.d.ts +2 -0
  58. package/dist/components/Form/Form.d.ts +16 -0
  59. package/dist/components/Form/Form.spec.d.ts +1 -0
  60. package/dist/components/Form/Form.stories.d.ts +8 -0
  61. package/dist/components/FormField/FormField.d.ts +40 -0
  62. package/dist/components/FormField/FormField.spec.d.ts +1 -0
  63. package/dist/components/FormField/FormField.stories.d.ts +9 -0
  64. package/dist/components/FormField/index.d.ts +1 -0
  65. package/dist/components/FormGroup/FormGroup.d.ts +16 -0
  66. package/dist/components/FormGroup/FormGroup.spec.d.ts +1 -0
  67. package/dist/components/FormGroup/FormGroup.stories.d.ts +10 -0
  68. package/dist/components/Icon/Icon.stories.d.ts +14 -0
  69. package/dist/components/Input/Input.d.ts +29 -0
  70. package/dist/components/Input/Input.spec.d.ts +1 -0
  71. package/dist/components/Input/Input.stories.d.ts +10 -0
  72. package/dist/components/Input/index.d.ts +1 -0
  73. package/dist/components/Link/Link.stories.d.ts +12 -0
  74. package/dist/{src/components → components}/Loader/Loader.d.ts +12 -2
  75. package/dist/components/Loader/Loader.spec.d.ts +1 -0
  76. package/dist/components/Loader/Loader.stories.d.ts +10 -0
  77. package/dist/components/Modal/Modal.d.ts +25 -0
  78. package/dist/components/Modal/Modal.spec.d.ts +1 -0
  79. package/dist/components/Modal/Modal.stories.d.ts +14 -0
  80. package/dist/components/Modal/StoriesComponents.d.ts +4 -0
  81. package/dist/components/Modal/components/ModalBase.d.ts +20 -0
  82. package/dist/components/Modal/components/ModalBase.spec.d.ts +1 -0
  83. package/dist/components/Modal/components/ModalCloseButton.d.ts +7 -0
  84. package/dist/components/Modal/components/ModalHeader.d.ts +32 -0
  85. package/dist/{src/components/Modal → components/Modal/components}/ModalPortal.d.ts +1 -1
  86. package/dist/components/Modal/index.d.ts +10 -0
  87. package/dist/{src/components → components}/NumericInput/NumericInput.d.ts +2 -4
  88. package/dist/components/NumericInput/NumericInput.spec.d.ts +1 -0
  89. package/dist/components/NumericInput/NumericInput.stories.d.ts +20 -0
  90. package/dist/components/NumericInput/index.d.ts +1 -0
  91. package/dist/components/Picker/Picker.d.ts +78 -0
  92. package/dist/components/Picker/Picker.spec.d.ts +1 -0
  93. package/dist/components/Picker/Picker.stories.d.ts +11 -0
  94. package/dist/components/Picker/PickerList.d.ts +14 -0
  95. package/dist/components/Picker/PickerList.spec.d.ts +1 -0
  96. package/dist/components/Picker/PickerListItem.d.ts +11 -0
  97. package/dist/components/Picker/Trigger.d.ts +17 -0
  98. package/dist/components/Picker/Trigger.spec.d.ts +1 -0
  99. package/dist/components/Picker/TriggerBody.d.ts +16 -0
  100. package/dist/components/Picker/TriggerBody.spec.d.ts +1 -0
  101. package/dist/components/Picker/constants.d.ts +50 -0
  102. package/dist/components/Picker/helpers.d.ts +2 -0
  103. package/dist/components/Picker/index.d.ts +3 -0
  104. package/dist/components/Picker/types.d.ts +16 -0
  105. package/dist/components/Popover/Popover.d.ts +38 -0
  106. package/dist/components/Popover/Popover.spec.d.ts +1 -0
  107. package/dist/components/Popover/Popover.stories.d.ts +13 -0
  108. package/dist/components/Progress/ProgressBar.d.ts +21 -0
  109. package/dist/components/Progress/ProgressBar.spec.d.ts +1 -0
  110. package/dist/components/Progress/ProgressBar.stories.d.ts +12 -0
  111. package/dist/{src/components → components}/Progress/ProgressCircle.d.ts +13 -1
  112. package/dist/components/Progress/ProgressCircle.spec.d.ts +1 -0
  113. package/dist/components/Progress/ProgressCircle.stories.d.ts +12 -0
  114. package/dist/components/Progress/constants.d.ts +4 -0
  115. package/dist/{src/components → components}/Progress/index.d.ts +1 -0
  116. package/dist/components/PromoBanner/PromoBanner.d.ts +43 -0
  117. package/dist/components/PromoBanner/PromoBanner.spec.d.ts +1 -0
  118. package/dist/components/PromoBanner/PromoBanner.stories.d.ts +11 -0
  119. package/dist/components/PromoBannerV2/PromoBannerV2.d.ts +33 -0
  120. package/dist/components/PromoBannerV2/PromoBannerV2.spec.d.ts +1 -0
  121. package/dist/components/PromoBannerV2/PromoBannerV2.stories.d.ts +23 -0
  122. package/dist/components/PromoBannerV2/constants.d.ts +1 -0
  123. package/dist/components/PromoBannerV2/index.d.ts +2 -0
  124. package/dist/{src/components → components}/RadioButton/RadioButton.d.ts +2 -2
  125. package/dist/components/RadioButton/RadioButton.spec.d.ts +1 -0
  126. package/dist/components/RadioButton/RadioButton.stories.d.ts +13 -0
  127. package/dist/components/Search/Search.d.ts +36 -0
  128. package/dist/components/Search/Search.spec.d.ts +1 -0
  129. package/dist/components/Search/Search.stories.d.ts +19 -0
  130. package/dist/components/Search/index.d.ts +1 -0
  131. package/dist/components/SegmentedControl/SegmentedControl.d.ts +39 -0
  132. package/dist/components/SegmentedControl/SegmentedControl.spec.d.ts +1 -0
  133. package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts +9 -0
  134. package/dist/components/SegmentedControl/index.d.ts +2 -0
  135. package/dist/components/Switch/Switch.d.ts +47 -0
  136. package/dist/components/Switch/Switch.spec.d.ts +1 -0
  137. package/dist/components/Switch/Switch.stories.d.ts +11 -0
  138. package/dist/components/Tab/Tab.d.ts +15 -0
  139. package/dist/components/Tab/Tab.spec.d.ts +1 -0
  140. package/dist/components/Tab/Tab.stories.d.ts +29 -0
  141. package/dist/components/Tab/TabsWrapper.spec.d.ts +1 -0
  142. package/dist/components/Tab/TabsWrapper.stories.d.ts +18 -0
  143. package/dist/components/Tag/Tag.d.ts +36 -0
  144. package/dist/components/Tag/Tag.spec.d.ts +1 -0
  145. package/dist/components/Tag/Tag.stories.d.ts +26 -0
  146. package/dist/{src/components → components}/TagInput/EmailTagInput.d.ts +2 -2
  147. package/dist/components/TagInput/TagInput.d.ts +32 -0
  148. package/dist/components/TagInput/TagInput.spec.d.ts +1 -0
  149. package/dist/components/TagInput/TagInput.stories.d.ts +10 -0
  150. package/dist/components/Textarea/Textarea.d.ts +6 -0
  151. package/dist/components/Textarea/Textarea.spec.d.ts +1 -0
  152. package/dist/components/Textarea/Textarea.stories.d.ts +7 -0
  153. package/dist/components/Textarea/index.d.ts +1 -0
  154. package/dist/components/Toast/Toast.d.ts +16 -0
  155. package/dist/components/Toast/Toast.spec.d.ts +1 -0
  156. package/dist/components/Toast/Toast.stories.d.ts +14 -0
  157. package/dist/{src/components → components}/Toast/ToastWrapper.d.ts +3 -10
  158. package/dist/components/Toast/ToastWrapper.spec.d.ts +1 -0
  159. package/dist/components/Toast/ToastWrapper.stories.d.ts +34 -0
  160. package/dist/components/Tooltip/Tooltip.d.ts +3 -0
  161. package/dist/components/Tooltip/Tooltip.spec.d.ts +1 -0
  162. package/dist/components/Tooltip/Tooltip.stories.d.ts +41 -0
  163. package/dist/components/Tooltip/components/FloatingComponent.d.ts +18 -0
  164. package/dist/components/Tooltip/components/Info.d.ts +9 -0
  165. package/dist/components/Tooltip/components/Interactive.d.ts +15 -0
  166. package/dist/components/Tooltip/components/Reports.d.ts +7 -0
  167. package/dist/components/Tooltip/components/Simple.d.ts +4 -0
  168. package/dist/components/Tooltip/components/UserGuide/SpotlightOverlay.d.ts +8 -0
  169. package/dist/components/Tooltip/components/UserGuide/UserGuide.d.ts +12 -0
  170. package/dist/components/Tooltip/components/UserGuide/UserGuideStep.d.ts +16 -0
  171. package/dist/components/Tooltip/components/UserGuide/index.d.ts +1 -0
  172. package/dist/components/Tooltip/components/UserGuide/virtualElementReference.d.ts +9 -0
  173. package/dist/components/Tooltip/components/index.d.ts +5 -0
  174. package/dist/components/Tooltip/helpers.d.ts +4 -0
  175. package/dist/components/Tooltip/index.d.ts +4 -0
  176. package/dist/components/Tooltip/types.d.ts +30 -0
  177. package/dist/components/Typography/Display.d.ts +10 -0
  178. package/dist/{src/components → components}/Typography/Heading.d.ts +2 -2
  179. package/dist/{src/components → components}/Typography/Text.d.ts +2 -2
  180. package/dist/{src/components → components}/Typography/index.d.ts +1 -0
  181. package/dist/components/UploadBar/UploadBar.d.ts +49 -0
  182. package/dist/components/UploadBar/UploadBar.stories.d.ts +7 -0
  183. package/dist/components/UploadBar/index.d.ts +1 -0
  184. package/dist/dsrc.es.js +4339 -1871
  185. package/dist/foundations/radius-token.d.ts +6 -0
  186. package/dist/foundations/shadow-token.d.ts +6 -0
  187. package/dist/foundations/spacing-token.d.ts +17 -0
  188. package/dist/{src/index.d.ts → index.d.ts} +19 -5
  189. package/dist/preview-stats.json +2386 -0
  190. package/dist/stories/components/BlockColumns.d.ts +8 -0
  191. package/dist/stories/components/ColorTokens.d.ts +2 -0
  192. package/dist/stories/components/Radius.d.ts +2 -0
  193. package/dist/stories/components/RadiusExamples.d.ts +2 -0
  194. package/dist/stories/components/Spacing.d.ts +2 -0
  195. package/dist/stories/components/SpacingExamples.d.ts +2 -0
  196. package/dist/stories/components/StoryDescriptor.d.ts +6 -0
  197. package/dist/stories/components/TablerIconsShowcase.d.ts +2 -0
  198. package/dist/style.css +1 -1
  199. package/dist/test/setup.d.ts +0 -0
  200. package/dist/test/utils.d.ts +3 -0
  201. package/dist/themes/design-token.d.ts +228 -0
  202. package/dist/utils/PdfIcon.d.ts +2 -0
  203. package/dist/utils/constants.d.ts +1 -0
  204. package/dist/utils/index.d.ts +1 -0
  205. package/dist/utils/story-parameters.d.ts +2 -0
  206. package/package.json +34 -21
  207. package/dist/dsrc.cjs.js +0 -1
  208. package/dist/dsrc.umd.js +0 -1
  209. package/dist/src/components/Alert/Alert.d.ts +0 -13
  210. package/dist/src/components/Badge/Badge.d.ts +0 -5
  211. package/dist/src/components/Button/Button.d.ts +0 -13
  212. package/dist/src/components/Button/index.d.ts +0 -2
  213. package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +0 -11
  214. package/dist/src/components/ButtonGroup/index.d.ts +0 -1
  215. package/dist/src/components/Card/Card.d.ts +0 -6
  216. package/dist/src/components/Checkbox/Checkbox.d.ts +0 -7
  217. package/dist/src/components/Checkbox/CheckboxField.d.ts +0 -7
  218. package/dist/src/components/Checkbox/index.d.ts +0 -2
  219. package/dist/src/components/Form/Form.d.ts +0 -7
  220. package/dist/src/components/FormGroup/FormGroup.d.ts +0 -7
  221. package/dist/src/components/Icon/Icon.d.ts +0 -70
  222. package/dist/src/components/Icon/index.d.ts +0 -1
  223. package/dist/src/components/InputField/InputField.d.ts +0 -15
  224. package/dist/src/components/InputField/index.d.ts +0 -1
  225. package/dist/src/components/Modal/ActionModal.d.ts +0 -8
  226. package/dist/src/components/Modal/Modal.d.ts +0 -7
  227. package/dist/src/components/Modal/ModalBase.d.ts +0 -6
  228. package/dist/src/components/Modal/ModalCloseButton.d.ts +0 -3
  229. package/dist/src/components/Modal/index.d.ts +0 -10
  230. package/dist/src/components/NumericInput/NumericInputField.d.ts +0 -19
  231. package/dist/src/components/NumericInput/index.d.ts +0 -2
  232. package/dist/src/components/Popover/Popover.d.ts +0 -15
  233. package/dist/src/components/Progress/constants.d.ts +0 -12
  234. package/dist/src/components/PromoBanner/PromoBanner.d.ts +0 -19
  235. package/dist/src/components/Switch/Switch.d.ts +0 -20
  236. package/dist/src/components/Tab/Tab.d.ts +0 -12
  237. package/dist/src/components/Tag/Tag.d.ts +0 -12
  238. package/dist/src/components/TagInput/TagInput.d.ts +0 -12
  239. package/dist/src/components/TextField/TextField.d.ts +0 -13
  240. package/dist/src/components/TextField/index.d.ts +0 -1
  241. package/dist/src/components/Toast/Toast.d.ts +0 -22
  242. package/dist/src/themes/designTokens.d.ts +0 -126
  243. package/dist/src/vite-env.d.ts +0 -1
  244. package/dist/themes/dark.css +0 -129
  245. package/dist/themes/dark.css.map +0 -1
  246. package/dist/themes/legacy.css +0 -130
  247. package/dist/themes/legacy.css.map +0 -1
  248. package/dist/themes/light.css +0 -129
  249. package/dist/themes/light.css.map +0 -1
  250. /package/dist/{src/components → components}/Alert/index.d.ts +0 -0
  251. /package/dist/{src/components → components}/Badge/index.d.ts +0 -0
  252. /package/dist/{src/components → components}/Card/index.d.ts +0 -0
  253. /package/dist/{src/components → components}/FieldDescription/index.d.ts +0 -0
  254. /package/dist/{src/components → components}/FieldError/index.d.ts +0 -0
  255. /package/dist/{src/components → components}/FieldGroup/index.d.ts +0 -0
  256. /package/dist/{src/components → components}/Form/index.d.ts +0 -0
  257. /package/dist/{src/components → components}/FormGroup/index.d.ts +0 -0
  258. /package/dist/{src/components → components}/Link/Link.d.ts +0 -0
  259. /package/dist/{src/components → components}/Link/index.d.ts +0 -0
  260. /package/dist/{src/components → components}/Loader/index.d.ts +0 -0
  261. /package/dist/{src/components → components}/Popover/index.d.ts +0 -0
  262. /package/dist/{src/components → components}/Progress/helpers.d.ts +0 -0
  263. /package/dist/{src/components → components}/PromoBanner/index.d.ts +0 -0
  264. /package/dist/{src/components → components}/RadioButton/index.d.ts +0 -0
  265. /package/dist/{src/components → components}/Switch/index.d.ts +0 -0
  266. /package/dist/{src/components → components}/Tab/TabsWrapper.d.ts +0 -0
  267. /package/dist/{src/components → components}/Tab/index.d.ts +0 -0
  268. /package/dist/{src/components → components}/Tag/index.d.ts +0 -0
  269. /package/dist/{src/components → components}/TagInput/EditableTag.d.ts +0 -0
  270. /package/dist/{src/components → components}/TagInput/EditableTagContent.d.ts +0 -0
  271. /package/dist/{src/components → components}/TagInput/index.d.ts +0 -0
  272. /package/dist/{src/components → components}/Toast/index.d.ts +0 -0
  273. /package/dist/{src/utils → utils}/keyCodes.d.ts +0 -0
  274. /package/dist/{src/utils → utils}/noop.d.ts +0 -0
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export declare enum AlertType {
3
- Info = "info",
4
- Warning = "warning",
5
- Success = "success",
6
- Error = "error"
7
- }
8
- export interface AlertProps {
9
- className?: string;
10
- type?: AlertType;
11
- onClose?: () => void;
12
- }
13
- export declare const Alert: React.FC<AlertProps>;
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {
3
- secondary?: boolean;
4
- }
5
- export declare const Badge: React.FC<BadgeProps>;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export declare type ButtonSize = 'compact' | 'medium' | 'large';
3
- export declare type ButtonProps = {
4
- kind?: 'basic' | 'primary' | 'secondary' | 'destructive' | 'text' | 'plain' | 'plain-light';
5
- size?: ButtonSize;
6
- disabled?: boolean;
7
- loading?: boolean;
8
- fullWidth?: boolean;
9
- loaderLabel?: string;
10
- icon?: React.ReactElement;
11
- iconPosition?: 'left' | 'right';
12
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>;
13
- export declare const Button: React.FC<ButtonProps>;
@@ -1,2 +0,0 @@
1
- export { Button } from './Button';
2
- export type { ButtonSize, ButtonProps } from './Button';
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import { ButtonSize, ButtonProps } from '../Button';
3
- export interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
4
- currentIndex?: number;
5
- initialIndex?: number;
6
- fullWidth?: boolean;
7
- size?: ButtonSize;
8
- children: ReadonlyArray<React.ReactElement<React.PropsWithChildren<ButtonProps>>>;
9
- onIndexChange?: (currentIndex: number, event: React.MouseEvent<HTMLButtonElement>) => void;
10
- }
11
- export declare const ButtonGroup: React.FC<ButtonGroupProps>;
@@ -1 +0,0 @@
1
- export { ButtonGroup } from './ButtonGroup';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
3
- title: string;
4
- img?: string;
5
- }
6
- export declare const Card: React.FC<CardProps>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export interface CheckboxProps extends React.HTMLAttributes<HTMLInputElement> {
3
- className?: string;
4
- checked?: boolean;
5
- disabled?: boolean;
6
- }
7
- export declare const Checkbox: React.FC<CheckboxProps>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export interface ICheckboxFieldProps extends React.HTMLAttributes<HTMLInputElement> {
3
- description?: string;
4
- checked?: boolean;
5
- disabled?: boolean;
6
- }
7
- export declare const CheckboxField: React.FC<ICheckboxFieldProps>;
@@ -1,2 +0,0 @@
1
- export { Checkbox } from './Checkbox';
2
- export { CheckboxField } from './CheckboxField';
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export interface FormProps extends React.HTMLAttributes<HTMLFormElement> {
3
- labelText?: string;
4
- helperText?: string;
5
- formFooter?: React.ReactNode;
6
- }
7
- export declare const Form: React.FC<FormProps>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export interface FormGroupProps extends React.HTMLAttributes<HTMLDivElement> {
3
- className?: string;
4
- labelText?: string;
5
- helperText?: string;
6
- }
7
- export declare const FormGroup: React.FC<FormGroupProps>;
@@ -1,70 +0,0 @@
1
- import * as React from 'react';
2
- export declare enum IconSizeName {
3
- XSmall = "xsmall",
4
- Small = "small",
5
- Medium = "medium",
6
- Large = "large",
7
- XLarge = "xlarge"
8
- }
9
- export declare const IconSize: {
10
- xsmall: {
11
- width: number;
12
- height: number;
13
- };
14
- small: {
15
- width: number;
16
- height: number;
17
- };
18
- medium: {
19
- width: number;
20
- height: number;
21
- };
22
- large: {
23
- width: number;
24
- height: number;
25
- };
26
- xlarge: {
27
- width: number;
28
- height: number;
29
- };
30
- };
31
- export declare enum IconTypeName {
32
- Primary = "primary",
33
- Subtle = "subtle",
34
- Inverted = "inverted",
35
- InvertedSubtle = "inverted_subtle",
36
- Link = "link",
37
- Success = "success",
38
- Warning = "warning",
39
- Error = "error"
40
- }
41
- export declare const IconColorMapper: {
42
- primary: string;
43
- subtle: string;
44
- inverted: string;
45
- inverted_subtle: string;
46
- link: string;
47
- success: string;
48
- warning: string;
49
- error: string;
50
- };
51
- export declare const IconColorDisabledMapper: {
52
- primary: string;
53
- subtle: string;
54
- inverted: string;
55
- inverted_subtle: string;
56
- link: string;
57
- success: string;
58
- warning: string;
59
- error: string;
60
- };
61
- export interface IconProps {
62
- source: React.FC<React.SVGProps<SVGSVGElement>> | string;
63
- size?: IconSizeName;
64
- iconType?: IconTypeName;
65
- disabled?: boolean;
66
- className?: string;
67
- customColor?: string;
68
- }
69
- export declare const Icon: React.FC<IconProps>;
70
- export default Icon;
@@ -1 +0,0 @@
1
- export { Icon, IconSizeName, IconTypeName } from './Icon';
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- export interface InputFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- id: string;
4
- labelText?: string;
5
- labelAdornment?: React.ReactNode;
6
- className?: string;
7
- inline?: boolean;
8
- error?: string;
9
- description?: React.ReactNode;
10
- labelRightNode?: React.ReactNode;
11
- fieldClassName?: string;
12
- maxLength?: number;
13
- onChange: () => void;
14
- }
15
- export declare const InputField: React.FC<InputFieldProps>;
@@ -1 +0,0 @@
1
- export { InputField } from './InputField';
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { ModalBaseProps } from './ModalBase';
3
- export interface ActionModalProps extends ModalBaseProps {
4
- icon?: React.ReactNode;
5
- heading?: React.ReactNode;
6
- actions?: React.ReactNode;
7
- }
8
- export declare const ActionModal: React.FC<ActionModalProps>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { ModalBaseProps } from './ModalBase';
3
- export interface ModalProps extends ModalBaseProps {
4
- heading?: React.ReactNode;
5
- footer?: React.ReactNode;
6
- }
7
- export declare const Modal: React.FC<ModalProps>;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export interface ModalBaseProps extends React.HTMLAttributes<HTMLDivElement> {
3
- onClose(): void;
4
- closeOnEscPress?: boolean;
5
- }
6
- export declare const ModalBase: React.FC<ModalBaseProps>;
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- export declare type ModalCloseButtonProps = React.HTMLAttributes<HTMLButtonElement>;
3
- export declare const ModalCloseButton: React.FC<ModalCloseButtonProps>;
@@ -1,10 +0,0 @@
1
- export { ActionModal } from './ActionModal';
2
- export { Modal } from './Modal';
3
- export { ModalBase } from './ModalBase';
4
- export { ModalCloseButton } from './ModalCloseButton';
5
- export { ModalPortal } from './ModalPortal';
6
- export type { ActionModalProps } from './ActionModal';
7
- export type { ModalProps } from './Modal';
8
- export type { ModalBaseProps } from './ModalBase';
9
- export type { ModalCloseButtonProps } from './ModalCloseButton';
10
- export type { ModalPortalProps } from './ModalPortal';
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- interface Props {
3
- id: string;
4
- labelText?: string;
5
- labelAdornment?: React.ReactNode;
6
- className?: string;
7
- inline?: boolean;
8
- error?: string;
9
- description?: React.ReactNode;
10
- labelRightNode?: React.ReactNode;
11
- fieldClassName?: string;
12
- value: string;
13
- max?: number;
14
- min?: number;
15
- onChange: (value: string) => void;
16
- }
17
- export declare type NumericInputFieldProps = Props & React.InputHTMLAttributes<HTMLInputElement>;
18
- export declare const NumericInputField: React.FC<NumericInputFieldProps>;
19
- export {};
@@ -1,2 +0,0 @@
1
- export { NumericInput } from './NumericInput';
2
- export { NumericInputField } from './NumericInputField';
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import * as PopperCore from '@popperjs/core';
3
- declare type PopoverModifiers = {
4
- [key: string]: Partial<PopperCore.StrictModifiers>;
5
- };
6
- export interface IPopoverProps {
7
- children?: React.ReactNode;
8
- className?: string;
9
- modifiers?: PopoverModifiers;
10
- placement?: PopperCore.Placement;
11
- isVisible?: boolean;
12
- triggerRenderer: () => React.ReactNode;
13
- }
14
- export declare const Popover: React.FC<IPopoverProps>;
15
- export {};
@@ -1,12 +0,0 @@
1
- export declare const enum ProgressStatus {
2
- Normal = "normal",
3
- Error = "error",
4
- Success = "success"
5
- }
6
- export declare const enum ProgressSize {
7
- Small = "small",
8
- Medium = "medium",
9
- Large = "large"
10
- }
11
- export declare const PROGRESS_STATUSES: ProgressStatus[];
12
- export declare const PROGRESS_SIZES: ProgressSize[];
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- export declare const enum PromoBannerSize {
3
- Small = "small",
4
- Medium = "medium",
5
- Large = "large"
6
- }
7
- export interface PromoBannerProps {
8
- className?: string;
9
- buttonText?: string;
10
- header: string;
11
- img?: string;
12
- light?: boolean;
13
- linkText?: string;
14
- size?: PromoBannerSize;
15
- onButtonClick?: () => void;
16
- onClose?: () => void;
17
- onLinkClick?: () => void;
18
- }
19
- export declare const PromoBanner: React.FC<PromoBannerProps>;
@@ -1,20 +0,0 @@
1
- import * as React from 'react';
2
- export declare const enum SwitchSize {
3
- Basic = "basic",
4
- Compact = "compact"
5
- }
6
- export declare const enum SwitchStyles {
7
- Enabled = "enabled",
8
- Disabled = "disabled"
9
- }
10
- export interface SwitchProps {
11
- className?: string;
12
- defaultOn?: boolean;
13
- disabled?: boolean;
14
- innerRef?: React.LegacyRef<HTMLInputElement> | undefined;
15
- name?: string;
16
- on?: boolean;
17
- onChange?(e: React.FormEvent, value: boolean): void;
18
- size?: SwitchSize;
19
- }
20
- export declare const Switch: React.FC<SwitchProps>;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- declare type HTMLProps = (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
3
- href: string;
4
- }) | (React.ButtonHTMLAttributes<HTMLButtonElement> & {
5
- href?: never;
6
- });
7
- export declare type TabProps = HTMLProps & {
8
- description?: React.ReactNode;
9
- isSelected?: boolean;
10
- };
11
- export declare const Tab: React.FC<TabProps>;
12
- export {};
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
3
- kind?: 'default' | 'info' | 'warning' | 'success' | 'error';
4
- size?: 'medium' | 'large';
5
- customColor?: string;
6
- dismissible?: boolean;
7
- outline?: boolean;
8
- onRemove?(): void;
9
- icon?: React.FC<React.SVGProps<SVGSVGElement>> | string;
10
- avatar?: string;
11
- }
12
- export declare const Tag: React.FC<TagProps>;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- declare type Tags = string[];
3
- export interface TagInputProps {
4
- error?: string;
5
- tags?: Tags;
6
- onChange: (tags: Tags) => void;
7
- placeholder?: string;
8
- validator?: (val: string) => boolean;
9
- size?: 'medium' | 'large';
10
- }
11
- export declare const TagInput: React.FC<TagInputProps>;
12
- export {};
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export interface TextFieldProps {
3
- labelText?: string;
4
- labelAdornment?: React.ReactNode;
5
- labelFor?: string;
6
- className?: string;
7
- inline?: boolean;
8
- error?: string;
9
- description?: React.ReactNode;
10
- children?: React.ReactNode;
11
- labelRightNode?: React.ReactNode;
12
- }
13
- export declare const TextField: React.FC<TextFieldProps>;
@@ -1 +0,0 @@
1
- export { TextField } from './TextField';
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- export declare const enum Variants {
3
- Success = "success",
4
- Warning = "warning",
5
- Error = "error",
6
- Info = "info",
7
- Notification = "notification"
8
- }
9
- interface ToastAction {
10
- handler: () => void;
11
- label: string;
12
- closeOnClick?: boolean;
13
- }
14
- export interface ToastProps {
15
- action?: ToastAction;
16
- className?: string;
17
- removable?: boolean;
18
- variant?: Variants;
19
- onClose?: () => void;
20
- }
21
- export declare const Toast: React.FC<ToastProps>;
22
- export {};
@@ -1,126 +0,0 @@
1
- export declare const DesignTokens: {
2
- Background: string;
3
- SurfaceBasicDefault: string;
4
- SurfaceBasicSubtle: string;
5
- SurfaceBasicHover: string;
6
- SurfaceBasicActive: string;
7
- SurfaceBasicDisabled: string;
8
- SurfaceSecondaryDefault: string;
9
- SurfaceSecondarySubtle: string;
10
- SurfaceSecondaryHover: string;
11
- SurfaceSecondaryDisabled: string;
12
- SurfaceFeedbackInfo: string;
13
- SurfaceFeedbackNegative: string;
14
- SurfaceFeedbackWarning: string;
15
- SurfaceFeedbackPositive: string;
16
- SurfaceInvertDefault: string;
17
- SurfaceInvertSubtle: string;
18
- SurfaceInvertDisabled: string;
19
- SurfaceOverlay: string;
20
- ContentDefault: string;
21
- ContentSubtle: string;
22
- ContentDisabled: string;
23
- ContentWhiteLocked: string;
24
- ContentInvertDefault: string;
25
- ContentInvertSubtle: string;
26
- ContentInvertDisabled: string;
27
- BorderDefault: string;
28
- BorderSubtle: string;
29
- BorderHover: string;
30
- BorderDisabled: string;
31
- BorderInvertDefault: string;
32
- BorderInvertSubtle: string;
33
- BorderInvertHover: string;
34
- BorderInvertDisabled: string;
35
- ColorActionActive: string;
36
- ColorActionHover: string;
37
- ColorActionDefault: string;
38
- ColorActionDisabled: string;
39
- ColorNegativeActive: string;
40
- ColorNegativeHover: string;
41
- ColorNegativeDefault: string;
42
- ColorNegativeDisabled: string;
43
- ColorWarningDefault: string;
44
- ColorWarningHover: string;
45
- ColorPositiveDefault: string;
46
- ColorPositiveHover: string;
47
- ColorPositiveDisabled: string;
48
- ColorBot: string;
49
- ColorBlack: string;
50
- ColorWhite: string;
51
- DecorBlue900: string;
52
- DecorBlue800: string;
53
- DecorBlue700: string;
54
- DecorBlue600: string;
55
- DecorBlue500: string;
56
- DecorBlue400: string;
57
- DecorBlue300: string;
58
- DecorBlue200: string;
59
- DecorBlue100: string;
60
- DecorBlue50: string;
61
- DecorOrange900: string;
62
- DecorOrange800: string;
63
- DecorOrange700: string;
64
- DecorOrange600: string;
65
- DecorOrange500: string;
66
- DecorOrange400: string;
67
- DecorOrange300: string;
68
- DecorOrange200: string;
69
- DecorOrange100: string;
70
- DecorOrange50: string;
71
- DecorYellow900: string;
72
- DecorYellow800: string;
73
- DecorYellow700: string;
74
- DecorYellow600: string;
75
- DecorYellow500: string;
76
- DecorYellow400: string;
77
- DecorYellow300: string;
78
- DecorYellow200: string;
79
- DecorYellow100: string;
80
- DecorYellow50: string;
81
- DecorGray950: string;
82
- DecorGray900: string;
83
- DecorGray800: string;
84
- DecorGray700: string;
85
- DecorGray600: string;
86
- DecorGray500: string;
87
- DecorGray400: string;
88
- DecorGray300: string;
89
- DecorGray200: string;
90
- DecorGray150: string;
91
- DecorGray100: string;
92
- DecorGray75: string;
93
- DecorGray50: string;
94
- DecorGray40: string;
95
- DecorGray20: string;
96
- DecorGreen900: string;
97
- DecorGreen800: string;
98
- DecorGreen700: string;
99
- DecorGreen600: string;
100
- DecorGreen500: string;
101
- DecorGreen400: string;
102
- DecorGreen300: string;
103
- DecorGreen200: string;
104
- DecorGreen100: string;
105
- DecorGreen50: string;
106
- DecorRed900: string;
107
- DecorRed800: string;
108
- DecorRed700: string;
109
- DecorRed600: string;
110
- DecorRed500: string;
111
- DecorRed400: string;
112
- DecorRed300: string;
113
- DecorRed200: string;
114
- DecorRed100: string;
115
- DecorRed50: string;
116
- DecorPurple900: string;
117
- DecorPurple800: string;
118
- DecorPurple700: string;
119
- DecorPurple600: string;
120
- DecorPurple500: string;
121
- DecorPurple400: string;
122
- DecorPurple300: string;
123
- DecorPurple200: string;
124
- DecorPurple100: string;
125
- DecorPurple50: string;
126
- };
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />