@panneau/app 3.0.176 → 3.0.178

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/es/index.js CHANGED
@@ -185,9 +185,9 @@ var defaultProps$h = {
185
185
  theme: 'light'
186
186
  };
187
187
  var MainNavbar = function MainNavbar(_ref) {
188
- var loading = _ref.loading,
189
- theme = _ref.theme,
190
- props = _objectWithoutProperties(_ref, _excluded$4);
188
+ var loading = _ref.loading;
189
+ _ref.theme;
190
+ var props = _objectWithoutProperties(_ref, _excluded$4);
191
191
  var _usePanneau = usePanneau(),
192
192
  name = _usePanneau.name,
193
193
  _usePanneau$menus = _usePanneau.menus,
@@ -242,6 +242,9 @@ var MainNavbar = function MainNavbar(_ref) {
242
242
  }) : it;
243
243
  });
244
244
  }, [main]);
245
+
246
+ // 'text-light': theme === 'dark', 'text-dark': theme !== 'dark',
247
+
245
248
  return /*#__PURE__*/React.createElement(Navbar, Object.assign({
246
249
  theme: background,
247
250
  loading: loading
@@ -250,8 +253,6 @@ var MainNavbar = function MainNavbar(_ref) {
250
253
  className: "navbar-brand"
251
254
  }, /*#__PURE__*/React.createElement("span", {
252
255
  className: classNames([{
253
- 'text-light': theme === 'dark',
254
- 'text-dark': theme !== 'dark',
255
256
  'text-opacity-75': loading
256
257
  }])
257
258
  }, name)) : null, items);
package/lib/index.js CHANGED
@@ -1398,9 +1398,9 @@ var defaultProps$h = {
1398
1398
  theme: 'light'
1399
1399
  };
1400
1400
  var MainNavbar = function MainNavbar(_ref) {
1401
- var loading = _ref.loading,
1402
- theme = _ref.theme,
1403
- props = _objectWithoutProperties(_ref, _excluded$4);
1401
+ var loading = _ref.loading;
1402
+ _ref.theme;
1403
+ var props = _objectWithoutProperties(_ref, _excluded$4);
1404
1404
  var _usePanneau = contexts.usePanneau(),
1405
1405
  name = _usePanneau.name,
1406
1406
  _usePanneau$menus = _usePanneau.menus,
@@ -1455,6 +1455,9 @@ var MainNavbar = function MainNavbar(_ref) {
1455
1455
  }) : it;
1456
1456
  });
1457
1457
  }, [main]);
