@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.
@@ -200,9 +200,14 @@ var InputNumber = ({
200
200
  inputMode: "numeric",
201
201
  onChange: ({ target }) => onChange(Number(target.value)),
202
202
  step: 1,
203
- style: inline ? void 0 : {
204
- flex: "1 1 0%",
205
- minWidth: 0
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
@@ -112,9 +112,14 @@ var InputNumber = ({
112
112
  inputMode: "numeric",
113
113
  onChange: ({ target }) => onChange(Number(target.value)),
114
114
  step: 1,
115
- style: inline ? void 0 : {
116
- flex: "1 1 0%",
117
- minWidth: 0
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/components",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "exports": {
5
5
  "./advertisement": {
6
6
  "types": "./types/advertisement.d.ts",