@trendyol/baklava 2.3.0-beta.1 → 2.3.0-beta.10
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.
- package/README.md +2 -2
- package/dist/assets/code.svg +3 -0
- package/dist/assets/copy_checked.svg +3 -0
- package/dist/assets/flag.svg +3 -0
- package/dist/assets/heartbeat.svg +3 -0
- package/dist/assets/meal_bag.svg +4 -0
- package/dist/assets/pie_chart.svg +4 -0
- package/dist/assets/pie_chart_report.svg +3 -0
- package/dist/assets/rocket.svg +4 -0
- package/dist/assets/two_sided_arrow.svg +3 -0
- package/dist/assets/very_happy.svg +3 -0
- package/dist/assets/very_sad.svg +3 -0
- package/dist/baklava-react.d.ts +277 -98
- package/dist/baklava-react.d.ts.map +1 -1
- package/dist/baklava-react.js +1 -1
- package/dist/baklava-react.js.map +4 -4
- package/dist/baklava-vue.d.ts +32 -0
- package/dist/baklava.d.ts +26 -26
- package/dist/baklava.js +1 -1
- package/dist/{chunk-TQGTQR3B.js → chunk-2HHDYA7P.js} +4 -4
- package/dist/chunk-2HHDYA7P.js.map +7 -0
- package/dist/chunk-3USCFSFQ.js +11 -0
- package/dist/{chunk-IBIMAAYG.js → chunk-4CK6AU4F.js} +2 -2
- package/dist/chunk-4CK6AU4F.js.map +7 -0
- package/dist/{chunk-LUJQ5BMO.js → chunk-4HHOA5GY.js} +8 -12
- package/dist/chunk-4HHOA5GY.js.map +7 -0
- package/dist/chunk-4OT5AMS5.js +41 -0
- package/dist/chunk-4OT5AMS5.js.map +7 -0
- package/dist/{chunk-U3DGIAPK.js → chunk-5F2BYHAE.js} +2 -2
- package/dist/chunk-5F2BYHAE.js.map +7 -0
- package/dist/{chunk-KWPCEINY.js → chunk-5HXMVHTD.js} +2 -6
- package/dist/{chunk-KWPCEINY.js.map → chunk-5HXMVHTD.js.map} +3 -3
- package/dist/{chunk-TQLVA27P.js → chunk-5PMB453Q.js} +3 -3
- package/dist/chunk-5PMB453Q.js.map +7 -0
- package/dist/{chunk-N72CM74X.js → chunk-6F253HWQ.js} +3 -3
- package/dist/chunk-6F253HWQ.js.map +7 -0
- package/dist/chunk-6LT7O7T2.js +11 -0
- package/dist/{chunk-RLMJN536.js → chunk-7GK5LKBV.js} +1 -1
- package/dist/chunk-7GK5LKBV.js.map +7 -0
- package/dist/{chunk-2S3YIXLP.js → chunk-7RZ45QDQ.js} +2 -2
- package/dist/chunk-7RZ45QDQ.js.map +7 -0
- package/dist/chunk-AIIJINAR.js +23 -0
- package/dist/chunk-AIIJINAR.js.map +7 -0
- package/dist/{chunk-3WPZVKAO.js → chunk-DINNT5P2.js} +2 -2
- package/dist/{chunk-JDCH6CPC.js → chunk-DOUEBILK.js} +5 -5
- package/dist/chunk-DOUEBILK.js.map +7 -0
- package/dist/chunk-EZSEQHRH.js +2 -0
- package/dist/chunk-EZSEQHRH.js.map +7 -0
- package/dist/chunk-FAMBVSX3.js +37 -0
- package/dist/chunk-FAMBVSX3.js.map +7 -0
- package/dist/chunk-FJQ4VEP3.js +31 -0
- package/dist/chunk-FJQ4VEP3.js.map +7 -0
- package/dist/{chunk-B27KOFJ6.js → chunk-GRL4DWKG.js} +1 -1
- package/dist/{chunk-B27KOFJ6.js.map → chunk-GRL4DWKG.js.map} +2 -2
- package/dist/{chunk-JJFKQTCC.js → chunk-GYWKNHAH.js} +2 -2
- package/dist/chunk-GYWKNHAH.js.map +7 -0
- package/dist/chunk-IRY7JHJ4.js +50 -0
- package/dist/chunk-IRY7JHJ4.js.map +7 -0
- package/dist/chunk-LDNUCSUE.js +11 -0
- package/dist/chunk-LDNUCSUE.js.map +7 -0
- package/dist/{chunk-OEWLCX2T.js → chunk-M4N2NT5C.js} +3 -3
- package/dist/chunk-M4N2NT5C.js.map +7 -0
- package/dist/{chunk-NJ34F3AF.js → chunk-OQ22A5U6.js} +13 -6
- package/dist/chunk-OQ22A5U6.js.map +7 -0
- package/dist/{chunk-HGGOQO7A.js → chunk-OSNB4BPE.js} +1 -1
- package/dist/chunk-OSNB4BPE.js.map +7 -0
- package/dist/{chunk-HTXHM6L3.js → chunk-R5GCM62W.js} +2 -2
- package/dist/chunk-R5GCM62W.js.map +7 -0
- package/dist/{chunk-46EV26PW.js → chunk-RD3RUK2N.js} +2 -2
- package/dist/chunk-RD3RUK2N.js.map +7 -0
- package/dist/{chunk-TZVDWFVR.js → chunk-RMYPWPMS.js} +2 -2
- package/dist/chunk-RMYPWPMS.js.map +7 -0
- package/dist/{chunk-M6ZAILJY.js → chunk-SX5PCXCH.js} +2 -2
- package/dist/chunk-SX5PCXCH.js.map +7 -0
- package/dist/{chunk-6K7C3BGV.js → chunk-VGRVU3IL.js} +2 -2
- package/dist/chunk-VGRVU3IL.js.map +7 -0
- package/dist/chunk-YOV2DMM7.js +18 -0
- package/dist/chunk-YOV2DMM7.js.map +7 -0
- package/dist/components/alert/bl-alert.d.ts +7 -6
- package/dist/components/alert/bl-alert.d.ts.map +1 -1
- package/dist/components/alert/bl-alert.js +1 -1
- package/dist/components/badge/bl-badge.d.ts +5 -5
- package/dist/components/badge/bl-badge.d.ts.map +1 -1
- package/dist/components/badge/bl-badge.js +1 -1
- package/dist/components/button/bl-button.d.ts +9 -9
- package/dist/components/button/bl-button.d.ts.map +1 -1
- package/dist/components/button/bl-button.js +1 -1
- package/dist/components/checkbox-group/bl-checkbox-group.d.ts +3 -3
- package/dist/components/checkbox-group/bl-checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/bl-checkbox-group.js +1 -1
- package/dist/components/checkbox-group/bl-checkbox-group.test.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox/bl-checkbox.d.ts +4 -4
- package/dist/components/checkbox-group/checkbox/bl-checkbox.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox/bl-checkbox.js +1 -1
- package/dist/components/dialog/bl-dialog.d.ts +3 -3
- package/dist/components/dialog/bl-dialog.js +1 -1
- package/dist/components/dialog/bl-dialog.stories.d.ts +1 -1
- package/dist/components/dialog/bl-dialog.stories.d.ts.map +1 -1
- package/dist/components/dialog/bl-dialog.stories.js +6 -7
- package/dist/components/dialog/bl-dialog.stories.js.map +3 -3
- package/dist/components/drawer/bl-drawer.d.ts +4 -4
- package/dist/components/drawer/bl-drawer.d.ts.map +1 -1
- package/dist/components/drawer/bl-drawer.js +1 -1
- package/dist/components/dropdown/bl-dropdown.d.ts +4 -4
- package/dist/components/dropdown/bl-dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/bl-dropdown.js +1 -1
- package/dist/components/dropdown/bl-dropdown.test.d.ts +1 -1
- package/dist/components/dropdown/group/bl-dropdown-group.d.ts +1 -1
- package/dist/components/dropdown/group/bl-dropdown-group.d.ts.map +1 -1
- package/dist/components/dropdown/group/bl-dropdown-group.js +1 -1
- package/dist/components/dropdown/item/bl-dropdown-item.d.ts +3 -3
- package/dist/components/dropdown/item/bl-dropdown-item.d.ts.map +1 -1
- package/dist/components/dropdown/item/bl-dropdown-item.js +1 -1
- package/dist/components/icon/bl-icon.d.ts +3 -3
- package/dist/components/icon/bl-icon.d.ts.map +1 -1
- package/dist/components/icon/bl-icon.js +1 -1
- package/dist/components/icon/icon-list.d.ts +2 -2
- package/dist/components/icon/icon-list.d.ts.map +1 -1
- package/dist/components/icon/icon-list.js +1 -1
- package/dist/components/icon/icon-list.js.map +2 -2
- package/dist/components/input/bl-input.d.ts +12 -10
- package/dist/components/input/bl-input.d.ts.map +1 -1
- package/dist/components/input/bl-input.js +1 -1
- package/dist/components/pagination/bl-pagination.d.ts +5 -5
- package/dist/components/pagination/bl-pagination.d.ts.map +1 -1
- package/dist/components/pagination/bl-pagination.js +1 -1
- package/dist/components/popover/bl-popover.d.ts +3 -3
- package/dist/components/popover/bl-popover.d.ts.map +1 -1
- package/dist/components/popover/bl-popover.js +1 -1
- package/dist/components/progress-indicator/bl-progress-indicator.d.ts +3 -3
- package/dist/components/progress-indicator/bl-progress-indicator.js +1 -1
- package/dist/components/radio-group/bl-radio-group.d.ts +3 -3
- package/dist/components/radio-group/bl-radio-group.d.ts.map +1 -1
- package/dist/components/radio-group/bl-radio-group.js +1 -1
- package/dist/components/radio-group/radio/bl-radio.d.ts +1 -1
- package/dist/components/radio-group/radio/bl-radio.d.ts.map +1 -1
- package/dist/components/radio-group/radio/bl-radio.js +1 -1
- package/dist/components/select/bl-select.d.ts +8 -8
- package/dist/components/select/bl-select.d.ts.map +1 -1
- package/dist/components/select/bl-select.js +1 -1
- package/dist/components/select/option/bl-select-option.d.ts +3 -3
- package/dist/components/select/option/bl-select-option.d.ts.map +1 -1
- package/dist/components/select/option/bl-select-option.js +1 -1
- package/dist/components/switch/bl-switch.d.ts +1 -1
- package/dist/components/switch/bl-switch.js +1 -1
- package/dist/components/tab-group/bl-tab-group.d.ts +6 -6
- package/dist/components/tab-group/bl-tab-group.d.ts.map +1 -1
- package/dist/components/tab-group/bl-tab-group.js +1 -1
- package/dist/components/tab-group/tab/bl-tab.d.ts +3 -3
- package/dist/components/tab-group/tab/bl-tab.d.ts.map +1 -1
- package/dist/components/tab-group/tab/bl-tab.js +1 -1
- package/dist/components/tab-group/tab-panel/bl-tab-panel.d.ts +2 -2
- package/dist/components/tab-group/tab-panel/bl-tab-panel.js +1 -1
- package/dist/components/textarea/bl-textarea.d.ts +6 -6
- package/dist/components/textarea/bl-textarea.d.ts.map +1 -1
- package/dist/components/textarea/bl-textarea.js +1 -1
- package/dist/components/tooltip/bl-tooltip.d.ts +4 -4
- package/dist/components/tooltip/bl-tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/bl-tooltip.js +1 -1
- package/dist/custom-elements.json +493 -69
- package/dist/themes/default.css.map +1 -1
- package/dist/utilities/chromatic-decorators.d.ts +2 -2
- package/dist/utilities/chromatic-decorators.d.ts.map +1 -1
- package/dist/utilities/event.d.ts.map +1 -1
- package/dist/utilities/string-boolean.converter.d.ts +1 -1
- package/package.json +36 -29
- package/dist/chunk-22Q2A3WS.js +0 -11
- package/dist/chunk-22Q2A3WS.js.map +0 -7
- package/dist/chunk-2S3YIXLP.js.map +0 -7
- package/dist/chunk-46EV26PW.js.map +0 -7
- package/dist/chunk-6K7C3BGV.js.map +0 -7
- package/dist/chunk-A42CHPBQ.js +0 -11
- package/dist/chunk-A7DGJXEE.js +0 -18
- package/dist/chunk-A7DGJXEE.js.map +0 -7
- package/dist/chunk-ANYJUR6Q.js +0 -2
- package/dist/chunk-ANYJUR6Q.js.map +0 -7
- package/dist/chunk-BACB2XRD.js +0 -37
- package/dist/chunk-BACB2XRD.js.map +0 -7
- package/dist/chunk-EUBAYBYO.js +0 -43
- package/dist/chunk-EUBAYBYO.js.map +0 -7
- package/dist/chunk-FPMKZ54Q.js +0 -11
- package/dist/chunk-HGGOQO7A.js.map +0 -7
- package/dist/chunk-HTXHM6L3.js.map +0 -7
- package/dist/chunk-IBIMAAYG.js.map +0 -7
- package/dist/chunk-IRM2I2KP.js +0 -23
- package/dist/chunk-IRM2I2KP.js.map +0 -7
- package/dist/chunk-J7L24WMK.js +0 -49
- package/dist/chunk-J7L24WMK.js.map +0 -7
- package/dist/chunk-JDCH6CPC.js.map +0 -7
- package/dist/chunk-JJFKQTCC.js.map +0 -7
- package/dist/chunk-LUJQ5BMO.js.map +0 -7
- package/dist/chunk-M6ZAILJY.js.map +0 -7
- package/dist/chunk-N72CM74X.js.map +0 -7
- package/dist/chunk-NJ34F3AF.js.map +0 -7
- package/dist/chunk-OEWLCX2T.js.map +0 -7
- package/dist/chunk-RLMJN536.js.map +0 -7
- package/dist/chunk-TQGTQR3B.js.map +0 -7
- package/dist/chunk-TQLVA27P.js.map +0 -7
- package/dist/chunk-TZVDWFVR.js.map +0 -7
- package/dist/chunk-U3DGIAPK.js.map +0 -7
- package/dist/chunk-XSWME4GN.js +0 -32
- package/dist/chunk-XSWME4GN.js.map +0 -7
- /package/dist/{chunk-A42CHPBQ.js.map → chunk-3USCFSFQ.js.map} +0 -0
- /package/dist/{chunk-FPMKZ54Q.js.map → chunk-6LT7O7T2.js.map} +0 -0
- /package/dist/{chunk-3WPZVKAO.js.map → chunk-DINNT5P2.js.map} +0 -0
package/README.md
CHANGED
|
@@ -29,8 +29,8 @@ Web implementation of the design system is created as native web components so i
|
|
|
29
29
|
Preferred way of using Baklava is using it via CDN. Just import library JS and CSS files to your main document like below:
|
|
30
30
|
|
|
31
31
|
```html
|
|
32
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@trendyol/baklava@2.
|
|
33
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@trendyol/baklava@2.
|
|
32
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@trendyol/baklava@2.2.0/dist/themes/default.css" />
|
|
33
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@trendyol/baklava@2.2.0/dist/baklava.js"></script>
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
This way library will be served from a very high performant CDN and all of the Baklava web components will be ready to use inside your web project.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4ZM7.29289 16.7071C7.68342 17.0976 8.31658 17.0976 8.70711 16.7071C9.09763 16.3166 9.09763 15.6834 8.70711 15.2929L5.41421 12L8.70711 8.70711C9.09763 8.31658 9.09763 7.68342 8.70711 7.29289C8.31658 6.90237 7.68342 6.90237 7.29289 7.29289L3.29289 11.2929C2.90237 11.6834 2.90237 12.3166 3.29289 12.7071L7.29289 16.7071ZM15.2929 7.29289C15.6834 6.90237 16.3166 6.90237 16.7071 7.29289L20.7071 11.2929C21.0976 11.6834 21.0976 12.3166 20.7071 12.7071L16.7071 16.7071C16.3166 17.0976 15.6834 17.0976 15.2929 16.7071C14.9024 16.3166 14.9024 15.6834 15.2929 15.2929L18.5858 12L15.2929 8.70711C14.9024 8.31658 14.9024 7.68342 15.2929 7.29289ZM13.9866 6.1644C14.0773 5.61963 13.7093 5.1044 13.1646 5.01361C12.6198 4.92281 12.1046 5.29083 12.0138 5.8356L10.0138 17.8356C9.92297 18.3804 10.291 18.8956 10.8358 18.9864C11.3805 19.0772 11.8958 18.7092 11.9866 18.1644L13.9866 6.1644Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 0C1.34315 0 0 1.34315 0 3V14C0 15.6569 1.34315 17 3 17H5V8C5 6.34315 6.34315 5 8 5H17V3C17 1.34315 15.6569 0 14 0H3ZM7 10C7 8.34315 8.34315 7 10 7H21C22.6569 7 24 8.34315 24 10V21C24 22.6569 22.6569 24 21 24H19.0083H10C8.34314 24 7 22.6569 7 21V10ZM19.7433 13.669C20.1128 13.2584 20.0795 12.6262 19.669 12.2567C19.2585 11.8872 18.6262 11.9205 18.2567 12.331L14.4618 16.5476L12.7071 14.7929C12.3166 14.4024 11.6834 14.4024 11.2929 14.7929C10.9024 15.1834 10.9024 15.8166 11.2929 16.2071L13.7929 18.7071C13.9869 18.9011 14.252 19.0069 14.5263 18.9996C14.8005 18.9924 15.0598 18.8729 15.2433 18.669L19.7433 13.669Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0ZM9 4C8.44772 4 8 4.44772 8 5V19C8 19.5523 8.44772 20 9 20C9.55228 20 10 19.5523 10 19V14L17.6788 10.9285C18.517 10.5932 18.517 9.40678 17.6788 9.07152L10 6V5C10 4.44772 9.55228 4 9 4Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.5972 1.5415C15.424 1.1844 16.3118 1 17.2095 1C18.1071 1 18.9949 1.1844 19.8218 1.5415C20.6484 1.89849 21.3967 2.4205 22.025 3.07565C22.6537 3.73057 23.1503 4.50596 23.4884 5.35646C23.8265 6.20691 24 7.1171 24 8.03541C24 8.95371 23.8265 9.86391 23.4884 10.7144C23.1503 11.5648 22.6538 12.3401 22.0252 12.995L12.7213 22.6923C12.5327 22.8889 12.2721 23 11.9997 23C11.7273 23 11.4667 22.8889 11.2781 22.6923L1.97426 12.995C1.67856 12.6868 1.41345 12.3535 1.18072 12H4C4.26522 12 4.51957 11.8946 4.70711 11.7071L5.91708 10.4971L9.21913 14.6247C9.39682 14.8468 9.66069 14.9827 9.9447 14.9985C10.2287 15.0142 10.506 14.9082 10.7071 14.7071L13.4142 12H15C15.5523 12 16 11.5523 16 11C16 10.4477 15.5523 10 15 10H13C12.7348 10 12.4804 10.1054 12.2929 10.2929L10.0829 12.5029L6.78087 8.37531C6.60318 8.15319 6.33931 8.01726 6.0553 8.00153C5.77129 7.9858 5.49402 8.09176 5.29289 8.2929L3.58579 10H0.270106C0.0922887 9.36646 0 8.70538 0 8.03541C0 6.18272 0.705738 4.39798 1.97426 3.07582C3.24413 1.75224 4.9755 1.0006 6.78997 1.0006C8.60445 1.0006 10.3358 1.75224 11.6057 3.07582C11.6123 3.08271 11.6188 3.08969 11.6252 3.09677L12 3.5L12.374 3.09696C12.3805 3.08987 12.387 3.08288 12.3936 3.07599C13.022 2.42067 13.7704 1.89854 14.5972 1.5415Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2 0C1.44775 0 1 0.447723 1 1V3C1 3.55228 1.44775 4 2 4H22C22.5522 4 23 3.55228 23 3V1C23 0.447723 22.5522 0 22 0H2Z" fill="currentColor"/>
|
|
3
|
+
<path d="M10 6H2.8335L1.52393 10.2858C1.17676 11.4223 1 12.6041 1 13.7924V22C1 23.1046 1.89551 24 3 24H21C22.1045 24 23 23.1046 23 22V13.7924C23 12.6041 22.8232 11.4223 22.4761 10.2858L21.1665 6H14V9.19098C14 9.56268 13.6089 9.80441 13.2764 9.63818L12.2236 9.11182C12.1812 9.09048 12.1362 9.07562 12.0903 9.06723C11.9849 9.04788 11.8745 9.06274 11.7764 9.11182L10.7236 9.63818C10.3911 9.80441 10 9.56268 10 9.19098V6Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13.0316 1.14459C13.0316 0.480236 13.5721 -0.0652185 14.2326 0.00632196C19.3631 0.562024 23.4379 4.63673 23.9937 9.767C24.0652 10.4275 23.5198 10.968 22.8554 10.968H14.034C13.4804 10.968 13.0316 10.5192 13.0316 9.96562V1.14459Z" fill="currentColor"/>
|
|
3
|
+
<path d="M9.77697 1.07866C10.4539 0.974634 11.0267 1.52733 11.0267 2.2122V10.9689C11.0267 12.0761 11.9243 12.9737 13.0316 12.9737H21.7886C22.4735 12.9737 23.0262 13.5465 22.9222 14.2234C22.6674 15.8811 22.0527 17.4706 21.1131 18.8768C19.8464 20.7725 18.046 22.25 15.9395 23.1225C13.8331 23.995 11.5152 24.2233 9.27896 23.7785C7.04276 23.3337 4.98868 22.2358 3.37646 20.6237C1.76425 19.0115 0.66632 16.9575 0.221512 14.7214C-0.223297 12.4852 0.00499487 10.1674 0.877518 8.06106C1.75004 5.95467 3.22761 4.15432 5.12337 2.88766C6.52965 1.94804 8.1192 1.33341 9.77697 1.07866Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 3C2 1.34315 3.34315 0 5 0H19C20.6569 0 22 1.34315 22 3V21C22 22.6569 20.6569 24 19 24H5C3.34315 24 2 22.6569 2 21V3ZM12.4298 3.47691C12.4298 3.2001 12.6551 2.97283 12.9303 3.00263C15.0679 3.23418 16.7658 4.93197 16.9974 7.06958C17.0272 7.34479 16.7999 7.57001 16.5231 7.57001H12.8475C12.6168 7.57001 12.4298 7.38301 12.4298 7.15234V3.47691ZM11.0737 3.44944C11.3558 3.4061 11.5945 3.63639 11.5945 3.92175V7.57036C11.5945 8.0317 11.9685 8.40569 12.4298 8.40569H16.0786C16.364 8.40569 16.5942 8.64438 16.5509 8.92643C16.4447 9.61713 16.1886 10.2794 15.7971 10.8653C15.2693 11.6552 14.5192 12.2708 13.6415 12.6344C12.7638 12.9979 11.798 13.093 10.8662 12.9077C9.93448 12.7224 9.07862 12.2649 8.40686 11.5932C7.7351 10.9215 7.27763 10.0656 7.0923 9.1339C6.90696 8.20218 7.00208 7.23643 7.36563 6.35877C7.72918 5.48111 8.34484 4.73097 9.13474 4.20319C9.72069 3.81168 10.383 3.55559 11.0737 3.44944ZM6 16C6 15.4477 6.44772 15 7 15H17C17.5523 15 18 15.4477 18 16C18 16.5523 17.5523 17 17 17H7C6.44771 17 6 16.5523 6 16ZM6 20C6 19.4477 6.44772 19 7 19H12C12.5523 19 13 19.4477 13 20C13 20.5523 12.5523 21 12 21H7C6.44772 21 6 20.5523 6 20Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.60996 11.6435L0.555663 9.59717C0.416152 9.55913 0.290271 9.48135 0.193318 9.37327C0.0963631 9.26519 0.0325029 9.13147 0.00951562 8.98838C-0.0134717 8.84528 0.00540231 8.69898 0.0638287 8.56723C0.122257 8.43548 0.217732 8.32397 0.338645 8.24624L6.10489 4.46497C6.58303 4.15013 7.15815 4.01574 7.729 4.08544L10.4743 4.55648C13.7791 1.66817 18.0076 0.0573732 22.4102 0.00969931L23.4658 0.000124602C23.5355 -0.00141355 23.6048 0.0113031 23.6696 0.0374979C23.7345 0.0636932 23.7934 0.102806 23.8429 0.152472C23.8924 0.202139 23.9314 0.261318 23.9575 0.326377C23.9836 0.391437 23.9963 0.461022 23.9947 0.530892L24 1.62844C23.9094 6.01138 22.2845 10.2078 19.41 13.4825L19.8764 16.2285C19.9459 16.8014 19.8119 17.3785 19.4982 17.8583L15.7301 23.6447C15.6555 23.7682 15.5464 23.8669 15.4162 23.9287C15.2861 23.9906 15.1404 24.0129 14.997 23.9929C14.8537 23.9729 14.7188 23.9115 14.6089 23.8162C14.499 23.7209 14.4188 23.5958 14.3781 23.4563L12.3213 18.3549C12.2451 18.3817 12.1793 18.4044 12.111 18.4279C12.0169 18.4603 11.9182 18.4944 11.7812 18.543C11.55 18.6251 11.3327 18.6876 11.1075 18.7524L11.0921 18.7569L10.9957 18.7828C10.1941 19.0124 9.34381 19.0213 8.53343 18.8086C7.72305 18.5958 6.98232 18.1693 6.38855 17.5735C5.79478 16.9776 5.36973 16.2343 5.15775 15.4211C4.94577 14.6079 4.95463 13.7546 5.18341 12.9502C5.22462 12.8214 5.26337 12.6934 5.30055 12.5705C5.33356 12.4615 5.36534 12.3565 5.3965 12.2587C5.45221 12.0838 5.51414 11.911 5.57532 11.7402C5.58691 11.7079 5.59847 11.6756 5.60996 11.6435ZM20.4201 5.89718C20.3019 5.31457 20.0146 4.77854 19.5944 4.35688C19.0309 3.79146 18.2689 3.47166 17.4758 3.46784C16.6828 3.46402 15.9237 3.77648 15.3657 4.3365C14.9495 4.75412 14.6673 5.2874 14.5547 5.8689C14.4421 6.4504 14.5042 7.05401 14.7332 7.60338C14.9621 8.15276 15.3476 8.62324 15.8409 8.95532C16.3342 9.2874 16.9132 9.46615 17.5046 9.469C18.0959 9.47185 18.6732 9.29866 19.1634 8.97133C19.6535 8.64399 20.0345 8.1772 20.2582 7.63001C20.4819 7.08282 20.5382 6.47979 20.4201 5.89718Z" fill="currentColor"/>
|
|
3
|
+
<path d="M4.90275 22.2479L0.70447 23.6949C0.651998 23.7124 0.595553 23.7149 0.541496 23.7019C0.487438 23.6889 0.437912 23.6611 0.398508 23.6216C0.359103 23.582 0.331372 23.5323 0.318457 23.4781C0.30554 23.4238 0.307946 23.3672 0.325397 23.3145L1.76446 19.0986C1.93235 18.6176 2.24422 18.2016 2.65769 17.9069C3.07116 17.6123 3.56619 17.4534 4.07558 17.4518C4.65525 17.4561 5.21668 17.6661 5.66058 18.0444C6.10448 18.4228 6.40226 18.9452 6.50127 19.5192C6.60028 20.0933 6.49414 20.6821 6.20161 21.1814C5.90908 21.6808 5.44901 22.0585 4.90275 22.2479Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0C1.79086 0 0 1.79086 0 4V20C0 22.2091 1.79086 24 4 24H20C22.2091 24 24 22.2091 24 20V4C24 1.79086 22.2091 0 20 0H4ZM5.99989 9.00034H14V10.0002C13.9998 10.1981 14.0584 10.3916 14.1683 10.5561C14.2782 10.7207 14.4344 10.849 14.6172 10.9247C14.8 11.0005 15.0012 11.0203 15.1953 10.9816C15.3894 10.943 15.5676 10.8476 15.7075 10.7076L18.7075 8.70787C18.8005 8.61501 18.8742 8.50473 18.9246 8.38335C18.9749 8.26196 19.0008 8.13185 19.0008 8.00045C19.0008 7.86905 18.9749 7.73894 18.9246 7.61755C18.8742 7.49617 18.8005 7.38589 18.7075 7.29303L15.7075 5.29325C15.5676 5.15326 15.3894 5.0579 15.1953 5.01926C15.0012 4.98061 14.8 5.00041 14.6172 5.07616C14.4344 5.1519 14.2782 5.28018 14.1683 5.44476C14.0584 5.60933 13.9998 5.8028 14 6.00068V7.00056H5.99989C5.44766 7.00056 5 7.44823 5 8.00045C5 8.55267 5.44766 9.00034 5.99989 9.00034ZM18.0001 16.9994H10V17.9993C10.0002 18.1972 9.94159 18.3907 9.83172 18.5552C9.72185 18.7198 9.56561 18.8481 9.38279 18.9238C9.19997 18.9996 8.99878 19.0194 8.80469 18.9807C8.61061 18.9421 8.43235 18.8467 8.2925 18.7067L5.2925 16.707C5.19952 16.6141 5.12576 16.5038 5.07544 16.3824C5.02512 16.2611 4.99921 16.131 4.99921 15.9996C4.99921 15.8681 5.02512 15.738 5.07544 15.6167C5.12576 15.4953 5.19952 15.385 5.2925 15.2921L8.2925 13.2924C8.43235 13.1524 8.61061 13.057 8.80469 13.0184C8.99878 12.9797 9.19997 12.9995 9.38279 13.0753C9.56561 13.151 9.72185 13.2793 9.83172 13.4439C9.94159 13.6084 10.0002 13.8019 10 13.9998V14.9997H18.0001C18.5523 14.9997 19 15.4473 19 15.9996C19 16.5518 18.5523 16.9994 18.0001 16.9994Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM5.50017 14.5192C5.5069 13.8408 6.1609 13.52 6.67396 13.6331C8.95961 14.1369 13.5297 14.676 17.3983 13.6656C17.9145 13.5307 18.6083 13.8409 18.6094 14.5468C18.6116 15.9086 17.7866 17.155 16.5985 18.0392C15.4028 18.929 13.7833 19.5 12.0547 19.5C10.3204 19.5 8.69573 18.9252 7.49878 18.0301C6.3094 17.1407 5.48659 15.887 5.50017 14.5192ZM6 9.59999C6 8.93725 6.53726 8.39999 7.2 8.39999C7.86274 8.39999 8.4 8.93725 8.4 9.59999C8.4 10.2627 7.86274 10.8 7.2 10.8C6.53726 10.8 6 10.2627 6 9.59999ZM16.8001 8.39999C16.1374 8.39999 15.6001 8.93725 15.6001 9.59999C15.6001 10.2627 16.1374 10.8 16.8001 10.8C17.4628 10.8 18.0001 10.2627 18.0001 9.59999C18.0001 8.93725 17.4628 8.39999 16.8001 8.39999Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM9.17082 8.33542C9.35606 7.96494 9.20589 7.51443 8.83541 7.32919C8.46493 7.14395 8.01442 7.29412 7.82918 7.6646C7.47382 8.37533 6.75751 8.75001 6 8.75001C5.58579 8.75001 5.25 9.0858 5.25 9.50001C5.25 9.91423 5.58579 10.25 6 10.25C7.24249 10.25 8.52618 9.62469 9.17082 8.33542ZM15.1646 7.32919C14.7941 7.51443 14.6439 7.96494 14.8292 8.33542C15.4738 9.62469 16.7575 10.25 18 10.25C18.4142 10.25 18.75 9.91423 18.75 9.50001C18.75 9.0858 18.4142 8.75001 18 8.75001C17.2425 8.75001 16.5262 8.37533 16.1708 7.6646C15.9856 7.29412 15.5351 7.14395 15.1646 7.32919ZM15.0892 16.9046C16.4556 17.0637 17 17.1271 17 16.2358C17 14.4487 15.6819 13 12 13C8.3181 13 7 14.4487 7 16.2358C7 17.1271 7.54442 17.0637 8.91082 16.9046C9.67054 16.8162 10.6844 16.6981 12 16.6981C13.3156 16.6981 14.3295 16.8162 15.0892 16.9046Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
package/dist/baklava-react.d.ts
CHANGED
|
@@ -1,31 +1,74 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type EventName, ReactWebComponent } from "@lit-labs/react";
|
|
3
|
-
import { ISelectOption } from "./components/select/bl-select";
|
|
4
1
|
import type BlAlertType from "./components/alert/bl-alert";
|
|
5
2
|
import type BlBadgeType from "./components/badge/bl-badge";
|
|
6
3
|
import type BlButtonType from "./components/button/bl-button";
|
|
7
4
|
import type BlCheckboxGroupType from "./components/checkbox-group/bl-checkbox-group";
|
|
5
|
+
import type BlCheckboxType from "./components/checkbox-group/checkbox/bl-checkbox";
|
|
8
6
|
import type BlDialogType from "./components/dialog/bl-dialog";
|
|
9
7
|
import type BlDrawerType from "./components/drawer/bl-drawer";
|
|
10
8
|
import type BlDropdownType from "./components/dropdown/bl-dropdown";
|
|
9
|
+
import type BlDropdownGroupType from "./components/dropdown/group/bl-dropdown-group";
|
|
10
|
+
import type BlDropdownItemType from "./components/dropdown/item/bl-dropdown-item";
|
|
11
11
|
import type BlIconType from "./components/icon/bl-icon";
|
|
12
12
|
import type BlInputType from "./components/input/bl-input";
|
|
13
13
|
import type BlPaginationType from "./components/pagination/bl-pagination";
|
|
14
14
|
import type BlPopoverType from "./components/popover/bl-popover";
|
|
15
15
|
import type BlProgressIndicatorType from "./components/progress-indicator/bl-progress-indicator";
|
|
16
16
|
import type BlRadioGroupType from "./components/radio-group/bl-radio-group";
|
|
17
|
+
import type BlRadioType from "./components/radio-group/radio/bl-radio";
|
|
18
|
+
import { ISelectOption } from "./components/select/bl-select";
|
|
17
19
|
import type BlSelectType from "./components/select/bl-select";
|
|
20
|
+
import type BlSelectOptionType from "./components/select/option/bl-select-option";
|
|
18
21
|
import type BlSwitchType from "./components/switch/bl-switch";
|
|
19
22
|
import type BlTabGroupType from "./components/tab-group/bl-tab-group";
|
|
23
|
+
import type BlTabPanelType from "./components/tab-group/tab-panel/bl-tab-panel";
|
|
24
|
+
import type BlTabType from "./components/tab-group/tab/bl-tab";
|
|
20
25
|
import type BlTextareaType from "./components/textarea/bl-textarea";
|
|
21
26
|
import type BlTooltipType from "./components/tooltip/bl-tooltip";
|
|
22
|
-
import type
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
import { type EventName } from "@lit-labs/react";
|
|
28
|
+
import React from "react";
|
|
29
|
+
export declare type BlAlertClose = CustomEvent<boolean>;
|
|
30
|
+
export declare type BlButtonClick = CustomEvent<string>;
|
|
31
|
+
export declare type BlCheckboxGroupCheckboxGroupChange = CustomEvent<string[]>;
|
|
32
|
+
export declare type BlDialogDialogOpen = CustomEvent<object>;
|
|
33
|
+
export declare type BlDialogDialogRequestClose = CustomEvent<{
|
|
34
|
+
source: "close-button" | "keyboard" | "backdrop";
|
|
35
|
+
}>;
|
|
36
|
+
export declare type BlDialogDialogClose = CustomEvent<object>;
|
|
37
|
+
export declare type BlDrawerDrawerOpen = CustomEvent<string>;
|
|
38
|
+
export declare type BlDrawerDrawerClose = CustomEvent<string>;
|
|
39
|
+
export declare type BlDropdownDropdownOpen = CustomEvent<string>;
|
|
40
|
+
export declare type BlDropdownDropdownClose = CustomEvent<string>;
|
|
41
|
+
export declare type BlIconLoad = CustomEvent<string>;
|
|
42
|
+
export declare type BlIconError = CustomEvent<string>;
|
|
43
|
+
export declare type BlInputChange = CustomEvent<string>;
|
|
44
|
+
export declare type BlInputInput = CustomEvent<string>;
|
|
45
|
+
export declare type BlInputInvalid = CustomEvent<ValidityState>;
|
|
46
|
+
export declare type BlPaginationChange = CustomEvent<{
|
|
47
|
+
selectedPage: number;
|
|
48
|
+
prevPage: number;
|
|
49
|
+
itemsPerPage: number;
|
|
50
|
+
}>;
|
|
51
|
+
export declare type BlPopoverPopoverShow = CustomEvent<string>;
|
|
52
|
+
export declare type BlPopoverPopoverHide = CustomEvent<string>;
|
|
53
|
+
export declare type BlRadioGroupRadioChange = CustomEvent<string>;
|
|
54
|
+
export declare type BlSelectSelect = CustomEvent<ISelectOption[]>;
|
|
55
|
+
export declare type BlSwitchSwitchToggle = CustomEvent<boolean>;
|
|
56
|
+
export declare type BlTextareaInput = CustomEvent<string>;
|
|
57
|
+
export declare type BlTextareaChange = CustomEvent<string>;
|
|
58
|
+
export declare type BlTextareaInvalid = CustomEvent<ValidityState>;
|
|
59
|
+
export declare type BlTooltipTooltipShow = CustomEvent<string>;
|
|
60
|
+
export declare type BlTooltipTooltipHide = CustomEvent<string>;
|
|
61
|
+
export declare type BlCheckboxCheckboxChange = CustomEvent<boolean>;
|
|
62
|
+
export declare type BlCheckboxFocus = CustomEvent<string>;
|
|
63
|
+
export declare type BlCheckboxBlur = CustomEvent<string>;
|
|
64
|
+
export declare type BlDropdownItemDropdownItemClick = CustomEvent<string>;
|
|
65
|
+
export declare type BlRadioChecked = CustomEvent<string>;
|
|
66
|
+
export declare type BlRadioFocus = CustomEvent<string>;
|
|
67
|
+
export declare type BlRadioBlur = CustomEvent<string>;
|
|
68
|
+
export declare type BlSelectOptionSelectOption = CustomEvent<string | null>;
|
|
69
|
+
export declare type BlSelectOptionFocus = CustomEvent<string | null>;
|
|
70
|
+
export declare type BlSelectOptionBlur = CustomEvent<string | null>;
|
|
71
|
+
export declare type BlTabTabSelected = CustomEvent<string>;
|
|
29
72
|
export declare type BlAlert = BlAlertType;
|
|
30
73
|
export declare type BlBadge = BlBadgeType;
|
|
31
74
|
export declare type BlButton = BlButtonType;
|
|
@@ -51,92 +94,228 @@ export declare type BlRadio = BlRadioType;
|
|
|
51
94
|
export declare type BlSelectOption = BlSelectOptionType;
|
|
52
95
|
export declare type BlTab = BlTabType;
|
|
53
96
|
export declare type BlTabPanel = BlTabPanelType;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
export declare const
|
|
59
|
-
|
|
60
|
-
}>>;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
97
|
+
/**
|
|
98
|
+
* @tag bl-alert
|
|
99
|
+
* @summary Baklava Alert component
|
|
100
|
+
*/
|
|
101
|
+
export declare const BlAlert: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlAlertType, {
|
|
102
|
+
onBlClose: EventName<BlAlertClose>;
|
|
103
|
+
}>>;
|
|
104
|
+
/**
|
|
105
|
+
* @tag bl-badge
|
|
106
|
+
* @summary Baklava Badge component
|
|
107
|
+
*
|
|
108
|
+
* @cssproperty [--bl-badge-bg-color=--bl-color-primary-contrast] Sets the background color of badge
|
|
109
|
+
* @cssproperty [--bl-badge-color=--bl-color-primary] Sets the color of badge
|
|
110
|
+
*/
|
|
111
|
+
export declare const BlBadge: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlBadgeType, {}>>;
|
|
112
|
+
/**
|
|
113
|
+
* @tag bl-button
|
|
114
|
+
* @summary Baklava Button component
|
|
115
|
+
*
|
|
116
|
+
* @cssproperty [--bl-button-display=inline-block] Sets the display property of button
|
|
117
|
+
* @cssproperty [--bl-button-justify=center] Sets the justify-content property of button
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
export declare const BlButton: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlButtonType, {
|
|
121
|
+
onBlClick: EventName<BlButtonClick>;
|
|
122
|
+
}>>;
|
|
123
|
+
/**
|
|
124
|
+
* @tag bl-checkbox-group
|
|
125
|
+
* @summary Baklava Button component
|
|
126
|
+
*
|
|
127
|
+
* @cssproperty [--bl-checkbox-direction=row] Can be used for showing checkbox options as columns instead of rows. Options are `row` or `column`
|
|
128
|
+
*/
|
|
129
|
+
export declare const BlCheckboxGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlCheckboxGroupType, {
|
|
130
|
+
onBlCheckboxGroupChange: EventName<BlCheckboxGroupCheckboxGroupChange>;
|
|
131
|
+
}>>;
|
|
132
|
+
/**
|
|
133
|
+
* @tag bl-dialog
|
|
134
|
+
* @summary Baklava Dialog component
|
|
135
|
+
*/
|
|
136
|
+
export declare const BlDialog: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlDialogType, {
|
|
137
|
+
onBlDialogOpen: EventName<BlDialogDialogOpen>;
|
|
138
|
+
onBlDialogRequestClose: EventName<BlDialogDialogRequestClose>;
|
|
139
|
+
onBlDialogClose: EventName<BlDialogDialogClose>;
|
|
140
|
+
}>>;
|
|
141
|
+
/**
|
|
142
|
+
* @tag bl-drawer
|
|
143
|
+
* @summary Baklava Drawer component
|
|
144
|
+
*
|
|
145
|
+
* @cssproperty [--bl-drawer-animation-duration=250ms] Drawer slide in animation duration
|
|
146
|
+
*/
|
|
147
|
+
export declare const BlDrawer: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlDrawerType, {
|
|
148
|
+
onBlDrawerOpen: EventName<BlDrawerDrawerOpen>;
|
|
149
|
+
onBlDrawerClose: EventName<BlDrawerDrawerClose>;
|
|
150
|
+
}>>;
|
|
151
|
+
/**
|
|
152
|
+
* @tag bl-dropdown
|
|
153
|
+
* @summary Baklava Dropdown component
|
|
154
|
+
*/
|
|
155
|
+
export declare const BlDropdown: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlDropdownType, {
|
|
156
|
+
onBlDropdownOpen: EventName<BlDropdownDropdownOpen>;
|
|
157
|
+
onBlDropdownClose: EventName<BlDropdownDropdownClose>;
|
|
158
|
+
}>>;
|
|
159
|
+
/**
|
|
160
|
+
* @tag bl-icon
|
|
161
|
+
* @summary Baklava Icon component
|
|
162
|
+
*
|
|
163
|
+
* @cssproperty [font-size] Setting size of icon. Default is current font size in DOM place
|
|
164
|
+
* @cssproperty [color=currentColor] Setting color of icon
|
|
165
|
+
*/
|
|
166
|
+
export declare const BlIcon: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlIconType, {
|
|
167
|
+
onBlLoad: EventName<BlIconLoad>;
|
|
168
|
+
onBlError: EventName<BlIconError>;
|
|
169
|
+
}>>;
|
|
170
|
+
/**
|
|
171
|
+
* @tag bl-input
|
|
172
|
+
* @summary Baklava Input component
|
|
173
|
+
*
|
|
174
|
+
* @cssproperty [--bl-input-padding-start] Sets the padding start
|
|
175
|
+
* @cssproperty [--bl-input-padding-end] Sets the padding end
|
|
176
|
+
*/
|
|
177
|
+
export declare const BlInput: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlInputType, {
|
|
178
|
+
onBlChange: EventName<BlInputChange>;
|
|
179
|
+
onBlInput: EventName<BlInputInput>;
|
|
180
|
+
onBlInvalid: EventName<BlInputInvalid>;
|
|
181
|
+
}>>;
|
|
182
|
+
/**
|
|
183
|
+
* @tag bl-pagination
|
|
184
|
+
* @summary Baklava Pagination component
|
|
185
|
+
*/
|
|
186
|
+
export declare const BlPagination: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlPaginationType, {
|
|
187
|
+
onBlChange: EventName<BlPaginationChange>;
|
|
188
|
+
}>>;
|
|
189
|
+
/**
|
|
190
|
+
* @tag bl-popover
|
|
191
|
+
* @summary Baklava Popover component
|
|
192
|
+
*
|
|
193
|
+
* @cssproperty [--bl-popover-arrow-display=none] - Sets the display of popovers arrow. Set as `block` to make arrow visible.
|
|
194
|
+
* @cssproperty [--bl-popover-background-color=--bl-color-neutral-full] - Sets the background color of popover.
|
|
195
|
+
* @cssproperty [--bl-popover-border-color=--bl-color-primary-highlight] - Sets the border color of popover.
|
|
196
|
+
* @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.
|
|
197
|
+
* @cssproperty [--bl-popover-padding=--bl-size-m] - Sets the padding of popover.
|
|
198
|
+
* @cssproperty [--bl-popover-border-radius=--bl-size-3xs] - Sets the border radius of popover.
|
|
199
|
+
* @cssproperty [--bl-popover-max-width=100vw] - Sets the maximum width of the popover (including border and padding).
|
|
200
|
+
* @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.
|
|
201
|
+
*/
|
|
202
|
+
export declare const BlPopover: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlPopoverType, {
|
|
203
|
+
onBlPopoverShow: EventName<BlPopoverPopoverShow>;
|
|
204
|
+
onBlPopoverHide: EventName<BlPopoverPopoverHide>;
|
|
205
|
+
}>>;
|
|
206
|
+
/**
|
|
207
|
+
* @tag bl-progress-indicator
|
|
208
|
+
* @summary Baklava Progress Indicator component
|
|
209
|
+
*
|
|
210
|
+
* @cssproperty [--bl-progress-indicator-transition-duration=.2s] Duration of the transition of progress bar
|
|
211
|
+
* @property {max} [max=100]
|
|
212
|
+
* @property {number} [value=0]
|
|
213
|
+
*/
|
|
214
|
+
export declare const BlProgressIndicator: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlProgressIndicatorType, {}>>;
|
|
215
|
+
/**
|
|
216
|
+
* @tag bl-radio-group
|
|
217
|
+
* @summary Baklava Button component
|
|
218
|
+
*
|
|
219
|
+
* @cssproperty [--bl-radio-direction=row] Can be used for showing radio options as columns instead of rows. Options are `row` or `column`
|
|
220
|
+
* @cssproperty [--bl-radio-group-cross-axis-item-alignment=normal] Can be used for aligning radio items on cross axis. Acts same with align-item
|
|
221
|
+
* @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
|
|
222
|
+
* @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
|
|
223
|
+
*/
|
|
224
|
+
export declare const BlRadioGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlRadioGroupType, {
|
|
225
|
+
onBlRadioChange: EventName<BlRadioGroupRadioChange>;
|
|
226
|
+
}>>;
|
|
227
|
+
/**
|
|
228
|
+
* @tag bl-select
|
|
229
|
+
* @summary Baklava Select component
|
|
230
|
+
*
|
|
231
|
+
* @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.
|
|
232
|
+
*/
|
|
233
|
+
export declare const BlSelect: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlSelectType<string>, {
|
|
234
|
+
onBlSelect: EventName<BlSelectSelect>;
|
|
235
|
+
}>>;
|
|
236
|
+
/**
|
|
237
|
+
* @tag bl-switch
|
|
238
|
+
* @summary Baklava Switch component
|
|
239
|
+
*
|
|
240
|
+
* @cssproperty [--bl-switch-color-on=--bl-color-primary] Set the checked color
|
|
241
|
+
* @cssproperty [--bl-switch-color-off=--bl-color-neutral-lighter] Set the unchecked color
|
|
242
|
+
* @cssproperty [--bl-switch-animation-duration=300ms] Set the animation duration of switch toggle
|
|
243
|
+
*/
|
|
244
|
+
export declare const BlSwitch: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlSwitchType, {
|
|
245
|
+
onBlSwitchToggle: EventName<BlSwitchSwitchToggle>;
|
|
246
|
+
}>>;
|
|
247
|
+
/**
|
|
248
|
+
* @tag bl-tab-group
|
|
249
|
+
* @summary Baklava Tab group component
|
|
250
|
+
*/
|
|
251
|
+
export declare const BlTabGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlTabGroupType, {}>>;
|
|
252
|
+
/**
|
|
253
|
+
* @tag bl-textarea
|
|
254
|
+
* @summary Baklava Textarea component
|
|
255
|
+
*/
|
|
256
|
+
export declare const BlTextarea: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlTextareaType, {
|
|
257
|
+
onBlInput: EventName<BlTextareaInput>;
|
|
258
|
+
onBlChange: EventName<BlTextareaChange>;
|
|
259
|
+
onBlInvalid: EventName<BlTextareaInvalid>;
|
|
260
|
+
}>>;
|
|
261
|
+
/**
|
|
262
|
+
* @tag bl-tooltip
|
|
263
|
+
* @summary Baklava Tooltip component
|
|
264
|
+
* @dependency bl-popover
|
|
265
|
+
*
|
|
266
|
+
* @cssproperty [--bl-tooltip-trigger-display=inline-flex] Set the display of the tooltip trigger.
|
|
267
|
+
*/
|
|
268
|
+
export declare const BlTooltip: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlTooltipType, {
|
|
269
|
+
onBlTooltipShow: EventName<BlTooltipTooltipShow>;
|
|
270
|
+
onBlTooltipHide: EventName<BlTooltipTooltipHide>;
|
|
271
|
+
}>>;
|
|
272
|
+
/**
|
|
273
|
+
* @tag bl-checkbox
|
|
274
|
+
* @summary Baklava Checkbox component
|
|
275
|
+
*/
|
|
276
|
+
export declare const BlCheckbox: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlCheckboxType, {
|
|
277
|
+
onBlCheckboxChange: EventName<BlCheckboxCheckboxChange>;
|
|
278
|
+
onBlFocus: EventName<BlCheckboxFocus>;
|
|
279
|
+
onBlBlur: EventName<BlCheckboxBlur>;
|
|
280
|
+
}>>;
|
|
281
|
+
/**
|
|
282
|
+
* @tag bl-dropdown-group
|
|
283
|
+
* @summary Baklava Dropdown Group component
|
|
284
|
+
*/
|
|
285
|
+
export declare const BlDropdownGroup: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlDropdownGroupType, {}>>;
|
|
286
|
+
/**
|
|
287
|
+
* @tag bl-dropdown-item
|
|
288
|
+
* @summary Baklava Dropdown Item component
|
|
289
|
+
*/
|
|
290
|
+
export declare const BlDropdownItem: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlDropdownItemType, {
|
|
291
|
+
onBlDropdownItemClick: EventName<BlDropdownItemDropdownItemClick>;
|
|
292
|
+
}>>;
|
|
293
|
+
/**
|
|
294
|
+
* @tag bl-radio
|
|
295
|
+
* @summary Baklava Radio Option component
|
|
296
|
+
*
|
|
297
|
+
* @cssprop [--bl-radio-align-items=center] Align items of radio option
|
|
298
|
+
*/
|
|
299
|
+
export declare const BlRadio: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlRadioType, {
|
|
300
|
+
onBlChecked: EventName<BlRadioChecked>;
|
|
301
|
+
onBlFocus: EventName<BlRadioFocus>;
|
|
302
|
+
onBlBlur: EventName<BlRadioBlur>;
|
|
303
|
+
}>>;
|
|
304
|
+
export declare const BlSelectOption: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlSelectOptionType<string>, {
|
|
305
|
+
onBlSelectOption: EventName<BlSelectOptionSelectOption>;
|
|
306
|
+
onBlFocus: EventName<BlSelectOptionFocus>;
|
|
307
|
+
onBlBlur: EventName<BlSelectOptionBlur>;
|
|
308
|
+
}>>;
|
|
309
|
+
/**
|
|
310
|
+
* @tag bl-tab
|
|
311
|
+
* @summary Baklava Tab component
|
|
312
|
+
*/
|
|
313
|
+
export declare const BlTab: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlTabType, {
|
|
314
|
+
onBlTabSelected: EventName<BlTabTabSelected>;
|
|
315
|
+
}>>;
|
|
316
|
+
/**
|
|
317
|
+
* @tag bl-tab-panel
|
|
318
|
+
* @summary Baklava Tab panel component
|
|
319
|
+
*/
|
|
320
|
+
export declare const BlTabPanel: React.LazyExoticComponent<import("@lit-labs/react").ReactWebComponent<BlTabPanelType, {}>>;
|
|
142
321
|
//# sourceMappingURL=baklava-react.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baklava-react.d.ts","sourceRoot":"","sources":["../src/baklava-react.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"baklava-react.d.ts","sourceRoot":"","sources":["../src/baklava-react.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,mBAAmB,MAAM,+CAA+C,CAAC;AACrF,OAAO,KAAK,cAAc,MAAM,kDAAkD,CAAC;AACnF,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,mBAAmB,MAAM,+CAA+C,CAAC;AACrF,OAAO,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;GAGG;AACH,eAAO,MAAM,KAAK;qBAIO,UAAU,gBAAgB,CAAC;GASnD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,4FAUtB,CAAC"}
|
package/dist/baklava-react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./chunk-VO7C5OZC.js";
|
|
1
|
+
import"./chunk-VO7C5OZC.js";var h=new Set(["children","localName","ref","style","className"]),g=new WeakMap,v=(n,m,s,i,d)=>{let B=d==null?void 0:d[m];B===void 0||s===i?(n[m]=s,s==null&&m in HTMLElement.prototype&&n.removeAttribute(m)):((c,a,p)=>{let r=g.get(c);r===void 0&&g.set(c,r=new Map);let l=r.get(a);p!==void 0?l===void 0?(r.set(a,l={handleEvent:p}),c.addEventListener(a,l)):l.handleEvent=p:l!==void 0&&(r.delete(a),c.removeEventListener(a,l))})(n,B,s)},t=({react:n,tagName:m,elementClass:s,events:i,displayName:d})=>{let B=new Set(Object.keys(i!=null?i:{})),c=n.forwardRef((a,p)=>{let r=n.useRef(null),l=n.useRef(null),u={},y={};for(let[o,b]of Object.entries(a))h.has(o)?u[o==="className"?"class":o]=b:B.has(o)||o in s.prototype?y[o]=b:u[o]=b;return n.useLayoutEffect(()=>{if(l.current!==null){for(let o in y)v(l.current,o,a[o],r.current?r.current[o]:void 0,i);r.current=a}}),n.useLayoutEffect(()=>{var o;(o=l.current)===null||o===void 0||o.removeAttribute("defer-hydration")},[]),u.suppressHydrationWarning=!0,n.createElement(m,{...u,ref:o=>{l.current=o,typeof p=="function"?p(o):p!==null&&(p.current=o)}})});return c.displayName=d!=null?d:s.name,c};import e from"react";var D=e.lazy(()=>customElements.whenDefined("bl-alert").then(()=>({default:t({react:e,displayName:"BlAlert",tagName:"bl-alert",elementClass:customElements.get("bl-alert"),events:{onBlClose:"bl-close"}})}))),f=e.lazy(()=>customElements.whenDefined("bl-badge").then(()=>({default:t({react:e,displayName:"BlBadge",tagName:"bl-badge",elementClass:customElements.get("bl-badge"),events:{}})}))),N=e.lazy(()=>customElements.whenDefined("bl-button").then(()=>({default:t({react:e,displayName:"BlButton",tagName:"bl-button",elementClass:customElements.get("bl-button"),events:{onBlClick:"bl-click"}})}))),k=e.lazy(()=>customElements.whenDefined("bl-checkbox-group").then(()=>({default:t({react:e,displayName:"BlCheckboxGroup",tagName:"bl-checkbox-group",elementClass:customElements.get("bl-checkbox-group"),events:{onBlCheckboxGroupChange:"bl-checkbox-group-change"}})}))),I=e.lazy(()=>customElements.whenDefined("bl-dialog").then(()=>({default:t({react:e,displayName:"BlDialog",tagName:"bl-dialog",elementClass:customElements.get("bl-dialog"),events:{onBlDialogOpen:"bl-dialog-open",onBlDialogRequestClose:"bl-dialog-request-close",onBlDialogClose:"bl-dialog-close"}})}))),S=e.lazy(()=>customElements.whenDefined("bl-drawer").then(()=>({default:t({react:e,displayName:"BlDrawer",tagName:"bl-drawer",elementClass:customElements.get("bl-drawer"),events:{onBlDrawerOpen:"bl-drawer-open",onBlDrawerClose:"bl-drawer-close"}})}))),P=e.lazy(()=>customElements.whenDefined("bl-dropdown").then(()=>({default:t({react:e,displayName:"BlDropdown",tagName:"bl-dropdown",elementClass:customElements.get("bl-dropdown"),events:{onBlDropdownOpen:"bl-dropdown-open",onBlDropdownClose:"bl-dropdown-close"}})}))),G=e.lazy(()=>customElements.whenDefined("bl-icon").then(()=>({default:t({react:e,displayName:"BlIcon",tagName:"bl-icon",elementClass:customElements.get("bl-icon"),events:{onBlLoad:"bl-load",onBlError:"bl-error"}})}))),O=e.lazy(()=>customElements.whenDefined("bl-input").then(()=>({default:t({react:e,displayName:"BlInput",tagName:"bl-input",elementClass:customElements.get("bl-input"),events:{onBlChange:"bl-change",onBlInput:"bl-input",onBlInvalid:"bl-invalid"}})}))),R=e.lazy(()=>customElements.whenDefined("bl-pagination").then(()=>({default:t({react:e,displayName:"BlPagination",tagName:"bl-pagination",elementClass:customElements.get("bl-pagination"),events:{onBlChange:"bl-change"}})}))),z=e.lazy(()=>customElements.whenDefined("bl-popover").then(()=>({default:t({react:e,displayName:"BlPopover",tagName:"bl-popover",elementClass:customElements.get("bl-popover"),events:{onBlPopoverShow:"bl-popover-show",onBlPopoverHide:"bl-popover-hide"}})}))),F=e.lazy(()=>customElements.whenDefined("bl-progress-indicator").then(()=>({default:t({react:e,displayName:"BlProgressIndicator",tagName:"bl-progress-indicator",elementClass:customElements.get("bl-progress-indicator"),events:{}})}))),A=e.lazy(()=>customElements.whenDefined("bl-radio-group").then(()=>({default:t({react:e,displayName:"BlRadioGroup",tagName:"bl-radio-group",elementClass:customElements.get("bl-radio-group"),events:{onBlRadioChange:"bl-radio-change"}})}))),H=e.lazy(()=>customElements.whenDefined("bl-select").then(()=>({default:t({react:e,displayName:"BlSelect",tagName:"bl-select",elementClass:customElements.get("bl-select"),events:{onBlSelect:"bl-select"}})}))),L=e.lazy(()=>customElements.whenDefined("bl-switch").then(()=>({default:t({react:e,displayName:"BlSwitch",tagName:"bl-switch",elementClass:customElements.get("bl-switch"),events:{onBlSwitchToggle:"bl-switch-toggle"}})}))),q=e.lazy(()=>customElements.whenDefined("bl-tab-group").then(()=>({default:t({react:e,displayName:"BlTabGroup",tagName:"bl-tab-group",elementClass:customElements.get("bl-tab-group"),events:{}})}))),j=e.lazy(()=>customElements.whenDefined("bl-textarea").then(()=>({default:t({react:e,displayName:"BlTextarea",tagName:"bl-textarea",elementClass:customElements.get("bl-textarea"),events:{onBlInput:"bl-input",onBlChange:"bl-change",onBlInvalid:"bl-invalid"}})}))),M=e.lazy(()=>customElements.whenDefined("bl-tooltip").then(()=>({default:t({react:e,displayName:"BlTooltip",tagName:"bl-tooltip",elementClass:customElements.get("bl-tooltip"),events:{onBlTooltipShow:"bl-tooltip-show",onBlTooltipHide:"bl-tooltip-hide"}})}))),V=e.lazy(()=>customElements.whenDefined("bl-checkbox").then(()=>({default:t({react:e,displayName:"BlCheckbox",tagName:"bl-checkbox",elementClass:customElements.get("bl-checkbox"),events:{onBlCheckboxChange:"bl-checkbox-change",onBlFocus:"bl-focus",onBlBlur:"bl-blur"}})}))),W=e.lazy(()=>customElements.whenDefined("bl-dropdown-group").then(()=>({default:t({react:e,displayName:"BlDropdownGroup",tagName:"bl-dropdown-group",elementClass:customElements.get("bl-dropdown-group"),events:{}})}))),J=e.lazy(()=>customElements.whenDefined("bl-dropdown-item").then(()=>({default:t({react:e,displayName:"BlDropdownItem",tagName:"bl-dropdown-item",elementClass:customElements.get("bl-dropdown-item"),events:{onBlDropdownItemClick:"bl-dropdown-item-click"}})}))),K=e.lazy(()=>customElements.whenDefined("bl-radio").then(()=>({default:t({react:e,displayName:"BlRadio",tagName:"bl-radio",elementClass:customElements.get("bl-radio"),events:{onBlChecked:"bl-checked",onBlFocus:"bl-focus",onBlBlur:"bl-blur"}})}))),Q=e.lazy(()=>customElements.whenDefined("bl-select-option").then(()=>({default:t({react:e,displayName:"BlSelectOption",tagName:"bl-select-option",elementClass:customElements.get("bl-select-option"),events:{onBlSelectOption:"bl-select-option",onBlFocus:"bl-focus",onBlBlur:"bl-blur"}})}))),U=e.lazy(()=>customElements.whenDefined("bl-tab").then(()=>({default:t({react:e,displayName:"BlTab",tagName:"bl-tab",elementClass:customElements.get("bl-tab"),events:{onBlTabSelected:"bl-tab-selected"}})}))),X=e.lazy(()=>customElements.whenDefined("bl-tab-panel").then(()=>({default:t({react:e,displayName:"BlTabPanel",tagName:"bl-tab-panel",elementClass:customElements.get("bl-tab-panel"),events:{}})})));export{D as BlAlert,f as BlBadge,N as BlButton,V as BlCheckbox,k as BlCheckboxGroup,I as BlDialog,S as BlDrawer,P as BlDropdown,W as BlDropdownGroup,J as BlDropdownItem,G as BlIcon,O as BlInput,R as BlPagination,z as BlPopover,F as BlProgressIndicator,K as BlRadio,A as BlRadioGroup,H as BlSelect,Q as BlSelectOption,L as BlSwitch,U as BlTab,q as BlTabGroup,X as BlTabPanel,j as BlTextarea,M as BlTooltip};
|
|
2
2
|
/*! Bundled license information:
|
|
3
3
|
|
|
4
4
|
@lit-labs/react/create-component.js:
|