@kodaris/krubble-components 1.0.67 → 1.0.69
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/custom-elements.json +3 -3
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/dialog/dialog.js +10 -1
- package/dist/dialog/dialog.js.map +1 -1
- package/dist/krubble-components.bundled.js +10 -1
- package/dist/krubble-components.bundled.js.map +1 -1
- package/dist/krubble-components.bundled.min.js +10 -2
- package/dist/krubble-components.bundled.min.js.map +1 -1
- package/dist/krubble-components.umd.js +10 -1
- package/dist/krubble-components.umd.js.map +1 -1
- package/dist/krubble-components.umd.min.js +10 -2
- package/dist/krubble-components.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1568,6 +1568,7 @@
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
open() {
|
|
1570
1570
|
this.opened = true;
|
|
1571
|
+
console.log('opened');
|
|
1571
1572
|
}
|
|
1572
1573
|
/**
|
|
1573
1574
|
* Closes the dialog.
|
|
@@ -1623,7 +1624,7 @@
|
|
|
1623
1624
|
<div class="backdrop" @click=${this._handleBackdropClick}></div>
|
|
1624
1625
|
<div class="dialog" style=${o$1({ width: this.width })}>
|
|
1625
1626
|
${this.label ? b `<div class="dialog__header"><div class="dialog__header-label">${this.label}</div></div>` : ''}
|
|
1626
|
-
|
|
1627
|
+
<div class="dialog__body">${this._contentElement ? this._contentElement : b `<slot></slot>`}</div>
|
|
1627
1628
|
</div>
|
|
1628
1629
|
`;
|
|
1629
1630
|
}
|
|
@@ -1654,6 +1655,7 @@
|
|
|
1654
1655
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
1655
1656
|
border-radius: 12px;
|
|
1656
1657
|
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
|
|
1658
|
+
height: 100%;
|
|
1657
1659
|
max-height: 90vh;
|
|
1658
1660
|
overflow: hidden;
|
|
1659
1661
|
display: flex;
|
|
@@ -1686,6 +1688,13 @@
|
|
|
1686
1688
|
font-size: 18px;
|
|
1687
1689
|
font-weight: 600;
|
|
1688
1690
|
}
|
|
1691
|
+
|
|
1692
|
+
.dialog__body {
|
|
1693
|
+
flex: 1;
|
|
1694
|
+
min-height: 0;
|
|
1695
|
+
display: flex;
|
|
1696
|
+
flex-direction: column;
|
|
1697
|
+
}
|
|
1689
1698
|
`;
|
|
1690
1699
|
__decorate$i([
|
|
1691
1700
|
r$1()
|