@nebula.js/stardust 4.2.2 → 4.2.3
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/core/esm/dev.js +6 -5
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +2 -2
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +6 -5
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +3 -3
- package/dist/stardust.js.map +1 -1
- package/package.json +9 -9
- package/types/index.d.ts +10 -10
package/core/esm/dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v4.2.
|
|
2
|
+
* @nebula.js/stardust v4.2.3
|
|
3
3
|
* Copyright (c) 2023 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -8394,7 +8394,7 @@ function create$3(definition) {
|
|
|
8394
8394
|
return cache[key];
|
|
8395
8395
|
}
|
|
8396
8396
|
|
|
8397
|
-
const NEBULA_VERSION_HASH = "
|
|
8397
|
+
const NEBULA_VERSION_HASH = "e554" ;
|
|
8398
8398
|
ClassNameGenerator$1.configure(componentName => {
|
|
8399
8399
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
8400
8400
|
});
|
|
@@ -8641,7 +8641,7 @@ function boot(_ref2) {
|
|
|
8641
8641
|
const appRef = React__default.createRef();
|
|
8642
8642
|
const element = document.createElement('div');
|
|
8643
8643
|
element.style.display = 'none';
|
|
8644
|
-
element.setAttribute('data-nebulajs-version', "4.2.
|
|
8644
|
+
element.setAttribute('data-nebulajs-version', "4.2.3" );
|
|
8645
8645
|
element.setAttribute('data-app-id', app.id);
|
|
8646
8646
|
document.body.appendChild(element);
|
|
8647
8647
|
if (context) {
|
|
@@ -13029,7 +13029,7 @@ function useListSizes(_ref) {
|
|
|
13029
13029
|
const {
|
|
13030
13030
|
fontSize = '12px',
|
|
13031
13031
|
fontFamily = 'Source sans pro'
|
|
13032
|
-
} = ((_theme$listBox = theme.listBox) === null || _theme$listBox === void 0 ? void 0 : _theme$listBox.content) || {};
|
|
13032
|
+
} = (theme === null || theme === void 0 ? void 0 : (_theme$listBox = theme.listBox) === null || _theme$listBox === void 0 ? void 0 : _theme$listBox.content) || {};
|
|
13033
13033
|
const font = "".concat(fontSize, " ").concat(fontFamily); // font format as supported by HTML canvas
|
|
13034
13034
|
const textWidth = useTextWidth({
|
|
13035
13035
|
text: getMeasureText(layout),
|
|
@@ -15484,7 +15484,8 @@ function ListBoxPopover(_ref) {
|
|
|
15484
15484
|
selectionState: selectionState$1,
|
|
15485
15485
|
direction: "ltr",
|
|
15486
15486
|
onSetListCount: c => setListCount(c),
|
|
15487
|
-
onCtrlF: onCtrlF
|
|
15487
|
+
onCtrlF: onCtrlF,
|
|
15488
|
+
theme: theme
|
|
15488
15489
|
}))));
|
|
15489
15490
|
}
|
|
15490
15491
|
|