@neovici/cosmoz-input 3.15.0 → 3.17.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  cosmoz-input
2
2
  ==================
3
3
 
4
- [![Build Status](https://github.com/Neovici/cosmoz-input/workflows/Github%20CI/badge.svg)](https://github.com/Neovici/cosmoz-input/actions?workflow=Github+CI)
4
+ [![Build Status](https://github.com/Neovici/cosmoz-input/workflows/CI/badge.svg)](https://github.com/Neovici/cosmoz-input/actions?workflow=CI)
5
5
  [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Neovici/cosmoz-input)
6
6
  [![Depfu](https://badges.depfu.com/badges/c887733c2e1b6c70285860279a80fa03/overview.svg)](https://depfu.com/github/Neovici/cosmoz-input?project_id=9639)
7
7
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
@@ -15,6 +15,7 @@ const observedAttributes = [
15
15
  'max',
16
16
  'step',
17
17
  'autosize',
18
+ 'label',
18
19
  ...attributes,
19
20
  ];
20
21
  export const Input = (host) => {
package/dist/styles.js CHANGED
@@ -92,12 +92,16 @@ export const styles = css `
92
92
  top: 0;
93
93
  left: 0;
94
94
  width: 100%;
95
- transition: transform 0.25s, width 0.25s;
95
+ transition:
96
+ transform 0.25s,
97
+ width 0.25s;
96
98
  transform-origin: left top;
97
99
  color: var(--color);
98
100
  white-space: nowrap;
99
101
  overflow: hidden;
100
102
  text-overflow: ellipsis;
103
+ text-transform: var(--cosmoz-input-label-text-transform);
104
+ font-weight: var(--cosmoz-input-label-font-weight);
101
105
  }
102
106
 
103
107
  :host([always-float-label]) label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-input",
3
- "version": "3.15.0",
3
+ "version": "3.17.0",
4
4
  "description": "A input web component",
5
5
  "keywords": [
6
6
  "lit-html",