Socket
Socket
Sign inDemoInstall

@flowingcode/fc-applayout

Package Overview
Dependencies
62
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

0

.eslintrc.json

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

288

custom-elements.json
{
"version": "experimental",
"tags": [
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"name": "fc-applayout",
"path": "./src/fc-applayout.ts",
"description": "An example element.",
"attributes": [
"kind": "javascript-module",
"path": "src/fc-applayout.ts",
"declarations": [
{
"name": "name",
"description": "The name to say \"Hello\" to.",
"type": "string",
"default": "\"World\""
},
{
"name": "count",
"description": "The number of times the button has been clicked.",
"type": "number",
"default": "0"
"kind": "class",
"description": "An example element.",
"name": "FcAppLayoutElement",
"cssParts": [
{
"description": "The button",
"name": "button"
}
],
"slots": [
{
"description": "This element has a slot",
"name": ""
}
],
"members": [
{
"kind": "field",
"name": "is",
"static": true
},
{
"kind": "field",
"name": "swipeOpen",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets if swiping opens the drawer",
"attribute": "swipeOpen"
},
{
"kind": "field",
"name": "reveals",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets if scrolling up will reveal the header",
"attribute": "reveals"
},
{
"kind": "field",
"name": "drawerVisible",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets the drawer visibility",
"attribute": "drawerVisible"
},
{
"kind": "field",
"name": "fixed",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Sets header fixed",
"attribute": "fixed"
},
{
"kind": "field",
"name": "drawerAlign",
"type": {
"text": "string"
},
"default": "\"left\"",
"description": "The alignment of the drawer on the screen ('left', 'right', 'start' or\n'end'). 'start' computes to left and 'end' to right in LTR layout and\nvice versa in RTL layout.",
"attribute": "drawerAlign"
},
{
"kind": "field",
"name": "shadow",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets header fixed",
"attribute": "shadow"
},
{
"kind": "field",
"name": "drawerPersistent",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Makes the drawer to be opened by default, in a non modal way",
"attribute": "drawerPersistent"
},
{
"kind": "field",
"name": "drawerBelowHeader",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Makes the drawer to be shown below the header",
"attribute": "drawerBelowHeader"
},
{
"kind": "field",
"name": "drawer",
"type": {
"text": "AppDrawerElement"
}
},
{
"kind": "field",
"name": "header",
"type": {
"text": "AppHeaderElement"
}
},
{
"kind": "field",
"name": "content",
"type": {
"text": "HTMLDivElement"
}
},
{
"kind": "method",
"name": "clickHandler"
},
{
"kind": "method",
"name": "_updateZIndex",
"privacy": "private"
},
{
"kind": "method",
"name": "_updateMargin"
}
],
"attributes": [
{
"name": "swipeOpen",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets if swiping opens the drawer",
"fieldName": "swipeOpen"
},
{
"name": "reveals",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets if scrolling up will reveal the header",
"fieldName": "reveals"
},
{
"name": "drawerVisible",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets the drawer visibility",
"fieldName": "drawerVisible"
},
{
"name": "fixed",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Sets header fixed",
"fieldName": "fixed"
},
{
"name": "drawerAlign",
"type": {
"text": "string"
},
"default": "\"left\"",
"description": "The alignment of the drawer on the screen ('left', 'right', 'start' or\n'end'). 'start' computes to left and 'end' to right in LTR layout and\nvice versa in RTL layout.",
"fieldName": "drawerAlign"
},
{
"name": "shadow",
"type": {
"text": "boolean"
},
"default": "true",
"description": "Sets header fixed",
"fieldName": "shadow"
},
{
"name": "drawerPersistent",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Makes the drawer to be opened by default, in a non modal way",
"fieldName": "drawerPersistent"
},
{
"name": "drawerBelowHeader",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Makes the drawer to be shown below the header",
"fieldName": "drawerBelowHeader"
}
],
"mixins": [
{
"name": "ThemableMixin",
"package": "@vaadin/vaadin-themable-mixin"
}
],
"superclass": {
"name": "LitElement",
"package": "lit"
},
"tagName": "fc-applayout",
"customElement": true
}
],
"properties": [
"exports": [
{
"name": "name",
"attribute": "name",
"description": "The name to say \"Hello\" to.",
"type": "string",
"default": "\"World\""
"kind": "js",
"name": "FcAppLayoutElement",
"declaration": {
"name": "FcAppLayoutElement",
"module": "src/fc-applayout.ts"
}
},
{
"name": "count",
"attribute": "count",
"description": "The number of times the button has been clicked.",
"type": "number",
"default": "0"
"kind": "custom-element-definition",
"name": "fc-applayout",
"declaration": {
"name": "FcAppLayoutElement",
"module": "src/fc-applayout.ts"
}
}
],
"slots": [
{
"name": "",
"description": "This element has a slot"
}
],
"cssParts": [
{
"name": "button",
"description": "The button"
}
]
},
{
"kind": "javascript-module",
"path": "src/test/fc-applayout_test.ts",
"declarations": [],
"exports": []
}
]
}
}
This directory contains HTML files containing your element for development. By running `npm run build:watch` and `npm run serve` you can edit and see changes without bundling.

@@ -0,0 +0,0 @@ const fs = require('fs');

@@ -0,0 +0,0 @@ This directory containts the sources for the static site contained in the /docs/ directory. The site is based on the [eleventy](11ty.dev) static site generator.

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

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

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

{
"type": "commonjs"
}

15

package.json
{
"name": "@flowingcode/fc-applayout",
"version": "1.1.0",
"version": "1.2.0",
"description": "Responsive and flexible LitElement based Application Layout",

@@ -27,2 +27,3 @@ "keywords": [

"build:watch": "tsc --watch",
"buildstatic": "tsc && parcel build dev/index.html --no-cache --no-scope-hoist",
"clean": "rimraf fc-applayout.{d.ts,d.ts.map,js,js.map} test/fc-applayout.{d.ts,d.ts.map,js,js.map} test/fc-applayout_test.{d.ts,d.ts.map,js,js.map}",

@@ -61,7 +62,7 @@ "lint": "npm run lint:lit-analyzer && npm run lint:eslint",

"@polymer/paper-listbox": "^3.0.1",
"@vaadin/vaadin-themable-mixin": "24.1.0",
"lit": "^2.7.4"
"@vaadin/vaadin-themable-mixin": "24.3.8",
"lit": "^3.1.2"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.1",
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",

@@ -74,3 +75,3 @@ "@custom-elements-manifest/analyzer": "^0.6.3",

"@typescript-eslint/parser": "^5.25.0",
"@vaadin/vaadin-ordered-layout": "23.3.0",
"@vaadin/vertical-layout": "24.3.11",
"@web/dev-server": "^0.1.31",

@@ -82,3 +83,3 @@ "@web/dev-server-legacy": "^1.0.0",

"eslint": "^8.15.0",
"lit-analyzer": "^1.2.1",
"lit-analyzer": "^2.0.3",
"prettier": "^2.6.2",

@@ -89,5 +90,5 @@ "rimraf": "^3.0.2",

"rollup-plugin-terser": "^7.0.2",
"typescript": "~4.7.4"
"typescript": "5.3.3"
},
"customElements": "custom-elements.json"
}

@@ -133,2 +133,8 @@ [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/flowingcodefc-applayout)

### Alternate way of building static demo site
```bash
npx -p parcel npm run buildstatic
```
## Bundling and minification

@@ -135,0 +141,0 @@

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import {FcAppLayoutElement} from '../fc-applayout.js';

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc