@rio-cloud/rio-uikit 0.16.1-beta.23 → 0.16.1

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 (299) hide show
  1. package/ActionBarItem.d.ts +1 -1
  2. package/ActionBarItemList.d.ts +1 -1
  3. package/ActionBarItemListItem.d.ts +1 -1
  4. package/ActionBarItemListSeparator.d.ts +1 -1
  5. package/Activity.d.ts +1 -1
  6. package/AnimatedNumber.d.ts +1 -1
  7. package/AppNavigationBar.d.ts +1 -1
  8. package/ApplicationHeader.d.ts +1 -1
  9. package/ApplicationLayout.d.ts +1 -1
  10. package/ApplicationLayoutBodyBanner.d.ts +1 -1
  11. package/ApplicationLayoutBodyBottomBar.d.ts +1 -1
  12. package/ApplicationLayoutBodyNavigation.d.ts +1 -1
  13. package/Area.d.ts +1 -1
  14. package/AreaChart.d.ts +1 -1
  15. package/AreaGradient.d.ts +1 -1
  16. package/AssetTree.d.ts +1 -1
  17. package/AutoSuggest.d.ts +6 -5
  18. package/Bar.d.ts +5 -2
  19. package/BarChart.d.ts +1 -1
  20. package/BottomSheet.d.ts +1 -1
  21. package/BrowserWarning.d.ts +1 -1
  22. package/Button.d.ts +24 -2
  23. package/ButtonDropdown.d.ts +1 -1
  24. package/Carousel.d.ts +3 -1
  25. package/ChartNeedle.d.ts +1 -1
  26. package/ChartTooltip.d.ts +1 -1
  27. package/Checkbox.d.ts +1 -1
  28. package/Circle.d.ts +1 -1
  29. package/ClearableInput.d.ts +1 -1
  30. package/ClusterLayer.d.ts +1 -1
  31. package/ClusterMapMarker.d.ts +1 -1
  32. package/ClusterUtils.d.ts +1 -1
  33. package/Collapse.d.ts +1 -1
  34. package/Colors.d.ts +1 -1
  35. package/ConfirmationDialog.d.ts +9 -2
  36. package/ContentLoader.d.ts +5 -2
  37. package/ContextMenu.d.ts +1 -1
  38. package/ContextMenuItem.d.ts +1 -1
  39. package/CustomState.d.ts +1 -1
  40. package/DataTab.d.ts +1 -1
  41. package/DataTabs.d.ts +1 -1
  42. package/DatePicker.d.ts +1 -1
  43. package/DateRangePicker.d.ts +1 -1
  44. package/DeviceUtils.d.ts +1 -1
  45. package/Dialog.d.ts +1 -1
  46. package/DomMarker.d.ts +1 -1
  47. package/DropdownSubmenu.d.ts +1 -1
  48. package/EmptyState.d.ts +1 -1
  49. package/EnhancedMapEvent.d.ts +1 -1
  50. package/ErrorState.d.ts +1 -1
  51. package/EventUtils.d.ts +1 -1
  52. package/ExpanderList.d.ts +5 -5
  53. package/ExpanderPanel.d.ts +1 -1
  54. package/Fade.d.ts +11 -2
  55. package/FilePicker.d.ts +6 -2
  56. package/ForbiddenState.d.ts +1 -1
  57. package/ImagePreloader.d.ts +1 -1
  58. package/IncidentsLayer.d.ts +1 -1
  59. package/InfoDialog.d.ts +1 -1
  60. package/Legend.d.ts +1 -1
  61. package/Line.d.ts +1 -1
  62. package/LineChart.d.ts +1 -1
  63. package/ListMenu.d.ts +6 -5
  64. package/LoadMoreButton.d.ts +1 -1
  65. package/MaintenanceState.d.ts +1 -1
  66. package/Map.d.ts +10 -7
  67. package/MapBoundingBoxButton.d.ts +1 -1
  68. package/MapCenterMarkerButton.d.ts +1 -1
  69. package/MapClusterSettings.d.ts +1 -1
  70. package/MapCustomerPoiSettingsItem.d.ts +1 -1
  71. package/MapLayerGroup.d.ts +1 -1
  72. package/MapLayerIncidentsItem.d.ts +1 -1
  73. package/MapLayerRoadRestrictionsItem.d.ts +1 -1
  74. package/MapLayerSettings.d.ts +1 -1
  75. package/MapLayerTrafficItem.d.ts +1 -1
  76. package/MapLockMarkerButton.d.ts +1 -1
  77. package/MapSettings.d.ts +1 -1
  78. package/MapSettingsItem.d.ts +1 -1
  79. package/MapSettingsPanel.d.ts +1 -1
  80. package/MapSettingsTile.d.ts +1 -1
  81. package/MapTypeSettings.d.ts +1 -1
  82. package/MapWorkshopPoiSettingsItem.d.ts +1 -1
  83. package/Marker.d.ts +1 -1
  84. package/MarkerLayer.d.ts +1 -1
  85. package/MediaDialog.d.ts +8 -4
  86. package/MenuItem.d.ts +2 -2
  87. package/Multiselect.d.ts +11 -4
  88. package/NoData.d.ts +1 -1
  89. package/NotBookedState.d.ts +1 -1
  90. package/NotFoundState.d.ts +1 -1
  91. package/Notification.d.ts +1 -1
  92. package/NotificationsContainer.d.ts +1 -1
  93. package/NumberControl.d.ts +5 -2
  94. package/NumberInput.d.ts +5 -2
  95. package/OnboardingTip.d.ts +27 -2
  96. package/OverlayTrigger.d.ts +26 -2
  97. package/Pager.d.ts +1 -1
  98. package/PieChart.d.ts +1 -1
  99. package/Polygon.d.ts +1 -1
  100. package/Polyline.d.ts +1 -1
  101. package/Popover.d.ts +8 -2
  102. package/Position.d.ts +1 -1
  103. package/PositionUtils.d.ts +1 -1
  104. package/RadialBarChart.d.ts +1 -1
  105. package/RadioButton.d.ts +1 -1
  106. package/RangeSlider.d.ts +1 -1
  107. package/ReleaseNotes.d.ts +1 -1
  108. package/ReleaseNotesDialog.d.ts +1 -1
  109. package/Resizer.d.ts +10 -2
  110. package/ResponsiveVideo.d.ts +5 -2
  111. package/Route.d.ts +1 -1
  112. package/RuleConnector.d.ts +9 -0
  113. package/RuleConnector.js +2 -0
  114. package/RuleContainer.d.ts +5 -0
  115. package/RuleContainer.js +2 -0
  116. package/RulesWrapper.d.ts +5 -0
  117. package/RulesWrapper.js +2 -0
  118. package/SaveDialog.d.ts +9 -2
  119. package/Select.d.ts +5 -5
  120. package/Sidebar.d.ts +8 -2
  121. package/SimpleButtonDropdown.d.ts +1 -1
  122. package/SimpleClusterLayer.d.ts +1 -1
  123. package/SimpleDialog.d.ts +9 -2
  124. package/SimpleTooltip.d.ts +26 -2
  125. package/SingleButtonDropdown.d.ts +1 -1
  126. package/SingleMapMarker.d.ts +1 -1
  127. package/Slider.d.ts +1 -1
  128. package/SortArrowDown.d.ts +1 -1
  129. package/SortArrowUp.d.ts +1 -1
  130. package/SortArrows.d.ts +1 -1
  131. package/SortDirection.d.ts +1 -1
  132. package/SortUtils.d.ts +1 -1
  133. package/Spinner.d.ts +1 -1
  134. package/SplitButtonDropdown.d.ts +1 -1
  135. package/SplitDialog.d.ts +9 -2
  136. package/StatsWidget.d.ts +1 -1
  137. package/StatsWidgetNumber.d.ts +1 -1
  138. package/StatsWidgetSpacer.d.ts +1 -1
  139. package/StatsWidgets.d.ts +1 -1
  140. package/StatusBar.d.ts +1 -1
  141. package/SteppedProgressBar.d.ts +6 -2
  142. package/SubNavigation.d.ts +1 -1
  143. package/Switch.d.ts +5 -2
  144. package/TableCardsSorting.d.ts +1 -1
  145. package/TableSearch.d.ts +1 -1
  146. package/TableSettingsDialog.d.ts +1 -1
  147. package/TableToolbar.d.ts +1 -1
  148. package/TableViewToggles.d.ts +1 -1
  149. package/Tag.d.ts +1 -1
  150. package/TagList.d.ts +1 -1
  151. package/TagManager.d.ts +5 -5
  152. package/Teaser.d.ts +1 -1
  153. package/TeaserContainer.d.ts +1 -1
  154. package/TextMarker.d.ts +1 -1
  155. package/TimePicker.d.ts +1 -1
  156. package/ToggleButton.d.ts +1 -1
  157. package/Tooltip.d.ts +29 -2
  158. package/TrafficLayer.d.ts +1 -1
  159. package/Tree.d.ts +1 -1
  160. package/TreeCategory.d.ts +1 -1
  161. package/TreeOption.d.ts +1 -1
  162. package/TreeSearch.d.ts +1 -1
  163. package/TreeSummary.d.ts +1 -1
  164. package/TruckLayer.d.ts +1 -1
  165. package/TypeCounter.d.ts +1 -1
  166. package/VolkswagenApplicationHeader.d.ts +1 -1
  167. package/components/button/Button.js +6 -3
  168. package/components/datepicker/DatePicker.js +5 -2
  169. package/components/dialog/SplitDialog.js +5 -2
  170. package/components/dropdown/ButtonDropdown.js +9 -3
  171. package/components/map/components/Map.js +24 -1
  172. package/components/overlay/OverlayTrigger.js +2 -1
  173. package/components/rules/RuleConnector.js +76 -0
  174. package/components/rules/RuleContainer.js +68 -0
  175. package/components/rules/RulesWrapper.js +17 -0
  176. package/components/selects/BaseDropdownMenu.js +40 -26
  177. package/components/selects/Multiselect.js +5 -3
  178. package/components/selects/Select.js +7 -5
  179. package/framer-motion.d.ts +1 -0
  180. package/index.d.ts +7 -1
  181. package/index.js +6 -0
  182. package/lib/es/AutoSuggest.d.ts +6 -5
  183. package/lib/es/Bar.d.ts +4 -1
  184. package/lib/es/Button.d.ts +23 -1
  185. package/lib/es/Carousel.d.ts +2 -0
  186. package/lib/es/ConfirmationDialog.d.ts +8 -1
  187. package/lib/es/ContentLoader.d.ts +4 -1
  188. package/lib/es/ExpanderList.d.ts +5 -5
  189. package/lib/es/Fade.d.ts +10 -1
  190. package/lib/es/FilePicker.d.ts +5 -1
  191. package/lib/es/ListMenu.d.ts +6 -5
  192. package/lib/es/Map.d.ts +10 -7
  193. package/lib/es/MediaDialog.d.ts +8 -4
  194. package/lib/es/MenuItem.d.ts +1 -1
  195. package/lib/es/Multiselect.d.ts +11 -4
  196. package/lib/es/NumberControl.d.ts +4 -1
  197. package/lib/es/NumberInput.d.ts +4 -1
  198. package/lib/es/OnboardingTip.d.ts +26 -1
  199. package/lib/es/OverlayTrigger.d.ts +25 -1
  200. package/lib/es/Popover.d.ts +7 -1
  201. package/lib/es/Resizer.d.ts +9 -1
  202. package/lib/es/ResponsiveVideo.d.ts +4 -1
  203. package/lib/es/RuleConnector.d.ts +9 -0
  204. package/lib/es/RuleConnector.js +13 -0
  205. package/lib/es/RuleContainer.d.ts +5 -0
  206. package/lib/es/RuleContainer.js +13 -0
  207. package/lib/es/RulesWrapper.d.ts +5 -0
  208. package/lib/es/RulesWrapper.js +13 -0
  209. package/lib/es/SaveDialog.d.ts +8 -1
  210. package/lib/es/Select.d.ts +5 -5
  211. package/lib/es/Sidebar.d.ts +7 -1
  212. package/lib/es/SimpleDialog.d.ts +8 -1
  213. package/lib/es/SimpleTooltip.d.ts +25 -1
  214. package/lib/es/SplitDialog.d.ts +8 -1
  215. package/lib/es/SteppedProgressBar.d.ts +5 -1
  216. package/lib/es/Switch.d.ts +4 -1
  217. package/lib/es/TagManager.d.ts +5 -5
  218. package/lib/es/Tooltip.d.ts +28 -1
  219. package/lib/es/components/button/Button.js +6 -3
  220. package/lib/es/components/datepicker/DatePicker.js +3 -3
  221. package/lib/es/components/dialog/SplitDialog.js +5 -2
  222. package/lib/es/components/dropdown/ButtonDropdown.js +9 -3
  223. package/lib/es/components/map/components/Map.js +24 -1
  224. package/lib/es/components/overlay/OverlayTrigger.js +2 -1
  225. package/lib/es/components/rules/RuleConnector.js +84 -0
  226. package/lib/es/components/rules/RuleContainer.js +76 -0
  227. package/lib/es/components/rules/RulesWrapper.js +25 -0
  228. package/lib/es/components/selects/BaseDropdownMenu.js +40 -26
  229. package/lib/es/components/selects/Multiselect.js +5 -3
  230. package/lib/es/components/selects/Select.js +7 -5
  231. package/lib/es/framer-motion.d.ts +1 -0
  232. package/lib/es/index.d.ts +8 -2
  233. package/lib/es/index.js +24 -0
  234. package/lib/es/styles/components/Dialog.less +10 -0
  235. package/lib/es/styles/components/Dropdown.less +11 -2
  236. package/lib/es/styles/components/Select.less +5 -6
  237. package/lib/es/styles/design/box-sizing.less +8 -0
  238. package/lib/es/styles/design/fonts.less +23 -23
  239. package/lib/es/styles/design/normalize.less +0 -2
  240. package/lib/es/styles/design/responsive/flexgrid.less +4 -6
  241. package/lib/es/styles/design/responsive/sizing.less +3 -0
  242. package/lib/es/styles/design/tables.less +5 -0
  243. package/lib/es/styles/mixins/panels.less +3 -3
  244. package/lib/es/styles/print/print.less +36 -4
  245. package/lib/es/styles/rio-uikit-core.less +2 -1
  246. package/lib/es/styles/rio-uikit-print-utilities.less +1 -0
  247. package/lib/es/themes/Website/styles/rio-website.less +2 -2
  248. package/lib/es/types.ts +40 -16
  249. package/lib/es/utils/init.js +1 -1
  250. package/lib/es/version.json +1 -1
  251. package/package.json +13 -11
  252. package/styles/components/Dialog.less +10 -0
  253. package/styles/components/Dropdown.less +11 -2
  254. package/styles/components/Select.less +5 -6
  255. package/styles/design/box-sizing.less +8 -0
  256. package/styles/design/fonts.less +23 -23
  257. package/styles/design/normalize.less +0 -2
  258. package/styles/design/responsive/flexgrid.less +4 -6
  259. package/styles/design/responsive/sizing.less +3 -0
  260. package/styles/design/tables.less +5 -0
  261. package/styles/mixins/panels.less +3 -3
  262. package/styles/print/print.less +36 -4
  263. package/styles/rio-uikit-core.less +2 -1
  264. package/styles/rio-uikit-print-utilities.less +1 -0
  265. package/themes/Website/styles/rio-website.less +2 -2
  266. package/types.ts +40 -16
  267. package/useAfterMount.d.ts +1 -1
  268. package/useClickOutside.d.ts +1 -1
  269. package/useClipboard.d.ts +1 -1
  270. package/useDebugInfo.d.ts +1 -1
  271. package/useEffectOnce.d.ts +1 -1
  272. package/useElementSize.d.ts +1 -1
  273. package/useEsc.d.ts +1 -1
  274. package/useEvent.d.ts +1 -1
  275. package/useFullscreen.d.ts +1 -1
  276. package/useInterval.d.ts +1 -1
  277. package/useKey.d.ts +1 -1
  278. package/useLocalStorage.d.ts +1 -1
  279. package/useOnScreen.d.ts +1 -1
  280. package/useOnlineStatus.d.ts +1 -1
  281. package/useRenderCount.d.ts +1 -1
  282. package/useResizeObserver.d.ts +1 -1
  283. package/useSessionStorage.d.ts +1 -1
  284. package/useStateWithValidation.d.ts +1 -1
  285. package/useTimeout.d.ts +1 -1
  286. package/useWindowResize.d.ts +1 -1
  287. package/utils/init.js +1 -1
  288. package/version.json +1 -1
  289. package/.DS_Store +0 -0
  290. package/components/.DS_Store +0 -0
  291. package/components/map/.DS_Store +0 -0
  292. package/lib/.DS_Store +0 -0
  293. package/lib/es/.DS_Store +0 -0
  294. package/lib/es/components/.DS_Store +0 -0
  295. package/lib/es/styles/.DS_Store +0 -0
  296. package/lib/es/themes/.DS_Store +0 -0
  297. package/styles/.DS_Store +0 -0
  298. package/themes/.DS_Store +0 -0
  299. package/themes/Volkswagen/.DS_Store +0 -0
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/SplitButtonDropdown' {
1
+ declare module '@rio-cloud/rio-uikit/SplitButtonDropdown' {
2
2
  import React from 'react';
3
3
  import { SplitButtonDropdownProps } from './types';
4
4
  export default class SplitButtonDropdown extends React.Component<SplitButtonDropdownProps> {}
package/SplitDialog.d.ts CHANGED
@@ -1,5 +1,12 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/SplitDialog' {
1
+ declare module '@rio-cloud/rio-uikit/SplitDialog' {
2
2
  import React from 'react';
3
3
  import { SplitDialogProps } from './types';
4
- export default class SplitDialog extends React.Component<SplitDialogProps> {}
4
+ export default class SplitDialog extends React.Component<SplitDialogProps> {
5
+ static SIZE_SM = 'sm';
6
+ static SIZE_MD = 'md';
7
+ static SIZE_LG = 'lg';
8
+ static SIZE_XL = 'xl';
9
+ static SIZE_FULL = 'full';
10
+ static SIZE_FULL_SCREEN = 'fullscreen';
11
+ }
5
12
  }
package/StatsWidget.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/StatsWidget' {
1
+ declare module '@rio-cloud/rio-uikit/StatsWidget' {
2
2
  import React from 'react';
3
3
  import { StatsWidgetProps, StatsWidgetHeaderProps, StatsWidgetBodyProps, StatsWidgetFooterProps } from './types';
4
4
 
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/StatsWidgetNumber' {
1
+ declare module '@rio-cloud/rio-uikit/StatsWidgetNumber' {
2
2
  import React from 'react';
3
3
  import { StatsWidgetNumberProps } from './types';
4
4
  export default class StatsWidgetNumber extends React.Component<StatsWidgetNumberProps> {}
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/StatsWidgetSpacer' {
1
+ declare module '@rio-cloud/rio-uikit/StatsWidgetSpacer' {
2
2
  import React from 'react';
3
3
  import { StatsWidgetSpacerProps } from './types';
4
4
  export default class StatsWidgetSpacer extends React.Component<StatsWidgetSpacerProps> {}
package/StatsWidgets.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/StatsWidgets' {
1
+ declare module '@rio-cloud/rio-uikit/StatsWidgets' {
2
2
  import React from 'react';
3
3
  import { StatsWidgetsProps } from './types';
4
4
  export default class StatsWidgets extends React.Component<StatsWidgetsProps> {}
package/StatusBar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/StatusBar' {
1
+ declare module '@rio-cloud/rio-uikit/StatusBar' {
2
2
  import React from 'react';
3
3
  import { StatusBarProps } from './types';
4
4
  export default class StatusBar extends React.Component<StatusBarProps> {}
@@ -1,5 +1,9 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/SteppedProgressBar' {
1
+ declare module '@rio-cloud/rio-uikit/SteppedProgressBar' {
2
2
  import React from 'react';
3
3
  import { SteppedProgressBarProps } from './types';
4
- export default class SteppedProgressBar extends React.Component<SteppedProgressBarProps> {}
4
+ export default class SteppedProgressBar extends React.Component<SteppedProgressBarProps> {
5
+ static VARIANT_CIRCLE = 'circle';
6
+ static VARIANT_RECTANGLE = 'rectangle';
7
+ static VARIANT_ROADSIGN = 'roadsign';
8
+ }
5
9
  }
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/SubNavigation' {
1
+ declare module '@rio-cloud/rio-uikit/SubNavigation' {
2
2
  import React from 'react';
3
3
  import { SubNavigationProps } from './types';
4
4
  export default class SubNavigation extends React.Component<SubNavigationProps> {}
package/Switch.d.ts CHANGED
@@ -1,5 +1,8 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/Switch' {
1
+ declare module '@rio-cloud/rio-uikit/Switch' {
2
2
  import React from 'react';
3
3
  import { SwitchProps } from './types';
4
- export default class Switch extends React.Component<SwitchProps> {}
4
+ export default class Switch extends React.Component<SwitchProps> {
5
+ static LABEL_POSITION_LEFT = 'left';
6
+ static LABEL_POSITION_RIGHT = 'right';
7
+ }
5
8
  }
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TableCardsSorting' {
1
+ declare module '@rio-cloud/rio-uikit/TableCardsSorting' {
2
2
  import React from 'react';
3
3
  import { TableCardsSortingProps } from './types';
4
4
  export default class TableCardsSorting extends React.Component<TableCardsSortingProps> {}
package/TableSearch.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TableSearch' {
1
+ declare module '@rio-cloud/rio-uikit/TableSearch' {
2
2
  import React from 'react';
3
3
  import { TableSearchProps } from './types';
4
4
  export default class TableSearch extends React.Component<TableSearchProps> {}
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TableSettingsDialog' {
1
+ declare module '@rio-cloud/rio-uikit/TableSettingsDialog' {
2
2
  import React from 'react';
3
3
  import { TableSettingsDialogProps } from './types';
4
4
  export default class TableSettingsDialog extends React.Component<TableSettingsDialogProps> {}
package/TableToolbar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TableToolbar' {
1
+ declare module '@rio-cloud/rio-uikit/TableToolbar' {
2
2
  import React from 'react';
3
3
  import { TableToolbarProps } from './types';
4
4
  export default class TableToolbar extends React.Component<TableToolbarProps> {}
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TableViewToggles' {
1
+ declare module '@rio-cloud/rio-uikit/TableViewToggles' {
2
2
  import React from 'react';
3
3
  import { TableViewTogglesProps, TableViewTogglesValues } from './types';
4
4
 
package/Tag.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/Tag' {
1
+ declare module '@rio-cloud/rio-uikit/Tag' {
2
2
  import React from 'react';
3
3
  import { TagProps } from './types';
4
4
  export default class Tag extends React.Component<TagProps> {}
package/TagList.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TagList' {
1
+ declare module '@rio-cloud/rio-uikit/TagList' {
2
2
  import React from 'react';
3
3
  import { TagListProps } from './types';
4
4
  export default class TagList extends React.Component<TagListProps> {}
package/TagManager.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TagManager' {
2
- import React from 'react';
3
- import { TagManagerProps } from './types';
4
- export default class TagManager extends React.Component<TagManagerProps> {}
5
- }
1
+ import React from 'react';
2
+ import { TagManagerProps } from './types';
3
+
4
+ export { TagManagerTag } from './types';
5
+ export default class TagManager extends React.Component<TagManagerProps> {}
package/Teaser.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/Teaser' {
1
+ declare module '@rio-cloud/rio-uikit/Teaser' {
2
2
  import React from 'react';
3
3
  import { TeaserProps } from './types';
4
4
  export default class Teaser extends React.Component<TeaserProps> {}
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TeaserContainer' {
1
+ declare module '@rio-cloud/rio-uikit/TeaserContainer' {
2
2
  import React from 'react';
3
3
  import { TeaserContainerProps } from './types';
4
4
  export default class TeaserContainer extends React.Component<TeaserContainerProps> {}
package/TextMarker.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TextMarker' {
1
+ declare module '@rio-cloud/rio-uikit/TextMarker' {
2
2
  import React from 'react';
3
3
  import { TextMarkerProps } from './types';
4
4
  export default class TextMarker extends React.Component<TextMarkerProps> {}
package/TimePicker.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TimePicker' {
1
+ declare module '@rio-cloud/rio-uikit/TimePicker' {
2
2
  import React from 'react';
3
3
  import { TimePickerProps } from './types';
4
4
  export default class TimePicker extends React.Component<TimePickerProps> {}
package/ToggleButton.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/ToggleButton' {
1
+ declare module '@rio-cloud/rio-uikit/ToggleButton' {
2
2
  import React from 'react';
3
3
  import { ToggleButtonProps } from './types';
4
4
  export default class ToggleButton extends React.Component<ToggleButtonProps> {}
package/Tooltip.d.ts CHANGED
@@ -1,5 +1,32 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/Tooltip' {
1
+ declare module '@rio-cloud/rio-uikit/Tooltip' {
2
2
  import React from 'react';
3
3
  import { TooltipProps } from './types';
4
- export default class Tooltip extends React.Component<TooltipProps> {}
4
+ export default class Tooltip extends React.Component<TooltipProps> {
5
+ static STYLE_DEFAULT = 'default';
6
+ static STYLE_ONBOARDING = 'onboarding';
7
+
8
+ static AUTO_START = 'auto-start';
9
+ static AUTO = 'auto';
10
+ static AUTO_END = 'auto-end';
11
+
12
+ static TOP_START = 'top-start';
13
+ static TOP = 'top';
14
+ static TOP_END = 'top-end';
15
+
16
+ static BOTTOM_START = 'bottom-start';
17
+ static BOTTOM = 'bottom';
18
+ static BOTTOM_END = 'bottom-end';
19
+
20
+ static RIGHT_START = 'right-start';
21
+ static RIGHT = 'right';
22
+ static RIGHT_END = 'right-end';
23
+
24
+ static LEFT_START = 'left-start';
25
+ static LEFT = 'left';
26
+ static LEFT_END = 'left-end';
27
+
28
+ static TEXT_ALIGNMENT_LEFT = 'left';
29
+ static TEXT_ALIGNMENT_CENTER = 'center';
30
+ static TEXT_ALIGNMENT_RIGHT = 'right';
31
+ }
5
32
  }
package/TrafficLayer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TrafficLayer' {
1
+ declare module '@rio-cloud/rio-uikit/TrafficLayer' {
2
2
  import React from 'react';
3
3
  export default class TrafficLayer extends React.Component<any> {}
4
4
  }
package/Tree.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/Tree' {
1
+ declare module '@rio-cloud/rio-uikit/Tree' {
2
2
  import React from 'react';
3
3
  import { TreeProps } from './types';
4
4
  export default class Tree extends React.Component<TreeProps> {}
package/TreeCategory.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TreeCategory' {
1
+ declare module '@rio-cloud/rio-uikit/TreeCategory' {
2
2
  import React from 'react';
3
3
  import { TreeCategoryProps } from './types';
4
4
  export default class TreeCategory extends React.Component<TreeCategoryProps> {}
package/TreeOption.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TreeOption' {
1
+ declare module '@rio-cloud/rio-uikit/TreeOption' {
2
2
  import React from 'react';
3
3
  import { TreeOptionProps } from './types';
4
4
  export default class TreeOption extends React.Component<TreeOptionProps> {}
package/TreeSearch.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TreeSearch' {
1
+ declare module '@rio-cloud/rio-uikit/TreeSearch' {
2
2
  import React from 'react';
3
3
  import { TreeSearchProps } from './types';
4
4
  export default class TreeSearch extends React.Component<TreeSearchProps> {}
package/TreeSummary.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TreeSummary' {
1
+ declare module '@rio-cloud/rio-uikit/TreeSummary' {
2
2
  import React from 'react';
3
3
  import { TreeSummaryProps } from './types';
4
4
  export default class TreeSummary extends React.Component<TreeSummaryProps> {}
package/TruckLayer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TruckLayer' {
1
+ declare module '@rio-cloud/rio-uikit/TruckLayer' {
2
2
  import React from 'react';
3
3
  export default class TruckLayer extends React.Component<any> {}
4
4
  }
package/TypeCounter.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/TypeCounter' {
1
+ declare module '@rio-cloud/rio-uikit/TypeCounter' {
2
2
  import React from 'react';
3
3
  import { TypeCounterProps } from './types';
4
4
  export default class TypeCounter extends React.Component<TypeCounterProps> {}
@@ -1,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/VolkswagenApplicationHeader' {
1
+ declare module '@rio-cloud/rio-uikit/VolkswagenApplicationHeader' {
2
2
  import React from 'react';
3
3
  import { ApplicationHeaderProps } from './types';
4
4
  export default class VolkswagenApplicationHeader extends React.Component<ApplicationHeaderProps> {}
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["active", "disabled", "asToggle", "onClick", "bsStyle", "bsSize", "variant", "iconOnly", "multiline", "block", "className", "children"];
4
+ var _excluded = ["active", "disabled", "asToggle", "onClick", "bsStyle", "bsSize", "variant", "iconOnly", "multiline", "block", "className", "noRippleEffect", "children"];
5
5
  import React, { useState, useRef, useEffect } from 'react';
6
6
  import PropTypes from 'prop-types';
7
7
  import classNames from 'classnames';
@@ -18,6 +18,7 @@ var Button = function Button(props) {
18
18
  multiline = props.multiline,
19
19
  block = props.block,
20
20
  className = props.className,
21
+ noRippleEffect = props.noRippleEffect,
21
22
  children = props.children,
22
23
  remainingProps = _objectWithoutProperties(props, _excluded);
23
24
  var _useState = useState(active),
@@ -35,7 +36,7 @@ var Button = function Button(props) {
35
36
  // Register a dedicated click event on the button to interrupt
36
37
  // the actual 'onClick' callback passed into the component from outside
37
38
  useEffect(function () {
38
- if (!btnRef.current) {
39
+ if (noRippleEffect || !btnRef.current) {
39
40
  return;
40
41
  }
41
42
  var mouseListener = btnRef.current.addEventListener('mousedown', createButtonRipple, false);
@@ -44,7 +45,7 @@ var Button = function Button(props) {
44
45
  mouseListener && btnRef.current.removeEventListener('mousedown', createButtonRipple, false);
45
46
  touchListener && btnRef.current.removeEventListener('touchstart', createButtonRipple, false);
46
47
  };
47
- }, [btnRef.current]);
48
+ }, [btnRef.current, noRippleEffect]);
48
49
 
49
50
  // Intercept click handler only for toggle button to update
50
51
  // internal state and blur after click
@@ -92,6 +93,7 @@ Button.defaultProps = {
92
93
  iconOnly: false,
93
94
  multiline: false,
94
95
  block: false,
96
+ noRippleEffect: false,
95
97
  onClick: function onClick() {},
96
98
  className: '',
97
99
  bsStyle: 'default'
@@ -107,6 +109,7 @@ Button.propTypes = {
107
109
  bsStyle: PropTypes.oneOf([Button.DEFAULT, Button.PRIMARY, Button.SECONDARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED]),
108
110
  bsSize: PropTypes.oneOf([Button.XS, Button.SM, Button.MD, Button.LG]),
109
111
  variant: PropTypes.oneOf([Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE, Button.VARIANT_ACTION]),
112
+ noRippleEffect: PropTypes.bool,
110
113
  className: PropTypes.string
111
114
  };
112
115
  export default Button;
@@ -5,9 +5,12 @@ import _typeof from "@babel/runtime/helpers/typeof";
5
5
  var _excluded = ["dropup", "alignRight", "onChange", "className", "mandatory", "dateValidation"];
6
6
  import React, { useState } from 'react';
7
7
  import PropTypes from 'prop-types';
8
- import Datetime from 'react-datetime';
9
- import moment from 'moment';
10
8
  import classNames from 'classnames';
9
+
10
+ // This workaround fixes the react minified #130 error for using external commonjs libs
11
+ // see https://github.com/vitejs/vite/issues/2139
12
+ import RDT from 'react-datetime';
13
+ var Datetime = RDT["default"] ? RDT["default"] : RDT;
11
14
  var isValidDate = function isValidDate(date) {
12
15
  return _typeof(date) === 'object';
13
16
  };
@@ -1,5 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["leftContent", "rightContent", "onClose", "className"];
3
5
  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; }
4
6
  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; }
5
7
  import React from 'react';
@@ -11,7 +13,8 @@ var SplitDialog = function SplitDialog(props) {
11
13
  var leftContent = props.leftContent,
12
14
  rightContent = props.rightContent,
13
15
  onClose = props.onClose,
14
- className = props.className;
16
+ className = props.className,
17
+ remainingProps = _objectWithoutProperties(props, _excluded);
15
18
  var dialogClassName = "split-dialog ".concat(className);
16
19
  var dividerClasses = classNames('split-divider', 'bg-lighter');
17
20
  var body = /*#__PURE__*/React.createElement("div", {
@@ -23,7 +26,7 @@ var SplitDialog = function SplitDialog(props) {
23
26
  })), /*#__PURE__*/React.createElement("div", {
24
27
  className: "split-right"
25
28
  }, rightContent));
26
- return /*#__PURE__*/React.createElement(Dialog, _extends({}, props, {
29
+ return /*#__PURE__*/React.createElement(Dialog, _extends({}, remainingProps, {
27
30
  body: body,
28
31
  onHide: onClose,
29
32
  className: dialogClassName
@@ -65,11 +65,16 @@ var ButtonDropdown = function ButtonDropdown(props) {
65
65
  _React$useState4 = _slicedToArray(_React$useState3, 2),
66
66
  refDropdownMenu = _React$useState4[0],
67
67
  setRefDropdownMenu = _React$useState4[1];
68
+ var _React$useState5 = React.useState(null),
69
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
70
+ refSplitButtonToggle = _React$useState6[0],
71
+ setRefSplitButtonToggle = _React$useState6[1];
68
72
  var defaultPopperConfig = {
69
73
  placement: getPlacement(pullRight, dropup),
70
74
  modifiers: []
71
75
  };
72
- var _usePopper = usePopper(refDropdownToggle, refDropdownMenu, popperConfig || defaultPopperConfig),
76
+ var popperParentRef = splitButton && pullRight ? refSplitButtonToggle : refDropdownToggle;
77
+ var _usePopper = usePopper(popperParentRef, refDropdownMenu, popperConfig || defaultPopperConfig),
73
78
  styles = _usePopper.styles,
74
79
  attributes = _usePopper.attributes;
75
80
  var wrapperRef = useClickOutside(function () {
@@ -111,7 +116,7 @@ var ButtonDropdown = function ButtonDropdown(props) {
111
116
  var handleDropdownButtonClick = splitButton ? handleSplitLabelButtonClick : toggleOpen;
112
117
  var isOpen = isUncontrolled ? internalOpen : open;
113
118
  var wrapperClasses = classNames('dropdown', 'btn-group', isOpen && 'open', className);
114
- var dropdownClasses = classNames(usePortal && 'dropdown-portal', dropdownClassName);
119
+ var dropdownClasses = classNames(usePortal && 'dropdown-portal', splitButton && pullRight && 'pull-right', dropdownClassName);
115
120
  var dropdownMenu = /*#__PURE__*/React.createElement(MenuItems, _extends({
116
121
  className: dropdownClasses,
117
122
  ref: setRefDropdownMenu,
@@ -135,7 +140,8 @@ var ButtonDropdown = function ButtonDropdown(props) {
135
140
  bsStyle: bsStyle,
136
141
  disabled: disabled,
137
142
  className: toggleClassName,
138
- onClick: toggleOpen
143
+ onClick: toggleOpen,
144
+ ref: setRefSplitButtonToggle
139
145
  }), isOpen && usePortal && /*#__PURE__*/ReactDOM.createPortal(dropdownMenu, dropdownRoot), isOpen && !usePortal && dropdownMenu);
140
146
  };
141
147
  ButtonDropdown.defaultProps = {
@@ -131,6 +131,7 @@ var Map = function Map(props) {
131
131
  eventListenerMap = props.eventListenerMap,
132
132
  mapType = props.mapType,
133
133
  mapLayer = props.mapLayer,
134
+ externalShowCluster = props.showCluster,
134
135
  showScaleBar = props.showScaleBar,
135
136
  onMapLayerChange = props.onMapLayerChange,
136
137
  onMapTypeChange = props.onMapTypeChange,
@@ -160,7 +161,7 @@ var Map = function Map(props) {
160
161
  _useState10 = _slicedToArray(_useState9, 2),
161
162
  activeLayers = _useState10[0],
162
163
  setActiveLayers = _useState10[1];
163
- var _useState11 = useState(props.showCluster),
164
+ var _useState11 = useState(externalShowCluster),
164
165
  _useState12 = _slicedToArray(_useState11, 2),
165
166
  showCluster = _useState12[0],
166
167
  setShowCluster = _useState12[1];
@@ -247,6 +248,8 @@ var Map = function Map(props) {
247
248
  };
248
249
  }
249
250
  }, []);
251
+
252
+ // Update BoundingBox from outside
250
253
  useEffect(function () {
251
254
  if (api && boundingBox) {
252
255
  var top = boundingBox.top,
@@ -258,16 +261,35 @@ var Map = function Map(props) {
258
261
  }, zoomAnimation);
259
262
  }
260
263
  }, [boundingBox]);
264
+
265
+ // Update Zoom from outside
261
266
  useEffect(function () {
262
267
  if (api && zoom) {
263
268
  api.map.setZoom(zoom, zoomAnimation);
264
269
  }
265
270
  }, [zoom]);
271
+
272
+ // Update Lat & Lng from outside
266
273
  useEffect(function () {
267
274
  if (api && center) {
268
275
  api.map.setCenter(center, zoomAnimation);
269
276
  }
270
277
  }, [center]);
278
+
279
+ // Update MapType from outside
280
+ useEffect(function () {
281
+ return setBaseLayer(mapType);
282
+ }, [mapType]);
283
+
284
+ // Update MapLayer from outside
285
+ useEffect(function () {
286
+ return setActiveLayers(mapLayer);
287
+ }, [mapLayer]);
288
+
289
+ // Update Cluster setting from outside
290
+ useEffect(function () {
291
+ return setShowCluster(externalShowCluster);
292
+ }, [externalShowCluster]);
271
293
  var handleMapTypeChange = function handleMapTypeChange(newMapType) {
272
294
  setBaseLayer(newMapType);
273
295
  onMapTypeChange(newMapType, mapType);
@@ -349,6 +371,7 @@ var Map = function Map(props) {
349
371
  return getLayer(api, layer, language);
350
372
  }, activeLayers), renderChildren()));
351
373
  };
374
+ ;
352
375
  Map.TYPE_DEFAULT = MAP_TYPE_DEFAULT;
353
376
  Map.TYPE_FLEET_STYLE = MAP_TYPE_FLEET_STYLE;
354
377
  Map.TYPE_SATELLITE = MAP_TYPE_SATELLITE;
@@ -3,7 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["rootClose"];
4
4
  import React from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { default as _OverlayTrigger } from 'react-bootstrap/OverlayTrigger';
6
+ import OT from 'react-bootstrap/OverlayTrigger';
7
+ var _OverlayTrigger = OT["default"] ? OT["default"] : OT;
7
8
  export default function OverlayTrigger(props) {
8
9
  var rootClose = props.rootClose,
9
10
  remainingProps = _objectWithoutProperties(props, _excluded);
@@ -0,0 +1,76 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["placement", "icon", "hidden", "background", "pageBackground", "contentClassName", "hasBorder", "borderColor", "className", "children"];
4
+ import React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import classNames from 'classnames';
7
+ var getBorderColorFromBg = function getBorderColorFromBg(bg) {
8
+ return bg.replace('bg', 'border-color');
9
+ };
10
+ var RuleConnector = function RuleConnector(props) {
11
+ var placement = props.placement,
12
+ icon = props.icon,
13
+ hidden = props.hidden,
14
+ background = props.background,
15
+ pageBackground = props.pageBackground,
16
+ contentClassName = props.contentClassName,
17
+ hasBorder = props.hasBorder,
18
+ borderColor = props.borderColor,
19
+ className = props.className,
20
+ children = props.children,
21
+ remainingProps = _objectWithoutProperties(props, _excluded);
22
+ var wrapperClassNames = classNames('RuleConnector', 'height-20', 'display-flex', "justify-content-".concat(placement), 'align-items-center', 'position-relative', hidden && 'opacity-0', className);
23
+ var commonRoundedClasses = classNames('width-20', 'height-20', 'rounded-circle', 'position-relative', 'z-index-2', 'box-sizing-content-box');
24
+ var commonRoundedBorderClippingClasses = classNames('position-relative', 'width-20', 'height-20');
25
+ var leftRoundedBox = classNames('margin-right--10', commonRoundedClasses, pageBackground, hasBorder && "border ".concat(borderColor));
26
+ var leftRoundedBoxBorderClipping = classNames('right-50pct', commonRoundedBorderClippingClasses, pageBackground);
27
+ var contentWrapperClassNames = classNames('padding-left-20 padding-right-20', 'z-index-1', background, hasBorder && "border ".concat(getBorderColorFromBg(background)));
28
+ var rightRoundedBox = classNames('margin-left--10', commonRoundedClasses, pageBackground, hasBorder && "border ".concat(borderColor));
29
+ var rightRoundedBoxBorderClipping = classNames('left-50pct', commonRoundedBorderClippingClasses, pageBackground);
30
+ return /*#__PURE__*/React.createElement("div", _extends({
31
+ "data-testid": "ruleConnector"
32
+ }, remainingProps, {
33
+ className: wrapperClassNames
34
+ }), /*#__PURE__*/React.createElement("div", {
35
+ className: leftRoundedBox
36
+ }, /*#__PURE__*/React.createElement("div", {
37
+ className: leftRoundedBoxBorderClipping
38
+ })), /*#__PURE__*/React.createElement("span", {
39
+ className: contentWrapperClassNames
40
+ }, /*#__PURE__*/React.createElement("span", {
41
+ className: contentClassName
42
+ }, children ? children : /*#__PURE__*/React.createElement("span", {
43
+ className: "rioglyph ".concat(icon),
44
+ "data-testid": "ruleConnectorIcon"
45
+ }))), /*#__PURE__*/React.createElement("div", {
46
+ className: rightRoundedBox
47
+ }, /*#__PURE__*/React.createElement("div", {
48
+ className: rightRoundedBoxBorderClipping
49
+ })));
50
+ };
51
+ RuleConnector.START = 'start';
52
+ RuleConnector.CENTER = 'center';
53
+ RuleConnector.END = 'end';
54
+ RuleConnector.defaultProps = {
55
+ placement: 'center',
56
+ icon: 'rioglyph-plus',
57
+ hidden: false,
58
+ background: 'bg-lightest',
59
+ pageBackground: 'bg-white',
60
+ contentClassName: 'text-color-light',
61
+ hasBorder: false,
62
+ borderColor: '',
63
+ className: ''
64
+ };
65
+ RuleConnector.propTypes = {
66
+ placement: PropTypes.oneOf([RuleConnector.START, RuleConnector.CENTER, RuleConnector.END]),
67
+ icon: PropTypes.string,
68
+ hidden: PropTypes.bool,
69
+ background: PropTypes.string,
70
+ pageBackground: PropTypes.string,
71
+ contentClassName: PropTypes.string,
72
+ hasBorder: PropTypes.bool,
73
+ borderColor: PropTypes.string,
74
+ className: PropTypes.string
75
+ };
76
+ export default RuleConnector;