A CSS component library based on the BEM methodology.

Overview

Vrembem

A component library based on the BEM methodology.

NPM Version Build Coverage Status

About

Vrembem is a front-end component library written to make available common web interface patterns. This allows developers and designers to implement robust components into their web projects while keeping them flexible and customizable through the use of the BEM methodology and Sass CSS extension language.

This Vrembem repository is managed as a monorepo that contains all available components. Include all components using the convenient all-in-one vrembem package.

Quick Links

Getting Started

Using CDN

If you'd like to use Vrembem for prototyping or just want to take it for a test drive, you can leverage the unpkg CDN version of a component or the entire Vrembem library.

<!-- Include Vrembem styles -->
<link rel="stylesheet" href="https://unpkg.com/vrembem/dist/styles.css">

<!-- Render a component -->
<button data-modal-open="modal-id" class="link">Open modal</button>
<div id="modal-id" class="modal modal_size_sm">
  <div class="modal__dialog dialog" role="dialog" aria-modal="true">
    <p>Hello, world!</p>
    <button data-modal-close class="link">Close</button>
  </div>
</div>

<!-- Include Vrembem JavaScript -->
<script src="https://unpkg.com/vrembem"></script>

<!-- Instantiate the component rendered in the document -->
<script>
  const modal = new vrembem.Modal();
  modal.init();
</script>

Also see example.html for a more comprehensive working demo of using Vrembem via CDN.

CDN References

Vrembem packages all bundles in two areas, dist contains all compressed production ready bundles and dev contains uncompressed versions (all using the same file names). Components that ship with JavaScript include 4 bundles:

Type Extension Description
UMD .umd.js Universal Module Definition bundles that can be used directly in the browser via a <script> tag. This is the default file from pkg.unpkg pointing to scripts.umd.js.
ESM .esm.js ES Module bundles that are intended for use with modern bundlers like Webpack 2 or Rollup. This is the default file from pkg.module pointing to scripts.esm.js.
CJS .js CommonJS bundles that are intended for older bundlers like Browserify or Webpack 1. This is the default file from pkg.main pointing to scripts.js.
Modern .modern.js Modern bundles specially designed to work in all modern browsers. Specifically compiles down to browsers that support <script type="module"> which are smaller and faster to execute than the esm bundle.

CDN Link Format

# Styles
Uncompressed: https://unpkg.com/[COMPONENT]/dev/styles.css
Compressed:   https://unpkg.com/[COMPONENT]/dist/styles.css

# Scripts
Uncompressed: https://unpkg.com/[COMPONENT]/dev/scripts.umd.js
Compressed:   https://unpkg.com/[COMPONENT]/dist/scripts.umd.js

For example, if you wanted to include the styles and scripts for the @vrembem/drawer component, you could use the following link and script tags:

<!-- Component specific styles (expanded or compressed) -->
<link rel="stylesheet" href="https://unpkg.com/@vrembem/drawer/dev/styles.css">
<link rel="stylesheet" href="https://unpkg.com/@vrembem/drawer/dist/styles.css">

<!-- Component specific scripts -->
<script src="https://unpkg.com/@vrembem/drawer/dev/scripts.umd.js"></script>
<script src="https://unpkg.com/@vrembem/drawer/dist/scripts.umd.js"></script>

<!-- A modern bundle specially designed to work in all modern browsers with UMD fallback -->
<script type="module" src="https://unpkg.com/@vrembem/drawer/dist/scripts.modern.js"></script>
<script nomodule src="https://unpkg.com/@vrembem/drawer/dist/scripts.umd.js"></script>

Using NPM

To use a Vrembem component, you'll first need to install it as a dependency. For this example we'll be using the modal component:

npm install @vrembem/modal

CSS

Include the component in your build's Sass manifest file:

@use "@vrembem/modal";

Vrembem uses Sass' module system, pass in custom variables using the with keyword.

@use "@vrembem/modal" with (
  $background: #fff,
  $background-alpha: 0.9
);

JavaScript

Some packages also have included modules for their functionality. You can include these in your JavaScript files by importing, instantiate and initialize:

// Import your component
import Modal from "@vrembem/modal";

// Instantiate and initialize
const modal = new Modal();
modal.init();

Alternatively, you can use the autoInit option to auto initialize and optionally omit saving the instance to a variable if the returned API won't be needed later.

new Modal({ autoInit: true });

HTML

Include the component's markup into your project. Use the online docs for information and code examples such as markup and available modifiers for each component.

<button data-modal-open="[unique-id]">Modal</button>
<div id="[unique-id]" class="modal">
  <div class="modal__dialog" role="dialog" aria-modal="true">
    <button data-modal-close>Close</button>
    ...
  </div>
</div>

All-in-one

It's also possible to include all Vrembem components using the single all-in-one vrembem package:

npm install vrembem

Via your project's Sass manifest file:

@use "vrembem";

Override default variables using Sass' module system and the with keyword. Variables are prefixed by their component name. You can also customize core variables which all components inherit from using the $core- prefix.

@use "vrembem" with (
  $core-prefix-block: "vb-",
  $modal-background: #fff,
  $modal-background-alpha: 0.9
);

Via your project's JavaScript manifest file:

// Import all under the vb namespace
import * as vb from "vrembem";
const drawer = new vb.Drawer({ autoInit: true });

// Or import individual components
import { Drawer } from "vrembem";
const drawer = new Drawer({ autoInit: true });

Note that core helpers do not need to be initialized since they're just a set of helpful utility functions.

Copyright and License

Vrembem and Vrembem documentation copyright (c) 2022 Sebastian Nitu. Vrembem is released under the MIT license and Vrembem documentation is released under Creative Commons.

