@justeattakeaway/pie-assistive-text 0.7.2 → 0.7.4

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-assistive-text",
3
3
  "description": "PIE Design System Assistive Text built using Web Components",
4
- "version": "0.7.2",
4
+ "version": "0.7.4",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,12 +37,12 @@
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-webc-core": "0.24.1"
44
+ "@justeattakeaway/pie-icons-webc": "1.0.0",
45
+ "@justeattakeaway/pie-webc-core": "0.24.2"
46
46
  },
47
47
  "volta": {
48
48
  "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, nothing, TemplateResult,
2
+ LitElement, html, unsafeCSS, nothing, type TemplateResult,
3
3
  } from 'lit';
4
4
 
5
5
  import { property } from 'lit/decorators.js';
@@ -9,7 +9,7 @@ import '@justeattakeaway/pie-icons-webc/dist/IconAlertCircle.js';
9
9
  import '@justeattakeaway/pie-icons-webc/dist/IconCheckCircle.js';
10
10
 
11
11
  import styles from './assistive-text.scss?inline';
12
- import { AssistiveTextProps, variants, defaultProps } from './defs';
12
+ import { type AssistiveTextProps, variants, defaultProps } from './defs';
13
13
 
14
14
  // Valid values available to consumers
15
15
  export * from './defs';
package/src/react.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
3
  import { PieAssistiveText as PieAssistiveTextLit } from './index';
4
- import { AssistiveTextProps } from './defs';
4
+ import { type AssistiveTextProps } from './defs';
5
5
 
6
6
  export * from './defs';
7
7