@trendyol/baklava 3.4.0-beta.10 → 3.4.0-beta.12

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 (45) hide show
  1. package/dist/baklava-react.d.ts +236 -304
  2. package/dist/baklava-react.d.ts.map +1 -1
  3. package/dist/baklava-react.js +1 -1
  4. package/dist/baklava-react.js.map +3 -3
  5. package/dist/baklava-svelte.d.ts +775 -0
  6. package/dist/baklava-vue.d.ts +23 -23
  7. package/dist/baklava.d.ts +1 -0
  8. package/dist/baklava.d.ts.map +1 -1
  9. package/dist/baklava.js +1 -1
  10. package/dist/{chunk-OTLTDVYZ.js → chunk-2EK4TAKQ.js} +2 -2
  11. package/dist/chunk-7N7YHRPA.js +22 -0
  12. package/dist/chunk-7N7YHRPA.js.map +7 -0
  13. package/dist/chunk-ETFCJRBG.js +59 -0
  14. package/dist/chunk-ETFCJRBG.js.map +7 -0
  15. package/dist/chunk-M4E4CVZ4.js +18 -0
  16. package/dist/{chunk-M54AQSC3.js.map → chunk-M4E4CVZ4.js.map} +2 -2
  17. package/dist/{chunk-MUSNNPY5.js → chunk-QKUMEP5P.js} +2 -2
  18. package/dist/{chunk-3PA3PCTP.js → chunk-TKTRDALH.js} +2 -2
  19. package/dist/components/datepicker/bl-datepicker.js +1 -1
  20. package/dist/components/dialog/bl-dialog.stories.js +1 -1
  21. package/dist/components/input/bl-input.js +1 -1
  22. package/dist/components/link/bl-link.d.ts +77 -0
  23. package/dist/components/link/bl-link.d.ts.map +1 -0
  24. package/dist/components/link/bl-link.js +2 -0
  25. package/dist/components/link/bl-link.js.map +7 -0
  26. package/dist/components/link/bl-link.stories.d.ts +31 -0
  27. package/dist/components/link/bl-link.stories.d.ts.map +1 -0
  28. package/dist/components/link/bl-link.stories.js +63 -0
  29. package/dist/components/link/bl-link.stories.js.map +7 -0
  30. package/dist/components/link/bl-link.test.d.ts +2 -0
  31. package/dist/components/link/bl-link.test.d.ts.map +1 -0
  32. package/dist/components/notification/bl-notification.stories.js +1 -1
  33. package/dist/components/pagination/bl-pagination.js +1 -1
  34. package/dist/components/tab-group/bl-tab-group.js +1 -1
  35. package/dist/components/table/table-cell/bl-table-cell.js +1 -1
  36. package/dist/components/table/table-header-cell/bl-table-header-cell.js +1 -1
  37. package/dist/components/table/table-row/bl-table-row.js +1 -1
  38. package/dist/custom-elements.json +9365 -2601
  39. package/package.json +3 -5
  40. package/dist/chunk-7KND5OUR.js +0 -59
  41. package/dist/chunk-7KND5OUR.js.map +0 -7
  42. package/dist/chunk-M54AQSC3.js +0 -7
  43. /package/dist/{chunk-OTLTDVYZ.js.map → chunk-2EK4TAKQ.js.map} +0 -0
  44. /package/dist/{chunk-MUSNNPY5.js.map → chunk-QKUMEP5P.js.map} +0 -0
  45. /package/dist/{chunk-3PA3PCTP.js.map → chunk-TKTRDALH.js.map} +0 -0
@@ -1,118 +1,45 @@
1
1
  import React from "react";
2
- import { type EventName } from "@lit-labs/react";
3
- import { ISelectOption } from "./components/select/bl-select";
4
- export type BlAccordionGroup = import("./components/accordion-group/bl-accordion-group").default;
5
- export type BlAlert = import("./components/alert/bl-alert").default;
6
- export type BlBadge = import("./components/badge/bl-badge").default;
7
- export type BlButton = import("./components/button/bl-button").default;
8
- export type BlCalendar = import("./components/calendar/bl-calendar").default;
9
- export type BlCheckboxGroup = import("./components/checkbox-group/bl-checkbox-group").default;
10
- export type BlDatepicker = import("./components/datepicker/bl-datepicker").default;
11
- export type BlDialog = import("./components/dialog/bl-dialog").default;
12
- export type BlDrawer = import("./components/drawer/bl-drawer").default;
13
- export type BlDropdown = import("./components/dropdown/bl-dropdown").default;
14
2
  export type BlIcon = import("./components/icon/bl-icon").default;
