@justeattakeaway/pie-avatar 0.4.32 → 0.4.34

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.
@@ -98,7 +98,7 @@
98
98
  }
99
99
  }
100
100
  ],
101
- "description": "Attempts to extract initials from the label string.\r\nIf the label is not provided or is invalid, it returns null."
101
+ "description": "Attempts to extract initials from the label string.\nIf the label is not provided or is invalid, it returns null."
102
102
  },
103
103
  {
104
104
  "kind": "method",
@@ -147,7 +147,7 @@
147
147
  }
148
148
  }
149
149
  ],
150
- "description": "Renders an image.\r\nWe assign an empty string to the alt attribute for a11y clarity as it explicitly declares the image as decorative"
150
+ "description": "Renders an image.\nWe assign an empty string to the alt attribute for a11y clarity as it explicitly declares the image as decorative"
151
151
  },
152
152
  {
153
153
  "kind": "field",
@@ -156,7 +156,7 @@
156
156
  "text": "TemplateResult"
157
157
  },
158
158
  "privacy": "private",
159
- "description": "Renders the inner content of the avatar such as initials, an icon or an image.\r\nIt is a getter because the value is computed based on properties",
159
+ "description": "Renders the inner content of the avatar such as initials, an icon or an image.\nIt is a getter because the value is computed based on properties",
160
160
  "readonly": true
161
161
  },
162
162
  {
@@ -176,7 +176,7 @@
176
176
  }
177
177
  }
178
178
  ],
179
- "description": "Renders the avatar wrapper element based on the `tag` property.\r\nCan be a `button`, `a` or a `div`."
179
+ "description": "Renders the avatar wrapper element based on the `tag` property.\nCan be a `button`, `a` or a `div`."
180
180
  }
181
181
  ],
182
182
  "attributes": [
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ const o = class o extends h {
7
7
  this.getAttribute("v") || this.setAttribute("v", o.v);
8
8
  }
9
9
  };
10
- o.v = "0.4.32";
10
+ o.v = "0.4.34";
11
11
  let p = o;
12
12
  const y = "*,*:after,*:before{box-sizing:inherit}:host{display:block;--avatar-size: 32px}.c-avatar-visuallyHidden{position:absolute;display:block;height:1px;width:1px;overflow:hidden;padding:1px;white-space:nowrap}.c-avatar{display:flex;justify-content:center;align-items:center;font-family:var(--dt-font-body-s-family);font-size:calc(var(--dt-font-body-s-size) * 1px);background-color:var(--dt-color-container-inverse);color:var(--dt-color-content-interactive-primary);width:var(--avatar-size);height:var(--avatar-size);border-radius:var(--dt-radius-rounded-e);overflow:hidden}.c-avatar--image{width:100%;height:100%;object-fit:cover}.c-avatar--button{border:none;font-family:inherit}", x = ["a", "button", "div"], u = {
13
13
  tag: "div"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-avatar",
3
3
  "description": "PIE Design System Avatar built using Web Components",
4
- "version": "0.4.32",
4
+ "version": "0.4.34",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -42,12 +42,9 @@
42
42
  "@justeattakeaway/pie-monorepo-utils": "0.9.1"
43
43
  },
44
44
  "dependencies": {
45
- "@justeattakeaway/pie-icons-webc": "1.23.0",
45
+ "@justeattakeaway/pie-icons-webc": "1.24.1",
46
46
  "@justeattakeaway/pie-webc-core": "14.0.1"
47
47
  },
48
- "volta": {
49
- "extends": "../../../package.json"
50
- },
51
48
  "customElements": "custom-elements.json",
52
49
  "sideEffects": [
53
50
  "dist/*.js"