@operato/i18n
Advanced tools
Comparing version 2.0.0-alpha.111 to 2.0.0-alpha.148
@@ -6,2 +6,11 @@ # Change Log | ||
## [2.0.0-alpha.148](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.147...v2.0.0-alpha.148) (2024-05-30) | ||
### :rocket: New Features | ||
* md3 ([55b7496](https://github.com/hatiolab/operato/commit/55b7496ea46a6b65ac6ab71bc1be7c89d1ba91e5)) | ||
## [2.0.0-alpha.111](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.110...v2.0.0-alpha.111) (2024-05-02) | ||
@@ -8,0 +17,0 @@ |
@@ -15,3 +15,5 @@ import { __decorate } from "tslib"; | ||
<option value="" ?selected=${!value}></option> | ||
${(this.languages || []).map(({ code, display }) => html ` <option value=${code} ?selected=${value === null || value === void 0 ? void 0 : value.startsWith(code.substring(0, 2))}>${display}</option> `)} | ||
${(this.languages || []).map(({ code, display }) => html ` | ||
<option value=${code} ?selected=${value === null || value === void 0 ? void 0 : value.startsWith(code.substring(0, 2))}>${display}</option> | ||
`)} | ||
</select> | ||
@@ -54,4 +56,4 @@ `; | ||
option { | ||
background-color: var(--primary-color, #585858); | ||
color: var(--theme-white-color, #fff); | ||
background-color: var(--md-sys-color-on-primary-container, #585858); | ||
color: var(--md-sys-color-surface, #fff); | ||
} | ||
@@ -58,0 +60,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "heartyoh", | ||
"version": "2.0.0-alpha.111", | ||
"version": "2.0.0-alpha.148", | ||
"main": "dist/src/index.js", | ||
@@ -91,3 +91,3 @@ "module": "dist/src/index.js", | ||
}, | ||
"gitHead": "3525a4247ad184a8d4de91d81db3f72f0e940c79" | ||
"gitHead": "469b2e97392a3766bc7e2bc4807b77406c19c676" | ||
} |
@@ -28,4 +28,4 @@ import { css, html, LitElement } from 'lit' | ||
option { | ||
background-color: var(--primary-color, #585858); | ||
color: var(--theme-white-color, #fff); | ||
background-color: var(--md-sys-color-on-primary-container, #585858); | ||
color: var(--md-sys-color-surface, #fff); | ||
} | ||
@@ -49,4 +49,5 @@ | ||
${(this.languages || []).map( | ||
({ code, display }) => | ||
html` <option value=${code} ?selected=${value?.startsWith(code.substring(0, 2))}>${display}</option> ` | ||
({ code, display }) => html` | ||
<option value=${code} ?selected=${value?.startsWith(code.substring(0, 2))}>${display}</option> | ||
` | ||
)} | ||
@@ -53,0 +54,0 @@ </select> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
127727
919