@justeattakeaway/pie-divider 0.13.5 → 0.13.7

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 CHANGED
@@ -20,16 +20,14 @@ This component can be easily integrated into various frontend frameworks and cus
20
20
  To install `pie-divider` in your application, run the following on your command line:
21
21
 
22
22
  ```bash
23
- # npm
24
- $ npm i @justeattakeaway/pie-divider
23
+ npm i @justeattakeaway/pie-divider
25
24
 
26
- # yarn
27
- $ yarn add @justeattakeaway/pie-divider
25
+ yarn add @justeattakeaway/pie-divider
28
26
  ```
29
27
 
30
28
  ## Documentation
31
29
 
32
- Visit [Divider | PIE Design System](https://pie.design/components/divider/overview) to view more information on this component.
30
+ Visit [Divider | PIE Design System](https://pie.design/components/divider) to view more information on this component.
33
31
 
34
32
  ## Questions
35
33
 
package/dist/index.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- import { ComponentDefaultPropsGeneric } from '@justeattakeaway/pie-webc-core';
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 = ComponentDefaultPropsGeneric<DividerProps, 'variant' | 'orientation'>;
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 vertical.
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 inverse.
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 { ComponentDefaultPropsGeneric } from '@justeattakeaway/pie-webc-core';
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 = ComponentDefaultPropsGeneric<DividerProps, 'variant' | 'orientation'>;
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 vertical.
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 inverse.
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.5",
4
+ "version": "0.13.7",
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.0",
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.23.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,20 +1,20 @@
1
- import { type ComponentDefaultPropsGeneric } from '@justeattakeaway/pie-webc-core';
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 vertical.
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 inverse.
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 = ComponentDefaultPropsGeneric<DividerProps, 'variant' | 'orientation'>;
17
+ export type DefaultProps = ComponentDefaultProps<DividerProps>;
18
18
 
19
19
  export const defaultProps: DefaultProps = {
20
20
  variant: 'default',