@ciwergrp/nuxid 1.16.1 → 1.16.2
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/module.d.mts +5 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -1
- package/package.json +1 -1
package/dist/module.d.mts
CHANGED
|
@@ -54,6 +54,10 @@ interface ValidatorOptions {
|
|
|
54
54
|
}
|
|
55
55
|
type ValidatorFeatureInput = boolean | Partial<ValidatorOptions> | undefined;
|
|
56
56
|
|
|
57
|
+
interface IconOptionClientBundle {
|
|
58
|
+
scan?: boolean;
|
|
59
|
+
icons?: string[];
|
|
60
|
+
}
|
|
57
61
|
interface IconOptionConfig {
|
|
58
62
|
/**
|
|
59
63
|
* Default component name
|
|
@@ -94,6 +98,7 @@ interface IconOptionConfig {
|
|
|
94
98
|
* Extra options passed directly to @nuxt/icon
|
|
95
99
|
*/
|
|
96
100
|
extend?: Record<string, any>;
|
|
101
|
+
clientBundle?: IconOptionClientBundle;
|
|
97
102
|
}
|
|
98
103
|
interface IconOptions {
|
|
99
104
|
/**
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -113,7 +113,10 @@ const iconDefaults = {
|
|
|
113
113
|
componentName: "KIcon",
|
|
114
114
|
size: "1.25em",
|
|
115
115
|
class: "align-middle inline-block text-current",
|
|
116
|
-
mode: "svg"
|
|
116
|
+
mode: "svg",
|
|
117
|
+
clientBundle: {
|
|
118
|
+
scan: true
|
|
119
|
+
}
|
|
117
120
|
}
|
|
118
121
|
};
|
|
119
122
|
function resolveIconOptions(input) {
|