![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
UI component library for Vue 2. Designed to be as universal as possible. Inspired by Semantic UI, VKUI, BEM, UIkit and other beautiful libraries.
UI component library for Vue 2. Designed to be as universal as possible. Inspired by Semantic UI, VKUI, BEM, UIkit and other beautiful libraries.
The idea is to provide as many useful components as possible without forcing a single predefined appearance. Each component (and its parts) is given semantically correct CSS classes which can be used to configure how it looks.
Styling/theming is done on three levels:
os-win-98
, os-ios-1
, os-mac-10
).All components automatically receive appropriate CSS classes so they can be styled from outside. Using scoped styles is discouraged. Actually, any styling within components themselves is not recommended because it prevents easy usage of system/service/theme stylesheets.
Class naming convention is based on BEM and more specifically on ABEM (Atomic BEM) as specified here: https://css-tricks.com/abem-useful-adaptation-bem/.
Each component has a class exactly same as its name (like "a-button" or "a-switch"). Its equivalent to block in BEM.
Any part of the component (an element) which needs to be styled has class name like "a-switch__caption".
Any component (or — in rare occasions — its part) can have a modifier. Usually it corresponds to its state and looks like this: "is-active", "is-disabled", "is-primary", "is-small". It does not contain block or element name, you should specify it only in stylesheet:
.a-button.is-primary {
...
}
Stylesheets are usually loaded selectively (no need to load a CSS file for Android look-and-feel if your user is running iOS), but to avoid accidential mixing, body tag receives classes corressponding to the current style:
.os-android
/.os-ios
/.os-mac
/.os-win
for system level
.base-vk
for base level
.theme-dark
/.theme-red
/.theme-flat
for theme level
There's also a "util-" prefix for some utility classes. Those usually are not very semantically correct, and should be avoided.
Description | iOS | Android | |
---|---|---|---|
Basic | |||
any-vue | App wrapper. Required for overlay elements (alerts, action sheets…) | ▢ | ▢ |
Form Controls | |||
a-form | Form container (helps to organize controls within, but not required). | ▢ | ▢ |
a-button | Button. | ✅ | ▢ |
a-switch | Two-positional switch (works like a checkbox). | ✅ | ▢ |
a-checkbox | A checkbox. Can be in the indeterminate state. | ▢ | ▢ |
a-radio | A radio button. Can be in the indeterminate state. | ▢ | ▢ |
a-spinner | Spinning circle to indicate some loading is in progress. | ✅ | ▢ |
a-dropdown | A control to select values from the dropdown menu. | ▢ | ▢ |
Inputs | |||
a-text-input | Simple text input. | ▢ | ▢ |
Bars | |||
a-progress-bar | Linear progress indicator. Can be in the indeterminate state. | ▢ | ▢ |
a-slider-bar | Horizontal slider to select a single numerical value. | ▢ | ▢ |
a-range-bar | Horizontal slider to select a numerical range. | ▢ | ▢ |
a-nav-bar | Navigation bar usually located at the top of the page. | ▢ | ▢ |
a-tab-bar | A collection of tabs to switch between pages of content. | ▢ | ▢ |
Pickers | |||
Complex | |||
a-list | List of selectable items. | ▢ | ▢ |
View Controllers |
npm install any-vue --save
TODO: add instructions for using the components
npm install
npm run serve
npm run build
npm run test:unit
npm run test:e2e
FAQs
UI component library for Vue 2. Designed to be as universal as possible. Inspired by Semantic UI, VKUI, BEM, UIkit and other beautiful libraries.
We found that any-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.