@justeattakeaway/pie-button 1.6.5 → 1.6.6

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
@@ -51,6 +51,10 @@ Ideally, you should install the component using the **`@justeattakeaway/pie-webc
51
51
  | `formmethod` | `"post"`, `"get"`, `"dialog"` | If the button is a submit button, this attribute specifies the HTTP method used to submit the form. | `undefined` |
52
52
  | `formnovalidate` | `true`, `false` | If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. | `undefined` |
53
53
  | `formtarget` | `"_self"`, `"_blank"`, `"_parent"`, `"_top"` | If the button is a submit button, this attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form. | `undefined` |
54
+ | `tag` | `"button"`, `"a"` | Which HTML element to use when rendering the button. | `"button"` |
55
+ | `href` | `string` | The URL to direct the user to. Only available when `tag` is `a`. | `undefined` |
56
+ | `target` | `string` | Where to display the linked URL. Only available when `tag` is `a`. | `undefined` |
57
+ | `rel` | `string` | The relationship of the linked URL as space-separated link types. Only available when `tag` is `a`. | `undefined` |
54
58
 
55
59
  ### Slots
56
60
 
package/dist/index.js CHANGED
@@ -478,7 +478,7 @@ const O = class O extends It {
478
478
  this.getAttribute("v") || this.setAttribute("v", O.v);
479
479
  }
480
480
  };
481
- O.v = "1.6.5";
481
+ O.v = "1.6.6";
482
482
  let j = O;
483
483
  const Nt = ["button", "a"], Pt = ["xsmall", "small-productive", "small-expressive", "medium", "large"], Jt = ["productive", "expressive"], Ot = ["submit", "button", "reset"], _t = [
484
484
  "primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "PIE design system button built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,7 +40,7 @@
40
40
  "devDependencies": {
41
41
  "@custom-elements-manifest/analyzer": "0.9.0",
42
42
  "@justeattakeaway/pie-components-config": "0.20.1",
43
- "@justeattakeaway/pie-css": "0.16.0",
43
+ "@justeattakeaway/pie-css": "0.17.0",
44
44
  "@justeattakeaway/pie-monorepo-utils": "0.5.1",
45
45
  "@justeattakeaway/pie-wrapper-react": "0.14.3",
46
46
  "cem-plugin-module-file-extensions": "0.0.5"