1458
+
1459
+ // 'text-light': theme === 'dark', 'text-dark': theme !== 'dark',
1460
+
1458
1461
  return /*#__PURE__*/React.createElement(Navbar, Object.assign({
1459
1462
  theme: background,
1460
1463
  loading: loading
@@ -1463,8 +1466,6 @@ var MainNavbar = function MainNavbar(_ref) {
1463
1466
  className: "navbar-brand"
1464
1467
  }, /*#__PURE__*/React.createElement("span", {
1465
1468
  className: classNames([{
1466
- 'text-light': theme === 'dark',
1467
- 'text-dark': theme !== 'dark',
1468
1469
  'text-opacity-75': loading
1469
1470
  }])
1470
1471
  }, name)) : null, items);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/app",
3
- "version": "3.0.176",
3
+ "version": "3.0.178",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -68,44 +68,44 @@
68
68
  "@fortawesome/fontawesome-svg-core": "^6.5.1",
69
69
  "@fortawesome/free-solid-svg-icons": "^6.5.1",
70
70
  "@fortawesome/react-fontawesome": "^0.2.0",
71
- "@panneau/actions": "^3.0.176",
72
- "@panneau/auth": "^3.0.176",
71
+ "@panneau/actions": "^3.0.178",
72
+ "@panneau/auth": "^3.0.178",
73
73
  "@panneau/core": "^3.0.176",
74
- "@panneau/data": "^3.0.176",
75
- "@panneau/displays": "^3.0.176",
74
+ "@panneau/data": "^3.0.178",
75
+ "@panneau/displays": "^3.0.177",
76
76
  "@panneau/element-accordion": "^3.0.176",
77
- "@panneau/element-alert": "^3.0.176",
78
- "@panneau/element-avatar": "^3.0.176",
79
- "@panneau/element-breadcrumbs": "^3.0.176",
80
- "@panneau/element-button": "^3.0.176",
81
- "@panneau/element-buttons": "^3.0.176",
82
- "@panneau/element-dropdown": "^3.0.176",
83
- "@panneau/element-form": "^3.0.176",
84
- "@panneau/element-form-group": "^3.0.176",
77
+ "@panneau/element-alert": "^3.0.177",
78
+ "@panneau/element-avatar": "^3.0.177",
79
+ "@panneau/element-breadcrumbs": "^3.0.177",
80
+ "@panneau/element-button": "^3.0.177",
81
+ "@panneau/element-buttons": "^3.0.177",
82
+ "@panneau/element-dropdown": "^3.0.177",
83
+ "@panneau/element-form": "^3.0.177",
84
+ "@panneau/element-form-group": "^3.0.177",
85
85
  "@panneau/element-grid": "^3.0.176",
86
86
  "@panneau/element-icon": "^3.0.176",
87
87
  "@panneau/element-label": "^3.0.176",
88
- "@panneau/element-link": "^3.0.176",
88
+ "@panneau/element-link": "^3.0.177",
89
89
  "@panneau/element-loading": "^3.0.176",
90
- "@panneau/element-media-card": "^3.0.176",
90
+ "@panneau/element-media-card": "^3.0.177",
91
91
  "@panneau/element-media-player": "^3.0.176",
92
- "@panneau/element-menu": "^3.0.176",
93
- "@panneau/element-modal": "^3.0.176",
94
- "@panneau/element-navbar": "^3.0.176",
95
- "@panneau/element-pagination": "^3.0.176",
96
- "@panneau/element-radios": "^3.0.176",
92
+ "@panneau/element-menu": "^3.0.177",
93
+ "@panneau/element-modal": "^3.0.177",
94
+ "@panneau/element-navbar": "^3.0.177",
95
+ "@panneau/element-pagination": "^3.0.177",
96
+ "@panneau/element-radios": "^3.0.177",
97
97
  "@panneau/element-range": "^3.0.176",
98
- "@panneau/element-resource-card": "^3.0.176",
99
- "@panneau/fields": "^3.0.176",
100
- "@panneau/filter-filters": "^3.0.176",
101
- "@panneau/filters": "^3.0.176",
102
- "@panneau/form-resource": "^3.0.176",
103
- "@panneau/forms": "^3.0.176",
104
- "@panneau/intl": "^3.0.176",
105
- "@panneau/list-resource-items": "^3.0.176",
106
- "@panneau/lists": "^3.0.176",
107
- "@panneau/modals": "^3.0.176",
108
- "@panneau/themes": "^3.0.176",
98
+ "@panneau/element-resource-card": "^3.0.177",
99
+ "@panneau/fields": "^3.0.178",
100
+ "@panneau/filter-filters": "^3.0.177",
101
+ "@panneau/filters": "^3.0.178",
102
+ "@panneau/form-resource": "^3.0.178",
103
+ "@panneau/forms": "^3.0.178",
104
+ "@panneau/intl": "^3.0.178",
105
+ "@panneau/list-resource-items": "^3.0.178",
106
+ "@panneau/lists": "^3.0.177",
107
+ "@panneau/modals": "^3.0.178",
108
+ "@panneau/themes": "^3.0.177",
109
109
  "@panneau/uppy": "^3.0.176",
110
110
  "classnames": "^2.5.1",
111
111
  "lodash": "^4.17.21",
@@ -117,5 +117,5 @@
117
117
  "publishConfig": {
118
118
  "access": "public"
119
119
  },
120
- "gitHead": "ddd1878318abbb8da545c1883a50bf49c89ae9c5"
120
+ "gitHead": "8001eb333f3ee12b610e93a05bb4aa9e7660141c"
121
121
  }