15
- export type BlInput = import("./components/input/bl-input").default;
16
- export type BlNotification = import("./components/notification/bl-notification").default;
17
- export type BlPagination = import("./components/pagination/bl-pagination").default;
18
- export type BlPopover = import("./components/popover/bl-popover").default;
19
- export type BlProgressIndicator = import("./components/progress-indicator/bl-progress-indicator").default;
20
- export type BlRadioGroup = import("./components/radio-group/bl-radio-group").default;
21
- export type BlSelect = import("./components/select/bl-select").default;
22
- export type BlSpinner = import("./components/spinner/bl-spinner").default;
23
- export type BlSplitButton = import("./components/split-button/bl-split-button").default;
24
- export type BlSwitch = import("./components/switch/bl-switch").default;
25
- export type BlTabGroup = import("./components/tab-group/bl-tab-group").default;
26
- export type BlTable = import("./components/table/bl-table").default;
27
- export type BlTag = import("./components/tag/bl-tag").default;
28
- export type BlTextarea = import("./components/textarea/bl-textarea").default;
29
- export type BlTooltip = import("./components/tooltip/bl-tooltip").default;
3
+ export type BlIconLoad = CustomEvent<string>;
4
+ export type BlIconError = CustomEvent<string>;
5
+ /**
6
+ * @tag bl-icon
7
+ * @summary Baklava Icon component
8
+ *
9
+ * @attr [name] Name of the icon to show
10
+ * @cssproperty [font-size] Setting size of icon. Default is current font size in DOM place
11
+ * @cssproperty [color=currentColor] Setting color of icon
12
+ */
13
+ export declare const BlIcon: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/icon/bl-icon").default, {}>>;
30
14
  export type BlAccordion = import("./components/accordion-group/accordion/bl-accordion").default;
31
- export type BlCheckbox = import("./components/checkbox-group/checkbox/bl-checkbox").default;
32
- export type BlDropdownGroup = import("./components/dropdown/group/bl-dropdown-group").default;
33
- export type BlDropdownItem = import("./components/dropdown/item/bl-dropdown-item").default;
34
- export type BlNotificationCard = import("./components/notification/card/bl-notification-card").default;
35
- export type BlRadio = import("./components/radio-group/radio/bl-radio").default;
36
- export type BlSelectOption = import("./components/select/option/bl-select-option").default;
37
- export type BlTab = import("./components/tab-group/tab/bl-tab").default;
38
- export type BlTabPanel = import("./components/tab-group/tab-panel/bl-tab-panel").default;
39
- export type BlTableBody = import("./components/table/table-body/bl-table-body").default;
40
- export type BlTableCell = import("./components/table/table-cell/bl-table-cell").default;
41
- export type BlTableHeader = import("./components/table/table-header/bl-table-header").default;
42
- export type BlTableHeaderCell = import("./components/table/table-header-cell/bl-table-header-cell").default;
43
- export type BlTableRow = import("./components/table/table-row/bl-table-row").default;
44
- export declare type BlAlertClose = CustomEvent<boolean>;
45
- export declare type BlButtonClick = CustomEvent<string>;
46
- export declare type BlCalendarCalendarChange = CustomEvent<Date[]>;
47
- export declare type BlCheckboxGroupCheckboxGroupChange = CustomEvent<string[]>;
48
- export declare type BlCheckboxGroupCheckboxGroupInvalid = CustomEvent<ValidityState>;
49
- export declare type BlDatepickerDatepickerChange = CustomEvent<Date[]>;
50
- export declare type BlDialogDialogOpen = CustomEvent<object>;
51
- export declare type BlDialogDialogRequestClose = CustomEvent<{
52
- source: "close-button" | "keyboard" | "backdrop";
53
- }>;
54
- export declare type BlDialogDialogClose = CustomEvent<object>;
55
- export declare type BlDrawerDrawerOpen = CustomEvent<string>;
56
- export declare type BlDrawerDrawerClose = CustomEvent<string>;
57
- export declare type BlDropdownDropdownOpen = CustomEvent<string>;
58
- export declare type BlDropdownDropdownClose = CustomEvent<string>;
59
- export declare type BlIconLoad = CustomEvent<string>;
60
- export declare type BlIconError = CustomEvent<string>;
61
- export declare type BlInputChange = CustomEvent<string>;
62
- export declare type BlInputInput = CustomEvent<string>;
63
- export declare type BlInputInvalid = CustomEvent<ValidityState>;
64
- export declare type BlPaginationChange = CustomEvent<{
65
- selectedPage: number;
66
- prevPage: number;
67
- itemsPerPage: number;
68
- }>;
69
- export declare type BlPopoverPopoverShow = CustomEvent<string>;
70
- export declare type BlPopoverPopoverHide = CustomEvent<string>;
71
- export declare type BlRadioGroupRadioChange = CustomEvent<string>;
72
- export declare type BlSelectSelect = CustomEvent<ISelectOption[] | ISelectOption>;
73
- export declare type BlSelectSearch = CustomEvent<string>;
74
- export declare type BlSplitButtonDropdownOpen = CustomEvent<string>;
75
- export declare type BlSplitButtonDropdownClose = CustomEvent<string>;
76
- export declare type BlSplitButtonClick = CustomEvent<string>;
77
- export declare type BlSwitchSwitchToggle = CustomEvent<boolean>;
78
- export declare type BlTableSort = CustomEvent<string[]>;
79
- export declare type BlTableRowSelect = CustomEvent<string[]>;
80
- export declare type BlTagTagClick = CustomEvent<{
81
- value: string | null;
82
- selected: boolean;
83
- }>;
84
- export declare type BlTextareaInput = CustomEvent<string>;
85
- export declare type BlTextareaChange = CustomEvent<string>;
86
- export declare type BlTextareaInvalid = CustomEvent<ValidityState>;
87
- export declare type BlTooltipTooltipShow = CustomEvent<string>;
88
- export declare type BlTooltipTooltipHide = CustomEvent<string>;
89
- export declare type BlAccordionToggle = CustomEvent<boolean>;
90
- export declare type BlCheckboxCheckboxChange = CustomEvent<boolean>;
91
- export declare type BlCheckboxFocus = CustomEvent<string>;
92
- export declare type BlCheckboxBlur = CustomEvent<string>;
93
- export declare type BlCheckboxCheckboxInvalid = CustomEvent<ValidityState>;
94
- export declare type BlDropdownItemDropdownItemClick = CustomEvent<string>;
95
- export declare type BlNotificationCardNotificationCardRequestClose = CustomEvent<{
96
- source: "duration-ended" | "close-button";
97
- }>;
98
- export declare type BlNotificationCardNotificationCardClose = CustomEvent<{
99
- source: "duration-ended" | "close-button";
100
- }>;
101
- export declare type BlRadioChecked = CustomEvent<string>;
102
- export declare type BlRadioFocus = CustomEvent<string>;
103
- export declare type BlRadioBlur = CustomEvent<string>;
104
- export declare type BlSelectOptionSelectOption = CustomEvent<string | null>;
105
- export declare type BlSelectOptionFocus = CustomEvent<string | null>;
106
- export declare type BlSelectOptionBlur = CustomEvent<string | null>;
107
- export declare type BlTabTabSelected = CustomEvent<string>;
108
- export declare const BlAccordionGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/accordion-group/bl-accordion-group").default, {}>>;
15
+ export type BlAccordionToggle = CustomEvent<boolean>;
16
+ export declare const BlAccordion: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/accordion-group/accordion/bl-accordion").default, {}>>;
17
+ export type BlSpinner = import("./components/spinner/bl-spinner").default;
18
+ /**
19
+ * @tag bl-spinner
20
+ * @summary Baklava Spinner component
21
+ *
22
+ */
23
+ export declare const BlSpinner: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/spinner/bl-spinner").default, {}>>;
24
+ export type BlButton = import("./components/button/bl-button").default;
25
+ export type BlButtonClick = CustomEvent<string>;
26
+ /**
27
+ * @tag bl-button
28
+ * @summary Baklava Button component
29
+ *
30
+ * @cssproperty [--bl-button-display=inline-block] Sets the display property of button
31
+ * @cssproperty [--bl-button-justify=center] Sets the justify-content property of button
32
+ *
33
+ */
34
+ export declare const BlButton: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/button/bl-button").default, {}>>;
35
+ export type BlAlert = import("./components/alert/bl-alert").default;
36
+ export type BlAlertClose = CustomEvent<boolean>;
109
37
  /**
110
38
  * @tag bl-alert
111
39
  * @summary Baklava Alert component
112
40
  */
