New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@umbraco-ui/uui-box

Package Overview
Dependencies
Maintainers
6
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umbraco-ui/uui-box - npm Package Compare versions

Comparing version 1.7.0-rc.0 to 1.7.0

17

lib/index.js

@@ -5,3 +5,3 @@ import { css, LitElement } from 'lit';

import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
import { literal, unsafeStatic, html } from 'lit/static-html.js';
import { html, unsafeStatic } from 'lit/static-html.js';

@@ -26,3 +26,3 @@ var __defProp = Object.defineProperty;

this.headline = null;
this._headlineVariantTag = literal`h5`;
this._headlineVariantTag = "h5";
this._headlineSlotHasContent = false;

@@ -42,8 +42,7 @@ this._headlineSlotChanged = (e) => {

set headlineVariant(value) {
if (!value) {
this._headlineVariantTag = literal`h5`;
} else {
this._headlineVariantTag = unsafeStatic(value);
}
this._headlineVariantTag = value;
}
get headlineVariant() {
return this._headlineVariantTag;
}
/**

@@ -60,3 +59,3 @@ * Renders a header with the `header`-slot, `header-actions`-slot, headline and `headline`-slot within

style=${this._headerSlotHasContent || this._headlineSlotHasContent || this._headerActionsSlotHasContent || this.headline !== null ? "" : "display: none"}>
<${this._headlineVariantTag}
<${unsafeStatic(this._headlineVariantTag)}
id="headline"

@@ -67,3 +66,3 @@ class="uui-h5"

<slot name="headline" @slotchange=${this._headlineSlotChanged}></slot>
</${this._headlineVariantTag}>
</${unsafeStatic(this._headlineVariantTag)}>
<slot name="header" @slotchange=${this._headerSlotChanged}></slot>

@@ -70,0 +69,0 @@ <slot name="header-actions" @slotchange=${this._headerActionsSlotChanged}></slot>

@@ -30,2 +30,3 @@ import { LitElement } from 'lit';

set headlineVariant(value: UUIInterfaceHeading);
get headlineVariant(): UUIInterfaceHeading;
private _headlineVariantTag;

@@ -32,0 +33,0 @@ private _headlineSlotHasContent;

{
"name": "@umbraco-ui/uui-box",
"version": "1.7.0-rc.0",
"version": "1.7.0",
"license": "MIT",

@@ -32,4 +32,4 @@ "description": "A box web component for grouping elements",

"dependencies": {
"@umbraco-ui/uui-base": "1.7.0-rc.0",
"@umbraco-ui/uui-css": "1.7.0-rc.0"
"@umbraco-ui/uui-base": "1.7.0",
"@umbraco-ui/uui-css": "1.7.0"
},

@@ -44,3 +44,3 @@ "scripts": {

},
"gitHead": "a7166e62b37b609e74b96821d397c694a5f42458"
"gitHead": "1f139dc2b4ed9ba7b9fb1af5e934589d7c4d8f06"
}
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