@schukai/monster 3.99.3 → 3.99.5
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/CHANGELOG.md +17 -0
- package/package.json +1 -1
- package/source/components/datatable/datatable/header.mjs +4 -4
- package/source/components/datatable/datatable.mjs +6 -6
- package/source/components/datatable/filter.mjs +1090 -1100
- package/source/components/layout/slider.mjs +189 -112
- package/source/components/layout/style/slider.pcss +8 -3
- package/source/components/layout/stylesheet/slider.mjs +1 -1
- package/source/components/style/form.css +0 -8
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## [3.99.5] - 2025-01-12
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- update styles
|
10
|
+
- **slider:** set slieder display to block [#239](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/239)
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [3.99.4] - 2025-01-11
|
15
|
+
|
16
|
+
### Bug Fixes
|
17
|
+
|
18
|
+
- slider with more slides [#239](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/239)
|
19
|
+
|
20
|
+
|
21
|
+
|
5
22
|
## [3.99.3] - 2025-01-11
|
6
23
|
|
7
24
|
### Bug Fixes
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"3.99.
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"3.99.5"}
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
validateIterable,
|
22
22
|
validateInstance,
|
23
23
|
} from "../../../types/validate.mjs";
|
24
|
-
import {Formatter} from "../../../text/formatter.mjs";
|
24
|
+
import { Formatter } from "../../../text/formatter.mjs";
|
25
25
|
|
26
26
|
export {
|
27
27
|
Header,
|
@@ -279,9 +279,9 @@ function updateStruct() {
|
|
279
279
|
if (direction) {
|
280
280
|
const tmpl = this.getInternal("orderTemplate");
|
281
281
|
const formatter = new Formatter({
|
282
|
-
|
283
|
-
|
284
|
-
|
282
|
+
direction: direction,
|
283
|
+
label: label,
|
284
|
+
field: field,
|
285
285
|
});
|
286
286
|
order = formatter.format(tmpl);
|
287
287
|
}
|
@@ -1094,7 +1094,7 @@ function initGridAndStructs(hostConfig, headerOrderMap) {
|
|
1094
1094
|
labelKey: labelKey,
|
1095
1095
|
direction: direction,
|
1096
1096
|
features: features,
|
1097
|
-
orderTemplate: orderTemplate
|
1097
|
+
orderTemplate: orderTemplate,
|
1098
1098
|
});
|
1099
1099
|
|
1100
1100
|
headers.push(header);
|
@@ -1348,14 +1348,14 @@ function initControlReferences() {
|
|
1348
1348
|
* @throws {Error} the datasource could not be initialized
|
1349
1349
|
*/
|
1350
1350
|
function initOptionsFromArguments() {
|
1351
|
-
const options = {datasource:{}};
|
1351
|
+
const options = { datasource: {} };
|
1352
1352
|
const selector = this.getAttribute(ATTRIBUTE_DATASOURCE_SELECTOR);
|
1353
1353
|
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1354
|
+
if (selector) {
|
1355
|
+
options.datasource = { selector: selector };
|
1356
|
+
}
|
1357
1357
|
|
1358
|
-
options.datasource.orderDelimiter = "," // workaround for the missing orderDelimiter
|
1358
|
+
options.datasource.orderDelimiter = ","; // workaround for the missing orderDelimiter
|
1359
1359
|
|
1360
1360
|
const breakpoint = this.getAttribute(
|
1361
1361
|
ATTRIBUTE_DATATABLE_RESPONSIVE_BREAKPOINT,
|