@justeattakeaway/pie-thumbnail 0.8.4 → 0.8.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.
@@ -121,56 +121,47 @@
121
121
  {
122
122
  "kind": "field",
123
123
  "name": "variant",
124
- "privacy": "public",
125
- "attribute": "variant"
124
+ "privacy": "public"
126
125
  },
127
126
  {
128
127
  "kind": "field",
129
128
  "name": "size",
130
- "privacy": "public",
131
- "attribute": "size"
129
+ "privacy": "public"
132
130
  },
133
131
  {
134
132
  "kind": "field",
135
133
  "name": "aspectRatio",
136
- "privacy": "public",
137
- "attribute": "aspectRatio"
134
+ "privacy": "public"
138
135
  },
139
136
  {
140
137
  "kind": "field",
141
138
  "name": "src",
142
- "privacy": "public",
143
- "attribute": "src"
139
+ "privacy": "public"
144
140
  },
145
141
  {
146
142
  "kind": "field",
147
143
  "name": "alt",
148
- "privacy": "public",
149
- "attribute": "alt"
144
+ "privacy": "public"
150
145
  },
151
146
  {
152
147
  "kind": "field",
153
148
  "name": "disabled",
154
- "privacy": "public",
155
- "attribute": "disabled"
149
+ "privacy": "public"
156
150
  },
157
151
  {
158
152
  "kind": "field",
159
153
  "name": "hasPadding",
160
- "privacy": "public",
161
- "attribute": "hasPadding"
154
+ "privacy": "public"
162
155
  },
163
156
  {
164
157
  "kind": "field",
165
158
  "name": "hideDefaultPlaceholder",
166
- "privacy": "public",
167
- "attribute": "hideDefaultPlaceholder"
159
+ "privacy": "public"
168
160
  },
169
161
  {
170
162
  "kind": "field",
171
163
  "name": "backgroundColor",
172
- "privacy": "public",
173
- "attribute": "backgroundColor"
164
+ "privacy": "public"
174
165
  },
175
166
  {
176
167
  "kind": "field",
@@ -178,8 +169,7 @@
178
169
  "type": {
179
170
  "text": "ThumbnailProps['placeholder']"
180
171
  },
181
- "privacy": "public",
182
- "attribute": "placeholder"
172
+ "privacy": "public"
183
173
  },
184
174
  {
185
175
  "kind": "field",
@@ -256,51 +246,6 @@
256
246
  "description": "Checks the image load status and triggers error handling if needed.\nThis is needed as the `onerror` event is not triggered in SSR."
257
247
  }
258
248
  ],
259
- "attributes": [
260
- {
261
- "name": "variant",
262
- "fieldName": "variant"
263
- },
264
- {
265
- "name": "size",
266
- "fieldName": "size"
267
- },
268
- {
269
- "name": "aspectRatio",
270
- "fieldName": "aspectRatio"
271
- },
272
- {
273
- "name": "src",
274
- "fieldName": "src"
275
- },
276
- {
277
- "name": "alt",
278
- "fieldName": "alt"
279
- },
280
- {
281
- "name": "disabled",
282
- "fieldName": "disabled"
283
- },
284
- {
285
- "name": "hasPadding",
286
- "fieldName": "hasPadding"
287
- },
288
- {
289
- "name": "hideDefaultPlaceholder",
290
- "fieldName": "hideDefaultPlaceholder"
291
- },
292
- {
293
- "name": "backgroundColor",
294
- "fieldName": "backgroundColor"
295
- },
296
- {
297
- "name": "placeholder",
298
- "type": {
299
- "text": "ThumbnailProps['placeholder']"
300
- },
301
- "fieldName": "placeholder"
302
- }
303
- ],
304
249
  "superclass": {
305
250
  "name": "PieElement",
306
251
  "package": "@justeattakeaway/pie-webc-core/src/internals/PieElement"
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
- import type { CSSResult } from 'lit';
1
+ import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
+ import { CSSResult } from 'lit';
3
3
  import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
4
- import type { TemplateResult } from 'lit-html';
4
+ import { TemplateResult } from 'lit-html';
5
5
 
6
6
  export declare const aspectRatios: readonly ["1by1", "4by3", "16by9"];
7
7
 
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ const h = class h extends _ {
7
7
  this.getAttribute("v") || this.setAttribute("v", h.v);
8
8
  }
9
9
  };
10
- h.v = "0.8.4";
10
+ h.v = "0.8.6";
11
11
  let m = h;
12
12
  const D = [
13
13
  "default",
package/dist/react.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import type { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
- import type { CSSResult } from 'lit';
1
+ import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
+ import { CSSResult } from 'lit';
3
3
  import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
4
4
  import * as React_2 from 'react';
5
- import type { TemplateResult } from 'lit-html';
5
+ import { TemplateResult } from 'lit-html';
6
6
 
7
7
  export declare const aspectRatios: readonly ["1by1", "4by3", "16by9"];
8
8
 
@@ -14,7 +14,7 @@ export declare type DefaultProps = ComponentDefaultProps<ThumbnailProps>;
14
14
 
15
15
  export declare const defaultProps: DefaultProps;
16
16
 
17
- export declare const PieThumbnail: React_2.ForwardRefExoticComponent<ThumbnailProps & React_2.RefAttributes<PieThumbnail_2> & ReactBaseType>;
17
+ export declare const PieThumbnail: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<ThumbnailProps> & React_2.RefAttributes<PieThumbnail_2> & ReactBaseType>;
18
18
 
19
19
  /**
20
20
  * @tagname pie-thumbnail
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-thumbnail",
3
3
  "description": "PIE Design System Thumbnail built using Web Components",
4
- "version": "0.8.4",
4
+ "version": "0.8.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -39,13 +39,13 @@
39
39
  "license": "Apache-2.0",
40
40
  "devDependencies": {
41
41
  "@custom-elements-manifest/analyzer": "0.9.0",
42
- "@justeattakeaway/pie-components-config": "0.20.1",
43
- "@justeattakeaway/pie-css": "0.16.0",
44
- "@justeattakeaway/pie-monorepo-utils": "0.5.1",
42
+ "@justeattakeaway/pie-components-config": "0.21.0",
43
+ "@justeattakeaway/pie-css": "0.22.0",
44
+ "@justeattakeaway/pie-monorepo-utils": "0.7.0",
45
45
  "cem-plugin-module-file-extensions": "0.0.5"
46
46
  },
47
47
  "dependencies": {
48
- "@justeattakeaway/pie-webc-core": "1.0.0"
48
+ "@justeattakeaway/pie-webc-core": "2.0.0"
49
49
  },
50
50
  "volta": {
51
51
  "extends": "../../../package.json"