@visns-studio/visns-components 6.17.0 → 6.17.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
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
96
96
|
},
|
|
97
97
|
"name": "@visns-studio/visns-components",
|
|
98
|
-
"version": "6.17.
|
|
98
|
+
"version": "6.17.1",
|
|
99
99
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
100
100
|
"main": "src/index.js",
|
|
101
101
|
"files": [
|
|
@@ -247,7 +247,9 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
|
|
|
247
247
|
.variable-inserter-search-input
|
|
248
248
|
):not(.react-datepicker__month-select):not(
|
|
249
249
|
.react-datepicker__year-select
|
|
250
|
-
):not(.visns-native-date-filter__input)
|
|
250
|
+
):not(.visns-native-date-filter__input):not([type='date']):not(
|
|
251
|
+
[type='datetime-local']
|
|
252
|
+
):not([type='time']) {
|
|
251
253
|
background: white;
|
|
252
254
|
border-radius: var(--br);
|
|
253
255
|
border: 1px solid rgba(var(--paragraph-color-rgb), 0.15);
|
|
@@ -266,6 +268,36 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
|
|
|
266
268
|
}
|
|
267
269
|
}
|
|
268
270
|
|
|
271
|
+
/* Native date / time inputs are excluded from the padded rule above: 1rem of
|
|
272
|
+
padding inside a date control made it ~48px and, in Firefox, sat the value
|
|
273
|
+
low. They get a flat 34px control instead, matching the grid filters. */
|
|
274
|
+
input[type='date'],
|
|
275
|
+
input[type='datetime-local'],
|
|
276
|
+
input[type='time'] {
|
|
277
|
+
box-sizing: border-box;
|
|
278
|
+
height: 34px;
|
|
279
|
+
min-height: 34px;
|
|
280
|
+
padding: 0 10px;
|
|
281
|
+
border: 1px solid rgba(var(--paragraph-color-rgb, 31, 31, 31), 0.15);
|
|
282
|
+
border-radius: var(--br, 4px);
|
|
283
|
+
background: #fff;
|
|
284
|
+
color: var(--paragraph-color, #1f1f1f);
|
|
285
|
+
font-family: inherit;
|
|
286
|
+
font-size: 0.85rem;
|
|
287
|
+
line-height: 32px;
|
|
288
|
+
font-variant-numeric: tabular-nums;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@-moz-document url-prefix() {
|
|
292
|
+
input[type='date'],
|
|
293
|
+
input[type='datetime-local'],
|
|
294
|
+
input[type='time'] {
|
|
295
|
+
height: 34px;
|
|
296
|
+
padding: 0 8px;
|
|
297
|
+
line-height: 32px;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
269
301
|
.popup-content {
|
|
270
302
|
border-radius: var(--br);
|
|
271
303
|
padding: 0 !important;
|