@justeattakeaway/pie-spinner 0.6.5 → 0.6.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/README.md +3 -5
- package/dist/index.d.ts +2 -2
- package/dist/react.d.ts +2 -2
- package/package.json +3 -3
- package/src/defs.ts +3 -2
package/README.md
CHANGED
|
@@ -29,11 +29,9 @@ This component can be easily integrated into various frontend frameworks and cus
|
|
|
29
29
|
To install `pie-spinner` in your application, run the following on your command line:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
|
|
33
|
-
$ npm i @justeattakeaway/pie-spinner
|
|
32
|
+
npm i @justeattakeaway/pie-spinner
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
$ yarn add @justeattakeaway/pie-spinner
|
|
34
|
+
yarn add @justeattakeaway/pie-spinner
|
|
37
35
|
```
|
|
38
36
|
|
|
39
37
|
For full information on using PIE components as part of an application, check out the [Getting Started Guide](https://github.com/justeattakeaway/pie/wiki/Getting-started-with-PIE-Web-Components).
|
|
@@ -90,4 +88,4 @@ In your markup or JSX, you can then use these to set the properties for the `pie
|
|
|
90
88
|
|
|
91
89
|
## Contributing
|
|
92
90
|
|
|
93
|
-
Check out our [contributing guide](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide) for more information on [local development](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#local-development) and how to run specific [component tests](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#testing).
|
|
91
|
+
Check out our [contributing guide](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide) for more information on [local development](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#local-development) and how to run specific [component tests](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#testing).
|
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-html';
|
|
@@ -7,7 +7,7 @@ export declare type AriaProps = {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
export declare type DefaultProps =
|
|
10
|
+
export declare type DefaultProps = ComponentDefaultProps<SpinnerProps, keyof Omit<SpinnerProps, 'aria'>>;
|
|
11
11
|
|
|
12
12
|
export declare const defaultProps: DefaultProps;
|
|
13
13
|
|
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';
|
|
@@ -8,7 +8,7 @@ export declare type AriaProps = {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
export declare type DefaultProps =
|
|
11
|
+
export declare type DefaultProps = ComponentDefaultProps<SpinnerProps, keyof Omit<SpinnerProps, 'aria'>>;
|
|
12
12
|
|
|
13
13
|
export declare const defaultProps: DefaultProps;
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-spinner",
|
|
3
3
|
"description": "PIE Design System Spinner built using Web Components",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
39
39
|
"@justeattakeaway/pie-components-config": "0.16.0",
|
|
40
|
-
"@justeattakeaway/pie-wrapper-react": "0.14.
|
|
40
|
+
"@justeattakeaway/pie-wrapper-react": "0.14.1",
|
|
41
41
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@justeattakeaway/pie-webc-core": "0.
|
|
44
|
+
"@justeattakeaway/pie-webc-core": "0.24.0"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"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 sizes = ['xsmall', 'small', 'medium', 'large', 'xlarge'] as const;
|
|
4
4
|
export const variants = ['brand', 'secondary', 'inverse'] as const;
|
|
@@ -22,7 +22,8 @@ export interface SpinnerProps {
|
|
|
22
22
|
variant?: typeof variants[number];
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export type DefaultProps =
|
|
25
|
+
export type DefaultProps = ComponentDefaultProps<SpinnerProps, keyof Omit<SpinnerProps, 'aria'>>;
|
|
26
|
+
|
|
26
27
|
export const defaultProps: DefaultProps = {
|
|
27
28
|
size: 'medium',
|
|
28
29
|
variant: 'brand',
|