@schukai/monster 4.38.3 → 4.38.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 +24 -0
- package/package.json +1 -1
- package/source/components/datatable/filter.mjs +18 -0
- package/source/components/datatable/save-button.mjs +331 -331
- package/source/components/form/select.mjs +3 -2
- package/source/components/form/toggle-switch.mjs +359 -359
- package/source/components/style/property.css +265 -261
- package/source/dom/updater.mjs +842 -838
- package/source/i18n/translations.mjs +16 -6
- package/source/types/observer.mjs +127 -132
- package/source/types/version.mjs +1 -1
- package/test/cases/dom/updater.mjs +639 -626
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +531 -460
@@ -1655,7 +1655,9 @@ function getSelectionTemplate() {
|
|
1655
1655
|
data-monster-role="filter"
|
1656
1656
|
autocomplete="off"
|
1657
1657
|
tabindex="0"
|
1658
|
-
><div data-monster-replace="path:messages.control"
|
1658
|
+
><div data-monster-replace="path:messages.control"
|
1659
|
+
data-monster-attributes="class path:messages.control | length | gt:0 | ?::hidden"
|
1660
|
+
data-monster-role="selection-messages"></div>
|
1659
1661
|
</div>`;
|
1660
1662
|
}
|
1661
1663
|
|
@@ -1836,7 +1838,6 @@ function getDefaultTranslation() {
|
|
1836
1838
|
const translation = new Translations("en").assignTranslations(
|
1837
1839
|
this.getOption("labels", {}),
|
1838
1840
|
);
|
1839
|
-
|
1840
1841
|
try {
|
1841
1842
|
const doc = getDocumentTranslations();
|
1842
1843
|
translation.locale = doc.locale;
|