@justeattakeaway/pie-chip 0.7.0 → 0.7.2
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/dist/index.d.ts +2 -2
- package/dist/react.d.ts +2 -2
- package/package.json +6 -5
- package/src/defs.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
import type { CSSResult } from 'lit';
|
|
3
3
|
import type { LitElement } from 'lit';
|
|
4
4
|
import type { TemplateResult } from 'lit';
|
|
@@ -36,7 +36,7 @@ export declare interface ChipProps {
|
|
|
36
36
|
isDismissible?: boolean;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export declare type DefaultProps =
|
|
39
|
+
export declare type DefaultProps = ComponentDefaultProps<ChipProps, keyof Omit<ChipProps, 'aria'>>;
|
|
40
40
|
|
|
41
41
|
export declare const defaultProps: DefaultProps;
|
|
42
42
|
|
package/dist/react.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
import type { CSSResult } from 'lit';
|
|
3
3
|
import type { LitElement } from 'lit';
|
|
4
4
|
import * as React_2 from 'react';
|
|
@@ -37,7 +37,7 @@ export declare interface ChipProps {
|
|
|
37
37
|
isDismissible?: boolean;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export declare type DefaultProps =
|
|
40
|
+
export declare type DefaultProps = ComponentDefaultProps<ChipProps, keyof Omit<ChipProps, 'aria'>>;
|
|
41
41
|
|
|
42
42
|
export declare const defaultProps: DefaultProps;
|
|
43
43
|
|
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.7.
|
|
4
|
+
"version": "0.7.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -36,13 +36,14 @@
|
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
39
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
39
|
+
"@justeattakeaway/pie-components-config": "0.17.0",
|
|
40
|
+
"@justeattakeaway/pie-css": "0.12.1",
|
|
40
41
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"@justeattakeaway/pie-icons-webc": "0.
|
|
44
|
-
"@justeattakeaway/pie-spinner": "0.6.
|
|
45
|
-
"@justeattakeaway/pie-webc-core": "0.
|
|
44
|
+
"@justeattakeaway/pie-icons-webc": "0.25.0",
|
|
45
|
+
"@justeattakeaway/pie-spinner": "0.6.7",
|
|
46
|
+
"@justeattakeaway/pie-webc-core": "0.24.0"
|
|
46
47
|
},
|
|
47
48
|
"volta": {
|
|
48
49
|
"extends": "../../../package.json"
|
package/src/defs.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
|
|
3
3
|
export const variants = ['default', 'outline', 'ghost'] as const;
|
|
4
4
|
|
|
@@ -43,7 +43,7 @@ export interface ChipProps {
|
|
|
43
43
|
|
|
44
44
|
export const ON_CHIP_CLOSE_EVENT = 'pie-chip-close';
|
|
45
45
|
|
|
46
|
-
export type DefaultProps =
|
|
46
|
+
export type DefaultProps = ComponentDefaultProps<ChipProps, keyof Omit<ChipProps, 'aria'>>;
|
|
47
47
|
|
|
48
48
|
export const defaultProps: DefaultProps = {
|
|
49
49
|
variant: 'default',
|