@veevarts/design-system 1.6.0-dev.6 → 1.6.0-dev.7
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/tailwind/index.d.ts
CHANGED
|
@@ -230,19 +230,16 @@ export declare const defaultHeroUITheme: {
|
|
|
230
230
|
* });
|
|
231
231
|
*/
|
|
232
232
|
export declare function createHeroUIConfig(overrides?: HeroUIConfigOverrides): HeroUIConfig;
|
|
233
|
+
/**
|
|
234
|
+
* Content paths for Tailwind to scan for classes
|
|
235
|
+
* Includes HeroUI theme and Design System components
|
|
236
|
+
*/
|
|
237
|
+
export declare const veevartContent: string[];
|
|
233
238
|
/**
|
|
234
239
|
* Veevart Design System Tailwind preset
|
|
235
240
|
*
|
|
236
241
|
* Use this preset in your tailwind.config.js to get all Veevart tokens
|
|
237
|
-
* and styling defaults.
|
|
238
|
-
*
|
|
239
|
-
* @example
|
|
240
|
-
* const { veevartPreset } = require('@veevarts/design-system/tailwind');
|
|
241
|
-
*
|
|
242
|
-
* module.exports = {
|
|
243
|
-
* presets: [veevartPreset],
|
|
244
|
-
* content: [...],
|
|
245
|
-
* };
|
|
242
|
+
* and styling defaults. Use veevartContent in your content array.
|
|
246
243
|
*/
|
|
247
244
|
export declare const veevartPreset: {
|
|
248
245
|
theme: {
|
package/dist/tailwind/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(index_exports, {
|
|
|
29
29
|
tailwindTheme: () => tailwindTheme,
|
|
30
30
|
tokens: () => tokens,
|
|
31
31
|
typography: () => typography,
|
|
32
|
+
veevartContent: () => veevartContent,
|
|
32
33
|
veevartPreset: () => veevartPreset
|
|
33
34
|
});
|
|
34
35
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -266,6 +267,10 @@ function createHeroUIConfig(overrides = {}) {
|
|
|
266
267
|
}
|
|
267
268
|
return baseConfig;
|
|
268
269
|
}
|
|
270
|
+
var veevartContent = [
|
|
271
|
+
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
|
|
272
|
+
"./node_modules/@veevarts/design-system/dist/**/*.{js,mjs,jsx,tsx}"
|
|
273
|
+
];
|
|
269
274
|
var veevartPreset = {
|
|
270
275
|
theme: {
|
|
271
276
|
extend: tailwindTheme
|
|
@@ -289,5 +294,6 @@ var tokens = {
|
|
|
289
294
|
tailwindTheme,
|
|
290
295
|
tokens,
|
|
291
296
|
typography,
|
|
297
|
+
veevartContent,
|
|
292
298
|
veevartPreset
|
|
293
299
|
});
|