@startinblox/solid-dsd
v1.1.0
Published
DSD component
Keywords
Readme
DSD Components
Table of Contents
Introduction
This library provides a set of Lit components for building user interfaces in DSD (Dataspace Democracy) ecosystem. It includes a variety of UI components, form elements, and layout components, all designed to be reusable and customizable.
Components
UI Components
dsd-active-tagsdsd-avatardsd-badgedsd-breadcrumbdsd-breadcrumb-dividerdsd-breadcrumb-itemdsd-buttondsd-card-catalogdsd-card-servicedsd-checkboxdsd-datepickerdsd-datepicker-itemdsd-defined-fielddsd-divisiondsd-dropdowndsd-dropdown-itemdsd-filter-itemdsd-filter-sidebardsd-headerdsd-inputdsd-input-fielddsd-input-posttabdsd-input-pretabdsd-labeldsd-profile-carddsd-search-bardsd-sidebardsd-sidebar-itemdsd-sidebar-sectiondsd-sliderdsd-tab-itemdsd-tagdsd-tag-actiondsd-textareadsd-toggledsd-vertical-accordion
Orbit Components
dsd-catalog-filter-holderdsd-annuaire-data-holderdsd-annuaire-listdsd-annuaire-detaildsd-consultation-data-holderdsd-consultation-listdsd-consultation-detaildsd-viewportcache-improver
Installation
npm installDevelopment
npm run watchStorybook
npm run storybookBuild
npm run buildLocalization
This project uses @lit/localize for internationalization.
Extracting strings
To extract strings for translation, run:
npm run locale:extractThis command will generate XLIFF files in the locales directory.
Changing locale
To change the locale, run:
window.setLocale("your-lang-code");Getting current locale
To get the current locale, run:
window.getLocale();