linear-react-components-ui 1.0.10-beta.6 → 1.0.10-beta.7

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 (303) hide show
  1. package/lib/@types/Align.d.ts +2 -2
  2. package/lib/@types/ButtonTypes.d.ts +1 -1
  3. package/lib/@types/ColorStyles.d.ts +1 -1
  4. package/lib/@types/DataCombo.d.ts +1 -1
  5. package/lib/@types/Icon.d.ts +1 -1
  6. package/lib/@types/LabelStyles.d.ts +1 -1
  7. package/lib/@types/Period.d.ts +1 -1
  8. package/lib/@types/PermissionAttr.d.ts +2 -2
  9. package/lib/@types/PointerEvents.d.ts +1 -1
  10. package/lib/@types/Position.d.ts +1 -1
  11. package/lib/@types/PositionAlert.d.ts +1 -1
  12. package/lib/@types/Size.d.ts +1 -1
  13. package/lib/@types/SizePixels.d.ts +1 -1
  14. package/lib/alerts/AlertContainer.js +5 -21
  15. package/lib/alerts/AlertProvider.js +15 -45
  16. package/lib/alerts/BaseAlert.js +4 -20
  17. package/lib/alerts/Message.js +21 -32
  18. package/lib/alerts/helpers.js +0 -2
  19. package/lib/alerts/index.d.ts +4 -1
  20. package/lib/alerts/index.js +0 -4
  21. package/lib/alerts/types.d.ts +4 -4
  22. package/lib/alerts/withAlert.js +1 -12
  23. package/lib/assets/styles/drawers.scss +9 -0
  24. package/lib/avatar/index.js +20 -35
  25. package/lib/badge/index.js +9 -14
  26. package/lib/buttons/ActivateButton.js +0 -6
  27. package/lib/buttons/AddButton.js +0 -7
  28. package/lib/buttons/Button.js +2 -15
  29. package/lib/buttons/ButtonGroups.js +0 -4
  30. package/lib/buttons/CancelButton.js +1 -11
  31. package/lib/buttons/DangerButton.js +1 -11
  32. package/lib/buttons/DefaultButton.js +45 -81
  33. package/lib/buttons/DestroyButton.js +1 -12
  34. package/lib/buttons/EditButton.js +0 -6
  35. package/lib/buttons/InactivateButton.js +0 -6
  36. package/lib/buttons/InfoButton.js +1 -11
  37. package/lib/buttons/PrimaryButton.js +1 -11
  38. package/lib/buttons/RestoreButton.js +0 -6
  39. package/lib/buttons/SaveButton.js +1 -11
  40. package/lib/buttons/SuccessButton.js +1 -11
  41. package/lib/buttons/WarningButton.js +1 -11
  42. package/lib/buttons/button_container/index.js +5 -11
  43. package/lib/buttons/index.d.ts +4 -1
  44. package/lib/buttons/index.js +0 -18
  45. package/lib/buttons/split_button/index.js +11 -17
  46. package/lib/calendar/DangerCalendar.js +1 -11
  47. package/lib/calendar/InfoCalendar.js +1 -11
  48. package/lib/calendar/PrimaryCalendar.js +1 -11
  49. package/lib/calendar/SuccessCalendar.js +1 -11
  50. package/lib/calendar/WarningCalendar.js +1 -11
  51. package/lib/calendar/base/Day.js +2 -13
  52. package/lib/calendar/base/Month.js +1 -18
  53. package/lib/calendar/base/Week.js +2 -18
  54. package/lib/calendar/base/helpers.js +8 -24
  55. package/lib/calendar/base/index.js +13 -37
  56. package/lib/calendar/index.d.ts +4 -1
  57. package/lib/calendar/index.js +0 -8
  58. package/lib/checkbox/Label.js +1 -7
  59. package/lib/checkbox/index.js +28 -54
  60. package/lib/checkbox/types.d.ts +2 -2
  61. package/lib/dialog/Alert.js +0 -8
  62. package/lib/dialog/Custom.js +5 -17
  63. package/lib/dialog/Error.js +0 -8
  64. package/lib/dialog/Information.js +0 -8
  65. package/lib/dialog/Question.js +4 -15
  66. package/lib/dialog/Warning.js +0 -8
  67. package/lib/dialog/base/Content.js +1 -6
  68. package/lib/dialog/base/Footer.js +0 -4
  69. package/lib/dialog/base/Header.js +5 -13
  70. package/lib/dialog/base/index.js +7 -28
  71. package/lib/dialog/base/style.js +0 -2
  72. package/lib/dialog/form/index.js +9 -29
  73. package/lib/dialog/index.d.ts +4 -1
  74. package/lib/dialog/index.js +0 -9
  75. package/lib/drawer/Content.js +2 -13
  76. package/lib/drawer/Drawer.d.ts +1 -1
  77. package/lib/drawer/Drawer.js +44 -60
  78. package/lib/drawer/Header.js +10 -27
  79. package/lib/drawer/helpers.js +0 -4
  80. package/lib/drawer/index.js +0 -8
  81. package/lib/drawer/types.d.ts +1 -0
  82. package/lib/dropdown/Popup.js +19 -32
  83. package/lib/dropdown/helper.js +0 -4
  84. package/lib/dropdown/withDropdown.js +18 -47
  85. package/lib/fieldset/index.js +21 -46
  86. package/lib/form/Field.js +18 -45
  87. package/lib/form/FieldArray.js +15 -32
  88. package/lib/form/FieldNumber.js +6 -20
  89. package/lib/form/FieldPeriod.js +9 -21
  90. package/lib/form/helpers.js +5 -30
  91. package/lib/form/index.js +37 -93
  92. package/lib/form/types.d.ts +6 -6
  93. package/lib/form/withFieldHOC.js +15 -34
  94. package/lib/form/withFormSecurity.js +5 -28
  95. package/lib/gridlayout/GridCol.js +5 -11
  96. package/lib/gridlayout/GridRow.js +3 -9
  97. package/lib/gridlayout/index.d.ts +4 -1
  98. package/lib/gridlayout/index.js +0 -4
  99. package/lib/hint/index.js +6 -11
  100. package/lib/icons/index.js +16 -26
  101. package/lib/icons/types.d.ts +1 -1
  102. package/lib/index.d.ts +1 -1
  103. package/lib/index.js +0 -10
  104. package/lib/inputs/base/InputTextBase.js +49 -75
  105. package/lib/inputs/base/helpers.js +6 -19
  106. package/lib/inputs/color/index.js +11 -38
  107. package/lib/inputs/date/Dialog.js +2 -7
  108. package/lib/inputs/date/Dropdown.js +1 -8
  109. package/lib/inputs/date/helpers.js +2 -11
  110. package/lib/inputs/date/index.js +48 -101
  111. package/lib/inputs/file/DefaultFile.js +13 -42
  112. package/lib/inputs/file/DragDropFile.js +37 -90
  113. package/lib/inputs/file/File.js +4 -25
  114. package/lib/inputs/file/FileButtonSettings.js +5 -11
  115. package/lib/inputs/file/helpers.js +0 -5
  116. package/lib/inputs/file/index.d.ts +4 -1
  117. package/lib/inputs/file/index.js +0 -6
  118. package/lib/inputs/file/types.d.ts +1 -1
  119. package/lib/inputs/inputHOC.js +10 -34
  120. package/lib/inputs/mask/BaseMask.js +1 -17
  121. package/lib/inputs/mask/Cnpj.js +12 -37
  122. package/lib/inputs/mask/Cpf.js +10 -33
  123. package/lib/inputs/mask/Phone.js +0 -6
  124. package/lib/inputs/mask/ZipCode.js +0 -6
  125. package/lib/inputs/mask/helpers.js +8 -20
  126. package/lib/inputs/mask/imaskHOC.js +52 -83
  127. package/lib/inputs/mask/index.d.ts +4 -1
  128. package/lib/inputs/mask/index.js +0 -7
  129. package/lib/inputs/multiSelect/ActionButtons.js +6 -15
  130. package/lib/inputs/multiSelect/Dropdown.js +22 -45
  131. package/lib/inputs/multiSelect/helper.js +2 -6
  132. package/lib/inputs/multiSelect/index.js +42 -106
  133. package/lib/inputs/multiSelect/types.d.ts +1 -1
  134. package/lib/inputs/number/BaseNumber.js +3 -16
  135. package/lib/inputs/number/Currency.js +1 -7
  136. package/lib/inputs/number/Decimal.js +0 -5
  137. package/lib/inputs/number/format_number.js +0 -7
  138. package/lib/inputs/number/index.js +3 -13
  139. package/lib/inputs/period/Dialog.js +2 -7
  140. package/lib/inputs/period/Dropdown.js +0 -7
  141. package/lib/inputs/period/PeriodList.js +1 -7
  142. package/lib/inputs/period/helper.js +2 -12
  143. package/lib/inputs/period/index.js +43 -114
  144. package/lib/inputs/period/types.d.ts +1 -1
  145. package/lib/inputs/search/index.js +18 -63
  146. package/lib/inputs/select/ActionButtons.js +4 -12
  147. package/lib/inputs/select/Dropdown.js +28 -48
  148. package/lib/inputs/select/helper.js +9 -30
  149. package/lib/inputs/select/index.js +3 -18
  150. package/lib/inputs/select/multiple/Selecteds.js +3 -7
  151. package/lib/inputs/select/multiple/index.js +37 -96
  152. package/lib/inputs/select/simple/index.js +56 -120
  153. package/lib/inputs/select/types.d.ts +2 -2
  154. package/lib/inputs/text/index.js +1 -5
  155. package/lib/inputs/text/types.d.ts +1 -1
  156. package/lib/inputs/textarea/index.js +4 -10
  157. package/lib/inputs/types.d.ts +1 -1
  158. package/lib/internals/withTooltip.js +25 -70
  159. package/lib/labelMessages/index.js +25 -45
  160. package/lib/labels/DangerLabel.js +1 -11
  161. package/lib/labels/DefaultLabel.js +19 -41
  162. package/lib/labels/InfoLabel.js +1 -11
  163. package/lib/labels/PrimaryLabel.js +1 -11
  164. package/lib/labels/SuccessLabel.js +1 -11
  165. package/lib/labels/WarningLabel.js +1 -11
  166. package/lib/labels/index.d.ts +4 -1
  167. package/lib/labels/index.js +0 -10
  168. package/lib/labels/label_container/index.js +3 -7
  169. package/lib/list/Header.js +3 -7
  170. package/lib/list/Item.js +33 -68
  171. package/lib/list/Separator.js +0 -4
  172. package/lib/list/helpers.js +0 -4
  173. package/lib/list/index.js +25 -60
  174. package/lib/list/types.d.ts +1 -1
  175. package/lib/menus/float/MenuItem.js +9 -26
  176. package/lib/menus/float/SubMenuContainer.js +5 -17
  177. package/lib/menus/float/helpers.js +0 -4
  178. package/lib/menus/float/index.js +8 -21
  179. package/lib/menus/index.d.ts +4 -1
  180. package/lib/menus/index.js +0 -3
  181. package/lib/menus/sidenav/ExpandMenu.js +2 -7
  182. package/lib/menus/sidenav/MenuLink.js +3 -12
  183. package/lib/menus/sidenav/NavMenuGroup.js +3 -12
  184. package/lib/menus/sidenav/NavMenuItem.js +27 -56
  185. package/lib/menus/sidenav/NavSubMenuItem.js +8 -27
  186. package/lib/menus/sidenav/helpers.js +0 -9
  187. package/lib/menus/sidenav/index.js +26 -75
  188. package/lib/menus/sidenav/popup_menu_search/EmptyList.js +2 -7
  189. package/lib/menus/sidenav/popup_menu_search/index.js +15 -45
  190. package/lib/menus/sidenav/types.d.ts +1 -1
  191. package/lib/noPermission/index.js +0 -6
  192. package/lib/panel/Content.d.ts +1 -1
  193. package/lib/panel/Content.js +7 -22
  194. package/lib/panel/DangerPanel.d.ts +1 -1
  195. package/lib/panel/DangerPanel.js +0 -7
  196. package/lib/panel/Default.d.ts +1 -1
  197. package/lib/panel/Default.js +20 -44
  198. package/lib/panel/Header.d.ts +1 -1
  199. package/lib/panel/Header.js +12 -27
  200. package/lib/panel/InfoPanel.d.ts +1 -1
  201. package/lib/panel/InfoPanel.js +0 -7
  202. package/lib/panel/PrimaryPanel.d.ts +1 -1
  203. package/lib/panel/PrimaryPanel.js +0 -7
  204. package/lib/panel/SuccessPanel.d.ts +1 -1
  205. package/lib/panel/SuccessPanel.js +0 -7
  206. package/lib/panel/ToolBar.d.ts +1 -1
  207. package/lib/panel/ToolBar.js +0 -5
  208. package/lib/panel/WarningPanel.d.ts +1 -1
  209. package/lib/panel/WarningPanel.js +0 -7
  210. package/lib/panel/helpers.d.ts +1 -1
  211. package/lib/panel/helpers.js +2 -10
  212. package/lib/panel/index.d.ts +5 -2
  213. package/lib/panel/index.js +0 -11
  214. package/lib/panel/types.d.ts +1 -1
  215. package/lib/permissionValidations.js +3 -15
  216. package/lib/popover/PopoverText.js +0 -4
  217. package/lib/popover/PopoverTitle.js +0 -4
  218. package/lib/popover/index.js +12 -23
  219. package/lib/progress/Bar.js +20 -33
  220. package/lib/progress/index.js +5 -14
  221. package/lib/radio/index.js +23 -46
  222. package/lib/skeleton/SkeletonContainer.js +3 -9
  223. package/lib/skeleton/index.js +10 -22
  224. package/lib/spinner/SpinnerLoading.js +3 -7
  225. package/lib/spinner/index.js +18 -40
  226. package/lib/split/Split.js +32 -83
  227. package/lib/split/SplitSide.js +6 -18
  228. package/lib/split/helpers.d.ts +1 -1
  229. package/lib/split/helpers.js +0 -4
  230. package/lib/split/index.d.ts +4 -1
  231. package/lib/split/index.js +0 -5
  232. package/lib/table/Body.js +15 -29
  233. package/lib/table/Header.js +5 -26
  234. package/lib/table/HeaderColumn.js +10 -21
  235. package/lib/table/Row.js +25 -35
  236. package/lib/table/RowColumn.js +12 -29
  237. package/lib/table/helpers.js +0 -7
  238. package/lib/table/index.js +32 -62
  239. package/lib/table/types.d.ts +1 -1
  240. package/lib/tabs/DropdownItems.js +12 -21
  241. package/lib/tabs/Menu.js +5 -15
  242. package/lib/tabs/MenuItems.js +23 -33
  243. package/lib/tabs/Panel.js +14 -39
  244. package/lib/tabs/index.js +46 -113
  245. package/lib/tabs/tabHelpers.js +3 -16
  246. package/lib/toolbar/ButtonBar.js +13 -29
  247. package/lib/toolbar/LabelBar.js +11 -28
  248. package/lib/toolbar/Separator.js +0 -4
  249. package/lib/toolbar/ToolBarGroup.js +2 -6
  250. package/lib/toolbar/helpers.js +0 -2
  251. package/lib/toolbar/index.js +7 -23
  252. package/lib/tooltip/index.js +10 -25
  253. package/lib/tooltip/types.d.ts +1 -1
  254. package/lib/treetable/Body.js +9 -27
  255. package/lib/treetable/Header.js +1 -11
  256. package/lib/treetable/Row.js +58 -113
  257. package/lib/treetable/helpers.js +0 -10
  258. package/lib/treetable/index.js +0 -11
  259. package/lib/treeview/Header.js +2 -6
  260. package/lib/treeview/Node.js +47 -111
  261. package/lib/treeview/constants.js +0 -4
  262. package/lib/treeview/index.js +54 -134
  263. package/lib/treeview/types.d.ts +2 -2
  264. package/lib/treeview_old/Header.js +1 -6
  265. package/lib/treeview_old/Node.js +5 -32
  266. package/lib/treeview_old/index.js +1 -9
  267. package/lib/{types-3c6f1c20.d.ts → types-90c43ae1.d.ts} +1 -1
  268. package/lib/uitour/index.js +33 -73
  269. package/lib/uitour/types.d.ts +1 -1
  270. package/package.json +1 -1
  271. package/demo/06c001f4d19c06397d470bb43ff3fe49.png +0 -0
  272. package/demo/270084ef02ed3bddc3f735fd91ee3cae.png +0 -0
  273. package/demo/882f8e819d18f5f2dc08d23ebd28a7d5.png +0 -0
  274. package/demo/bundle.js +0 -2
  275. package/demo/bundle.js.LICENSE.txt +0 -65
  276. package/demo/cbc3b4bd6342c551db7afafe26dc458c.jpg +0 -0
  277. package/demo/edc9476523b940deab91951066981a31.png +0 -0
  278. package/demo/fb44e7c36db6d95bb85a745d4f060fb2.png +0 -0
  279. package/demo/fonts/Roboto-Black.woff +0 -0
  280. package/demo/fonts/Roboto-Black.woff2 +0 -0
  281. package/demo/fonts/Roboto-Bold.woff +0 -0
  282. package/demo/fonts/Roboto-Bold.woff2 +0 -0
  283. package/demo/fonts/Roboto-Light.woff +0 -0
  284. package/demo/fonts/Roboto-Light.woff2 +0 -0
  285. package/demo/fonts/Roboto-Medium.woff +0 -0
  286. package/demo/fonts/Roboto-Medium.woff2 +0 -0
  287. package/demo/fonts/Roboto-Regular.woff +0 -0
  288. package/demo/fonts/Roboto-Regular.woff2 +0 -0
  289. package/demo/fonts/Roboto-Thin.woff +0 -0
  290. package/demo/fonts/Roboto-Thin.woff2 +0 -0
  291. package/demo/fonts/TitilliumWeb-Black.woff +0 -0
  292. package/demo/fonts/TitilliumWeb-Black.woff2 +0 -0
  293. package/demo/fonts/TitilliumWeb-Bold.woff +0 -0
  294. package/demo/fonts/TitilliumWeb-Bold.woff2 +0 -0
  295. package/demo/fonts/TitilliumWeb-ExtraLight.woff +0 -0
  296. package/demo/fonts/TitilliumWeb-ExtraLight.woff2 +0 -0
  297. package/demo/fonts/TitilliumWeb-Light.woff +0 -0
  298. package/demo/fonts/TitilliumWeb-Light.woff2 +0 -0
  299. package/demo/fonts/TitilliumWeb-Regular.woff +0 -0
  300. package/demo/fonts/TitilliumWeb-Regular.woff2 +0 -0
  301. package/demo/fonts/TitilliumWeb-SemiBold.woff +0 -0
  302. package/demo/fonts/TitilliumWeb-SemiBold.woff2 +0 -0
  303. package/demo/index.html +0 -1
