innoboxrr-form-core 2.5.0 → 2.5.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/package.json +1 -1
- package/src/components.css +19 -0
package/package.json
CHANGED
package/src/components.css
CHANGED
|
@@ -172,6 +172,10 @@
|
|
|
172
172
|
.fe-select,
|
|
173
173
|
.fe-textarea,
|
|
174
174
|
.fe-file {
|
|
175
|
+
/* Con width: 100% y padding, sin border-box el control mide más que su
|
|
176
|
+
contenedor. Una aplicación que ya pone border-box a todo no lo nota; una
|
|
177
|
+
que no, ve una barra de desplazamiento en cada drawer. */
|
|
178
|
+
box-sizing: border-box;
|
|
175
179
|
width: 100%;
|
|
176
180
|
min-height: var(--fe-control-height);
|
|
177
181
|
padding: 0 var(--fe-control-padding-x);
|
|
@@ -271,6 +275,7 @@
|
|
|
271
275
|
.fe-button-secondary,
|
|
272
276
|
.fe-button-danger,
|
|
273
277
|
.fe-button-link {
|
|
278
|
+
box-sizing: border-box;
|
|
274
279
|
display: inline-flex;
|
|
275
280
|
align-items: center;
|
|
276
281
|
justify-content: center;
|
|
@@ -332,6 +337,7 @@
|
|
|
332
337
|
/* Un botón que solo lleva un icono: cerrar un diálogo, abrir el menú de una
|
|
333
338
|
fila. Cuadrado, para que el objetivo no dependa del ancho del glifo. */
|
|
334
339
|
.fe-icon-button {
|
|
340
|
+
box-sizing: border-box;
|
|
335
341
|
display: inline-flex;
|
|
336
342
|
align-items: center;
|
|
337
343
|
justify-content: center;
|
|
@@ -625,6 +631,7 @@
|
|
|
625
631
|
}
|
|
626
632
|
|
|
627
633
|
.fe-dialog {
|
|
634
|
+
box-sizing: border-box;
|
|
628
635
|
width: min(var(--fe-dialog-width), calc(100vw - 2 * var(--fe-space-4)));
|
|
629
636
|
max-height: 85vh;
|
|
630
637
|
padding: 0;
|
|
@@ -694,6 +701,7 @@
|
|
|
694
701
|
/* Un drawer es un <dialog> pegado a un borde. El formulario de crear o
|
|
695
702
|
editar se abre aquí y la tabla sigue a la vista, detrás. */
|
|
696
703
|
.fe-drawer {
|
|
704
|
+
box-sizing: border-box;
|
|
697
705
|
width: min(var(--fe-drawer-width), 100vw);
|
|
698
706
|
max-width: 100vw;
|
|
699
707
|
height: 100dvh;
|
|
@@ -803,6 +811,7 @@
|
|
|
803
811
|
}
|
|
804
812
|
|
|
805
813
|
.fe-menu-item {
|
|
814
|
+
box-sizing: border-box;
|
|
806
815
|
display: flex;
|
|
807
816
|
align-items: center;
|
|
808
817
|
gap: var(--fe-space-2);
|
|
@@ -892,6 +901,7 @@
|
|
|
892
901
|
}
|
|
893
902
|
|
|
894
903
|
.fe-command-input {
|
|
904
|
+
box-sizing: border-box;
|
|
895
905
|
width: 100%;
|
|
896
906
|
min-height: calc(var(--fe-control-height) * 1.4);
|
|
897
907
|
padding: 0 var(--fe-space-5);
|
|
@@ -928,6 +938,7 @@
|
|
|
928
938
|
}
|
|
929
939
|
|
|
930
940
|
.fe-command-item {
|
|
941
|
+
box-sizing: border-box;
|
|
931
942
|
display: flex;
|
|
932
943
|
align-items: center;
|
|
933
944
|
gap: var(--fe-space-3);
|
|
@@ -1168,6 +1179,14 @@
|
|
|
1168
1179
|
min-height: 1.5em;
|
|
1169
1180
|
padding: 0 var(--fe-space-1);
|
|
1170
1181
|
margin: 0 calc(-1 * var(--fe-space-1));
|
|
1182
|
+
/* Es un <button> para que se alcance con teclado, pero tiene que leerse
|
|
1183
|
+
como el texto que muestra: sin el fondo, el borde ni la fuente que el
|
|
1184
|
+
navegador le pone a un botón. */
|
|
1185
|
+
font: inherit;
|
|
1186
|
+
color: inherit;
|
|
1187
|
+
text-align: left;
|
|
1188
|
+
background: none;
|
|
1189
|
+
border: none;
|
|
1171
1190
|
border-radius: var(--fe-radius-sm);
|
|
1172
1191
|
border-bottom: 1px dashed transparent;
|
|
1173
1192
|
cursor: text;
|