You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@beeq/core

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beeq/core

BEEQ, a Design System components ruled by Endavan developers :)


Version published
Weekly downloads
321
increased by53.59%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

1.6.0 (2024-07-24)

Features ⚡️

  • Drawer: deprecate placement and add position property (#1110) (33b2214)
  • Icon: add --bq-icon--direction and flip SVG automatically for dir="rtl" (#1156) (d7dd1b1)
  • Page Title: add new bq-page-title component (#1085) (cd9d767)
  • Select: add support for custom tag display on multiple variant (#1093) (989fc45)

Bug Fixes 🐞

  • Date Picker: clear incomplete range selection (#1074) (2b2b329)
  • Divider: default values to be in sync with Figma design (#1160) (380963d)
  • Drawer: open/close animation to be in sync with the content direction (#1155) (83c374c)

Documentation 📚

  • Storybook: add Direction toolbar action for content RTL/LTR (#1153) (5db214c)

Chore ⚙️

Performance ⌛️

  • Divider: improve code readability and performance (#1159) (5ab2149)

Refactor 🛠️

  • Accordion: use CSS logical properties instead of physical values (#1130) (ebc2ad6)
  • Alert: use CSS logical properties instead of physical values (#1094) (7839159)
  • Avatar: use CSS logical properties instead of physical values (#1099) (318f759)
  • Badge: use CSS logical properties instead of physical values (#1100) (796639a)
  • Breadcrumb: use CSS logical properties instead of physical values (#1101) (e4b1638)
  • Button: use CSS logical properties instead of physical values (#1102) (c0e2eb8)
  • Card: use CSS logical properties instead of physical values (#1103) (84a311a)
  • Checkbox: use CSS logical properties instead of physical values (#1105) (8f6cb3f)
  • Date Picker: use CSS logical properties instead of physical values (#1106) (0c032a0)
  • Dialog: use CSS logical properties instead of physical values (#1146) (afc1653)
  • Drawer: use CSS logical properties instead of physical values (#1090) (e37aeb1)
  • Dropdown: use CSS logical properties instead of physical values (#1132) (6143884)
  • Empty State: use CSS logical properties instead of physical values (#1112) (9494ecb)
  • Icon: use CSS logical properties instead of physical values (#1133) (c9630c7)
  • Input: use CSS logical properties instead of physical values (#1118) (71d61bb)
  • Notification: use CSS logical properties instead of physical values (#1111) (38e9117)
  • Option: use CSS logical properties instead of physical values (#1128) (9f1f8e2)
  • Page Title: use CSS logical properties instead of physical values (#1137) (8069d47)
  • Progress: use CSS logical properties instead of physical values (#1122) (7595618)
  • Radio Group: use CSS logical properties instead of physical values (#1126) (ae3d4d2)
  • Side menu: use CSS logical properties instead of physical values (#1157) (398d92f)
  • Slider: use CSS logical properties instead of physical values (#1135) (024c629)
  • Spinner: use CSS logical properties instead of physical values (#1117) (1e8878f)
  • Status: use CSS logical properties instead of physical values (#1116) (dba3858)
  • Steps: use CSS logical properties instead of physical values (#1158) (a7852b1)
  • Switch: use CSS logical properties instead of physical values (#1145) (222c8f5)
  • Tag: use CSS logical properties instead of physical values (#1113) (508b442)
  • Textarea: use CSS logical properties instead of physical values (#1121) (8635efd)
  • Toast: use CSS logical properties instead of physical values (#1114) (b303d2e)
  • Tooltip: use CSS logical properties instead of physical values (#1115) (6531596)

Readme

Source

BEEQ, a web component library initiative

The elements and components provided by BEEQ are being implemented with Stencil, a compiler that generates Web Components (more specifically, Custom Elements), combining the best concepts of the most popular frameworks into a simple build-time tool. You can read more about Stencil on their official website.

Installation

BEEQ elements, components, patterns, utilities, etc., are available as an npm package.

For stable releases

$ npm i @beeq/core

Usage

BEEQ components are regular HTML elements, or custom elements (often referred to as "web components"). If you're using a simple HTML page, you can use them like any other element.

<html>
  <head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@beeq/core/dist/beeq/beeq.css" />
    <script type="module" src="https://cdn.jsdelivr.net/npm/@beeq/core/dist/beeq/beeq.esm.js"></script>
  </head>
  <body>
    <bq-button>Click me!</bq-button>
  </body>
</html>

❗️The icons SVG are shipped in a separate folder. Projects will need to include node_modules/@beeq/core/dist/beeq/svg in their build and try to make it in a certain way that it respond to: http://<domain>/svg

Events

You can listen for standard events such as click, mouseover, etc. as you normally would. Most of the BEEQ components emit custom events, we highly recommend the use of those instead. They work the same way as standard events but are prefixed with bq to prevent collisions with standard events and other libraries.

<bq-checkbox>Checkbox label</bq-checkbox>

<script>
  const checkbox = document.querySelector('bq-checkbox');
  button.addEventListener('bqChange', (event) => {
    console.log('Is checked?', event.detail.checked);
  });
</script>

FAQs

Package last updated on 24 Jul 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc