vira 31.4.0 → 31.4.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.
|
@@ -33,9 +33,12 @@ export const ViraIcon = defineViraElement()({
|
|
|
33
33
|
vector-effect: non-scaling-stroke;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
${hostClasses['vira-icon-fit-container'].selector}
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
${hostClasses['vira-icon-fit-container'].selector} {
|
|
37
|
+
> *,
|
|
38
|
+
svg {
|
|
39
|
+
height: 100%;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
39
42
|
}
|
|
40
43
|
`,
|
|
41
44
|
render({ inputs, host }) {
|
|
@@ -13,7 +13,7 @@ export type FeatherIconKey = keyof typeof featherIconsImported.icons;
|
|
|
13
13
|
*
|
|
14
14
|
* @category Internal
|
|
15
15
|
*/
|
|
16
|
-
export type FeatherIconEntry = ViraIconSvg & ((options: Readonly<FeatherAttributes
|
|
16
|
+
export type FeatherIconEntry = ViraIconSvg & ((options: Readonly<Partial<FeatherAttributes>>) => ViraIconSvg);
|
|
17
17
|
/**
|
|
18
18
|
* All [Feather icons](https://feathericons.com) in a format compatible with `ViraIcon`. Each icon
|
|
19
19
|
* entry can be accessed directly or customized by calling it as a function.
|