@bluepic/embed 0.4.0-next.209 → 0.4.0-next.210
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/bluepic-embed.iife.js +153 -157
- package/dist/bluepic-embed.umd.js +153 -157
- package/dist/components/BxCard.vue.d.ts +21 -0
- package/dist/embed/embed.d.ts +6 -6
- package/dist/main.cjs +104 -108
- package/dist/main.mjs +19212 -18161
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,26 @@ type __VLS_Props = {
|
|
|
21
21
|
* hand-roll the whole card.
|
|
22
22
|
*/
|
|
23
23
|
contentGap?: 'none' | 'sm' | 'md' | 'lg';
|
|
24
|
+
/**
|
|
25
|
+
* Let the CONTENT scroll inside the card.
|
|
26
|
+
*
|
|
27
|
+
* The wrapper sits OUTSIDE the padding and the content carries it instead,
|
|
28
|
+
* so the scrollbar rail runs along the card's edge rather than floating in
|
|
29
|
+
* the middle of a 15px gutter — and the first line of content is not
|
|
30
|
+
* clipped against the top of the scrollport when it moves.
|
|
31
|
+
*
|
|
32
|
+
* Every caller that tried this from outside got it wrong the same way: a
|
|
33
|
+
* `max-height` on a `bx-scrollbar` is inert, because the scrollbar is
|
|
34
|
+
* `height: 100%` and the percentage resolves against an auto-height parent.
|
|
35
|
+
* Here the card gives it a definite height to fill.
|
|
36
|
+
*/
|
|
37
|
+
scrollable?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The cap the content scrolls within — any CSS length. Without one the card
|
|
40
|
+
* grows to its content and nothing scrolls, which is the right behaviour
|
|
41
|
+
* for a card that fits.
|
|
42
|
+
*/
|
|
43
|
+
maxContentHeight?: string;
|
|
24
44
|
state?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
25
45
|
};
|
|
26
46
|
type __VLS_Slots = {
|
|
@@ -41,6 +61,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
41
61
|
dividers: boolean;
|
|
42
62
|
radius: "none" | "sm" | "md" | "lg";
|
|
43
63
|
contentGap: "none" | "sm" | "md" | "lg";
|
|
64
|
+
scrollable: boolean;
|
|
44
65
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
66
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
46
67
|
export default _default;
|
package/dist/embed/embed.d.ts
CHANGED
|
@@ -9293,7 +9293,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9293
9293
|
name: string;
|
|
9294
9294
|
src?: string | undefined;
|
|
9295
9295
|
} | undefined;
|
|
9296
|
-
fontWeight?: "300" | "
|
|
9296
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9297
9297
|
fontStyle?: "italic" | "normal" | undefined;
|
|
9298
9298
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
9299
9299
|
} | undefined;
|
|
@@ -9303,7 +9303,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9303
9303
|
name: string;
|
|
9304
9304
|
src?: string | undefined;
|
|
9305
9305
|
} | undefined;
|
|
9306
|
-
fontWeight?: "300" | "
|
|
9306
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9307
9307
|
fontStyle?: "italic" | "normal" | undefined;
|
|
9308
9308
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
9309
9309
|
} | undefined;
|
|
@@ -9313,7 +9313,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9313
9313
|
name: string;
|
|
9314
9314
|
src?: string | undefined;
|
|
9315
9315
|
} | undefined;
|
|
9316
|
-
fontWeight?: "300" | "
|
|
9316
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9317
9317
|
fontStyle?: "italic" | "normal" | undefined;
|
|
9318
9318
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
9319
9319
|
} | undefined;
|
|
@@ -9431,7 +9431,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9431
9431
|
name: string;
|
|
9432
9432
|
src?: string | undefined;
|
|
9433
9433
|
} | undefined;
|
|
9434
|
-
fontWeight?: "300" | "
|
|
9434
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9435
9435
|
fontStyle?: "italic" | "normal" | undefined;
|
|
9436
9436
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
9437
9437
|
} | undefined;
|
|
@@ -9441,7 +9441,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9441
9441
|
name: string;
|
|
9442
9442
|
src?: string | undefined;
|
|
9443
9443
|
} | undefined;
|
|
9444
|
-
fontWeight?: "300" | "
|
|
9444
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9445
9445
|
fontStyle?: "italic" | "normal" | undefined;
|
|
9446
9446
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
9447
9447
|
} | undefined;
|
|
@@ -9451,7 +9451,7 @@ export declare class BluepicEmbed extends EventTarget {
|
|
|
9451
9451
|
name: string;
|
|
9452
9452
|
src?: string | undefined;
|
|
9453
9453
|
} | undefined;
|
|
9454
|
-
fontWeight?: "300" | "
|
|
9454
|
+
fontWeight?: "300" | "800" | "600" | "400" | "500" | "700" | undefined;
|
|
9455
9455
|
fontStyle?: "italic" | "normal" | undefined;
|
|
9456
9456
|
textAlign?: "center" | "left" | "right" | undefined;
|
|
9457
9457
|
} | undefined;
|