@logosphere-ui/core 0.0.0-alpha.5 → 0.0.0-alpha.50
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/AGENTS.md +1204 -0
- package/dist/AGENTS.md +1204 -0
- package/dist/accordion-CYuCj7nB.cjs +21 -0
- package/dist/accordion-cDabqwu6.js +96 -0
- package/dist/accordion.cjs +1 -0
- package/dist/accordion.js +4 -0
- package/dist/atoms/Badge/badge.d.ts +1 -1
- package/dist/atoms/Button/button.d.ts +5 -3
- package/dist/atoms/Checkbox/checkbox.d.ts +13 -3
- package/dist/atoms/FormField/formfield.d.ts +12 -0
- package/dist/atoms/Slider/index.d.ts +1 -0
- package/dist/atoms/Slider/slider.d.ts +54 -0
- package/dist/badge-BhINg1p5.js +72 -0
- package/dist/badge-CKSG_MyA.cjs +13 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/breadcrumb-BOuCLUJh.cjs +12 -0
- package/dist/breadcrumb-BeJqq-5C.js +41 -0
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button-CVkIa7M0.js +58 -0
- package/dist/button-vdNReBMi.cjs +10 -0
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar-C71sj3Ki.js +652 -0
- package/dist/calendar-DZJM5Tyu.cjs +88 -0
- package/dist/calendar.cjs +1 -0
- package/dist/calendar.js +4 -0
- package/dist/{card-CUhlTJyJ.js → card-C7xXMV3h.js} +26 -25
- package/dist/card-DmQRNKtk.cjs +43 -0
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/chatbot-BAou4THb.cjs +183 -0
- package/dist/chatbot-BRfqXYYt.js +564 -0
- package/dist/chatbot.cjs +1 -1
- package/dist/chatbot.js +2 -2
- package/dist/checkbox-BAbPDN6x.cjs +53 -0
- package/dist/checkbox-CTfbav6M.js +152 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chip-group-D4DwnC37.cjs +26 -0
- package/dist/chip-group-DzfOd6Vw.js +89 -0
- package/dist/chip-group.cjs +1 -0
- package/dist/chip-group.js +4 -0
- package/dist/collapse-CbRE8ABx.cjs +47 -0
- package/dist/collapse-DY6SJ9jS.js +141 -0
- package/dist/collapse.cjs +1 -0
- package/dist/collapse.js +4 -0
- package/dist/combobox-BAa3UAQs.cjs +113 -0
- package/dist/combobox-BR05Tgfd.js +460 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.js +1 -1
- package/dist/datepicker-BFYWQRrJ.js +382 -0
- package/dist/datepicker-BWE4qDJM.cjs +85 -0
- package/dist/datepicker.cjs +1 -1
- package/dist/datepicker.js +2 -2
- package/dist/{download-manager-A4fOxGWJ.js → download-manager-BPg-6Qfg.js} +4 -4
- package/dist/download-manager-DDeTYRPs.cjs +97 -0
- package/dist/download-manager.cjs +1 -1
- package/dist/download-manager.js +1 -1
- package/dist/drawer-CRu4G2zu.cjs +32 -0
- package/dist/drawer-DhuBPWHP.js +114 -0
- package/dist/drawer.cjs +1 -0
- package/dist/drawer.js +4 -0
- package/dist/formfield-JXiv9mvJ.cjs +33 -0
- package/dist/formfield-ss2mFweu.js +161 -0
- package/dist/formfield.cjs +1 -1
- package/dist/formfield.js +1 -1
- package/dist/icon.cjs +1 -0
- package/dist/icon.js +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.js +65 -32
- package/dist/index.umd.js +1613 -521
- package/dist/input-DyLKo7h6.cjs +60 -0
- package/dist/input-N3Z8D7q1.js +278 -0
- package/dist/input-group-C6sA1lzj.cjs +5 -0
- package/dist/input-group-DUPlrpug.js +66 -0
- package/dist/input-group.cjs +1 -0
- package/dist/input-group.js +4 -0
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/left-menu.cjs +1 -0
- package/dist/left-menu.js +5 -0
- package/dist/leftmenu-DiKo8iud.cjs +120 -0
- package/dist/leftmenu-DlU_G4Sj.js +373 -0
- package/dist/modal-g3KbWncV.cjs +84 -0
- package/dist/modal-vSjEpYrG.js +250 -0
- package/dist/modal.cjs +1 -1
- package/dist/modal.js +1 -1
- package/dist/molecules/Accordion/accordion.d.ts +42 -0
- package/dist/molecules/Accordion/index.d.ts +2 -0
- package/dist/molecules/Chip/chip-group.d.ts +29 -0
- package/dist/molecules/Chip/index.d.ts +2 -0
- package/dist/molecules/Collapse/collapse.d.ts +42 -0
- package/dist/molecules/Collapse/index.d.ts +2 -0
- package/dist/molecules/Input/input.d.ts +24 -1
- package/dist/molecules/InputGroup/index.d.ts +1 -0
- package/dist/molecules/InputGroup/input-group.d.ts +40 -0
- package/dist/molecules/Pagination/index.d.ts +1 -0
- package/dist/molecules/Pagination/pagination.d.ts +60 -0
- package/dist/molecules/Popover/popover.d.ts +5 -0
- package/dist/molecules/SplitButton/index.d.ts +2 -0
- package/dist/molecules/SplitButton/split-button.d.ts +53 -0
- package/dist/molecules/Stepper/index.d.ts +2 -0
- package/dist/molecules/Stepper/stepper.d.ts +34 -0
- package/dist/molecules/Textarea/text-area.d.ts +5 -2
- package/dist/molecules/TimePicker/index.d.ts +2 -0
- package/dist/molecules/TimePicker/timepicker.d.ts +62 -0
- package/dist/organisms/Calendar/calendar.d.ts +54 -0
- package/dist/organisms/Calendar/index.d.ts +1 -0
- package/dist/organisms/Calendar/shared.d.ts +9 -0
- package/dist/organisms/Chatbot/chatbot.d.ts +10 -1
- package/dist/organisms/Chatbot/index.d.ts +1 -1
- package/dist/organisms/Combobox/combobox.d.ts +39 -0
- package/dist/organisms/DatePicker/datepicker.d.ts +35 -33
- package/dist/organisms/Drawer/drawer.d.ts +30 -0
- package/dist/organisms/Drawer/index.d.ts +1 -0
- package/dist/organisms/LeftMenu/index.d.ts +2 -0
- package/dist/organisms/LeftMenu/leftmenu-types.d.ts +24 -0
- package/dist/organisms/LeftMenu/leftmenu.d.ts +60 -0
- package/dist/organisms/Modal/modal.d.ts +29 -4
- package/dist/organisms/Tab/tab.d.ts +13 -1
- package/dist/organisms/Toast/index.d.ts +2 -0
- package/dist/organisms/Toast/toast-container.d.ts +42 -0
- package/dist/organisms/Toast/toast.d.ts +48 -0
- package/dist/organisms/TreeMenu/index.d.ts +1 -0
- package/dist/organisms/TreeMenu/tree-menu.d.ts +59 -0
- package/dist/pagination-CjXvpE2j.js +360 -0
- package/dist/pagination-Nnzacqdo.cjs +169 -0
- package/dist/pagination.cjs +1 -0
- package/dist/pagination.js +4 -0
- package/dist/popover-CrXUbUR-.cjs +30 -0
- package/dist/popover-M5ZcS5rj.js +161 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.js +1 -1
- package/dist/shared/icons/index.d.ts +1 -0
- package/dist/shared/types/button.types.d.ts +7 -0
- package/dist/slider-DSRs5uhl.cjs +108 -0
- package/dist/slider-ntLRajQa.js +280 -0
- package/dist/slider.cjs +1 -0
- package/dist/slider.js +4 -0
- package/dist/split-button-BdBweoip.js +177 -0
- package/dist/split-button-BpffPlVg.cjs +63 -0
- package/dist/split-button.cjs +1 -0
- package/dist/split-button.js +4 -0
- package/dist/stepper-CZhwgLNp.js +122 -0
- package/dist/stepper-ZOMaU6aZ.cjs +52 -0
- package/dist/stepper.cjs +1 -0
- package/dist/stepper.js +4 -0
- package/dist/styles/main.css +186 -182
- package/dist/switch-Do6SCkPJ.cjs +17 -0
- package/dist/switch-uYVuohJ-.js +68 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/tab-BvRVHpWs.cjs +41 -0
- package/dist/tab-Byh4UgFB.js +204 -0
- package/dist/tab.cjs +1 -1
- package/dist/tab.js +1 -1
- package/dist/text-area-1rALZ0iy.js +239 -0
- package/dist/text-area-D_TYL4_q.cjs +51 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timepicker-B9l6HN-d.js +320 -0
- package/dist/timepicker-Bpf2d4Nn.cjs +119 -0
- package/dist/timepicker.cjs +1 -0
- package/dist/timepicker.js +4 -0
- package/dist/toast-container-C5qYjInG.js +274 -0
- package/dist/toast-container-D2dyP20J.cjs +64 -0
- package/dist/toast.cjs +1 -0
- package/dist/toast.js +6 -0
- package/dist/tree-menu-BZ7aBC7R.js +237 -0
- package/dist/tree-menu-DDQ_DYl7.cjs +78 -0
- package/dist/tree-menu.cjs +1 -0
- package/dist/tree-menu.js +4 -0
- package/dist/ui-icon-BeR-PaPg.js +75 -0
- package/dist/ui-icon-DWl7I5BQ.cjs +22 -0
- package/package.json +104 -15
- package/dist/badge-BbhaO73N.cjs +0 -13
- package/dist/badge-DE7Tgd8Z.js +0 -71
- package/dist/breadcrumb-B-4yqoJZ.js +0 -41
- package/dist/breadcrumb-Cop-B1J7.cjs +0 -12
- package/dist/button-C1EwOosO.js +0 -58
- package/dist/button-CDRccsk9.cjs +0 -10
- package/dist/card-n8ka8Zk-.cjs +0 -43
- package/dist/chatbot-Da_itUdJ.cjs +0 -160
- package/dist/chatbot-zkxngMRH.js +0 -481
- package/dist/checkbox-7Rb3WKGx.js +0 -119
- package/dist/checkbox-CdDTRdKV.cjs +0 -37
- package/dist/combobox-BJbI-Tgi.js +0 -268
- package/dist/combobox-pmE7bgEL.cjs +0 -99
- package/dist/datepicker-DFJx45C-.js +0 -750
- package/dist/datepicker-b9JGTTMx.cjs +0 -115
- package/dist/download-manager-BSIMTGaK.cjs +0 -97
- package/dist/formfield-D_7NFFoe.cjs +0 -27
- package/dist/formfield-d8fp9FTV.js +0 -118
- package/dist/input-BcnI1w3_.cjs +0 -46
- package/dist/input-Bj_7u8Iv.js +0 -192
- package/dist/modal-Bfc6WQSL.js +0 -110
- package/dist/modal-DQ8VFL-P.cjs +0 -39
- package/dist/popover-B7tCqk3R.js +0 -140
- package/dist/popover-C2p5Pmts.cjs +0 -30
- package/dist/switch-Cpl53nRW.js +0 -64
- package/dist/switch-Rnnn10bn.cjs +0 -17
- package/dist/tab-BKdN4xAz.js +0 -176
- package/dist/tab-DcjAlXzU.cjs +0 -40
- package/dist/text-area-BkHdLnZj.cjs +0 -44
- package/dist/text-area-CC24lj8v.js +0 -204
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { LitElement as u, unsafeCSS as b, css as f, nothing as s, html as i } from "lit";
|
|
2
|
+
import { property as l, state as m, query as g } from "lit/decorators.js";
|
|
3
|
+
import "./ui-icon-BeR-PaPg.js";
|
|
4
|
+
import "./button-CVkIa7M0.js";
|
|
5
|
+
const y = ':host{display:block}.modal__backdrop{position:fixed;inset:0;z-index:var(--z-index-modal-backdrop, 1050);display:flex;align-items:center;justify-content:center;background-color:#00000080;padding:var(--spacing-4, 16px);font-family:var(--font-family-base, "Inter", sans-serif);animation:modal-backdrop-fade-in .15s ease-out}@keyframes modal-backdrop-fade-in{0%{opacity:0}to{opacity:1}}.modal__dialog{width:100%;max-width:500px;max-height:calc(100vh - 48px);border-radius:var(--radius-lg, 12px);border:1px solid var(--color-border, #e0e0e0);overflow:hidden;box-shadow:0 8px 8px -4px #0000000a,0 20px 24px -4px #0000001a;background-color:var(--color-body-bg, white);display:flex;flex-direction:column;animation:modal-dialog-scale-in .15s ease-out}@keyframes modal-dialog-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal__dialog:focus{outline:none}.modal__dialog--sm{max-width:400px}.modal__dialog--md{max-width:500px}.modal__dialog--lg{max-width:720px}.modal__dialog--xl{max-width:900px}.modal__dialog--full{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}.modal__header{padding:var(--spacing-4, 16px) var(--spacing-2, 8px);border-bottom:1px solid var(--color-border, #e0e0e0);display:flex;align-items:center;flex-shrink:0}.modal__header-content{flex:1;min-width:0;display:flex;align-items:center;gap:var(--spacing-2, 8px);padding:0 var(--spacing-2, 8px)}.modal__header-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--color-body-text, #2b2b2b)}.modal__title{font-size:var(--font-size-md, 16px);font-weight:var(--font-weight-semibold, 600);color:var(--color-emphasis, black);margin:0;line-height:1.2;letter-spacing:-.16px}.modal__header-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:var(--spacing-2, 8px);border:none;background:transparent;border-radius:var(--radius-base, 8px);cursor:pointer;color:var(--color-secondary, #565656);transition:background-color .15s ease,color .15s ease;flex-shrink:0}.modal__header-btn:hover{background-color:var(--color-body-bg-hover, #f5f5f5);color:var(--color-body-text, #2b2b2b)}.modal__header-btn:focus-visible{outline:2px solid var(--color-primary, #c8102e);outline-offset:2px}.modal__body{padding:var(--spacing-6, 24px) var(--spacing-4, 16px);overflow-y:auto;flex:1;min-height:0;font-size:var(--font-size-sm, 14px);line-height:20px;color:var(--color-body-text, #2b2b2b);letter-spacing:-.14px}.modal__body::-webkit-scrollbar{width:6px}.modal__body::-webkit-scrollbar-track{background:transparent}.modal__body::-webkit-scrollbar-thumb{background-color:var(--color-border, #e0e0e0);border-radius:3px}.modal__body::-webkit-scrollbar-thumb:hover{background-color:var(--color-secondary, #565656)}.modal__footer{padding:var(--spacing-4, 16px) var(--spacing-6, 24px);display:flex;flex-wrap:wrap;gap:var(--spacing-2, 8px);justify-content:flex-end;align-items:center;border-top:1px solid var(--color-border, #e0e0e0);flex-shrink:0}@media(max-width:576px){.modal__backdrop{padding:var(--spacing-3, 12px)}.modal__dialog{max-height:calc(100vh - 24px)}.modal__dialog--sm,.modal__dialog--md,.modal__dialog--lg,.modal__dialog--xl{max-width:100%}.modal__footer{flex-direction:column}.modal__footer ::slotted(*){width:100%}}';
|
|
6
|
+
var _ = Object.defineProperty, t = (h, e, a, r) => {
|
|
7
|
+
for (var n = void 0, d = h.length - 1, p; d >= 0; d--)
|
|
8
|
+
(p = h[d]) && (n = p(e, a, n) || n);
|
|
9
|
+
return n && _(e, a, n), n;
|
|
10
|
+
};
|
|
11
|
+
const c = class c extends u {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments), this.open = !1, this.title = "", this.size = "md", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.showBack = !1, this.showClose = !0, this.showIcon = !1, this.footer = !0, this.okLabel = "Tamam", this.cancelLabel = "İptal", this.showCancel = !0, this.hasFooterSlot = !1, this.hasHeaderSlot = !1, this.previousActiveElement = null, this.focusableElements = [], this.onKeyDown = (e) => {
|
|
14
|
+
if (this.open) {
|
|
15
|
+
if (this.closeOnEsc && e.key === "Escape") {
|
|
16
|
+
e.preventDefault(), this.setOpen(!1);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
e.key === "Tab" && this.handleTabKey(e);
|
|
20
|
+
}
|
|
21
|
+
}, this.onBackdropClick = (e) => {
|
|
22
|
+
if (!this.closeOnBackdrop) return;
|
|
23
|
+
const a = this.shadowRoot?.querySelector(".__modal-content");
|
|
24
|
+
a && !e.composedPath().includes(a) && this.setOpen(!1);
|
|
25
|
+
}, this.handleOk = () => {
|
|
26
|
+
this.onOk?.(), this.dispatchEvent(new CustomEvent("ok", { bubbles: !0, composed: !0 })), this.setOpen(!1);
|
|
27
|
+
}, this.handleCancel = () => {
|
|
28
|
+
this.onCancel?.(), this.dispatchEvent(new CustomEvent("cancel", { bubbles: !0, composed: !0 })), this.setOpen(!1);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
super.connectedCallback(), document.addEventListener("keydown", this.onKeyDown);
|
|
33
|
+
}
|
|
34
|
+
disconnectedCallback() {
|
|
35
|
+
super.disconnectedCallback(), document.removeEventListener("keydown", this.onKeyDown), this.unlockBodyScroll();
|
|
36
|
+
}
|
|
37
|
+
openModal() {
|
|
38
|
+
this.setOpen(!0);
|
|
39
|
+
}
|
|
40
|
+
closeModal() {
|
|
41
|
+
this.setOpen(!1);
|
|
42
|
+
}
|
|
43
|
+
setOpen(e) {
|
|
44
|
+
this.open !== e && (this.open = e, e ? (this.lockBodyScroll(), this.previousActiveElement = document.activeElement, requestAnimationFrame(() => {
|
|
45
|
+
this.trapFocus();
|
|
46
|
+
})) : (this.unlockBodyScroll(), this.previousActiveElement?.focus()), this.dispatchEvent(new CustomEvent(e ? "modal-open" : "modal-close", { bubbles: !0, composed: !0 })));
|
|
47
|
+
}
|
|
48
|
+
lockBodyScroll() {
|
|
49
|
+
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${window.innerWidth - document.documentElement.clientWidth}px`;
|
|
50
|
+
}
|
|
51
|
+
unlockBodyScroll() {
|
|
52
|
+
document.body.style.overflow = "", document.body.style.paddingRight = "";
|
|
53
|
+
}
|
|
54
|
+
trapFocus() {
|
|
55
|
+
if (!this.dialogElement) return;
|
|
56
|
+
const e = [
|
|
57
|
+
"button:not([disabled])",
|
|
58
|
+
"[href]",
|
|
59
|
+
"input:not([disabled])",
|
|
60
|
+
"select:not([disabled])",
|
|
61
|
+
"textarea:not([disabled])",
|
|
62
|
+
'[tabindex]:not([tabindex="-1"])'
|
|
63
|
+
].join(", ");
|
|
64
|
+
this.focusableElements = Array.from(
|
|
65
|
+
this.dialogElement.querySelectorAll(e)
|
|
66
|
+
);
|
|
67
|
+
const a = this.querySelectorAll(e);
|
|
68
|
+
this.focusableElements.push(...Array.from(a)), this.focusableElements.length > 0 ? this.focusableElements[0].focus() : this.dialogElement.focus();
|
|
69
|
+
}
|
|
70
|
+
handleTabKey(e) {
|
|
71
|
+
if (this.focusableElements.length === 0) {
|
|
72
|
+
e.preventDefault();
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const a = this.focusableElements[0], r = this.focusableElements[this.focusableElements.length - 1];
|
|
76
|
+
e.shiftKey ? (document.activeElement === a || this.shadowRoot?.activeElement === a) && (e.preventDefault(), r.focus()) : (document.activeElement === r || this.shadowRoot?.activeElement === r) && (e.preventDefault(), a.focus());
|
|
77
|
+
}
|
|
78
|
+
checkSlotContent() {
|
|
79
|
+
this.hasFooterSlot = this.querySelector('[slot="footer"]') !== null, this.hasHeaderSlot = this.querySelector('[slot="header"]') !== null;
|
|
80
|
+
}
|
|
81
|
+
updated(e) {
|
|
82
|
+
super.updated(e), this.checkSlotContent(), e.has("open") && this.open && requestAnimationFrame(() => {
|
|
83
|
+
this.trapFocus();
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
get modalId() {
|
|
87
|
+
return `modal-${this.title?.replace(/\s+/g, "-").toLowerCase() || "dialog"}`;
|
|
88
|
+
}
|
|
89
|
+
get sizeClass() {
|
|
90
|
+
const e = {
|
|
91
|
+
sm: "modal__dialog--sm",
|
|
92
|
+
md: "modal__dialog--md",
|
|
93
|
+
lg: "modal__dialog--lg",
|
|
94
|
+
xl: "modal__dialog--xl",
|
|
95
|
+
full: "modal__dialog--full"
|
|
96
|
+
};
|
|
97
|
+
return e[this.size] || e.md;
|
|
98
|
+
}
|
|
99
|
+
get showHeader() {
|
|
100
|
+
return this.showBack || this.showClose || this.title || this.hasHeaderSlot || this.showIcon;
|
|
101
|
+
}
|
|
102
|
+
render() {
|
|
103
|
+
if (!this.open) return s;
|
|
104
|
+
const e = `${this.modalId}-title`, a = `${this.modalId}-desc`;
|
|
105
|
+
return i`
|
|
106
|
+
<div
|
|
107
|
+
class="modal__backdrop"
|
|
108
|
+
role="presentation"
|
|
109
|
+
aria-hidden="false"
|
|
110
|
+
@mousedown=${this.onBackdropClick}
|
|
111
|
+
>
|
|
112
|
+
<div
|
|
113
|
+
class="__modal-content modal__dialog ${this.sizeClass}"
|
|
114
|
+
role="dialog"
|
|
115
|
+
aria-modal="true"
|
|
116
|
+
aria-labelledby=${this.title ? e : s}
|
|
117
|
+
aria-describedby=${a}
|
|
118
|
+
tabindex="-1"
|
|
119
|
+
>
|
|
120
|
+
${this.showHeader ? i`
|
|
121
|
+
<div class="modal__header">
|
|
122
|
+
${this.showBack ? i`
|
|
123
|
+
<button
|
|
124
|
+
type="button"
|
|
125
|
+
class="modal__header-btn"
|
|
126
|
+
@click=${() => this.setOpen(!1)}
|
|
127
|
+
aria-label="Geri"
|
|
128
|
+
>
|
|
129
|
+
<ui-icon name="uil-arrow-left" size="16"></ui-icon>
|
|
130
|
+
</button>
|
|
131
|
+
` : s}
|
|
132
|
+
<div class="modal__header-content">
|
|
133
|
+
${this.showIcon ? i`
|
|
134
|
+
<span class="modal__header-icon">
|
|
135
|
+
<slot name="icon">
|
|
136
|
+
<ui-icon name="uil-exclamation-triangle" size="16"></ui-icon>
|
|
137
|
+
</slot>
|
|
138
|
+
</span>
|
|
139
|
+
` : s}
|
|
140
|
+
${this.title ? i`<h2 id=${e} class="modal__title">${this.title}</h2>` : s}
|
|
141
|
+
<slot name="header"></slot>
|
|
142
|
+
</div>
|
|
143
|
+
${this.showClose ? i`
|
|
144
|
+
<button
|
|
145
|
+
type="button"
|
|
146
|
+
class="modal__header-btn modal__close-btn"
|
|
147
|
+
@click=${() => this.setOpen(!1)}
|
|
148
|
+
aria-label="Kapat"
|
|
149
|
+
>
|
|
150
|
+
<ui-icon name="uil-times" size="16"></ui-icon>
|
|
151
|
+
</button>
|
|
152
|
+
` : s}
|
|
153
|
+
</div>
|
|
154
|
+
` : s}
|
|
155
|
+
|
|
156
|
+
<div id=${a} class="modal__body">
|
|
157
|
+
<slot></slot>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
${this.renderFooter()}
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
`;
|
|
164
|
+
}
|
|
165
|
+
renderFooter() {
|
|
166
|
+
return this.footer ? this.hasFooterSlot ? i`
|
|
167
|
+
<div class="modal__footer">
|
|
168
|
+
<slot name="footer"></slot>
|
|
169
|
+
</div>
|
|
170
|
+
` : i`
|
|
171
|
+
<div class="modal__footer">
|
|
172
|
+
${this.showCancel ? i`
|
|
173
|
+
<logosphere-button
|
|
174
|
+
variant="outline"
|
|
175
|
+
theme="primary"
|
|
176
|
+
size="md"
|
|
177
|
+
@click=${this.handleCancel}
|
|
178
|
+
>
|
|
179
|
+
${this.cancelLabel}
|
|
180
|
+
</logosphere-button>
|
|
181
|
+
` : s}
|
|
182
|
+
<logosphere-button
|
|
183
|
+
variant="solid"
|
|
184
|
+
theme="primary"
|
|
185
|
+
size="md"
|
|
186
|
+
@click=${this.handleOk}
|
|
187
|
+
>
|
|
188
|
+
${this.okLabel}
|
|
189
|
+
</logosphere-button>
|
|
190
|
+
</div>
|
|
191
|
+
` : s;
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
c.styles = [f`${b(y)}`];
|
|
195
|
+
let o = c;
|
|
196
|
+
t([
|
|
197
|
+
l({ type: Boolean, reflect: !0 })
|
|
198
|
+
], o.prototype, "open");
|
|
199
|
+
t([
|
|
200
|
+
l({ type: String })
|
|
201
|
+
], o.prototype, "title");
|
|
202
|
+
t([
|
|
203
|
+
l({ type: String })
|
|
204
|
+
], o.prototype, "size");
|
|
205
|
+
t([
|
|
206
|
+
l({ type: Boolean })
|
|
207
|
+
], o.prototype, "closeOnEsc");
|
|
208
|
+
t([
|
|
209
|
+
l({ type: Boolean })
|
|
210
|
+
], o.prototype, "closeOnBackdrop");
|
|
211
|
+
t([
|
|
212
|
+
l({ type: Boolean })
|
|
213
|
+
], o.prototype, "showBack");
|
|
214
|
+
t([
|
|
215
|
+
l({ type: Boolean })
|
|
216
|
+
], o.prototype, "showClose");
|
|
217
|
+
t([
|
|
218
|
+
l({ type: Boolean })
|
|
219
|
+
], o.prototype, "showIcon");
|
|
220
|
+
t([
|
|
221
|
+
l({ type: Boolean })
|
|
222
|
+
], o.prototype, "footer");
|
|
223
|
+
t([
|
|
224
|
+
l({ type: String })
|
|
225
|
+
], o.prototype, "okLabel");
|
|
226
|
+
t([
|
|
227
|
+
l({ type: String })
|
|
228
|
+
], o.prototype, "cancelLabel");
|
|
229
|
+
t([
|
|
230
|
+
l({ type: Boolean })
|
|
231
|
+
], o.prototype, "showCancel");
|
|
232
|
+
t([
|
|
233
|
+
l({ attribute: !1 })
|
|
234
|
+
], o.prototype, "onOk");
|
|
235
|
+
t([
|
|
236
|
+
l({ attribute: !1 })
|
|
237
|
+
], o.prototype, "onCancel");
|
|
238
|
+
t([
|
|
239
|
+
m()
|
|
240
|
+
], o.prototype, "hasFooterSlot");
|
|
241
|
+
t([
|
|
242
|
+
m()
|
|
243
|
+
], o.prototype, "hasHeaderSlot");
|
|
244
|
+
t([
|
|
245
|
+
g(".modal__dialog")
|
|
246
|
+
], o.prototype, "dialogElement");
|
|
247
|
+
customElements.get("logosphere-modal") || customElements.define("logosphere-modal", o);
|
|
248
|
+
export {
|
|
249
|
+
o as M
|
|
250
|
+
};
|
package/dist/modal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./modal-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./modal-g3KbWncV.cjs");exports.Modal=e.Modal;
|
package/dist/modal.js
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import type { CollapseIconPosition, CollapseBorder, CollapseSize } from "../Collapse/collapse.js";
|
|
3
|
+
import "../Collapse/collapse.js";
|
|
4
|
+
export type { CollapseIconPosition, CollapseBorder, CollapseSize };
|
|
5
|
+
export interface AccordionItem {
|
|
6
|
+
title: string;
|
|
7
|
+
content: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class Accordion extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
/**
|
|
13
|
+
* Built-in item list. When provided, renders managed Collapse components.
|
|
14
|
+
* Leave empty and use the default slot for custom content.
|
|
15
|
+
*/
|
|
16
|
+
items: AccordionItem[];
|
|
17
|
+
/** Allow multiple panels to be open simultaneously */
|
|
18
|
+
multiple: boolean;
|
|
19
|
+
/** Index(es) of initially open panel(s) */
|
|
20
|
+
defaultOpen: number | number[];
|
|
21
|
+
/** Border style applied to each panel */
|
|
22
|
+
border: CollapseBorder;
|
|
23
|
+
/** Icon position applied to each panel */
|
|
24
|
+
iconPosition: CollapseIconPosition;
|
|
25
|
+
/** Size applied to each panel */
|
|
26
|
+
size: CollapseSize;
|
|
27
|
+
private _openSet;
|
|
28
|
+
connectedCallback(): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
/**
|
|
31
|
+
* When consumers slot in their own logosphere-collapse elements, this
|
|
32
|
+
* handler intercepts the toggle event and enforces single-open behaviour.
|
|
33
|
+
*/
|
|
34
|
+
private _onSlottedToggle;
|
|
35
|
+
private _toggle;
|
|
36
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
"logosphere-accordion": Accordion;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../../shared/icons/ui-icon.js";
|
|
3
|
+
export type ChipTheme = "default" | "primary" | "secondary" | "purple" | "success" | "danger" | "info" | "warning";
|
|
4
|
+
export interface ChipItem {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class ChipGroup extends LitElement {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
/** Chip list to render */
|
|
12
|
+
items: ChipItem[];
|
|
13
|
+
/** Currently selected values */
|
|
14
|
+
value: string[];
|
|
15
|
+
/** Color theme applied to selected chips */
|
|
16
|
+
theme: ChipTheme;
|
|
17
|
+
/** Gap between chips */
|
|
18
|
+
gap: string;
|
|
19
|
+
private _isSelected;
|
|
20
|
+
private _handleChipClick;
|
|
21
|
+
private _onChipKeydown;
|
|
22
|
+
private _renderChip;
|
|
23
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
"logosphere-chip-group": ChipGroup;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../../shared/icons/ui-icon";
|
|
3
|
+
export type CollapseIconPosition = "left" | "right";
|
|
4
|
+
export type CollapseBorder = "full" | "bottom";
|
|
5
|
+
export type CollapseSize = "default" | "small";
|
|
6
|
+
export declare class Collapse extends LitElement {
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
/** Header title text */
|
|
9
|
+
title: string;
|
|
10
|
+
/** Whether the panel is expanded */
|
|
11
|
+
expanded: boolean;
|
|
12
|
+
/** Disabled state — prevents toggling */
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
/** Arrow icon position */
|
|
15
|
+
iconPosition: CollapseIconPosition;
|
|
16
|
+
/**
|
|
17
|
+
* Border style:
|
|
18
|
+
* - "full" → rounded border around the whole component
|
|
19
|
+
* - "bottom" → only a bottom border under the header (flat / accordion style)
|
|
20
|
+
*/
|
|
21
|
+
border: CollapseBorder;
|
|
22
|
+
/** Size variant */
|
|
23
|
+
size: CollapseSize;
|
|
24
|
+
private _inner?;
|
|
25
|
+
private _body?;
|
|
26
|
+
private _toggle;
|
|
27
|
+
private _onKeydown;
|
|
28
|
+
/**
|
|
29
|
+
* CLOSING: Called inside willUpdate — BEFORE Lit re-renders — so we can
|
|
30
|
+
* capture and lock the current height before the CSS class is removed.
|
|
31
|
+
*/
|
|
32
|
+
private _lockHeightForClose;
|
|
33
|
+
willUpdate(changed: Map<PropertyKey, unknown>): void;
|
|
34
|
+
updated(changed: Map<PropertyKey, unknown>): void;
|
|
35
|
+
private _renderIcon;
|
|
36
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
"logosphere-collapse": Collapse;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -4,6 +4,7 @@ import "../../shared/icons/ui-icon.js";
|
|
|
4
4
|
export type InputType = "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date" | "time" | "datetime-local" | "month" | "week";
|
|
5
5
|
export type InputSize = "default" | "large";
|
|
6
6
|
export type InputVariant = "default" | "subtle";
|
|
7
|
+
export type InputErrorDisplay = "always" | "on-invalid";
|
|
7
8
|
export declare class LogosphereInput extends LitElement {
|
|
8
9
|
static styles: import("lit").CSSResult[];
|
|
9
10
|
private _inputElement;
|
|
@@ -20,14 +21,31 @@ export declare class LogosphereInput extends LitElement {
|
|
|
20
21
|
step?: number;
|
|
21
22
|
size: InputSize;
|
|
22
23
|
variant: InputVariant;
|
|
23
|
-
showClear: boolean;
|
|
24
24
|
label: string;
|
|
25
25
|
helper: string;
|
|
26
26
|
error: string;
|
|
27
27
|
required: boolean;
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
readonly: boolean;
|
|
30
|
+
/** Input mask. Token'lar: 0=rakam, a=harf, *=rakam|harf. Örn: "(000) 000-0000" */
|
|
31
|
+
mask: string;
|
|
32
|
+
/** type="password" iken göster/gizle butonunu render et. Güvenlik gereği şifrenin hiç gösterilmemesi gereken ekranlarda kapatın. */
|
|
33
|
+
showPasswordToggle: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Tarayıcının yerel (dil/tarayıcı bağımlı) validationMessage'ının iç hata
|
|
36
|
+
* olarak gösterilmesini kapatır. Uygulama kendi hata metnini yönetiyorsa açın.
|
|
37
|
+
*/
|
|
38
|
+
suppressNativeValidation: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Hata gösterim modu:
|
|
41
|
+
* - "always": `error` prop'u verildiği sürece görünür (mevcut davranış).
|
|
42
|
+
* - "on-invalid": hata yalnızca alan gerçekten geçersizken görünür —
|
|
43
|
+
* blur/change'de doğrulanır, kullanıcı yazarken temizlenir.
|
|
44
|
+
*/
|
|
45
|
+
errorDisplay: InputErrorDisplay;
|
|
30
46
|
private _internalError;
|
|
47
|
+
private _showPassword;
|
|
48
|
+
private _invalid;
|
|
31
49
|
get inputElement(): HTMLInputElement;
|
|
32
50
|
focus(): void;
|
|
33
51
|
blur(): void;
|
|
@@ -38,9 +56,14 @@ export declare class LogosphereInput extends LitElement {
|
|
|
38
56
|
setCustomValidity(message: string): void;
|
|
39
57
|
private handleInput;
|
|
40
58
|
private handleChange;
|
|
59
|
+
private handleBlur;
|
|
41
60
|
private handleKeyDown;
|
|
42
61
|
private handleKeyUp;
|
|
43
62
|
private handleClear;
|
|
63
|
+
private handlePasswordToggle;
|
|
64
|
+
protected willUpdate(changedProperties: Map<PropertyKey, unknown>): void;
|
|
65
|
+
/** Mask varsa ve placeholder verilmemişse mask pattern'ını placeholder olarak göster */
|
|
66
|
+
private get _effectivePlaceholder();
|
|
44
67
|
render(): import("lit-html").TemplateResult<1>;
|
|
45
68
|
}
|
|
46
69
|
declare global {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputGroup } from "./input-group.js";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* InputGroup — a layout wrapper that connects FormField-based components
|
|
4
|
+
* (Input, Combobox, Textarea) into a single visual unit by:
|
|
5
|
+
*
|
|
6
|
+
* • Adjusting each child's border-radius via --formfield-border-radius
|
|
7
|
+
* (cascades into the child's Shadow DOM through CSS custom property
|
|
8
|
+
* inheritance).
|
|
9
|
+
*
|
|
10
|
+
* • Suppressing the shared border between adjacent children via
|
|
11
|
+
* --formfield-border-right-width / --formfield-border-left-width
|
|
12
|
+
* so there is no double-border.
|
|
13
|
+
*
|
|
14
|
+
* Buttons and icon addons are handled via the prefix/suffix slots of
|
|
15
|
+
* the individual Input/Combobox components — no need to place them here.
|
|
16
|
+
*
|
|
17
|
+
* Usage:
|
|
18
|
+
* <logosphere-input-group>
|
|
19
|
+
* <logosphere-combobox ...></logosphere-combobox>
|
|
20
|
+
* <logosphere-input ...></logosphere-input>
|
|
21
|
+
* </logosphere-input-group>
|
|
22
|
+
*/
|
|
23
|
+
export declare class InputGroup extends LitElement {
|
|
24
|
+
static styles: import("lit").CSSResult[];
|
|
25
|
+
/** Stretch all children to the same height (default: true) */
|
|
26
|
+
stretch: boolean;
|
|
27
|
+
firstUpdated(): void;
|
|
28
|
+
disconnectedCallback(): void;
|
|
29
|
+
private _onSlotChange;
|
|
30
|
+
private _getChildren;
|
|
31
|
+
private _onFocusIn;
|
|
32
|
+
private _onFocusOut;
|
|
33
|
+
private _applyGroupStyles;
|
|
34
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
35
|
+
}
|
|
36
|
+
declare global {
|
|
37
|
+
interface HTMLElementTagNameMap {
|
|
38
|
+
"logosphere-input-group": InputGroup;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./pagination";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../../shared/icons/ui-icon";
|
|
3
|
+
import "../../organisms/Combobox/combobox";
|
|
4
|
+
export type PaginationVariant = "default" | "prev-next" | "prev-next-inverted" | "prev-next-only" | "number-buttons";
|
|
5
|
+
export interface PageChangeEvent {
|
|
6
|
+
page: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
totalPages: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class Pagination extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
variant: PaginationVariant;
|
|
13
|
+
page: number;
|
|
14
|
+
pageSize: number;
|
|
15
|
+
total: number;
|
|
16
|
+
pageSizeOptions: number[];
|
|
17
|
+
showPageSize: boolean;
|
|
18
|
+
showTotal: boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
prevLabel: string;
|
|
21
|
+
nextLabel: string;
|
|
22
|
+
pageLabel: string;
|
|
23
|
+
perPageLabel: string;
|
|
24
|
+
totalLabel: string;
|
|
25
|
+
private inputValue;
|
|
26
|
+
private _combobox?;
|
|
27
|
+
get totalPages(): number;
|
|
28
|
+
get canGoPrev(): boolean;
|
|
29
|
+
get canGoNext(): boolean;
|
|
30
|
+
firstUpdated(): void;
|
|
31
|
+
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
32
|
+
private updateComboboxSelection;
|
|
33
|
+
private emitPageChange;
|
|
34
|
+
private goToPage;
|
|
35
|
+
private goFirst;
|
|
36
|
+
private goPrev;
|
|
37
|
+
private goNext;
|
|
38
|
+
private goLast;
|
|
39
|
+
private handleInputChange;
|
|
40
|
+
private handleInputBlur;
|
|
41
|
+
private handleInputKeydown;
|
|
42
|
+
private handlePageSizeChange;
|
|
43
|
+
private get pageSizeItems();
|
|
44
|
+
private get selectedPageSizeItem();
|
|
45
|
+
private getPageNumbers;
|
|
46
|
+
private renderNavButtons;
|
|
47
|
+
private renderNavButtonsAfter;
|
|
48
|
+
private renderPageInput;
|
|
49
|
+
private renderPrevNextButtons;
|
|
50
|
+
private renderPageInfo;
|
|
51
|
+
private renderNumberButtons;
|
|
52
|
+
private renderPageSizeDropdown;
|
|
53
|
+
private renderTotalInfo;
|
|
54
|
+
private renderDefault;
|
|
55
|
+
private renderPrevNext;
|
|
56
|
+
private renderPrevNextInverted;
|
|
57
|
+
private renderPrevNextOnly;
|
|
58
|
+
private renderNumberButtonsVariant;
|
|
59
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
60
|
+
}
|
|
@@ -7,12 +7,16 @@ export declare class Popover extends LitElement {
|
|
|
7
7
|
trigger: PopoverTrigger;
|
|
8
8
|
placement: Placement;
|
|
9
9
|
offset: number;
|
|
10
|
+
delay: number;
|
|
10
11
|
open: boolean;
|
|
11
12
|
closeOnOutsideClick: boolean;
|
|
13
|
+
noArrow: boolean;
|
|
14
|
+
disabled: boolean;
|
|
12
15
|
private triggerElement;
|
|
13
16
|
private popperElement?;
|
|
14
17
|
private popperArrowElement?;
|
|
15
18
|
private popperInstance?;
|
|
19
|
+
private hoverOpenTimer?;
|
|
16
20
|
connectedCallback(): void;
|
|
17
21
|
disconnectedCallback(): void;
|
|
18
22
|
updated(changedProps: Map<string | number | symbol, unknown>): void;
|
|
@@ -21,6 +25,7 @@ export declare class Popover extends LitElement {
|
|
|
21
25
|
private toggle;
|
|
22
26
|
private handleMouseEnter;
|
|
23
27
|
private handleMouseLeave;
|
|
28
|
+
private clearHoverOpenTimer;
|
|
24
29
|
private updatePopper;
|
|
25
30
|
private getPopperModifiers;
|
|
26
31
|
private destroyPopper;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import type { ButtonSize, ButtonTheme } from "../../shared/types/button.types.js";
|
|
3
|
+
import "../../shared/icons/ui-icon";
|
|
4
|
+
export type { ButtonSize, ButtonTheme };
|
|
5
|
+
export interface SplitButtonItem {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Renders a separator line BEFORE this item */
|
|
11
|
+
divider?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class SplitButton extends LitElement {
|
|
14
|
+
static styles: import("lit").CSSResult[];
|
|
15
|
+
/** Main action button label */
|
|
16
|
+
label: string;
|
|
17
|
+
/** Size — shared with Button */
|
|
18
|
+
size: ButtonSize;
|
|
19
|
+
/** Color theme — shared with Button */
|
|
20
|
+
theme: ButtonTheme;
|
|
21
|
+
/** Disable the entire component */
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
/** Disable only the dropdown arrow, leaving the main action active */
|
|
24
|
+
dropdownDisabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Built-in item list. When provided, SplitButton renders its own dropdown.
|
|
27
|
+
* If omitted, consumers should use slot="dropdown" for custom content.
|
|
28
|
+
*/
|
|
29
|
+
items: SplitButtonItem[];
|
|
30
|
+
private _open;
|
|
31
|
+
private _dropdownBtn;
|
|
32
|
+
private _panel?;
|
|
33
|
+
private _popper?;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
disconnectedCallback(): void;
|
|
36
|
+
updated(changed: Map<string, unknown>): void;
|
|
37
|
+
private _initPopper;
|
|
38
|
+
private _destroyPopper;
|
|
39
|
+
private _onDocClick;
|
|
40
|
+
private _onDocKeydown;
|
|
41
|
+
private _setOpen;
|
|
42
|
+
private _onActionClick;
|
|
43
|
+
private _onDropdownClick;
|
|
44
|
+
private _onItemClick;
|
|
45
|
+
private _onKeydown;
|
|
46
|
+
private _renderPanel;
|
|
47
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
48
|
+
}
|
|
49
|
+
declare global {
|
|
50
|
+
interface HTMLElementTagNameMap {
|
|
51
|
+
"logosphere-split-button": SplitButton;
|
|
52
|
+
}
|
|
53
|
+
}
|