@justeattakeaway/pie-spinner
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -7,2 +7,8 @@ { | ||
"kind": "javascript-module", | ||
"path": "src/defs-react.js", | ||
"declarations": [], | ||
"exports": [] | ||
}, | ||
{ | ||
"kind": "javascript-module", | ||
"path": "src/defs.js", | ||
@@ -9,0 +15,0 @@ "declarations": [ |
import type { CSSResult } from 'lit'; | ||
import type { LitElement } from 'lit'; | ||
import type { ReactWebComponent } from '@lit/react'; | ||
import * as React_2 from 'react'; | ||
import type { TemplateResult } from 'lit-html'; | ||
@@ -10,3 +10,3 @@ | ||
export declare const PieSpinner: ReactWebComponent<PieSpinner_2, {}>; | ||
export declare const PieSpinner: React_2.ForwardRefExoticComponent<SpinnerProps & React_2.RefAttributes<PieSpinner_2> & ReactBaseType>; | ||
@@ -24,2 +24,4 @@ /** | ||
declare type ReactBaseType = React_2.HTMLAttributes<HTMLDivElement>; | ||
export declare const sizes: readonly ["xsmall", "small", "medium", "large", "xlarge"]; | ||
@@ -26,0 +28,0 @@ |
import * as e from "react"; | ||
import { createComponent as r } from "@lit/react"; | ||
import { PieSpinner as i } from "./index.js"; | ||
import { sizes as f, variants as P } from "./index.js"; | ||
import { createComponent as i } from "@lit/react"; | ||
import { PieSpinner as r } from "./index.js"; | ||
import { sizes as S, variants as f } from "./index.js"; | ||
import "lit"; | ||
import "lit/decorators.js"; | ||
import "@justeattakeaway/pie-webc-core"; | ||
const a = r({ | ||
const n = i({ | ||
displayName: "PieSpinner", | ||
elementClass: i, | ||
elementClass: r, | ||
react: e, | ||
tagName: "pie-spinner", | ||
events: {} | ||
}); | ||
}), s = n; | ||
export { | ||
a as PieSpinner, | ||
f as sizes, | ||
P as variants | ||
s as PieSpinner, | ||
S as sizes, | ||
f as variants | ||
}; |
{ | ||
"name": "@justeattakeaway/pie-spinner", | ||
"description": "PIE Design System Spinner built using Web Components", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"type": "module", | ||
@@ -35,8 +35,8 @@ "main": "dist/index.js", | ||
"@custom-elements-manifest/analyzer": "0.9.0", | ||
"@justeattakeaway/pie-components-config": "0.8.0", | ||
"@justeattakeaway/pie-wrapper-react": "0.12.0", | ||
"@justeattakeaway/pie-components-config": "0.9.0", | ||
"@justeattakeaway/pie-wrapper-react": "0.13.0", | ||
"cem-plugin-module-file-extensions": "0.0.5" | ||
}, | ||
"dependencies": { | ||
"@justeattakeaway/pie-webc-core": "0.16.0" | ||
"@justeattakeaway/pie-webc-core": "0.17.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "volta": { |
@@ -1,11 +0,11 @@ | ||
import * as React from 'react'; | ||
import { createComponent } from '@lit/react'; | ||
import { PieSpinner as PieSpinnerReact } from './index'; | ||
import { PieSpinner as PieSpinnerLit } from './index'; | ||
import { SpinnerProps } from './defs'; | ||
export * from './defs'; | ||
export const PieSpinner = createComponent({ | ||
const PieSpinnerReact = createComponent({ | ||
displayName: 'PieSpinner', | ||
elementClass: PieSpinnerReact, | ||
elementClass: PieSpinnerLit, | ||
react: React, | ||
@@ -15,1 +15,7 @@ tagName: 'pie-spinner', | ||
}); | ||
type ReactBaseType = React.HTMLAttributes<HTMLDivElement> | ||
export const PieSpinner = PieSpinnerReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<SpinnerProps> & React.RefAttributes<PieSpinnerLit> & ReactBaseType>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19364
13
376
+ Added@justeattakeaway/pie-webc-core@0.17.0(transitive)
- Removed@justeattakeaway/pie-webc-core@0.16.0(transitive)