react-ui-basics 0.0.150 → 0.0.151

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.
package/index.js CHANGED
@@ -23,6 +23,9 @@ export { default as Snackbar } from './Snackbar.js';
23
23
  export { default as SpinningProgress } from './SpinningProgress.js';
24
24
  export { default as Switch } from './Switch.js';
25
25
  export { default as ReactCreateElement } from './ReactCreateElement.js';
26
+ import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
27
+ import {className as __className} from "./ReactConstants";
28
+ import {children as __children} from "./ReactConstants";
26
29
  import * as ReadyListener from './ReadyListener.js';
27
30
  export { ReadyListener };
28
31
  export { default as TextField } from './TextField.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-basics",
3
- "version": "0.0.150",
3
+ "version": "0.0.151",
4
4
  "description": "",
5
5
  "module": "index.js",
6
6
  "_main": "index.cjs.js",
package/router/Link.js CHANGED
@@ -1,4 +1,7 @@
1
1
  import 'react';
2
+ import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers";
3
+ import {className as __className} from "./../ReactConstants";
4
+ import {children as __children} from "./../ReactConstants";
2
5
  import ReactCreateElement from '../ReactCreateElement.js';
3
6
  import PropTypes from 'prop-types';
4
7
  import { pushLocation } from './HistoryTools.js';
@@ -10,7 +13,7 @@ var Link = function Link(_ref) {
10
13
  className = _ref.className;
11
14
  return ReactCreateElement("a", {
12
15
  href: href,
13
- className: className,
16
+ [__className]: className,
14
17
  onClick: function onClick(e) {
15
18
  if (!e.ctrlKey) {
16
19
  preventDefault(e);
package/router/NavLink.js CHANGED
@@ -1,4 +1,7 @@
1
1
  import 'react';
2
+ import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers";
3
+ import {className as __className} from "./../ReactConstants";
4
+ import {children as __children} from "./../ReactConstants";
2
5
  import ReactCreateElement from '../ReactCreateElement.js';
3
6
  import 'prop-types';
4
7
  import Route from './Route.js';
@@ -16,7 +19,7 @@ var NavLink = function NavLink(_ref) {
16
19
  controller: function controller(matches) {
17
20
  return ReactCreateElement(Link, {
18
21
  href: href,
19
- className: classNames(className, matches && activeClassName)
22
+ [__className]: classNames(className, matches && activeClassName)
20
23
  }, children);
21
24
  }
22
25
  });
package/router/Route.js CHANGED
@@ -1,4 +1,7 @@
1
1
  import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, slicedToArray as _slicedToArray, createClass as _createClass } from '../_virtual/_rollupPluginBabelHelpers.js';
2
+ import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers";
3
+ import {className as __className} from "./../ReactConstants";
4
+ import {children as __children} from "./../ReactConstants";
2
5
  import React from 'react';
3
6
  import PropTypes from 'prop-types';
4
7
  import { setOf, allPropsExcept, isDifferent, addEventListener, removeEventListener, WINDOW, orNoop } from '../Tools.js';
@@ -75,7 +78,7 @@ var createUrlMatchers = function createUrlMatchers(path) {
75
78
  for (var i = 0; i < matchers.length; i++) {
76
79
  var props = {};
77
80
  if (matchers[i](path, props)) {
78
- Object.assign(params, props);
81
+ __extends(params, props);
79
82
  return true;
80
83
  }
81
84
  }
@@ -109,7 +112,7 @@ var Route = function (_PureComponent) {
109
112
  var toggle = isMatching !== isRendering();
110
113
  toggle && (nextState[isRendering] = isMatching);
111
114
  if (isDifferent(paramsState(), params)) {
112
- nextState[mergedPropsState] = Object.assign(allPropsExcept(props(), selfProps), params);
115
+ nextState[mergedPropsState] = __extends(allPropsExcept(props(), selfProps), params);
113
116
  nextState[paramsState] = params;
114
117
  }
115
118
  setState(that, nextState, function () {
@@ -118,7 +121,7 @@ var Route = function (_PureComponent) {
118
121
  };
119
122
  that[componentDidUpdate] = function (prevProps, prevState) {
120
123
  if (props() !== prevProps) {
121
- var mergedProps = Object.assign(allPropsExcept(props(), selfProps), paramsState());
124
+ var mergedProps = __extends(allPropsExcept(props(), selfProps), paramsState());
122
125
  if (isDifferent(mergedProps, mergedPropsState())) mergedPropsState(mergedProps);
123
126
  }
124
127
  };
package/router/index.js CHANGED
@@ -1,4 +1,7 @@
1
1
  import Link from './Link.js';
2
+ import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers";
3
+ import {className as __className} from "./../ReactConstants";
4
+ import {children as __children} from "./../ReactConstants";
2
5
  import NavLink from './NavLink.js';
3
6
  import Route from './Route.js';
4
7
 
@@ -1,4 +1,7 @@
1
1
  import { typeof as _typeof, toConsumableArray as _toConsumableArray, objectSpread2 as _objectSpread2 } from '../_virtual/_rollupPluginBabelHelpers.js';
2
+ import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers";
3
+ import {className as __className} from "./../ReactConstants";
4
+ import {children as __children} from "./../ReactConstants";
2
5
  import { UNDEFINED } from '../Tools.js';
3
6
 
4
7
  var createProxy = function createProxy(target) {
package/store/Store.js CHANGED
@@ -1,4 +1,7 @@
1
1
  import { useState, useEffect } from 'react';
2
+ import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers";
3
+ import {className as __className} from "./../ReactConstants";
4
+ import {children as __children} from "./../ReactConstants";
2
5
  import { createProxy } from './ProxyTools.js';
3
6
 
4
7
  let STORES = {};