linear-react-components-ui 0.4.77-beta.28 → 0.4.77-beta.29

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 (318) hide show
  1. package/lib/dropdown/withDropdown.js +1 -1
  2. package/lib/menus/float/SubMenuContainer.js +2 -2
  3. package/lib/menus/float/index.js +1 -1
  4. package/package.json +1 -1
  5. package/lib/@types/Align.d.ts +0 -3
  6. package/lib/@types/Align.js +0 -5
  7. package/lib/@types/ButtonTypes.d.ts +0 -3
  8. package/lib/@types/ButtonTypes.js +0 -5
  9. package/lib/@types/ColorStyles.d.ts +0 -3
  10. package/lib/@types/ColorStyles.js +0 -5
  11. package/lib/@types/DataCombo.d.ts +0 -3
  12. package/lib/@types/DataCombo.js +0 -5
  13. package/lib/@types/Icon.d.ts +0 -5
  14. package/lib/@types/Icon.js +0 -5
  15. package/lib/@types/LabelStyles.d.ts +0 -3
  16. package/lib/@types/LabelStyles.js +0 -5
  17. package/lib/@types/Period.d.ts +0 -6
  18. package/lib/@types/Period.js +0 -5
  19. package/lib/@types/PermissionAttr.d.ts +0 -14
  20. package/lib/@types/PermissionAttr.js +0 -5
  21. package/lib/@types/PointerEvents.d.ts +0 -3
  22. package/lib/@types/PointerEvents.js +0 -5
  23. package/lib/@types/Position.d.ts +0 -3
  24. package/lib/@types/Position.js +0 -5
  25. package/lib/@types/PositionAlert.d.ts +0 -3
  26. package/lib/@types/PositionAlert.js +0 -5
  27. package/lib/@types/Size.d.ts +0 -3
  28. package/lib/@types/Size.js +0 -5
  29. package/lib/@types/SizePixels.d.ts +0 -3
  30. package/lib/@types/SizePixels.js +0 -5
  31. package/lib/@types/StorageMock.d.ts +0 -5
  32. package/lib/@types/StorageMock.js +0 -5
  33. package/lib/alerts/AlertContainer.d.ts +0 -16
  34. package/lib/alerts/AlertProvider.d.ts +0 -7
  35. package/lib/alerts/BaseAlert.d.ts +0 -7
  36. package/lib/alerts/Message.d.ts +0 -7
  37. package/lib/alerts/helpers.d.ts +0 -7
  38. package/lib/alerts/index.d.ts +0 -6
  39. package/lib/alerts/types.d.ts +0 -48
  40. package/lib/alerts/types.js +0 -5
  41. package/lib/alerts/withAlert.d.ts +0 -7
  42. package/lib/avatar/index.d.ts +0 -12
  43. package/lib/avatar/types.d.ts +0 -31
  44. package/lib/avatar/types.js +0 -5
  45. package/lib/badge/index.d.ts +0 -6
  46. package/lib/badge/types.d.ts +0 -13
  47. package/lib/badge/types.js +0 -5
  48. package/lib/buttons/ActivateButton.d.ts +0 -9
  49. package/lib/buttons/AddButton.d.ts +0 -9
  50. package/lib/buttons/Button.d.ts +0 -12
  51. package/lib/buttons/ButtonGroups.d.ts +0 -8
  52. package/lib/buttons/CancelButton.d.ts +0 -9
  53. package/lib/buttons/DangerButton.d.ts +0 -9
  54. package/lib/buttons/DefaultButton.d.ts +0 -12
  55. package/lib/buttons/DestroyButton.d.ts +0 -9
  56. package/lib/buttons/EditButton.d.ts +0 -9
  57. package/lib/buttons/InactivateButton.d.ts +0 -9
  58. package/lib/buttons/InfoButton.d.ts +0 -9
  59. package/lib/buttons/PrimaryButton.d.ts +0 -9
  60. package/lib/buttons/RestoreButton.d.ts +0 -9
  61. package/lib/buttons/SaveButton.d.ts +0 -9
  62. package/lib/buttons/SuccessButton.d.ts +0 -9
  63. package/lib/buttons/WarningButton.d.ts +0 -9
  64. package/lib/buttons/button_container/index.d.ts +0 -12
  65. package/lib/buttons/index.d.ts +0 -21
  66. package/lib/buttons/split_button/index.d.ts +0 -9
  67. package/lib/buttons/types.d.ts +0 -44
  68. package/lib/buttons/types.js +0 -5
  69. package/lib/calendar/DangerCalendar.d.ts +0 -7
  70. package/lib/calendar/InfoCalendar.d.ts +0 -7
  71. package/lib/calendar/PrimaryCalendar.d.ts +0 -7
  72. package/lib/calendar/SuccessCalendar.d.ts +0 -7
  73. package/lib/calendar/WarningCalendar.d.ts +0 -7
  74. package/lib/calendar/base/Day.d.ts +0 -7
  75. package/lib/calendar/base/Month.d.ts +0 -7
  76. package/lib/calendar/base/Week.d.ts +0 -7
  77. package/lib/calendar/base/helpers.d.ts +0 -62
  78. package/lib/calendar/base/index.d.ts +0 -7
  79. package/lib/calendar/index.d.ts +0 -10
  80. package/lib/calendar/types.d.ts +0 -25
  81. package/lib/calendar/types.js +0 -5
  82. package/lib/checkbox/Label.d.ts +0 -11
  83. package/lib/checkbox/index.d.ts +0 -13
  84. package/lib/checkbox/types.d.ts +0 -42
  85. package/lib/checkbox/types.js +0 -5
  86. package/lib/dialog/Alert.d.ts +0 -6
  87. package/lib/dialog/Custom.d.ts +0 -6
  88. package/lib/dialog/Error.d.ts +0 -6
  89. package/lib/dialog/Information.d.ts +0 -6
  90. package/lib/dialog/Question.d.ts +0 -6
  91. package/lib/dialog/Warning.d.ts +0 -6
  92. package/lib/dialog/base/Content.d.ts +0 -6
  93. package/lib/dialog/base/Footer.d.ts +0 -6
  94. package/lib/dialog/base/Header.d.ts +0 -6
  95. package/lib/dialog/base/index.d.ts +0 -6
  96. package/lib/dialog/form/index.d.ts +0 -6
  97. package/lib/dialog/index.d.ts +0 -10
  98. package/lib/dialog/types.d.ts +0 -68
  99. package/lib/dialog/types.js +0 -5
  100. package/lib/drawer/Content.d.ts +0 -7
  101. package/lib/drawer/Drawer.d.ts +0 -7
  102. package/lib/drawer/Header.d.ts +0 -7
  103. package/lib/drawer/helpers.d.ts +0 -7
  104. package/lib/drawer/index.d.ts +0 -9
  105. package/lib/drawer/types.d.ts +0 -34
  106. package/lib/drawer/types.js +0 -5
  107. package/lib/dropdown/Popup.d.ts +0 -6
  108. package/lib/dropdown/helper.d.ts +0 -4
  109. package/lib/dropdown/types.d.ts +0 -43
  110. package/lib/dropdown/types.js +0 -5
  111. package/lib/dropdown/withDropdown.d.ts +0 -10
  112. package/lib/fieldset/index.d.ts +0 -8
  113. package/lib/fieldset/types.d.ts +0 -28
  114. package/lib/fieldset/types.js +0 -5
  115. package/lib/form/Field.d.ts +0 -6
  116. package/lib/form/FieldArray.d.ts +0 -6
  117. package/lib/form/FieldNumber.d.ts +0 -6
  118. package/lib/form/FieldPeriod.d.ts +0 -6
  119. package/lib/form/helpers.d.ts +0 -11
  120. package/lib/form/index.d.ts +0 -9
  121. package/lib/form/types.d.ts +0 -168
  122. package/lib/form/types.js +0 -5
  123. package/lib/form/withFieldHOC.d.ts +0 -6
  124. package/lib/form/withFormSecurity.d.ts +0 -7
  125. package/lib/gridlayout/GridCol.d.ts +0 -6
  126. package/lib/gridlayout/GridRow.d.ts +0 -6
  127. package/lib/gridlayout/index.d.ts +0 -5
  128. package/lib/gridlayout/types.d.ts +0 -20
  129. package/lib/gridlayout/types.js +0 -5
  130. package/lib/icons/helper.d.ts +0 -560
  131. package/lib/icons/index.d.ts +0 -8
  132. package/lib/icons/types.d.ts +0 -28
  133. package/lib/icons/types.js +0 -5
  134. package/lib/index.d.ts +0 -35
  135. package/lib/inputs/base/InputTextBase.d.ts +0 -8
  136. package/lib/inputs/base/helpers.d.ts +0 -14
  137. package/lib/inputs/base/types.d.ts +0 -68
  138. package/lib/inputs/base/types.js +0 -5
  139. package/lib/inputs/color/index.d.ts +0 -7
  140. package/lib/inputs/color/types.d.ts +0 -14
  141. package/lib/inputs/color/types.js +0 -5
  142. package/lib/inputs/date/Dialog.d.ts +0 -10
  143. package/lib/inputs/date/Dropdown.d.ts +0 -10
  144. package/lib/inputs/date/helpers.d.ts +0 -14
  145. package/lib/inputs/date/index.d.ts +0 -10
  146. package/lib/inputs/date/types.d.ts +0 -53
  147. package/lib/inputs/date/types.js +0 -5
  148. package/lib/inputs/inputHOC.d.ts +0 -11
  149. package/lib/inputs/mask/BaseMask.d.ts +0 -12
  150. package/lib/inputs/mask/Cnpj.d.ts +0 -12
  151. package/lib/inputs/mask/Cpf.d.ts +0 -12
  152. package/lib/inputs/mask/Phone.d.ts +0 -9
  153. package/lib/inputs/mask/ZipCode.d.ts +0 -9
  154. package/lib/inputs/mask/helpers.d.ts +0 -14
  155. package/lib/inputs/mask/imaskHOC.d.ts +0 -14
  156. package/lib/inputs/mask/index.d.ts +0 -11
  157. package/lib/inputs/mask/types.d.ts +0 -66
  158. package/lib/inputs/mask/types.js +0 -5
  159. package/lib/inputs/multiSelect/ActionButtons.d.ts +0 -10
  160. package/lib/inputs/multiSelect/Dropdown.d.ts +0 -10
  161. package/lib/inputs/multiSelect/helper.d.ts +0 -9
  162. package/lib/inputs/multiSelect/index.d.ts +0 -10
  163. package/lib/inputs/multiSelect/types.d.ts +0 -49
  164. package/lib/inputs/multiSelect/types.js +0 -5
  165. package/lib/inputs/number/BaseNumber.d.ts +0 -12
  166. package/lib/inputs/number/Currency.d.ts +0 -12
  167. package/lib/inputs/number/Decimal.d.ts +0 -12
  168. package/lib/inputs/number/format_number.d.ts +0 -4
  169. package/lib/inputs/number/index.d.ts +0 -14
  170. package/lib/inputs/number/types.d.ts +0 -30
  171. package/lib/inputs/number/types.js +0 -5
  172. package/lib/inputs/period/Dialog.d.ts +0 -11
  173. package/lib/inputs/period/Dropdown.d.ts +0 -11
  174. package/lib/inputs/period/PeriodList.d.ts +0 -11
  175. package/lib/inputs/period/helper.d.ts +0 -19
  176. package/lib/inputs/period/index.d.ts +0 -11
  177. package/lib/inputs/period/types.d.ts +0 -58
  178. package/lib/inputs/period/types.js +0 -5
  179. package/lib/inputs/search/index.d.ts +0 -11
  180. package/lib/inputs/select/ActionButtons.d.ts +0 -11
  181. package/lib/inputs/select/Dropdown.d.ts +0 -11
  182. package/lib/inputs/select/helper.d.ts +0 -25
  183. package/lib/inputs/select/index.d.ts +0 -10
  184. package/lib/inputs/select/multiple/Selecteds.d.ts +0 -10
  185. package/lib/inputs/select/multiple/index.d.ts +0 -10
  186. package/lib/inputs/select/simple/index.d.ts +0 -10
  187. package/lib/inputs/select/types.d.ts +0 -98
  188. package/lib/inputs/select/types.js +0 -5
  189. package/lib/inputs/text/index.d.ts +0 -11
  190. package/lib/inputs/text/types.d.ts +0 -25
  191. package/lib/inputs/text/types.js +0 -5
  192. package/lib/inputs/textarea/index.d.ts +0 -9
  193. package/lib/inputs/textarea/types.d.ts +0 -13
  194. package/lib/inputs/textarea/types.js +0 -5
  195. package/lib/inputs/types.d.ts +0 -146
  196. package/lib/inputs/types.js +0 -5
  197. package/lib/internals/colorStyles.d.ts +0 -9
  198. package/lib/internals/constants.d.ts +0 -11
  199. package/lib/internals/types.d.ts +0 -21
  200. package/lib/internals/types.js +0 -5
  201. package/lib/internals/withTooltip.d.ts +0 -11
  202. package/lib/labelMessages/index.d.ts +0 -7
  203. package/lib/labelMessages/types.d.ts +0 -18
  204. package/lib/labelMessages/types.js +0 -5
  205. package/lib/labels/DangerLabel.d.ts +0 -9
  206. package/lib/labels/DefaultLabel.d.ts +0 -12
  207. package/lib/labels/InfoLabel.d.ts +0 -9
  208. package/lib/labels/PrimaryLabel.d.ts +0 -9
  209. package/lib/labels/SuccessLabel.d.ts +0 -9
  210. package/lib/labels/WarningLabel.d.ts +0 -9
  211. package/lib/labels/index.d.ts +0 -13
  212. package/lib/labels/label_container/index.d.ts +0 -12
  213. package/lib/labels/types.d.ts +0 -24
  214. package/lib/labels/types.js +0 -5
  215. package/lib/list/Header.d.ts +0 -7
  216. package/lib/list/Item.d.ts +0 -7
  217. package/lib/list/Separator.d.ts +0 -3
  218. package/lib/list/helpers.d.ts +0 -12
  219. package/lib/list/index.d.ts +0 -10
  220. package/lib/list/types.d.ts +0 -64
  221. package/lib/list/types.js +0 -5
  222. package/lib/menus/float/MenuItem.d.ts +0 -7
  223. package/lib/menus/float/helpers.d.ts +0 -7
  224. package/lib/menus/float/index.d.ts +0 -8
  225. package/lib/menus/float/types.d.ts +0 -27
  226. package/lib/menus/float/types.js +0 -5
  227. package/lib/menus/index.d.ts +0 -6
  228. package/lib/menus/sidenav/ExpandMenu.d.ts +0 -10
  229. package/lib/menus/sidenav/MenuLink.d.ts +0 -13
  230. package/lib/menus/sidenav/NavMenuGroup.d.ts +0 -10
  231. package/lib/menus/sidenav/NavMenuItem.d.ts +0 -13
  232. package/lib/menus/sidenav/NavSubMenuItem.d.ts +0 -10
  233. package/lib/menus/sidenav/helpers.d.ts +0 -12
  234. package/lib/menus/sidenav/index.d.ts +0 -14
  235. package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +0 -10
  236. package/lib/menus/sidenav/popup_menu_search/index.d.ts +0 -10
  237. package/lib/menus/sidenav/types.d.ts +0 -82
  238. package/lib/menus/sidenav/types.js +0 -5
  239. package/lib/noPermission/index.d.ts +0 -3
  240. package/lib/panel/Content.d.ts +0 -8
  241. package/lib/panel/DangerPanel.d.ts +0 -8
  242. package/lib/panel/Default.d.ts +0 -8
  243. package/lib/panel/Header.d.ts +0 -8
  244. package/lib/panel/InfoPanel.d.ts +0 -8
  245. package/lib/panel/PrimaryPanel.d.ts +0 -8
  246. package/lib/panel/SuccessPanel.d.ts +0 -8
  247. package/lib/panel/ToolBar.d.ts +0 -8
  248. package/lib/panel/WarningPanel.d.ts +0 -8
  249. package/lib/panel/helpers.d.ts +0 -4
  250. package/lib/panel/index.d.ts +0 -13
  251. package/lib/panel/types.d.ts +0 -4
  252. package/lib/panel/types.js +0 -5
  253. package/lib/permissionValidations.d.ts +0 -14
  254. package/lib/popover/PopoverText.d.ts +0 -8
  255. package/lib/popover/PopoverTitle.d.ts +0 -8
  256. package/lib/popover/index.d.ts +0 -13
  257. package/lib/popover/types.d.ts +0 -21
  258. package/lib/popover/types.js +0 -5
  259. package/lib/progress/Bar.d.ts +0 -6
  260. package/lib/progress/index.d.ts +0 -7
  261. package/lib/progress/types.d.ts +0 -37
  262. package/lib/progress/types.js +0 -5
  263. package/lib/radio/index.d.ts +0 -12
  264. package/lib/radio/types.d.ts +0 -18
  265. package/lib/radio/types.js +0 -5
  266. package/lib/skeleton/SkeletonContainer.d.ts +0 -7
  267. package/lib/skeleton/index.d.ts +0 -8
  268. package/lib/skeleton/types.d.ts +0 -21
  269. package/lib/skeleton/types.js +0 -5
  270. package/lib/spinner/SpinnerLoading.d.ts +0 -7
  271. package/lib/spinner/index.d.ts +0 -7
  272. package/lib/spinner/types.d.ts +0 -20
  273. package/lib/spinner/types.js +0 -5
  274. package/lib/split/Split.d.ts +0 -6
  275. package/lib/split/SplitSide.d.ts +0 -6
  276. package/lib/split/helpers.d.ts +0 -10
  277. package/lib/split/index.d.ts +0 -5
  278. package/lib/split/types.d.ts +0 -34
  279. package/lib/split/types.js +0 -5
  280. package/lib/table/Body.d.ts +0 -6
  281. package/lib/table/Header.d.ts +0 -6
  282. package/lib/table/HeaderColumn.d.ts +0 -6
  283. package/lib/table/Row.d.ts +0 -6
  284. package/lib/table/RowColumn.d.ts +0 -6
  285. package/lib/table/helpers.d.ts +0 -8
  286. package/lib/table/index.d.ts +0 -11
  287. package/lib/table/types.d.ts +0 -84
  288. package/lib/table/types.js +0 -5
  289. package/lib/tabs/DropdownItems.d.ts +0 -9
  290. package/lib/tabs/Menu.d.ts +0 -9
  291. package/lib/tabs/MenuItems.d.ts +0 -9
  292. package/lib/tabs/Panel.d.ts +0 -9
  293. package/lib/tabs/index.d.ts +0 -10
  294. package/lib/tabs/tabHelpers.d.ts +0 -21
  295. package/lib/tabs/types.d.ts +0 -63
  296. package/lib/tabs/types.js +0 -5
  297. package/lib/toolbar/ButtonBar.d.ts +0 -10
  298. package/lib/toolbar/LabelBar.d.ts +0 -10
  299. package/lib/toolbar/Separator.d.ts +0 -3
  300. package/lib/toolbar/ToolBarGroup.d.ts +0 -10
  301. package/lib/toolbar/helpers.d.ts +0 -10
  302. package/lib/toolbar/index.d.ts +0 -14
  303. package/lib/toolbar/types.d.ts +0 -43
  304. package/lib/toolbar/types.js +0 -5
  305. package/lib/tooltip/index.d.ts +0 -6
  306. package/lib/tooltip/types.d.ts +0 -16
  307. package/lib/tooltip/types.js +0 -5
  308. package/lib/treeview/Header.d.ts +0 -7
  309. package/lib/treeview/Node.d.ts +0 -7
  310. package/lib/treeview/constants.d.ts +0 -7
  311. package/lib/treeview/index.d.ts +0 -9
  312. package/lib/treeview/types.d.ts +0 -104
  313. package/lib/treeview/types.js +0 -5
  314. package/lib/types-3c6f1c20.d.ts +0 -46
  315. package/lib/uitour/helpers.d.ts +0 -8
  316. package/lib/uitour/index.d.ts +0 -6
  317. package/lib/uitour/types.d.ts +0 -30
  318. package/lib/uitour/types.js +0 -5