@@ -1,65 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
8
-
9
- /**
10
- * @license
11
- * Lodash <https://lodash.com/>
12
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
13
- * Released under MIT license <https://lodash.com/license>
14
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
15
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
16
- */
17
-
18
- /**
19
- * Prism: Lightweight, robust, elegant syntax highlighting
20
- *
21
- * @license MIT <https://opensource.org/licenses/MIT>
22
- * @author Lea Verou <https://lea.verou.me>
23
- * @namespace
24
- * @public
25
- */
26
-
27
- /** @license React v0.19.1
28
- * scheduler.production.min.js
29
- *
30
- * Copyright (c) Facebook, Inc. and its affiliates.
31
- *
32
- * This source code is licensed under the MIT license found in the
33
- * LICENSE file in the root directory of this source tree.
34
- */
35
-
36
- /** @license React v16.13.1
37
- * react-is.production.min.js
38
- *
39
- * Copyright (c) Facebook, Inc. and its affiliates.
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
44
-
45
- /** @license React v16.14.0
46
- * react-dom.production.min.js
47
- *
48
- * Copyright (c) Facebook, Inc. and its affiliates.
49
- *
50
- * This source code is licensed under the MIT license found in the
51
- * LICENSE file in the root directory of this source tree.
52
- */
53
-
54
- /** @license React v16.14.0
55
- * react.production.min.js
56
- *
57
- * Copyright (c) Facebook, Inc. and its affiliates.
58
- *
59
- * This source code is licensed under the MIT license found in the
60
- * LICENSE file in the root directory of this source tree.
61
- */
62
-
63
- //! moment.js
64
-
65
- //! moment.js locale configuration
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/demo/index.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="description" content="CHANGE THIS"><title>React component starter</title><script defer="defer" src="bundle.js"></script></head><body><div id="app"></div></body></html>