@beeq/react 1.8.0-beta.1 → 1.8.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +66 -25
  2. package/package.json +3 -2
  3. package/src/components.d.ts +291 -43
  4. package/src/components.js +486 -88
  5. package/src/components.js.map +1 -1
  6. package/ssr/components.d.ts +5 -0
  7. package/ssr/components.js +8 -0
  8. package/ssr/components.js.map +1 -0
  9. package/ssr/components.server.d.ts +294 -0
  10. package/ssr/components.server.js +1073 -0
  11. package/ssr/components.server.js.map +1 -0
  12. package/ssr/index.d.ts +1 -0
  13. package/ssr/index.js +4 -0
  14. package/ssr/index.js.map +1 -0
  15. package/src/react-component-lib/createComponent.d.ts +0 -10
  16. package/src/react-component-lib/createComponent.js +0 -68
  17. package/src/react-component-lib/createComponent.js.map +0 -1
  18. package/src/react-component-lib/createOverlayComponent.d.ts +0 -21
  19. package/src/react-component-lib/createOverlayComponent.js +0 -96
  20. package/src/react-component-lib/createOverlayComponent.js.map +0 -1
  21. package/src/react-component-lib/index.d.ts +0 -2
  22. package/src/react-component-lib/index.js +0 -3
  23. package/src/react-component-lib/index.js.map +0 -1
  24. package/src/react-component-lib/interfaces.d.ts +0 -29
  25. package/src/react-component-lib/interfaces.js +0 -2
  26. package/src/react-component-lib/interfaces.js.map +0 -1
  27. package/src/react-component-lib/utils/attachProps.d.ts +0 -16
  28. package/src/react-component-lib/utils/attachProps.js +0 -108
  29. package/src/react-component-lib/utils/attachProps.js.map +0 -1
  30. package/src/react-component-lib/utils/case.d.ts +0 -2
  31. package/src/react-component-lib/utils/case.js +0 -7
  32. package/src/react-component-lib/utils/case.js.map +0 -1
  33. package/src/react-component-lib/utils/dev.d.ts +0 -2
  34. package/src/react-component-lib/utils/dev.js +0 -13
  35. package/src/react-component-lib/utils/dev.js.map +0 -1
  36. package/src/react-component-lib/utils/index.d.ts +0 -10
  37. package/src/react-component-lib/utils/index.js +0 -32
  38. package/src/react-component-lib/utils/index.js.map +0 -1
package/README.md CHANGED
@@ -2,35 +2,90 @@
2
2
 
3
3
  A lightweight utility that wraps BEEQ custom elements ("web components") so they can be used like native React components.
4
4
 
5
+ ## Why is this necessary?
6
+
7
+ React and custom elements don't play nicely together. The problem is best described by [Custom Elements Everywhere](https://custom-elements-everywhere.com/#react):
8
+
9
+ > **Handling data**
10
+ >
11
+ > React passes all data to Custom Elements in the form of HTML attributes. For primitive data this is fine, but the system breaks down when passing rich data, like objects or arrays. In these instances you end up with stringified values like some-attr="[object Object]" which can't actually be used.
12
+ >
13
+ > **Handling events**
14
+ >
15
+ > Because React implements its own synthetic event system, it cannot listen for DOM events coming from Custom Elements without the use of a workaround. Developers will need to reference their Custom Elements using a ref and manually attach event listeners with addEventListener. This makes working with Custom Elements cumbersome.
16
+
17
+ This utility solves these problems by exposing a native React component that maps properties and events to the underlying custom element. ✨
18
+
5
19
  ## Package installation
6
20
 