113
- export declare const BlAlert: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/alert/bl-alert").default, {
114
- onBlClose: EventName<BlAlertClose>;
115
- }>>;
41
+ export declare const BlAlert: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/alert/bl-alert").default, {}>>;
42
+ export type BlBadge = import("./components/badge/bl-badge").default;
116
43
  /**
117
44
  * @tag bl-badge
118
45
  * @summary Baklava Badge component
@@ -121,43 +48,32 @@ export declare const BlAlert: React.LazyExoticComponent<import("@lit-labs/react"
121
48
  * @cssproperty [--bl-badge-color=--bl-color-primary] Sets the color of badge
122
49
  */
123
50
  export declare const BlBadge: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/badge/bl-badge").default, {}>>;
51
+ export type BlCheckbox = import("./components/checkbox-group/checkbox/bl-checkbox").default;
52
+ export type BlCheckboxCheckboxChange = CustomEvent<boolean>;
53
+ export type BlCheckboxFocus = CustomEvent<string>;
54
+ export type BlCheckboxBlur = CustomEvent<string>;
55
+ export type BlCheckboxCheckboxInvalid = CustomEvent<ValidityState>;
124
56
  /**
125
- * @tag bl-button
126
- * @summary Baklava Button component
127
- *
128
- * @cssproperty [--bl-button-display=inline-block] Sets the display property of button
129
- * @cssproperty [--bl-button-justify=center] Sets the justify-content property of button
130
- *
57
+ * @tag bl-checkbox
58
+ * @summary Baklava Checkbox component
131
59
  */
132
- export declare const BlButton: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/button/bl-button").default, {
133
- onBlClick: EventName<BlButtonClick>;
134
- }>>;
135
- /**
136
- * @tag bl-calendar
137
- * @summary Baklava Calendar component
138
- **/
139
- export declare const BlCalendar: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/calendar/bl-calendar").default, {
140
- onBlCalendarChange: EventName<BlCalendarCalendarChange>;
141
- }>>;
60
+ export declare const BlCheckbox: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/checkbox-group/checkbox/bl-checkbox").default, {}>>;
61
+ export type BlCheckboxGroup = import("./components/checkbox-group/bl-checkbox-group").default;
62
+ export type BlCheckboxGroupCheckboxGroupChange = CustomEvent<string[]>;
63
+ export type BlCheckboxGroupCheckboxGroupInvalid = CustomEvent<ValidityState>;
142
64
  /**
143
65
  * @tag bl-checkbox-group
144
66
  * @summary Baklava Button component
145
67
  *
146
68
  * @cssproperty [--bl-checkbox-direction=row] Can be used for showing checkbox options as columns instead of rows. Options are `row` or `column`
147
69
  */
