@justeattakeaway/pie-divider 0.13.6 → 0.13.8
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 +4 -4
- package/dist/react.d.ts +4 -4
- package/package.json +4 -3
- package/src/defs.ts +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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';
|
|
5
5
|
|
|
6
|
-
export declare type DefaultProps =
|
|
6
|
+
export declare type DefaultProps = ComponentDefaultProps<DividerProps>;
|
|
7
7
|
|
|
8
8
|
export declare const defaultProps: DefaultProps;
|
|
9
9
|
|
|
10
10
|
export declare interface DividerProps {
|
|
11
11
|
/**
|
|
12
|
-
* What style variant the divider should be such as default or
|
|
12
|
+
* What style variant the divider should be such as default or inverse.
|
|
13
13
|
*/
|
|
14
14
|
variant?: typeof variants[number];
|
|
15
15
|
/**
|
|
16
|
-
* What orientation the divider should be such as horizontal or
|
|
16
|
+
* What orientation the divider should be such as horizontal or vertical.
|
|
17
17
|
*/
|
|
18
18
|
orientation?: typeof orientations[number];
|
|
19
19
|
}
|
package/dist/react.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
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';
|
|
5
5
|
import type { TemplateResult } from 'lit-html';
|
|
6
6
|
|
|
7
|
-
export declare type DefaultProps =
|
|
7
|
+
export declare type DefaultProps = ComponentDefaultProps<DividerProps>;
|
|
8
8
|
|
|
9
9
|
export declare const defaultProps: DefaultProps;
|
|
10
10
|
|
|
11
11
|
export declare interface DividerProps {
|
|
12
12
|
/**
|
|
13
|
-
* What style variant the divider should be such as default or
|
|
13
|
+
* What style variant the divider should be such as default or inverse.
|
|
14
14
|
*/
|
|
15
15
|
variant?: typeof variants[number];
|
|
16
16
|
/**
|
|
17
|
-
* What orientation the divider should be such as horizontal or
|
|
17
|
+
* What orientation the divider should be such as horizontal or vertical.
|
|
18
18
|
*/
|
|
19
19
|
orientation?: typeof orientations[number];
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-divider",
|
|
3
3
|
"description": "PIE Design System Divider built using Web Components",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -36,12 +36,13 @@
|
|
|
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
|
"@justeattakeaway/pie-wrapper-react": "0.14.1",
|
|
41
42
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
42
43
|
},
|
|
43
44
|
"dependencies": {
|
|
44
|
-
"@justeattakeaway/pie-webc-core": "0.
|
|
45
|
+
"@justeattakeaway/pie-webc-core": "0.24.0"
|
|
45
46
|
},
|
|
46
47
|
"volta": {
|
|
47
48
|
"extends": "../../../package.json"
|
package/src/defs.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
|
|
3
3
|
export const variants = ['default', 'inverse'] as const;
|
|
4
4
|
export const orientations = ['horizontal', 'vertical'] as const;
|
|
5
5
|
|
|
6
6
|
export interface DividerProps {
|
|
7
7
|
/**
|
|
8
|
-
* What style variant the divider should be such as default or
|
|
8
|
+
* What style variant the divider should be such as default or inverse.
|
|
9
9
|
*/
|
|
10
10
|
variant?: typeof variants[number];
|
|
11
11
|
/**
|
|
12
|
-
* What orientation the divider should be such as horizontal or
|
|
12
|
+
* What orientation the divider should be such as horizontal or vertical.
|
|
13
13
|
*/
|
|
14
14
|
orientation?: typeof orientations[number];
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export type DefaultProps =
|
|
17
|
+
export type DefaultProps = ComponentDefaultProps<DividerProps>;
|
|
18
18
|
|
|
19
19
|
export const defaultProps: DefaultProps = {
|
|
20
20
|
variant: 'default',
|