@justeattakeaway/pie-assistive-text
Advanced tools
Comparing version 0.0.0-snapshot-release-20240516144918 to 0.0.0-snapshot-release-20240528160953
import { unsafeCSS as f, LitElement as d, html as i, nothing as l } from "lit"; | ||
import { property as x } from "lit/decorators.js"; | ||
import { validPropertyValues as m, defineCustomElement as h } from "@justeattakeaway/pie-webc-core"; | ||
import { ifDefined as u } from "lit/directives/if-defined.js"; | ||
import { validPropertyValues as m, defineCustomElement as u } from "@justeattakeaway/pie-webc-core"; | ||
import { ifDefined as h } from "lit/directives/if-defined.js"; | ||
import "@justeattakeaway/pie-icons-webc/dist/IconAlertCircle.js"; | ||
import "@justeattakeaway/pie-icons-webc/dist/IconCheckCircle.js"; | ||
const y = `*,*:after,*:before{box-sizing:inherit}.c-assistiveText{--assistive-text-color: var(--dt-color-content-default);margin:0;padding-block-start:var(--dt-spacing-a);color:var(--assistive-text-color);font-family:var(--dt-font-body-s-family);font-weight:var(--dt-font-body-s-weight);font-size:calc(var(--dt-font-body-s-size) * 1px);line-height:calc(var(--dt-font-body-s-line-height) * 1px);gap:var(--dt-spacing-b);display:flex;align-items:flex-start;overflow-wrap:anywhere}.c-assistiveText[variant=success]{--assistive-text-color: var(--dt-color-content-positive)}.c-assistiveText[variant=error]{--assistive-text-color: var(--dt-color-content-error)}.c-assistiveText .c-assistiveText-icon{display:inline-flex} | ||
const y = `*,*:after,*:before{box-sizing:inherit}.c-assistiveText{--assistive-text-color: var(--dt-color-content-subdued);margin:0;padding-block-start:var(--dt-spacing-a);color:var(--assistive-text-color);font-family:var(--dt-font-body-s-family);font-weight:var(--dt-font-body-s-weight);font-size:calc(var(--dt-font-body-s-size) * 1px);line-height:calc(var(--dt-font-body-s-line-height) * 1px);gap:var(--dt-spacing-b);display:flex;align-items:flex-start;overflow-wrap:anywhere}.c-assistiveText[variant=success]{--assistive-text-color: var(--dt-color-content-positive)}.c-assistiveText[variant=error]{--assistive-text-color: var(--dt-color-content-error)}.c-assistiveText .c-assistiveText-icon{display:inline-flex} | ||
`, g = ["default", "error", "success"], v = { | ||
@@ -39,3 +39,3 @@ variant: "default" | ||
data-test-id="pie-assistive-text" | ||
variant=${u(t)}> | ||
variant=${h(t)}> | ||
${this.renderIcon()} | ||
@@ -51,3 +51,3 @@ <slot></slot> | ||
], c.prototype, "variant", 2); | ||
h(p, c); | ||
u(p, c); | ||
export { | ||
@@ -54,0 +54,0 @@ c as PieAssistiveText, |
{ | ||
"name": "@justeattakeaway/pie-assistive-text", | ||
"description": "PIE Design System Assistive Text built using Web Components", | ||
"version": "0.0.0-snapshot-release-20240516144918", | ||
"version": "0.0.0-snapshot-release-20240528160953", | ||
"type": "module", | ||
@@ -43,4 +43,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@justeattakeaway/pie-icons-webc": "0.0.0-snapshot-release-20240516144918", | ||
"@justeattakeaway/pie-webc-core": "0.0.0-snapshot-release-20240516144918" | ||
"@justeattakeaway/pie-icons-webc": "0.24.0", | ||
"@justeattakeaway/pie-webc-core": "0.23.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "volta": { |
Sorry, the diff of this file is not supported yet
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
18484
+ Added@justeattakeaway/pie-icons-webc@0.24.0(transitive)
+ Added@justeattakeaway/pie-webc-core@0.23.0(transitive)
- Removed@justeattakeaway/pie-icons-webc@0.0.0-snapshot-release-20240516144918(transitive)
- Removed@justeattakeaway/pie-webc-core@0.0.0-snapshot-release-20240516144918(transitive)