148
- export declare const BlCheckboxGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/checkbox-group/bl-checkbox-group").default, {
149
- onBlCheckboxGroupChange: EventName<BlCheckboxGroupCheckboxGroupChange>;
150
- onBlCheckboxGroupInvalid: EventName<BlCheckboxGroupCheckboxGroupInvalid>;
151
- }>>;
152
- /**
153
- * @tag bl-datepicker
154
- * @summary Baklava DatePicker component
155
- *
156
- * @cssproperty [--bl-datepicker-input-width] - Sets the width of datepicker input
157
- **/
158
- export declare const BlDatepicker: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/datepicker/bl-datepicker").default, {
159
- onBlDatepickerChange: EventName<BlDatepickerDatepickerChange>;
160
- }>>;
70
+ export declare const BlCheckboxGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/checkbox-group/bl-checkbox-group").default, {}>>;
71
+ export type BlDialog = import("./components/dialog/bl-dialog").default;
72
+ export type BlDialogDialogOpen = CustomEvent<object>;
73
+ export type BlDialogDialogRequestClose = CustomEvent<{
74
+ source: "close-button" | "keyboard" | "backdrop";
75
+ }>;
76
+ export type BlDialogDialogClose = CustomEvent<object>;
161
77
  /**
162
78
  * @tag bl-dialog
163
79
  * @summary Baklava Dialog component
@@ -165,41 +81,21 @@ export declare const BlDatepicker: React.LazyExoticComponent<import("@lit-labs/r
165
81
  * @cssproperty [--bl-dialog-width=auto] Sets the width of the dialog content
166
82
  * @cssproperty [--bl-dialog-caption-line-clamp=1] Sets the line clamp of the caption
167
83
  */
168
- export declare const BlDialog: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dialog/bl-dialog").default, {
169
- onBlDialogOpen: EventName<BlDialogDialogOpen>;
170
- onBlDialogRequestClose: EventName<BlDialogDialogRequestClose>;
171
- onBlDialogClose: EventName<BlDialogDialogClose>;
172
- }>>;
84
+ export declare const BlDialog: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dialog/bl-dialog").default, {}>>;
85
+ export type BlDrawer = import("./components/drawer/bl-drawer").default;
86
+ export type BlDrawerDrawerOpen = CustomEvent<string>;
87
+ export type BlDrawerDrawerClose = CustomEvent<string>;
173
88
  /**
174
89
  * @tag bl-drawer
175
90
  * @summary Baklava Drawer component
176
91
  *
177
92
  * @cssproperty [--bl-drawer-animation-duration=250ms] Drawer slide in animation duration
178
93
  */
179
- export declare const BlDrawer: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/drawer/bl-drawer").default, {
180
- onBlDrawerOpen: EventName<BlDrawerDrawerOpen>;
181
- onBlDrawerClose: EventName<BlDrawerDrawerClose>;
182
- }>>;
183
- /**
184
- * @tag bl-dropdown
185
- * @summary Baklava Dropdown component
186
- */
187
- export declare const BlDropdown: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dropdown/bl-dropdown").default, {
188
- onBlDropdownOpen: EventName<BlDropdownDropdownOpen>;
189
- onBlDropdownClose: EventName<BlDropdownDropdownClose>;
190
- }>>;
191
- /**
192
- * @tag bl-icon
193
- * @summary Baklava Icon component
194
- *
195
- * @attr [name] Name of the icon to show
196
- * @cssproperty [font-size] Setting size of icon. Default is current font size in DOM place
197
- * @cssproperty [color=currentColor] Setting color of icon
198
- */
199
- export declare const BlIcon: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/icon/bl-icon").default, {
200
- onBlLoad: EventName<BlIconLoad>;
201
- onBlError: EventName<BlIconError>;
202
- }>>;
94
+ export declare const BlDrawer: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/drawer/bl-drawer").default, {}>>;
95
+ export type BlInput = import("./components/input/bl-input").default;
96
+ export type BlInputChange = CustomEvent<string>;
97
+ export type BlInputInput = CustomEvent<string>;
98
+ export type BlInputInvalid = CustomEvent<ValidityState>;
203
99
  /**
204
100
  * @tag bl-input
205
101
  * @summary Baklava Input component
@@ -207,40 +103,46 @@ export declare const BlIcon: React.LazyExoticComponent<import("@lit-labs/react")
207
103
  * @cssproperty [--bl-input-padding-start] Sets the padding start
208
104
  * @cssproperty [--bl-input-padding-end] Sets the padding end
209
105
  */
210
- export declare const BlInput: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/input/bl-input").default, {
211
- onBlChange: EventName<BlInputChange>;
212
- onBlInput: EventName<BlInputInput>;
213
- onBlInvalid: EventName<BlInputInvalid>;
214
- }>>;
106
+ export declare const BlInput: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/input/bl-input").default, {}>>;
107
+ export type BlLink = import("./components/link/bl-link").default;
215
108
  /**
216
- * @tag bl-notification
217
- * @summary Baklava Notification component
109
+ * @tag bl-link
110
+ * @summary Baklava Link component for navigation
111
+ *
112
+ * @slot icon - Custom icon slot for non-standalone variants
113
+ *
114
+ * @cssproperty [--bl-link-color=--bl-color-primary] Sets the color of link
115
+ * @cssproperty [--bl-link-hover-color=--bl-color-primary-hover] Sets the hover color of link
116
+ * @cssproperty [--bl-link-active-color=--bl-color-primary-active] Sets the active color of link
218
117
  */
