@trackunit/css-tailwind-custom-properties-plugin 1.11.7 → 1.11.9-alpha-e76d0654d61.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.
Files changed (2) hide show
  1. package/index.cjs.js +5 -1
  2. package/package.json +1 -1
package/index.cjs.js CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  var plugin = require('tailwindcss/plugin');
4
4
 
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
+
7
+ var plugin__default = /*#__PURE__*/_interopDefault(plugin);
8
+
5
9
  /**
6
10
  * Converts an array of keys to a valid CSS custom property name.
7
11
  *
@@ -48,7 +52,7 @@ const variablesToCSSRules = (variablesDecleration) => {
48
52
  return cssRules;
49
53
  };
50
54
 
51
- const CssTailwindCustomPropertiesPlugin = plugin(({ addBase, addVariant, theme }) => {
55
+ const CssTailwindCustomPropertiesPlugin = plugin__default.default(({ addBase, addVariant, theme }) => {
52
56
  const variablesDeclerationFromThemeConfig = theme("variables", {});
53
57
  const cssRules = variablesToCSSRules(variablesDeclerationFromThemeConfig);
54
58
  addBase(cssRules);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/css-tailwind-custom-properties-plugin",
3
- "version": "1.11.7",
3
+ "version": "1.11.9-alpha-e76d0654d61.0",
4
4
  "main": "./index.cjs.js",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",