@justeattakeaway/pie-spinner
Advanced tools
Comparing version 0.0.0-snapshot-release-20231218154706 to 0.0.0-snapshot-release-20231219091122
@@ -19,3 +19,3 @@ import { unsafeCSS as b, LitElement as m, html as v, nothing as h } from "lit"; | ||
return v` | ||
<div | ||
<div | ||
data-test-id="pie-spinner" | ||
@@ -22,0 +22,0 @@ class="c-spinner" |
import type { CSSResult } from 'lit'; | ||
import type { LitElement } from 'lit'; | ||
import * as React_2 from 'react'; | ||
import type { ReactWebComponent } from '@lit/react'; | ||
import type { TemplateResult } from 'lit-html'; | ||
@@ -10,3 +10,3 @@ | ||
export declare const PieSpinner: React_2.ForwardRefExoticComponent<SpinnerProps & React_2.RefAttributes<PieSpinner_2> & ReactBaseType>; | ||
export declare const PieSpinner: ReactWebComponent<PieSpinner_2, {}>; | ||
@@ -24,4 +24,2 @@ /** | ||
declare type ReactBaseType = React_2.ButtonHTMLAttributes<HTMLButtonElement>; | ||
export declare const sizes: readonly ["xsmall", "small", "medium", "large", "xlarge"]; | ||
@@ -28,0 +26,0 @@ |
import * as e from "react"; | ||
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 { createComponent as r } from "@lit/react"; | ||
import { PieSpinner as i } from "./index.js"; | ||
import { sizes as f, variants as P } from "./index.js"; | ||
import "lit"; | ||
import "lit/decorators.js"; | ||
import "@justeattakeaway/pie-webc-core"; | ||
const n = i({ | ||
const a = r({ | ||
displayName: "PieSpinner", | ||
elementClass: r, | ||
elementClass: i, | ||
react: e, | ||
tagName: "pie-spinner", | ||
events: {} | ||
}), s = n; | ||
}); | ||
export { | ||
s as PieSpinner, | ||
S as sizes, | ||
f as variants | ||
a as PieSpinner, | ||
f as sizes, | ||
P as variants | ||
}; |
{ | ||
"name": "@justeattakeaway/pie-spinner", | ||
"description": "PIE Design System Spinner built using Web Components", | ||
"version": "0.0.0-snapshot-release-20231218154706", | ||
"version": "0.0.0-snapshot-release-20231219091122", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
@@ -38,3 +38,3 @@ import { | ||
return html` | ||
<div | ||
<div | ||
data-test-id="pie-spinner" | ||
@@ -61,3 +61,1 @@ class="c-spinner" | ||
} | ||
// trigger build |
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
14766
216