219
- export declare const BlNotification: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/notification/bl-notification").default, {}>>;
118
+ export declare const BlLink: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/link/bl-link").default, {}>>;
119
+ export type BlSelectOption = import("./components/select/option/bl-select-option").default;
120
+ export type BlSelectOptionSelectOption = CustomEvent<string | null>;
121
+ export type BlSelectOptionFocus = CustomEvent<string | null>;
122
+ export type BlSelectOptionBlur = CustomEvent<string | null>;
123
+ export declare const BlSelectOption: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/select/option/bl-select-option").default<string>, {}>>;
124
+ export type BlSelect = import("./components/select/bl-select").default;
125
+ export type BlSelectSelect = CustomEvent<import("./components/select/bl-select").ISelectOption<string>[] | import("./components/select/bl-select").ISelectOption<string>>;
126
+ export type BlSelectSearch = CustomEvent<string>;
220
127
  /**
221
- * @tag bl-pagination
222
- * @summary Baklava Pagination component
128
+ * @tag bl-select
129
+ * @summary Baklava Select component
130
+ *
131
+ * @cssproperty [--bl-popover-position=fixed] Sets the positioning strategy of select popover. You can set it as `absolute` if you need to show popover relative to its trigger element.
223
132
  */
224
- export declare const BlPagination: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/pagination/bl-pagination").default, {
225
- onBlChange: EventName<BlPaginationChange>;
226
- }>>;
133
+ export declare const BlSelect: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/select/bl-select").default<string>, {}>>;
134
+ export type BlPagination = import("./components/pagination/bl-pagination").default;
135
+ export type BlPaginationChange = CustomEvent<{
136
+ selectedPage: number;
137
+ prevPage: number;
138
+ itemsPerPage: number;
139
+ }>;
227
140
  /**
228
- * @tag bl-popover
229
- * @summary Baklava Popover component
230
- *
231
- * @cssproperty [--bl-popover-arrow-display=none] - Sets the display of popovers arrow. Set as `block` to make arrow visible.
232
- * @cssproperty [--bl-popover-background-color=--bl-color-neutral-full] - Sets the background color of popover.
233
- * @cssproperty [--bl-popover-border-color=--bl-color-primary-highlight] - Sets the border color of popover.
234
- * @cssproperty [--bl-popover-border-size=1px] - Sets the border size of popover. You can set it to `0px` to not have a border (if you use a custom background color). Always use with a length unit.
235
- * @cssproperty [--bl-popover-padding=--bl-size-m] - Sets the padding of popover.
236
- * @cssproperty [--bl-popbover-border-radius=--bl-size-3xs] - Sets the border radius of popover.
237
- * @cssproperty [--bl-popover-max-width=100vw] - Sets the maximum width of the popover (including border and padding).
238
- * @cssproperty [--bl-popover-position=fixed] - Sets the position of popover. You can set it to `absolute` if parent element is a fixed positioned element like drawer or dialog.
141
+ * @tag bl-pagination
142
+ * @summary Baklava Pagination component
239
143
  */
240
- export declare const BlPopover: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/popover/bl-popover").default, {
241
- onBlPopoverShow: EventName<BlPopoverPopoverShow>;
242
- onBlPopoverHide: EventName<BlPopoverPopoverHide>;
243
- }>>;
144
+ export declare const BlPagination: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/pagination/bl-pagination").default, {}>>;
145
+ export type BlProgressIndicator = import("./components/progress-indicator/bl-progress-indicator").default;
244
146
  /**
245
147
  * @tag bl-progress-indicator
246
148
  * @summary Baklava Progress Indicator component
@@ -250,6 +152,19 @@ export declare const BlPopover: React.LazyExoticComponent<import("@lit-labs/reac
250
152
  * @property {number} [value=0]
251
153
  */
252
154
  export declare const BlProgressIndicator: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/progress-indicator/bl-progress-indicator").default, {}>>;
155
+ export type BlRadio = import("./components/radio-group/radio/bl-radio").default;
156
+ export type BlRadioChecked = CustomEvent<string>;
157
+ export type BlRadioFocus = CustomEvent<string>;
158
+ export type BlRadioBlur = CustomEvent<string>;
159
+ /**
160
+ * @tag bl-radio
161
+ * @summary Baklava Radio Option component
162
+ *
163
+ * @cssprop [--bl-radio-align-items=center] Align items of radio option
164
+ */
165
+ export declare const BlRadio: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/radio-group/radio/bl-radio").default, {}>>;
166
+ export type BlRadioGroup = import("./components/radio-group/bl-radio-group").default;
167
+ export type BlRadioGroupRadioChange = CustomEvent<string>;
253
168
  /**
254
169
  * @tag bl-radio-group
255
170
  * @summary Baklava Button component
@@ -259,75 +174,55 @@ export declare const BlProgressIndicator: React.LazyExoticComponent<import("@lit
259
174
  * @cssproperty [--bl-radio-group-cross-axis-content-alignment=normal] Can be used for aligning radio group content on cross axis. Acts same with align-content
260
175
  * @cssproperty [--bl-radio-group-main-axis-content-alignment=normal] Can be used for aligning radio group content on main axis. Acts same with justify-content
261
176
  */
