@bagelink/vue 1.15.141 → 1.15.145
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/components/ListItem.vue.d.ts +36 -0
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/index.cjs +38 -38
- package/dist/index.mjs +4060 -4024
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ListItem.vue +135 -30
- package/src/components/layout/AppContent.vue +4 -3
|
@@ -23,12 +23,47 @@ type __VLS_Props = {
|
|
|
23
23
|
md?: boolean;
|
|
24
24
|
lg?: boolean;
|
|
25
25
|
xl?: boolean;
|
|
26
|
+
/** Fine-grained size overrides — take precedence over `size`. Accept any CSS
|
|
27
|
+
length (e.g. `'1.1rem'`, `'18px'`) or a raw number (treated as `rem` for
|
|
28
|
+
text, `px` for the avatar). Leave unset to inherit from `size`.
|
|
29
|
+
Under the hood these set public CSS vars you can also drive externally:
|
|
30
|
+
`--bgl-list-item-title-size`, `--bgl-list-item-subtitle-size`,
|
|
31
|
+
`--bgl-list-item-lead-size`, `--bgl-list-item-icon-chip-size`. */
|
|
32
|
+
fontSize?: string | number;
|
|
33
|
+
titleSize?: string | number;
|
|
34
|
+
subtitleSize?: string | number;
|
|
35
|
+
leadSize?: string | number;
|
|
36
|
+
/** Font weights — take precedence over `size`/defaults. Accept a number
|
|
37
|
+
(`600`) or a keyword (`'bold'`). Leave unset to keep the defaults
|
|
38
|
+
(title 600, subtitle 300, lead 600). Set the same public CSS vars:
|
|
39
|
+
`--bgl-list-item-title-weight`, `--bgl-list-item-subtitle-weight`,
|
|
40
|
+
`--bgl-list-item-lead-weight`. */
|
|
41
|
+
fontWeight?: string | number;
|
|
42
|
+
titleWeight?: string | number;
|
|
43
|
+
subtitleWeight?: string | number;
|
|
44
|
+
leadWeight?: string | number;
|
|
45
|
+
/** Glyph size of the leading `icon` (and, if a number, of the trailing
|
|
46
|
+
`iconEnd`). Any CSS length or number-as-rem. */
|
|
47
|
+
iconSize?: string | number;
|
|
48
|
+
/** Box size of the leading icon-chip (the tinted square). CSS length / px. */
|
|
49
|
+
iconChipSize?: string | number;
|
|
50
|
+
/** Toggle the leading icon's tinted background chip. Defaults `true` (the
|
|
51
|
+
tinted rounded square). Set `:icon-chip="false"` to drop the background
|
|
52
|
+
and render the bare glyph (still accent-colored). */
|
|
53
|
+
iconChip?: boolean;
|
|
54
|
+
/** Override the leading avatar diameter (px). */
|
|
55
|
+
avatarSize?: number;
|
|
26
56
|
fullWidth?: boolean;
|
|
27
57
|
ellipsis?: boolean;
|
|
28
58
|
ripple?: boolean;
|
|
29
59
|
/** Theme accent for the leading icon-chip and hover/active tint.
|
|
30
60
|
Defaults to the surface's primary. e.g. `color="purple"`. */
|
|
31
61
|
color?: ThemeType;
|
|
62
|
+
/** Color of the leading icon glyph ONLY — overrides the accent for the
|
|
63
|
+
glyph without touching the chip background or hover/active tint.
|
|
64
|
+
Accepts a theme name (`'purple'` → `var(--bgl-purple)`) or any raw CSS
|
|
65
|
+
color (`'#f00'`, `'currentColor'`). */
|
|
66
|
+
iconColor?: ThemeType | (string & {});
|
|
32
67
|
/** Card-style row: rounded, no divider, tinted hover. Use for standalone
|
|
33
68
|
selectable lists (vs. the default flush divided rows in a panel). */
|
|
34
69
|
rounded?: boolean;
|
|
@@ -53,6 +88,7 @@ declare function __VLS_template(): {
|
|
|
53
88
|
};
|
|
54
89
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
55
90
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
91
|
+
iconChip: boolean;
|
|
56
92
|
ellipsis: boolean;
|
|
57
93
|
ripple: boolean;
|
|
58
94
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.vue"],"names":[],"mappings":"AAkhBA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMxD,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;qFACiF;IACjF,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACvC,wEAAwE;IACxE,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ;;;;;yEAKqE;IACrE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM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