@ctrliq/quantic-components 1.85.0 → 1.85.1
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/dist/alert/alert.js +2 -1
- package/dist/alert/index.stories.d.ts +7 -0
- package/dist/alert/index.stories.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/index.js.map +1 -1
- package/dist/meta.json +1 -1
- package/dist/quantic-components.js +13 -4
- package/dist/quantic-components.js.map +1 -1
- package/dist/quantic-components.min.js +1846 -1845
- package/dist/quantic-components.min.js.map +1 -1
- package/dist/register.js.map +1 -1
- package/dist/shared/auto-hide-empty-slots.mixin.d.ts +0 -35
- package/dist/shared/auto-hide-empty-slots.mixin.js +11 -3
- package/dist/shared/auto-hide-empty-slots.mixin.test.d.ts +1 -0
- package/dist/shared/auto-hide-empty-slots.mixin.test.js +57 -0
- package/dist/types/alert/index.stories.d.ts +7 -0
- package/dist/types/shared/auto-hide-empty-slots.mixin.d.ts +0 -35
- package/dist/types/shared/auto-hide-empty-slots.mixin.test.d.ts +1 -0
- package/package.json +1 -1
package/dist/alert/alert.js
CHANGED
|
@@ -153,9 +153,10 @@ Alert.styles = css `
|
|
|
153
153
|
|
|
154
154
|
.icon {
|
|
155
155
|
display: inline-flex;
|
|
156
|
+
align-items: center;
|
|
156
157
|
flex-shrink: 0;
|
|
158
|
+
height: var(--quantic-line-height-body-sm);
|
|
157
159
|
color: var(--quantic-component-alert-icon-color);
|
|
158
|
-
line-height: 0;
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
.content {
|
|
@@ -22,6 +22,13 @@ export declare const CustomIcon: import("../shared/story").StoryObject<object>;
|
|
|
22
22
|
export declare const AsyncSlotRepro: {
|
|
23
23
|
name: string;
|
|
24
24
|
render: () => string;
|
|
25
|
+
parameters: {
|
|
26
|
+
docs: {
|
|
27
|
+
story: {
|
|
28
|
+
autoplay: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
25
32
|
play: ({ canvasElement }: {
|
|
26
33
|
canvasElement: HTMLElement;
|
|
27
34
|
}) => Promise<void>;
|
|
@@ -111,6 +111,7 @@ export const AsyncSlotRepro = {
|
|
|
111
111
|
The title and action slots are empty on mount and inserted 800 ms later.
|
|
112
112
|
</quantic-alert>
|
|
113
113
|
`,
|
|
114
|
+
parameters: { docs: { story: { autoplay: true } } },
|
|
114
115
|
play: async ({ canvasElement }) => {
|
|
115
116
|
await new Promise((r) => setTimeout(r, 800));
|
|
116
117
|
const alert = canvasElement.querySelector('quantic-alert');
|