262
- export declare const BlRadioGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/radio-group/bl-radio-group").default, {
263
- onBlRadioChange: EventName<BlRadioGroupRadioChange>;
264
- }>>;
265
- /**
266
- * @tag bl-select
267
- * @summary Baklava Select component
268
- *
269
- * @cssproperty [--bl-popover-position=fixed] Sets the positioning strategy of select popover. You can set it as `absolute` if you need to show popover relative to its trigger element.
270
- */
271
- export declare const BlSelect: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/select/bl-select").default<string>, {
272
- onBlSelect: EventName<BlSelectSelect>;
273
- onBlSearch: EventName<BlSelectSearch>;
274
- }>>;
275
- /**
276
- * @tag bl-spinner
277
- * @summary Baklava Spinner component
278
- *
279
- */
280
- export declare const BlSpinner: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/spinner/bl-spinner").default, {}>>;
281
- /**
282
- * @tag bl-split-button
283
- * @summary Baklava Split Button component
284
- */
285
- export declare const BlSplitButton: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/split-button/bl-split-button").default, {
286
- onBlDropdownOpen: EventName<BlSplitButtonDropdownOpen>;
287
- onBlDropdownClose: EventName<BlSplitButtonDropdownClose>;
288
- onBlClick: EventName<BlSplitButtonClick>;
289
- }>>;
177
+ export declare const BlRadioGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/radio-group/bl-radio-group").default, {}>>;
178
+ export type BlTabPanel = import("./components/tab-group/tab-panel/bl-tab-panel").default;
290
179
  /**
291
- * @tag bl-switch
292
- * @summary Baklava Switch component
293
- *
294
- * @cssproperty [--bl-switch-color-on=--bl-color-primary] Set the checked color
295
- * @cssproperty [--bl-switch-color-off=--bl-color-neutral-lighter] Set the unchecked color
296
- * @cssproperty [--bl-switch-animation-duration=300ms] Set the animation duration of switch toggle
180
+ * @tag bl-tab-panel
181
+ * @summary Baklava Tab panel component
297
182
  */
298
- export declare const BlSwitch: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/switch/bl-switch").default, {
299
- onBlSwitchToggle: EventName<BlSwitchSwitchToggle>;
300
- }>>;
183
+ export declare const BlTabPanel: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tab-group/tab-panel/bl-tab-panel").default, {}>>;
184
+ export type BlTabGroup = import("./components/tab-group/bl-tab-group").default;
301
185
  /**
302
186
  * @tag bl-tab-group
303
187
  * @summary Baklava Tab group component
304
188
  */
305
189
  export declare const BlTabGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tab-group/bl-tab-group").default, {}>>;
190
+ export type BlTab = import("./components/tab-group/tab/bl-tab").default;
191
+ export type BlTabTabSelected = CustomEvent<string>;
306
192
  /**
307
- * @tag bl-table
308
- * @summary Baklava Table component
309
- *
310
- */
311
- export declare const BlTable: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/bl-table").default, {
312
- onBlSort: EventName<BlTableSort>;
313
- onBlRowSelect: EventName<BlTableRowSelect>;
314
- }>>;
315
- /**
316
- * @tag bl-tag
317
- * @summary Baklava Tag component
193
+ * @tag bl-tab
194
+ * @summary Baklava Tab component
318
195
  */
319
- export declare const BlTag: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tag/bl-tag").default, {
320
- onBlTagClick: EventName<BlTagTagClick>;
321
- }>>;
196
+ export declare const BlTab: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tab-group/tab/bl-tab").default, {}>>;
197
+ export type BlTextarea = import("./components/textarea/bl-textarea").default;
198
+ export type BlTextareaInput = CustomEvent<string>;
199
+ export type BlTextareaChange = CustomEvent<string>;
200
+ export type BlTextareaInvalid = CustomEvent<ValidityState>;
322
201
  /**
323
202
  * @tag bl-textarea
324
203
  * @summary Baklava Textarea component
325
204
  */
326
- export declare const BlTextarea: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/textarea/bl-textarea").default, {
327
- onBlInput: EventName<BlTextareaInput>;
328
- onBlChange: EventName<BlTextareaChange>;
329
- onBlInvalid: EventName<BlTextareaInvalid>;
330
- }>>;
205
+ export declare const BlTextarea: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/textarea/bl-textarea").default, {}>>;
206
+ export type BlPopover = import("./components/popover/bl-popover").default;
207
+ export type BlPopoverPopoverShow = CustomEvent<string>;
208
+ export type BlPopoverPopoverHide = CustomEvent<string>;
209
+ /**
210
+ * @tag bl-popover
211
+ * @summary Baklava Popover component
212
+ *
213
+ * @cssproperty [--bl-popover-arrow-display=none] - Sets the display of popovers arrow. Set as `block` to make arrow visible.
214
+ * @cssproperty [--bl-popover-background-color=--bl-color-neutral-full] - Sets the background color of popover.
215
+ * @cssproperty [--bl-popover-border-color=--bl-color-primary-highlight] - Sets the border color of popover.
216
+ * @cssproperty [--bl-popover-border-size=1px] - Sets the border size of popover. You can set it to `0px` to not have a border (if you use a custom background color). Always use with a length unit.
217
+ * @cssproperty [--bl-popover-padding=--bl-size-m] - Sets the padding of popover.
218
+ * @cssproperty [--bl-popbover-border-radius=--bl-size-3xs] - Sets the border radius of popover.
219
+ * @cssproperty [--bl-popover-max-width=100vw] - Sets the maximum width of the popover (including border and padding).
220
+ * @cssproperty [--bl-popover-position=fixed] - Sets the position of popover. You can set it to `absolute` if parent element is a fixed positioned element like drawer or dialog.
221
+ */
222
+ export declare const BlPopover: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/popover/bl-popover").default, {}>>;
223
+ export type BlTooltip = import("./components/tooltip/bl-tooltip").default;
224
+ export type BlTooltipTooltipShow = CustomEvent<string>;
225
+ export type BlTooltipTooltipHide = CustomEvent<string>;
331
226
  /**
332
227
  * @tag bl-tooltip
333
228
  * @summary Baklava Tooltip component
@@ -335,71 +230,67 @@ export declare const BlTextarea: React.LazyExoticComponent<import("@lit-labs/rea
335
230
  *
336
231
  * @cssproperty [--bl-tooltip-trigger-display=inline-flex] Set the display of the tooltip trigger.
337
232
  */
