@finastra/divider
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -1,4 +0,4 @@ | ||
import { LitElement } from 'lit-element'; | ||
import { LitElement } from 'lit'; | ||
export declare class Divider extends LitElement { | ||
static styles: import("lit-element").CSSResult; | ||
static styles: import("lit").CSSResult; | ||
vertical: boolean; | ||
@@ -5,0 +5,0 @@ inset: 'both' | 'left' | 'right' | undefined; |
import { __decorate } from "tslib"; | ||
import { customElement, LitElement, property } from 'lit-element'; | ||
import { customElement, property } from 'lit/decorators.js'; | ||
import { LitElement } from 'lit'; | ||
import { styles } from './styles.css'; | ||
@@ -4,0 +5,0 @@ let Divider = class Divider extends LitElement { |
@@ -1,1 +0,1 @@ | ||
export declare const styles: import("lit-element").CSSResult; | ||
export declare const styles: import("lit").CSSResult; |
@@ -6,4 +6,4 @@ /** | ||
*/ | ||
import { css } from 'lit-element'; | ||
import { css } from 'lit'; | ||
export const styles = css `:host{display:block;margin:0;border-top-width:1px;border-top-style:solid;border-top-color:var(--fds-text-hint-on-background)}:host([inset=left]){margin-left:var(--fds-divider-inset-margin, 80px)}[dir=rtl] :host([inset=left]){margin-left:auto;margin-right:var(--fds-divider-inset-margin, 80px)}:host([inset=right]){margin-right:var(--fds-divider-inset-margin, 80px)}[dir=rtl] :host([inset=right]){margin-right:auto;margin-left:var(--fds-divider-inset-margin, 80px)}:host([inset=both]){margin-right:calc(var(--fds-divider-inset-margin, 80px) / 2);margin-left:calc(var(--fds-divider-inset-margin, 80px) / 2)}:host([vertical]){border-top:0;border-right-width:1px;border-right-style:solid;border-color:var(--fds-text-hint-on-background)}`; | ||
//# sourceMappingURL=styles.css.js.map |
{ | ||
"name": "@finastra/divider", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Divider Web Component", | ||
@@ -19,4 +19,3 @@ "keywords": [ | ||
"dependencies": { | ||
"lit-element": "2.5.1", | ||
"lit-html": "1.4.1", | ||
"lit": "2.0.2", | ||
"tslib": "^2.0.1" | ||
@@ -27,3 +26,3 @@ }, | ||
}, | ||
"gitHead": "128deba3c7aa251561234d4542ca06b5d3a8783d" | ||
"gitHead": "36f20f71217faefcf42f8c55a83b780fb1bb0440" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
10673
2
60
+ Addedlit@2.0.2
+ Added@lit-labs/ssr-dom-shim@1.2.1(transitive)
+ Added@lit/reactive-element@1.6.3(transitive)
+ Added@types/trusted-types@2.0.7(transitive)
+ Addedlit@2.0.2(transitive)
+ Addedlit-element@3.3.3(transitive)
+ Addedlit-html@2.8.0(transitive)
- Removedlit-element@2.5.1
- Removedlit-html@1.4.1
- Removedlit-element@2.5.1(transitive)
- Removedlit-html@1.4.1(transitive)