@panneau/core 3.0.244 → 3.0.256
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/utils.js +2 -2
- package/package.json +2 -2
package/es/utils.js
CHANGED
|
@@ -4,7 +4,7 @@ import EventEmitter from 'wolfy87-eventemitter';
|
|
|
4
4
|
import isNumber from 'lodash/isNumber';
|
|
5
5
|
import { snakeCase } from 'snake-case';
|
|
6
6
|
import isObject from 'lodash/isObject';
|
|
7
|
-
import { useEffect } from 'react';
|
|
7
|
+
import { useEffect, isValidElement } from 'react';
|
|
8
8
|
import { pascalCase, kebabCase, snakeCase as snakeCase$1 } from 'change-case';
|
|
9
9
|
export { kebabCase as dashCase, pascalCase, snakeCase } from 'change-case';
|
|
10
10
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
@@ -432,7 +432,7 @@ var getSelectOptions = function getSelectOptions(options) {
|
|
|
432
432
|
}
|
|
433
433
|
return {
|
|
434
434
|
value: value,
|
|
435
|
-
label: "".concat(label)
|
|
435
|
+
label: /*#__PURE__*/isValidElement(label) ? label : "".concat(label)
|
|
436
436
|
};
|
|
437
437
|
}
|
|
438
438
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.256",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"publishConfig": {
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "d841aee21fa1e406ed2674e9f7fb5622d185b05c"
|
|
114
114
|
}
|