@umbraco-ui/uui-checkbox 1.2.1 → 1.3.0-rc.1

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/lib/index.js +4 -0
  2. package/package.json +6 -6
package/lib/index.js CHANGED
@@ -24,6 +24,10 @@ let UUICheckboxElement = class extends UUIBooleanInputElement {
24
24
  `;
25
25
  }
26
26
  };
27
+ /**
28
+ * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/
29
+ * @type {boolean}
30
+ */
27
31
  UUICheckboxElement.formAssociated = true;
28
32
  UUICheckboxElement.styles = [
29
33
  ...UUIBooleanInputElement.styles,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-checkbox",
3
- "version": "1.2.1",
3
+ "version": "1.3.0-rc.1",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -33,18 +33,18 @@
33
33
  "custom-elements.json"
34
34
  ],
35
35
  "dependencies": {
36
- "@umbraco-ui/uui-base": "1.2.1",
37
- "@umbraco-ui/uui-boolean-input": "1.2.1",
38
- "@umbraco-ui/uui-icon-registry-essential": "1.2.1"
36
+ "@umbraco-ui/uui-base": "1.3.0-rc.1",
37
+ "@umbraco-ui/uui-boolean-input": "1.3.0-rc.1",
38
+ "@umbraco-ui/uui-icon-registry-essential": "1.3.0-rc.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
42
- "clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json",
42
+ "clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js *.tgz lib/**/*.d.ts custom-elements.json",
43
43
  "analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
48
  "homepage": "https://uui.umbraco.com/?path=/story/uui-checkbox",
49
- "gitHead": "94eb22bee5ff21bac6fadbd78653671279bebe36"
49
+ "gitHead": "0c517175884931aa0bc0d8f05974852a7704626e"
50
50
  }