@@ -1,21 +0,0 @@
1
- export { default as ButtonContainer } from './button_container/index.js';
2
- import Button from './Button.js';
3
- export { default } from './Button.js';
4
- export { default as PrimaryButton } from './PrimaryButton.js';
5
- export { default as DangerButton } from './DangerButton.js';
6
- export { default as WarningButton } from './WarningButton.js';
7
- export { default as SuccessButton } from './SuccessButton.js';
8
- export { default as InfoButton } from './InfoButton.js';
9
- export { default as SaveButton } from './SaveButton.js';
10
- export { default as CancelButton } from './CancelButton.js';
11
- export { default as EditButton } from './EditButton.js';
12
- export { default as DestroyButton } from './DestroyButton.js';
13
- export { default as AddButton } from './AddButton.js';
14
- export { default as ActivateButton } from './ActivateButton.js';
15
- export { default as InactivateButton } from './InactivateButton.js';
16
- export { default as RestoreButton } from './RestoreButton.js';
17
- import 'react';
18
- import '../@types/Position.js';
19
- import './types.js';
20
- import '../@types/PermissionAttr.js';
21
- import '../@types/Size.js';
@@ -1,9 +0,0 @@
1
- import { IButtonProps } from '../types.js';
2
- import 'react';
3
- import '../../@types/PermissionAttr.js';
4
- import '../../@types/Position.js';
5
- import '../../@types/Size.js';
6
-
7
- declare const SplitButton: (props: IButtonProps) => JSX.Element;
8
-
9
- export { SplitButton as default };
@@ -1,44 +0,0 @@
1
- import { ButtonHTMLAttributes, ReactNode, CSSProperties, ReactElement, MouseEvent } from 'react';
2
- import { PermissionAttr } from '../@types/PermissionAttr.js';
3
- import { Position } from '../@types/Position.js';
4
- import { Size } from '../@types/Size.js';
5
-
6
- interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
7
- label?: string;
8
- activeIconColor?: string;
9
- toggleable?: boolean;
10
- disabled?: boolean;
11
- content?: ReactNode;
12
- size?: Size;
13
- iconName?: string;
14
- customClass?: string;
15
- iconAlign?: Position;
16
- iconStyle?: CSSProperties;
17
- boxShadow?: boolean;
18
- icon?: ReactElement;
19
- targetRef?: (ref: HTMLButtonElement) => void;
20
- dropdown?: boolean;
21
- dropdownOnHover?: boolean;
22
- showDropdown?: () => void;
23
- getDropdownPopup?: (ref: HTMLButtonElement) => ReactNode;
24
- isDropdownOpened?: boolean;
25
- isLoading?: boolean;
26
- round?: boolean;
27
- showIconDropdown?: boolean;
28
- visible?: boolean;
29
- permissionAttr?: PermissionAttr | PermissionAttr[];
30
- transparent?: boolean;
31
- skeletonize?: boolean;
32
- tooltipPosition?: Exclude<Position, 'center'>;
33
- tooltipWidth?: string | number;
34
- space?: number;
35
- tooltip?: string;
36
- split?: boolean;
37
- isFloatMenu?: boolean;
38
- customClassForDropdown?: string;
39
- dropdownAlign?: 'left' | 'right';
40
- onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
41
- closeDropdownOnClickOutside?: boolean;
42
- }
43
-
44
- export { IButtonProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,7 +0,0 @@
1
- import { ICalendarProps } from './types.js';
2
- import 'moment';
3
- import '../@types/ColorStyles.js';
4
-
5
- declare const DangerCalendar: ({ customClass, ...props }: ICalendarProps) => JSX.Element;
6
-
7
- export { DangerCalendar as default };
@@ -1,7 +0,0 @@
1
- import { ICalendarProps } from './types.js';
2
- import 'moment';
3
- import '../@types/ColorStyles.js';
4
-
5
- declare const InfoCalendar: ({ customClass, ...props }: ICalendarProps) => JSX.Element;
6
-
7
- export { InfoCalendar as default };
@@ -1,7 +0,0 @@
1
- import { ICalendarProps } from './types.js';
2
- import 'moment';
3
- import '../@types/ColorStyles.js';
4
-
5
- declare const PrimaryCalendar: ({ customClass, ...props }: ICalendarProps) => JSX.Element;
6
-
7
- export { PrimaryCalendar as default };
@@ -1,7 +0,0 @@
1
- import { ICalendarProps } from './types.js';
2
- import 'moment';
3
- import '../@types/ColorStyles.js';
4
-
5
- declare const SuccessCalendar: ({ customClass, ...props }: ICalendarProps) => JSX.Element;
6
-
7
- export { SuccessCalendar as default };
@@ -1,7 +0,0 @@
1
- import { ICalendarProps } from './types.js';
2
- import 'moment';
3
- import '../@types/ColorStyles.js';
4
-
5
- declare const WarningCalendar: ({ customClass, ...props }: ICalendarProps) => JSX.Element;
6
-
7
- export { WarningCalendar as default };
@@ -1,7 +0,0 @@
1
- import { IDayProps } from '../types.js';
2
- import 'moment';
3
- import '../../@types/ColorStyles.js';
4
-
5
- declare const Day: ({ currentDate, day }: IDayProps) => JSX.Element;
6
-
7
- export { Day as default };
@@ -1,7 +0,0 @@
1
- import { IMonthProps } from '../types.js';
2
- import 'moment';
3
- import '../../@types/ColorStyles.js';
4
-
5
- declare const Month: ({ currentDate }: IMonthProps) => JSX.Element;
6
-
7
- export { Month as default };
@@ -1,7 +0,0 @@
1
- import { IWeekProps } from '../types.js';
2
- import 'moment';
3
- import '../../@types/ColorStyles.js';
4
-
5
- declare const Week: ({ weekStartDate, currentDate }: IWeekProps) => JSX.Element;
6
-
7
- export { Week as default };
@@ -1,62 +0,0 @@
1
- import React__default from 'react';
2
- import moment, { Moment } from 'moment';
3
- import { ColorStyles } from '../../@types/ColorStyles.js';
4
- import { ICalendarProps } from '../types.js';
5
-
6
- declare function dayNames(): string[];
7
- declare function getStartOfWeek(date: Moment): moment.Moment;
8
- declare function getStartOfMonth(date: Moment): moment.Moment;
9
- declare function dateIsEquals(date1: Moment, date2: Moment): boolean;
10
- declare function dayOutOfCurrentMonth(currentDate: Moment, comparedDay: Moment): boolean;
11
- declare function getPtBrLocale(): {
12
- months: string[];
13
- monthsShort: string[];
14
- weekdays: string[];
15
- weekdaysShort: string[];
16
- weekdaysMin: string[];
17
- longDateFormat: {
18
- LT: string;
19
- L: string;
20
- LL: string;
21
- LLL: string;
22
- LLLL: string;
23
- };
24
- calendar: {
25
- sameDay: string;
26
- nextDay: string;
27
- nextWeek: string;
28
- lastDay: string;
29
- lastWeek(): string;
30
- sameElse: string;
31
- };
32
- relativeTime: {
33
- future: string;
34
- past: string;
35
- s: string;
36
- m: string;
37
- mm: string;
38
- h: string;
39
- hh: string;
40
- d: string;
41
- dd: string;
42
- M: string;
43
- MM: string;
44
- y: string;
45
- yy: string;
46
- };
47
- ordinal: string;
48
- };
49
- /** Functions used insed index.jsx */
50
- declare function getCalendarCssClass({ unpadding, drawGridLines, customClass, colorStyle, }: {
51
- unpadding: boolean;
52
- drawGridLines: boolean;
53
- customClass: string | undefined;
54
- colorStyle: ColorStyles | undefined;
55
- }): string;
56
- declare function validDate(date: Moment): moment.Moment;
57
- /** Functions used inside Day Component */
58
- declare function getDayContainerCssClass(currentDate: Moment, day: Moment): string;
59
- declare function getDayCssClass(currentDate: Moment, day: Moment): string;
60
- declare const CalendarContext: React__default.Context<ICalendarProps>;
61
-
62
- export { CalendarContext, dateIsEquals, dayNames, dayOutOfCurrentMonth, getCalendarCssClass, getDayContainerCssClass, getDayCssClass, getPtBrLocale, getStartOfMonth, getStartOfWeek, validDate };
@@ -1,7 +0,0 @@
1
- import { ICalendarProps } from '../types.js';
2
- import 'moment';
3
- import '../../@types/ColorStyles.js';
4
-
5
- declare const Calendar: (props: ICalendarProps) => JSX.Element;
6
-
7
- export { Calendar as default };
@@ -1,10 +0,0 @@
1
- import Calendar from './base/index.js';
2
- export { default } from './base/index.js';
3
- export { default as SuccessCalendar } from './SuccessCalendar.js';
4
- export { default as PrimaryCalendar } from './PrimaryCalendar.js';
5
- export { default as DangerCalendar } from './DangerCalendar.js';
6
- export { default as WarningCalendar } from './WarningCalendar.js';
7
- export { default as InfoCalendar } from './InfoCalendar.js';
8
- import './types.js';
9
- import 'moment';
10
- import '../@types/ColorStyles.js';
@@ -1,25 +0,0 @@
1
- import { Moment } from 'moment';
2
- import { ColorStyles } from '../@types/ColorStyles.js';
3
-
4
- interface ICalendarProps {
5
- customClass?: string;
6
- currentDate?: Moment;
7
- drawGridLines?: boolean;
8
- unpadding?: boolean;
9
- onDateChange?: (date: Moment) => void;
10
- colorStyle?: ColorStyles;
11
- handleDateChange?: (date: Moment) => void;
12
- }
13
- interface IWeekProps {
14
- weekStartDate: Moment;
15
- currentDate: Moment;
16
- }
17
- interface IDayProps {
18
- currentDate: Moment;
19
- day: Moment;
20
- }
21
- interface IMonthProps {
22
- currentDate: Moment;
23
- }
24
-
25
- export { ICalendarProps, IDayProps, IMonthProps, IWeekProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,11 +0,0 @@
1
- import { ICheckBoxProps } from './types.js';
2
- import 'react';
3
- import '../@types/PermissionAttr.js';
4
- import '../@types/Position.js';
5
-
6
- declare const _default: {
7
- (props: ICheckBoxProps): JSX.Element;
8
- displayName: string;
9
- };
10
-
11
- export { _default as default };
@@ -1,13 +0,0 @@
1
- import { ICheckBoxProps } from './types.js';
2
- import 'react';
3
- import '../@types/PermissionAttr.js';
4
- import '../@types/Position.js';
5
-
6
- /**
7
- * IMPORTANTE: Caso seja necessário alterar o nome do componente, deverá ser refatorado
8
- * o componente Field dentro do componente Form, pois o mesmo leva em consideração o tipo do
9
- * componente para gerar propriedades customizadas.
10
- */
11
- declare const CheckBox: ({ name, required, value, label, onChange, autofocus, hint, id, gridLayout, checked, disabled, permissionAttr, tooltip, tooltipPosition, tooltipWidth, skeletonize, targetRef, }: ICheckBoxProps) => JSX.Element | null;
12
-
13
- export { CheckBox as default };
@@ -1,42 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { PermissionAttr } from '../@types/PermissionAttr.js';
3
- import { Position } from '../@types/Position.js';
4
-
5
- declare type ChangeEvent = {
6
- checked: boolean;
7
- id: string;
8
- name?: string;
9
- value: boolean;
10
- };
11
- declare type Target = {
12
- target: ChangeEvent;
13
- };
14
- interface ICheckBoxProps {
15
- id?: string;
16
- label?: string;
17
- disabled?: boolean;
18
- defaultChecked?: boolean;
19
- checked?: boolean;
20
- required?: boolean;
21
- value?: string | number;
22
- name?: string;
23
- onChange?: (event: Target) => void;
24
- onClick?: () => void;
25
- autoFocus?: boolean;
26
- e?: {
27
- target: Element;
28
- } | undefined;
29
- children?: ReactElement;
30
- autofocus?: boolean;
31
- hint?: string;
32
- gridLayout?: string;
33
- permissionAttr?: PermissionAttr | PermissionAttr[];
34
- tooltip?: string;
35
- tooltipPosition?: Exclude<Position, 'center'>;
36
- tooltipWidth?: string | number;
37
- skeletonize?: boolean;
38
- targetRef?: (ref: HTMLInputElement | null) => void;
39
- targetSpanRef?: (ref: HTMLSpanElement | null) => void;
40
- }
41
-
42
- export { ChangeEvent, ICheckBoxProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,6 +0,0 @@
1
- import { ICommonDialogProps } from './types.js';
2
- import 'react';
3
-
4
- declare const Alert: (props: ICommonDialogProps) => JSX.Element;
5
-
6
- export { Alert as default };
@@ -1,6 +0,0 @@
1
- import { ICustomProps } from './types.js';
2
- import 'react';
3
-
4
- declare const Custom: (props: ICustomProps) => JSX.Element;
5
-
6
- export { Custom as default };
@@ -1,6 +0,0 @@
1
- import { ICommonDialogProps } from './types.js';
2
- import 'react';
3
-
4
- declare const Error: (props: ICommonDialogProps) => JSX.Element;
5
-
6
- export { Error as default };
@@ -1,6 +0,0 @@
1
- import { ICommonDialogProps } from './types.js';
2
- import 'react';
3
-
4
- declare const Information: (props: ICommonDialogProps) => JSX.Element;
5
-
6
- export { Information as default };
@@ -1,6 +0,0 @@
1
- import { IQuestionProps } from './types.js';
2
- import 'react';
3
-
4
- declare const Question: (props: IQuestionProps) => JSX.Element | null;
5
-
6
- export { Question as default };
@@ -1,6 +0,0 @@
1
- import { ICommonDialogProps } from './types.js';
2
- import 'react';
3
-
4
- declare const Warning: (props: ICommonDialogProps) => JSX.Element;
5
-
6
- export { Warning as default };
@@ -1,6 +0,0 @@
1
- import { IContentProps } from '../types.js';
2
- import 'react';
3
-
4
- declare const Content: ({ children, styleForContent }: IContentProps) => JSX.Element;
5
-
6
- export { Content as default };
@@ -1,6 +0,0 @@
1
- import { IFooterProps } from '../types.js';
2
- import 'react';
3
-
4
- declare const Footer: (props: IFooterProps) => JSX.Element;
5
-
6
- export { Footer as default };
@@ -1,6 +0,0 @@
1
- import { IHeaderProps } from '../types.js';
2
- import 'react';
3
-
4
- declare const Header: ({ showCloseButton, handlerClose, title, icon, titleIcon, }: IHeaderProps) => JSX.Element;
5
-
6
- export { Header as default };
@@ -1,6 +0,0 @@
1
- import React__default from 'react';
2
- import { IBaseProps } from '../types.js';
3
-
4
- declare const BaseDialog: (props: IBaseProps) => React__default.ReactPortal;
5
-
6
- export { BaseDialog as default };
@@ -1,6 +0,0 @@
1
- import { IFormProps } from '../types.js';
2
- import 'react';
3
-
4
- declare const _default: (props: IFormProps) => JSX.Element;
5
-
6
- export { _default as default };
@@ -1,10 +0,0 @@
1
- import BaseDialog from './base/index.js';
2
- export { default } from './base/index.js';
3
- export { default as DialogAlert } from './Alert.js';
4
- export { default as DialogError } from './Error.js';
5
- export { default as DialogInformation } from './Information.js';
6
- export { default as DialogQuestion } from './Question.js';
7
- export { default as DialogWarning } from './Warning.js';
8
- export { default as DialogCustom } from './Custom.js';
9
- import 'react';
10
- import './types.js';
@@ -1,68 +0,0 @@
1
- import { ReactNode, CSSProperties, ReactElement } from 'react';
2
-
3
- interface IContentProps {
4
- children: ReactNode | ReactNode[];
5
- styleForContent?: CSSProperties;
6
- }
7
- interface IFooterProps {
8
- children: ReactElement | ReactElement[];
9
- }
10
- interface IHeaderProps {
11
- handlerClose?: () => void;
12
- showCloseButton?: boolean;
13
- title?: string;
14
- icon?: JSX.Element;
15
- titleIcon?: string;
16
- }
17
- interface IBaseProps {
18
- wrapperClassName: string;
19
- width: string;
20
- height: string;
21
- children: ReactNode | ReactNode[];
22
- handlerClose?: () => void;
23
- closeOnEsc?: boolean;
24
- closeOnOutsideClick?: boolean;
25
- overlay?: boolean;
26
- textAlign?: string;
27
- zIndex?: string;
28
- }
29
- interface IFormProps {
30
- children: ReactNode | ReactNode[];
31
- buttons: JSX.Element[];
32
- styleForContent?: CSSProperties;
33
- title?: string;
34
- width?: string;
35
- height?: string;
36
- showFooter?: boolean;
37
- isWaiting?: boolean;
38
- handlerClose?: () => void;
39
- icon?: JSX.Element;
40
- closeOnOutsideClick?: boolean;
41
- closeOnEsc?: boolean;
42
- overlay?: boolean;
43
- }
44
- interface ICommonDialogProps {
45
- onConfirmClick?: () => void;
46
- text?: string;
47
- title?: string;
48
- }
49
- interface IQuestionProps {
50
- onUnconfirmClick: () => void;
51
- onConfirmClick?: () => void;
52
- visible?: boolean;
53
- isWaiting?: boolean;
54
- text?: string;
55
- title?: string;
56
- zIndex?: string;
57
- }
58
- interface ICustomProps {
59
- icon: ReactElement;
60
- buttons: JSX.Element[];
61
- title?: string;
62
- text?: string;
63
- height?: string;
64
- width?: string;
65
- iconName?: string;
66
- }
67
-
68
- export { IBaseProps, ICommonDialogProps, IContentProps, ICustomProps, IFooterProps, IFormProps, IHeaderProps, IQuestionProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,7 +0,0 @@
1
- import { IDrawerProps } from './types.js';
2
- import 'react';
3
- import '../@types/PermissionAttr.js';
4
-
5
- declare const Content: ({ children, style }: IDrawerProps) => JSX.Element;
6
-
7
- export { Content as default };
@@ -1,7 +0,0 @@
1
- import React__default from 'react';
2
- import { IDrawerProps } from './types.js';
3
- import '../@types/PermissionAttr.js';
4
-
5
- declare const BaseDrawer: ({ position, customClass, children, style, customClassForContent, targetId, closeOnEsc, overlay, permissionAttr, skeletonize, handlerClose, }: IDrawerProps) => React__default.ReactPortal;
6
-
7
- export { BaseDrawer as default };
@@ -1,7 +0,0 @@
1
- import { IDrawerHeaderProps } from './types.js';
2
- import 'react';
3
- import '../@types/PermissionAttr.js';
4
-
5
- declare const Header: ({ showCloseButton, title, subTitle, icon, titleIcon, customClass, titleContent, subTitleContent, titleRightContent, }: IDrawerHeaderProps) => JSX.Element;
6
-
7
- export { Header as default };
@@ -1,7 +0,0 @@
1
- import React__default from 'react';
2
- import { IDrawerContext } from './types.js';
3
- import '../@types/PermissionAttr.js';
4
-
5
- declare const DrawerContext: React__default.Context<IDrawerContext>;
6
-
7
- export { DrawerContext as default };
@@ -1,9 +0,0 @@
1
- import { IDrawerProps } from './types.js';
2
- export { default as DrawerHeader } from './Header.js';
3
- export { default as DrawerContent } from './Content.js';
4
- import 'react';
5
- import '../@types/PermissionAttr.js';
6
-
7
- declare const _default: (props: IDrawerProps) => JSX.Element;
8
-
9
- export { _default as default };
@@ -1,34 +0,0 @@
1
- import React__default, { ReactNode, ReactElement } from 'react';
2
- import { PermissionAttr } from '../@types/PermissionAttr.js';
3
-
4
- interface IDrawerProps extends React__default.HTMLAttributes<HTMLDivElement> {
5
- overlay?: boolean;
6
- children?: ReactNode;
7
- customClass?: string;
8
- customClassForContent?: string;
9
- position?: string;
10
- handlerClose?: () => void;
11
- closeOnEsc?: boolean;
12
- targetId?: string;
13
- permissionAttr?: PermissionAttr | PermissionAttr[];
14
- skeletonize?: boolean;
15
- closeOnOutsideClick?: boolean;
16
- }
17
- interface IDrawerHeaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
18
- showCloseButton?: boolean;
19
- customClass?: string;
20
- title?: string;
21
- titleRightContent?: ReactElement;
22
- titleContent?: ReactElement;
23
- subTitle?: string;
24
- subTitleContent?: ReactElement;
25
- icon?: ReactElement;
26
- titleIcon?: string;
27
- }
28
- interface IDrawerContext {
29
- handlerClose?: () => void;
30
- hideContent?: boolean;
31
- skeletonize?: boolean;
32
- }
33
-
34
- export { IDrawerContext, IDrawerHeaderProps, IDrawerProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { IPopUpProps } from './types.js';
3
-
4
- declare const DropdownPopup: ({ customClassForDropdown, align, isFloatMenu, topPosition, leftPosition, rightPosition, minWidth, ...props }: IPopUpProps) => React.ReactPortal;
5
-
6
- export { DropdownPopup as default };
@@ -1,4 +0,0 @@
1
- declare const contentClass: (showClearButton: boolean) => string;
2
- declare const getDropdownItemCssClass: (selected: boolean, disabled: boolean, striped: boolean) => string;
3
-
4
- export { contentClass, getDropdownItemCssClass };