@drawbridge/components 0.0.48 → 0.0.49
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/input-number.js +8 -3
- package/dist/input-number.mjs +8 -3
- package/package.json +1 -1
package/dist/input-number.js
CHANGED
|
@@ -200,9 +200,14 @@ var InputNumber = ({
|
|
|
200
200
|
inputMode: "numeric",
|
|
201
201
|
onChange: ({ target }) => onChange(Number(target.value)),
|
|
202
202
|
step: 1,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
// The bordered container is the single visible border; strip the
|
|
204
|
+
// native number-input border so it doesn't double up.
|
|
205
|
+
style: {
|
|
206
|
+
border: 0,
|
|
207
|
+
...inline ? {} : {
|
|
208
|
+
flex: "1 1 0%",
|
|
209
|
+
minWidth: 0
|
|
210
|
+
}
|
|
206
211
|
},
|
|
207
212
|
type: "number",
|
|
208
213
|
value
|
package/dist/input-number.mjs
CHANGED
|
@@ -112,9 +112,14 @@ var InputNumber = ({
|
|
|
112
112
|
inputMode: "numeric",
|
|
113
113
|
onChange: ({ target }) => onChange(Number(target.value)),
|
|
114
114
|
step: 1,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
// The bordered container is the single visible border; strip the
|
|
116
|
+
// native number-input border so it doesn't double up.
|
|
117
|
+
style: {
|
|
118
|
+
border: 0,
|
|
119
|
+
...inline ? {} : {
|
|
120
|
+
flex: "1 1 0%",
|
|
121
|
+
minWidth: 0
|
|
122
|
+
}
|
|
118
123
|
},
|
|
119
124
|
type: "number",
|
|
120
125
|
value
|