@neovici/cosmoz-omnitable 19.2.0 → 19.2.2

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.
@@ -33,7 +33,7 @@ const styles = css `
33
33
  margin-right: 7px;
34
34
  }
35
35
  .skeleton > div div.checkbox {
36
- min-width: 18px;
36
+ min-width: 16px;
37
37
  margin-left: 0;
38
38
  margin-right: 12px;
39
39
  }
@@ -3,8 +3,8 @@ import { tagged as css } from '@neovici/cosmoz-utils';
3
3
  export const checkbox = css `
4
4
  .checkbox {
5
5
  box-sizing: border-box;
6
- width: calc(var(--cz-spacing) * 4.5);
7
- height: calc(var(--cz-spacing) * 4.5);
6
+ width: calc(var(--cz-spacing) * 4);
7
+ height: calc(var(--cz-spacing) * 4);
8
8
  background: transparent;
9
9
  border-radius: var(--cz-radius-xs);
10
10
  appearance: none;
@@ -33,12 +33,12 @@ export const checkbox = css `
33
33
  position: absolute;
34
34
  box-sizing: content-box;
35
35
  width: 4px;
36
- height: 10px;
36
+ height: 9px;
37
37
  border: 2px solid var(--cz-color-text-on-brand);
38
38
  border-top: none;
39
39
  border-left: none;
40
- transform-origin: 4px 10px;
41
- transform: translate(3px) rotate(45deg);
40
+ transform-origin: 4px 9px;
41
+ transform: translate(2px) rotate(45deg);
42
42
  }
43
43
 
44
44
  .checkbox::after {
@@ -62,10 +62,10 @@ export const checkbox = css `
62
62
  .checkbox:indeterminate::before {
63
63
  content: "";
64
64
  position: absolute;
65
- width: 10px;
65
+ width: 8px;
66
66
  height: 2px;
67
67
  left: 4px;
68
- top: 8px;
68
+ top: 7px;
69
69
  background-color: var(--cz-color-text-brand);
70
70
  }
71
71
  `;
@@ -12,8 +12,24 @@ const observedAttributes = [
12
12
  const style = css `
13
13
  ${inputStyles}
14
14
 
15
+ :host {
16
+ --text-align: left;
17
+ }
18
+
19
+ :host([text-align='right']) {
20
+ --text-align: right;
21
+ }
22
+
23
+ :host([text-align='center']) {
24
+ --text-align: center;
25
+ }
26
+
15
27
  label {
16
- text-align: left;
28
+ text-align: var(--text-align);
29
+ }
30
+
31
+ #input {
32
+ text-align: var(--text-align);
17
33
  }
18
34
 
19
35
  .wrap {
@@ -1 +1 @@
1
- {"version":3,"file":"cosmoz-omnitable-dropdown-input.js","sourceRoot":"","sources":["../../src/lib/cosmoz-omnitable-dropdown-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAWhC,MAAM,kBAAkB,GAAG;IAC1B,OAAO;IACP,OAAO;IACP,MAAM;IACN,oBAAoB;IACpB,UAAU;IACV,SAAS;CAC4B,CAAC;AAEvC,MAAM,KAAK,GAAG,GAAG,CAAA;GACd,WAAW;;;;;;;;;;;;;CAab,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAEpC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;IAE3C,MAAM,OAAO,GAAG,IAAI,CAAA;;;;;SAKZ,IAAI;;IAET,KAAK,IAAI,EAAE;QACP,CAAC;IAER,OAAO,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;AACnC,CAAC,CAAC;AAEF,cAAc,CAAC,MAAM,CACpB,iCAAiC,EACjC,SAAS,CAAC,aAAa,EAAE;IACxB,kBAAkB;IAClB,WAAW,EAAE,CAAC,KAAK,CAAC;CACpB,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"cosmoz-omnitable-dropdown-input.js","sourceRoot":"","sources":["../../src/lib/cosmoz-omnitable-dropdown-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAWhC,MAAM,kBAAkB,GAAG;IAC1B,OAAO;IACP,OAAO;IACP,MAAM;IACN,oBAAoB;IACpB,UAAU;IACV,SAAS;CAC4B,CAAC;AAEvC,MAAM,KAAK,GAAG,GAAG,CAAA;GACd,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Bb,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAEpC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;IAE3C,MAAM,OAAO,GAAG,IAAI,CAAA;;;;;SAKZ,IAAI;;IAET,KAAK,IAAI,EAAE;QACP,CAAC;IAER,OAAO,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;AACnC,CAAC,CAAC;AAEF,cAAc,CAAC,MAAM,CACpB,iCAAiC,EACjC,SAAS,CAAC,aAAa,EAAE;IACxB,kBAAkB;IAClB,WAAW,EAAE,CAAC,KAAK,CAAC;CACpB,CAAC,CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "19.2.0",
3
+ "version": "19.2.2",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"
@@ -123,7 +123,7 @@
123
123
  "@neovici/cfg": "^2.15.0",
124
124
  "@neovici/testing": "^2.1.1",
125
125
  "@open-wc/testing": "^5.0.0",
126
- "@playwright/test": "1.63.0",
126
+ "@playwright/test": "1.64.0",
127
127
  "@polymer/iron-test-helpers": "^3.0.0",
128
128
  "@polymer/paper-button": "^3.0.0",
129
129
  "@polymer/paper-dropdown-menu": "^3.2.0",