pollcatch 2.1.16 → 2.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/pc.js +5 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pollcatch",
3
3
  "private": false,
4
- "version": "2.1.16",
4
+ "version": "2.2.0",
5
5
  "type": "module",
6
6
  "main": "pc.js",
7
7
  "module": "pc.js",
package/pc.js CHANGED
@@ -1872,12 +1872,12 @@ Rt.styles = [
1872
1872
  border-color: var(--pc-error-color);
1873
1873
  }
1874
1874
 
1875
- /* Read-only state */
1876
- :host([read-only]) {
1875
+ /* Readonly state */
1876
+ :host([readonly]) {
1877
1877
  pointer-events: auto;
1878
1878
  }
1879
1879
 
1880
- :host([read-only]) button:not(.chart-toggle-icon):not([role='button']) {
1880
+ :host([readonly]) button:not(.chart-toggle-icon):not([role='button']) {
1881
1881
  cursor: default;
1882
1882
  }
1883
1883
 
@@ -1988,7 +1988,7 @@ g([
1988
1988
  f({ type: Boolean, attribute: "multiple" })
1989
1989
  ], m.prototype, "multiple");
1990
1990
  g([
1991
- f({ type: Boolean, attribute: "read-only" })
1991
+ f({ type: Boolean, attribute: "readonly" })
1992
1992
  ], m.prototype, "readOnly");
1993
1993
  const zo = F`
1994
1994
  /* CSS variables inherit from parent - defaults are specified at usage sites */
@@ -2305,6 +2305,7 @@ const zo = F`
2305
2305
  cursor: pointer;
2306
2306
  transition: all 0.2s ease;
2307
2307
  align-self: flex-end;
2308
+ white-space: nowrap;
2308
2309
  }
2309
2310
 
2310
2311
  .pc-submit-button--compact {