linear-react-components-ui 1.0.10-beta.2 → 1.0.10-beta.20

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 (257) hide show
  1. package/.eslintrc.json +1 -0
  2. package/.vscode/settings.json +1 -1
  3. package/README.md +19 -12
  4. package/lib/@types/Align.d.ts +2 -1
  5. package/lib/alerts/AlertContainer.d.ts +2 -0
  6. package/lib/alerts/AlertContainer.js +41 -69
  7. package/lib/alerts/AlertProvider.d.ts +2 -0
  8. package/lib/alerts/AlertProvider.js +7 -2
  9. package/lib/alerts/BaseAlert.d.ts +2 -0
  10. package/lib/alerts/Message.d.ts +2 -0
  11. package/lib/alerts/Message.js +1 -1
  12. package/lib/alerts/helpers.d.ts +2 -0
  13. package/lib/alerts/index.d.ts +2 -0
  14. package/lib/alerts/types.d.ts +3 -1
  15. package/lib/alerts/withAlert.d.ts +2 -0
  16. package/lib/assets/styles/dialog.scss +9 -6
  17. package/lib/assets/styles/drawers.scss +9 -0
  18. package/lib/assets/styles/effects.scss +2 -2
  19. package/lib/assets/styles/radio.scss +52 -8
  20. package/lib/assets/styles/table.scss +30 -0
  21. package/lib/assets/styles/tooltip.scss +42 -2
  22. package/lib/avatar/index.js +7 -3
  23. package/lib/buttons/ActivateButton.d.ts +2 -0
  24. package/lib/buttons/AddButton.d.ts +2 -0
  25. package/lib/buttons/Button.d.ts +2 -0
  26. package/lib/buttons/CancelButton.d.ts +2 -0
  27. package/lib/buttons/DangerButton.d.ts +2 -0
  28. package/lib/buttons/DefaultButton.d.ts +2 -0
  29. package/lib/buttons/DefaultButton.js +20 -5
  30. package/lib/buttons/DestroyButton.d.ts +2 -0
  31. package/lib/buttons/EditButton.d.ts +2 -0
  32. package/lib/buttons/InactivateButton.d.ts +2 -0
  33. package/lib/buttons/InfoButton.d.ts +2 -0
  34. package/lib/buttons/PrimaryButton.d.ts +2 -0
  35. package/lib/buttons/RestoreButton.d.ts +2 -0
  36. package/lib/buttons/SaveButton.d.ts +2 -0
  37. package/lib/buttons/SuccessButton.d.ts +2 -0
  38. package/lib/buttons/WarningButton.d.ts +2 -0
  39. package/lib/buttons/button_container/index.js +7 -2
  40. package/lib/buttons/index.d.ts +2 -0
  41. package/lib/buttons/split_button/index.d.ts +2 -0
  42. package/lib/buttons/types.d.ts +6 -2
  43. package/lib/dialog/Alert.d.ts +3 -0
  44. package/lib/dialog/Custom.d.ts +3 -0
  45. package/lib/dialog/Custom.js +1 -1
  46. package/lib/dialog/Error.d.ts +3 -0
  47. package/lib/dialog/Information.d.ts +3 -0
  48. package/lib/dialog/Question.d.ts +3 -0
  49. package/lib/dialog/Warning.d.ts +3 -0
  50. package/lib/dialog/base/Content.d.ts +3 -0
  51. package/lib/dialog/base/Footer.d.ts +3 -0
  52. package/lib/dialog/base/Header.d.ts +3 -0
  53. package/lib/dialog/base/Header.js +12 -1
  54. package/lib/dialog/base/index.d.ts +3 -0
  55. package/lib/dialog/base/index.js +78 -16
  56. package/lib/dialog/form/index.d.ts +7 -3
  57. package/lib/dialog/form/index.js +18 -6
  58. package/lib/dialog/index.d.ts +3 -0
  59. package/lib/dialog/types.d.ts +10 -4
  60. package/lib/drawer/Content.d.ts +2 -0
  61. package/lib/drawer/Drawer.d.ts +3 -1
  62. package/lib/drawer/Drawer.js +29 -4
  63. package/lib/drawer/Header.d.ts +2 -0
  64. package/lib/drawer/helpers.d.ts +2 -0
  65. package/lib/drawer/index.d.ts +2 -0
  66. package/lib/drawer/types.d.ts +4 -1
  67. package/lib/dropdown/Popup.js +5 -0
  68. package/lib/fieldset/index.js +6 -2
  69. package/lib/form/Field.d.ts +2 -1
  70. package/lib/form/Field.js +38 -24
  71. package/lib/form/FieldArray.d.ts +1 -0
  72. package/lib/form/FieldArray.js +43 -4
  73. package/lib/form/FieldNumber.d.ts +1 -0
  74. package/lib/form/FieldNumber.js +29 -5
  75. package/lib/form/FieldPeriod.d.ts +1 -0
  76. package/lib/form/FieldPeriod.js +16 -2
  77. package/lib/form/helpers.d.ts +2 -1
  78. package/lib/form/helpers.js +9 -6
  79. package/lib/form/index.d.ts +4 -2
  80. package/lib/form/index.js +77 -38
  81. package/lib/form/types.d.ts +25 -6
  82. package/lib/form/withFieldHOC.d.ts +1 -0
  83. package/lib/form/withFieldHOC.js +1 -0
  84. package/lib/form/withFormSecurity.d.ts +1 -0
  85. package/lib/form/withFormSecurity.js +2 -1
  86. package/lib/icons/helper.d.ts +4 -0
  87. package/lib/icons/helper.js +4 -0
  88. package/lib/icons/index.d.ts +2 -0
  89. package/lib/icons/types.d.ts +3 -1
  90. package/lib/index.d.ts +4 -1
  91. package/lib/inputs/base/InputTextBase.d.ts +1 -0
  92. package/lib/inputs/base/InputTextBase.js +18 -5
  93. package/lib/inputs/base/helpers.d.ts +2 -1
  94. package/lib/inputs/base/types.d.ts +2 -1
  95. package/lib/inputs/date/Dialog.d.ts +1 -0
  96. package/lib/inputs/date/Dropdown.d.ts +1 -0
  97. package/lib/inputs/date/helpers.d.ts +2 -1
  98. package/lib/inputs/date/helpers.js +3 -2
  99. package/lib/inputs/date/index.d.ts +1 -0
  100. package/lib/inputs/date/index.js +24 -9
  101. package/lib/inputs/date/types.d.ts +3 -1
  102. package/lib/inputs/file/DefaultFile.d.ts +1 -0
  103. package/lib/inputs/file/DragDropFile.d.ts +1 -0
  104. package/lib/inputs/file/File.d.ts +1 -0
  105. package/lib/inputs/file/FileButtonSettings.d.ts +1 -0
  106. package/lib/inputs/file/helpers.d.ts +1 -0
  107. package/lib/inputs/file/index.d.ts +1 -0
  108. package/lib/inputs/file/types.d.ts +1 -0
  109. package/lib/inputs/inputHOC.d.ts +3 -0
  110. package/lib/inputs/mask/BaseMask.d.ts +1 -0
  111. package/lib/inputs/mask/BaseMask.js +28 -7
  112. package/lib/inputs/mask/Cnpj.d.ts +1 -0
  113. package/lib/inputs/mask/Cpf.d.ts +1 -0
  114. package/lib/inputs/mask/Cpf.js +4 -4
  115. package/lib/inputs/mask/Phone.d.ts +1 -0
  116. package/lib/inputs/mask/ZipCode.d.ts +1 -0
  117. package/lib/inputs/mask/helpers.d.ts +3 -0
  118. package/lib/inputs/mask/helpers.js +7 -2
  119. package/lib/inputs/mask/imaskHOC.d.ts +3 -0
  120. package/lib/inputs/mask/imaskHOC.js +1 -1
  121. package/lib/inputs/mask/index.d.ts +1 -0
  122. package/lib/inputs/mask/types.d.ts +2 -1
  123. package/lib/inputs/multiSelect/ActionButtons.d.ts +2 -1
  124. package/lib/inputs/multiSelect/ActionButtons.js +4 -1
  125. package/lib/inputs/multiSelect/Dropdown.d.ts +1 -0
  126. package/lib/inputs/multiSelect/Dropdown.js +10 -6
  127. package/lib/inputs/multiSelect/helper.d.ts +8 -6
  128. package/lib/inputs/multiSelect/helper.js +5 -1
  129. package/lib/inputs/multiSelect/index.d.ts +1 -0
  130. package/lib/inputs/multiSelect/index.js +21 -12
  131. package/lib/inputs/multiSelect/types.d.ts +16 -6
  132. package/lib/inputs/number/BaseNumber.d.ts +3 -0
  133. package/lib/inputs/number/BaseNumber.js +8 -2
  134. package/lib/inputs/number/Currency.d.ts +3 -0
  135. package/lib/inputs/number/Decimal.d.ts +3 -0
  136. package/lib/inputs/number/format_number.d.ts +2 -1
  137. package/lib/inputs/number/format_number.js +7 -2
  138. package/lib/inputs/number/index.d.ts +3 -0
  139. package/lib/inputs/number/types.d.ts +3 -1
  140. package/lib/inputs/period/Dialog.d.ts +1 -0
  141. package/lib/inputs/period/Dropdown.d.ts +1 -0
  142. package/lib/inputs/period/PeriodList.d.ts +1 -0
  143. package/lib/inputs/period/helper.d.ts +1 -0
  144. package/lib/inputs/period/index.d.ts +1 -0
  145. package/lib/inputs/period/index.js +14 -10
  146. package/lib/inputs/period/types.d.ts +3 -2
  147. package/lib/inputs/search/index.d.ts +3 -0
  148. package/lib/inputs/search/index.js +7 -2
  149. package/lib/inputs/select/ActionButtons.d.ts +3 -0
  150. package/lib/inputs/select/Dropdown.d.ts +3 -0
  151. package/lib/inputs/select/Dropdown.js +8 -4
  152. package/lib/inputs/select/helper.d.ts +7 -9
  153. package/lib/inputs/select/helper.js +11 -2
  154. package/lib/inputs/select/index.d.ts +1 -0
  155. package/lib/inputs/select/index.js +6 -5
  156. package/lib/inputs/select/multiple/Selecteds.d.ts +1 -0
  157. package/lib/inputs/select/multiple/Selecteds.js +1 -1
  158. package/lib/inputs/select/multiple/index.d.ts +1 -0
  159. package/lib/inputs/select/multiple/index.js +13 -10
  160. package/lib/inputs/select/simple/index.d.ts +1 -0
  161. package/lib/inputs/select/simple/index.js +35 -18
  162. package/lib/inputs/select/types.d.ts +22 -7
  163. package/lib/inputs/text/index.d.ts +1 -0
  164. package/lib/inputs/text/types.d.ts +1 -1
  165. package/lib/inputs/textarea/index.d.ts +1 -0
  166. package/lib/inputs/textarea/types.d.ts +1 -0
  167. package/lib/inputs/types.d.ts +7 -3
  168. package/lib/internals/types.d.ts +1 -0
  169. package/lib/internals/withTooltip.js +13 -6
  170. package/lib/labelMessages/index.d.ts +2 -0
  171. package/lib/labelMessages/index.js +3 -4
  172. package/lib/labelMessages/types.d.ts +3 -1
  173. package/lib/labels/DangerLabel.d.ts +2 -0
  174. package/lib/labels/DefaultLabel.d.ts +2 -0
  175. package/lib/labels/InfoLabel.d.ts +2 -0
  176. package/lib/labels/PrimaryLabel.d.ts +2 -0
  177. package/lib/labels/SuccessLabel.d.ts +2 -0
  178. package/lib/labels/WarningLabel.d.ts +2 -0
  179. package/lib/labels/index.d.ts +2 -0
  180. package/lib/labels/types.d.ts +3 -1
  181. package/lib/list/Header.d.ts +2 -0
  182. package/lib/list/Item.d.ts +2 -0
  183. package/lib/list/helpers.d.ts +2 -0
  184. package/lib/list/index.d.ts +2 -0
  185. package/lib/list/types.d.ts +4 -2
  186. package/lib/menus/float/MenuItem.d.ts +2 -0
  187. package/lib/menus/float/helpers.d.ts +2 -0
  188. package/lib/menus/float/index.d.ts +2 -0
  189. package/lib/menus/float/types.d.ts +3 -1
  190. package/lib/menus/index.d.ts +2 -0
  191. package/lib/menus/sidenav/ExpandMenu.d.ts +2 -0
  192. package/lib/menus/sidenav/MenuLink.d.ts +2 -0
  193. package/lib/menus/sidenav/NavMenuGroup.d.ts +2 -0
  194. package/lib/menus/sidenav/NavMenuItem.d.ts +2 -0
  195. package/lib/menus/sidenav/NavSubMenuItem.d.ts +2 -0
  196. package/lib/menus/sidenav/helpers.d.ts +2 -0
  197. package/lib/menus/sidenav/index.d.ts +2 -0
  198. package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +2 -0
  199. package/lib/menus/sidenav/popup_menu_search/index.d.ts +2 -0
  200. package/lib/menus/sidenav/types.d.ts +4 -2
  201. package/lib/panel/Content.d.ts +3 -1
  202. package/lib/panel/DangerPanel.d.ts +3 -1
  203. package/lib/panel/Default.d.ts +3 -1
  204. package/lib/panel/Header.d.ts +3 -1
  205. package/lib/panel/Header.js +3 -4
  206. package/lib/panel/InfoPanel.d.ts +3 -1
  207. package/lib/panel/PrimaryPanel.d.ts +3 -1
  208. package/lib/panel/SuccessPanel.d.ts +3 -1
  209. package/lib/panel/ToolBar.d.ts +3 -1
  210. package/lib/panel/WarningPanel.d.ts +3 -1
  211. package/lib/panel/helpers.d.ts +3 -1
  212. package/lib/panel/index.d.ts +3 -1
  213. package/lib/panel/types.d.ts +3 -1
  214. package/lib/popover/PopoverText.d.ts +2 -0
  215. package/lib/popover/PopoverTitle.d.ts +2 -0
  216. package/lib/popover/index.d.ts +2 -0
  217. package/lib/popover/index.js +1 -2
  218. package/lib/popover/types.d.ts +3 -1
  219. package/lib/progress/index.js +7 -2
  220. package/lib/radio/index.d.ts +2 -1
  221. package/lib/radio/index.js +12 -3
  222. package/lib/radio/types.d.ts +4 -1
  223. package/lib/skeleton/index.js +7 -2
  224. package/lib/split/Split.js +21 -17
  225. package/lib/table/Body.js +9 -12
  226. package/lib/table/Header.js +19 -16
  227. package/lib/table/Row.js +27 -6
  228. package/lib/table/RowColumn.js +7 -3
  229. package/lib/table/index.js +7 -2
  230. package/lib/table/types.d.ts +7 -0
  231. package/lib/tabs/DropdownItems.d.ts +2 -0
  232. package/lib/tabs/Menu.d.ts +2 -0
  233. package/lib/tabs/MenuItems.d.ts +2 -0
  234. package/lib/tabs/Panel.d.ts +2 -0
  235. package/lib/tabs/index.d.ts +2 -0
  236. package/lib/tabs/tabHelpers.d.ts +2 -0
  237. package/lib/tabs/types.d.ts +3 -1
  238. package/lib/toolbar/ButtonBar.d.ts +2 -0
  239. package/lib/toolbar/ButtonBar.js +6 -2
  240. package/lib/toolbar/LabelBar.d.ts +2 -0
  241. package/lib/toolbar/LabelBar.js +7 -3
  242. package/lib/toolbar/ToolBarGroup.d.ts +2 -0
  243. package/lib/toolbar/helpers.d.ts +2 -0
  244. package/lib/toolbar/index.d.ts +2 -0
  245. package/lib/toolbar/index.js +7 -2
  246. package/lib/toolbar/types.d.ts +4 -2
  247. package/lib/tooltip/index.d.ts +1 -1
  248. package/lib/tooltip/index.js +5 -1
  249. package/lib/tooltip/types.d.ts +1 -0
  250. package/lib/treetable/Row.js +10 -5
  251. package/lib/treetable/index.js +7 -1
  252. package/lib/treeview/Node.js +7 -3
  253. package/lib/treeview/index.js +7 -2
  254. package/lib/treeview_old/Node.js +8 -12
  255. package/lib/{types-90c43ae1.d.ts → types-c1e2d0c9.d.ts} +2 -1
  256. package/lib/uitour/index.js +9 -5
  257. package/package.json +67 -64
