@material/tabs

WebJar for @material/tabs

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

material__tabs
Последняя версия

Последняя версия

2.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

@material/tabs
WebJar for @material/tabs
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/material-components/material-components-web

Скачать material__tabs

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/material__tabs/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>material__tabs</artifactId>
    <version>2.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/material__tabs/
implementation 'org.webjars.npm:material__tabs:2.3.0'
// https://jarcasting.com/artifacts/org.webjars.npm/material__tabs/
implementation ("org.webjars.npm:material__tabs:2.3.0")
'org.webjars.npm:material__tabs:jar:2.3.0'
<dependency org="org.webjars.npm" name="material__tabs" rev="2.3.0">
  <artifact name="material__tabs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='material__tabs', version='2.3.0')
)
libraryDependencies += "org.webjars.npm" % "material__tabs" % "2.3.0"
[org.webjars.npm/material__tabs "2.3.0"]

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
org.webjars.npm : tslib jar [1.9.3,2)
org.webjars.npm : material__theme jar [1.1.0,2)
org.webjars.npm : material__rtl jar [0.42.0,0.43)
org.webjars.npm : material__typography jar [2.3.0,3)
org.webjars.npm : material__base jar [1.0.0,2)
org.webjars.npm : material__animation jar [1.0.0,2)
org.webjars.npm : material__ripple jar [2.3.0,3)

Модули Проекта

Данный проект не имеет модулей.

Version Chat

Material Components for the web

Material Components for the web helps developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional web projects.

Material Web strives to seamlessly incorporate into a wider range of usage contexts, from simple static websites to complex, JavaScript-heavy applications to hybrid client/server rendering systems. In short, whether you're already heavily invested in another framework or not, it should be easy to incorporate Material Components into your site in a lightweight, idiomatic fashion.

Material Components for the web is the successor to Material Design Lite. In addition to implementing the Material Design guidelines, it provides more flexible theming customization, not only in terms of color, but also typography, shape, states, and more. It is also specifically architected for adaptability to various major web frameworks.

NOTE: Material Components Web tends to release breaking changes on a monthly basis, but follows semver so you can control when you incorporate them. We typically follow a 2-week release schedule which includes one major release per month with breaking changes, and intermediate patch releases with bug fixes.

Important links

Quick start

Using via CDN

<!-- Required styles for Material Web -->
<link rel="stylesheet" href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css">

<!-- Render textfield component -->
<label class="mdc-text-field mdc-text-field--filled">
  <span class="mdc-text-field__ripple"></span>
  <span class="mdc-floating-label" id="my-label">Label</span>
  <input type="text" class="mdc-text-field__input" aria-labelledby="my-label">
  <span class="mdc-line-ripple"></span>
</label>

<!-- Required Material Web JavaScript library -->
<script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script>
<!-- Instantiate single textfield component rendered in the document -->
<script>
  mdc.textField.MDCTextField.attachTo(document.querySelector('.mdc-text-field'));
</script>

Please see quick start demo on codepen for full example.

Using NPM

This guide assumes you have webpack configured to compile Sass into CSS. To configure webpack, please see the full getting started guide. You can also see the final code and result in the Material Starter Kit.

Install textfield node module to your project.

npm install @material/textfield

HTML

Sample usage of text field component. Please see Textfield component page for more options.

<label class="mdc-text-field mdc-text-field--filled">
  <span class="mdc-text-field__ripple"></span>
  <input type="text" class="mdc-text-field__input" aria-labelledby="my-label">
  <span class="mdc-floating-label" id="my-label">Label</span>
  <span class="mdc-line-ripple"></span>
</label>

CSS

Load styles required for text field component.

@use "@material/floating-label/mdc-floating-label";
@use "@material/line-ripple/mdc-line-ripple";
@use "@material/notched-outline/mdc-notched-outline";
@use "@material/textfield";

@include textfield.core-styles;

JavaScript

Import MDCTextField module to instantiate text field component.

import {MDCTextField} from '@material/textfield';
const textField = new MDCTextField(document.querySelector('.mdc-text-field'));

This'll initialize text field component on a single .mdc-text-field element.

Please see quick start demo on glitch for full example.

Need help?

We're constantly trying to improve our components. If Github Issues don't fit your needs, then please visit us on our Discord Channel.

org.webjars.npm

Material Components

Build beautiful, usable products with Material Components for Android, Flutter, iOS, and the web.

Версии библиотеки

Версия
2.3.0
0.37.1
0.37.0
0.36.0-0
0.35.0
0.34.1
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.28.0
0.25.0
0.24.0
0.23.0
0.3.1
0.3.0
0.2.7
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0