@justeattakeaway/pie-chip 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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-chip",
3
3
  "description": "PIE Design System Chip built using Web Components",
4
- "version": "0.8.4",
4
+ "version": "0.8.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,13 +37,13 @@
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "0.9.0",
39
39
  "@justeattakeaway/pie-components-config": "0.18.0",
40
- "@justeattakeaway/pie-css": "0.13.0",
40
+ "@justeattakeaway/pie-css": "0.13.1",
41
41
  "cem-plugin-module-file-extensions": "0.0.5"
42
42
  },
43
43
  "dependencies": {
44
- "@justeattakeaway/pie-icons-webc": "0.25.2",
45
- "@justeattakeaway/pie-spinner": "0.7.1",
46
- "@justeattakeaway/pie-webc-core": "0.24.1"
44
+ "@justeattakeaway/pie-icons-webc": "1.0.0",
45
+ "@justeattakeaway/pie-spinner": "0.7.2",
46
+ "@justeattakeaway/pie-webc-core": "0.24.2"
47
47
  },
48
48
  "volta": {
49
49
  "extends": "../../../package.json"
package/src/defs-react.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  /**
3
3
  * TODO: Verify if ReactBaseType can be set as a more specific React interface
4
4
  * Use the React IntrinsicElements interface to find how to map standard HTML elements to existing React Interfaces
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import {
2
- LitElement, html, unsafeCSS, TemplateResult, nothing,
2
+ LitElement, html, unsafeCSS, type TemplateResult, nothing,
3
3
  } from 'lit';
4
4
  import { property } from 'lit/decorators.js';
5
5
  import { ifDefined } from 'lit/directives/if-defined.js';
@@ -10,7 +10,7 @@ import {
10
10
  } from '@justeattakeaway/pie-webc-core';
11
11
  import styles from './chip.scss?inline';
12
12
  import {
13
- ChipProps, variants, ON_CHIP_CLOSE_EVENT, defaultProps,
13
+ type ChipProps, variants, ON_CHIP_CLOSE_EVENT, defaultProps,
14
14
  } from './defs';
15
15
  import '@justeattakeaway/pie-icons-webc/dist/IconCloseCircleFilled.js';
16
16
  import '@justeattakeaway/pie-spinner';
package/src/react.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { createComponent, EventName } from '@lit/react';
2
+ import { createComponent, type EventName } from '@lit/react';
3
3
  import { PieChip as PieChipLit } from './index';
4
- import { ChipProps } from './defs';
4
+ import { type ChipProps } from './defs';
5
5
 
6
6
  export * from './defs';
7
7