@@ -1,10 +1,12 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
2
  import { LabelStyles } from '../@types/LabelStyles.js';
3
+ import { IconNames } from '../@types/Icon.js';
4
+ import '../icons/helper.js';
3
5
 
4
6
  interface ILabelMessagesProps {
5
7
  style?: CSSProperties;
6
8
  type?: LabelStyles;
7
- iconName?: string;
9
+ iconName?: IconNames;
8
10
  icon?: ReactNode | null;
9
11
  children?: ReactNode;
10
12
  customClass?: string;
@@ -3,6 +3,8 @@ import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../@types/Position.js';
5
5
  import '../@types/Size.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
 
7
9
  declare const DangerLabel: ({ className, ...rest }: ILabelProps) => JSX.Element;
8
10
 
@@ -3,6 +3,8 @@ import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../@types/Position.js';
5
5
  import '../@types/Size.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
 
7
9
  declare const _default: {
8
10
  (props: ILabelProps): JSX.Element;
@@ -3,6 +3,8 @@ import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../@types/Position.js';
5
5
  import '../@types/Size.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
 
7
9
  declare const InfoLabel: ({ className, ...rest }: ILabelProps) => JSX.Element;
8
10
 
@@ -3,6 +3,8 @@ import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../@types/Position.js';
5
5
  import '../@types/Size.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
 
7
9
  declare const PrimaryLabel: ({ className, ...rest }: ILabelProps) => JSX.Element;
8
10
 
@@ -3,6 +3,8 @@ import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../@types/Position.js';
5
5
  import '../@types/Size.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
 
7
9
  declare const SuccessLabel: ({ className, ...rest }: ILabelProps) => JSX.Element;
8
10
 
@@ -3,6 +3,8 @@ import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../@types/Position.js';
5
5
  import '../@types/Size.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
 
7
9
  declare const WarningLabel: ({ className, ...rest }: ILabelProps) => JSX.Element;
8
10
 
@@ -10,6 +10,8 @@ import '../@types/Position.js';
10
10
  import './types.js';
11
11
  import '../@types/PermissionAttr.js';
12
12
  import '../@types/Size.js';
13
+ import '../@types/Icon.js';
14
+ import '../icons/helper.js';
13
15
 
14
16
 
15
17
 
@@ -2,11 +2,13 @@ import { ReactElement } from 'react';
2
2
  import { PermissionAttr } from '../@types/PermissionAttr.js';
3
3
  import { Position } from '../@types/Position.js';
4
4
  import { Size } from '../@types/Size.js';
5
+ import { IconNames } from '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  interface ILabelProps extends React.HTMLAttributes<HTMLDivElement> {
7
9
  customClass?: string;
8
10
  size?: Size;
9
- iconName?: string;
11
+ iconName?: IconNames;
10
12
  iconAlign?: Position;
11
13
  icon?: ReactElement;
12
14
  targetRef?: (ref: HTMLDivElement | null) => void;
@@ -1,6 +1,8 @@
1
1
  import { IListHeaderProps } from './types.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
+ import '../@types/Icon.js';
5
+ import '../icons/helper.js';
4
6
 
5
7
  declare const Header: ({ title, children, style, customClass }: IListHeaderProps) => JSX.Element;
6
8
 
@@ -1,6 +1,8 @@
1
1
  import { IListItemProps } from './types.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
+ import '../@types/Icon.js';
5
+ import '../icons/helper.js';
4
6
 
5
7
  declare const Item: (props: IListItemProps) => JSX.Element | null;
6
8
 
@@ -1,6 +1,8 @@
1
1
  import React__default from 'react';
2
2
  import { IListContext } from './types.js';
3
3
  import '../@types/PermissionAttr.js';
4
+ import '../@types/Icon.js';
5
+ import '../icons/helper.js';
4
6
 
5
7
  declare const ListContext: React__default.Context<IListContext>;
6
8
  declare const LIST_ITEMS_TYPES: {
@@ -4,6 +4,8 @@ export { default as ListSeparator } from './Separator.js';
4
4
  import { IListProps } from './types.js';
5
5
  import 'react';
6
6
  import '../@types/PermissionAttr.js';
7
+ import '../@types/Icon.js';
8
+ import '../icons/helper.js';
7
9
 
8
10
  declare const List: (props: IListProps) => JSX.Element;
9
11
 
@@ -1,5 +1,7 @@
1
1
  import { ReactNode, ReactElement, CSSProperties, Ref } from 'react';
2
2
  import { PermissionAttr } from '../@types/PermissionAttr.js';
3
+ import { IconNames } from '../@types/Icon.js';
4
+ import '../icons/helper.js';
3
5
 
4
6
  type ItemId = string;
5
7
  interface KeyboardEvent {
@@ -40,8 +42,8 @@ interface IListItemProps {
40
42
  leftIcon?: ReactElement;
41
43
  rightIcon?: ReactElement;
42
44
  onClick?: (event?: React.MouseEvent<HTMLLIElement, MouseEvent> | KeyboardEvent, itemId?: string) => void;
43
- leftIconName?: string;
44
- rightIconName?: string;
45
+ leftIconName?: IconNames;
46
+ rightIconName?: IconNames;
45
47
  customClass?: string;
46
48
  url?: string;
47
49
  visible?: boolean;
@@ -1,6 +1,8 @@
1
1
  import { IFloatMenuItemProps } from './types.js';
2
2
  import 'react';
3
3
  import '../../@types/SizePixels.js';
4
+ import '../../@types/Icon.js';
5
+ import '../../icons/helper.js';
4
6
 
5
7
  declare const MenuItem: ({ title, url, iconName, iconColor, iconSize, dropdownMenu, onClick, }: IFloatMenuItemProps) => JSX.Element;
6
8
 
@@ -1,6 +1,8 @@
1
1
  import React__default from 'react';
2
2
  import { IFloatMenuContext } from './types.js';
3
3
  import '../../@types/SizePixels.js';
4
+ import '../../@types/Icon.js';
5
+ import '../../icons/helper.js';
4
6
 
5
7
  declare const FloatMenuContext: React__default.Context<IFloatMenuContext>;
6
8
 
@@ -3,6 +3,8 @@ import PropTypes from 'prop-types';
3
3
  import { IFloatMenuProps } from './types.js';
4
4
  import 'react';
5
5
  import '../../@types/SizePixels.js';
6
+ import '../../@types/Icon.js';
7
+ import '../../icons/helper.js';
6
8
 
7
9
  declare function SubMenuContainer({ title, customClass, handlerGoBack, skeletonize, skeletonQtty, children, }: {
8
10
  title: any;
@@ -1,5 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { SizePixels } from '../../@types/SizePixels.js';
3
+ import { IconNames } from '../../@types/Icon.js';
4
+ import '../../icons/helper.js';
3
5
 
4
6
  interface IFloatMenuContext {
5
7
  customClassMenuItem?: string;
@@ -17,7 +19,7 @@ interface IFloatMenuItemProps {
17
19
  title?: string;
18
20
  url?: string;
19
21
  urlHref?: string;
20
- iconName?: string;
22
+ iconName?: IconNames;
21
23
  iconColor?: string;
22
24
  iconSize?: SizePixels;
23
25
  customClass?: string;
@@ -3,6 +3,8 @@ import './float/MenuItem.js';
3
3
  import './float/types.js';
4
4
  import 'react';
5
5
  import '../@types/SizePixels.js';
6
+ import '../@types/Icon.js';
7
+ import '../icons/helper.js';
6
8
  import 'prop-types';
7
9
 
8
10
 
@@ -4,6 +4,8 @@ import '../../@types/PermissionAttr.js';
4
4
  import '../../@types/Size.js';
5
5
  import '../../internals/types.js';
6
6
  import '../../@types/Position.js';
7
+ import '../../@types/Icon.js';
8
+ import '../../icons/helper.js';
7
9
 
8
10
  declare const ExpandMenu: ({ onExpandMenu, expandMenuCustomClass, iconName }: IExpandMenuProps) => JSX.Element;
9
11
 
@@ -4,6 +4,8 @@ import '../../@types/PermissionAttr.js';
4
4
  import '../../@types/Size.js';
5
5
  import '../../internals/types.js';
6
6
  import '../../@types/Position.js';
7
+ import '../../@types/Icon.js';
8
+ import '../../icons/helper.js';
7
9
 
8
10
  declare const _default: {
9
11
  (props: IMenuLinkProps): JSX.Element;
@@ -4,6 +4,8 @@ import '../../@types/PermissionAttr.js';
4
4
  import '../../@types/Size.js';
5
5
  import '../../internals/types.js';
6
6
  import '../../@types/Position.js';
7
+ import '../../@types/Icon.js';
8
+ import '../../icons/helper.js';
7
9
 
8
10
  declare const NavMenuGroup: ({ children, scrollable }: INavMenuGroupProps) => JSX.Element;
9
11
 
@@ -4,6 +4,8 @@ import '../../@types/PermissionAttr.js';
4
4
  import '../../@types/Size.js';
5
5
  import '../../internals/types.js';
6
6
  import '../../@types/Position.js';
7
+ import '../../@types/Icon.js';
8
+ import '../../icons/helper.js';
7
9
 
8
10
  declare const _default: {
9
11
  (props: INavMenuItemProps): JSX.Element;
@@ -4,6 +4,8 @@ import '../../@types/PermissionAttr.js';
4
4
  import '../../@types/Size.js';
5
5
  import '../../internals/types.js';
6
6
  import '../../@types/Position.js';
7
+ import '../../@types/Icon.js';
8
+ import '../../icons/helper.js';
7
9
 
8
10
  declare const NavSubMenuItem: ({ title, url, permissionAttr }: INavSubMenuItemProps) => JSX.Element | null;
9
11
 
@@ -4,6 +4,8 @@ import '../../@types/PermissionAttr.js';
4
4
  import '../../@types/Size.js';
5
5
  import '../../internals/types.js';
6
6
  import '../../@types/Position.js';
7
+ import '../../@types/Icon.js';
8
+ import '../../icons/helper.js';
7
9
 
8
10
  declare const getCssClassMenu: (isExpanded?: boolean, size?: string) => string;
9
11
  declare const SubMenuContext: React__default.Context<ISubMenuContext>;
@@ -8,6 +8,8 @@ import '../../@types/PermissionAttr.js';
8
8
  import '../../@types/Size.js';
9
9
  import '../../internals/types.js';
10
10
  import '../../@types/Position.js';
11
+ import '../../@types/Icon.js';
12
+ import '../../icons/helper.js';
11
13
 
12
14
  declare const SideNav: (props: ISideNavProps) => JSX.Element;
13
15
 
@@ -4,6 +4,8 @@ import '../../../@types/PermissionAttr.js';
4
4
  import '../../../@types/Size.js';
5
5
  import '../../../internals/types.js';
6
6
  import '../../../@types/Position.js';
7
+ import '../../../@types/Icon.js';
8
+ import '../../../icons/helper.js';
7
9
 
8
10
  declare const EmptyList: ({ info, visible, }: IEmptyListProps) => JSX.Element;
9
11
 
@@ -4,6 +4,8 @@ import '../../../@types/PermissionAttr.js';
4
4
  import '../../../@types/Size.js';
5
5
  import '../../../internals/types.js';
6
6
  import '../../../@types/Position.js';
7
+ import '../../../@types/Icon.js';
8
+ import '../../../icons/helper.js';
7
9
 
8
10
  declare const PopupMenuSearch: (props: IPopupMenuSearchProps) => React__default.ReactPortal;
9
11
 
@@ -2,7 +2,9 @@ import { ReactNode, ReactElement, Ref, CSSProperties } from 'react';
2
2
  import { PermissionAttr } from '../../@types/PermissionAttr.js';
3
3
  import { Size } from '../../@types/Size.js';
4
4
  import { WithTooltipProps } from '../../internals/types.js';
5
+ import { IconNames } from '../../@types/Icon.js';
5
6
  import '../../@types/Position.js';
7
+ import '../../icons/helper.js';
6
8
 
7
9
  interface ISideNavProps {
8
10
  children: ReactNode;
@@ -40,7 +42,7 @@ interface INavMenuGroupProps {
40
42
  interface INavMenuItemProps extends WithTooltipProps {
41
43
  children?: ReactNode;
42
44
  title?: string;
43
- iconName?: string;
45
+ iconName?: IconNames;
44
46
  childrenIsSubMenu?: boolean;
45
47
  url?: string;
46
48
  customClass?: string;
@@ -58,7 +60,7 @@ interface INavSubMenuItemProps {
58
60
  interface IExpandMenuProps {
59
61
  expandMenuCustomClass?: string;
60
62
  onExpandMenu?: () => void;
61
- iconName?: string;
63
+ iconName?: IconNames;
62
64
  }
63
65
  interface IEmptyListProps {
64
66
  info?: string;
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const PanelContent: ({ customClass, children, style }: IPanelProps) => JSX.Element | null;
7
9
 
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const DangerPanel: (props: IPanelProps) => JSX.Element;
7
9
 
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const DefaultPanel: ({ startOpened, toggleable, customClass, children, style, title, gridCols, onEndReached, onEndReachedThreshold, permissionAttr, colorStyle, }: IPanelProps) => JSX.Element | null;
7
9
 
@@ -1,7 +1,9 @@
1
- import { a as IPanelHeaderProps } from '../types-90c43ae1.js';
1
+ import { a as IPanelHeaderProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const PanelHeader: (props: IPanelHeaderProps) => JSX.Element;
7
9
 
@@ -13,9 +13,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
14
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
15
  var getIcon = function getIcon(titleIcon, icon) {
16
- if (icon !== undefined) {
16
+ if (icon) {
17
17
  return icon;
18
- } else if (titleIcon !== '') {
18
+ } else if (titleIcon) {
19
19
  return /*#__PURE__*/_react.default.createElement(_icons.default, {
20
20
  name: titleIcon,
21
21
  color: "#000",
@@ -33,8 +33,7 @@ var getClassName = function getClassName(_ref) {
33
33
  return className;
34
34
  };
35
35
  var PanelHeader = function PanelHeader(props) {
36
- var _props$titleIcon = props.titleIcon,
37
- titleIcon = _props$titleIcon === void 0 ? '' : _props$titleIcon,
36
+ var titleIcon = props.titleIcon,
38
37
  icon = props.icon,
39
38
  title = props.title,
40
39
  children = props.children,
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const InfoPanel: (props: IPanelProps) => JSX.Element;
7
9
 
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const PrimaryPanel: (props: IPanelProps) => JSX.Element;
7
9
 
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const SuccessPanel: (props: IPanelProps) => JSX.Element;
7
9
 
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const ToolBar: ({ children }: IPanelProps) => JSX.Element;
7
9
 
@@ -1,7 +1,9 @@
1
- import { I as IPanelProps } from '../types-90c43ae1.js';
1
+ import { I as IPanelProps } from '../types-c1e2d0c9.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const WarningPanel: (props: IPanelProps) => JSX.Element;
7
9
 
@@ -1,4 +1,6 @@
1
1
  import 'react';
2
- export { P as default, n as numberAroundZeroAndOne } from '../types-90c43ae1.js';
2
+ export { P as default, n as numberAroundZeroAndOne } from '../types-c1e2d0c9.js';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
@@ -6,10 +6,12 @@ export { default as SuccessPanel } from './SuccessPanel.js';
6
6
  export { default as InfoPanel } from './InfoPanel.js';
7
7
  export { default as PanelHeader } from './Header.js';
8
8
  export { default as PanelContent } from './Content.js';
9
- import '../types-90c43ae1.js';
9
+ import '../types-c1e2d0c9.js';
10
10
  import 'react';
11
11
  import '../@types/PermissionAttr.js';
12
12
  import '../internals/colorStyles.js';
13
+ import '../@types/Icon.js';
14
+ import '../icons/helper.js';
13
15
 
14
16
 
15
17
 
@@ -1,4 +1,6 @@
1
1
  import 'react';
2
- export { C as ContextProps, a as IPanelHeaderProps, I as IPanelProps, b as IParameterFunction } from '../types-90c43ae1.js';
2
+ export { C as ContextProps, a as IPanelHeaderProps, I as IPanelProps, b as IParameterFunction } from '../types-c1e2d0c9.js';
3
3
  import '../@types/PermissionAttr.js';
4
4
  import '../internals/colorStyles.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
@@ -2,6 +2,8 @@ import { PopoverTextProps } from './types.js';
2
2
  import 'react';
3
3
  import '../@types/Position.js';
4
4
  import '../@types/SizePixels.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const PopoverText: ({ children }: PopoverTextProps) => JSX.Element;
7
9
 
@@ -2,6 +2,8 @@ import { PopoverTitleProps } from './types.js';
2
2
  import 'react';
3
3
  import '../@types/Position.js';
4
4
  import '../@types/SizePixels.js';
5
+ import '../@types/Icon.js';
6
+ import '../icons/helper.js';
5
7
 
6
8
  declare const PopoverTitle: ({ children }: PopoverTitleProps) => JSX.Element;
7
9
 
@@ -4,6 +4,8 @@ import { IPopoverProps } from './types.js';
4
4
  import 'react';
5
5
  import '../@types/Position.js';
6
6
  import '../@types/SizePixels.js';
7
+ import '../@types/Icon.js';
8
+ import '../icons/helper.js';
7
9
 
8
10
  declare const _default: {
9
11
  (props: IPopoverProps): JSX.Element;
@@ -30,8 +30,7 @@ var Popover = function Popover(_ref) {
30
30
  align = _ref$align === void 0 ? 'left' : _ref$align,
31
31
  _ref$theme = _ref.theme,
32
32
  theme = _ref$theme === void 0 ? 'dark' : _ref$theme,
33
- _ref$iconName = _ref.iconName,
34
- iconName = _ref$iconName === void 0 ? '' : _ref$iconName,
33
+ iconName = _ref.iconName,
35
34
  _ref$iconSize = _ref.iconSize,
36
35
  iconSize = _ref$iconSize === void 0 ? 16 : _ref$iconSize,
37
36
  _ref$iconColor = _ref.iconColor,
@@ -1,6 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Position } from '../@types/Position.js';
3
3
  import { SizePixels } from '../@types/SizePixels.js';
4
+ import { IconNames } from '../@types/Icon.js';
5
+ import '../icons/helper.js';
4
6
 
5
7
  interface PopoverTitleProps {
6
8
  children?: ReactNode;
@@ -9,7 +11,7 @@ interface PopoverTextProps {
9
11
  children?: ReactNode;
10
12
  }
11
13
  interface IPopoverProps {
12
- iconName?: string;
14
+ iconName?: IconNames;
13
15
  iconColor?: string;
14
16
  customClass?: string;
15
17
  children?: ReactNode;
@@ -14,7 +14,12 @@ var _react = _interopRequireDefault(require("react"));
14
14
  var _Bar = _interopRequireDefault(require("./Bar"));
15
15
  require("../assets/styles/progress.scss");
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
18
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
19
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
20
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
23
  var ProgressBar = function ProgressBar(props) {
19
24
  var style = props.style,
20
25
  children = props.children,
@@ -22,7 +27,7 @@ var ProgressBar = function ProgressBar(props) {
22
27
  width = _props$width === void 0 ? '100%' : _props$width,
23
28
  _props$height = props.height,
24
29
  height = _props$height === void 0 ? '24px' : _props$height;
25
- var getStyle = _extends({}, style, {
30
+ var getStyle = _objectSpread(_objectSpread({}, style), {}, {
26
31
  width: width,
27
32
  height: height
28
33
  });
@@ -1,12 +1,13 @@
1
1
  import { IRadioProps } from './types.js';
2
2
  import 'react';
3
3
  import '../@types/PermissionAttr.js';
4
+ import '../@types/Size.js';
4
5
 
5
6
  /**
6
7
  * IMPORTANTE: Caso seja necessário alterar o nome do componente, deverá ser refatorado
7
8
  * o componente Field dentro do componente Form, pois o mesmo leva em consideração o tipo do
8
9
  * componente para gerar propriedades customizadas.
9
10
  */
10
- declare const Radio: ({ id, label, value, checked, onChange, name, disabled, required, skeletonize, defaultChecked, permissionAttr }: IRadioProps) => JSX.Element | null;
11
+ declare const Radio: ({ id, label, value, checked, onChange, name, disabled, required, skeletonize, defaultChecked, forwardedRef, size, permissionAttr }: IRadioProps) => JSX.Element | null;
11
12
 
12
13
  export { Radio as default };