elements

Web component library for developing Visual Studio Code extensions

MIT License

Stars
131
Committers
6

Bot releases are visible (Hide)

elements - v0.10.0

Published by bendera over 1 year ago

Added

  • Label Added required attribute

Changed

  • SingleSelect, MultiSelect Minor CSS changes to better mimic VSCode styles
elements - v0.9.0

Published by bendera over 1 year ago

Changed

  • Adapted latest VSCode design changes on the ContextMenu and the InputBox.
elements - v0.8.1

Published by bendera almost 2 years ago

Fixed

  • Text inputs could not be edited in tab panels.
elements - v0.8.0

Published by bendera almost 2 years ago

The project is still alive!!

Although not all the components are finished yet, much effort has been made to accessibility. The following components are fully accessible and can be controlled by a keyboard: Button, Tabs, Textinput, Textarea, Radio, Checkbox, Icon (in the action-icon mode).

Breaking changes

  • Attribute names have been standardized. From now every attribute name uses the kebab-case format.
  • selectedIndex attribute was renamed to selected-index in the Tabs component.
  • iconAfter attribute was renamed to icon-after in the Button component.
  • selectedIndexes attribute is removed from the MultiSelect component. It still accessible as a property.
  • scrollPos attribute was renamed to scroll-pos in the Scrollable component.
  • scrollMax attribute was renamed to scroll-max in the Scrollable component.
  • selectedIndex attribute was renamed to selected-index in the SingleSelect component.
  • resetOnDblClick attribute was renamed to reset-on-dbl-click in the SplitLayout component.
  • columnLabel attribute was renamed to column-label in the TableCell component.
  • The Tabs component markup has been changed. See the documentation page for examples.

Deprecated

  • Inputbox has been deprecated. Use the Textarea or Textfield instead.

Added

  • Added Textfield and Textarea components.

Changed

  • Lit upgraded to 2.4.x.
  • Added keyboard navigation to ContextMenu.
  • Adapted the latest VSCode button styles (rounded corner).
  • Added aria-checked attribute to the radio buttons.
  • Icon component accessibility improvements.
  • Tabs component is fully accessible.
  • Radio and Checkbox are accessible.
  • TabHeader and TabPanel were added to interoperate with Tabs.
  • addons slot has been added to the Tabs toolbar.
  • content-before and content-after slots have been added to the tab headers.
  • Label automatically sets the label for radios, checkboxes, and text inputs.

Fixed

  • Fixed the active state bug in the ContextMenu
  • Fixed the Select height
elements - v0.7.1

Published by bendera almost 2 years ago

Fix #32

elements - v0.7.0

Published by bendera over 2 years ago

elements - v0.6.3

Published by bendera about 3 years ago

Fixed

  • The label didn't connect to the input widget in the shadow DOM.

Added

  • Added @attr jsdoc tag to the "name" attribute to prevent the "unknown attribute" warnings in the supported IDEs.
elements - v0.6.2

Published by bendera about 3 years ago

Fixed

  • Tree: focused list item outline offset
elements - v0.6.1

Published by bendera about 3 years ago

Fix: Updated icon colors as in VSCode

elements - v0.6.0

Published by bendera about 3 years ago

  • Icon:
    • added proper theme variables
    • added action icon pressed style
    • added focus border style
  • Collapsible:
    • keyboard support
    • icon visibility mimics the VSCode behavior: it is visible when the panel is open
  • Table: added responsive mode
  • SplitLayout: added hover color
elements - v0.5.2

Published by bendera about 3 years ago

Fixed

Inputbox: Type definition fine-tuning

elements - v0.5.1

Published by bendera about 3 years ago

  • Flexible table columns
  • Small documentation changes in the Inputbox which provides better code completion
elements - v0.5.0

Published by bendera over 3 years ago

Added

  • Added Table component
  • Added action-icon mode to the Icon

Changed

  • Floating scrollbar in the Scrollable component
elements - v0.4.0

Published by bendera over 3 years ago

Added

  • Added new components: FormContainer, FormGroup, FromHelper, Label, Radio, RadioGrop, CheckboxGroup.

Fixed

  • Theme variable names are readjusted in the Tree, SingleSelect and MultiSelect components.
  • Button outline styles has been restored.

Deprecated

  • The following components will be removed: FormControl, FormDescription, FormItem, FormLabel. Use the new form components instead.
elements - v0.3.1

Published by bendera over 3 years ago

Fix #16