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

@vaadin/form-layout

Package Overview
Dependencies
Maintainers
19
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/form-layout - npm Package Compare versions

Comparing version 22.0.0-beta1 to 22.0.0-beta2

14

package.json
{
"name": "@vaadin/form-layout",
"version": "22.0.0-beta1",
"version": "22.0.0-beta2",
"publishConfig": {

@@ -37,6 +37,6 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "22.0.0-beta1",
"@vaadin/vaadin-lumo-styles": "22.0.0-beta1",
"@vaadin/vaadin-material-styles": "22.0.0-beta1",
"@vaadin/vaadin-themable-mixin": "22.0.0-beta1"
"@vaadin/component-base": "22.0.0-beta2",
"@vaadin/vaadin-lumo-styles": "22.0.0-beta2",
"@vaadin/vaadin-material-styles": "22.0.0-beta2",
"@vaadin/vaadin-themable-mixin": "22.0.0-beta2"
},

@@ -46,6 +46,6 @@ "devDependencies": {

"@vaadin/testing-helpers": "^0.3.0",
"@vaadin/text-field": "22.0.0-beta1",
"@vaadin/text-field": "22.0.0-beta2",
"sinon": "^9.2.1"
},
"gitHead": "4cf8a9d0504994200c610e44b3676114fef49c1e"
"gitHead": "f13833683e6667f6ca6678452db14aa6b7eac4a4"
}

@@ -1,11 +0,8 @@

# <vaadin-form-layout>
# @vaadin/form-layout
[Live Demo ↗](https://vaadin.com/components/vaadin-form-layout/html-examples)
|
[API documentation ↗](https://vaadin.com/components/vaadin-form-layout/html-api)
A web component for building responsive forms with multiple columns.
[<vaadin-form-layout>](https://vaadin.com/components/vaadin-form-layout) is a Web Component providing configurable responsive layout for form elements, part of the [Vaadin components](https://vaadin.com/components).
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/form-layout)
[![npm version](https://badgen.net/npm/v/@vaadin/form-layout)](https://www.npmjs.com/package/@vaadin/form-layout)
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-form-layout)
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)

@@ -21,42 +18,41 @@

[<img src="https://raw.githubusercontent.com/vaadin/vaadin-form-layout/master/screenshot.png" width="880" alt="Screenshot of vaadin-form-layout">](https://vaadin.com/components/vaadin-form-layout)
[<img src="https://raw.githubusercontent.com/vaadin/web-components/master/packages/form-layout/screenshot.png" width="880" alt="Screenshot of vaadin-form-layout">](https://vaadin.com/docs/latest/ds/components/form-layout)
## Installation
Install `vaadin-form-layout`:
Install the component:
```sh
npm i @vaadin/form-layout --save
npm i @vaadin/form-layout
```
Once installed, import it in your application:
Once installed, import the component in your application:
```js
import '@vaadin/form-layout/vaadin-form-layout.js';
import '@vaadin/form-layout';
```
## Getting started
## Themes
Vaadin components use the Lumo theme by default.
Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/ds/customization/using-themes), Lumo and Material.
The [main entrypoint](https://github.com/vaadin/web-components/blob/master/packages/form-layout/vaadin-form-layout.js) of the package uses the Lumo theme.
To use the Material theme, import the correspondent file from the `theme/material` folder.
To use the Material theme, import the component from the `theme/material` folder:
## Entry points
```js
import '@vaadin/form-layout/theme/material/vaadin-form-layout.js';
```
- The components with the Lumo theme:
You can also import the Lumo version of the component explicitly:
`theme/lumo/vaadin-form-layout.js`
`theme/lumo/vaadin-form-item.js`
```js
import '@vaadin/form-layout/theme/lumo/vaadin-form-layout.js';
```
- The components with the Material theme:
Finally, you can import the un-themed component from the `src` folder to get a minimal starting point:
`theme/material/vaadin-form-layout.js`
`theme/material/vaadin-form-item.js`
```js
import '@vaadin/form-layout/src/vaadin-form-layout.js';
```
- Alias for `theme/lumo/vaadin-form-layout.js`
`theme/lumo/vaadin-form-item.js`:
`vaadin-form-layout.js`
`vaadin-form-item.js`
## Contributing

@@ -70,2 +66,3 @@

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
Vaadin collects usage statistics at development time to improve this product.
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

@@ -6,3 +6,3 @@ /**

*/
import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

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

@@ -6,7 +6,7 @@ /**

*/
import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
import { beforeNextRender } from '@polymer/polymer/lib/utils/render-status.js';
import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
import { mixinBehaviors } from '@polymer/polymer/lib/legacy/class.js';
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
import { beforeNextRender } from '@polymer/polymer/lib/utils/render-status.js';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';

@@ -13,0 +13,0 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

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

import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
import '@vaadin/vaadin-lumo-styles/color.js';

@@ -6,2 +5,3 @@ import '@vaadin/vaadin-lumo-styles/spacing.js';

import '@vaadin/vaadin-lumo-styles/typography.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

@@ -8,0 +8,0 @@ registerStyles(

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

import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
import '@vaadin/vaadin-lumo-styles/spacing.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

@@ -4,0 +4,0 @@ registerStyles(

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

import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
import '@vaadin/vaadin-material-styles/color.js';
import '@vaadin/vaadin-material-styles/typography.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

@@ -5,0 +5,0 @@ registerStyles(

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