@operato/input 2.0.0-beta.4 → 2.0.0-beta.7
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/CHANGELOG.md +18 -0
- package/dist/src/ox-input-unit-number.d.ts +0 -2
- package/dist/src/ox-input-unit-number.js +3 -5
- package/dist/src/ox-input-unit-number.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/ox-input-unit-number.ts +5 -6
- package/themes/grist-theme.css +5 -1
- package/yarn-error.log +17084 -0
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@operato/input",
|
3
3
|
"description": "Webcomponents for input following open-wc recommendations",
|
4
4
|
"author": "heartyoh@hatiolab.com",
|
5
|
-
"version": "2.0.0-beta.
|
5
|
+
"version": "2.0.0-beta.7",
|
6
6
|
"main": "dist/src/index.js",
|
7
7
|
"module": "dist/src/index.js",
|
8
8
|
"license": "MIT",
|
@@ -201,8 +201,8 @@
|
|
201
201
|
"@material/web": "^1.4.0",
|
202
202
|
"@operato/color-picker": "^2.0.0-beta.0",
|
203
203
|
"@operato/i18n": "^2.0.0-beta.3",
|
204
|
-
"@operato/popup": "^2.0.0-beta.
|
205
|
-
"@operato/styles": "^2.0.0-beta.
|
204
|
+
"@operato/popup": "^2.0.0-beta.5",
|
205
|
+
"@operato/styles": "^2.0.0-beta.5",
|
206
206
|
"@operato/utils": "^2.0.0-beta.0",
|
207
207
|
"@polymer/paper-dropdown-menu": "^3.2.0",
|
208
208
|
"@polymer/paper-item": "^3.0.1",
|
@@ -247,5 +247,5 @@
|
|
247
247
|
"prettier --write"
|
248
248
|
]
|
249
249
|
},
|
250
|
-
"gitHead": "
|
250
|
+
"gitHead": "a921119c6546a7f20d03a8fe29d71bb5d00787db"
|
251
251
|
}
|
@@ -268,6 +268,11 @@ export class OxInputUnitNumber extends OxFormField {
|
|
268
268
|
.value=${userUnit}
|
269
269
|
@select=${(e: CustomEvent) => {
|
270
270
|
this.userUnit = e.detail
|
271
|
+
this.dispatchEvent(
|
272
|
+
new CustomEvent('user-unit-change', {
|
273
|
+
detail: this.userUnit
|
274
|
+
})
|
275
|
+
)
|
271
276
|
}}
|
272
277
|
>
|
273
278
|
<div option value=${this.stdUnit}>${this.stdUnit}</div>
|
@@ -278,12 +283,6 @@ export class OxInputUnitNumber extends OxFormField {
|
|
278
283
|
`
|
279
284
|
}
|
280
285
|
|
281
|
-
updated(changes: PropertyValues<this>) {
|
282
|
-
// if (changes.has('stdUnit')) {
|
283
|
-
// this.userUnit = this.userUnit || this.stdUnit
|
284
|
-
// }
|
285
|
-
}
|
286
|
-
|
287
286
|
_onChangeValue(e: Event) {
|
288
287
|
this.value = this._toStdUnit(this.input.value)
|
289
288
|
|
package/themes/grist-theme.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
body {
|
2
|
-
--grid-container-border-color: 1px solid
|
2
|
+
--grid-container-border-color: 1px solid rgba(0, 0, 0, 0.09);
|
3
3
|
--grid-container-border-width: 1px 0;
|
4
4
|
--grid-wrap-container-border: 0px solid transparent;
|
5
5
|
--grid-wrap-container-border-width: 0;
|
@@ -167,3 +167,7 @@ body {
|
|
167
167
|
--data-card-create-form-padding: 7px;
|
168
168
|
}
|
169
169
|
}
|
170
|
+
|
171
|
+
body.dark {
|
172
|
+
--grid-container-border-color: 1px solid rgba(255, 255, 255, 0.09);
|
173
|
+
}
|