@justeattakeaway/pie-list 0.0.3 → 0.0.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/dist/defs-react.d.ts +9 -0
- package/dist/defs-react.d.ts.map +1 -0
- package/dist/defs.d.ts.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/pie-list-item/defs-react.d.ts +3 -0
- package/dist/pie-list-item/defs-react.d.ts.map +1 -0
- package/dist/pie-list-item/defs.d.ts.map +1 -1
- package/dist/pie-list-item/index.d.ts +1 -1
- package/dist/pie-list-item/index.d.ts.map +1 -1
- package/dist/pie-list-item/react.d.ts +3 -3
- package/dist/pie-list-item/react.d.ts.map +1 -1
- package/dist/react.d.ts +3 -3
- package/dist/react.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* TODO: Verify if ReactBaseType can be set as a more specific React interface
|
|
4
|
+
* Use the React IntrinsicElements interface to find how to map standard HTML elements to existing React Interfaces
|
|
5
|
+
* Example: an HTML button maps to `React.ButtonHTMLAttributes<HTMLButtonElement>`
|
|
6
|
+
* https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0bb210867d16170c4a08d9ce5d132817651a0f80/types/react/index.d.ts#L2829
|
|
7
|
+
*/
|
|
8
|
+
export type ReactBaseType = React.HTMLAttributes<HTMLElement>;
|
|
9
|
+
//# sourceMappingURL=defs-react.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs-react.d.ts","sourceRoot":"","sources":["../src/defs-react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA"}
|
package/dist/defs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../src/defs.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;CAAG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
|
|
2
|
-
import {
|
|
2
|
+
import { ListProps } from './defs';
|
|
3
3
|
export * from './defs';
|
|
4
4
|
declare const componentSelector = "pie-list";
|
|
5
|
-
declare const PieList_base: import(
|
|
5
|
+
declare const PieList_base: import('@justeattakeaway/pie-webc-core').GenericConstructor<import('@justeattakeaway/pie-webc-core').RTLInterface> & typeof PieElement;
|
|
6
6
|
/**
|
|
7
7
|
* @tagname pie-list
|
|
8
8
|
*/
|
|
9
9
|
export declare class PieList extends PieList_base implements ListProps {
|
|
10
|
-
render(): import(
|
|
11
|
-
static styles: import(
|
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
11
|
+
static styles: import('lit').CSSResult;
|
|
12
12
|
}
|
|
13
13
|
declare global {
|
|
14
14
|
interface HTMLElementTagNameMap {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,yDAAyD,CAAC;AAIrF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,cAAc,QAAQ,CAAC;AAEvB,QAAA,MAAM,iBAAiB,aAAa,CAAC;;AAErC;;GAEG;AACH,qBACa,OAAQ,SAAQ,YAAqB,YAAW,SAAS;IAClE,MAAM;IAKN,MAAM,CAAC,MAAM,0BAAqB;CACrC;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAChC;CACJ"}
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ const e = class e extends f {
|
|
|
5
5
|
this.getAttribute("v") || this.setAttribute("v", e.v);
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
|
-
e.v = "0.0.
|
|
8
|
+
e.v = "0.0.4";
|
|
9
9
|
let r = e;
|
|
10
10
|
const u = "*,*:after,*:before{box-sizing:inherit}:host{display:block}";
|
|
11
11
|
var b = Object.getOwnPropertyDescriptor, m = (l, o, p, a) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs-react.d.ts","sourceRoot":"","sources":["../../src/pie-list-item/defs-react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../src/pie-list-item/defs.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pie-list-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,QAAA,MAAM,iBAAiB,kBAAkB,CAAC;AAE1C;;GAEG;AACH,qBACa,WAAY,SAAQ,UAAW,YAAW,aAAa;CAEnE;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;KACpC;CACJ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { PieListItem as PieListItemLit } from './index';
|
|
3
|
-
import {
|
|
2
|
+
import { ListItemProps } from './defs';
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
export * from './defs';
|
|
5
5
|
type ReactBaseType = React.HTMLAttributes<HTMLElement>;
|
|
6
|
-
export declare const PieListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<PieListItemLit> & ReactBaseType>;
|
|
6
|
+
export declare const PieListItem: React.ForwardRefExoticComponent<React.PropsWithoutRef<ListItemProps> & React.RefAttributes<PieListItemLit> & ReactBaseType>;
|
|
7
7
|
//# sourceMappingURL=react.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../src/pie-list-item/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,cAAc,QAAQ,CAAC;AAUvB,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAEtD,eAAO,MAAM,WAAW,EAAuB,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,aAAa,CAAC,GAC7G,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,aAAa,CAAC,CAAC"}
|
package/dist/react.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { PieList as PieListLit } from './index';
|
|
3
|
-
import {
|
|
2
|
+
import { ListProps } from './defs';
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
export * from './defs';
|
|
5
5
|
type ReactBaseType = React.HTMLAttributes<HTMLElement>;
|
|
6
|
-
export declare const PieList: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<PieListLit> & ReactBaseType>;
|
|
6
|
+
export declare const PieList: React.ForwardRefExoticComponent<React.PropsWithoutRef<ListProps> & React.RefAttributes<PieListLit> & ReactBaseType>;
|
|
7
7
|
//# sourceMappingURL=react.d.ts.map
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAExC,cAAc,QAAQ,CAAC;AAUvB,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAEtD,eAAO,MAAM,OAAO,EAAmB,KAAK,CAAC,yBAAyB,CAAC,KAAK,CAAC,eAAe,CAAC,SAAS,CAAC,GACjG,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-list",
|
|
3
3
|
"description": "PIE Design System List built using Web Components",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
36
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
37
|
-
"@justeattakeaway/pie-css": "0.
|
|
38
|
-
"@justeattakeaway/pie-monorepo-utils": "0.
|
|
36
|
+
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
37
|
+
"@justeattakeaway/pie-css": "0.19.0",
|
|
38
|
+
"@justeattakeaway/pie-monorepo-utils": "0.7.0",
|
|
39
39
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@justeattakeaway/pie-webc-core": "1.
|
|
42
|
+
"@justeattakeaway/pie-webc-core": "1.1.0"
|
|
43
43
|
},
|
|
44
44
|
"volta": {
|
|
45
45
|
"extends": "../../../package.json"
|