21
+ > [!TIP]
22
+ > Please always refer to the [official BEEQ documentation](https://www.beeq.design/3d466e231/p/359a26-for-developers/b/28e01f) for more information about the installation.
23
+
7
24
  - install the package
8
25
 
9
26
  ```
10
- npm install @beeq/react
27
+ npm install @beeq/{core,react}
11
28
  ```
12
29
 
13
- - update the package
30
+ > [!NOTE]
31
+ > Make sure that you have installed the `@beeq/core` package.
32
+
33
+ ### Add BEEQ styles and assets
14
34
 
35
+ Import BEEQ styles into your application's main style file:
36
+
37
+ ```css
38
+ @import "@beeq/core/dist/beeq/beeq.css";
15
39
  ```
16
- npm install @beeq/react@latest
40
+
41
+ > [!TIP]
42
+ > BEEQ uses SVG icons and these assets are shipped in a separate folder. You can use the `setBasePath` method to set the path to the icons. Make sure that your project bundle the icons in a way that they are accessible from the browser.
43
+
44
+ You can move the icons from the node_modules folder to your assets folder and set the path like this:
45
+
46
+ ```js
47
+ // vite.config.js
48
+ import { defineConfig } from 'vite';
49
+ import { viteStaticCopy } from 'vite-plugin-static-copy';
50
+ import react from '@vitejs/plugin-react';
51
+
52
+ export default defineConfig({
53
+ plugins: [
54
+ react(),
55
+ viteStaticCopy({
56
+ targets: [
57
+ {
58
+ src: './node_modules/@beeq/core/dist/beeq/svg/*',
59
+ dest: 'icons/svg',
60
+ },
61
+ // add more targets if needed
62
+ ],
63
+ }),
64
+ ],
65
+ // other configurations
66
+ });
17
67
  ```
18
68
 
19
- if `@beeq/core` package is installed you should update both
69
+ ```js
70
+ // main.ts
71
+ import { setBasePath } from "@beeq/core/dist/components";
20
72
 
21
- ```
22
- npm install @beeq/{core,react}
73
+ setBasePath('icons/svg');
23
74
  ```
24
75
 
25
- ### Add BEEQ styles and assets
76
+ > Please, notice the path 👆
26
77
 
27
- Make sure that BEEQ main style is imported into your application's main style file:
78
+ But you can also use a different icons library or a CDN:
28
79
 
29
- ```css
30
- @import "@beeq/core/dist/beeq/beeq";
80
+ ```js
81
+ import { setBasePath } from "@beeq/core/dist/components";
82
+
83
+ // Using heroicons library
84
+ setBasePath('https://cdn.jsdelivr.net/npm/heroicons@2.1.5/24/outline');
31
85
  ```
32
86
 
33
- > ❗️The icons SVG are shipped in a separate folder. Depending on your React stack, your project will need to include `node_modules/@beeq/core/dist/beeq/svg` in the build in such a way that it respond to: `http://<domain>/svg`
87
+ > [!CAUTION]
88
+ > When using a different icons library, make sure you use the correct icon names provided by the library or the CDN.
34
89
 
35
90
  ## Usage
36
91
 
@@ -52,17 +107,3 @@ function App() {
52
107
 
53
108
  export default App;
54
109
  ```
55
-
56
- ## Why is this necessary?
57
-
58
- React and custom elements don't play nicely together. The problem is best described by [Custom Elements Everywhere](https://custom-elements-everywhere.com/#react):
59
-
60
- > **Handling data**
61
- >
62
- > React passes all data to Custom Elements in the form of HTML attributes. For primitive data this is fine, but the system breaks down when passing rich data, like objects or arrays. In these instances you end up with stringified values like some-attr="[object Object]" which can't actually be used.
63
- >
64
- > **Handling events**
65
- >
66
- > Because React implements its own synthetic event system, it cannot listen for DOM events coming from Custom Elements without the use of a workaround. Developers will need to reference their Custom Elements using a ref and manually attach event listeners with addEventListener. This makes working with Custom Elements cumbersome.
67
-
68
- This utility solves these problems by exposing a native React component that maps properties and events to the underlying custom element. ✨
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@beeq/react",
3
- "version": "1.8.0-beta.1",
3
+ "version": "1.8.0-beta.11",
4
4
  "license": "Apache-2.0",
5
5
  "description": "React specific wrapper for BEEQ Design System components",
6
6
  "main": "./src/index.js",
7
7
  "module": "./src/index.js",
8
8
  "types": "./src/index.d.ts",
9
9
  "dependencies": {
10
- "@beeq/core": "^1.8.0-beta.1"
10
+ "@beeq/core": "^1.8.0-beta.11",
11
+ "@stencil/react-output-target": "^0.7.1"
11
12
  },
12
13
  "peerDependencies": {
13
14
  "react": ">=18.0.0",
@@ -1,43 +1,291 @@
1
- import type { JSX } from '@beeq/core/dist/components';
2
- export declare const BqAccordion: import("react").ForwardRefExoticComponent<JSX.BqAccordion & Omit<import("react").HTMLAttributes<HTMLBqAccordionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqAccordionElement>>;
3
- export declare const BqAccordionGroup: import("react").ForwardRefExoticComponent<JSX.BqAccordionGroup & Omit<import("react").HTMLAttributes<HTMLBqAccordionGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqAccordionGroupElement>>;
4
- export declare const BqAlert: import("react").ForwardRefExoticComponent<JSX.BqAlert & Omit<import("react").HTMLAttributes<HTMLBqAlertElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqAlertElement>>;
5
- export declare const BqAvatar: import("react").ForwardRefExoticComponent<JSX.BqAvatar & Omit<import("react").HTMLAttributes<HTMLBqAvatarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqAvatarElement>>;
6
- export declare const BqBadge: import("react").ForwardRefExoticComponent<JSX.BqBadge & Omit<import("react").HTMLAttributes<HTMLBqBadgeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqBadgeElement>>;
7
- export declare const BqBreadcrumb: import("react").ForwardRefExoticComponent<JSX.BqBreadcrumb & Omit<import("react").HTMLAttributes<HTMLBqBreadcrumbElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqBreadcrumbElement>>;
8
- export declare const BqBreadcrumbItem: import("react").ForwardRefExoticComponent<JSX.BqBreadcrumbItem & Omit<import("react").HTMLAttributes<HTMLBqBreadcrumbItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqBreadcrumbItemElement>>;
9
- export declare const BqButton: import("react").ForwardRefExoticComponent<JSX.BqButton & Omit<import("react").HTMLAttributes<HTMLBqButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqButtonElement>>;
10
- export declare const BqCard: import("react").ForwardRefExoticComponent<JSX.BqCard & Omit<import("react").HTMLAttributes<HTMLBqCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqCardElement>>;
11
- export declare const BqCheckbox: import("react").ForwardRefExoticComponent<JSX.BqCheckbox & Omit<import("react").HTMLAttributes<HTMLBqCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqCheckboxElement>>;
12
- export declare const BqDatePicker: import("react").ForwardRefExoticComponent<JSX.BqDatePicker & Omit<import("react").HTMLAttributes<HTMLBqDatePickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqDatePickerElement>>;
13
- export declare const BqDialog: import("react").ForwardRefExoticComponent<JSX.BqDialog & Omit<import("react").HTMLAttributes<HTMLBqDialogElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqDialogElement>>;
14
- export declare const BqDivider: import("react").ForwardRefExoticComponent<JSX.BqDivider & Omit<import("react").HTMLAttributes<HTMLBqDividerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqDividerElement>>;
15
- export declare const BqDrawer: import("react").ForwardRefExoticComponent<JSX.BqDrawer & Omit<import("react").HTMLAttributes<HTMLBqDrawerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqDrawerElement>>;
16
- export declare const BqDropdown: import("react").ForwardRefExoticComponent<JSX.BqDropdown & Omit<import("react").HTMLAttributes<HTMLBqDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqDropdownElement>>;
17
- export declare const BqEmptyState: import("react").ForwardRefExoticComponent<JSX.BqEmptyState & Omit<import("react").HTMLAttributes<HTMLBqEmptyStateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqEmptyStateElement>>;
18
- export declare const BqIcon: import("react").ForwardRefExoticComponent<JSX.BqIcon & Omit<import("react").HTMLAttributes<HTMLBqIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqIconElement>>;
19
- export declare const BqInput: import("react").ForwardRefExoticComponent<JSX.BqInput & Omit<import("react").HTMLAttributes<HTMLBqInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqInputElement>>;
20
- export declare const BqNotification: import("react").ForwardRefExoticComponent<JSX.BqNotification & Omit<import("react").HTMLAttributes<HTMLBqNotificationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqNotificationElement>>;
21
- export declare const BqOption: import("react").ForwardRefExoticComponent<JSX.BqOption & Omit<import("react").HTMLAttributes<HTMLBqOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqOptionElement>>;
22
- export declare const BqOptionGroup: import("react").ForwardRefExoticComponent<JSX.BqOptionGroup & Omit<import("react").HTMLAttributes<HTMLBqOptionGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqOptionGroupElement>>;
23
- export declare const BqOptionList: import("react").ForwardRefExoticComponent<JSX.BqOptionList & Omit<import("react").HTMLAttributes<HTMLBqOptionListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqOptionListElement>>;
24
- export declare const BqPageTitle: import("react").ForwardRefExoticComponent<JSX.BqPageTitle & Omit<import("react").HTMLAttributes<HTMLBqPageTitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqPageTitleElement>>;
25
- export declare const BqPanel: import("react").ForwardRefExoticComponent<JSX.BqPanel & Omit<import("react").HTMLAttributes<HTMLBqPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqPanelElement>>;
26
- export declare const BqProgress: import("react").ForwardRefExoticComponent<JSX.BqProgress & Omit<import("react").HTMLAttributes<HTMLBqProgressElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqProgressElement>>;
27
- export declare const BqRadio: import("react").ForwardRefExoticComponent<JSX.BqRadio & Omit<import("react").HTMLAttributes<HTMLBqRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqRadioElement>>;
28
- export declare const BqRadioGroup: import("react").ForwardRefExoticComponent<JSX.BqRadioGroup & Omit<import("react").HTMLAttributes<HTMLBqRadioGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqRadioGroupElement>>;
29
- export declare const BqSelect: import("react").ForwardRefExoticComponent<JSX.BqSelect & Omit<import("react").HTMLAttributes<HTMLBqSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqSelectElement>>;
30
- export declare const BqSideMenu: import("react").ForwardRefExoticComponent<JSX.BqSideMenu & Omit<import("react").HTMLAttributes<HTMLBqSideMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqSideMenuElement>>;
31
- export declare const BqSideMenuItem: import("react").ForwardRefExoticComponent<JSX.BqSideMenuItem & Omit<import("react").HTMLAttributes<HTMLBqSideMenuItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqSideMenuItemElement>>;
32
- export declare const BqSlider: import("react").ForwardRefExoticComponent<JSX.BqSlider & Omit<import("react").HTMLAttributes<HTMLBqSliderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqSliderElement>>;
33
- export declare const BqSpinner: import("react").ForwardRefExoticComponent<JSX.BqSpinner & Omit<import("react").HTMLAttributes<HTMLBqSpinnerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqSpinnerElement>>;
34
- export declare const BqStatus: import("react").ForwardRefExoticComponent<JSX.BqStatus & Omit<import("react").HTMLAttributes<HTMLBqStatusElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqStatusElement>>;
35
- export declare const BqStepItem: import("react").ForwardRefExoticComponent<JSX.BqStepItem & Omit<import("react").HTMLAttributes<HTMLBqStepItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqStepItemElement>>;
36
- export declare const BqSteps: import("react").ForwardRefExoticComponent<JSX.BqSteps & Omit<import("react").HTMLAttributes<HTMLBqStepsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqStepsElement>>;
37
- export declare const BqSwitch: import("react").ForwardRefExoticComponent<JSX.BqSwitch & Omit<import("react").HTMLAttributes<HTMLBqSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqSwitchElement>>;
38
- export declare const BqTab: import("react").ForwardRefExoticComponent<JSX.BqTab & Omit<import("react").HTMLAttributes<HTMLBqTabElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqTabElement>>;
39
- export declare const BqTabGroup: import("react").ForwardRefExoticComponent<JSX.BqTabGroup & Omit<import("react").HTMLAttributes<HTMLBqTabGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqTabGroupElement>>;
40
- export declare const BqTag: import("react").ForwardRefExoticComponent<JSX.BqTag & Omit<import("react").HTMLAttributes<HTMLBqTagElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqTagElement>>;
41
- export declare const BqTextarea: import("react").ForwardRefExoticComponent<JSX.BqTextarea & Omit<import("react").HTMLAttributes<HTMLBqTextareaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqTextareaElement>>;
42
- export declare const BqToast: import("react").ForwardRefExoticComponent<JSX.BqToast & Omit<import("react").HTMLAttributes<HTMLBqToastElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqToastElement>>;
43
- export declare const BqTooltip: import("react").ForwardRefExoticComponent<JSX.BqTooltip & Omit<import("react").HTMLAttributes<HTMLBqTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLBqTooltipElement>>;
1
+ /**
2
+ * This file was automatically generated by the Stencil React Output Target.
3
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
+ */
5
+ import { type BqAccordionCustomEvent, type BqBreadcrumbCustomEvent, type BqBreadcrumbItemCustomEvent, type BqButtonCustomEvent, type BqCheckboxCustomEvent, type BqDatePickerCustomEvent, type BqInputCustomEvent, type BqOptionCustomEvent, type BqOptionListCustomEvent, type BqRadioCustomEvent, type BqRadioGroupCustomEvent, type BqSelectCustomEvent, type BqSideMenuCustomEvent, type BqSideMenuItemCustomEvent, type BqSliderCustomEvent, type BqStepItemCustomEvent, type BqSwitchCustomEvent, type BqTabCustomEvent, type BqTabGroupCustomEvent, type BqTagCustomEvent, type BqTextareaCustomEvent, type BqToastCustomEvent, type TSliderValue } from "@beeq/core";
6
+ import { BqAccordionGroup as BqAccordionGroupElement } from "@beeq/core/dist/components/bq-accordion-group.js";
7
+ import { BqAccordion as BqAccordionElement } from "@beeq/core/dist/components/bq-accordion.js";
8
+ import { BqAlert as BqAlertElement } from "@beeq/core/dist/components/bq-alert.js";
9
+ import { BqAvatar as BqAvatarElement } from "@beeq/core/dist/components/bq-avatar.js";
10
+ import { BqBadge as BqBadgeElement } from "@beeq/core/dist/components/bq-badge.js";
11
+ import { BqBreadcrumbItem as BqBreadcrumbItemElement } from "@beeq/core/dist/components/bq-breadcrumb-item.js";
12
+ import { BqBreadcrumb as BqBreadcrumbElement } from "@beeq/core/dist/components/bq-breadcrumb.js";
13
+ import { BqButton as BqButtonElement } from "@beeq/core/dist/components/bq-button.js";
14
+ import { BqCard as BqCardElement } from "@beeq/core/dist/components/bq-card.js";
15
+ import { BqCheckbox as BqCheckboxElement } from "@beeq/core/dist/components/bq-checkbox.js";
16
+ import { BqDatePicker as BqDatePickerElement } from "@beeq/core/dist/components/bq-date-picker.js";
17
+ import { BqDialog as BqDialogElement } from "@beeq/core/dist/components/bq-dialog.js";
18
+ import { BqDivider as BqDividerElement } from "@beeq/core/dist/components/bq-divider.js";
19
+ import { BqDrawer as BqDrawerElement } from "@beeq/core/dist/components/bq-drawer.js";
20
+ import { BqDropdown as BqDropdownElement } from "@beeq/core/dist/components/bq-dropdown.js";
21
+ import { BqEmptyState as BqEmptyStateElement } from "@beeq/core/dist/components/bq-empty-state.js";
22
+ import { BqIcon as BqIconElement } from "@beeq/core/dist/components/bq-icon.js";
23
+ import { BqInput as BqInputElement } from "@beeq/core/dist/components/bq-input.js";
24
+ import { BqNotification as BqNotificationElement } from "@beeq/core/dist/components/bq-notification.js";
25
+ import { BqOptionGroup as BqOptionGroupElement } from "@beeq/core/dist/components/bq-option-group.js";
26
+ import { BqOptionList as BqOptionListElement } from "@beeq/core/dist/components/bq-option-list.js";
27
+ import { BqOption as BqOptionElement } from "@beeq/core/dist/components/bq-option.js";
28
+ import { BqPageTitle as BqPageTitleElement } from "@beeq/core/dist/components/bq-page-title.js";
29
+ import { BqPanel as BqPanelElement } from "@beeq/core/dist/components/bq-panel.js";
30
+ import { BqProgress as BqProgressElement } from "@beeq/core/dist/components/bq-progress.js";
31
+ import { BqRadioGroup as BqRadioGroupElement } from "@beeq/core/dist/components/bq-radio-group.js";
32
+ import { BqRadio as BqRadioElement } from "@beeq/core/dist/components/bq-radio.js";
33
+ import { BqSelect as BqSelectElement } from "@beeq/core/dist/components/bq-select.js";
34
+ import { BqSideMenuItem as BqSideMenuItemElement } from "@beeq/core/dist/components/bq-side-menu-item.js";
35
+ import { BqSideMenu as BqSideMenuElement } from "@beeq/core/dist/components/bq-side-menu.js";
36
+ import { BqSlider as BqSliderElement } from "@beeq/core/dist/components/bq-slider.js";
37
+ import { BqSpinner as BqSpinnerElement } from "@beeq/core/dist/components/bq-spinner.js";
38
+ import { BqStatus as BqStatusElement } from "@beeq/core/dist/components/bq-status.js";
39
+ import { BqStepItem as BqStepItemElement } from "@beeq/core/dist/components/bq-step-item.js";
40
+ import { BqSteps as BqStepsElement } from "@beeq/core/dist/components/bq-steps.js";
41
+ import { BqSwitch as BqSwitchElement } from "@beeq/core/dist/components/bq-switch.js";
42
+ import { BqTabGroup as BqTabGroupElement } from "@beeq/core/dist/components/bq-tab-group.js";
43
+ import { BqTab as BqTabElement } from "@beeq/core/dist/components/bq-tab.js";
44
+ import { BqTag as BqTagElement } from "@beeq/core/dist/components/bq-tag.js";
45
+ import { BqTextarea as BqTextareaElement } from "@beeq/core/dist/components/bq-textarea.js";
46
+ import { BqToast as BqToastElement } from "@beeq/core/dist/components/bq-toast.js";
47
+ import { BqTooltip as BqTooltipElement } from "@beeq/core/dist/components/bq-tooltip.js";
48
+ import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
49
+ type BqAccordionEvents = {
50
+ onBqBlur: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>;
51
+ onBqFocus: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>;
52
+ onBqOpen: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>;
53
+ onBqAfterOpen: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>;
54
+ onBqClose: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>;
55
+ onBqAfterClose: EventName<BqAccordionCustomEvent<HTMLBqAccordionElement>>;
56
+ };
57
+ export declare const BqAccordion: StencilReactComponent<BqAccordionElement, BqAccordionEvents>;
58
+ type BqAccordionGroupEvents = NonNullable<unknown>;
59
+ export declare const BqAccordionGroup: StencilReactComponent<BqAccordionGroupElement, BqAccordionGroupEvents>;
60
+ type BqAlertEvents = {
61
+ onBqHide: EventName<CustomEvent<any>>;
62
+ onBqShow: EventName<CustomEvent<any>>;
63
+ onBqAfterShow: EventName<CustomEvent<any>>;
64
+ onBqAfterHide: EventName<CustomEvent<any>>;
65
+ };
66
+ export declare const BqAlert: StencilReactComponent<BqAlertElement, BqAlertEvents>;
67
+ type BqAvatarEvents = NonNullable<unknown>;
68
+ export declare const BqAvatar: StencilReactComponent<BqAvatarElement, BqAvatarEvents>;
69
+ type BqBadgeEvents = NonNullable<unknown>;
70
+ export declare const BqBadge: StencilReactComponent<BqBadgeElement, BqBadgeEvents>;
71
+ type BqBreadcrumbEvents = {
72
+ onBqBreadcrumbBlur: EventName<BqBreadcrumbCustomEvent<HTMLBqBreadcrumbItemElement>>;
73
+ onBqBreadcrumbFocus: EventName<BqBreadcrumbCustomEvent<HTMLBqBreadcrumbItemElement>>;
74
+ onBqBreadcrumbClick: EventName<BqBreadcrumbCustomEvent<HTMLBqBreadcrumbItemElement>>;
75
+ };
76
+ export declare const BqBreadcrumb: StencilReactComponent<BqBreadcrumbElement, BqBreadcrumbEvents>;
77
+ type BqBreadcrumbItemEvents = {
78
+ onBqBlur: EventName<BqBreadcrumbItemCustomEvent<HTMLBqBreadcrumbItemElement>>;
79
+ onBqFocus: EventName<BqBreadcrumbItemCustomEvent<HTMLBqBreadcrumbItemElement>>;
80
+ onBqClick: EventName<BqBreadcrumbItemCustomEvent<HTMLBqBreadcrumbItemElement>>;
81
+ };
82
+ export declare const BqBreadcrumbItem: StencilReactComponent<BqBreadcrumbItemElement, BqBreadcrumbItemEvents>;
83
+ type BqButtonEvents = {
84
+ onBqBlur: EventName<BqButtonCustomEvent<HTMLBqButtonElement>>;
85
+ onBqFocus: EventName<BqButtonCustomEvent<HTMLBqButtonElement>>;
86
+ onBqClick: EventName<BqButtonCustomEvent<HTMLBqButtonElement>>;
87
+ };
88
+ export declare const BqButton: StencilReactComponent<BqButtonElement, BqButtonEvents>;
89
+ type BqCardEvents = NonNullable<unknown>;
90
+ export declare const BqCard: StencilReactComponent<BqCardElement, BqCardEvents>;
91
+ type BqCheckboxEvents = {
92
+ onBqChange: EventName<CustomEvent<{
93
+ checked: boolean;
94
+ }>>;
95
+ onBqFocus: EventName<BqCheckboxCustomEvent<HTMLBqCheckboxElement>>;
96
+ onBqBlur: EventName<BqCheckboxCustomEvent<HTMLBqCheckboxElement>>;
97
+ };
98
+ export declare const BqCheckbox: StencilReactComponent<BqCheckboxElement, BqCheckboxEvents>;
99
+ type BqDatePickerEvents = {
100
+ onBqBlur: EventName<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
101
+ onBqChange: EventName<BqDatePickerCustomEvent<{
102
+ value: string;
103
+ el: HTMLBqDatePickerElement;
104
+ }>>;
105
+ onBqClear: EventName<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
106
+ onBqFocus: EventName<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
107
+ };
108
+ export declare const BqDatePicker: StencilReactComponent<BqDatePickerElement, BqDatePickerEvents>;
109
+ type BqDialogEvents = {
110
+ onBqCancel: EventName<CustomEvent<void>>;
111
+ onBqClose: EventName<CustomEvent<void>>;
112
+ onBqOpen: EventName<CustomEvent<void>>;
113
+ onBqAfterOpen: EventName<CustomEvent<void>>;
114
+ onBqAfterClose: EventName<CustomEvent<void>>;
115
+ };
116
+ export declare const BqDialog: StencilReactComponent<BqDialogElement, BqDialogEvents>;
117
+ type BqDividerEvents = NonNullable<unknown>;
118
+ export declare const BqDivider: StencilReactComponent<BqDividerElement, BqDividerEvents>;
119
+ type BqDrawerEvents = {
120
+ onBqClose: EventName<CustomEvent<any>>;
121
+ onBqOpen: EventName<CustomEvent<any>>;
122
+ onBqAfterOpen: EventName<CustomEvent<any>>;
123
+ onBqAfterClose: EventName<CustomEvent<any>>;
124
+ };
125
+ export declare const BqDrawer: StencilReactComponent<BqDrawerElement, BqDrawerEvents>;
126
+ type BqDropdownEvents = {
127
+ onBqOpen: EventName<CustomEvent<{
128
+ open: boolean;
129
+ }>>;
130
+ };
131
+ export declare const BqDropdown: StencilReactComponent<BqDropdownElement, BqDropdownEvents>;
132
+ type BqEmptyStateEvents = NonNullable<unknown>;
133
+ export declare const BqEmptyState: StencilReactComponent<BqEmptyStateElement, BqEmptyStateEvents>;
134
+ type BqIconEvents = {
135
+ onSvgLoaded: EventName<CustomEvent<any>>;
136
+ };
137
+ export declare const BqIcon: StencilReactComponent<BqIconElement, BqIconEvents>;
138
+ type BqInputEvents = {
139
+ onBqBlur: EventName<BqInputCustomEvent<HTMLBqInputElement>>;
140
+ onBqChange: EventName<BqInputCustomEvent<{
141
+ value: string | number | string[];
142
+ el: HTMLBqInputElement;
143
+ }>>;
144
+ onBqClear: EventName<BqInputCustomEvent<HTMLBqInputElement>>;
145
+ onBqFocus: EventName<BqInputCustomEvent<HTMLBqInputElement>>;
146
+ onBqInput: EventName<BqInputCustomEvent<{
147
+ value: string | number | string[];
148
+ el: HTMLBqInputElement;
149
+ }>>;
150
+ };
151
+ export declare const BqInput: StencilReactComponent<BqInputElement, BqInputEvents>;
152
+ type BqNotificationEvents = {
153
+ onBqHide: EventName<CustomEvent<any>>;
154
+ onBqShow: EventName<CustomEvent<any>>;
155
+ onBqAfterOpen: EventName<CustomEvent<any>>;
156
+ onBqAfterClose: EventName<CustomEvent<any>>;
157
+ };
158
+ export declare const BqNotification: StencilReactComponent<BqNotificationElement, BqNotificationEvents>;
159
+ type BqOptionEvents = {
160
+ onBqBlur: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>;
161
+ onBqFocus: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>;
162
+ onBqClick: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>;
163
+ onBqEnter: EventName<BqOptionCustomEvent<HTMLBqOptionElement>>;
164
+ };
165
+ export declare const BqOption: StencilReactComponent<BqOptionElement, BqOptionEvents>;
166
+ type BqOptionGroupEvents = NonNullable<unknown>;
167
+ export declare const BqOptionGroup: StencilReactComponent<BqOptionGroupElement, BqOptionGroupEvents>;
168
+ type BqOptionListEvents = {
169
+ onBqSelect: EventName<BqOptionListCustomEvent<{
170
+ value: string;
171
+ item: HTMLBqOptionElement;
172
+ }>>;
173
+ };
174
+ export declare const BqOptionList: StencilReactComponent<BqOptionListElement, BqOptionListEvents>;
175
+ type BqPageTitleEvents = NonNullable<unknown>;
176
+ export declare const BqPageTitle: StencilReactComponent<BqPageTitleElement, BqPageTitleEvents>;
177
+ type BqPanelEvents = NonNullable<unknown>;
178
+ export declare const BqPanel: StencilReactComponent<BqPanelElement, BqPanelEvents>;
179
+ type BqProgressEvents = NonNullable<unknown>;
180
+ export declare const BqProgress: StencilReactComponent<BqProgressElement, BqProgressEvents>;
181
+ type BqRadioEvents = {
182
+ onBqClick: EventName<BqRadioCustomEvent<HTMLBqRadioElement>>;
183
+ onBqFocus: EventName<BqRadioCustomEvent<HTMLBqRadioElement>>;
184
+ onBqBlur: EventName<BqRadioCustomEvent<HTMLBqRadioElement>>;
185
+ onBqKeyDown: EventName<BqRadioCustomEvent<KeyboardEvent>>;
186
+ };
187
+ export declare const BqRadio: StencilReactComponent<BqRadioElement, BqRadioEvents>;
188
+ type BqRadioGroupEvents = {
189
+ onBqChange: EventName<BqRadioGroupCustomEvent<{
190
+ value: string;
191
+ target: HTMLBqRadioElement;
192
+ }>>;
193
+ };
194
+ export declare const BqRadioGroup: StencilReactComponent<BqRadioGroupElement, BqRadioGroupEvents>;
195
+ type BqSelectEvents = {
196
+ onBqBlur: EventName<BqSelectCustomEvent<HTMLBqSelectElement>>;
197
+ onBqClear: EventName<BqSelectCustomEvent<HTMLBqSelectElement>>;
198
+ onBqFocus: EventName<BqSelectCustomEvent<HTMLBqSelectElement>>;
199
+ onBqSelect: EventName<BqSelectCustomEvent<{
200
+ value: string | number | string[];
201
+ item: HTMLBqOptionElement;
202
+ }>>;
203
+ };
204
+ export declare const BqSelect: StencilReactComponent<BqSelectElement, BqSelectEvents>;
205
+ type BqSideMenuEvents = {
206
+ onBqCollapse: EventName<CustomEvent<{
207
+ collapse: boolean;
208
+ }>>;
209
+ onBqSelect: EventName<BqSideMenuCustomEvent<HTMLBqSideMenuItemElement>>;
210
+ };
211
+ export declare const BqSideMenu: StencilReactComponent<BqSideMenuElement, BqSideMenuEvents>;
212
+ type BqSideMenuItemEvents = {
213
+ onBqBlur: EventName<BqSideMenuItemCustomEvent<HTMLBqSideMenuItemElement>>;
214
+ onBqFocus: EventName<BqSideMenuItemCustomEvent<HTMLBqSideMenuItemElement>>;
215
+ onBqClick: EventName<BqSideMenuItemCustomEvent<HTMLBqSideMenuItemElement>>;
216
+ };
217
+ export declare const BqSideMenuItem: StencilReactComponent<BqSideMenuItemElement, BqSideMenuItemEvents>;
218
+ type BqSliderEvents = {
219
+ onBqChange: EventName<BqSliderCustomEvent<{
220
+ value: Exclude<TSliderValue, string>;
221
+ el: HTMLBqSliderElement;
222
+ }>>;
223
+ onBqBlur: EventName<BqSliderCustomEvent<HTMLBqSliderElement>>;
224
+ onBqFocus: EventName<BqSliderCustomEvent<HTMLBqSliderElement>>;
225
+ };
226
+ export declare const BqSlider: StencilReactComponent<BqSliderElement, BqSliderEvents>;
227
+ type BqSpinnerEvents = NonNullable<unknown>;
228
+ export declare const BqSpinner: StencilReactComponent<BqSpinnerElement, BqSpinnerEvents>;
229
+ type BqStatusEvents = NonNullable<unknown>;
230
+ export declare const BqStatus: StencilReactComponent<BqStatusElement, BqStatusEvents>;
231
+ type BqStepItemEvents = {
232
+ onBqClick: EventName<BqStepItemCustomEvent<{
233
+ target: HTMLBqStepItemElement;
234
+ value: string;
235
+ }>>;
236
+ };
237
+ export declare const BqStepItem: StencilReactComponent<BqStepItemElement, BqStepItemEvents>;
238
+ type BqStepsEvents = NonNullable<unknown>;
239
+ export declare const BqSteps: StencilReactComponent<BqStepsElement, BqStepsEvents>;
240
+ type BqSwitchEvents = {
241
+ onBqChange: EventName<CustomEvent<{
242
+ checked: boolean;
243
+ }>>;
244
+ onBqFocus: EventName<BqSwitchCustomEvent<HTMLBqSwitchElement>>;
245
+ onBqBlur: EventName<BqSwitchCustomEvent<HTMLBqSwitchElement>>;
246
+ };
247
+ export declare const BqSwitch: StencilReactComponent<BqSwitchElement, BqSwitchEvents>;
248
+ type BqTabEvents = {
249
+ onBqClick: EventName<BqTabCustomEvent<HTMLBqTabElement>>;
250
+ onBqFocus: EventName<BqTabCustomEvent<HTMLBqTabElement>>;
251
+ onBqBlur: EventName<BqTabCustomEvent<HTMLBqTabElement>>;
252
+ onBqKeyDown: EventName<BqTabCustomEvent<KeyboardEvent>>;
253
+ };
254
+ export declare const BqTab: StencilReactComponent<BqTabElement, BqTabEvents>;
255
+ type BqTabGroupEvents = {
256
+ onBqChange: EventName<BqTabGroupCustomEvent<{
257
+ target: HTMLBqTabElement;
258
+ value: string;
259
+ }>>;
260
+ };
261
+ export declare const BqTabGroup: StencilReactComponent<BqTabGroupElement, BqTabGroupEvents>;
262
+ type BqTagEvents = {
263
+ onBqClose: EventName<CustomEvent<any>>;
264
+ onBqOpen: EventName<CustomEvent<any>>;
265
+ onBqBlur: EventName<BqTagCustomEvent<HTMLBqTagElement>>;
266
+ onBqClick: EventName<BqTagCustomEvent<HTMLBqTagElement>>;
267
+ onBqFocus: EventName<BqTagCustomEvent<HTMLBqTagElement>>;
268
+ };
269
+ export declare const BqTag: StencilReactComponent<BqTagElement, BqTagEvents>;
270
+ type BqTextareaEvents = {
271
+ onBqBlur: EventName<BqTextareaCustomEvent<HTMLBqTextareaElement>>;
272
+ onBqChange: EventName<BqTextareaCustomEvent<{
273
+ value: string;
274
+ el: HTMLBqTextareaElement;
275
+ }>>;
276
+ onBqClear: EventName<BqTextareaCustomEvent<HTMLBqTextareaElement>>;
277
+ onBqFocus: EventName<BqTextareaCustomEvent<HTMLBqTextareaElement>>;
278
+ onBqInput: EventName<BqTextareaCustomEvent<{
279
+ value: string;
280
+ el: HTMLBqTextareaElement;
281
+ }>>;
282
+ };
283
+ export declare const BqTextarea: StencilReactComponent<BqTextareaElement, BqTextareaEvents>;
284
+ type BqToastEvents = {
285
+ onBqHide: EventName<BqToastCustomEvent<HTMLBqToastElement>>;
286
+ onBqShow: EventName<BqToastCustomEvent<HTMLBqToastElement>>;
287
+ };
288
+ export declare const BqToast: StencilReactComponent<BqToastElement, BqToastEvents>;
289
+ type BqTooltipEvents = NonNullable<unknown>;
290
+ export declare const BqTooltip: StencilReactComponent<BqTooltipElement, BqTooltipEvents>;
291
+ export {};