338
- export declare const BlTooltip: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tooltip/bl-tooltip").default, {
339
- onBlTooltipShow: EventName<BlTooltipTooltipShow>;
340
- onBlTooltipHide: EventName<BlTooltipTooltipHide>;
341
- }>>;
342
- export declare const BlAccordion: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/accordion-group/accordion/bl-accordion").default, {
343
- onBlToggle: EventName<BlAccordionToggle>;
344
- }>>;
233
+ export declare const BlTooltip: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tooltip/bl-tooltip").default, {}>>;
234
+ export type BlSplitButton = import("./components/split-button/bl-split-button").default;
235
+ export type BlSplitButtonDropdownOpen = CustomEvent<string>;
236
+ export type BlSplitButtonDropdownClose = CustomEvent<string>;
237
+ export type BlSplitButtonClick = CustomEvent<string>;
345
238
  /**
346
- * @tag bl-checkbox
347
- * @summary Baklava Checkbox component
239
+ * @tag bl-split-button
240
+ * @summary Baklava Split Button component
348
241
  */
349
- export declare const BlCheckbox: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/checkbox-group/checkbox/bl-checkbox").default, {
350
- onBlCheckboxChange: EventName<BlCheckboxCheckboxChange>;
351
- onBlFocus: EventName<BlCheckboxFocus>;
352
- onBlBlur: EventName<BlCheckboxBlur>;
353
- onBlCheckboxInvalid: EventName<BlCheckboxCheckboxInvalid>;
354
- }>>;
242
+ export declare const BlSplitButton: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/split-button/bl-split-button").default, {}>>;
243
+ export type BlDropdownGroup = import("./components/dropdown/group/bl-dropdown-group").default;
355
244
  /**
356
245
  * @tag bl-dropdown-group
357
246
  * @summary Baklava Dropdown Group component
358
247
  */
359
248
  export declare const BlDropdownGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dropdown/group/bl-dropdown-group").default, {}>>;
249
+ export type BlDropdownItem = import("./components/dropdown/item/bl-dropdown-item").default;
250
+ export type BlDropdownItemDropdownItemClick = CustomEvent<string>;
360
251
  /**
361
252
  * @tag bl-dropdown-item
362
253
  * @summary Baklava Dropdown Item component
363
254
  */
364
- export declare const BlDropdownItem: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dropdown/item/bl-dropdown-item").default, {
365
- onBlDropdownItemClick: EventName<BlDropdownItemDropdownItemClick>;
366
- }>>;
255
+ export declare const BlDropdownItem: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dropdown/item/bl-dropdown-item").default, {}>>;
256
+ export type BlDropdown = import("./components/dropdown/bl-dropdown").default;
257
+ export type BlDropdownDropdownOpen = CustomEvent<string>;
258
+ export type BlDropdownDropdownClose = CustomEvent<string>;
367
259
  /**
368
- * @tag bl-notification-card
369
- * @summary Baklava Notification Card component
260
+ * @tag bl-dropdown
261
+ * @summary Baklava Dropdown component
370
262
  */
371
- export declare const BlNotificationCard: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/notification/card/bl-notification-card").default, {
372
- onBlNotificationCardRequestClose: EventName<BlNotificationCardNotificationCardRequestClose>;
373
- onBlNotificationCardClose: EventName<BlNotificationCardNotificationCardClose>;
374
- }>>;
263
+ export declare const BlDropdown: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/dropdown/bl-dropdown").default, {}>>;
264
+ export type BlSwitch = import("./components/switch/bl-switch").default;
265
+ export type BlSwitchSwitchToggle = CustomEvent<boolean>;
375
266
  /**
376
- * @tag bl-radio
377
- * @summary Baklava Radio Option component
267
+ * @tag bl-switch
268
+ * @summary Baklava Switch component
378
269
  *
379
- * @cssprop [--bl-radio-align-items=center] Align items of radio option
270
+ * @cssproperty [--bl-switch-color-on=--bl-color-primary] Set the checked color
271
+ * @cssproperty [--bl-switch-color-off=--bl-color-neutral-lighter] Set the unchecked color
272
+ * @cssproperty [--bl-switch-animation-duration=300ms] Set the animation duration of switch toggle
380
273
  */
381
- export declare const BlRadio: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/radio-group/radio/bl-radio").default, {
382
- onBlChecked: EventName<BlRadioChecked>;
383
- onBlFocus: EventName<BlRadioFocus>;
384
- onBlBlur: EventName<BlRadioBlur>;
385
- }>>;
386
- export declare const BlSelectOption: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/select/option/bl-select-option").default<string>, {
387
- onBlSelectOption: EventName<BlSelectOptionSelectOption>;
388
- onBlFocus: EventName<BlSelectOptionFocus>;
389
- onBlBlur: EventName<BlSelectOptionBlur>;
390
- }>>;
274
+ export declare const BlSwitch: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/switch/bl-switch").default, {}>>;
275
+ export type BlNotificationCard = import("./components/notification/card/bl-notification-card").default;
276
+ export type BlNotificationCardNotificationCardRequestClose = CustomEvent<{
277
+ source: "close-button" | "duration-ended";
278
+ }>;
279
+ export type BlNotificationCardNotificationCardClose = CustomEvent<{
280
+ source: "close-button" | "duration-ended";
281
+ }>;
391
282
  /**
392
- * @tag bl-tab
393
- * @summary Baklava Tab component
283
+ * @tag bl-notification-card
284
+ * @summary Baklava Notification Card component
394
285
  */
