Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@search-api-decoupled/ui

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@search-api-decoupled/ui

UI elements for the drupal search-api-decoupled ecosystem

  • 2.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
407
increased by37.97%
Maintainers
3
Weekly downloads
 
Created
Source

Search API decoupled / ui

This is a UI component library for the Search API decoupled client.

It's built with CSS and Typescript.

The components expect to find a specific id attribute on divs, then they will use those divs as entrypoints, getting the rest of attributes as data and rendering the component. Those components are expected to throw events in order to interact with the client.

The client @search-api-decoupled/client will provide the data and the entrypoints, it will follow specific interfaces for each type of element and widget. All the components should follow those interfaces in order to work with the client.

These components will be consumed as libraries in the search api decoupled ui drupal module in order to provide ui elements to the client.

Local Setup

  1. Cloning the monorepo:
    • git clone git@git.drupal.org:project/search_api_decoupled_client_ui.git
  2. Install app dependencies:
    • nvm use && npm i
  3. Development:
    • use npm run dev to run the dev env with the elements introduced in a simple html file
    • you can adapt the index.html in order to add or remove attributes to the mocked elements
    • it's recommended to actually test changes on this package using the client dev env
      • check the client repository
      • clone it next to this repository
      • on package.json change the dependency to use the local version of this package using file:../search_api_decoupled_client_ui

FAQs

Package last updated on 23 Apr 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc