tenara-ui-components 0.1.2 → 0.1.4

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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Example tenant theme configuration template
3
+ * Copy this file and customize values to create your brand-specific theme
4
+ */
5
+ import { ThemeConfig } from './core/types';
6
+ export declare const tenantTheme: ThemeConfig;
7
+ export default tenantTheme;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Theme CSS generation utilities
3
+ * Converts theme configurations to CSS custom properties and applies them
4
+ */
5
+ import { ThemeConfig } from '../core/types';
6
+ /**
7
+ * Generates CSS custom properties from theme configuration
8
+ */
9
+ export declare function generateThemeCSS(theme: ThemeConfig, selector?: string): string;
10
+ /**
11
+ * Applies theme to document by injecting CSS
12
+ */
13
+ export declare function applyTheme(theme: ThemeConfig, themeName?: string): void;
14
+ /**
15
+ * Sets theme attribute on document element
16
+ */
17
+ export declare function setThemeAttribute(themeName: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenara-ui-components",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -17,6 +17,7 @@
17
17
  "storybook": "storybook dev -p 6006",
18
18
  "build-storybook": "storybook build",
19
19
  "build:lib": "rollup -c",
20
+
20
21
  "prepublishOnly": "npm run build:lib"
21
22
  },
22
23
  "dependencies": {
@@ -56,6 +57,7 @@
56
57
  "playwright": "^1.54.1",
57
58
  "rollup": "^4.50.0",
58
59
  "rollup-plugin-postcss": "^4.0.2",
60
+ "sass": "^1.93.1",
59
61
  "storybook": "^9.0.18",
60
62
  "tailwindcss": "^4",
61
63
  "typescript": "^5",