Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@justeattakeaway/pie-assistive-text

Package Overview
Dependencies
Maintainers
13
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justeattakeaway/pie-assistive-text - npm Package Compare versions

Comparing version 0.0.0-snapshot-release-20240516144918 to 0.0.0-snapshot-release-20240528160953

10

dist/index.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc