@lynx-js/web-elements 0.8.11 → 0.9.0

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @lynx-js/web-elements
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: new flex:val impl ([#1979](https://github.com/lynx-family/lynx-stack/pull/1979))
8
+
9
+ ### Patch Changes
10
+
11
+ - fix: x-input display should add !important to avoid override ([#1960](https://github.com/lynx-family/lynx-stack/pull/1960))
12
+
13
+ - Updated dependencies []:
14
+ - @lynx-js/web-elements-template@0.9.0
15
+
3
16
  ## 0.8.11
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-elements",
3
- "version": "0.8.11",
3
+ "version": "0.9.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -101,7 +101,7 @@
101
101
  ],
102
102
  "dependencies": {
103
103
  "@lynx-js/web-elements-reactive": "0.2.2",
104
- "@lynx-js/web-elements-template": "0.8.11"
104
+ "@lynx-js/web-elements-template": "0.9.0"
105
105
  },
106
106
  "devDependencies": {
107
107
  "tslib": "^2.8.1"
@@ -4,7 +4,7 @@
4
4
  // LICENSE file in the root directory of this source tree.
5
5
  */
6
6
  x-input {
7
- display: contents;
7
+ display: contents !important;
8
8
  font-size: 14px;
9
9
  }
10
10
 
@@ -85,6 +85,10 @@
85
85
  syntax: "*";
86
86
  inherits: false;
87
87
  }
88
+ @property --flex {
89
+ syntax: "*";
90
+ inherits: false;
91
+ }
88
92
 
89
93
  @property --linear-justify-content {
90
94
  syntax: "flex-start|flex-end|center|space-between|space-around";
@@ -330,9 +334,10 @@ list-item {
330
334
  x-textarea,
331
335
  x-list,
332
336
  list-item {
333
- flex-grow: var(--flex-grow);
334
- flex-shrink: var(--flex-shrink);
335
- flex-basis: var(--flex-basis);
337
+ flex: var(
338
+ --flex,
339
+ var(--flex-grow) var(--flex-shrink) var(--flex-basis)
340
+ );
336
341
  }
337
342
  }
338
343