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

@blueprintui/typewriter

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintui/typewriter - npm Package Compare versions

Comparing version 1.18.2 to 2.0.0

37

custom-elements.json

@@ -566,7 +566,11 @@ {

"kind": "field",
"name": "accessor",
"attribute": "accessor"
},
{
"kind": "field",
"name": "columns",
"type": {
"text": "number"
},
"attribute": "columns"
}
},

@@ -579,4 +583,3 @@ {

},
"default": "'grid'",
"attribute": "layout"
"default": "'grid'"
},

@@ -588,4 +591,3 @@ {

"text": "boolean"
},
"attribute": "loop"
}
},

@@ -620,22 +622,5 @@ {

{
"name": "columns",
"type": {
"text": "number"
},
"fieldName": "columns"
},
{
"name": "layout",
"type": {
"text": "'inline' | 'block' | 'grid'"
},
"default": "'grid'",
"fieldName": "layout"
},
{
"name": "loop",
"type": {
"text": "boolean"
},
"fieldName": "loop"
"name": "accessor",
"fieldName": "accessor",
"attribute": "accessor"
}

@@ -642,0 +627,0 @@ ],

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

#private;
columns: number;
layout: 'inline' | 'block' | 'grid';
loop: boolean;
accessor columns: number;
accessor layout: 'inline' | 'block' | 'grid';
accessor loop: boolean;
get grid(): HTMLElement[][];

@@ -14,0 +14,0 @@ static styles: import("lit").CSSResult[];

@@ -1,1 +0,1 @@

import{__decorate as t}from"tslib";import{LitElement as e,css as r,html as l}from"lit";import{keynav as o}from"../internals/controllers/keynav.controller.js";let s=class extends e{static{this.properties={columns:{type:Number},layout:{type:String},loop:{type:Boolean}}}constructor(){super(...arguments),this.layout="grid"}get grid(){return"inline"===this.layout?this.#t:this.#e}get#e(){const t=this.columns??getComputedStyle(this).getPropertyValue("grid-template-columns").split(" ").length,e=Array.from(this.querySelectorAll("*")),r=[];for(;e.length;)r.push(e.splice(0,t));return r}get#t(){return[Array.from(this.querySelectorAll(":scope > *"))].filter((t=>!0!==t.disabled))}static{this.styles=[r`:host,slot{display:contents}`]}#r=this.attachInternals();render(){return l`<slot role="presentation"></slot>`}connectedCallback(){super.connectedCallback(),this.#r.role="presentation"}};s=t([o((t=>({grid:t.grid,loop:t.loop,columns:t.columns})))],s);export{s as BpKeynav};
import{__esDecorate as t,__runInitializers as e}from"tslib";import{LitElement as l,css as r,html as o}from"lit";import{keynav as n}from"../internals/controllers/keynav.controller.js";let s=(()=>{let s,i,a=[n((t=>({grid:t.grid,loop:t.loop,columns:t.columns})))],c=[],u=l;return class extends u{static{i=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;t(null,s={value:i},a,{kind:"class",name:i.name,metadata:e},null,c),i=s.value,e&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static{this.properties={columns:{type:Number},layout:{type:String},loop:{type:Boolean}}}constructor(){super(...arguments),this.layout="grid"}get grid(){return"inline"===this.layout?this.#t:this.#e}get#e(){const t=this.columns??getComputedStyle(this).getPropertyValue("grid-template-columns").split(" ").length,e=Array.from(this.querySelectorAll("*")),l=[];for(;e.length;)l.push(e.splice(0,t));return l}get#t(){return[Array.from(this.querySelectorAll(":scope > *"))].filter((t=>!0!==t.disabled))}static{this.styles=[r`:host,slot{display:contents}`]}#l=this.attachInternals();render(){return o`<slot role="presentation"></slot>`}connectedCallback(){super.connectedCallback(),this.#l.role="presentation"}static{e(i,c)}},i})();export{s as BpKeynav};
{
"name": "@blueprintui/typewriter",
"version": "1.18.2",
"version": "2.0.0",
"type": "module",

@@ -5,0 +5,0 @@ "types": "./index.d.ts",

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