@jsenv/navi 0.26.0 → 0.26.1
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/dist/jsenv_navi.js +15 -7
- package/dist/jsenv_navi.js.map +6 -6
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -6287,6 +6287,7 @@ const FLOW_PROPS = {
|
|
|
6287
6287
|
flex: () => {},
|
|
6288
6288
|
grid: () => {},
|
|
6289
6289
|
gridTemplateColumns: PASS_THROUGH,
|
|
6290
|
+
display: PASS_THROUGH, // in case people write "display: none" (even if hidden prop is recommended)
|
|
6290
6291
|
row: () => {},
|
|
6291
6292
|
column: () => {},
|
|
6292
6293
|
};
|
|
@@ -8223,6 +8224,19 @@ import.meta.css = [/* css */`
|
|
|
8223
8224
|
grid-auto-flow: unset;
|
|
8224
8225
|
}
|
|
8225
8226
|
}
|
|
8227
|
+
/*
|
|
8228
|
+
|
|
8229
|
+
It's very common to declare a display on component as follow
|
|
8230
|
+
.component_class { display: component_display; }
|
|
8231
|
+
|
|
8232
|
+
This kill the default behavior of [hidden] attribute and we need to explicitly handle it with:
|
|
8233
|
+
.component_class[hidden] { display: none; }
|
|
8234
|
+
|
|
8235
|
+
To avoid this extra work and potential mistakes we force the default behavior of [hidden] attribute.
|
|
8236
|
+
*/
|
|
8237
|
+
[hidden] {
|
|
8238
|
+
display: none !important;
|
|
8239
|
+
}
|
|
8226
8240
|
`, "@jsenv/navi/src/box/box.jsx"];
|
|
8227
8241
|
const PSEUDO_CLASSES_DEFAULT = [];
|
|
8228
8242
|
const PSEUDO_ELEMENTS_DEFAULT = [];
|
|
@@ -27212,9 +27226,6 @@ const css$l = /* css */`
|
|
|
27212
27226
|
cursor: not-allowed;
|
|
27213
27227
|
pointer-events: none;
|
|
27214
27228
|
}
|
|
27215
|
-
&[hidden] {
|
|
27216
|
-
display: none;
|
|
27217
|
-
}
|
|
27218
27229
|
}
|
|
27219
27230
|
|
|
27220
27231
|
.navi_list_container {
|
|
@@ -27290,9 +27301,6 @@ const css$l = /* css */`
|
|
|
27290
27301
|
text-align: center;
|
|
27291
27302
|
user-select: none;
|
|
27292
27303
|
}
|
|
27293
|
-
&[hidden] {
|
|
27294
|
-
display: none;
|
|
27295
|
-
}
|
|
27296
27304
|
}
|
|
27297
27305
|
[navi-virtual-filler="bottom"] {
|
|
27298
27306
|
/* for some reason preact ends up puttin this element before the list items in some scenarios
|
|
@@ -30974,7 +30982,7 @@ installImportMetaCssBuild(import.meta);const css$f = /* css */`
|
|
|
30974
30982
|
|
|
30975
30983
|
&[hidden] {
|
|
30976
30984
|
/* We keep placeholder in the dom in case it dictates the select width, this way select wont shrink once a value is selected */
|
|
30977
|
-
display: inline-block;
|
|
30985
|
+
display: inline-block !important;
|
|
30978
30986
|
height: 0;
|
|
30979
30987
|
padding-block: 0;
|
|
30980
30988
|
visibility: hidden;
|