@beeq/tailwindcss 1.9.0 → 1.10.0-beta.0
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/index.cjs.js +2197 -11
- package/index.esm.js +2197 -11
- package/package.json +2 -3
- package/src/index.d.ts +4 -1
- package/src/plugins/color-mix.d.ts +4 -2
- package/src/plugins/index.d.ts +1 -0
- package/src/plugins/logical-properties.d.ts +4 -2
- package/src/plugins/theme-swapper.d.ts +19 -0
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beeq/tailwindcss",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-beta.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "BEEQ's opinionated TailwindCSS configuration",
|
|
6
6
|
"main": "./index.cjs.js",
|
|
7
7
|
"module": "./index.esm.js",
|
|
8
8
|
"types": "./src/index.d.ts",
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"tailwindcss": "^3.4.17"
|
|
11
|
-
"tailwindcss-theme-swapper": "^0.12.0"
|
|
10
|
+
"tailwindcss": "^3.4.17"
|
|
12
11
|
},
|
|
13
12
|
"repository": {
|
|
14
13
|
"type": "git",
|
package/src/index.d.ts
CHANGED
|
@@ -396,7 +396,10 @@ declare const _default: {
|
|
|
396
396
|
};
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
|
-
plugins:
|
|
399
|
+
plugins: {
|
|
400
|
+
handler: import("tailwindcss/types/config").PluginCreator;
|
|
401
|
+
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
402
|
+
}[];
|
|
400
403
|
};
|
|
401
404
|
export default _default;
|
|
402
405
|
export { CSS_COLORS, DECLARATIVE_COLORS, DefaultDarkTheme, DefaultLightTheme, DefaultRootTheme, EndavaDarkTheme, EndavaLightTheme, EndavaRootTheme, PRIMITIVE_COLORS, TYPOGRAPHY_DEFAULT, };
|
package/src/plugins/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const LogicalProperties: {
|
|
2
|
+
handler: import("tailwindcss/types/config").PluginCreator;
|
|
3
|
+
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
4
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PluginAPI } from 'tailwindcss/types/config';
|
|
2
|
+
export interface ThemeConfig {
|
|
3
|
+
name: string;
|
|
4
|
+
selectors: string[];
|
|
5
|
+
theme: Record<string, string>;
|
|
6
|
+
extends?: string;
|
|
7
|
+
mode?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ThemeSwapperConfig {
|
|
10
|
+
themes: ThemeConfig[];
|
|
11
|
+
prefix?: string;
|
|
12
|
+
debug?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function createThemeSwapper({ themes, prefix, debug }: ThemeSwapperConfig): ({ addBase }: Pick<PluginAPI, "addBase">) => void;
|
|
15
|
+
export declare const BeeqThemeSwapper: (config: ThemeSwapperConfig | ThemeConfig[]) => {
|
|
16
|
+
handler: import("tailwindcss/types/config").PluginCreator;
|
|
17
|
+
config?: Partial<import("tailwindcss/types/config").Config>;
|
|
18
|
+
};
|
|
19
|
+
export declare const clearThemeCache: () => void;
|