Comments
  • chore(deps-dev): bump @babel/core from 7.19.0 to 7.19.1

    chore(deps-dev): bump @babel/core from 7.19.0 to 7.19.1

    Bumps @babel/core from 7.19.0 to 7.19.1.

    Release notes

    Sourced from @​babel/core's releases.

    v7.19.1 (2022-09-14)

    Thanks @​hegemonic for your first PR!

    :bug: Bug Fix

    Committers: 5

    Changelog

    Sourced from @​babel/core's changelog.

    v7.19.1 (2022-09-14)

    :bug: Bug Fix

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 4
  • chore(deps): bump feather-icons from 4.28.0 to 4.29.0

    chore(deps): bump feather-icons from 4.28.0 to 4.29.0

    Bumps feather-icons from 4.28.0 to 4.29.0.

    Release notes

    Sourced from feather-icons's releases.

    v4.29.0

    4.29.0 (2022-03-29)

    Features

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 4
  • chore(deps-dev): bump @testing-library/user-event from 13.5.0 to 14.0.4

    chore(deps-dev): bump @testing-library/user-event from 13.5.0 to 14.0.4

    Bumps @testing-library/user-event from 13.5.0 to 14.0.4.

    Release notes

    Sourced from @​testing-library/user-event's releases.

    v14.0.4

    14.0.4 (2022-04-01)

    Bug Fixes

    • track calls to HTMLInputElement.select() (#898) (6d36828)

    v14.0.3

    14.0.3 (2022-03-31)

    Bug Fixes

    • pointer: change selection before dispatching focus (#895) (06f12a6)

    v14.0.2

    14.0.2 (2022-03-31)

    Bug Fixes

    v14.0.1

    14.0.1 (2022-03-31)

    Bug Fixes

    • maintain UI value on controlled number input (#889) (a7f9906)
    • pointer: support nested select (#888) (e23e559)

    v14.0.0

    14.0.0 (2022-03-29)

    ⚠ BREAKING CHANGES

    • APIs always return a Promise.
    • pointer: skipPointerEvents has been removed. Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.
    • upload: init parameter has been removed from userEvent.upload.
    • The userEvent.paste API has new parameters.
    • {ctrl}, {del}, {esc} no longer describe a key. Use {Control}, {Delete}, {Escape} instead.
    • {alt}, {ctrl}, {meta}, {shift} no longer imply not releasing the key. Use {Alt>}, {Control>}, {Meta>}, {Shift>} instead.
    • init parameter has been removed from these APIs:
      • userEvent.click
      • userEvent.dblClick
      • userEvent.tripleClick

    ... (truncated)

    Commits
    • 6d36828 fix: track calls to HTMLInputElement.select() (#898)
    • f2e8f8e docs: add wKovacs64 as a contributor for bug (#896)
    • 06f12a6 fix(pointer): change selection before dispatching focus (#895)
    • dff6d54 docs: add tbertrand7 as a contributor for bug (#893)
    • 126d2e7 fix: work around shadowed globals (#892)
    • 810c0d8 chore: update test environment to React18 (#891)
    • 886780c docs: add robcaldecott as a contributor for bug, code (#890)
    • e23e559 fix(pointer): support nested select (#888)
    • a7f9906 fix: maintain UI value on controlled number input (#889)
    • f209a6f chore: update link to CONTRIBUTORS
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 4
  • chore(deps-dev): bump stylelint from 13.13.1 to 14.1.0

    chore(deps-dev): bump stylelint from 13.13.1 to 14.1.0

    Bumps stylelint from 13.13.1 to 14.1.0.

    Release notes

    Sourced from stylelint's releases.

    14.1.0

    • Added: support for directory creation to --output-file flag (#5672).
    • Added: ConfigurationError type (#5696).
    • Added: rule-selector-property-disallowed-list rule (#5679).
    • Added: ignore: ["consecutive-duplicates-with-same-prefixless-values"] to declaration-block-no-duplicate-properties (#5609).
    • Added: ignorePseudoClasses: [] to max-nesting-depth (#5620).
    • Fixed: extending rules within overrides (#5683).
    • Fixed: color-function-notation false positives for hex colours (#5650).
    • Fixed: declaration-empty-line-before false positives for values wrapped in parentheses (#5680).
    • Fixed: indentation TypeError for baseIndentLevel: 1 option for Vue files (#5657).
    • Fixed: property-no-unknown false positives for maps (#5690).
    • Fixed: selector-type-case false positives for SVG type selectors (#5717).

    14.0.1

    • Fixed: package size by excluding docs (#5643).
    • Fixed: overrides property ignoring dot directories (#5629).
    • Fixed: custom syntax require error handling (#5635).
    • Fixed: function-calc-no-unspaced-operator false positives for hyphenated functions (#5636).

    14.0.0

    Migrating to 14.0.0 guide.

    • Removed: Node.js 10 support (#5303).
    • Removed: syntax option (#5297).
    • Removed: configOverrides option (#5530).
    • Removed: rules deprecated in 13.7.0 (#5295).
    • Removed: function-calc-no-invalid rule (#5296).
    • Changed: ignoreFiles to be extendable (#5596).
    • Security: addressed ReDoS issue with regex in indentation (#5539).
    • Added: TypeScript type definitions (#5582).
    • Added: customSyntax option as a property in the configuration object (#5538).
    • Added: overrides property to configuration object (#5521).
    • Added: disableFix as secondary option to rules property in the configuration object (#5460).
    • Added: quiet option to Node.js API (#5542).
    • Added: color-hex-alpha rule (#5316).
    • Added: custom-property-no-missing-var-function rule (#5317).
    • Added: function-calc-no-unspaced-operator autofix (#5273).
    • Added: ignoreFunctions: [] to length-zero-no-unit (#5314).
    • Added: ignoreAtRules: [] to no-invalid-position-at-import (#5520).
    • Added: ignoreProperties: [] to number-max-precision (#5421).
    • Fixed: "No files matching the pattern" when using backslash paths on Windows (#5386).
    • Fixed: function-url-quotes problem messages to be consistent with other *-quotes rules (#5488).
    • Fixed: length-zero-no-unit false positives for flex property (#5315).
    • Fixed: media-feature-name-no-unknown false positives for prefers-contrast (#5428).
    • Fixed: media-feature-name-no-unknown false positives for dynamic-range & video-dynamic-range (#5613).
    • Fixed: media-feature-name-value-allowed-list TypeError for spaceless condition (#5581).
    • Fixed: property-no-unknown false positives for Less maps (#5381).
    • Fixed: selector-class-pattern false positives for Less parametric mixins (#5378).
    • Fixed: max-empty-lines autofix for Less comments (#5507).
    • Fixed: named-grid-areas-no-invalid false negatives for grid and grid-template shorthand properties (#5514).

    ... (truncated)

    Changelog

    Sourced from stylelint's changelog.

    14.1.0

    • Added: support for directory creation to --output-file flag (#5672).
    • Added: ConfigurationError type (#5696).
    • Added: rule-selector-property-disallowed-list rule (#5679).
    • Added: ignore: ["consecutive-duplicates-with-same-prefixless-values"] to declaration-block-no-duplicate-properties (#5609).
    • Added: ignorePseudoClasses: [] to max-nesting-depth (#5620).
    • Fixed: extending rules within overrides (#5683).
    • Fixed: color-function-notation false positives for hex colours (#5650).
    • Fixed: declaration-empty-line-before false positives for values wrapped in parentheses (#5680).
    • Fixed: indentation TypeError for baseIndentLevel: 1 option for Vue files (#5657).
    • Fixed: property-no-unknown false positives for maps (#5690).
    • Fixed: selector-type-case false positives for SVG type selectors (#5717).

    14.0.1

    • Fixed: package size by excluding docs (#5643).
    • Fixed: overrides property ignoring dot directories (#5629).
    • Fixed: custom syntax require error handling (#5635).
    • Fixed: function-calc-no-unspaced-operator false positives for hyphenated functions (#5636).

    14.0.0

    Migrating to 14.0.0 guide.

    • Removed: Node.js 10 support (#5303).
    • Removed: syntax option (#5297).
    • Removed: configOverrides option (#5530).
    • Removed: rules deprecated in 13.7.0 (#5295).
    • Removed: function-calc-no-invalid rule (#5296).
    • Changed: ignoreFiles to be extendable (#5596).
    • Security: addressed ReDoS issue with regex in indentation (#5539).
    • Added: TypeScript type definitions (#5582).
    • Added: customSyntax option as a property in the configuration object (#5538).
    • Added: overrides property to configuration object (#5521).
    • Added: disableFix as secondary option to rules property in the configuration object (#5460).
    • Added: quiet option to Node.js API (#5542).
    • Added: color-hex-alpha rule (#5316).
    • Added: custom-property-no-missing-var-function rule (#5317).
    • Added: function-calc-no-unspaced-operator autofix (#5273).
    • Added: ignoreFunctions: [] to length-zero-no-unit (#5314).
    • Added: ignoreAtRules: [] to no-invalid-position-at-import (#5520).
    • Added: ignoreProperties: [] to number-max-precision (#5421).
    • Fixed: "No files matching the pattern" when using backslash paths on Windows (#5386).
    • Fixed: function-url-quotes problem messages to be consistent with other *-quotes rules (#5488).
    • Fixed: length-zero-no-unit false positives for flex property (#5315).
    • Fixed: media-feature-name-no-unknown false positives for prefers-contrast (#5428).
    • Fixed: media-feature-name-no-unknown false positives for dynamic-range & video-dynamic-range (#5613).
    • Fixed: media-feature-name-value-allowed-list TypeError for spaceless condition (#5581).
    • Fixed: property-no-unknown false positives for Less maps (#5381).

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 4
  • chore(deps-dev): bump concurrently from 7.0.0 to 7.1.0

    chore(deps-dev): bump concurrently from 7.0.0 to 7.1.0

    ⚠️ Dependabot is rebasing this PR ⚠️

    Rebasing might not happen immediately, so don't worry if this takes some time.

    Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


    Bumps concurrently from 7.0.0 to 7.1.0.

    Release notes

    Sourced from concurrently's releases.

    v7.1.0

    • Excluding pattern support added, e.g. concurrently npm:lint:*(!fix) (#305, #306)
    • Fixed programmatic API docs to resemble v7.0.0 changes (#303)

    New Contributors

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • chore(deps-dev): bump @testing-library/jest-dom from 5.11.0 to 5.11.1

    chore(deps-dev): bump @testing-library/jest-dom from 5.11.0 to 5.11.1

    Bumps @testing-library/jest-dom from 5.11.0 to 5.11.1.

    Release notes

    Sourced from @testing-library/jest-dom's releases.

    v5.11.1

    5.11.1 (2020-07-15)

    Bug Fixes

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • chore(deps-dev): bump babel-jest from 29.3.0 to 29.3.1

    chore(deps-dev): bump babel-jest from 29.3.0 to 29.3.1

    Bumps babel-jest from 29.3.0 to 29.3.1.

    Release notes

    Sourced from babel-jest's releases.

    v29.3.1

    Fixes

    • [jest-config] Do not warn about preset in ProjectConfig #13583

    Performance

    • [jest-transform] Defer creation of cache directory #13420
    Changelog

    Sourced from babel-jest's changelog.

    29.3.1

    Fixes

    • [jest-config] Do not warn about preset in ProjectConfig (#13583)

    Performance

    • [jest-transform] Defer creation of cache directory (#13420)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump babel-jest from 29.2.0 to 29.2.1

    chore(deps-dev): bump babel-jest from 29.2.0 to 29.2.1

    Bumps babel-jest from 29.2.0 to 29.2.1.

    Release notes

    Sourced from babel-jest's releases.

    v29.2.1

    Features

    • [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440)

    Fixes

    • [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467)
    • [jest-mock] Revert #13398 to restore mocking of setters (#13472)

    Performance

    • [*] Use sha1 instead of sha256 for hashing (#13421)

    Full Changelog: https://github.com/facebook/jest/compare/v29.2.0...v29.2.1

    Changelog

    Sourced from babel-jest's changelog.

    29.2.1

    Features

    • [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440)

    Fixes

    • [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467)
    • [jest-mock] Revert #13398 to restore mocking of setters (#13472)

    Performance

    • [*] Use sha1 instead of sha256 for hashing (#13421)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump babel-jest from 29.0.3 to 29.1.2

    chore(deps-dev): bump babel-jest from 29.0.3 to 29.1.2

    Bumps babel-jest from 29.0.3 to 29.1.2.

    Release notes

    Sourced from babel-jest's releases.

    v29.1.2

    Fixes

    • [expect, @jest/expect] Revert buggy inference of argument types for *CalledWith and *ReturnedWith matchers introduced in 29.1.0 (#13339)
    • [jest-worker] Add missing dependency on jest-util (#13341)

    New Contributors

    Full Changelog: https://github.com/facebook/jest/compare/v29.1.1...v29.1.2

    v29.1.1

    Fixes

    • [jest-mock] Revert #13145 which broke mocking of transpiled ES modules

    Full Changelog: https://github.com/facebook/jest/compare/v29.1.0...v29.1.1

    v29.1.0

    Features

    • [expect, @jest/expect] support type inference for function parameters in CalledWith assertions (#13268)
    • [expect, @jest/expect] Infer type of *ReturnedWith matchers argument (#13278)
    • [@jest/environment, jest-runtime] Allow jest.requireActual and jest.requireMock to take a type argument (#13253)
    • [@jest/environment] Allow jest.mock and jest.doMock to take a type argument (#13254)
    • [@jest/fake-timers] Add jest.now() to return the current fake clock time (#13244, #13246)
    • [@jest/mock] Add withImplementation method for temporarily overriding a mock (#13281)
    • [expect] Export toThrow* matchers (#13328)

    Fixes

    • [jest-circus, jest-jasmine2] Fix error messages for Node's assert.throes (#13322)
    • [jest-haste-map] Remove __proto__ usage (#13256)
    • [jest-mock] Improve spyOn typings to handle optional properties (#13247)
    • [jest-mock] Fix mocking of getters and setters on classes (#13145)
    • [jest-snapshot] Throw useful error when an array is passed as property matchers (#13263)
    • [jest-snapshot] Prioritize parser used in the project (#13323)
    • [jest-transform] Attempt to work around issues with atomic writes on Windows (#11423)

    New Contributors

    ... (truncated)

    Changelog

    Sourced from babel-jest's changelog.

    29.1.2

    Fixes

    • [expect, @jest/expect] Revert buggy inference of argument types for *CalledWith and *ReturnedWith matchers introduced in 29.1.0 (#13339)
    • [jest-worker] Add missing dependency on jest-util (#13341)

    29.1.1

    Fixes

    • [jest-mock] Revert #13145 which broke mocking of transpiled ES modules

    29.1.0

    Features

    • [expect, @jest/expect] Support type inference for function parameters in CalledWith assertions (#13268)
    • [expect, @jest/expect] Infer type of *ReturnedWith matchers argument (#13278)
    • [@jest/environment, jest-runtime] Allow jest.requireActual and jest.requireMock to take a type argument (#13253)
    • [@jest/environment] Allow jest.mock and jest.doMock to take a type argument (#13254)
    • [@jest/fake-timers] Add jest.now() to return the current fake clock time (#13244, #13246)
    • [@jest/mock] Add withImplementation method for temporarily overriding a mock (#13281)
    • [expect] Export toThrow* matchers (#13328)

    Fixes

    • [jest-circus, jest-jasmine2] Fix error messages for Node's assert.throes (#13322)
    • [jest-haste-map] Remove __proto__ usage (#13256)
    • [jest-mock] Improve spyOn typings to handle optional properties (#13247)
    • [jest-mock] Fix mocking of getters and setters on classes (#13145)
    • [jest-snapshot] Throw useful error when an array is passed as property matchers (#13263)
    • [jest-snapshot] Prioritize parser used in the project (#13323)
    • [jest-transform] Attempt to work around issues with atomic writes on Windows (#11423)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump @babel/preset-env from 7.19.0 to 7.19.1

    chore(deps-dev): bump @babel/preset-env from 7.19.0 to 7.19.1

    Bumps @babel/preset-env from 7.19.0 to 7.19.1.

    Release notes

    Sourced from @​babel/preset-env's releases.

    v7.19.1 (2022-09-14)

    Thanks @​hegemonic for your first PR!

    :bug: Bug Fix

    Committers: 5

    Changelog

    Sourced from @​babel/preset-env's changelog.

    v7.19.1 (2022-09-14)

    :bug: Bug Fix

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump @testing-library/dom from 8.17.1 to 8.18.0

    chore(deps-dev): bump @testing-library/dom from 8.17.1 to 8.18.0

    Bumps @testing-library/dom from 8.17.1 to 8.18.0.

    Release notes

    Sourced from @​testing-library/dom's releases.

    v8.18.0

    8.18.0 (2022-09-17)

    Features

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump @babel/core from 7.20.5 to 7.20.7

    chore(deps-dev): bump @babel/core from 7.20.5 to 7.20.7

    Bumps @babel/core from 7.20.5 to 7.20.7.

    Release notes

    Sourced from @​babel/core's releases.

    v7.20.7 (2022-12-22)

    Thanks @​wsypower for your first PR!

    :eyeglasses: Spec Compliance

    • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes
    • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-object-super

    :bug: Bug Fix

    • babel-parser, babel-plugin-transform-typescript
    • babel-traverse
    • babel-plugin-transform-typescript, babel-traverse
    • babel-plugin-transform-block-scoping
    • babel-plugin-proposal-async-generator-functions, babel-preset-env
    • babel-generator, babel-plugin-proposal-optional-chaining
    • babel-plugin-transform-react-jsx, babel-types
    • babel-core, babel-helpers, babel-plugin-transform-computed-properties, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
    • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes
    • babel-generator

    :nail_care: Polish

    • babel-plugin-transform-block-scoping, babel-traverse

    :house: Internal

    • babel-helper-define-map, babel-plugin-transform-property-mutators
    • babel-core, babel-plugin-proposal-class-properties, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-destructuring, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env, babel-traverse

    :running_woman: Performance

    Committers: 6

    ... (truncated)

    Changelog

    Sourced from @​babel/core's changelog.

    v7.20.7 (2022-12-22)

    :eyeglasses: Spec Compliance

    • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes
    • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-object-super

    :bug: Bug Fix

    • babel-parser, babel-plugin-transform-typescript
    • babel-traverse
    • babel-plugin-transform-typescript, babel-traverse
    • babel-plugin-transform-block-scoping
    • babel-plugin-proposal-async-generator-functions, babel-preset-env
    • babel-generator, babel-plugin-proposal-optional-chaining
    • babel-plugin-transform-react-jsx, babel-types
    • babel-core, babel-helpers, babel-plugin-transform-computed-properties, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
    • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes
    • babel-generator

    :nail_care: Polish

    • babel-plugin-transform-block-scoping, babel-traverse

    :house: Internal

    • babel-helper-define-map, babel-plugin-transform-property-mutators
    • babel-core, babel-plugin-proposal-class-properties, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-destructuring, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env, babel-traverse

    :running_woman: Performance

    v7.20.6 (2022-11-28)

    :bug: Bug Fix

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps-dev): bump sass from 1.57.0 to 1.57.1

    chore(deps-dev): bump sass from 1.57.0 to 1.57.1

    Bumps sass from 1.57.0 to 1.57.1.

    Release notes

    Sourced from sass's releases.

    Dart Sass 1.57.1

    To install Sass 1.57.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

    Changes

    • No user-visible changes.

    See the full changelog for changes in earlier releases.

    Changelog

    Sourced from sass's changelog.

    1.57.1

    • No user-visible changes.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps-dev): bump @testing-library/dom from 8.19.0 to 8.19.1

    chore(deps-dev): bump @testing-library/dom from 8.19.0 to 8.19.1

    Bumps @testing-library/dom from 8.19.0 to 8.19.1.

    Release notes

    Sourced from @​testing-library/dom's releases.

    v8.19.1

    8.19.1 (2022-12-23)

    Bug Fixes

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps-dev): bump lerna from 6.1.0 to 6.3.0

    chore(deps-dev): bump lerna from 6.1.0 to 6.3.0

    Bumps lerna from 6.1.0 to 6.3.0.

    Release notes

    Sourced from lerna's releases.

    v6.3.0

    6.3.0 (2022-12-26)

    Features

    • version: support custom command for git tag (#2760) (6eac92f)
    • version: use npmClientArgs in npm install after lerna version (#3434) (e019e3f)

    v6.2.0

    6.2.0 (2022-12-13)

    Bug Fixes

    • core: more detailed error message when version cannot be found (#3424) (b729b0c)
    • schema: add the other format changelogPreset can assume (#3441) (d286973)
    • utils: check validity of bundledDependencies before iteration (#2960) (2517ffb)

    Features

    Changelog

    Sourced from lerna's changelog.

    6.3.0 (2022-12-26)

    Features

    • version: use npmClientArgs in npm install after lerna version (#3434) (e019e3f)

    6.2.0 (2022-12-13)

    Bug Fixes

    • schema: add the other format changelogPreset can assume (#3441) (d286973)

    Features

    Commits
    • 329eb99 chore(release): v6.3.0
    • e019e3f feat(version): use npmClientArgs in npm install after lerna version (#3434)
    • e057f56 chore(release): v6.2.0
    • 027d943 feat(publish): add --summary-file option (#2653)
    • d286973 fix(schema): add the other format changelogPreset can assume (#3441)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Add ability to sync component state with existing collection entries

    Add ability to sync component state with existing collection entries

    Problem

    There are cases where a components state may become desynced from the state stored in a collection entry. This is typically caused by front-end frameworks updating the DOM or not catching an update made by the component.

    Solution

    This PR introduces the ability to sync a component in two ways:

    • From collection entry to DOM.
    • From DOM to collection entry.
    PR: feat 
    opened by sebnitu 0
Releases(v3.0.11)
  • v3.0.11(Dec 21, 2022)

    :bug: Bug Fix

    • base, breadcrumb, button-group, button, card, checkbox, core, dialog, drawer, grid, icon-action, icon, input, level, media, menu, modal, notice, popover, radio, section, switch, table, tooltip, utility, vrembem
      • #1075 Remove touchend events from modal and drawer click handling
    Source code(tar.gz)
    Source code(zip)
  • v3.0.10(Jul 10, 2022)

  • v3.0.9(Jul 10, 2022)

  • v3.0.8(May 1, 2022)

  • v3.0.6(Apr 28, 2022)

  • v3.0.5(Apr 22, 2022)

    :house: Refactor

    • base, card, core, dialog, drawer, modal, notice, popover, table, utility
      • #890 Refactor core module, theme variables and removal of unused functions and mixins
    • popover
      • #888 Refactor custom properties output in popover component

    :books: Documentation

    • drawer, grid, input, modal, popover, utility
      • #889 Update example templates
    Source code(tar.gz)
    Source code(zip)
  • v3.0.4(Apr 21, 2022)

  • v3.0.3(Apr 21, 2022)

    :bug: Bug Fix

    • drawer
      • #884 Fix drawer class variables default

    :house: Refactor

    • core, drawer, popover, vrembem
      • #883 Update custom property output methodology

    :books: Documentation

    • #885 Update docs css dir to scss
    Source code(tar.gz)
    Source code(zip)
  • v3.0.2(Apr 21, 2022)

  • v3.0.1(Apr 21, 2022)

  • v3.0.0(Apr 6, 2022)

    :tada: New features

    This PR includes a complete refactor of the drawer component as well as better alignment of API patterns between the drawer, modal and popover components. This is done by adding the collection API to drawers. Drawers also now include the following change and features:

    • Better alignment of drawer component with the BEM methodology. Specifically in regards to required structure elements who's naming implies them being elements of the drawer block, they're now their own class definitions. These classes can now also be customized using the $class-frame and $class-main variables.
    • Breakpoint has been refactored and made into a core module. This module creates and tracks a media query list object and runs a passed handler anytime the match property changes.
    • FocusTrap has been refactored and has a more coherent API. This module creates and handles focus trap implementations.
    • You can now pass custom configurations to a specific drawer using the data-drawer-config data attribute. Takes a JSON object as its value.
    • Drawer local storage feature has been refactored and now uses the new localStore module which handles creating and updating a localStorage object using a proxy that is tracked as a global drawer property.
    • Refactored and now shared updateGlobalState module that handles setting overflow and inert states.
    • Styles for drawers have been updated to now slide in from the left by default. To switch positioning to the right of the viewport, apply the drawer_switch modifier. This replaced the use of drawer_pos_[key] modifiers. Non-positioned drawers are no longer supported.
    • Added support for multi-attribute triggers with space separated ID lists as the value. This allows for better management of multi-drawer apps/websites that open from the same side.
    • Better handling of initial state of drawers.
    • Better handling of focus management. Each drawer trigger is now tracked on a per-drawer basis.
    • Drawer mode is now handled using the collection entry API entry.mode property to more easily track and switch drawer modes between 'inline' and 'modal'.

    Global changes

    • Drawer, Modal and Popover components collection API has renamed the primary element property from entry.target to entry.el.
    • Drawer and Modal open, close, toggle and replace methods can now take the focus parameter to optionally disable focus management on those actions.
    • Components now use private class features instead of prefixing with __ for properties.

    :fire: Breaking changes

    Drawers now require an id instead of the data-drawer data attribute. The dialog data attribute data-drawer-dialog has also been deprecated and is no longer required. Drawers now slide in from the left by default and can be switched to the right using the drawer_switch modifier. Support for non-positioned drawers has been removed so all drawers must appear before the drawer-main sibling element in the markup.

    Class changes

    • drawer__wrapper => drawer-frame
    • drawer__main => drawer-main
    • drawer_pos_left => deprecated: Drawers are now positioned left by default.
    • drawer_pos_right => drawer_switch

    CSS variable changes

    • $wrapper-height: 100%; => $frame-height: 100vh;

    Option changes

    • dataDrawer => selectorDrawer: Takes a valid CSS selector string.
    • dataDialog => selectorDialog: Takes a valid CSS selector string.
    • dataFocus => selectorFocus: Takes a valid CSS selector string (defaults to[data-focus]).
    • stateSave => store
    • stateKey => storeKey: Default value has been changed from 'DrawerState' => 'VB:DrawerState'

    API changes

    • setTabindex() => deprecated. Tabindex is now managed on drawer registration.
    • stateSet() => deprecated
    • stateSave() => deprecated
    • stateClear() => deprecated
    • switchToDefault() => deprecated
    • switchToModal() => deprecated

    Refer to the migration guide for API alternatives and replacements to those deprecated.

    Events

    • drawer:toDefault and drawer:toModal events have been deprecated in favor of drawer:switchMode which is emitted whenever a drawer's mode changes. To check the mode state, use event.target and check for the drawer_modal class, or get the collection entry and check entry.mode property for current state.

    :clipboard: Migration guide

    Required ID, deprecated data attributes and class changes

    A major change in this drawers update is the requirement for the id attribute on all drawers. This replaces the need for the data-drawer attribute which previously stored the value of a unique id. The data-drawer-dialog that was previously required for the child dialog element is now redundant and can be removed without issue.

    Another important change to note is the use class changes of drawer__wrapper to drawer-frame and drawer__main to drawer-main. Functionally these behave the same as before. Here's an example to compare the differences:

    Before

    <div class="drawer__wrapper">
    
      <aside data-drawer="drawer-id" class="drawer">
        <div data-drawer-dialog class="drawer__dialog">
          ...
        </div>
      </aside>
    
      <div class="drawer__main">
        ...
      </div>
    
    </div>
    

    After

    <div class="drawer-frame">
    
      <aside id="drawer-id" class="drawer">
        <div class="drawer__dialog">
          ...
        </div>
      </aside>
    
      <div class="drawer-main">
        ...
      </div>
    </div>
    

    Another class change was the deprecation of drawer_pos_left and the rename of drawer_pos_right to drawer_switch. The functionality of drawer_pos_left is now the default drawer behavior and no longer needs the modifier and to position a drawer to the right use the drawer_switch modifier.

    Local state

    If you were using the stateSave and stateKey options, update these to their new name store and storeKey respectively. The following state methods have been deprecated in favor of the new store proxy for managing local storage state:

    • stateSet() => deprecated
    • stateSave() => deprecated
    • stateClear() => deprecated

    Instead of these methods, update the drawer.store object and as long as the store option is set to true the local storage object will be automatically updated.

    Mode switching

    The following mode switching methods have been deprecated in favor of the collection API mode property.

    • switchToDefault() => deprecated
    • switchToModal() => deprecated

    Instead of using switchToModal(), get the collection entry and update the mode property to either 'inline' or 'modal':

    Before

    // Switch drawer to modal.
    drawer.switchToModal('drawer-id');
    
    // Switch back to inline.
    drawer.switchToDefault('drawer-id');
    

    After

    // Get the drawer entry.
    const entry = drawer.get('drawer-id');
    
    // Switch to modal.
    entry.mode = 'modal';
    
    // Switch to inline.
    entry.mode = 'inline';
    
    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Mar 17, 2022)

    :tada: New features

    This release includes a complete refactor of the modal component as well as better alignment of API patterns between the modal and popover components. This is done by adding the collection module to core and using it in both modal and popover implementations. The modal also now includes some new features, including:

    • Modal stacking: multiple modals can now be open at the same time. Use data-modal-replace trigger or modal.replace() method for support of close to open functionality between modals.
    • Teleport: moveModal has been removed in favor of a teleport and teleportReturn API that are now attached to each collection entries modal object.
    • Better handling of accessibility attributes for modals (role and aria-modal).
    • Better handling of modal specific configurations.
    • Better handling of modal initial and document global states.

    :fire: Breaking changes

    Modals now require an id attribute instead of the data-modal data attribute. The dialog data attribute data-modal-dialog has also been deprecated and is no longer required.

    Option changes

    • moveModals.ref => teleport: Takes a valid CSS selector string.
    • moveModals.type => teleportMethod: Method options include 'after', 'before', 'append' and 'prepend'.
    • dataModal => selectorModal: Takes a valid CSS selector string.
    • dataDialog => selectorDialog: Takes a valid CSS selector string.
    • dataRequired => selectorRequired: Takes a valid CSS selector string.
    • dataFocus => selectorFocus: Takes a valid CSS selector string (defaults to[data-focus]).

    :clipboard: Migration guide

    Required ID and deprecated data attributes

    A major change in the modals update is the requirement for the id attribute on all modals. This replaces the need for the data-modal attribute which previously stored the value of a unique id. The data-modal-dialog that was previously required for the child dialog element is now redundant and can be removed without issue. Here's an example to compare the differences:

    Before

    <div data-modal="[unique-id]" class="modal">
      <div data-modal-dialog class="modal__dialog">
        ...
      </div>
    </div>
    

    After

    <div id="[unique-id]" class="modal">
      <div class="modal__dialog" role="dialog" aria-modal="true">
        ...
      </div>
    </div>
    

    The role="dialog" and aria-modal="true" attributes are added via the modal modules register() method automatically if they aren't already present in your markup. It's recommended to add these attributes manually in your modal markup as they are required for accessible modal dialogs.

    Modal stacking and triggers

    Another notable change is the ability for modals to stack. This will change existing behavior of nested modals (triggering a modal from within other modals). Previously this would cause the modal to close before opening the new modal. To keep this functionality, nested modals should use the data-modal-replace trigger instead of data-modal-open.

    All existing close methods—clicking background, escape key, close triggers—will close one modal per action if modals are stacked. To close all modals at once, use the modal.closeAll() method or set the value of a close trigger data attribute to *, example:

    <button data-modal-close="*">...</button>
    

    Modal teleporting

    Modal teleporting has been re-written and now supports returning a modal to it's previous location. With this update, the following API for enabling modal teleporting (previously named moveModals) has been updated to the following:

    Before

    const modal = new Modal({
      moveModals: {
        type: 'after',
        ref: '.location-selector'
      }
    });
    
    

    After

    const modal = new Modal({
      teleport: '.location-selector',
      teleportMethod: 'after'
    });
    
    Source code(tar.gz)
    Source code(zip)
  • v1.42.1(Mar 9, 2022)

  • v1.42.0(Feb 26, 2022)

  • v1.41.0(Feb 25, 2022)

    :tada: New Feature

    • popover
      • #838 Further refactor Popover JS module and improve a11y

    :hammer: Chore

    • #849 Add lint, test and coveralls to deploy workflow
    • #845 Refactor gh-actions and add new deploy flow
    Source code(tar.gz)
    Source code(zip)
  • v1.40.3(Feb 25, 2022)

  • v1.40.2(Feb 21, 2022)

  • v1.40.1(Feb 18, 2022)

  • v1.40.0(Feb 18, 2022)

  • v1.39.0(Feb 16, 2022)

    :tada: New Feature

    • core, drawer, popover
      • #815 Use custom properties for sharing values between CSS and JavaScript

    :hammer: Chore

    • #824 Bump node js to the most current version
    • #822 Update github workflows build node versions to match tool-version
    Source code(tar.gz)
    Source code(zip)
  • v1.38.0(Feb 5, 2022)

  • v1.37.0(Nov 29, 2021)

  • v1.36.1(Sep 25, 2021)

  • v1.36.0(Jul 29, 2021)

  • v1.35.2(Jul 29, 2021)

  • v1.35.1(Jul 27, 2021)

  • v1.35.0(Jul 27, 2021)

  • v1.34.2(Jul 19, 2021)

  • v1.34.1(Jul 15, 2021)

  • v1.34.0(Jul 15, 2021)

    :tada: New Feature

    • button, checkbox, core, icon-action, input, radio, switch
      • #665 Improve focus states and internal variant generation logic on form-control components

    :house: Refactor

    • popover
      • #666 Update popover arrow size default and fix missing docs argument
    Source code(tar.gz)
    Source code(zip)
Owner
Sebastian Nitu
UI Designer and Front-end Developer.
Sebastian Nitu
This simple project, show how work with async Fetch, function component and class component

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

DaliyaAsel 2 Feb 17, 2022
dynamic-component-app is an angular application for dynamic component template creation

MyApp This project was generated with Angular CLI version 14.1.0. Development server Run ng serve for a dev server. Navigate to http://localhost:4200/

Aniket Muruskar 7 Aug 26, 2022
Omnichannel Live Chat Widget UI Components offers a re-usable component-based library to help create a custom chat widget that can be connected to the Dynamics 365 Customer Service experience.

Omnichannel Live Chat Widget UI Components @microsoft/omnichannel-chat-widget is a React-based UI component library which allows you to build your own

Microsoft 14 Dec 15, 2022
A ✨light✨ and magical Svelte component for CSS media queries🐹

Svelte CSS media queries ?? Demo - Svelte REPL Lightweight, comfortable, like Svelte ?? how to install npm i svelte-media-queries What can I do? quer

Nikita Fedorov 9 Dec 26, 2022
A lightweight SolidJS component for building interactive node-based diagrams and graphs.

Convert Your Ideas To Graphs With Solid Graph! Solid Graph A lightweight and minimal Solid component for building interactive graphs and node-based ed

Ali Sal 26 Dec 8, 2022
Semantic is a UI component framework based around useful principles from natural language.

Semantic UI Semantic is a UI framework designed for theming. Key Features 50+ UI elements 3000 + CSS variables 3 Levels of variable inheritance (simil

Semantic Org 50.3k Jan 7, 2023
A lightweight SolidJS component for building interactive node-based diagrams and graphs.

Convert Your Ideas To A Simple And Excitig Journay With Odysea! Odysea A lightweight and minimal Solid component for building interactive graphs and n

Ali Sal 21 Aug 15, 2022
A simple lightweight file dropzone component based on jQuery. You can easily make any existing element become a dropzone that holds files.

file-dropzone A simple lightweight file dropzone component based on jQuery. You can easily make any existing element become a dropzone that holds file

Anton Bardov 1 May 31, 2021
A JavaScript component that is a date & time range picker, no need to build, no dependencies except Moment.js, that is based on Dan Grossman's bootstrap-daterangepicker.

vanilla-datetimerange-picker Overview. A JavaScript component that is a date & time range picker, no need to build, no dependencies except Moment.js,

null 22 Dec 6, 2022
A Masked Input Component based on Ant Design.

antd-input-mask A Masked Input Component based on Ant Design. Usage Example Contributing How to run PR template Issue template Developed by bem-te-vi

bem.te.vi 6 Oct 24, 2022
Context-Full Web Component Library

CWCO Contextfull Web Component Library created to improve native Web Component APIs user experience with: ✅ No Build Required! ✅ Works with other libr

Before Semicolon 51 Jan 2, 2023
FortuneSheet is an online spreedsheet component library that provides out-of-the-box features just like Excel

FortuneSheet FortuneSheet is an online spreedsheet component library that provides out-of-the-box features just like Excel English | 简体中文 Purpose The

Suzhou Ruilisi Technology Co., Ltd 1.6k Jan 3, 2023
Futurice web component library.

Ice Core Ice Core provides the core Ice web component library. Each web component comes with its own functional styling which can be customised as nee

Futurice 2 Mar 31, 2022
Solid component and library for LiveKit (unofficial)

This package provides Solid components that makes it easier to use LiveKit in a Solid app. Inspired completely by https://github.com/livekit/livekit-r

Prince Neil Cedrick Castro 6 Mar 8, 2022
hCaptcha Component Library for Solid.

Solid hCaptcha Component Library This is a port of @hcaptcha/react-hcaptcha for Solid. Description hCaptcha is a drop-replacement for reCAPTCHA that p

Mikkel RINGAUD 5 Dec 4, 2022
🗂 Universal Media Library as a web component.

Kondonizer Kondonizer is a custom element (a native HTML tag) that can be integrated in any frontend code. It displays a media library based on a Medi

EcoHead 6 Jul 19, 2022
Tool Cool Color Picker is a color picker library written in typescript and using web component technologies.

Tool Cool Color Picker Tool Cool Color Picker is a color picker library written in typescript and using web component technologies. Check out the demo

Tool Cool 13 Oct 23, 2022
MUI Core is a collection of React UI libraries for shipping new features faster. Start with Material UI, our fully-loaded component library, or bring your own design system to our production-ready components.

MUI Core MUI Core contains foundational React UI component libraries for shipping new features faster. Material UI is a comprehensive library of compo

MUI 83.6k Dec 30, 2022
🚀 A Tailwindcss component library.

?? Supabase Launch Week 5 Hackathon: ✅ Supabase Auth - User authentication. ✅ Supabase Database - save the information of each user-created component.

Pablo Hdez 124 Dec 16, 2022