395
- export declare const BlTab: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tab-group/tab/bl-tab").default, {
396
- onBlTabSelected: EventName<BlTabTabSelected>;
397
- }>>;
286
+ export declare const BlNotificationCard: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/notification/card/bl-notification-card").default, {}>>;
287
+ export type BlNotification = import("./components/notification/bl-notification").default;
398
288
  /**
399
- * @tag bl-tab-panel
400
- * @summary Baklava Tab panel component
289
+ * @tag bl-notification
290
+ * @summary Baklava Notification component
401
291
  */
402
- export declare const BlTabPanel: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tab-group/tab-panel/bl-tab-panel").default, {}>>;
292
+ export declare const BlNotification: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/notification/bl-notification").default, {}>>;
293
+ export type BlTableBody = import("./components/table/table-body/bl-table-body").default;
403
294
  /**
404
295
  * @tag bl-table-body
405
296
  * @summary Baklava Table component
@@ -407,27 +298,68 @@ export declare const BlTabPanel: React.LazyExoticComponent<import("@lit-labs/rea
407
298
  * @slot no-data - Content to display when no data is available
408
299
  */
409
300
  export declare const BlTableBody: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-body/bl-table-body").default, {}>>;
301
+ export type BlTableHeaderCell = import("./components/table/table-header-cell/bl-table-header-cell").default;
410
302
  /**
411
- * @tag bl-table-cell
303
+ * @tag bl-table-header-cell
412
304
  * @summary Baklava Table component
305
+ *
306
+ * @cssproperty [--bl-table-header-cell-width] Set the column width
307
+ * @cssproperty [--bl-table-header-cell-min-width] Set the column min width
413
308
  */
414
- export declare const BlTableCell: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-cell/bl-table-cell").default, {}>>;
309
+ export declare const BlTableHeaderCell: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-header-cell/bl-table-header-cell").default, {}>>;
310
+ export type BlTableHeader = import("./components/table/table-header/bl-table-header").default;
415
311
  /**
416
312
  * @tag bl-table-header
417
313
  * @summary Baklava Table component
418
314
  */
419
315
  export declare const BlTableHeader: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-header/bl-table-header").default, {}>>;
316
+ export type BlTableRow = import("./components/table/table-row/bl-table-row").default;
420
317
  /**
421
- * @tag bl-table-header-cell
318
+ * @tag bl-table-row
422
319
  * @summary Baklava Table component
423
- *
424
- * @cssproperty [--bl-table-header-cell-width] Set the column width
425
- * @cssproperty [--bl-table-header-cell-min-width] Set the column min width
426
320
  */
427
- export declare const BlTableHeaderCell: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-header-cell/bl-table-header-cell").default, {}>>;
321
+ export declare const BlTableRow: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-row/bl-table-row").default, {}>>;
322
+ export type BlTableCell = import("./components/table/table-cell/bl-table-cell").default;
428
323
  /**
429
- * @tag bl-table-row
324
+ * @tag bl-table-cell
430
325
  * @summary Baklava Table component
431
326
  */
432
- export declare const BlTableRow: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-row/bl-table-row").default, {}>>;
327
+ export declare const BlTableCell: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/table-cell/bl-table-cell").default, {}>>;
328
+ export type BlTable = import("./components/table/bl-table").default;
329
+ export type BlTableSort = CustomEvent<string[]>;
330
+ export type BlTableRowSelect = CustomEvent<string[]>;
331
+ /**
332
+ * @tag bl-table
333
+ * @summary Baklava Table component
334
+ *
335
+ */
336
+ export declare const BlTable: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/table/bl-table").default, {}>>;
337
+ export type BlCalendar = import("./components/calendar/bl-calendar").default;
338
+ export type BlCalendarCalendarChange = CustomEvent<Date[]>;
339
+ /**
340
+ * @tag bl-calendar
341
+ * @summary Baklava Calendar component
342
+ **/
343
+ export declare const BlCalendar: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/calendar/bl-calendar").default, {}>>;
344
+ export type BlTag = import("./components/tag/bl-tag").default;
345
+ export type BlTagTagClick = CustomEvent<{
346
+ value: string;
347
+ selected: boolean;
348
+ }>;
349
+ /**
350
+ * @tag bl-tag
351
+ * @summary Baklava Tag component
352
+ */
353
+ export declare const BlTag: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/tag/bl-tag").default, {}>>;
354
+ export type BlDatepicker = import("./components/datepicker/bl-datepicker").default;
355
+ export type BlDatepickerDatepickerChange = CustomEvent<Date[]>;
356
+ /**
357
+ * @tag bl-datepicker
358
+ * @summary Baklava DatePicker component
359
+ *
360
+ * @cssproperty [--bl-datepicker-input-width] - Sets the width of datepicker input
361
+ **/
362
+ export declare const BlDatepicker: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/datepicker/bl-datepicker").default, {}>>;
363
+ export type BlAccordionGroup = import("./components/accordion-group/bl-accordion-group").default;
364
+ export declare const BlAccordionGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<import("./components/accordion-group/bl-accordion-group").default, {}>>;
433
365
  //# sourceMappingURL=baklava-react.d.ts.map